svn commit: r312349 - head/mail/sympa

Chris Rees crees at FreeBSD.org
Sat Feb 16 13:21:23 UTC 2013


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 at 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 at autrijus.org>
-#
+# Created by: Autrijus Tang <autrijus at 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
+ at dirrm %%EXAMPLESDIR%%/create_list_templates/confidential
 @dirrm %%EXAMPLESDIR%%/create_list_templates
 @dirrm %%EXAMPLESDIR%%
 @dirrm libexec/sympa/Sympa/Template


More information about the svn-ports-head mailing list