pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/gld - Advertize GLD_USER and GLD_GROUP as being c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6c01bd5533ca
branches: trunk
changeset: 513957:6c01bd5533ca
user: ghen <ghen%pkgsrc.org@localhost>
date: Tue Jun 06 12:33:52 2006 +0000
description:
- Advertize GLD_USER and GLD_GROUP as being configurable (add to BUILD_DEFS).
- Fix the default USER and GROUP substitution in the config file.
- Bump PKGREVISION for this.
diffstat:
mail/gld/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 6b52a04f6860 -r 6c01bd5533ca mail/gld/Makefile
--- a/mail/gld/Makefile Tue Jun 06 12:30:02 2006 +0000
+++ b/mail/gld/Makefile Tue Jun 06 12:33:52 2006 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2006/04/23 00:12:38 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2006/06/06 12:33:52 ghen Exp $
#
DISTNAME= gld-1.6
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.gasmi.net/down/
EXTRACT_SUFX= .tgz
@@ -22,6 +23,7 @@
PKG_GROUPS= ${GLD_GROUP}
PKG_USERS= ${GLD_USER}:${GLD_GROUP}
PKG_GECOS.${GLD_USER}= Greylisting Daemon user
+BUILD_DEFS+= GLD_USER GLD_GROUP
SUBST_CLASSES+= gld users
SUBST_STAGE.gld= post-patch
@@ -30,8 +32,8 @@
SUBST_MESSAGE.gld= Fixing harcoded paths.
SUBST_STAGE.users= post-patch
SUBST_FILES.users= gld.conf
-SUBST_SED.users+= -e "s|\#USER=nobody|USER=${GLD_USER}|"
-SUBST_SED.users+= -e "s|\#GROUP=nobody|GROUP=${GLD_GROUP}|"
+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 "options.mk"
Home |
Main Index |
Thread Index |
Old Index