From root@dgeo.sysadm.ec-m.fr  Fri Apr 20 11:08:56 2012
Return-Path: <root@dgeo.sysadm.ec-m.fr>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A7C9C106566B;
	Fri, 20 Apr 2012 11:08:56 +0000 (UTC)
	(envelope-from root@dgeo.sysadm.ec-m.fr)
Received: from meli.ec-m.fr (meli.ec-m.fr [147.94.19.138])
	by mx1.freebsd.org (Postfix) with ESMTP id 61EEF8FC08;
	Fri, 20 Apr 2012 11:08:56 +0000 (UTC)
Received: from amavis3.serv.int (amavis3.serv.int [10.3.0.47])
	by meli.ec-m.fr (GrosseBox 1743 XXL) with ESMTP id 42960278A3E;
	Fri, 20 Apr 2012 13:08:49 +0200 (CEST)
Received: from meli.ec-m.fr ([10.3.0.12])
	by amavis3.serv.int (amavis3.serv.int [10.3.0.47]) (amavisd-new, port 10024)
	with LMTP id 3-jZlY0cRNdm; Fri, 20 Apr 2012 13:08:15 +0200 (CEST)
Received: from dgeo.sysadm.ec-m.fr (dgeo.sysadm.ec-m.fr [147.94.19.169])
	by meli.ec-m.fr (GrosseBox 1743 XXL) with ESMTP id 3105F278A90;
	Fri, 20 Apr 2012 13:08:17 +0200 (CEST)
Received: by dgeo.sysadm.ec-m.fr (Postfix, from userid 0)
	id 9BE8E1CD62; Fri, 20 Apr 2012 13:08:15 +0200 (CEST)
Message-Id: <20120420110815.9BE8E1CD62@dgeo.sysadm.ec-m.fr>
Date: Fri, 20 Apr 2012 13:08:15 +0200 (CEST)
From: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
To: FreeBSD-gnats-submit@freebsd.org
Cc: crees@FreeBSD.org,dgeo@centrale-marseille.fr
Subject: [PATCH] mail/sympa: update to 6.1.9
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         167121
>Category:       ports
>Synopsis:       [PATCH] mail/sympa: update to 6.1.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    crees
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 20 11:10:08 UTC 2012
>Closed-Date:    Wed May 02 17:04:17 UTC 2012
>Last-Modified:  Wed May  2 17:10:10 UTC 2012
>Originator:     Geoffroy Desvernay
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
Ecole Centrale de Marseille
>Environment:
System: FreeBSD dgeo.sysadm.ec-m.fr 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sun Jan 15 17:00:54 CET 2012
>Description:
- Update to 6.1.9
- Fix init script for FreeBSD
- Allow use without apache (fastcgi/nginx for example) if WITHOUT_APACHE is defined

Added file(s):
- files/patch-src__etc__script__sympa.in

Port maintainer (crees@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: suffix)
>How-To-Repeat:
>Fix:

--- sympa-6.1.9.patch begins here ---
diff -ruN --exclude=CVS ../sympa.orig/Makefile ./Makefile
--- ../sympa.orig/Makefile	2012-01-01 17:47:34.000000000 +0100
+++ ./Makefile	2012-04-20 12:26:54.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	sympa
-PORTVERSION=	6.1.7
+PORTVERSION=	6.1.9
 CATEGORIES=	mail
 MASTER_SITES=	http://www.sympa.org/distribution/ \
 		http://www.sympa.org/distribution/old/
@@ -14,6 +14,8 @@
 MAINTAINER=	crees@FreeBSD.org
 COMMENT=	Sympa is an electronic mailing list manager
 
