1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Update to 5.2.1

PR:		95653
Submitted by:	maintainer
This commit is contained in:
Mathieu Arnold 2006-06-23 16:41:08 +00:00
parent 52096dd651
commit ffc90221f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166129
6 changed files with 97 additions and 140 deletions

View File

@ -6,8 +6,8 @@
#
PORTNAME= sympa
PORTVERSION= 5.1.2
PORTREVISION= 1
PORTVERSION= 5.2.1
#PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES?= http://www.sympa.org/distribution/
@ -87,6 +87,7 @@ CONFIGURE_ARGS+=--prefix=${PREFIX} \
--with-lockdir=/var/spool/lock \
--with-piddir=/var/run \
--with-localedir=${PREFIX}/share/locale \
--with-mandir=${PREFIX}/man \
--with-docdir=${DOCSDIR} \
--with-sampledir=${EXAMPLESDIR} \
--with-spooldir=${PREFIX}/sympa/spool

View File

@ -1,3 +1,3 @@
MD5 (sympa-5.1.2.tar.gz) = 32e5bd554be1cb3dea15c92f2931d699
SHA256 (sympa-5.1.2.tar.gz) = e5553f7f256637422640e00e7973ee37d8f78776ded7a4bf326307847ef99459
SIZE (sympa-5.1.2.tar.gz) = 4328673
MD5 (sympa-5.2.1.tar.gz) = 77e9e1b571f0754522010c70cdc8b06f
SHA256 (sympa-5.2.1.tar.gz) = 09b0f22044bb01246dce1124b272ab909ce955861b7f891a8ec5500d698b6663
SIZE (sympa-5.2.1.tar.gz) = 5040636

View File

