Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2010 14:25:02 GMT
From:      Chris Rees <utisoft@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/153339: Maintainer update: mail/sympa to 6.1.3
Message-ID:  <201012211425.oBLEP2G5088276@amnesiac.bayofrum.net>
Resent-Message-ID: <201012211430.oBLEUBTC026771@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153339
>Category:       ports
>Synopsis:       Maintainer update: mail/sympa to 6.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 21 14:30:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 8.1-RELEASE-p1 i386
>Organization:
bayofrum
>Environment:
System: FreeBSD amnesiac.bayofrum.net 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Sun Dec 12 15:14:48 GMT 2010 ro
ot@amnesiac.bayofrum.net:/usr/obj/usr/src/sys/GENERIC i386


        
>Description:
        Sympa has been updated to 6.1.3. I have also removed _all_ of the nasty little patchfiles and replaced
them with REINPLACE_CMDs and the proper configure options. Thus, there is no longer a files/ directory for this
 port.
	I've also published the patch at http://www.bayofrum.net/~chris/patches/sympa-6.0.5-6.1.3.diff
>How-To-Repeat:
>Fix:

        As tested at http://tinderbox.bayofrum.net:8080/logs/8.1-FreeBSD/sympa-6.1.3.log:


--- sympa-6.0.5-6.1.3.diff begins here ---
diff -ruN sympa.orig/Makefile sympa/Makefile
--- sympa.orig/Makefile	2010-11-05 17:44:07.000000000 +0000
+++ sympa/Makefile	2010-12-20 11:42:00.000000000 +0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	sympa
-PORTVERSION=	6.0.5
+PORTVERSION=	6.1.3
 CATEGORIES=	mail
 MASTER_SITES=	http://www.sympa.org/distribution/ \
 		http://www.sympa.org/distribution/old/
@@ -33,9 +33,11 @@
 USE_APACHE=	1.3+
 CONFIGURE_ARGS+=--prefix=${PREFIX}/sympa \
 		--with-confdir=${PREFIX}/etc \
+		--with-docdir=${EXAMPLESDIR} \
 		--with-initdir=${PREFIX}/etc/rc.d \
 		--with-etcdir=${PREFIX}/sympa/bin/etc \
 		--with-iconsdir=${PREFIX}/www/icons \
+		--with-lockdir=/var/spool/lock \
 		--mandir=${PREFIX}/man \
 		${CONFIGURE_TARGET}
 CONFIGURE_ENV+=	lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
@@ -94,6 +96,9 @@
 	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
 
 post-patch:
+	@echo ${WRKSRC}
+	${REINPLACE_CMD} -e 's/\$$(DESTDIR)\$$(sampledir)/\$$(sampledir)/g' \
+		${WRKSRC}/doc/sample/Makefile.in
 	@${FIND} ${WRKSRC} -name "*.orig" -a -exec ${RM} -f {} \;
 
 post-install:
diff -ruN sympa.orig/distinfo sympa/distinfo
--- sympa.orig/distinfo	2010-11-05 17:44:07.000000000 +0000
+++ sympa/distinfo	2010-12-21 14:22:51.000000000 +0000
@@ -1,3 +1,2 @@
-MD5 (sympa-6.0.5.tar.gz) = b39527940f31358090803c677cc31d39
-SHA256 (sympa-6.0.5.tar.gz) = e2dea61f7c7de3300d89b341ebf774655f636134dc022123d93ad268ca40877a
-SIZE (sympa-6.0.5.tar.gz) = 6581038
+SHA256 (sympa-6.1.3.tar.gz) = 1b258588b9076a480966b4d08f463e9a561bfda1d798bb879adbbfe96c95d9fd
+SIZE (sympa-6.1.3.tar.gz) = 6940694
diff -ruN sympa.orig/files/patch-doc-sample-Makefile.am sympa/files/patch-doc-sample-Makefile.am
--- sympa.orig/files/patch-doc-sample-Makefile.am	2010-11-05 17:44:07.000000000 +0000
+++ sympa/files/patch-doc-sample-Makefile.am	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- doc/sample/Makefile.am	2009-07-28 12:13:00.000000000 +0000
-+++ doc/sample/Makefile.am-bkp	2010-07-29 07:04:25.000000000 +0000
-@@ -19,7 +19,7 @@
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- 
--sampledir = $(docdir)/sample
-+sampledir = /usr/local/share/examples/sympa
- nobase_sample_DATA = README \
- 		     trusted_applications.conf robot.conf employees.ldap \
- 		     test/config test/info test/message.footer test/web_tt2/welcome.tt2
diff -ruN sympa.orig/files/patch-doc-sample-Makefile.in sympa/files/patch-doc-sample-Makefile.in
--- sympa.orig/files/patch-doc-sample-Makefile.in	2010-11-05 17:44:07.000000000 +0000
+++ sympa/files/patch-doc-sample-Makefile.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,90 +0,0 @@
---- doc/sample/Makefile.in	2010-07-06 14:12:30.000000000 +0000
-+++ doc/sample/Makefile.in-bkp	2010-07-29 01:00:41.000000000 +0000
-@@ -71,7 +71,7 @@
-     *) f=$$p;; \
-   esac;
- am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
--am__installdirs = "$(DESTDIR)$(sampledir)"
-+am__installdirs = "$(sampledir)"
- nobase_sampleDATA_INSTALL = $(install_sh_DATA)
- DATA = $(nobase_sample_DATA)
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-@@ -177,7 +177,7 @@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- webtemplatedir = @webtemplatedir@
--sampledir = $(docdir)/sample
-+sampledir = /usr/local/share/examples/sympa
- nobase_sample_DATA = README \
- 		     trusted_applications.conf robot.conf employees.ldap \
- 		     test/config test/info test/message.footer test/web_tt2/welcome.tt2
-@@ -218,13 +218,13 @@
- uninstall-info-am:
- install-nobase_sampleDATA: $(nobase_sample_DATA)
- 	@$(NORMAL_INSTALL)
--	test -z "$(sampledir)" || $(mkdir_p) "$(DESTDIR)$(sampledir)"
-+	test -z "$(sampledir)" || $(mkdir_p) "$(sampledir)"
- 	@$(am__vpath_adj_setup) \
- 	list='$(nobase_sample_DATA)'; for p in $$list; do \
- 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- 	  $(am__vpath_adj) \
--	  echo " $(nobase_sampleDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sampledir)/$$f'"; \
--	  $(nobase_sampleDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sampledir)/$$f"; \
-+	  echo " $(nobase_sampleDATA_INSTALL) '$$d$$p' '$(sampledir)/$$f'"; \
-+	  $(nobase_sampleDATA_INSTALL) "$$d$$p" "$(sampledir)/$$f"; \
- 	done
- 
- uninstall-nobase_sampleDATA:
-@@ -232,8 +232,8 @@
- 	@$(am__vpath_adj_setup) \
- 	list='$(nobase_sample_DATA)'; for p in $$list; do \
- 	  $(am__vpath_adj) \
--	  echo " rm -f '$(DESTDIR)$(sampledir)/$$f'"; \
--	  rm -f "$(DESTDIR)$(sampledir)/$$f"; \
-+	  echo " rm -f '$(sampledir)/$$f'"; \
-+	  rm -f "$(sampledir)/$$f"; \
- 	done
- tags: TAGS
- TAGS:
-@@ -243,7 +243,7 @@
- 
- 
- distdir: $(DISTFILES)
--	$(mkdir_p) $(distdir)/test $(distdir)/test/web_tt2
-+	$(mkdir_p) /$(sampledir)/test $(sampledir)/test/web_tt2
- 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- 	list='$(DISTFILES)'; for file in $$list; do \
-@@ -255,18 +255,18 @@
- 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- 	    dir="/$$dir"; \
--	    $(mkdir_p) "$(distdir)$$dir"; \
-+	    $(mkdir_p) "$(sampledir)$$dir"; \
- 	  else \
- 	    dir=''; \
- 	  fi; \
- 	  if test -d $$d/$$file; then \
- 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
--	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
-+	      cp -pR $(srcdir)/$$file $(sampledir)$$dir || exit 1; \
- 	    fi; \
--	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
-+	    cp -pR $$d/$$file $(sampledir)$$dir || exit 1; \
- 	  else \
--	    test -f $(distdir)/$$file \
--	    || cp -p $$d/$$file $(distdir)/$$file \
-+	    test -f $(sampledir)/$$file \
-+	    || cp -p $$d/$$file $(sampledir)/$$file \
- 	    || exit 1; \
- 	  fi; \
- 	done
-@@ -274,7 +274,7 @@
- check: check-am
- all-am: Makefile $(DATA)
- installdirs:
--	for dir in "$(DESTDIR)$(sampledir)"; do \
-+	for dir in "$(sampledir)"; do \
- 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
- 	done
- install: install-am
diff -ruN sympa.orig/files/patch-src-etc-script-sympa.in sympa/files/patch-src-etc-script-sympa.in
--- sympa.orig/files/patch-src-etc-script-sympa.in	2010-11-05 17:44:07.000000000 +0000
+++ sympa/files/patch-src-etc-script-sympa.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,74 +0,0 @@
---- src/etc/script/sympa.in.bak	2010-07-25 11:53:14.000000000 +0100
-+++ src/etc/script/sympa.in	2010-07-25 11:58:18.000000000 +0100
-@@ -59,6 +59,8 @@
- sympaconf="--CONFIG--"
- wwsympaconf="--WWSCONFIG--"
- 
-+lockdir="--LOCKDIR--"
-+
- ##'echo -n' not supported with SH on Solaris
- if [ ${OSTYPE} = "SunOS" ]; then
-   echo_opt=""
-@@ -66,6 +68,10 @@
-   echo_opt="-n"
- fi
- 
-+if [ ${OSTYPE} = "FreeBSD" ]; then
-+	lockdir="/var/spool/lock"
-+fi
-+
- # End of parameters
- 
- # Current state of the module
-@@ -85,7 +91,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
-@@ -155,7 +161,7 @@
- 	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 [ $1 = 'bulk' ]; then
- 		    if [ ${use_functions} ]; then
- 			kill -TERM $pid && success || failure
-@@ -197,14 +203,14 @@
- # 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 bulk
- 		sympa_start archived
- 		sympa_start bounced
- 		sympa_start task_manager
--		touch --lockdir--/sympa
-+		touch $lockdir/sympa
- 		echo
- 	else
- 
-@@ -226,13 +232,13 @@
- 		sympa_stop sympa-creation
- 	fi
- 	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."
diff -ruN sympa.orig/pkg-plist sympa/pkg-plist
--- sympa.orig/pkg-plist	2010-11-05 17:44:07.000000000 +0000
+++ sympa/pkg-plist	2010-12-21 14:03:03.000000000 +0000
@@ -236,6 +236,7 @@
 sympa/default/scenari/send.publickey
 sympa/default/scenari/send.publicnoattachment
 sympa/default/scenari/send.publicnomultipart
