Projects
Kolab:16
kolab-webadmin
buildtarball.sh
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File buildtarball.sh of Package kolab-webadmin
#!/bin/bash set -e VERSION=3.2.16 GIT_REF=master NAME=kolab-webadmin-$VERSION ROOT_DIR=$(pwd) rm -Rf /tmp/$NAME mkdir /tmp/$NAME cd /tmp/$NAME cat << EOF > ./composer.json { "name": "kolab/webadmin", "description": "The Kolab Web Administration Panel", "license": "AGPL-3.0+", "repositories": [ { "type": "vcs", "url": "https://git.kolab.org/diffusion/PNL/php-net_ldap.git" } ], "require": { "php": ">=5.6.0", "pear/pear-core-minimal": "~1.10.1", "pear/http_request2": "~2.5.1", "pear/mail": "~1.4.1", "pear/net_smtp": "~1.7.3", "pear/net_ldap2": "~2.2.0", "kolab/net_ldap3": "dev-master", "smarty/smarty": "~3.1.31" } } EOF rm -f $NAME.tar.gz [ -d "$NAME" ] && rm -rf "$NAME" git clone --branch master ssh://git@git.kolab.org/diffusion/WAP/webadmin.git $NAME pushd $NAME git reset --hard $GIT_REF popd # Run composer and other install processes mv composer.json $NAME/composer.json pushd $NAME composer install popd tar --exclude="$NAME/.git" -czf "$ROOT_DIR/$NAME.tar.gz" $NAME cd "$PWD"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.