Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2011 16:47:59 +0200 (CEST)
From:      Geoffroy Desvernay <dgeo@centrale-marseille.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        chifeng@gmail.com
Subject:   ports/156702: [PATCH] mail/policyd2: add postgresql support
Message-ID:  <20110428144759.602491CCAA@dgeo.sysadm.ec-m.fr>
Resent-Message-ID: <201104281510.p3SFAA3i092997@freefall.freebsd.org>

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

>Number:         156702
>Category:       ports
>Synopsis:       [PATCH] mail/policyd2: add postgresql support
>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 Apr 28 15:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Geoffroy Desvernay
>Release:        FreeBSD 8.2-RELEASE-p1 amd64
>Organization:
Ecole Centrale de Marseille
>Environment:
System: FreeBSD dgeo.sysadm.ec-m.fr 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0: Fri Apr 22 01:04:23 CEST 2011
>Description:
A little change to add postgresql support to the port.

porttools told me to remove MD5 from distfile: I did it too :)

Port maintainer (chifeng@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- policyd2-2.0.10.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/policyd2.orig/Makefile /usr/ports/mail/policyd2/Makefile
--- /usr/ports/mail/policyd2.orig/Makefile	2010-04-29 00:26:42.000000000 +0200
+++ /usr/ports/mail/policyd2/Makefile	2011-04-28 16:41:33.000000000 +0200
@@ -30,6 +30,7 @@
 PORTDATA=	*
 
 OPTIONS=	MYSQL "Use MySQL support" On \
+		PostgreSQL "Use PostgreSQL support" Off \
 		SQLite "Use SQLite support" Off
 
 .include <bsd.port.pre.mk>
@@ -40,6 +41,9 @@
 .if defined(WITH_SQLite)
 RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite
 .endif
+.if defined(WITH_PostgreSQL)
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/cbpadmin
diff -ruN --exclude=CVS /usr/ports/mail/policyd2.orig/distinfo /usr/ports/mail/policyd2/distinfo
--- /usr/ports/mail/policyd2.orig/distinfo	2010-01-07 05:48:30.000000000 +0100
+++ /usr/ports/mail/policyd2/distinfo	2011-04-28 16:45:38.000000000 +0200
@@ -1,3 +1,2 @@
-MD5 (cluebringer-2.0.10.tar.gz) = 374eb5b5f7325343defaf185964d421e
 SHA256 (cluebringer-2.0.10.tar.gz) = be335acb8e282a31a65a3f44de8c0ac0f0ac8f18090e20391b486d6b1efd752b
 SIZE (cluebringer-2.0.10.tar.gz) = 133110
--- policyd2-2.0.10.patch ends here ---

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



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