pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/checkpw



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sat Nov 25 19:05:21 UTC 2023

Modified Files:
        pkgsrc/sysutils/checkpw: Makefile PLIST
Added Files:
        pkgsrc/sysutils/checkpw: ALTERNATIVES

Log Message:
checkpw: offer 'nbcheckpassword' alternative. Bump PKGREVISION.

(While here, install helpful docs and examples.)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/checkpw/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/checkpw/Makefile \
    pkgsrc/sysutils/checkpw/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/checkpw/Makefile
diff -u pkgsrc/sysutils/checkpw/Makefile:1.1 pkgsrc/sysutils/checkpw/Makefile:1.2
--- pkgsrc/sysutils/checkpw/Makefile:1.1        Mon Apr 24 17:38:00 2023
+++ pkgsrc/sysutils/checkpw/Makefile    Sat Nov 25 19:05:21 2023
@@ -1,15 +1,28 @@
-# $NetBSD: Makefile,v 1.1 2023/04/24 17:38:00 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2023/11/25 19:05:21 schmonz Exp $
 
 DISTNAME=              checkpw-1.03
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=checkpw/checkpw/${DISTNAME}/}
 
 MAINTAINER=            schmonz%NetBSD.org@localhost
-HOMEPAGE=              https://checkpw.sourceforge.net/
+HOMEPAGE=              https://checkpw.sourceforge.net/checkpw/
 COMMENT=               Password-checking tools for password files in Maildir
 LICENSE=               public-domain
 
-INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    bin share/doc/${PKGBASE} share/examples/${PKGBASE}
+
+post-extract:
+       cd ${WRKSRC};                                                   \
+       ${MV} INSTALL INSTALL.txt
+
+post-install:
+       cd ${WRKSRC};                                                   \
+       ${INSTALL_DATA} INSTALL.txt                                     \
+               ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/INSTALL;       \
+       for f in pop rules apop both multipw multidir; do               \
+               ${INSTALL_DATA} run-$$f                         \
+                       ${DESTDIR}${PREFIX}/share/examples/${PKGBASE}/; \
+       done
 
 .include "../../mk/djbware.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/checkpw/PLIST
diff -u pkgsrc/sysutils/checkpw/PLIST:1.1 pkgsrc/sysutils/checkpw/PLIST:1.2
--- pkgsrc/sysutils/checkpw/PLIST:1.1   Mon Apr 24 17:38:00 2023
+++ pkgsrc/sysutils/checkpw/PLIST       Sat Nov 25 19:05:21 2023
@@ -1,5 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2023/04/24 17:38:00 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/11/25 19:05:21 schmonz Exp $
 bin/checkapoppw
 bin/checkpw
 bin/loginlog
 bin/selectcheckpw
+share/doc/checkpw/INSTALL
+share/examples/checkpw/run-apop
+share/examples/checkpw/run-both
+share/examples/checkpw/run-multidir
+share/examples/checkpw/run-multipw
+share/examples/checkpw/run-pop
+share/examples/checkpw/run-rules

Added files:

Index: pkgsrc/sysutils/checkpw/ALTERNATIVES
diff -u /dev/null pkgsrc/sysutils/checkpw/ALTERNATIVES:1.1
--- /dev/null   Sat Nov 25 19:05:21 2023
+++ pkgsrc/sysutils/checkpw/ALTERNATIVES        Sat Nov 25 19:05:21 2023
@@ -0,0 +1 @@
+bin/nbcheckpassword @PREFIX@/bin/checkpw



Home | Main Index | Thread Index | Old Index