@ -1,6 +1,6 @@
--- Makefile.in.orig Tue Aug 16 14:25:23 2005
+++ Makefile.in Mon Sep 26 13:00:29 2005
@@ -218,6 +218,8 @@
--- Makefile.in.orig Wed Apr 12 11:01:38 2006
+++ Makefile.in Wed Apr 12 16:10:58 2006
@@ -220,6 +220,8 @@
PERL_VERSION = `$(PERL) -e ' print $$]'`
SYMPA_VERSION = @VERSION@
DIR = ${prefix}
@ -9,7 +9,7 @@
EXPL_DIR = @EXPLDIR@
MAILERPROGDIR = @BINDIR@
RPMTOPDIR = `rpm --eval %_topdir`
@@ -508,7 +510,7 @@
@@ -510,7 +512,7 @@
@CVS2CL@
#endif
@ -18,25 +18,43 @@
rpm: build_rh_rpm build_mdk_rpm
@@ -593,7 +595,7 @@
@@ -604,7 +606,7 @@
$(MAKE) PERL='${PERL}' clean) || exit 1; \
done;
-install: importantchanges installsrc installwws installwebtt2 installmailtt2 installlocale installman installscript installsample installdir installconfig installdoc installsoap
+install: installsrc installwws installwebtt2 installmailtt2 installlocale installman installscript installsample installdir installconfig installdoc installsoap
-install: importantchanges installdir installsrc installwws installwebtt2 installmailtt2 installlocale installman installscript installsample installconfig installdoc installsoap nextstep
+install: installdir installsrc installwws installwebtt2 installmailtt2 installlocale installman installscript installsample installconfig installdoc installsoap nextstep
importantchanges:
@( PERL=$(PERL); export PERL; \
@@ -719,7 +720,7 @@
nextstep:
@echo ""
@@ -740,7 +742,7 @@
installdir:
@echo "Creating required directories"
- @for dir in $(DIR) $(EXPL_DIR) $(CONFDIR) $(SAMPLEDIR) ; do \
+ @for dir in $(DIR) $(EXPL_DIR) $(ARC_DIR) $(BOUNCE_DIR) $(CONFDIR) $(SAMPLEDIR) ; do \
- @for dir in $(DIR) $(EXPL_DIR) $(CONFDIR) $(SAMPLEDIR) $(ETCDIR) $(BINDIR) $(LOCALEDIR) $(DOCDIR) ; do \
+ @for dir in $(DIR) $(EXPL_DIR) $(ARC_DIR) $(BOUNCE_DIR) $(CONFDIR) $(SAMPLEDIR) $(ETCDIR) $(BINDIR) $(LOCALEDIR) $(DOCDIR) ; do \
if [ ! -d $(DESTDIR)$$dir ] ; then \
echo "Creating $(DESTDIR)$$dir"; \
mkdir -p $(DESTDIR)$$dir; \
@@ -769,14 +770,7 @@
@@ -786,17 +788,6 @@
fi \
done \
fi
- @if [ ! -f $(DESTDIR)$(CONFDIR)/sympa.conf ] ; then \
- echo "First installation : creating archives and bounce directories..."; \
- for dir in bounce arc ; do \
- if [ ! -d $(DESTDIR)$(DIR)/$$dir ] ; then \
- echo "Creating $(DESTDIR)$(DIR)/$$dir"; \
- mkdir -p $(DESTDIR)$(DIR)/$$dir; \
- chown $(USER) $(DESTDIR)$(DIR)/$$dir; \
- chgrp $(GROUP) $(DESTDIR)$(DIR)/$$dir; \
- fi \
- done \
- fi
installconfig:
mkdir -p $(DESTDIR)$(CONFDIR)
@@ -812,14 +803,7 @@
INITCONF='1'; \
fi \
fi \

View File

@ -1,85 +0,0 @@
--- src/etc/script/sympa Wed Jun 29 17:33:54 2005
+++ src/etc/script/sympa Mon Sep 12 17:11:57 2005
@@ -43,6 +43,8 @@
sympaconf="--CONFIG--"
wwsympaconf="--WWSCONFIG--"
+lockdir="--LOCKDIR--"
+
##'echo -n' not supported with SH on Solaris
if [ ${OSTYPE} = "SunOS" ]; then
echo_opt=""
@@ -50,6 +52,10 @@
echo_opt="-n"
fi
+if [ ${OSTYPE} = "FreeBSD" ]; then
+ lockdir="/var/spool/lock"
+fi
+
# End of parameters
# Current state of the module
@@ -68,7 +74,7 @@
if [ -f --PIDDIR--/$1.pid ] ; then
pid=`head -1 --PIDDIR--/$1.pid`
if [ "$pid" != "" ] ; then
- running=`ps -A | grep "$pid"`
+ running=`ps -ax | grep perl | grep $pid`
if [ "$running" != "" ]; then
echo "$1 (pid $pid) is active..."
return 0
@@ -96,7 +102,7 @@
# startparam=""
# fi
- if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
+ if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "FreeBSD" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
$sympadir/$1.pl $startparam && echo "success" || echo "failure"
else
$sympadir/$1.pl $startparam && success || failure
@@ -152,9 +158,9 @@
if [ -f --PIDDIR--/$1.pid ]; then
echo $echo_opt "Stopping module $1.pl: "
pid=`head -1 --PIDDIR--/$1.pid`
- running=`ps -A | grep "$pid"`
+ running=`ps -ax | grep perl | grep "$pid"`
if [ "$running" != "" ]; then
- if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
+ if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "FreeBSD" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
kill -TERM $pid && echo "success" || echo "failure"
else
kill -TERM $pid && success || failure
@@ -185,13 +191,13 @@
# See how we were called.
case "$1" in
start)
- if [ ! -f --LOCKDIR--/sympa ]; then
+ if [ ! -f "$lockdir/sympa" ]; then
echo "Starting Sympa subsystem: "
sympa_start sympa
sympa_start archived
sympa_start bounced
sympa_start task_manager
- touch --LOCKDIR--/sympa
+ touch "$lockdir/sympa"
echo
else
@@ -207,13 +213,13 @@
sympa_stop sympa
sympa_stop sympa-distribute
sympa_stop task_manager
- if [ -f --LOCKDIR--/sympa ]; then
- rm -f --LOCKDIR--/sympa
+ if [ -f "$lockdir/sympa" ]; then
+ rm -f "$lockdir/sympa"
fi
;;
status)
echo "Status of Sympa subsystem: "
- if [ -f --LOCKDIR--/sympa ]; then
+ if [ -f "$lockdir/sympa" ]; then
echo "Status file for subsystem found."
else
echo "Status file for subsystem NOT found."

View File

