Ignore:
Timestamp:
08/03/18 12:49:11 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
gcc484, master, perl-5.22
Children:
ac05c71, ce9f9b3
Parents:
8f1e3c5
Message:

Migrated from Zarafa 7.2.4 to Kopano 8.6.6, including webapp

File:
1 edited

Legend:

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

    r8f1e3c5 r1163be4  
    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.