svn commit: r369495 - in head/net-mgmt/nagios-pf-plugin: . files
Olli Hauer
ohauer at FreeBSD.org
Sun Sep 28 19:26:19 UTC 2014
Author: ohauer
Date: Sun Sep 28 19:26:18 2014
New Revision: 369495
URL: http://svnweb.freebsd.org/changeset/ports/369495
QAT: https://qat.redports.org/buildarchive/r369495/
Log:
- allow build without root
Modified:
head/net-mgmt/nagios-pf-plugin/Makefile
head/net-mgmt/nagios-pf-plugin/files/patch-Makefile
Modified: head/net-mgmt/nagios-pf-plugin/Makefile
==============================================================================
--- head/net-mgmt/nagios-pf-plugin/Makefile Sun Sep 28 19:24:15 2014 (r369494)
+++ head/net-mgmt/nagios-pf-plugin/Makefile Sun Sep 28 19:26:18 2014 (r369495)
@@ -17,10 +17,10 @@ GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 2aba423
PLIST_FILES= libexec/nagios/check_pf
-PLIST_DIRS= libexec/nagios/
+PLIST_DIRS= libexec/nagios
SUB_FILES= pkg-message
-pre-su-install:
+pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
.include <bsd.port.mk>
Modified: head/net-mgmt/nagios-pf-plugin/files/patch-Makefile
==============================================================================
--- head/net-mgmt/nagios-pf-plugin/files/patch-Makefile Sun Sep 28 19:24:15 2014 (r369494)
+++ head/net-mgmt/nagios-pf-plugin/files/patch-Makefile Sun Sep 28 19:26:18 2014 (r369495)
@@ -1,11 +1,11 @@
---- Makefile.old 2014-04-06 14:08:46.000000000 -0500
-+++ Makefile 2014-04-06 14:08:47.000000000 -0500
+--- Makefile.orig 2012-07-30 18:13:57 UTC
++++ Makefile
@@ -14,7 +14,7 @@
$(CC) $(CFLAGS) -o $(PROGRAM) $(PROGRAM).c
install:
- install -m 755 -o root -g wheel $(PROGRAM) $(DESTDIR)/$(PROGRAM)
-+ install -m 755 -o root -g wheel $(PROGRAM) $(DESTDIR)/$(PREFIX)/libexec/nagios
++ install -s -m 755 $(PROGRAM) $(DESTDIR)/$(PREFIX)/libexec/nagios
uninstall:
rm -f $(DESTDIR)/$(PROGRAM)
More information about the svn-ports-head
mailing list