aboutsummaryrefslogtreecommitdiff
path: root/net/mail
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-19 14:42:42 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-19 14:42:42 +0000
commit4debc37b26d307cae066e6fcd2320baaa3b30f40 (patch)
treea7e4fd3aa7c8b7d99244f147329709c7570fdacf /net/mail
parent4a9a7cbc632ee7d4c564fdfc3b907675561a76e2 (diff)
downloadslackbuilds-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')
-rw-r--r--net/mail/sympa/sympa-5.3a.10.diff9
-rwxr-xr-xnet/mail/sympa/sympa.SlackBuild8
2 files changed, 17 insertions, 0 deletions
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 @@
+-<?xml version="1.0" encoding="[%|loc%]_charset_[%END%]"?>
++<?xml version="1.0" encoding="utf-8"?>
+ <rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <channel>
+ <title>[% 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: