ports/128489: [PATCH] mail/sympa5 update to 5.4.3

Leon Meßner l.messner at physik.tu-berlin.de
Thu Oct 30 21:20:01 UTC 2008


>Number:         128489
>Category:       ports
>Synopsis:       [PATCH] mail/sympa5 update to 5.4.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 30 21:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Leon Meßner
>Release:        FreeBSD 7.0
>Organization:
>Environment:
FreeBSD somejail 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Thu Oct  9 23:33:11 CEST 2008     login at somehost:/usr/obj/export/source/csup-standard/src/sys/GENERIC  amd64
>Description:
Port mail/sympa is outdated and the maintainer doesn't respond (see ports/127899).
The following files were deleted:

Only in sympa5.orig/files/: patch-src-Language.pm
Only in sympa5.orig/files/: patch-wwsympa-Makefile

The port is configured with --enable-secure now and some Makefiles need gmake.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN sympa5.orig/Makefile sympa5/Makefile
--- sympa5.orig/Makefile	2008-06-06 15:43:07.000000000 +0200
+++ sympa5/Makefile	2008-10-30 16:47:46.000000000 +0100
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	sympa
-PORTVERSION=	5.3.2
-PORTREVISION=	1
+PORTVERSION=	5.4.3
 CATEGORIES=	mail
 MASTER_SITES?=	http://www.sympa.org/distribution/
 
@@ -34,6 +33,7 @@
 USE_APACHE=	1.3+
 HAS_CONFIGURE=	yes
 USE_PERL5=	5.8.6+
+USE_GMAKE=	yes
 CONFIGURE_ARGS+=--prefix=${PREFIX} \
 		--with-confdir=${PREFIX}/etc/sympa \
 		--with-initdir=${PREFIX}/etc/rc.d \
@@ -50,7 +50,8 @@
 		--with-localedir=${PREFIX}/share/locale \
 		--with-docdir=${DOCSDIR} \
 		--with-sampledir=${EXAMPLESDIR} \
-		--with-spooldir=${PREFIX}/sympa/spool
+		--with-spooldir=${PREFIX}/sympa/spool \
+		--enable-secure
 CONFIGURE_ENV+=	lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
 MAKE_ENV?=	PERL_EXTUTILS_AUTOINSTALL=--skip
 
diff -urN sympa5.orig/distinfo sympa5/distinfo
--- sympa5.orig/distinfo	2007-07-06 20:20:06.000000000 +0200
+++ sympa5/distinfo	2008-10-28 23:44:31.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (sympa-5.3.2.tar.gz) = bf9800bfd1d8182ee9bbbd7d9496c7cf
-SHA256 (sympa-5.3.2.tar.gz) = 9cca49cf975ba5aa9bcea4a6d6b83b8d80b29bcc5737b2f3c398fb5b6b419f36
-SIZE (sympa-5.3.2.tar.gz) = 3917036
+MD5 (sympa-5.4.3.tar.gz) = 279622afafb7e67e8a1dc675764c0e35
+SHA256 (sympa-5.4.3.tar.gz) = 34fbc9e7817b3d1abb9bdb99d3544706f942df5bab4882adef6b8974da19f615
+SIZE (sympa-5.4.3.tar.gz) = 5561253
diff -urN sympa5.orig/files/patch-Makefile.in sympa5/files/patch-Makefile.in
--- sympa5.orig/files/patch-Makefile.in	2007-07-06 20:20:06.000000000 +0200
+++ sympa5/files/patch-Makefile.in	2008-10-29 19:14:30.000000000 +0100
@@ -1,6 +1,6 @@
---- Makefile.in.orig	Mon Jun  4 15:11:37 2007
-+++ Makefile.in	Wed Jun 13 11:33:54 2007
-@@ -220,6 +220,8 @@
+--- Makefile.in.orig	2008-10-29 19:13:14.000000000 +0100
++++ Makefile.in	2008-10-29 19:10:51.000000000 +0100
+@@ -219,6 +219,8 @@
  PERL_VERSION = `$(PERL) -e ' print $$]'`
  SYMPA_VERSION = @VERSION@
  DIR = ${prefix}
@@ -9,16 +9,16 @@
  EXPL_DIR = @EXPLDIR@
  MAILERPROGDIR = @BINDIR@
  RPMTOPDIR = `rpm --eval %_topdir`
-@@ -510,7 +512,7 @@
+@@ -508,7 +510,7 @@
  	@CVS2CL@
  #endif
  
--all:	warning checkperl checkcpan sources man locale
-+all:	sources man locale
+-all:	warning checkperl checkcpan sources wrapper soap_wrapper man locale
++all:	sources wrapper soap_wrapper man locale
  
  rpm: build_rh_rpm build_mdk_rpm
  
-@@ -604,7 +606,7 @@
+@@ -612,7 +614,7 @@
  	$(MAKE) PERL='${PERL}' clean) || exit 1; \
  	done;
  
@@ -27,16 +27,16 @@
  
  nextstep: 
  	@echo ""
-@@ -743,7 +745,7 @@
+@@ -751,7 +753,7 @@
  
  installdir:
  	@echo "Creating required directories"
--	@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 \
+-	@for dir in $(DIR) $(EXPL_DIR) $(CONFDIR) $(SAMPLEDIR) $(ETCDIR) $(BINDIR) $(LOCALEDIR) $(DOCDIR) $(DIR)/static_content $(DIR)/static_content/icons ; do \
++	@for dir in $(DIR) $(EXPL_DIR) $(CONFDIR) $(SAMPLEDIR) $(ETCDIR) $(BINDIR) $(LOCALEDIR) $(DOCDIR) $(DIR)/static_content $(DIR)/static_content/icons $(ARC_DIR) $(BOUNCE_DIR); do \
  		if [ ! -d $(DESTDIR)$$dir ] ; then \
  			echo "Creating $(DESTDIR)$$dir"; \
  			mkdir -p $(DESTDIR)$$dir; \
-@@ -789,17 +791,6 @@
+@@ -797,17 +799,6 @@
  		fi \
  	done \
  	fi
@@ -54,7 +54,7 @@
  
  installconfig:
  	mkdir -p $(DESTDIR)$(CONFDIR)
-@@ -815,14 +806,7 @@
+@@ -823,14 +814,7 @@
  	INITCONF='1'; \
  	fi \
  	fi \
diff -urN sympa5.orig/files/patch-src-Language.pm sympa5/files/patch-src-Language.pm
--- sympa5.orig/files/patch-src-Language.pm	2007-07-06 20:20:06.000000000 +0200
+++ sympa5/files/patch-src-Language.pm	1970-01-01 01:00:00.000000000 +0100
@@ -1,38 +0,0 @@
---- 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 -urN sympa5.orig/files/patch-wwsympa-Makefile sympa5/files/patch-wwsympa-Makefile
--- sympa5.orig/files/patch-wwsympa-Makefile	2006-06-23 18:41:08.000000000 +0200
+++ sympa5/files/patch-wwsympa-Makefile	1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
---- 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 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
- 
-@@ -51,9 +51,9 @@
- 	chgrp $(GROUP) $(DESTDIR)$(CGIDIR)/$$i; \
- 	done
- 	@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


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



More information about the freebsd-ports-bugs mailing list