pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nagios-plugin-dotpid net/nagios-plugin-dotpid requ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bcf2532cb375
branches:  trunk
changeset: 366232:bcf2532cb375
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Aug 07 09:19:19 2017 +0000

description:
net/nagios-plugin-dotpid requires ${NAGIOS_GROUP} to be created.

Ensure that the ${NAGIOS_GROUP} group is created before the package
files are installed since the binary must be made setgid to that
group.

Bump the PKGREVISON due to package install scripts being added.

diffstat:

 net/nagios-plugin-dotpid/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 9c0fc94efa59 -r bcf2532cb375 net/nagios-plugin-dotpid/Makefile
--- a/net/nagios-plugin-dotpid/Makefile Mon Aug 07 09:09:28 2017 +0000
+++ b/net/nagios-plugin-dotpid/Makefile Mon Aug 07 09:19:19 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2017/03/09 23:47:47 manu Exp $
+# $NetBSD: Makefile,v 1.6 2017/08/07 09:19:19 jlam Exp $
 #
 
 PKGNAME=       nagios-plugin-dotpid-${DISTNAME:C/.*-//}
+PKGREVISION=   1
 DISTNAME=      check_dotpid-0.5
 CATEGORIES=    net
 MASTER_SITES=  http://ftp.espci.fr/pub/nagios-local/
@@ -14,9 +15,12 @@
 
 INSTALLATION_DIRS+= libexec/nagios
 
+BUILD_DEFS+=           NAGIOS_GROUP
+PKG_GROUPS_VARS=       NAGIOS_GROUP
+PKG_GROUPS=            ${NAGIOS_GROUP}
+
 SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_dotpid \
                ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4551
-BUILD_DEFS+=   ${NAGIOS_GROUP}
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/check_dotpid \



Home | Main Index | Thread Index | Old Index