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:           Mon Apr 24 17:38:00 UTC 2023

Added Files:
        pkgsrc/sysutils/checkpw: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/checkpw/patches: patch-Makefile

Log Message:
Add checkpw: Password-checking tools for password files in Maildir

checkpw is a simple and flexible checkpassword interface package.

checkpw checks password which is stored in a file in the Maildir
directory. The file has read and write permissions to the user only.
checkpw checks real user's password.

- checkpw allows POP authentication.
- checkapoppw allows APOP authentication.
- Multiple maildirs per POP3 user are supported.
- Multiple password per maildir are supported.

Before invoking following program, checkpw and checkapoppw set up $USER,
$EXT, $HOME, $SHELL, its supplementary groups, its gid, its uid, and its
working directory.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/checkpw/DESCR \
    pkgsrc/sysutils/checkpw/Makefile pkgsrc/sysutils/checkpw/PLIST \
    pkgsrc/sysutils/checkpw/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/checkpw/patches/patch-Makefile

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

Added files:

Index: pkgsrc/sysutils/checkpw/DESCR
diff -u /dev/null pkgsrc/sysutils/checkpw/DESCR:1.1
--- /dev/null   Mon Apr 24 17:38:00 2023
+++ pkgsrc/sysutils/checkpw/DESCR       Mon Apr 24 17:38:00 2023
@@ -0,0 +1,14 @@
+checkpw is a simple and flexible checkpassword interface package.
+
+checkpw checks password which is stored in a file in the Maildir
+directory. The file has read and write permissions to the user only.
+checkpw checks real user's password.
+
+- checkpw allows POP authentication.
+- checkapoppw allows APOP authentication.
+- Multiple maildirs per POP3 user are supported.
+- Multiple password per maildir are supported.
+
+Before invoking following program, checkpw and checkapoppw set up $USER,
+$EXT, $HOME, $SHELL, its supplementary groups, its gid, its uid, and its
+working directory.
Index: pkgsrc/sysutils/checkpw/Makefile
diff -u /dev/null pkgsrc/sysutils/checkpw/Makefile:1.1
--- /dev/null   Mon Apr 24 17:38:00 2023
+++ pkgsrc/sysutils/checkpw/Makefile    Mon Apr 24 17:38:00 2023
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2023/04/24 17:38:00 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/
+COMMENT=               Password-checking tools for password files in Maildir
+LICENSE=               public-domain
+
+INSTALLATION_DIRS+=    bin
+
+.include "../../mk/djbware.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/checkpw/PLIST
diff -u /dev/null pkgsrc/sysutils/checkpw/PLIST:1.1
--- /dev/null   Mon Apr 24 17:38:00 2023
+++ pkgsrc/sysutils/checkpw/PLIST       Mon Apr 24 17:38:00 2023
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2023/04/24 17:38:00 schmonz Exp $
+bin/checkapoppw
+bin/checkpw
+bin/loginlog
+bin/selectcheckpw
Index: pkgsrc/sysutils/checkpw/distinfo
diff -u /dev/null pkgsrc/sysutils/checkpw/distinfo:1.1
--- /dev/null   Mon Apr 24 17:38:00 2023
+++ pkgsrc/sysutils/checkpw/distinfo    Mon Apr 24 17:38:00 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/04/24 17:38:00 schmonz Exp $
+
+BLAKE2s (checkpw-1.03.tar.gz) = 0ab9f123d1aa8d75671d37ce47c84fee974e38950b7eb2ff5841a1f57355e6b0
+SHA512 (checkpw-1.03.tar.gz) = 0b8232030a3ef33963a32d3908beadcbfb778382b555096a8aeea66fb733a9e65ba0b8bd9dba6db54ebbbeff6f8e21761081f45804372d5450129cca195d3342
+Size (checkpw-1.03.tar.gz) = 30309 bytes
+SHA1 (patch-Makefile) = c6051bee48133ecacf192dc302f39f095ee7164a

Index: pkgsrc/sysutils/checkpw/patches/patch-Makefile
diff -u /dev/null pkgsrc/sysutils/checkpw/patches/patch-Makefile:1.1
--- /dev/null   Mon Apr 24 17:38:01 2023
+++ pkgsrc/sysutils/checkpw/patches/patch-Makefile      Mon Apr 24 17:38:00 2023
@@ -0,0 +1,43 @@
+$NetBSD: patch-Makefile,v 1.1 2023/04/24 17:38:00 schmonz Exp $
+
+DESTDIR support.
+
+--- Makefile.orig      2001-06-05 03:08:46.000000000 +0000
++++ Makefile
+@@ -69,6 +69,14 @@ selectcheckpw: warn-auto.sh selectcheckp
+       > selectcheckpw
+       chmod 755 selectcheckpw
+ 
++auto_destdir.c: \
++auto-str conf-destdir
++      ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++      ./compile auto_destdir.c
++
+ auto_home.c: auto-str conf-home
+       ./auto-str auto_home `head -1 conf-home` > auto_home.c
+ 
+@@ -364,8 +372,8 @@ byte_diff.c \
+ byte.h
+       ./compile byte_diff.c
+ 
+-install: load install.o hier.o auto_home.o unix.a byte.a
+-      ./load install hier.o auto_home.o unix.a byte.a 
++install: load install.o hier.o auto_destdir.o unix.a byte.a
++      ./load install hier.o auto_destdir.o unix.a byte.a 
+ 
+ auto-int8.o: compile \
+ auto-int8.c \
+@@ -387,8 +395,8 @@ install.c \
+ buffer.h strerr.h error.h open.h readwrite.h exit.h
+       ./compile install.c
+ 
+-instcheck: load instcheck.o hier.o auto_home.o unix.a byte.a
+-      ./load instcheck hier.o auto_home.o unix.a byte.a 
++instcheck: load instcheck.o hier.o auto_destdir.o unix.a byte.a
++      ./load instcheck hier.o auto_destdir.o unix.a byte.a 
+ 
+ str_chr.o: compile \
+ str_chr.c \



Home | Main Index | Thread Index | Old Index