Changeset 1163be4 for npl/mailserver/zpush/zpush.SlackBuild
- Timestamp:
- 08/03/18 12:49:11 (7 years ago)
- Branches:
- gcc484, master, perl-5.22
- Children:
- ac05c71, ce9f9b3
- Parents:
- 8f1e3c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
npl/mailserver/zpush/zpush.SlackBuild
r8f1e3c5 r1163be4 24 24 25 25 #Archive of the sourcefiles to unpack 26 SRC_ARC=`ls *.tar.* *.zip 2>/dev/null`26 #SRC_ARC=`ls *.tar.* *.zip 2>/dev/null` 27 27 28 28 #Version of the sourcefiles 29 VER=`echo $SRC_ARC| sed 's/.*-//g' | sed 's/\.tar\..*$//g' | sed 's/\.zip$//g'` 29 #VER=`echo $SRC_ARC| sed 's/.*-//g' | sed 's/\.tar\..*$//g' | sed 's/\.zip$//g'` 30 VER=2.4.4 30 31 31 32 #Architecture that the created binaries run on. … … 41 42 #Unpack source 42 43 #(uncomment if not needed) 43 syn3_unpack $SRC_ARC44 #syn3_unpack $SRC_ARC 44 45 45 46 #Directory where the sourcefiles are unpacked. 46 47 #(you might have to adjust this if autodetection fails) 47 SRC_DIR= `ls -c|head -1`48 SRC_DIR=z-push 48 49 49 50 50 mkdir -p /tmp/pkg/ var/www/htdocs/syn351 mv $SRC_DIR /tmp/pkg/var/www/htdocs/syn3/z-push || exit 151 mkdir -p /tmp/pkg/usr/share 52 mv $SRC_DIR/src /tmp/pkg/usr/share/z-push || exit 1 52 53 53 54 #zpush config 54 cp config.php /tmp/pkg/var/www/htdocs/syn3/z-push || exit 155 #cp config.php /tmp/pkg//usr/share/z-push || exit 1 55 56 56 57 #apache config 57 58 mkdir -p /tmp/pkg/etc/apache2/conf.d 58 59 cp z-push.conf /tmp/pkg/etc/apache2/conf.d || exit 1 60 cp z-push-autodiscover.conf /tmp/pkg/etc/apache2/conf.d || exit 1 59 61 60 62 #htacces with correct php settings 61 cp .htaccess /tmp/pkg/var/www/htdocs/syn3/z-push || exit 163 #cp .htaccess /tmp/pkg//usr/share/z-push || exit 1 62 64 63 65 #postinst … … 66 68 chmod +x /tmp/pkg/etc/postinst.d/post.z-push || exit 1 67 69 68 #portal69 cp webportal.* /tmp/pkg/var/www/htdocs/syn3/z-push || exit 170 70 71 71 #make main package
Note: See TracChangeset
for help on using the changeset viewer.