Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 19:40:30 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333148 - head/sysutils/lsof
Message-ID:  <201311071940.rA7JeUR0028045@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Nov  7 19:40:29 2013
New Revision: 333148
URL: http://svnweb.freebsd.org/changeset/ports/333148

Log:
  - Fix make package with setgid
  - Bump PORTREVISION for package change
  
  PR:		ports/183757
  Submitted by:	Larry Rosenman <ler@lerctr.org> (maintainer)

Added:
  head/sysutils/lsof/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/lsof/Makefile

Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile	Thu Nov  7 19:14:47 2013	(r333147)
+++ head/sysutils/lsof/Makefile	Thu Nov  7 19:40:29 2013	(r333148)
@@ -3,6 +3,7 @@
 
 PORTNAME=	lsof
 DISTVERSION=	4.88E
+PORTREVISION=	1
 PORTEPOCH=	8
 CATEGORIES=	sysutils
 MASTER_SITES=	http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \
@@ -39,7 +40,6 @@ HAS_CONFIGURE=	yes
 
 USES=		shebangfix
 SHEBANG_FILES=	scripts/sort_res.perl5
-NEED_ROOT=	yes
 
 .include <bsd.port.pre.mk>
 
@@ -50,8 +50,6 @@ BROKEN=		Does not compile on arm
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	-n freebsd
 CONFIGURE_ENV=	LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys"
-PLIST_FILES=	man/man8/lsof.8.gz \
-		sbin/lsof
 
 .if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
 IGNORE=		requires kernel sources
@@ -73,16 +71,10 @@ post-extract:
 .endif
 
 do-install:
-	${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -m 2755 -g kmem ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/lsof.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/lsof.8
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/lsof
 	${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${PREFIX}/share/lsof
 	@${CHMOD} 0444 ${STAGEDIR}${PREFIX}/share/lsof/00*
 
-post-install:
-	cd ${STAGEDIR}${PREFIX} && \
-	    ${FIND} -s share/lsof -type f -o -type l >>${TMPPLIST} ;\
-	    ${FIND} -d share/lsof -type d \
-	        | ${SED} -e 's/^/@dirrm /g' >>${TMPPLIST}
-
 .include <bsd.port.post.mk>

Added: head/sysutils/lsof/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/lsof/pkg-plist	Thu Nov  7 19:40:29 2013	(r333148)
@@ -0,0 +1,22 @@
+man/man8/lsof.8.gz
+@group kmem
+@mode 2755
+sbin/lsof
+@mode
+@group wheel
+share/lsof/00MANIFEST
+share/lsof/00README
+share/lsof/big_brother.perl5
+share/lsof/count_pf.perl
+share/lsof/count_pf.perl5
+share/lsof/identd.perl5
+share/lsof/idrlogin.perl
+share/lsof/idrlogin.perl5
+share/lsof/list_NULf.perl5
+share/lsof/list_fields.awk
+share/lsof/list_fields.perl
+share/lsof/shared.perl5
+share/lsof/sort_res.perl5
+share/lsof/watch_a_file.perl
+share/lsof/xusers.awk
+@dirrm share/lsof



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