pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/gld Update to 1.5.1, which fixes PR pkg/29975 by ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc522e02e84d
branches: trunk
changeset: 492515:dc522e02e84d
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Thu Apr 14 22:22:56 2005 +0000
description:
Update to 1.5.1, which fixes PR pkg/29975 by Robert Elz.
Some changes were done: enabling the LOOPBACK option by default,
fix some snprintf() calls, etc.
While I'm here convert this pkg to use bsd.options.mk, now that it
supports MySQL and PostgreSQL (MySQL by default as before).
diffstat:
mail/gld/Makefile | 8 +++-----
mail/gld/distinfo | 8 ++++----
mail/gld/options.mk | 17 +++++++++++++++++
3 files changed, 24 insertions(+), 9 deletions(-)
diffs (66 lines):
diff -r 4006dc3bd03c -r dc522e02e84d mail/gld/Makefile
--- a/mail/gld/Makefile Thu Apr 14 22:00:11 2005 +0000
+++ b/mail/gld/Makefile Thu Apr 14 22:22:56 2005 +0000
@@ -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 @@
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|\#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 -r 4006dc3bd03c -r dc522e02e84d mail/gld/distinfo
--- a/mail/gld/distinfo Thu Apr 14 22:00:11 2005 +0000
+++ b/mail/gld/distinfo Thu Apr 14 22:22:56 2005 +0000
@@ -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 -r 4006dc3bd03c -r dc522e02e84d mail/gld/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/gld/options.mk Thu Apr 14 22:22:56 2005 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index