pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/lsof



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Sun Dec  9 09:33:36 UTC 2018

Modified Files:
        pkgsrc/sysutils/lsof: Makefile PLIST

Log Message:
lsof: bump revision

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


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 pkgsrc/sysutils/lsof/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/lsof/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/lsof/Makefile
diff -u pkgsrc/sysutils/lsof/Makefile:1.131 pkgsrc/sysutils/lsof/Makefile:1.132
--- pkgsrc/sysutils/lsof/Makefile:1.131 Sun Dec  9 07:14:03 2018
+++ pkgsrc/sysutils/lsof/Makefile       Sun Dec  9 09:33:36 2018
@@ -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 @@ REPLACE_PERL+=        scripts/sort_res.perl5 sc
                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 @@ REAL_GROUP=           sys
 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 @@ post-extract:
        ${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}

Index: pkgsrc/sysutils/lsof/PLIST
diff -u pkgsrc/sysutils/lsof/PLIST:1.6 pkgsrc/sysutils/lsof/PLIST:1.7
--- pkgsrc/sysutils/lsof/PLIST:1.6      Mon Jan  1 22:29:57 2018
+++ pkgsrc/sysutils/lsof/PLIST  Sun Dec  9 09:33:36 2018
@@ -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