aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/sympa5/Makefile8
-rw-r--r--mail/sympa5/distinfo6
-rw-r--r--mail/sympa5/files/patch-Makefile.in10
-rw-r--r--mail/sympa5/files/patch-src-Language.pm38
-rw-r--r--mail/sympa5/files/patch-src-etc-scripts-sympa118
-rw-r--r--mail/sympa5/pkg-plist49
6 files changed, 101 insertions, 128 deletions
diff --git a/mail/sympa5/Makefile b/mail/sympa5/Makefile
index d788dbbdee5b..d7dad2359d37 100644
--- a/mail/sympa5/Makefile
+++ b/mail/sympa5/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sympa
-PORTVERSION= 5.2.4
-PORTREVISION= 1
+PORTVERSION= 5.3.2
CATEGORIES= mail
MASTER_SITES?= http://www.sympa.org/distribution/
@@ -17,11 +16,14 @@ COMMENT= Sympa is an electronic mailing list manager
BUILD_DEPENDS+= ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \
${SITE_PERL}/SOAP/Lite.pm:${PORTSDIR}/net/p5-SOAP-Lite \
+ ${SITE_PERL}/MIME/EncWords.pm:${PORTSDIR}/mail/p5-MIME-EncWords \
+ ${SITE_PERL}/File/NFSLock.pm:${PORTSDIR}/devel/p5-File-NFSLock \
${SITE_PERL}/Locale/TextDomain.pm:${PORTSDIR}/devel/p5-Locale-libintl \
${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common \
${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \
${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
${SITE_PERL}/Crypt/CipherSaber.pm:${PORTSDIR}/security/p5-Crypt-CipherSaber \
+ ${SITE_PERL}/mach/Crypt/OpenSSL/X509.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-X509 \
${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
${LOCALBASE}/bin/mhonarc:${PORTSDIR}/www/mhonarc
@@ -29,7 +31,7 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
LATEST_LINK= sympa5
USE_APACHE= 1.3+
-CONFLICTS= sympa-4* sympa-5.[0-1]* sympa-5.2.[0-3]*
+CONFLICTS= sympa-4* sympa-5.[0-2]*
DB_TYPE?=mysql
diff --git a/mail/sympa5/distinfo b/mail/sympa5/distinfo
index 4679cea6661f..feb0d521054f 100644
--- a/mail/sympa5/distinfo
+++ b/mail/sympa5/distinfo
@@ -1,3 +1,3 @@
-MD5 (sympa-5.2.4.tar.gz) = 480813ba3cb0713a39d2e60c1ae4f2da
-SHA256 (sympa-5.2.4.tar.gz) = de42917180818f4b922bee0c70c5e131a7af776649c9f7c0e23495f1b60ae767
-SIZE (sympa-5.2.4.tar.gz) = 5140447
+MD5 (sympa-5.3.2.tar.gz) = bf9800bfd1d8182ee9bbbd7d9496c7cf
+SHA256 (sympa-5.3.2.tar.gz) = 9cca49cf975ba5aa9bcea4a6d6b83b8d80b29bcc5737b2f3c398fb5b6b419f36
+SIZE (sympa-5.3.2.tar.gz) = 3917036
diff --git a/mail/sympa5/files/patch-Makefile.in b/mail/sympa5/files/patch-Makefile.in
index b65b19e8d03a..df70995457fc 100644
--- a/mail/sympa5/files/patch-Makefile.in
+++ b/mail/sympa5/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig Wed Apr 12 11:01:38 2006
-+++ Makefile.in Wed Apr 12 16:10:58 2006
+--- Makefile.in.orig Mon Jun 4 15:11:37 2007
++++ Makefile.in Wed Jun 13 11:33:54 2007
@@ -220,6 +220,8 @@
PERL_VERSION = `$(PERL) -e ' print $$]'`
SYMPA_VERSION = @VERSION@
@@ -27,7 +27,7 @@
nextstep:
@echo ""
-@@ -740,7 +742,7 @@
+@@ -743,7 +745,7 @@
installdir:
@echo "Creating required directories"
@@ -36,7 +36,7 @@
if [ ! -d $(DESTDIR)$$dir ] ; then \
echo "Creating $(DESTDIR)$$dir"; \
mkdir -p $(DESTDIR)$$dir; \
-@@ -786,17 +788,6 @@
+@@ -789,17 +791,6 @@
fi \
done \
fi
@@ -54,7 +54,7 @@
installconfig:
mkdir -p $(DESTDIR)$(CONFDIR)
-@@ -812,14 +803,7 @@
+@@ -815,14 +806,7 @@
INITCONF='1'; \
fi \
fi \
diff --git a/mail/sympa5/files/patch-src-Language.pm b/mail/sympa5/files/patch-src-Language.pm
new file mode 100644
index 000000000000..7ee10484a054
--- /dev/null
+++ b/mail/sympa5/files/patch-src-Language.pm
@@ -0,0 +1,38 @@
+--- src/Language.pm.orig Mon Jul 2 12:57:42 2007
++++ src/Language.pm Mon Jul 2 12:58:05 2007
+@@ -82,23 +82,23 @@
+ ## Also used to perform setlocale on FreeBSD / Solaris
+ my %locale2charset = ('bg_BG' => 'utf-8',
+ 'cs_CZ' => 'utf-8',
+- 'de_DE' => 'iso-8859-1',
++ 'de_DE' => 'iso8859-1',
+ 'el_GR' => 'utf-8',
+ 'en_US' => 'utf-8',
+- 'es_ES' => 'iso-8859-1',
+- 'et_EE' => 'iso-8859-4',
+- 'fi_FI' => 'iso-8859-1',
+- 'fr_FR' => 'iso-8859-1',
+- 'hu_HU' => 'iso-8859-2',
+- 'it_IT' => 'iso-8859-1',
++ 'es_ES' => 'iso8859-1',
++ 'et_EE' => 'iso8859-4',
++ 'fi_FI' => 'iso8859-1',
++ 'fr_FR' => 'iso8859-1',
++ 'hu_HU' => 'iso8859-2',
++ 'it_IT' => 'iso8859-1',
+ 'ja_JP' => 'eucJP', # Case sensitive.
+ 'nb_NO' => 'utf-8',
+- 'nl_NL' => 'iso-8859-1',
+- 'oc_FR' => 'iso-8859-1',
+- 'pl_PL' => 'iso-8859-2',
++ 'nl_NL' => 'iso8859-1',
++ 'oc_FR' => 'iso8859-1',
++ 'pl_PL' => 'iso8859-2',
+ 'pt_BR' => 'utf-8',
+- 'pt_PT' => 'iso-8859-1',
+- 'ro_RO' => 'iso-8859-2',
++ 'pt_PT' => 'iso8859-1',
++ 'ro_RO' => 'iso8859-2',
+ 'ru_RU' => 'utf-8',
+ 'sv_SE' => 'utf-8',
+ 'tr_TR' => 'utf-8',
diff --git a/mail/sympa5/files/patch-src-etc-scripts-sympa b/mail/sympa5/files/patch-src-etc-scripts-sympa
index 82eb91b530c0..255f86a887fa 100644
--- a/mail/sympa5/files/patch-src-etc-scripts-sympa
+++ b/mail/sympa5/files/patch-src-etc-scripts-sympa
@@ -1,120 +1,20 @@
---- src/etc/script/sympa.old Mon Nov 21 14:49:13 2005
-+++ src/etc/script/sympa Tue Mar 13 14:43:46 2007
-@@ -1,4 +1,4 @@
--#! --SH--
-+#! /bin/sh
- #
- # sympa Mailing Lists Management System
- #
-@@ -7,7 +7,7 @@
- # Modified by Olivier Salaun 27/07/2000
- # - translations
- # - lang parameter deleted (defined in sympa.conf)
--# - introduced --VARS-- parsed by Makefile
-+# - introduced parsed by Makefile
- # - no more sympauser since sympa sets its UID
- # Modified by Michel Bouissou 27/07/2000
- #
-@@ -29,19 +29,24 @@
-
- if [ ${OSTYPE} != "FreeBSD" -a ${OSTYPE} != "SunOS" -a ${OSTYPE} != "darwin7.0" -a ${OSTYPE} != "Debian" -a ${OSTYPE} != "Suse" ]; then
- # Source function library.
-- . --INITDIR--/functions
-+ . /usr/local/etc/rc.d/functions
-
- # Get config.
- . /etc/sysconfig/network
- fi
-
-+if [ ${OSTYPE} = "FreeBSD" ]; then
-+ # Source function library.
-+ . /etc/rc.subr
-+fi
-+
- # Sympa parameters
- # Sympa binaries directory
--sympadir="--SBINDIR--"
-+sympadir="/usr/local/sbin"
-
- # Sympa config files directory
--sympaconf="--CONFIG--"
--wwsympaconf="--WWSCONFIG--"
-+sympaconf="/usr/local/etc/sympa/sympa.conf"
-+wwsympaconf="/usr/local/etc/sympa/wwsympa.conf"
-
- ##'echo -n' not supported with SH on Solaris
- if [ ${OSTYPE} = "SunOS" ]; then
-@@ -65,8 +70,8 @@
-
- else
- # First try "/u1/home/sympa/*.pid" files
-- if [ -f --PIDDIR--/$1.pid ] ; then
-- pid=`head -1 --PIDDIR--/$1.pid`
-+ if [ -f /var/run/$1.pid ] ; then
-+ pid=`head -1 /var/run/$1.pid`
- if [ "$pid" != "" ] ; then
- running=`ps -A | grep "$pid"`
- if [ "$running" != "" ]; then
-@@ -96,7 +101,7 @@
+--- src/etc/script/sympa.old Wed Jun 13 11:44:45 2007
++++ src/etc/script/sympa Wed Jun 13 11:49:32 2007
+@@ -106,7 +106,7 @@
# startparam=""
# fi
-- if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
-+ if [ ${OSTYPE} = "FreeBSD" -o ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
+- if [ ${OSTYPE} = "Slack" -o ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
++ if [ ${OSTYPE} = "FreeBSD" -o ${OSTYPE} = "Slack" -o ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
$sympadir/$1.pl $startparam && echo "success" || echo "failure"
else
$sympadir/$1.pl $startparam && success || failure
-@@ -149,12 +154,12 @@
- return 1
- fi
-
-- if [ -f --PIDDIR--/$1.pid ]; then
-+ if [ -f /var/run/$1.pid ]; then
- echo $echo_opt "Stopping module $1.pl: "
-- pid=`head -1 --PIDDIR--/$1.pid`
-+ pid=`head -1 /var/run/$1.pid`
+@@ -164,7 +164,7 @@
+ pid=`head -1 --PIDDIR--/$1.pid`
running=`ps -A | grep "$pid"`
if [ "$running" != "" ]; then
-- if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
-+ if [ ${OSTYPE} = "FreeBSD" -o ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
+- if [ ${OSTYPE} = "Slack" -o ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
++ if [ ${OSTYPE} = "FreeBSD" -o ${OSTYPE} = "Slack" -o ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
kill -TERM $pid && echo "success" || echo "failure"
else
kill -TERM $pid && success || failure
-@@ -185,13 +190,13 @@
- # See how we were called.
- case "$1" in
- start)
-- if [ ! -f --LOCKDIR--/sympa ]; then
-+ if [ ! -f /var/spool/lock/sympa ]; then
- echo "Starting Sympa subsystem: "
- sympa_start sympa
- sympa_start archived
- sympa_start bounced
- sympa_start task_manager
-- touch --LOCKDIR--/sympa
-+ touch /var/spool/lock/sympa
- echo
- else
-
-@@ -205,17 +210,17 @@
- sympa_stop bounced
- sympa_stop archived
- sympa_stop sympa
-- if [ -f --PIDDIR--/sympa-distribute.pid ]; then
-+ if [ -f /var/run/sympa-distribute.pid ]; then
- sympa_stop sympa-distribute
- fi
- sympa_stop task_manager
-- if [ -f --LOCKDIR--/sympa ]; then
-- rm -f --LOCKDIR--/sympa
-+ if [ -f /var/spool/lock/sympa ]; then
-+ rm -f /var/spool/lock/sympa
- fi
- ;;
- status)
- echo "Status of Sympa subsystem: "
-- if [ -f --LOCKDIR--/sympa ]; then
-+ if [ -f /var/spool/lock/sympa ]; then
- echo "Status file for subsystem found."
- else
- echo "Status file for subsystem NOT found."
diff --git a/mail/sympa5/pkg-plist b/mail/sympa5/pkg-plist
index bb3871b69ec3..7acf70488126 100644
--- a/mail/sympa5/pkg-plist
+++ b/mail/sympa5/pkg-plist
@@ -6,9 +6,11 @@ bin/create_db.SQLite
bin/create_db.Sybase
bin/create_db.mysql
bin/crypt_passwd.pl
+bin/familyqueue
bin/init_comment.pl
bin/ldap_alias_manager.pl
bin/mod2html.pl
+bin/mysql_alias_manager.pl
bin/p12topem.pl
bin/queue
bin/sympa_soap_client.pl
@@ -25,19 +27,24 @@ lib/sympa/CAS.pm
lib/sympa/Commands.pm
lib/sympa/Conf.pm
lib/sympa/Config_XML.pm
+lib/sympa/Datasource.pm
lib/sympa/Family.pm
lib/sympa/Fetch.pm
+lib/sympa/LDAPSource.pm
lib/sympa/Language.pm
lib/sympa/Ldap.pm
lib/sympa/List.pm
+lib/sympa/Lock.pm
lib/sympa/Log.pm
lib/sympa/Marc.pm
lib/sympa/Marc/Search.pm
lib/sympa/Message.pm
lib/sympa/PlainDigest.pm
+lib/sympa/SQLSource.pm
lib/sympa/SharedDocument.pm
lib/sympa/SympaTransport.pm
lib/sympa/Task.pm
+lib/sympa/Upgrade.pm
lib/sympa/Version.pm
lib/sympa/admin.pm
lib/sympa/bounce-lib.pl
@@ -59,23 +66,21 @@ sbin/sympa.pl
sbin/sympa_wizard.pl
sbin/task_manager.pl
%%EXAMPLESDIR%%/README
-%%EXAMPLESDIR%%/config.digest
-%%EXAMPLESDIR%%/config.include
-%%EXAMPLESDIR%%/config.moderation
-%%EXAMPLESDIR%%/config.privateorpublickey
-%%EXAMPLESDIR%%/config.public
+%%EXAMPLESDIR%%/employees.ldap
+%%EXAMPLESDIR%%/robot.conf
%%EXAMPLESDIR%%/sample-list/config
%%EXAMPLESDIR%%/sample-list/info
%%EXAMPLESDIR%%/sample-list/message.footer
%%EXAMPLESDIR%%/sample-list/welcome.tpl
-%%EXAMPLESDIR%%/sympa.conf
-%%EXAMPLESDIR%%/wwsympa.conf
+%%EXAMPLESDIR%%/trusted_applications.conf
+%%NLS%%share/locale/bg/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/cs/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/de/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/el/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/en_US/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/es/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/et/LC_MESSAGES/sympa.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/fi/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/fr/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/hu/LC_MESSAGES/sympa.mo
@@ -88,10 +93,10 @@ sbin/task_manager.pl
%%NLS%%share/locale/pt/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/ro/LC_MESSAGES/sympa.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/sv/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/tr/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/sympa.mo
-%%NLS%%share/locale/zh_TW/LC_MESSAGES/sympa.mo
%%DATADIR%%/README
%%DATADIR%%/auth.conf
%%DATADIR%%/ca-bundle.crt
@@ -116,6 +121,7 @@ sbin/task_manager.pl
%%DATADIR%%/global_task_models/eval_bouncers.daily.task
%%DATADIR%%/global_task_models/expire_bounce.daily.task
%%DATADIR%%/global_task_models/process_bouncers.weekly.task
+%%DATADIR%%/global_task_models/purge_logs_table.daily.task
%%DATADIR%%/global_task_models/purge_orphan_bounces.monthly.task
%%DATADIR%%/global_task_models/purge_user_table.monthly.task
%%DATADIR%%/list_aliases.tt2
@@ -182,6 +188,8 @@ sbin/task_manager.pl
%%DATADIR%%/scenari/add.default
%%DATADIR%%/scenari/add.owner
%%DATADIR%%/scenari/add.owner_notify
+%%DATADIR%%/scenari/automatic_list_creation.listmaster
+%%DATADIR%%/scenari/automatic_list_creation.public
%%DATADIR%%/scenari/create_list.intranet
%%DATADIR%%/scenari/create_list.listmaster
%%DATADIR%%/scenari/create_list.public_listmaster
@@ -283,6 +291,7 @@ sbin/task_manager.pl
%%DATADIR%%/web_tt2/arcsearch.tt2
%%DATADIR%%/web_tt2/arcsearch_form.tt2
%%DATADIR%%/web_tt2/authorization_reject.tt2
+%%DATADIR%%/web_tt2/blacklist.tt2
%%DATADIR%%/web_tt2/button_footer.tt2
%%DATADIR%%/web_tt2/button_header.tt2
%%DATADIR%%/web_tt2/change_email.tt2
@@ -306,14 +315,34 @@ sbin/task_manager.pl
%%DATADIR%%/web_tt2/editsubscriber.tt2
%%DATADIR%%/web_tt2/error.tt2
%%DATADIR%%/web_tt2/footer.tt2
+%%DATADIR%%/web_tt2/fr_FR/help.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_admin.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_arc.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_faqadmin.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_faquser.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_introduction.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_listconfig.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_mail_commands.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_sendmsg.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_shared.tt2
+%%DATADIR%%/web_tt2/fr_FR/help_user.tt2
%%DATADIR%%/web_tt2/get_closed_lists.tt2
%%DATADIR%%/web_tt2/get_inactive_lists.tt2
%%DATADIR%%/web_tt2/get_latest_lists.tt2
%%DATADIR%%/web_tt2/get_pending_lists.tt2
%%DATADIR%%/web_tt2/help.tt2
%%DATADIR%%/web_tt2/help_admin.tt2
+%%DATADIR%%/web_tt2/help_arc.tt2
%%DATADIR%%/web_tt2/help_editfile.tt2
%%DATADIR%%/web_tt2/help_editlist.tt2
+%%DATADIR%%/web_tt2/help_faqadmin.tt2
+%%DATADIR%%/web_tt2/help_faquser.tt2
+%%DATADIR%%/web_tt2/help_introduction.tt2
+%%DATADIR%%/web_tt2/help_listconfig.tt2
+%%DATADIR%%/web_tt2/help_mail_commands.tt2
+%%DATADIR%%/web_tt2/help_sendmsg.tt2
+%%DATADIR%%/web_tt2/help_shared.tt2
+%%DATADIR%%/web_tt2/help_user.tt2
%%DATADIR%%/web_tt2/help_user_options.tt2
%%DATADIR%%/web_tt2/home.tt2
%%DATADIR%%/web_tt2/info.tt2
@@ -338,6 +367,7 @@ sbin/task_manager.pl
%%DATADIR%%/web_tt2/menu.tt2
%%DATADIR%%/web_tt2/modindex.tt2
%%DATADIR%%/web_tt2/notice.tt2
+%%DATADIR%%/web_tt2/picture_upload.tt2
%%DATADIR%%/web_tt2/pref.tt2
%%DATADIR%%/web_tt2/remindpasswd.tt2
%%DATADIR%%/web_tt2/remove_arc.tt2
@@ -367,6 +397,7 @@ sbin/task_manager.pl
%%DATADIR%%/web_tt2/tt2_error.tt2
%%DATADIR%%/web_tt2/view_template.tt2
%%DATADIR%%/web_tt2/viewbounce.tt2
+%%DATADIR%%/web_tt2/viewlogs.tt2
%%DATADIR%%/web_tt2/viewmod.tt2
%%DATADIR%%/web_tt2/which.tt2
%%DATADIR%%/web_tt2/your_lists.tt2
@@ -407,11 +438,13 @@ sympa/icons/unknown.png
@dirrm sympa/bounce
@dirrm sympa/arc
@dirrm sympa
+@dirrm %%DATADIR%%/web_tt2/fr_FR
@dirrm %%DATADIR%%/web_tt2
@dirrm %%DATADIR%%/scenari
@dirrm %%DATADIR%%/mail_tt2
@dirrm %%DATADIR%%/list_task_models
@dirrm %%DATADIR%%/global_task_models
+@dirrm %%DATADIR%%/families
@dirrm %%DATADIR%%/create_list_templates/public_web_forum
@dirrm %%DATADIR%%/create_list_templates/private_working_group
@dirrm %%DATADIR%%/create_list_templates/news-letter