@ -1,24 +1,24 @@
--- wwsympa/Makefile.orig Tue May 24 16:04:33 2005
+++ wwsympa/Makefile Mon Sep 26 13:28:23 2005
--- wwsympa/Makefile.orig Mon Apr 10 18:13:20 2006
+++ wwsympa/Makefile Wed Apr 12 15:34:49 2006
@@ -21,7 +21,7 @@
sbin_SUBST = bounced.pl archived.pl
-cgi_SUBST = wwsympa.fcgi
+cgi_SUBST = wwsympa.fcgi wwsympa-wrapper
-cgi_SUBST = wwsympa.fcgi wwsympa_sudo_wrapper.pl
+cgi_SUBST = wwsympa.fcgi wwsympa_sudo_wrapper.pl wwsympa-wrapper
lib_SUBST = wwslib.pm cookielib.pm bounce-lib.pl Marc.pm Auth.pm SharedDocument.pm
@@ -50,9 +50,9 @@
chown $(USER) $(DESTDIR)$(CGIDIR)/$$i; \
@@ -51,9 +51,9 @@
chgrp $(GROUP) $(DESTDIR)$(CGIDIR)/$$i; \
done
- @echo "Setting SetUID bit on wwsympa.fcgi..."
- chmod u+s $(DESTDIR)$(CGIDIR)/wwsympa.fcgi
- chmod g+s $(DESTDIR)$(CGIDIR)/wwsympa.fcgi
+ @echo "Setting SetUID bit on wwsympa-wrapper..."
+ chmod u+s $(DESTDIR)$(CGIDIR)/wwsympa-wrapper
+ chmod g+s $(DESTDIR)$(CGIDIR)/wwsympa-wrapper
@if [ "$(enable_secure)" != "yes" ]; then \
- echo "Setting SetUID bit on wwsympa.fcgi..."; \
- chmod u+s $(DESTDIR)$(CGIDIR)/wwsympa.fcgi; \
- chmod g+s $(DESTDIR)$(CGIDIR)/wwsympa.fcgi; \
+ echo "Setting SetUID bit on wwsympa-wrapper..."; \
+ chmod u+s $(DESTDIR)$(CGIDIR)/wwsympa-wrapper; \
+ chmod g+s $(DESTDIR)$(CGIDIR)/wwsympa-wrapper; \
fi
chmod 755 $(DESTDIR)$(ICONSDIR)
chmod 755 $(DESTDIR)$(LIBDIR)/Marc
@for i in $(lib_SUBST) Marc/Search.pm; do \

View File

