Ignore:
Timestamp:
08/03/18 13:17:46 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master, perl-5.22
Children:
a384a97
Parents:
981dbbc (diff), 1163be4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'gcc484'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/mailserver/zpush/zpush.SlackBuild

    r981dbbc rce9f9b3  
    2424
    2525#Archive of the sourcefiles to unpack
    26 SRC_ARC=`ls *.tar.* *.zip 2>/dev/null`
     26#SRC_ARC=`ls *.tar.* *.zip 2>/dev/null`
    2727
    2828#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'`
     30VER=2.4.4
    3031
    3132#Architecture that the created binaries run on.
     
    4142#Unpack source
    4243#(uncomment if not needed)
    43 syn3_unpack $SRC_ARC
     44#syn3_unpack $SRC_ARC
    4445
    4546#Directory where the sourcefiles are unpacked.
    4647#(you might have to adjust this if autodetection fails)
    47 SRC_DIR=`ls -c|head -1`
     48SRC_DIR=z-push
    4849
    4950
    50 mkdir -p /tmp/pkg/var/www/htdocs/syn3
    51 mv $SRC_DIR /tmp/pkg/var/www/htdocs/syn3/z-push || exit 1
     51mkdir -p /tmp/pkg/usr/share
     52mv $SRC_DIR/src /tmp/pkg/usr/share/z-push || exit 1
    5253
    5354#zpush config
    54 cp config.php /tmp/pkg/var/www/htdocs/syn3/z-push || exit 1
     55#cp config.php /tmp/pkg//usr/share/z-push || exit 1
    5556
    5657#apache config
    5758mkdir -p /tmp/pkg/etc/apache2/conf.d
    5859cp z-push.conf /tmp/pkg/etc/apache2/conf.d || exit 1
     60cp z-push-autodiscover.conf /tmp/pkg/etc/apache2/conf.d || exit 1
    5961
    6062#htacces with correct php settings
    61 cp .htaccess /tmp/pkg/var/www/htdocs/syn3/z-push || exit 1
     63#cp .htaccess /tmp/pkg//usr/share/z-push || exit 1
    6264
    6365#postinst
     
    6668chmod +x /tmp/pkg/etc/postinst.d/post.z-push || exit 1
    6769
    68 #portal
    69 cp webportal.* /tmp/pkg/var/www/htdocs/syn3/z-push || exit 1
    7070
    7171#make main package
Note: See TracChangeset for help on using the changeset viewer.