From 4debc37b26d307cae066e6fcd2320baaa3b30f40 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 19 Dec 2006 14:42:42 +0000 Subject: sympa update git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@939 370017ae-e619-0410-ac65-c121f96126d4 --- net/mail/sympa/sympa-5.3a.10.diff | 9 +++++++++ net/mail/sympa/sympa.SlackBuild | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 net/mail/sympa/sympa-5.3a.10.diff (limited to 'net') diff --git a/net/mail/sympa/sympa-5.3a.10.diff b/net/mail/sympa/sympa-5.3a.10.diff new file mode 100644 index 00000000..b1a5429e --- /dev/null +++ b/net/mail/sympa/sympa-5.3a.10.diff @@ -0,0 +1,9 @@ +diff -Naur sympa-5.3a.10.orig/web_tt2/rss.tt2 sympa-5.3a.10/web_tt2/rss.tt2 +--- sympa-5.3a.10.orig/web_tt2/rss.tt2 2006-11-03 11:43:20.000000000 -0200 ++++ sympa-5.3a.10/web_tt2/rss.tt2 2006-12-19 11:48:41.000000000 -0200 +@@ -1,4 +1,4 @@ +- ++ + + + [% title_clear_txt %] : 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: -- cgit v1.2.3