@ -2,10 +2,12 @@ bin/arc2webarc.pl
bin/bouncequeue
bin/create_db.Oracle
bin/create_db.Pg
bin/create_db.SQLite
bin/create_db.Sybase
bin/create_db.mysql
bin/crypt_passwd.pl
bin/init_comment.pl
bin/ldap_alias_manager.pl
bin/load_subscribers.pl
bin/mod2html.pl
bin/p12topem.pl
@ -15,6 +17,7 @@ bin/testldap.pl
bin/testlogs.pl
bin/tpl2tt2.pl
etc/rc.d/sympa.sh
etc/sympa/README
etc/sympa/sympa.conf
etc/sympa/wwsympa.conf
lib/sympa/Archive.pm
@ -35,13 +38,14 @@ lib/sympa/Message.pm
lib/sympa/PlainDigest.pm
lib/sympa/SharedDocument.pm
lib/sympa/SympaTransport.pm
lib/sympa/Task.pm
lib/sympa/Version.pm
lib/sympa/admin.pm
lib/sympa/bounce-lib.pl
lib/sympa/cookielib.pm
lib/sympa/mail.pm
lib/sympa/parser.pl
lib/sympa/smtp.pm
lib/sympa/report.pm
lib/sympa/sympasoap.pm
lib/sympa/time_utils.pl
lib/sympa/tools.pl
@ -78,6 +82,7 @@ sbin/task_manager.pl
%%NLS%%share/locale/hu/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/it/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/ja/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/nb_NO/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/nl/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/oc/LC_MESSAGES/sympa.mo
%%NLS%%share/locale/pl/LC_MESSAGES/sympa.mo
@ -120,8 +125,11 @@ sbin/task_manager.pl
%%DATADIR%%/list_task_models/remind.monthly.task
%%DATADIR%%/list_task_models/remind.yearly.task
%%DATADIR%%/list_task_models/sync_include.ttl.task
%%DATADIR%%/mail_tt2/archive.tt2
%%DATADIR%%/mail_tt2/authorization_reject.tt2
%%DATADIR%%/mail_tt2/bye.tt2
%%DATADIR%%/mail_tt2/certif_warning.tt2
%%DATADIR%%/mail_tt2/command_report.tt2
%%DATADIR%%/mail_tt2/d_install_shared.tt2
%%DATADIR%%/mail_tt2/d_reject_shared.tt2
%%DATADIR%%/mail_tt2/digest.tt2
@ -129,8 +137,10 @@ sbin/task_manager.pl
%%DATADIR%%/mail_tt2/expire_deletion.tt2
%%DATADIR%%/mail_tt2/expire_warning1.tt2
%%DATADIR%%/mail_tt2/expire_warning2.tt2
%%DATADIR%%/mail_tt2/get_archive.tt2
%%DATADIR%%/mail_tt2/global_remind.tt2
%%DATADIR%%/mail_tt2/helpfile.tt2
%%DATADIR%%/mail_tt2/index_archive.tt2
%%DATADIR%%/mail_tt2/info_report.tt2
%%DATADIR%%/mail_tt2/invite.tt2
%%DATADIR%%/mail_tt2/list_created.tt2
@ -140,22 +150,28 @@ sbin/task_manager.pl
%%DATADIR%%/mail_tt2/listmaster_notification.tt2
%%DATADIR%%/mail_tt2/listowner_notification.tt2
%%DATADIR%%/mail_tt2/lists.tt2
%%DATADIR%%/mail_tt2/message_report.tt2
%%DATADIR%%/mail_tt2/moderate.tt2
%%DATADIR%%/mail_tt2/modindex.tt2
%%DATADIR%%/mail_tt2/reject.tt2
%%DATADIR%%/mail_tt2/remind.tt2
%%DATADIR%%/mail_tt2/removed.tt2
%%DATADIR%%/mail_tt2/request_auth.tt2
%%DATADIR%%/mail_tt2/review.tt2
%%DATADIR%%/mail_tt2/send_auth.tt2
%%DATADIR%%/mail_tt2/sendpasswd.tt2
%%DATADIR%%/mail_tt2/sendssopasswd.tt2
%%DATADIR%%/mail_tt2/stats_report.tt2
%%DATADIR%%/mail_tt2/subscriber_notification.tt2
%%DATADIR%%/mail_tt2/summary.tt2
%%DATADIR%%/mail_tt2/urlized_part.tt2
%%DATADIR%%/mail_tt2/user_notification.tt2
%%DATADIR%%/mail_tt2/welcome.tt2
%%DATADIR%%/mail_tt2/which.tt2
%%DATADIR%%/mail_tt2/x509-user-cert-missing.tt2
%%DATADIR%%/mail_tt2/your_infected_msg.tt2
%%DATADIR%%/mhonarc-ressources.tt2
%%DATADIR%%/mime.types
%%DATADIR%%/nrcpt_by_domain.conf
%%DATADIR%%/scenari/access_web_archive.closed
%%DATADIR%%/scenari/access_web_archive.intranet
%%DATADIR%%/scenari/access_web_archive.listmaster
@ -267,6 +283,7 @@ sbin/task_manager.pl
%%DATADIR%%/web_tt2/arc_protect.tt2
%%DATADIR%%/web_tt2/arcsearch.tt2
%%DATADIR%%/web_tt2/arcsearch_form.tt2
%%DATADIR%%/web_tt2/authorization_reject.tt2
%%DATADIR%%/web_tt2/button_footer.tt2
%%DATADIR%%/web_tt2/button_header.tt2
%%DATADIR%%/web_tt2/change_email.tt2
@ -318,6 +335,7 @@ sbin/task_manager.pl
%%DATADIR%%/web_tt2/loginrequest.tt2
%%DATADIR%%/web_tt2/ls_templates.tt2
%%DATADIR%%/web_tt2/main.tt2
%%DATADIR%%/web_tt2/maintenance.tt2
%%DATADIR%%/web_tt2/menu.tt2
%%DATADIR%%/web_tt2/modindex.tt2
%%DATADIR%%/web_tt2/notice.tt2
@ -325,6 +343,7 @@ sbin/task_manager.pl
%%DATADIR%%/web_tt2/remindpasswd.tt2
%%DATADIR%%/web_tt2/remove_arc.tt2
%%DATADIR%%/web_tt2/rename_list_request.tt2
%%DATADIR%%/web_tt2/request_topic.tt2
%%DATADIR%%/web_tt2/review.tt2
%%DATADIR%%/web_tt2/review_family.tt2
%%DATADIR%%/web_tt2/reviewbouncing.tt2
@ -340,6 +359,7 @@ sbin/task_manager.pl
%%DATADIR%%/web_tt2/show_cert.tt2
%%DATADIR%%/web_tt2/sigrequest.tt2
%%DATADIR%%/web_tt2/skinsedit.tt2
%%DATADIR%%/web_tt2/sso_login.tt2
%%DATADIR%%/web_tt2/stats.tt2
%%DATADIR%%/web_tt2/subindex.tt2
%%DATADIR%%/web_tt2/suboptions.tt2
@ -352,8 +372,9 @@ sbin/task_manager.pl
%%DATADIR%%/web_tt2/which.tt2
%%DATADIR%%/web_tt2/your_lists.tt2
sympa/cgi-bin/sympa_soap_server.fcgi
sympa/cgi-bin/wwsympa.fcgi
sympa/cgi-bin/wwsympa-wrapper
sympa/cgi-bin/wwsympa.fcgi
sympa/cgi-bin/wwsympa_sudo_wrapper.pl
sympa/icons/back.png
sympa/icons/begin.png
sympa/icons/binary.png
@ -372,26 +393,6 @@ sympa/icons/right.png
sympa/icons/sound1.png
sympa/icons/text.png
sympa/icons/unknown.png
%%NLS%%@dirrmtry share/locale/cs/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/cs
%%NLS%%@dirrmtry share/locale/el/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/el
%%NLS%%@dirrmtry share/locale/en_US/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/en_US
%%NLS%%@dirrmtry share/locale/fi/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/fi
%%NLS%%@dirrmtry share/locale/oc/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/oc
%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/pl
%%NLS%%@dirrmtry share/locale/pt/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/pt
%%NLS%%@dirrmtry share/locale/ro/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ro
%%NLS%%@dirrmtry share/locale/zh_CN/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/zh_CN
%%NLS%%@dirrmtry share/locale/zh_TW/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/zh_TW
@dirrm sympa/spool/tmp
@dirrm sympa/spool/task
@dirrm sympa/spool/outgoing
@ -404,8 +405,8 @@ sympa/icons/unknown.png
@dirrm sympa/icons
@dirrm sympa/expl
@dirrm sympa/cgi-bin
@dirrm sympa/arc
@dirrm sympa/bounce
@dirrm sympa/arc
@dirrm sympa
@dirrm %%DATADIR%%/web_tt2
@dirrm %%DATADIR%%/scenari
@ -421,6 +422,28 @@ sympa/icons/unknown.png
@dirrm %%DATADIR%%/create_list_templates/discussion_list
@dirrm %%DATADIR%%/create_list_templates
@dirrm %%DATADIR%%
%%NLS%%@dirrmtry share/locale/cs/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/cs
%%NLS%%@dirrmtry share/locale/el/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/el
%%NLS%%@dirrmtry share/locale/en_US/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/en_US
%%NLS%%@dirrmtry share/locale/fi/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/fi
%%NLS%%@dirrmtry share/locale/nb_NO/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/nb_NO
%%NLS%%@dirrmtry share/locale/oc/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/oc
%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/pl
%%NLS%%@dirrmtry share/locale/pt/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/pt
%%NLS%%@dirrmtry share/locale/ro/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ro
%%NLS%%@dirrmtry share/locale/zh_CN/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/zh_CN
%%NLS%%@dirrmtry share/locale/zh_TW/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/zh_TW
@dirrm %%EXAMPLESDIR%%/sample-list
@dirrm %%EXAMPLESDIR%%
@dirrm libexec/sympa