svn commit: r333148 - head/sysutils/lsof
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Nov 7 19:40:30 UTC 2013
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 at 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
+ at group kmem
+ at mode 2755
+sbin/lsof
+ at mode
+ at 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
+ at dirrm share/lsof
More information about the svn-ports-head
mailing list