Bug 175966 - [PATCH] mail/sympa: update to 6.1.17
Summary: [PATCH] mail/sympa: update to 6.1.17
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-08 20:40 UTC by geoffroy desvernay
Modified: 2013-02-16 13:30 UTC (History)
1 user (show)

See Also:


Attachments
sympa-6.1.17.patch (2.47 KB, patch)
2013-02-08 20:40 UTC, geoffroy desvernay
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description geoffroy desvernay 2013-02-08 20:40:01 UTC
- Update to 6.1.17
- change Makefile's header
- Upstream changelog: http://www.sympa.org/distribution/latest-stable/NEWS

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

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-08 20:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->crees

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-16 13:21:30 UTC
Author: crees
Date: Sat Feb 16 13:21:22 2013
New Revision: 312349
URL: http://svnweb.freebsd.org/changeset/ports/312349

Log:
  Update to 6.1.17
  
  PR:		ports/175966
  Submitted by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr>
  
  While here, convert the make.conf knobs to OPTIONSng.
  
  The DB_TYPE compatibility shim will remain for a few versions, but it should
  be changed to OPTIONS_SET=[db-type as described in the OPTION] now.

Modified:
  head/mail/sympa/Makefile
  head/mail/sympa/distinfo
  head/mail/sympa/pkg-plist

Modified: head/mail/sympa/Makefile
==============================================================================
--- head/mail/sympa/Makefile	Sat Feb 16 12:50:44 2013	(r312348)
+++ head/mail/sympa/Makefile	Sat Feb 16 13:21:22 2013	(r312349)
@@ -1,12 +1,8 @@
-# Ports collection Makefile for:	sympa
-# Date created:				29 November 2003
-# Whom:					Autrijus Tang <autrijus@autrijus.org>
-#
+# Created by: Autrijus Tang <autrijus@autrijus.org>
 # $FreeBSD$
-#
 
 PORTNAME=	sympa
-PORTVERSION=	6.1.16
+PORTVERSION=	6.1.17
 CATEGORIES=	mail
 MASTER_SITES=	http://www.sympa.org/distribution/ \
 		http://www.sympa.org/distribution/old/
@@ -79,41 +75,42 @@ MAN8=		alias_manager.8 archived.8 bounce
 
 CONFLICTS=	sympa-5*
 
-DB_TYPE:=	${DB_TYPE:L}
-
-.if ${DB_TYPE:Mmysql}
-USE_MYSQL=	yes
+OPTIONS_DEFINE=	FASTCGI APACHE
+OPTIONS_DEFAULT=APACHE
+OPTIONS_RADIO=	DATABASE
+OPTIONS_RADIO_DATABASE=	ORACLE PGSQL SYBASE MYSQL
+
+SYBASE_DESC=	Sybase database
+
+.ifdef DB_TYPE
+DB_TYPE:=	${DB_TYPE:U}
+.  for option in ${OPTIONS_RADIO_DATABASE}
+.    if ${DB_TYPE} == ${option:S,PGSQL,PG,}
+OPTIONS_SET+=	${option}
+.    endif
+.  endfor
 .endif
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_FASTCGI)
+.if ${PORT_OPTIONS:MFASTCGI}
 RUN_DEPENDS+=	p5-FCGI>=0:${PORTSDIR}/www/p5-FCGI
-. if !defined(WITHOUT_APACHE)
+. if ${PORT_OPTIONS:MAPACHE}
 USE_APACHE_RUN=	22+
-RUN_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:Moracle}
+.if ${PORT_OPTIONS:MORACLE}
 RUN_DEPENDS+=	p5-DBD-Oracle>=0:${PORTSDIR}/databases/p5-DBD-Oracle
-.elif ${DB_TYPE:Mpg}
+.elif ${PORT_OPTIONS:MPGSQL}
 RUN_DEPENDS+=	p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
-.elif ${DB_TYPE:Msybase}
+.elif ${PORT_OPTIONS:MSYBASE}
 RUN_DEPENDS+=	p5-DBD-Sybase>=0:${PORTSDIR}/databases/p5-DBD-Sybase
-.elif ${DB_TYPE:Mmysql}
+.elif ${PORT_OPTIONS:MMYSQL}
 RUN_DEPENDS+=	p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
 .endif
 
-pre-fetch:
-	@${ECHO_MSG} ""
-	@${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"
-	@${ECHO_MSG} "	WITHOUT_APACHE	Use FastCGI without apache (spawn-fcgi or ?)"
-	@${ECHO_MSG} ""
-
 pre-install:
 	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
 

Modified: head/mail/sympa/distinfo
==============================================================================
--- head/mail/sympa/distinfo	Sat Feb 16 12:50:44 2013	(r312348)
+++ head/mail/sympa/distinfo	Sat Feb 16 13:21:22 2013	(r312349)
@@ -1,2 +1,2 @@
-SHA256 (sympa-6.1.16.tar.gz) = ba74a532ab36df3e79132a69e53e544c5680517a71745039bdd32da960b04219
-SIZE (sympa-6.1.16.tar.gz) = 7856093
+SHA256 (sympa-6.1.17.tar.gz) = a506ea6e9c88c4a91d22bf146acb06fae5c277e98312b957bdae974739145b79
+SIZE (sympa-6.1.17.tar.gz) = 7881215

Modified: head/mail/sympa/pkg-plist
==============================================================================
--- head/mail/sympa/pkg-plist	Sat Feb 16 12:50:44 2013	(r312348)
+++ head/mail/sympa/pkg-plist	Sat Feb 16 13:21:22 2013	(r312349)
@@ -84,6 +84,8 @@ libexec/sympa/wwsympa.fcgi
 %%EXAMPLESDIR%%/charset.conf
 %%EXAMPLESDIR%%/crawlers_detection.conf
 %%EXAMPLESDIR%%/create_list.conf
+%%EXAMPLESDIR%%/create_list_templates/confidential/comment.tt2
+%%EXAMPLESDIR%%/create_list_templates/confidential/config.tt2
 %%EXAMPLESDIR%%/create_list_templates/discussion_list/comment.tt2
 %%EXAMPLESDIR%%/create_list_templates/discussion_list/config.tt2
 %%EXAMPLESDIR%%/create_list_templates/hotline/comment.tt2
@@ -219,6 +221,7 @@ libexec/sympa/wwsympa.fcgi
 %%EXAMPLESDIR%%/scenari/review.private
 %%EXAMPLESDIR%%/scenari/review.public
 %%EXAMPLESDIR%%/scenari/send.closed
+%%EXAMPLESDIR%%/scenari/send.confidential
 %%EXAMPLESDIR%%/scenari/send.default
 %%EXAMPLESDIR%%/scenari/send.editorkey
 %%EXAMPLESDIR%%/scenari/send.editorkeyonly
@@ -574,6 +577,7 @@ libexec/sympa/wwsympa.fcgi
 @dirrm %%EXAMPLESDIR%%/create_list_templates/html-news-letter
 @dirrm %%EXAMPLESDIR%%/create_list_templates/hotline
 @dirrm %%EXAMPLESDIR%%/create_list_templates/discussion_list
+@dirrm %%EXAMPLESDIR%%/create_list_templates/confidential
 @dirrm %%EXAMPLESDIR%%/create_list_templates
 @dirrm %%EXAMPLESDIR%%
 @dirrm libexec/sympa/Sympa/Template
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Chris Rees freebsd_committer freebsd_triage 2013-02-16 13:22:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!