pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net Create ${NAGIOS_GROUP} for plugins that are setgid...



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

description:
Create ${NAGIOS_GROUP} for plugins that are setgid-executable.

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

Bump the PKGREVISIONs of these plugin packages due to package
install scripts being added.
-------------------------------------------------------------------

diffstat:

 net/nagios-plugin-gfbricks/Makefile   |  8 ++++++--
 net/nagios-plugin-mysqlslave/Makefile |  8 ++++++--
 net/nagios-plugin-raidctl/Makefile    |  8 ++++++--
 3 files changed, 18 insertions(+), 6 deletions(-)

diffs (81 lines):

diff -r bcf2532cb375 -r ceb010ddba53 net/nagios-plugin-gfbricks/Makefile
--- a/net/nagios-plugin-gfbricks/Makefile       Mon Aug 07 09:19:19 2017 +0000
+++ b/net/nagios-plugin-gfbricks/Makefile       Mon Aug 07 09:30:45 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2015/09/25 13:20:36 manu Exp $
+# $NetBSD: Makefile,v 1.2 2017/08/07 09:30:45 jlam Exp $
 #
 
 PKGNAME=       nagios-plugin-gfbricks-${DISTNAME:C/.*-//}
+PKGREVISION=   1
 DISTNAME=      check_gfbricks-0.2
 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_gfbricks \
                ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4554
-BUILD_DEFS+=   ${NAGIOS_GROUP}
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/check_gfbricks \
diff -r bcf2532cb375 -r ceb010ddba53 net/nagios-plugin-mysqlslave/Makefile
--- a/net/nagios-plugin-mysqlslave/Makefile     Mon Aug 07 09:19:19 2017 +0000
+++ b/net/nagios-plugin-mysqlslave/Makefile     Mon Aug 07 09:30:45 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2017/01/02 10:14:59 manu Exp $
+# $NetBSD: Makefile,v 1.3 2017/08/07 09:30:45 jlam Exp $
 #
 
 PKGNAME=       nagios-plugin-mysqlslave-${DISTNAME:C/.*-//}
+PKGREVISION=   1
 DISTNAME=      check_mysql_slave-0.2
 CATEGORIES=    net
 MASTER_SITES=  http://ftp.espci.fr/pub/nagios-local/
@@ -16,9 +17,12 @@
 
 INSTALLATION_DIRS+= libexec/nagios
 
+BUILD_DEFS+=           NAGIOS_GROUP
+PKG_GROUPS_VARS+=      NAGIOS_GROUP
+PKG_GROUPS=            ${NAGIOS_GROUP}
+
 SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_mysql_slave \
                ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4554
-BUILD_DEFS+=   ${NAGIOS_GROUP}
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/check_mysql_slave \
diff -r bcf2532cb375 -r ceb010ddba53 net/nagios-plugin-raidctl/Makefile
--- a/net/nagios-plugin-raidctl/Makefile        Mon Aug 07 09:19:19 2017 +0000
+++ b/net/nagios-plugin-raidctl/Makefile        Mon Aug 07 09:30:45 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2014/10/14 13:27:45 manu Exp $
+# $NetBSD: Makefile,v 1.4 2017/08/07 09:30:46 jlam Exp $
 #
 
 PKGNAME=       nagios-plugin-raidctl-${DISTNAME:C/.*-//}
+PKGREVISION=   1
 DISTNAME=      check_raidctl-0.1
 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_raidctl \
                ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4554
-BUILD_DEFS+=   ${NAGIOS_GROUP}
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/check_raidctl \



Home | Main Index | Thread Index | Old Index