pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/nagios-plugin-milter
Module Name: pkgsrc
Committed By: jlam
Date: Mon Aug 14 15:24:42 UTC 2017
Modified Files:
pkgsrc/net/nagios-plugin-milter: Makefile
Log Message:
net/nagios-plugin-milter: Create necessary users and groups.
This package installs a binary that is setuid-executable to the
"smmsp" user and it also needs to be owned by the "nagios" group.
Add hooks to create these users and groups in the package install
scripts when the binary package is installed.
Bump the PKGREVISION due to changes in the package install scripts.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/nagios-plugin-milter/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/nagios-plugin-milter/Makefile
diff -u pkgsrc/net/nagios-plugin-milter/Makefile:1.2 pkgsrc/net/nagios-plugin-milter/Makefile:1.3
--- pkgsrc/net/nagios-plugin-milter/Makefile:1.2 Thu Mar 9 23:47:47 2017
+++ pkgsrc/net/nagios-plugin-milter/Makefile Mon Aug 14 15:24:42 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2017/03/09 23:47:47 manu Exp $
+# $NetBSD: Makefile,v 1.3 2017/08/14 15:24:42 jlam Exp $
#
PKGNAME= nagios-plugin-milter-${DISTNAME:C/.*-//}
+PKGREVISION= 1
DISTNAME= check_milter-0.2
CATEGORIES= net
MASTER_SITES= http://ftp.espci.fr/pub/nagios-local/
@@ -14,10 +15,23 @@ LICENSE= modified-bsd
INSTALLATION_DIRS+= libexec/nagios
-SMMSP_USER?= smmsp
+BUILD_DEFS+= NAGIOS_GROUP
+PKG_GROUPS_VARS= NAGIOS_GROUP
+PKG_GROUPS= ${NAGIOS_GROUP}
+
+# The default `smmsp' username and group match the ones hardcoded
+# into mail/sendmail/Makefile.
+#
+SMMSP_USER?= smmsp
+BUILD_DEFS+= SMMSP_USER
+PKG_GROUPS_VARS= SMMSP_USER
+PKG_USERS_VARS= SMMSP_USER
+PKG_GROUPS= ${SMMSP_USER}
+PKG_USERS= ${SMMSP_USER}:${SMMSP_USER}
+PKG_GECOS.${SMMSP_USER}=Sendmail Message Submission Program
+
SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_milter \
${SMMSP_USER} ${NAGIOS_GROUP} 4554
-BUILD_DEFS+= ${NAGIOS_GROUP}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/check_milter \
Home |
Main Index |
Thread Index |
Old Index