pkgsrc-Changes archive

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

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   drixter
Date:           Tue Oct 13 08:36:47 UTC 2026

Modified Files:
        pkgsrc/security: Makefile
Added Files:
        pkgsrc/security/pamtester: DESCR Makefile PLIST distinfo
        pkgsrc/security/pamtester/patches: patch-src_app.c patch-src_compat.c
            patch-src_expr__parser.c patch-src_pamtester.c
            patch-src_parse__opts.c patch-src_util.c

Log Message:
pamtester: Add version 0.1.2

pamtester is a tiny program to test the pluggable authentication modules (PAM)
facility, which is a defacto mechanism for authentication management in many
unices and similar OSes including Solaris, HP-UX, *BSD, MacOSX and Linux.

While specifically designed to help PAM module authors to test their modules,
that might also be useful for system administrators interested in building a
centralised authentication system using common standards such as NIS, SASL and
LDAP.


To generate a diff of this commit:
cvs rdiff -u -r1.1028 -r1.1029 pkgsrc/security/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/security/pamtester/DESCR \
    pkgsrc/security/pamtester/Makefile pkgsrc/security/pamtester/PLIST \
    pkgsrc/security/pamtester/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/pamtester/patches/patch-src_app.c \
    pkgsrc/security/pamtester/patches/patch-src_compat.c \
    pkgsrc/security/pamtester/patches/patch-src_expr__parser.c \
    pkgsrc/security/pamtester/patches/patch-src_pamtester.c \
    pkgsrc/security/pamtester/patches/patch-src_parse__opts.c \
    pkgsrc/security/pamtester/patches/patch-src_util.c

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

Modified files:

Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.1028 pkgsrc/security/Makefile:1.1029
--- pkgsrc/security/Makefile:1.1028     Sun Oct 11 18:18:46 2026
+++ pkgsrc/security/Makefile    Tue Oct 13 08:36:46 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1028 2026/10/11 18:18:46 drixter Exp $
+# $NetBSD: Makefile,v 1.1029 2026/10/13 08:36:46 drixter Exp $
 #
 
 COMMENT=       Security and cryptography tools and libraries
@@ -403,6 +403,7 @@ SUBDIR+=    p5-Tie-EncryptedHash
 SUBDIR+=       p5-pcsc
 SUBDIR+=       pakchois
 SUBDIR+=       pakemon
+SUBDIR+=       pamtester
 SUBDIR+=       pam-af
 SUBDIR+=       pam-fprint
 SUBDIR+=       pam-krb5

Added files:

Index: pkgsrc/security/pamtester/DESCR
diff -u /dev/null pkgsrc/security/pamtester/DESCR:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/DESCR     Tue Oct 13 08:36:47 2026
@@ -0,0 +1,8 @@
+pamtester is a tiny program to test the pluggable authentication modules (PAM)
+facility, which is a defacto mechanism for authentication management in many
+unices and similar OSes including Solaris, HP-UX, *BSD, MacOSX and Linux.
+
+While specifically designed to help PAM module authors to test their modules,
+that might also be useful for system administrators interested in building a
+centralised authentication system using common standards such as NIS, SASL and
+LDAP.
Index: pkgsrc/security/pamtester/Makefile
diff -u /dev/null pkgsrc/security/pamtester/Makefile:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/Makefile  Tue Oct 13 08:36:47 2026
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2026/10/13 08:36:47 drixter Exp $
+
+DISTNAME=      pamtester-0.1.2
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pamtester/}
+
+MAINTAINER=    drixter%e-utp.net@localhost
+HOMEPAGE=      https://pamtester.sourceforge.net/
+COMMENT=       Program to test the PAM facility
+LICENSE=       modified-bsd
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+
+BUILDLINK_TRANSFORM+=  rm:-Werror
+
+.include "../../mk/bsd.pkg.mk"
+.include "../../mk/pam.buildlink3.mk"
Index: pkgsrc/security/pamtester/PLIST
diff -u /dev/null pkgsrc/security/pamtester/PLIST:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/PLIST     Tue Oct 13 08:36:47 2026
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2026/10/13 08:36:47 drixter Exp $
+bin/pamtester
+man/man1/pamtester.1
Index: pkgsrc/security/pamtester/distinfo
diff -u /dev/null pkgsrc/security/pamtester/distinfo:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/distinfo  Tue Oct 13 08:36:47 2026
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1 2026/10/13 08:36:47 drixter Exp $
+
+BLAKE2s (pamtester-0.1.2.tar.gz) = e2c13b0d7d0993b12b9cc8dd8c878bed951bcc84af0bc8d7d2a2ad798ab54b77
+SHA512 (pamtester-0.1.2.tar.gz) = baf4786ad735d73bce8f351071e658cffa5fa45dcf67045827f998555e6cff2bd7ff88dd751ab0198b7b1ecfb9c37ffc8ad0bcc5def098ea7143241a3d501168
+Size (pamtester-0.1.2.tar.gz) = 282872 bytes
+SHA1 (patch-src_app.c) = dd1db055930fc2cdca3b9cb8988032e6cce2db82
+SHA1 (patch-src_compat.c) = 44b294bf0e12034337d1f9da17104f913e9f48f9
+SHA1 (patch-src_expr__parser.c) = 8e17fb9bbe87522238a83b4026d5c757c8ef1a66
+SHA1 (patch-src_pamtester.c) = be2be4cb7391d0374625a8c78cda9253f96adfba
+SHA1 (patch-src_parse__opts.c) = 3bf15cbdb7d3340c48bdf3ca93c6d79f437aa922
+SHA1 (patch-src_util.c) = 96df77092668f59baff4c3266156e6c977313267

