diff options
author | antoine <antoine@FreeBSD.org> | 2014-10-12 22:54:52 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-10-12 22:54:52 +0800 |
commit | bf8efadc964565c7c1de018100453c1ff252fc1d (patch) | |
tree | 225b8ab12ab795ab545f75d21ee03ef47efb41bc | |
parent | fa30d340bc1ec1851b8d10f91fc34e4ab2c4f499 (diff) | |
download | freebsd-ports-gnome-bf8efadc964565c7c1de018100453c1ff252fc1d.tar.gz freebsd-ports-gnome-bf8efadc964565c7c1de018100453c1ff252fc1d.tar.zst freebsd-ports-gnome-bf8efadc964565c7c1de018100453c1ff252fc1d.zip |
Allow stripping as a regular user
-rw-r--r-- | net-mgmt/ipfm/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/ipfm/files/patch-Makefile.in | 8 | ||||
-rw-r--r-- | net-mgmt/ipfm/pkg-plist | 3 |
3 files changed, 5 insertions, 9 deletions
diff --git a/net-mgmt/ipfm/Makefile b/net-mgmt/ipfm/Makefile index 56c14cd0bf7d..77b8e522ec3c 100644 --- a/net-mgmt/ipfm/Makefile +++ b/net-mgmt/ipfm/Makefile @@ -13,7 +13,4 @@ COMMENT= Bandwidth analysis tool GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ipfm - .include <bsd.port.mk> diff --git a/net-mgmt/ipfm/files/patch-Makefile.in b/net-mgmt/ipfm/files/patch-Makefile.in index c3c56cc8382e..3629a0d9db17 100644 --- a/net-mgmt/ipfm/files/patch-Makefile.in +++ b/net-mgmt/ipfm/files/patch-Makefile.in @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2014-07-29 21:06:10.045210973 +0800 -+++ Makefile.in 2014-07-29 21:07:11.227205493 +0800 -@@ -15,17 +15,17 @@ docs: Makefile doc/Makefile +--- Makefile.in.orig 2002-10-06 16:39:42 UTC ++++ Makefile.in +@@ -15,17 +15,17 @@ @cd doc && $(MAKE) && cd .. install: all @@ -16,7 +16,7 @@ - $(INSTALL) -d -m 755 $(LOGDIR)/ipfm - $(INSTALL) -d -m 755 $(VARRUNDIR) + $(INSTALL) -d -m 755 $(DESTDIR)$(SBINDIR) -+ $(INSTALL) -m 555 source/ipfm $(DESTDIR)$(SBINDIR)/ipfm ++ $(BSD_INSTALL_PROGRAM) source/ipfm $(DESTDIR)$(SBINDIR)/ipfm + $(INSTALL) -d -m 755 $(DESTDIR)$(ETCDIR) + [ -f $(DESTDIR)$(CONFIGFILE) ] || \ + $(INSTALL) -m 644 ipfm.conf.sample $(DESTDIR)$(CONFIGFILE) diff --git a/net-mgmt/ipfm/pkg-plist b/net-mgmt/ipfm/pkg-plist index 241356b29513..44bde2508625 100644 --- a/net-mgmt/ipfm/pkg-plist +++ b/net-mgmt/ipfm/pkg-plist @@ -2,5 +2,4 @@ etc/ipfm.conf man/man5/ipfm.conf.5.gz man/man8/ipfm.8.gz sbin/ipfm -@exec mkdir -p /var/log/ipfm -@unexec rmdir /var/log/ipfm 2>/dev/null || echo "The logs will be left in /var/log/ipfm after the port is deinstalled." +@dir /var/log/ipfm |