+sympa/default/scenari/spam_status.x-spam-status
 sympa/default/scenari/subscribe.auth
 sympa/default/scenari/subscribe.auth_notify
 sympa/default/scenari/subscribe.auth_owner
@@ -277,9 +278,11 @@
 sympa/default/web_tt2/arcsearch.tt2
 sympa/default/web_tt2/arcsearch_form.tt2
 sympa/default/web_tt2/authorization_reject.tt2
+sympa/default/web_tt2/auto_signoff.tt2
 sympa/default/web_tt2/blacklist.tt2
 sympa/default/web_tt2/button_footer.tt2
 sympa/default/web_tt2/button_header.tt2
+sympa/default/web_tt2/ca.tt2
 sympa/default/web_tt2/change_email.tt2
 sympa/default/web_tt2/change_email_request.tt2
 sympa/default/web_tt2/choosepasswd.tt2
@@ -299,6 +302,7 @@
 sympa/default/web_tt2/dump_scenario.tt2
 sympa/default/web_tt2/dumpvars.tt2
 sympa/default/web_tt2/edit_attributes.tt2
+sympa/default/web_tt2/edit_config.tt2
 sympa/default/web_tt2/edit_list_request.tt2
 sympa/default/web_tt2/edit_template.tt2
 sympa/default/web_tt2/editfile.tt2
