Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178272862
D48111.1796390703.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
897 B
Referenced Files
None
Subscribers
None
D48111.1796390703.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
@@ -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
Fri, Dec 4, 1:25 PM (20 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42208036
Default Alt Text
D48111.1796390703.diff (897 B)
Attached To
Mode
D48111: [PATCH] java/openjdk*: Update pkg-message information about fdescfs and procfs
Attached
Detach File
Event Timeline