diff options
-rw-r--r-- | mail/gld/Makefile | 8 | ||||
-rw-r--r-- | mail/gld/distinfo | 8 | ||||
-rw-r--r-- | mail/gld/options.mk | 17 |
3 files changed, 24 insertions, 9 deletions
diff --git a/mail/gld/Makefile b/mail/gld/Makefile index fe918688284..bc9c501a6ae 100644 --- a/mail/gld/Makefile +++ b/mail/gld/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2005/04/13 16:42:43 salo Exp $ +# $NetBSD: Makefile,v 1.7 2005/04/14 22:22:56 xtraeme Exp $ # -DISTNAME= gld-1.5 +DISTNAME= gld-1.5.1 CATEGORIES= mail MASTER_SITES= http://www.gasmi.net/down/ EXTRACT_SUFX= .tgz @@ -13,8 +13,6 @@ COMMENT= Standalone greylisting server for Postfix USE_PKGINSTALL= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client} - EGDIR= ${PREFIX}/share/examples/${PKGBASE} CONF_FILES_PERMS= ${EGDIR}/gld.conf ${PKG_SYSCONFDIR}/gld.conf \ ${BINOWN} ${GLD_GROUP} 0740 @@ -36,5 +34,5 @@ SUBST_SED.users+= -e "s|\#USER=nobody|USER=${GLD_USER}|" SUBST_SED.users+= -e "s|\#GROUP=nobody|GROUP=${GLD_GROUP}|" SUBST_MESSAGE.users= "Adjusting user/group in configuration file." -.include "../../mk/mysql.buildlink3.mk" +.include "options.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/gld/distinfo b/mail/gld/distinfo index a1a2a8f4afe..bb462f0be4d 100644 --- a/mail/gld/distinfo +++ b/mail/gld/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.8 2005/04/13 17:14:01 salo Exp $ +$NetBSD: distinfo,v 1.9 2005/04/14 22:22:56 xtraeme Exp $ -SHA1 (gld-1.5.tgz) = febc398be2e68bf7b4bc6e3015da2f225760204d -RMD160 (gld-1.5.tgz) = dab09c1776fb014effdd3d87d4a6808274bbfdd9 -Size (gld-1.4.tgz) = 39030 bytes +SHA1 (gld-1.5.1.tgz) = 6ceed17af40c26c1f5a62b8f2941c930e3e2b85b +RMD160 (gld-1.5.1.tgz) = f10a096dfd218ee95c5ec574c20582a14d6de851 +Size (gld-1.5.1.tgz) = 39132 bytes SHA1 (patch-aa) = 71bc915a5096a3d93cd7b5313f135b68312ec19a SHA1 (patch-ab) = 629b99be25d536ceb646d47f079455a4b092fe24 SHA1 (patch-ac) = 8d484c0d6a5cbc88f2c4c66143e6aa9a91131bf1 diff --git a/mail/gld/options.mk b/mail/gld/options.mk new file mode 100644 index 00000000000..2386f0ed69c --- /dev/null +++ b/mail/gld/options.mk @@ -0,0 +1,17 @@ +# $NetBSD: options.mk,v 1.1 2005/04/14 22:22:56 xtraeme Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gld +PKG_SUPPORTED_OPTIONS= mysql pgsql +PKG_DEFAULT_OPTIONS+= mysql + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mmysql) +. include "../../mk/mysql.buildlink3.mk" +CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client} +.endif + +.if !empty(PKG_OPTIONS:Mpgsql) +. include "../../mk/pgsql.buildlink3.mk" +CONFIGURE_ARGS+= --with-pgsql=${BUILDLINK_PREFIX.postgresql-libs} +.endif |