pamtester: new package
cover pamtester: new package
pamtester is a tiny utility program to test the pluggable authentication modules (PAM) facility, which is a de facto standard of unified authentication management mechanism 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 handy for system administrators interested in building a centralised authentication system using common standards such as NIS, SASL and LDAP.
Carlos Santos (2):
pamtester: new package
DEVELOPERS: add myself to package/pamtester
DEVELOPERS | 1 + package/Config.in | 1 + package/pamtester/0001-fix-spelling-errors.patch | 19 +++++++++++++++++++ package/pamtester/Config.in | 11 +++++++++++ package/pamtester/pamtester.hash | 2 ++ package/pamtester/pamtester.mk | 13 +++++++++++++ 6 files changed, 47 insertions(+) create mode 100644 package/pamtester/0001-fix-spelling-errors.patch create mode 100644 package/pamtester/Config.in create mode 100644 package/pamtester/pamtester.hash create mode 100644 package/pamtester/pamtester.mk
Signature · 1 line
2.14.4
PATCH 1/2 pamtester: new package
Utility for testing pluggable authentication modules (PAM) facility.
While specifically designed to help PAM module authors to test their modules, that might also be handy for system administrators interested in building a centralised authentication system using common standards such as NIS, SASL and LDAP.
Pull a patch from Debian, rename it and add an SOB to match Buildroot conventions.
Put it along with the PAM modules libpam-{radius-auth,tacplus} in the configuration menu, since alphabetical order is already slightly broken and grouping the packages makes sense.
--- package/Config.in | 1 + package/pamtester/0001-fix-spelling-errors.patch | 19 +++++++++++++++++++ package/pamtester/Config.in | 11 +++++++++++ package/pamtester/pamtester.hash | 2 ++ package/pamtester/pamtester.mk | 13 +++++++++++++ 5 files changed, 46 insertions(+) create mode 100644 package/pamtester/0001-fix-spelling-errors.patch create mode 100644 package/pamtester/Config.in create mode 100644 package/pamtester/pamtester.hash create mode 100644 package/pamtester/pamtester.mk
package/Config.in +1 -0
@@ -1568,6 +1568,7 @@ menu "Other" source "package/linux-pam/Config.in" source "package/llvm/Config.in" if BR2_PACKAGE_LINUX_PAM + source "package/pamtester/Config.in" comment "linux-pam plugins" source "package/libpam-radius-auth/Config.in" source "package/libpam-tacplus/Config.in"
package/pamtester/0001-fix-spelling-errors.patch new file +19 -0
@@ -0,0 +1,19 @@ +Description: Fix spelling error in pamtester +Origin: vendor +Bug: https://sourceforge.net/tracker/?func=detail&aid=3599109&group_id=135111&atid=731890 +Forwarded: yes +Author: Salvatore Bonaccorso <[email protected]> +Last-Update: 2013-01-01 +Signed-off-by: Salvatore Bonaccorso <[email protected]> + +--- a/src/app.c ++++ b/src/app.c +@@ -373,7 +373,7 @@ + err_msg = xstrdup(pam_strerror(pamh, err)); + goto out; + } else { +- printf("%s: sucessfully opened a session\n", params->app_name); ++ printf("%s: successfully opened a session\n", params->app_name); + } + } else if (!strcasecmp(op->name, "close_session")) { + int flag = 0;
package/pamtester/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_PAMTESTER + bool "pamtester" + help + A tiny utility for testing pluggable authentication modules + (PAM) facility. While specifically designed to help PAM module + authors to test their modules, that might also be handy for + system administrators interested in building a centralised + authentication system using common standards such as NIS, SASL + and LDAP. + + http://pamtester.sourceforge.net/
package/pamtester/pamtester.hash new file +2 -0
@@ -0,0 +1,2 @@ +# from https://sourceforge.net/projects/pamtester/files/pamtester/0.1.2/ +sha1 33bcc610d7f208b50a0a23c144bdbd1e2cae4ac6 pamtester-0.1.2.tar.gz
package/pamtester/pamtester.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# pamtester +# +################################################################################ + +PAMTESTER_VERSION = 0.1.2 +PAMTESTER_SITE = https://download.sourceforge.net/project/pamtester/pamtester/$(PAMTESTER_VERSION) +PAMTESTER_DEPENDENCIES = linux-pam +PAMTESTER_LICENSE = BSD-3-Clause +PAMTESTER_LICENSE_FILES = LICENSE + +$(eval $(autotools-package))
Signature · 1 line
2.14.4
PATCH 1/2 pamtester: new package
Hello,
package/Config.in menu "Other" · line 1569
Quoted 7 lines · Carlos Santos
package/Config.in +0
-0@@ -1568,6 +1568,7 @@ menu "Other" source "package/linux-pam/Config.in" source "package/llvm/Config.in"
Meh, we now have LLVM between PAM and its plugins. Not good. This should be fixed separately.
package/Config.in menu "Other" · line 1571
Quoted 2 lines
package/Config.in +1
-0if BR2_PACKAGE_LINUX_PAM + source "package/pamtester/Config.in"
pamtester is not a library, so I don't think Libraries->Other is the right place for it.
Maybe in "System tools", with a "depends on BR2_PACKAGE_LINUX_PAM" ?
Quoted 15 lines
package/pamtester/0001-fix-spelling-errors.patch new file +9
-0@@ -0,0 +1,19 @@ +Description: Fix spelling error in pamtester +Origin: vendor +Bug: https://sourceforge.net/tracker/?func=detail&aid=3599109&group_id=135111&atid=731890 +Forwarded: yes +Author: Salvatore Bonaccorso <[email protected]> +Last-Update: 2013-01-01 +Signed-off-by: Salvatore Bonaccorso <[email protected]> + +--- a/src/app.c
package/pamtester/0001-fix-spelling-errors.patch line 19
Quoted 10 lines
package/pamtester/0001-fix-spelling-errors.patch new file +10
-0++++ b/src/app.c +@@ -373,7 +373,7 @@ + err_msg = xstrdup(pam_strerror(pamh, err)); + goto out; + } else { +- printf("%s: sucessfully opened a session\n", params->app_name); ++ printf("%s: successfully opened a session\n", params->app_name); + } + } else if (!strcasecmp(op->name, "close_session")) { + int flag = 0;
Do we really need to carry a patch fixing a typo in a debug message ?
If yes, then please add your Signed-off-by.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 2/2 DEVELOPERS: add myself to package/pamtester
In reply to Carlos Santos--- DEVELOPERS | 1 + 1 file changed, 1 insertion(+)
DEVELOPERS +1 -0
@@ -415,6 +415,7 @@ F: package/initscripts/ F: package/libpam-radius-auth/ F: package/libpam-tacplus/ F: package/modem-manager/ +F: package/pamtester/ F: package/perl-file-util/ F: package/skeleton-custom/ F: package/skeleton-init-common/
Signature · 1 line
2.14.4
PATCH 2/2 DEVELOPERS: add myself to package/pamtester
Hello,
Quoted 1 line · Carlos Santos
Signed-off-by Carlos Santos <[email protected]>
This should be part of PATCH 1/2.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com