diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-12-19 14:42:42 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-12-19 14:42:42 +0000 |
commit | 4debc37b26d307cae066e6fcd2320baaa3b30f40 (patch) | |
tree | a7e4fd3aa7c8b7d99244f147329709c7570fdacf /net/mail/sympa/sympa.SlackBuild | |
parent | 4a9a7cbc632ee7d4c564fdfc3b907675561a76e2 (diff) | |
download | slackbuilds-4debc37b26d307cae066e6fcd2320baaa3b30f40.tar.gz slackbuilds-4debc37b26d307cae066e6fcd2320baaa3b30f40.tar.bz2 |
sympa update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@939 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/mail/sympa/sympa.SlackBuild')
-rwxr-xr-x | net/mail/sympa/sympa.SlackBuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/mail/sympa/sympa.SlackBuild b/net/mail/sympa/sympa.SlackBuild index 12fcd5bb..0457cd15 100755 --- a/net/mail/sympa/sympa.SlackBuild +++ b/net/mail/sympa/sympa.SlackBuild @@ -70,6 +70,11 @@ cd $TMP tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR cd $PACKAGE-$VERSION + +if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then + patch -p1 < $CWD/$PACKAGE-$VERSION.diff || exit $ERROR_PATCH +fi + ./configure --with-initdir=/etc/rc.d/ --prefix=/usr/local/sympa --with-confdir=/usr/local/sympa/conf \ --with-etcdir=/usr/local/sympa/etc || exit $ERROR_CONF make || exit $ERROR_MAKE @@ -89,6 +94,9 @@ mkdir -p var/mail/sympa find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# symlink fix +ln -sf usr/local/sympa/bin/etc/mail_tt2/authorization_reject.tt2 usr/local/sympa/bin/etc/web_tt2/authorization_reject.tt2 + mkdir install cat << EOF > install/slack-desc # HOW TO EDIT THIS FILE: |