+LICENSE=	GPLv2
+
 BUILD_DEPENDS+=								\
 	${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
 	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI	\
@@ -38,8 +40,6 @@
 
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-LICENSE=	GPLv2
-
 # Ignore alpha/beta versions
 PORTSCOUT=	limit:^[0-9]+(\.[0-9]+)*$$
 
@@ -47,7 +47,6 @@
 GROUPS=		sympa
 GNU_CONFIGURE=	yes
 USE_PERL5=	yes
-USE_APACHE=	20+
 ICONSDIR?=	www/icons
 CONFIGURE_ARGS+=--bindir=${PREFIX}/libexec/${PORTNAME}	\
 		--libexecdir=${PREFIX}/libexec/${PORTNAME} \
@@ -90,10 +89,13 @@
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_FASTCGI)
-BUILD_DEPENDS+=	${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \
-		${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FCGI
-RUN_DEPENDS+=	${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \
-		${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FCGI
+BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FCGI
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FCGI
+. if !defined(WITHOUT_APACHE)
+USE_APACHE=	20+
+BUILD_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
+RUN_DEPENDS+=   ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
+. endif
 .endif
 
 .if ${DB_TYPE:L} == "oracle"
@@ -119,7 +121,8 @@
 	@${ECHO_MSG} "You may use the following build options:"
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "	DB_TYPE=type	Optional: mysql, Oracle, Pg or Sybase"
-	@${ECHO_MSG} "	WITH_FASTCGI	Use FastCGI instead of plain CGI (Apache only)"
+	@${ECHO_MSG} "	WITH_FASTCGI	Use FastCGI instead of plain CGI"
+	@${ECHO_MSG} "	WITHOUT_APACHE	Use FastCGI without apache (spawn-fcgi or ?)"
 	@${ECHO_MSG} ""
 
 pre-install:
diff -ruN --exclude=CVS ../sympa.orig/distinfo ./distinfo
--- ../sympa.orig/distinfo	2011-09-06 19:02:20.000000000 +0200
+++ ./distinfo	2012-04-20 11:17:47.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (sympa-6.1.7.tar.gz) = 8ca88ceac336fa1e750e52f1be20720ba463cf541bab1da4182297fe35a2b4ac
-SIZE (sympa-6.1.7.tar.gz) = 7398417
+SHA256 (sympa-6.1.9.tar.gz) = 806531d73ac897b6535904d1a1a90792bd7ea4369a61d6901525a423b14d1b64
+SIZE (sympa-6.1.9.tar.gz) = 7431550
diff -ruN --exclude=CVS ../sympa.orig/files/patch-src__etc__script__sympa.in ./files/patch-src__etc__script__sympa.in
--- ../sympa.orig/files/patch-src__etc__script__sympa.in	1970-01-01 01:00:00.000000000 +0100
+++ ./files/patch-src__etc__script__sympa.in	2012-04-20 12:36:29.000000000 +0200
@@ -0,0 +1,38 @@
+--- src/etc/script/sympa.in.orig	2010-11-17 08:25:42.000000000 +0100
++++ src/etc/script/sympa.in	2012-04-20 12:35:40.000000000 +0200
+@@ -2,6 +2,10 @@
+ #
+ # sympa			Mailing Lists Management System
+ #
++# PROVIDE: sympa
++# REQUIRE: LOGIN cleanvar
++# KEYWORD: shutdown
++#
+ # Written by Michel Bouissou  20/07/2000
+ #
+ # Modified by Olivier Salaun 27/07/2000
+@@ -159,7 +163,7 @@
+ 	if [ "$pids" != "" ]; then
+ 	    for pid in $pids; do
+ 		killcount=0
+-		running=`ps -A | grep "$pid ..* $1\\.pl"`
++		running=`ps -A | grep "$pid .* $1\\.pl"`
+ 		while [ "$running" != "" ]; do
+ 		    if [ $killcount -gt 10 ]; then
+ 			if [ ${use_functions} ]; then
+@@ -171,13 +175,13 @@
+ 		    fi
+ 
+ 		    kill -TERM $pid >/dev/null 2>&1
+-		    running=`ps -A | grep "$pid ..* $1\\.pl"`
++		    running=`ps -A | grep "$pid .* $1\\.pl"`
+ 		    if [ "$running" = "" ]; then
+ 			runcount=`expr $runcount + 1`
+ 			break
+ 		    fi
+ 		    sleep 2
+-		    running=`ps -A | grep "$pid ..* $1\\.pl"`
++		    running=`ps -A | grep "$pid .* $1\\.pl"`
+ 		    if [ "$running" = "" ]; then
+ 			runcount=`expr $runcount + 1`
+ 			break
--- sympa-6.1.9.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->crees 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Apr 20 11:10:23 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167121 
State-Changed-From-To: open->analyzed 
State-Changed-By: crees 
State-Changed-When: Tue May 1 18:29:06 UTC 2012 
State-Changed-Why:  
Ouch-- missed this PR, sorry.  Taken for Tinderbox run. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167121 
State-Changed-From-To: analyzed->closed 
State-Changed-By: crees 
State-Changed-When: Wed May 2 17:04:15 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167121 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/167121: commit references a PR
Date: Wed,  2 May 2012 17:03:37 +0000 (UTC)

 crees       2012-05-02 17:03:27 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/sympa           Makefile distinfo 
   Added files:
     mail/sympa/files     patch-src__etc__script__sympa.in 
   Log:
   - Update to 6.1.9
   
   - Fix init script for FreeBSD
   
   - Allow use without apache (fastcgi/nginx for example) if WITHOUT_APACHE is
     defined
   
   PR:             ports/167121
   Submitted by:   Geoffroy Desvernay <dgeo@centrale-marseille.fr>
   
   Revision  Changes    Path
   1.34      +14 -11    ports/mail/sympa/Makefile
   1.14      +2 -2      ports/mail/sympa/distinfo
   1.1       +38 -0     ports/mail/sympa/files/patch-src__etc__script__sympa.in (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
