Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 14:54:53 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370716 - in head/net-mgmt/ipfm: . files
Message-ID:  <201410121454.s9CEsreP094956@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Oct 12 14:54:52 2014
New Revision: 370716
URL: https://svnweb.freebsd.org/changeset/ports/370716
QAT: https://qat.redports.org/buildarchive/r370716/

Log:
  Allow stripping as a regular user

Modified:
  head/net-mgmt/ipfm/Makefile
  head/net-mgmt/ipfm/files/patch-Makefile.in
  head/net-mgmt/ipfm/pkg-plist

Modified: head/net-mgmt/ipfm/Makefile
==============================================================================
--- head/net-mgmt/ipfm/Makefile	Sun Oct 12 14:47:13 2014	(r370715)
+++ head/net-mgmt/ipfm/Makefile	Sun Oct 12 14:54:52 2014	(r370716)
@@ -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>

Modified: head/net-mgmt/ipfm/files/patch-Makefile.in
==============================================================================
--- head/net-mgmt/ipfm/files/patch-Makefile.in	Sun Oct 12 14:47:13 2014	(r370715)
+++ head/net-mgmt/ipfm/files/patch-Makefile.in	Sun Oct 12 14:54:52 2014	(r370716)
@@ -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)

Modified: head/net-mgmt/ipfm/pkg-plist
==============================================================================
--- head/net-mgmt/ipfm/pkg-plist	Sun Oct 12 14:47:13 2014	(r370715)
+++ head/net-mgmt/ipfm/pkg-plist	Sun Oct 12 14:54:52 2014	(r370716)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410121454.s9CEsreP094956>