svn commit: r339302 - head/net-mgmt/nagios-plugins
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jan 9 23:48:23 UTC 2014
Author: bapt
Date: Thu Jan 9 23:48:22 2014
New Revision: 339302
URL: http://svnweb.freebsd.org/changeset/ports/339302
Log:
Fix packaging as a user
Modified:
head/net-mgmt/nagios-plugins/Makefile
Modified: head/net-mgmt/nagios-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-plugins/Makefile Thu Jan 9 23:29:32 2014 (r339301)
+++ head/net-mgmt/nagios-plugins/Makefile Thu Jan 9 23:48:22 2014 (r339302)
@@ -47,8 +47,6 @@ NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
NAGIOSPOLLIP?= 127.0.0.1
NAGIOSPOLLIP6?= ::1
-NEED_ROOT= yes # check_icmp, check_dhcp
-
.include <bsd.port.options.mk>
CONFIGURE_ARGS+=--with-nagios-user=${NAGIOSUSER} \
@@ -172,6 +170,7 @@ post-patch:
check_users.c
@${REINPLACE_CMD} -e 's|setlocale (LC_ALL, "");|setlocale (LC_ALL, ""); setlocale(LC_NUMERIC, "C");|g' ${WRKSRC}/plugins/${file}
.endfor
+ @${REINPLACE_CMD} -e 's|chown root|${TRUE}|g' ${WRKSRC}/plugins-root/Makefile.am
.if ${PORT_OPTIONS:MJAIL}
@${REINPLACE_CMD} -e 's# 127.0.0.1 # ${NAGIOSPOLLIP} #g' ${WRKSRC}/configure.in
@${REINPLACE_CMD} -e 's# ::1 # ${NAGIOSPOLLIP6} #g' ${WRKSRC}/configure.in
More information about the svn-ports-all
mailing list