pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/lsof lsof: bump revision



details:   https://anonhg.NetBSD.org/pkgsrc/rev/040f7f357b21
branches:  trunk
changeset: 326513:040f7f357b21
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Sun Dec 09 09:33:36 2018 +0000

description:
lsof: bump revision

* fix a warning in installation process
* install scripts in share/examples
* install doc in share/doc

diffstat:

 sysutils/lsof/Makefile |  19 ++++++++++++++-----
 sysutils/lsof/PLIST    |  46 ++++++++++++++++++++++++++++++----------------
 2 files changed, 44 insertions(+), 21 deletions(-)

diffs (108 lines):

diff -r 5f8e77491ac8 -r 040f7f357b21 sysutils/lsof/Makefile
--- a/sysutils/lsof/Makefile    Sun Dec 09 07:14:03 2018 +0000
+++ b/sysutils/lsof/Makefile    Sun Dec 09 09:33:36 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.131 2018/12/09 07:14:03 triaxx Exp $
+# $NetBSD: Makefile,v 1.132 2018/12/09 09:33:36 triaxx Exp $
 
 DISTNAME=              lsof_4.91
 PKGNAME=               ${DISTNAME:S/_/-/}
+PKGREVISION=           1       
 CATEGORIES=            sysutils
 MASTER_SITES=          ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/
 MASTER_SITES+=         ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/
@@ -32,6 +33,7 @@
                scripts/idrlogin.perl5 scripts/count_pf.perl \
                scripts/idrlogin.perl scripts/list_fields.perl \
                scripts/watch_a_file.perl
+REPLACE_AWK+=  scripts/xusers.awk
 USE_TOOLS+=    digest perl:run
 
 TEST_DIRS=             tests
@@ -53,7 +55,7 @@
 MAKE_ENV+=             CPPFLAGS=
 CONFIGURE_ENV+=                LSOF_RANLIB="/bin/true"
 .endif
-INSTALLATION_DIRS=     ${PKGMANDIR}/man8 sbin
+INSTALLATION_DIRS+=    sbin ${PKGMANDIR}/man8 share/doc/lsof share/examples/lsof
 
 post-extract:
 .if ${OPSYS} == "FreeBSD"
@@ -73,15 +75,22 @@
        ${TOOLS_PATH.bsdtar} -xf ${SRCBALL_NAME}.tar
        cd ${WRKSRC} ; ${ECHO} "y" | ./Inventory || exit 1
 
-INSTALLATION_DIRS+=    sbin ${PKGMANDIR}/man8 share/lsof
 SPECIAL_PERMS+=                ${PREFIX}/sbin/lsof ${REAL_ROOT_USER} ${REAL_GROUP} 2755
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/lsof ${DESTDIR}${PREFIX}/sbin
        ${INSTALL_MAN} ${WRKSRC}/lsof.8 \
          ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/lsof.8
-       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${DESTDIR}${PREFIX}/share/lsof
-       ${CHMOD} 0444 ${DESTDIR}${PREFIX}/share/lsof/00*
+       ${INSTALL_DATA} ${WRKSRC}/00* ${DESTDIR}${PREFIX}/share/doc/lsof
+       ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/lsof
+       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.perl* \
+         ${DESTDIR}${PREFIX}/share/examples/lsof
+       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/xusers.awk \
+         ${DESTDIR}${PREFIX}/share/examples/lsof
+       ${INSTALL_DATA} ${WRKSRC}/scripts/list_fields.awk \
+         ${DESTDIR}${PREFIX}/share/examples/lsof
+       ${INSTALL_DATA} ${WRKSRC}/scripts/00* \
+         ${DESTDIR}${PREFIX}/share/examples/lsof
 
 opt:
 .for dir in ${TEST_DIRS}
diff -r 5f8e77491ac8 -r 040f7f357b21 sysutils/lsof/PLIST
--- a/sysutils/lsof/PLIST       Sun Dec 09 07:14:03 2018 +0000
+++ b/sysutils/lsof/PLIST       Sun Dec 09 09:33:36 2018 +0000
@@ -1,18 +1,32 @@
-@comment $NetBSD: PLIST,v 1.6 2018/01/01 22:29:57 rillig Exp $
+@comment $NetBSD: PLIST,v 1.7 2018/12/09 09:33:36 triaxx Exp $
 man/man8/lsof.8
 sbin/lsof
-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
+share/doc/lsof/00.README.FIRST
+share/doc/lsof/00CREDITS
+share/doc/lsof/00DCACHE
+share/doc/lsof/00DIALECTS
+share/doc/lsof/00DIST
+share/doc/lsof/00FAQ
+share/doc/lsof/00LSOF-L
+share/doc/lsof/00MANIFEST
+share/doc/lsof/00PORTING
+share/doc/lsof/00QUICKSTART
+share/doc/lsof/00README
+share/doc/lsof/00TEST
+share/doc/lsof/00XCONFIG
+share/doc/lsof/ChangeLog
+share/examples/lsof/00MANIFEST
+share/examples/lsof/00README
+share/examples/lsof/big_brother.perl5
+share/examples/lsof/count_pf.perl
+share/examples/lsof/count_pf.perl5
+share/examples/lsof/identd.perl5
+share/examples/lsof/idrlogin.perl
+share/examples/lsof/idrlogin.perl5
+share/examples/lsof/list_NULf.perl5
+share/examples/lsof/list_fields.awk
+share/examples/lsof/list_fields.perl
+share/examples/lsof/shared.perl5
+share/examples/lsof/sort_res.perl5
+share/examples/lsof/watch_a_file.perl
+share/examples/lsof/xusers.awk



Home | Main Index | Thread Index | Old Index