@@ -330,6 +334,7 @@
 sympa/default/web_tt2/latest_arc.tt2
 sympa/default/web_tt2/latest_d_read.tt2
 sympa/default/web_tt2/latest_lists.tt2
+sympa/default/web_tt2/lca.tt2
 sympa/default/web_tt2/list_button_footer.tt2
 sympa/default/web_tt2/list_button_header.tt2
 sympa/default/web_tt2/list_menu.tt2
@@ -368,6 +373,7 @@
 sympa/default/web_tt2/set_pending_list_request.tt2
 sympa/default/web_tt2/setlang.tt2
 sympa/default/web_tt2/show_cert.tt2
+sympa/default/web_tt2/show_exclude.tt2
 sympa/default/web_tt2/show_sessions.tt2
 sympa/default/web_tt2/sigrequest.tt2
 sympa/default/web_tt2/skinsedit.tt2
@@ -376,6 +382,8 @@
 sympa/default/web_tt2/subindex.tt2
 sympa/default/web_tt2/suboptions.tt2
 sympa/default/web_tt2/subrequest.tt2
+sympa/default/web_tt2/subscriber_table.tt2
+sympa/default/web_tt2/suspend_request.tt2
 sympa/default/web_tt2/ticket.tt2
 sympa/default/web_tt2/title.tt2
 sympa/default/web_tt2/tt2_error.tt2
@@ -472,16 +480,17 @@
 sympa/static_content/icons/text.png
 sympa/static_content/icons/top.png
 sympa/static_content/icons/unknown.png
-%%EXAMPLESDIR%%/test/web_tt2/welcome.tt2
-%%EXAMPLESDIR%%/test/config
-%%EXAMPLESDIR%%/test/info
-%%EXAMPLESDIR%%/test/message.footer
-%%EXAMPLESDIR%%/README
-%%EXAMPLESDIR%%/trusted_applications.conf
-%%EXAMPLESDIR%%/robot.conf
-%%EXAMPLESDIR%%/employees.ldap
-@dirrm %%EXAMPLESDIR%%/test/web_tt2
-@dirrm %%EXAMPLESDIR%%/test
+%%EXAMPLESDIR%%/sample/test/web_tt2/welcome.tt2
+%%EXAMPLESDIR%%/sample/test/config
+%%EXAMPLESDIR%%/sample/test/info
+%%EXAMPLESDIR%%/sample/test/message.footer
+%%EXAMPLESDIR%%/sample/README
+%%EXAMPLESDIR%%/sample/trusted_applications.conf
+%%EXAMPLESDIR%%/sample/robot.conf
+%%EXAMPLESDIR%%/sample/employees.ldap
+@dirrm %%EXAMPLESDIR%%/sample/test/web_tt2
+@dirrm %%EXAMPLESDIR%%/sample/test
+@dirrm %%EXAMPLESDIR%%/sample
 @dirrm %%EXAMPLESDIR%%
 @dirrm sympa/static_content/icons
 @dirrm sympa/static_content
--- sympa-6.0.5-6.1.3.diff ends here ---



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012211425.oBLEP2G5088276>