Index: pkgsrc/security/pamtester/patches/patch-src_app.c
diff -u /dev/null pkgsrc/security/pamtester/patches/patch-src_app.c:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/patches/patch-src_app.c   Tue Oct 13 08:36:47 2026
@@ -0,0 +1,28 @@
+$NetBSD: patch-src_app.c,v 1.1 2026/10/13 08:36:47 drixter Exp $
+
+AC_HEADER_STDC is obsolete, all pkgsrc supported platforms should
+likely have them.
+
+--- src/app.c.orig     2005-09-20 05:55:34.000000000 +0000
++++ src/app.c
+@@ -37,10 +37,8 @@
+ #include "config.h"
+ #endif
+ 
+-#ifdef STDC_HEADERS
+ #include <stdio.h>
+ #include <stdlib.h>
+-#endif
+ 
+ #ifdef HAVE_STRING_H
+ #include <string.h>
+@@ -62,6 +60,9 @@
+ 
+ #ifdef HAVE_SECURITY_PAM_MISC_H
+ #include <security/pam_misc.h>
++#else
++#include <security/openpam.h>
++#define       misc_conv       openpam_ttyconv
+ #endif
+ 
+ #ifdef HAVE_PAM_PAM_MISC_H
Index: pkgsrc/security/pamtester/patches/patch-src_compat.c
diff -u /dev/null pkgsrc/security/pamtester/patches/patch-src_compat.c:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/patches/patch-src_compat.c        Tue Oct 13 08:36:47 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_compat.c,v 1.1 2026/10/13 08:36:47 drixter Exp $
+
+AC_HEADER_STDC is obsolete, all pkgsrc supported platforms should
+likely have them.
+
+--- src/compat.c.orig  2026-10-12 19:01:52.361074339 +0000
++++ src/compat.c
+@@ -37,10 +37,8 @@
+ #include "config.h"
+ #endif
+ 
+-#ifdef STDC_HEADERS
+ #include <stdio.h>
+ #include <stdlib.h>
+-#endif
+ 
+ #ifdef HAVE_STRING_H
+ #include <string.h>
Index: pkgsrc/security/pamtester/patches/patch-src_expr__parser.c
diff -u /dev/null pkgsrc/security/pamtester/patches/patch-src_expr__parser.c:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/patches/patch-src_expr__parser.c  Tue Oct 13 08:36:47 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_expr__parser.c,v 1.1 2026/10/13 08:36:47 drixter Exp $
+
+AC_HEADER_STDC is obsolete, all pkgsrc supported platforms should
+likely have them.
+
+--- src/expr_parser.c.orig     2026-10-12 19:01:52.368089909 +0000
++++ src/expr_parser.c
+@@ -37,10 +37,8 @@
+ #include "config.h"
+ #endif
+ 
+-#ifdef STDC_HEADERS
+ #include <stdio.h>
+ #include <stdlib.h>
+-#endif
+ 
+ #ifdef HAVE_ERRNO_H
+ #include <errno.h>
Index: pkgsrc/security/pamtester/patches/patch-src_pamtester.c
diff -u /dev/null pkgsrc/security/pamtester/patches/patch-src_pamtester.c:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/patches/patch-src_pamtester.c     Tue Oct 13 08:36:47 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_pamtester.c,v 1.1 2026/10/13 08:36:47 drixter Exp $
+
+AC_HEADER_STDC is obsolete, all pkgsrc supported platforms should
+likely have them.
+
+--- src/pamtester.c.orig       2026-10-12 19:01:40.220609287 +0000
++++ src/pamtester.c
+@@ -37,10 +37,8 @@
+ #include "config.h"
+ #endif
+ 
+-#ifdef STDC_HEADERS
+ #include <stdio.h>
+ #include <stdlib.h>
+-#endif
+ 
+ #ifdef HAVE_STRING_H
+ #include <string.h>
Index: pkgsrc/security/pamtester/patches/patch-src_parse__opts.c
diff -u /dev/null pkgsrc/security/pamtester/patches/patch-src_parse__opts.c:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/patches/patch-src_parse__opts.c   Tue Oct 13 08:36:47 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_parse__opts.c,v 1.1 2026/10/13 08:36:47 drixter Exp $
+
+AC_HEADER_STDC is obsolete, all pkgsrc supported platforms should
+likely have them.
+
+--- src/parse_opts.c.orig      2026-10-12 19:01:52.378318381 +0000
++++ src/parse_opts.c
+@@ -37,10 +37,8 @@
+ #include "config.h"
+ #endif
+ 
+-#ifdef STDC_HEADERS
+ #include <stdio.h>
+ #include <stdlib.h>
+-#endif
+ 
+ #ifdef HAVE_STRING_H
+ #include <string.h>
Index: pkgsrc/security/pamtester/patches/patch-src_util.c
diff -u /dev/null pkgsrc/security/pamtester/patches/patch-src_util.c:1.1
--- /dev/null   Tue Oct 13 08:36:47 2026
+++ pkgsrc/security/pamtester/patches/patch-src_util.c  Tue Oct 13 08:36:47 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_util.c,v 1.1 2026/10/13 08:36:47 drixter Exp $
+
+AC_HEADER_STDC is obsolete, all pkgsrc supported platforms should
+likely have them.
+
+--- src/util.c.orig    2026-10-12 19:01:52.373251786 +0000
++++ src/util.c
+@@ -37,10 +37,8 @@
+ #include "config.h"
+ #endif
+ 
+-#ifdef STDC_HEADERS
+ #include <stdio.h>
+ #include <stdlib.h>
+-#endif
+ 
+ #ifdef HAVE_MEMORY_H
+ #include <memory.h>



Home | Main Index | Thread Index | Old Index