package/pamtester: new package
PATCH v5 1/1 package/pamtester: new package
From: Carlos Santos <[email protected]>
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.
One patch was included from the Debian bugtracker which fixes a spelling error.
---
Changes
v4 -> v5
- fixed title of patch to be package/
- Added signed-offs in Debian patch
- Added license file hash
- Spelling of pamtester in kconfig comment
- DEVELOPERS entry needed fixup
--- DEVELOPERS | 1 + package/Config.in | 1 + package/pamtester/0001-fix-spelling-errors.patch | 21 +++++++++++++++++++++ package/pamtester/Config.in | 15 +++++++++++++++ package/pamtester/pamtester.hash | 3 +++ package/pamtester/pamtester.mk | 13 +++++++++++++ 6 files changed, 54 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
DEVELOPERS +1 -0
@@ -426,6 +426,7 @@ F: package/intel-microcode/ F: package/libpam-radius-auth/ F: package/libpam-tacplus/ F: package/modem-manager/ +F: package/pamtester/ F: package/pcm-tools/ F: package/perl-file-util/ F: package/skeleton-custom/
package/Config.in +1 -0
@@ -2163,6 +2163,7 @@ menu "System tools" source "package/numactl/Config.in" source "package/nut/Config.in" source "package/openvmtools/Config.in" + source "package/pamtester/Config.in" source "package/polkit/Config.in" source "package/powerpc-utils/Config.in" source "package/procps-ng/Config.in"
package/pamtester/0001-fix-spelling-errors.patch new file +21 -0
@@ -0,0 +1,21 @@ +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]> +Signed-off-by: Carlos Santos <[email protected]> +Signed-off-by: Matthew Weber <[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 +15 -0
@@ -0,0 +1,15 @@ +config BR2_PACKAGE_PAMTESTER + bool "pamtester" + depends on BR2_PACKAGE_LINUX_PAM + 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/ + +comment "pamtester depends on linux-pam" + depends on !BR2_PACKAGE_LINUX_PAM
package/pamtester/pamtester.hash new file +3 -0
@@ -0,0 +1,3 @@ +# from https://sourceforge.net/projects/pamtester/files/pamtester/0.1.2/ +sha1 33bcc610d7f208b50a0a23c144bdbd1e2cae4ac6 pamtester-0.1.2.tar.gz +sha256 1e3922a8ab0907c1f3bcc3e00005ef88930e50d0890f40a6a39f5f83b05f05cc LICENSE
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
1.9.1
PATCH v5 1/1 package/pamtester: new package
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Matt" == Matt Weber <[email protected]> writes:
From: Carlos Santos <[email protected]>
Utility for testing pluggable authentication modules (PAM) facility.
Quoted 7 lines
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.
One patch was included from the Debian bugtracker which fixes a spelling error.
I still don't understand why we need to carry such patch.
Quoted 19 lines
Signed-off-by Carlos Santos <[email protected]>Signed-off-by Matthew Weber <[email protected]>---
Changes
v4 -> v5
- fixed title of patch to be package/
- Added signed-offs in Debian patch
- Added license file hash
- Spelling of pamtester in kconfig comment
- DEVELOPERS entry needed fixup
---+++ b/package/pamtester/Config.in
package/pamtester/Config.in new file +5
-0@@ -0,0 +1,15 @@ +config BR2_PACKAGE_PAMTESTER + bool "pamtester" + depends on BR2_PACKAGE_LINUX_PAM + help + A tiny utility for testing pluggable authentication modules
package/pamtester/Config.in line 15
Quoted 10 lines
package/pamtester/Config.in new file +10
-0+ (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/ + +comment "pamtester depends on linux-pam" + depends on !BR2_PACKAGE_LINUX_PAM
I'm not sure this comment is really helpful, but OK.
Committed with the spelling fix patch dropped, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v5 1/1 package/pamtester: new package
Quoted 16 lines
From: "Peter Korsgaard" <[email protected]>
To: "Matthew Weber" <[email protected]>
Cc: "buildroot" <[email protected]>
Sent: Segunda-feira, 4 de fevereiro de 2019 15:07:12
Subject: Re: [Buildroot] [PATCH v5] package/pamtester: new packageQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Matt" == Matt Weber <[email protected]> writes:
From: Carlos Santos <[email protected]>
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.
Quoted 4 lines
Quoted 2 lines
One patch was included from the Debian bugtracker which fixes a spelling error.
I still don't understand why we need to carry such patch.
Because I'm a maniac and the misspelling puts me nervous.
Quoted 32 lines
Quoted 19 lines
Signed-off-by Carlos Santos <[email protected]>Signed-off-by Matthew Weber <[email protected]>---
Changes
v4 -> v5
- fixed title of patch to be package/
- Added signed-offs in Debian patch
- Added license file hash
- Spelling of pamtester in kconfig comment
- DEVELOPERS entry needed fixup
---+++ b/package/pamtester/Config.in
package/pamtester/Config.in new file +5
-0@@ -0,0 +1,15 @@ +config BR2_PACKAGE_PAMTESTER + bool "pamtester" + depends on BR2_PACKAGE_LINUX_PAM + help + A tiny utility for testing pluggable authentication modulespackage/pamtester/Config.in line 15
Quoted 10 lines
package/pamtester/Config.in new file +10
-0+ (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/ + +comment "pamtester depends on linux-pam" + depends on !BR2_PACKAGE_LINUX_PAMI'm not sure this comment is really helpful, but OK.
Quoted 1 line
Committed with the spelling fix patch dropped, thanks.
I accept that as a sad fact of life. Thanks. ;-)
Signature · 1 line
Carlos Santos (Casantos) - DATACOM, P&D