Date: Thu, 9 Jan 2014 23:48:23 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339302 - head/net-mgmt/nagios-plugins Message-ID: <201401092348.s09NmNLx098000@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401092348.s09NmNLx098000>