Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (1e8141800a2d308e297157dbda31a5f826e428a0)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (1e8141800a2d308e297157dbda31a5f826e428a0)
  • Date: Wed, 17 Jan 2024 18:25:56 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

security-libs/linux-pam/DEPENDS | 3 +-
security-libs/linux-pam/DETAILS | 6 ++---
security-libs/linux-pam/HISTORY | 6 +++++
security-libs/linux-pam/PRE_BUILD | 4 +++
security-libs/linux-pam/patches/0001-pam_init_handlers.patch | 12
+++++++++++
5 files changed, 27 insertions(+), 4 deletions(-)

New commits:
commit 1e8141800a2d308e297157dbda31a5f826e428a0
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

security-libs/linux-pam: version 1.6.0

diff --git a/security-libs/linux-pam/DEPENDS b/security-libs/linux-pam/DEPENDS
index 7f0e41d..387cfcb 100755
--- a/security-libs/linux-pam/DEPENDS
+++ b/security-libs/linux-pam/DEPENDS
@@ -19,4 +19,5 @@ if is_depends_enabled $SPELL libtirpc;then
fi &&
optional_depends SSL '--enable-openssl' \
'--disable-openssl' \
- 'use OpenSSL crypto libraries'
+ 'use OpenSSL crypto libraries' &&
+optional_depends systemd "--enable-logind" "--disable-logind" "for logind
support"
diff --git a/security-libs/linux-pam/DETAILS b/security-libs/linux-pam/DETAILS
index fa1914e..3fdec42 100755
--- a/security-libs/linux-pam/DETAILS
+++ b/security-libs/linux-pam/DETAILS
@@ -1,9 +1,9 @@
SPELL=linux-pam
- VERSION=1.5.3
-
SOURCE_HASH=sha512:af88e8c1b6a9b737ffaffff7dd9ed8eec996d1fbb5804fb76f590bed66d8a1c2c6024a534d7a7b6d18496b300f3d6571a08874cf406cd2e8cea1d5eff49c136a
+ VERSION=1.6.0
+
SOURCE_HASH=sha512:7af07edb71a79275ad7f7f3bd82a4619b12a23a10f5fb2e5d810c6aadb718fd739ed17ca336c3420945d48d326e91874d8e45cfc5a4bf01a0cc5f9663bd2a0ad
SECURITY_PATCH=5
SOURCE=Linux-PAM-$VERSION.tar.xz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/Linux-PAM-$VERSION
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/Linux-PAM-${VERSION}"

SOURCE_URL[0]=https://github.com/linux-pam/linux-pam/releases/download/v$VERSION/$SOURCE
# Watch: https://github.com/linux-pam/linux-pam/tags tags/v([0-9.]+)[.]tar
WEB_SITE=http://linux-pam.org
diff --git a/security-libs/linux-pam/HISTORY b/security-libs/linux-pam/HISTORY
index cd7ab98..62acacb 100644
--- a/security-libs/linux-pam/HISTORY
+++ b/security-libs/linux-pam/HISTORY
@@ -1,3 +1,9 @@
+2024-01-17 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 1.6.0
+ * DEPENDS: added optional systemd
+ * PRE_BUILD, patches/0001-pam_init_handlers.patch: added to fix wrong
number
+ of arguments in a function call
+
2023-08-22 Treeve Jelbert <treeve AT sourcemage.org>
* DEPENDS: delete duplicate libxcrypt

diff --git a/security-libs/linux-pam/PRE_BUILD
b/security-libs/linux-pam/PRE_BUILD
new file mode 100755
index 0000000..f80ee7d
--- /dev/null
+++ b/security-libs/linux-pam/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+apply_patch_dir patches
diff --git a/security-libs/linux-pam/patches/0001-pam_init_handlers.patch
b/security-libs/linux-pam/patches/0001-pam_init_handlers.patch
new file mode 100644
index 0000000..0b7f321
--- /dev/null
+++ b/security-libs/linux-pam/patches/0001-pam_init_handlers.patch
@@ -0,0 +1,12 @@
+diff --git a/libpam/pam_handlers.c b/libpam/pam_handlers.c
+--- a/libpam/pam_handlers.c
++++ b/libpam/pam_handlers.c
+@@ -500,7 +500,7 @@ int _pam_init_handlers(pam_handle_t *pamh)
+
+ if (pamh->confdir == NULL
+ && (f = fopen(PAM_CONFIG,"r")) != NULL) {
+- retval = _pam_parse_conf_file(pamh, f, NULL, PAM_T_ANY,
0, 1);
++ retval = _pam_parse_conf_file(pamh, f, NULL, PAM_T_ANY,
0, 1, 0);
+ fclose(f);
+ } else
+ #endif /* PAM_READ_BOTH_CONFS */



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (1e8141800a2d308e297157dbda31a5f826e428a0), Pavel Vinogradov, 01/17/2024

Archive powered by MHonArc 2.6.24.

Top of Page