]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
sympa update
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Tue, 19 Dec 2006 14:42:42 +0000 (14:42 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Tue, 19 Dec 2006 14:42:42 +0000 (14:42 +0000)
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 [new file with mode: 0644]
net/mail/sympa/sympa.SlackBuild

diff --git a/net/mail/sympa/sympa-5.3a.10.diff b/net/mail/sympa/sympa-5.3a.10.diff
new file mode 100644 (file)
index 0000000..b1a5429
--- /dev/null
@@ -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 %] :
index 12fcd5bbde4f165cc8e8f77c12163208a20fbfbf..0457cd1511d34bf4deb54bf50d5b7992775c46b6 100755 (executable)
@@ -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: