Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152929114
D48145.id148239.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D48145.id148239.diff
View Options
diff --git a/net-mgmt/nrpe/Makefile b/net-mgmt/nrpe/Makefile
--- a/net-mgmt/nrpe/Makefile
+++ b/net-mgmt/nrpe/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nrpe
-DISTVERSION= 4.1.1
DISTVERSIONPREFIX= nrpe-
+DISTVERSION= 4.1.1
CATEGORIES= net-mgmt
MAINTAINER= bofh@FreeBSD.org
@@ -10,6 +10,10 @@
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE.md
+FLAVORS= default monplugins
+FLAVOR?= ${FLAVORS:[1]}
+monplugins_PKGNAMESUFFIX= -monplugins
+
USES= perl5
USE_GITHUB= yes
GH_ACCOUNT= NagiosEnterprises
@@ -36,7 +40,7 @@
NRPE_PIDDIR=${NRPE_PIDDIR}
OPTIONS_DEFINE= SSL ARGS
-OPTIONS_DEFAULT=NAGPLUGINS SSL
+OPTIONS_DEFAULT=SSL
OPTIONS_RADIO= PLUGINS
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
@@ -57,6 +61,14 @@
NRPE_PIDDIR?= /var/run/nrpe
+.if ${FLAVOR:U} == default
+OPTIONS_DEFAULT+= NAGPLUGINS
+.endif
+
+.if ${FLAVOR:U} == monplugins
+OPTIONS_DEFAULT+= MONPLUGINS
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/var/run/nrpe.pid|${NRPE_PIDDIR}/nrpe.pid|g' \
-e 's|/usr/lib/nagios/plugins/|${LOCALBASE}/libexec/nagios/|g' \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 3:32 AM (16 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31744165
Default Alt Text
D48145.id148239.diff (1 KB)
Attached To
Mode
D48145: [PATCH] net-mgmt/nrpe: Adding monplugins flavor to nrpe
Attached
Detach File
Event Timeline
Log In to Comment