[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-03-18 Thread Ionen Wolkens
commit: db87d2c416ef9189a771b43e2e65fda2b6d34d17
Author: Matoro Mahri  matoro  tk>
AuthorDate: Mon Mar 18 17:38:02 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Mar 19 03:42:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db87d2c4

sys-libs/pam_wrapper: Stabilize 1.1.4-r3 hppa, #925632

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
index 1f0c159d30e6..96d2c6f81f35 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-03-03 Thread Sam James
commit: c260991682e7cc3ede48e0b705f5fd625bb751e4
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  3 23:01:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 23:01:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2609916

sys-libs/pam_wrapper: Stabilize 1.1.4-r3 sparc, #925632

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
index 306319a7bc32..1f0c159d30e6 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/files/, sys-libs/pam_wrapper/

2024-03-02 Thread Sam James
commit: 2649f38d3871aa2d185d7d2ec464a2c0397c9112
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  3 05:36:24 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 05:36:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2649f38d

sys-libs/pam_wrapper: add 1.1.5

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/Manifest  |  1 +
 .../files/pam_wrapper-1.1.5-env-var-typo.patch | 25 ++
 .../files/pam_wrapper-1.1.5-mkdir-race.patch   | 40 ++
 .../files/pam_wrapper-1.1.5-tests-import.patch | 22 ++
 sys-libs/pam_wrapper/pam_wrapper-1.1.5.ebuild  | 90 ++
 5 files changed, 178 insertions(+)

diff --git a/sys-libs/pam_wrapper/Manifest b/sys-libs/pam_wrapper/Manifest
index 197fc5b91c82..8cb28f18f031 100644
--- a/sys-libs/pam_wrapper/Manifest
+++ b/sys-libs/pam_wrapper/Manifest
@@ -1 +1,2 @@
 DIST pam_wrapper-1.1.4.tar.gz 170882 BLAKE2B 
fa0a789f6fd6f809c7ef80e354e886b5f1f0b4212060dc0e388a44701e4a1f49635b8f47344156ad65cd273660e3b0a806480c37875a830e2f5d8e56c4ec0818
 SHA512 
3b68dc6d7815707d74d1340facd9c2de4dff3934402ac2c2632371b39c41a75744434744ed7308e157be03a03a941405638cadb6f34995de56fb1f5f45d37de2
+DIST pam_wrapper-1.1.5.tar.gz 95037 BLAKE2B 
78adeaac3994349460c2c9966e1145c3c6b78189cf1e6092cf0272bc82498c2182b114d718ce47b3403e32255d8ae5e65dee22e7bc261442323a661a4dbd1b38
 SHA512 
eee2c0683bd87c5416b52115105a9a2397cbec261e358ff20d9b272509f64ee5ea50a4adcb04f7791d451ca904ffd31c3bc07dc53555c3808f50f71634ab6323

diff --git a/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-env-var-typo.patch 
b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-env-var-typo.patch
new file mode 100644
index ..0874e5daaf24
--- /dev/null
+++ b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-env-var-typo.patch
@@ -0,0 +1,25 @@
+https://git.samba.org/?p=pam_wrapper.git;a=commit;h=9f0cccf7432dd9be1de953f9b13a7f9b06c40442
+
+From 9f0cccf7432dd9be1de953f9b13a7f9b06c40442 Mon Sep 17 00:00:00 2001
+From: Andreas Schneider 
+Date: Fri, 10 Nov 2023 15:38:37 +0100
+Subject: [PATCH] pwrap: Fix PAM_WRAPPER_DISABLE_DEEPBIND environment variable
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Andreas Schneider 
+Reviewed-by: Pavel Filipenský 
+--- a/src/pam_wrapper.c
 b/src/pam_wrapper.c
+@@ -336,7 +336,7 @@ static void *pwrap_load_lib_handle(enum pwrap_lib lib)
+ 
+ #ifdef RTLD_DEEPBIND
+   const char *env_preload = getenv("LD_PRELOAD");
+-  const char *env_deepbind = getenv("UID_WRAPPER_DISABLE_DEEPBIND");
++  const char *env_deepbind = getenv("PAM_WRAPPER_DISABLE_DEEPBIND");
+   bool enable_deepbind = true;
+ 
+   /* Don't do a deepbind if we run with libasan */
+-- 
+2.34.1

diff --git a/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-mkdir-race.patch 
b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-mkdir-race.patch
new file mode 100644
index ..f3c1458d6dce
--- /dev/null
+++ b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-mkdir-race.patch
@@ -0,0 +1,40 @@
+https://git.samba.org/?p=pam_wrapper.git;a=commitdiff;h=7bd24b0e54995da5f333575f97c9f1fa796fe0f1
+
+From 7bd24b0e54995da5f333575f97c9f1fa796fe0f1 Mon Sep 17 00:00:00 2001
+From: =?utf8?q?Jan=20Kundr=C3=A1t?= 
+Date: Mon, 6 Nov 2023 18:34:58 +0100
+Subject: [PATCH] die quickly upon mkdir failure
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf8
+Content-Transfer-Encoding: 8bit
+
+We just had this failure in our CI system that's currently running just
+three PAM-wrapped tests in parallel. Since this is a classic TOCTOU race
+(albeit in a test code, and therefore with little to no security
+implications), the `mkdir` can fail, and when that happens it's much
+better to just die quickly rather than continuing as if nothing
+happened.
+
+Signed-off-by: Jan Kundrát 
+Reviewed-by: Pavel Filipenský 
+Reviewed-by: Andreas Schneider 
+--- a/src/pam_wrapper.c
 b/src/pam_wrapper.c
+@@ -893,6 +893,7 @@ static void pwrap_init(void)
+   PWRAP_LOG(PWRAP_LOG_ERROR,
+ "Failed to create pam_wrapper config dir: %s - %s",
+ tmp_config_dir, strerror(errno));
++  exit(1);
+   }
+ 
+   /* Create file with the PID of the the process */
+@@ -1121,6 +1122,7 @@ static void pwrap_init(void)
+   PWRAP_LOG(PWRAP_LOG_ERROR,
+ "Failed to create pam_wrapper config dir: %s - %s",
+ tmp_config_dir, strerror(errno));
++  exit(1);
+   }
+ 
+   /* Create file with the PID of the the process */
+-- 
+2.34.1

diff --git a/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-tests-import.patch 
b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-tests-import.patch
new file mode 100644
index ..884583c098b4
--- /dev/null
+++ b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-tests-import.patch
@@ -0,0 +1,22 @@
+--- a/tests/pypamtest_test.py
 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-03-02 Thread Sam James
commit: de43013d05c0c2bcdce712f53c62698af202ec01
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  3 02:50:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 04:00:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de43013d

sys-libs/pam_wrapper: disable py3.9

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r2.ebuild | 4 ++--
 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r2.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r2.ebuild
index 68afde16e9a1..5ddcce1a4b03 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r2.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit cmake-multilib python-r1
 
 DESCRIPTION="A tool to test PAM applications and PAM modules"

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
index c7bfe3270b34..306319a7bc32 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit cmake-multilib python-r1
 
 DESCRIPTION="A tool to test PAM applications and PAM modules"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-03-02 Thread Sam James
commit: ec5c27a945e328552fde424389367f6524fd5031
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  3 02:48:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 02:48:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5c27a9

sys-libs/pam_wrapper: Stabilize 1.1.4-r3 arm64, #925632

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
index b03f1ddb2ec3..c7bfe3270b34 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-03-02 Thread Sam James
commit: edaf2ffd799dd5ebcbdcfb6f0303c1ae21c05d4f
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  2 22:49:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  2 22:49:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edaf2ffd

sys-libs/pam_wrapper: Stabilize 1.1.4-r3 ppc, #925632

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
index d45c6b632c38..b03f1ddb2ec3 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-02-27 Thread Sam James
commit: 10277e88d488bbe48390699599811a2f28c45e14
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 27 23:20:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 27 23:20:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10277e88

sys-libs/pam_wrapper: Stabilize 1.1.4-r3 arm, #925632

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
index da8197a3417c..d45c6b632c38 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-02-27 Thread Sam James
commit: f32be5804d20ca4473557ff435b468f841c1608d
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 27 23:03:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 27 23:03:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32be580

sys-libs/pam_wrapper: Stabilize 1.1.4-r3 x86, #925632

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
index b8a41e57ac87..170d69a13180 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-02-27 Thread Sam James
commit: 41ba39c8b5ea9f1e9ab2004b12fb3a025ac486ce
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 27 23:03:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 27 23:03:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ba39c8

sys-libs/pam_wrapper: Stabilize 1.1.4-r3 amd64, #925632

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
index 170d69a13180..da8197a3417c 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-02-27 Thread Sam James
commit: 7a8b875b46b8545c70aec5ab3bd42196a9da82e2
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 27 23:03:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 27 23:03:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a8b875b

sys-libs/pam_wrapper: Stabilize 1.1.4-r3 ppc64, #925632

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
index 7804b800ce5d..b8a41e57ac87 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2024-02-06 Thread Sam James
commit: be1b61e0867fc6528c1bdf47556c0da674e4349c
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Feb  6 05:27:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:40:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be1b61e0

sys-libs/pam_wrapper: revbump to force rebuilding against updated pam

We got rid of the terrible usr-ldscript hack. It is now possible to
build this sanely. Force it to rebuild against the updated pam (for the
sake of split-usr profiles).

Bug: https://bugs.gentoo.org/825078
Closes: https://bugs.gentoo.org/825758
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild | 88 
 1 file changed, 88 insertions(+)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
new file mode 100644
index ..7804b800ce5d
--- /dev/null
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit cmake-multilib python-r1
+
+DESCRIPTION="A tool to test PAM applications and PAM modules"
+HOMEPAGE="https://cwrap.org/pam_wrapper.html;
+SRC_URI="
+   https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
+   https://ftp.samba.org/pub/cwrap/${P}.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Require newer PAM so we know where it's located, bug #825078
+RDEPEND="
+   ${PYTHON_DEPS}
+   >=sys-libs/pam-1.5.3-r1:0=[${MULTILIB_USEDEP}]
+"
+DEPEND="
+   ${RDEPEND}
+   test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.4-tests-import.patch
+)
+
+multilib_src_configure() {
+   configure_for_python() {
+   local mycmakeargs=( -DUNIT_TESTING=OFF )
+   cmake_src_configure
+   }
+
+   if multilib_is_native_abi ; then
+   # Build the Pythons for each version (but only for the native 
ABI)
+   # bug #737468
+   python_foreach_impl configure_for_python
+   fi
+
+   # Do the regular build now
+   local mycmakeargs=(
+   -DUNIT_TESTING=$(usex test)
+   -DCMAKE_DISABLE_FIND_PACKAGE_Python{Libs,Interp,SiteLibs}=ON
+   )
+   cmake_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   python_foreach_impl cmake_src_compile
+   fi
+
+   # Compile the "proper" version without Python last
+   cmake_src_compile
+}
+
+multilib_src_test() {
+   cmake_src_test
+
+   # Fails b/c of sandbox?
+   #python_test() {
+   #   local -x 
PYTHONPATH="${BUILD_DIR}/src/python/python3:${PYTHONPATH}"
+   #   elog "${PYTHONPATH}"
+   #   ${EPYTHON} "${S}"/tests/pypamtest_test.py || die "Tests failed 
with ${EPYTHON}"
+   #}
+
+   #if multilib_is_native_abi ; then
+   #   python_foreach_impl python_test
+   #fi
+}
+
+multilib_src_install() {
+   if multilib_is_native_abi ; then
+   python_foreach_impl cmake_src_install
+   fi
+
+   # Install the "proper" version without Python last
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/files/, sys-libs/pam_wrapper/

2023-02-16 Thread Sam James
commit: 3bae8de27d1c8f4596ea838bec571db33cec1653
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 17 07:15:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 17 07:15:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bae8de2

sys-libs/pam_wrapper: enable py3.11

Signed-off-by: Sam James  gentoo.org>

 .../files/pam_wrapper-1.1.4-tests-import.patch | 22 
 ...1.1.4-r1.ebuild => pam_wrapper-1.1.4-r2.ebuild} | 24 +++---
 2 files changed, 43 insertions(+), 3 deletions(-)

diff --git a/sys-libs/pam_wrapper/files/pam_wrapper-1.1.4-tests-import.patch 
b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.4-tests-import.patch
new file mode 100644
index ..aba9c370a22c
--- /dev/null
+++ b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.4-tests-import.patch
@@ -0,0 +1,22 @@
+--- a/tests/pypamtest_test.py
 b/tests/pypamtest_test.py
+@@ -15,19 +15,6 @@ class PyPamTestCase(unittest.TestCase):
+ self.assertSequenceEqual(test_result.errors, info_list)
+ 
+ class PyPamTestImport(unittest.TestCase):
+-def setUp(self):
+-" Make sure we load the in-tree module "
+-if sys.hexversion >= 0x300:
+-self.modpath = os.path.join(os.getcwd(), "../src/python/python3")
+-else:
+-self.modpath = os.path.join(os.getcwd(), "../src/python/python2")
+-self.system_path = sys.path[:]
+-sys.path = [ self.modpath ]
+-
+-def tearDown(self):
+-" Restore the system path "
+-sys.path = self.system_path
+-
+ def testImport(self):
+ " Import the module "
+ try:

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r2.ebuild
similarity index 77%
rename from sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
rename to sys-libs/pam_wrapper/pam_wrapper-1.1.4-r2.ebuild
index 264a74d7a5c3..20e06b42b366 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r2.ebuild
@@ -1,10 +1,9 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
+EAPI=8
 
+PYTHON_COMPAT=( python3_{9..11} )
 inherit cmake-multilib python-r1
 
 DESCRIPTION="A tool to test PAM applications and PAM modules"
@@ -31,6 +30,10 @@ DEPEND="
test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )
 "
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.4-tests-import.patch
+)
+
 multilib_src_configure() {
configure_for_python() {
local mycmakeargs=( -DUNIT_TESTING=OFF )
@@ -60,6 +63,21 @@ multilib_src_compile() {
cmake_src_compile
 }
 
+multilib_src_test() {
+   cmake_src_test
+
+   # Fails b/c of sandbox?
+   #python_test() {
+   #   local -x 
PYTHONPATH="${BUILD_DIR}/src/python/python3:${PYTHONPATH}"
+   #   elog "${PYTHONPATH}"
+   #   ${EPYTHON} "${S}"/tests/pypamtest_test.py || die "Tests failed 
with ${EPYTHON}"
+   #}
+
+   #if multilib_is_native_abi ; then
+   #   python_foreach_impl python_test
+   #fi
+}
+
 multilib_src_install() {
if multilib_is_native_abi ; then
python_foreach_impl cmake_src_install



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-09-29 Thread Sam James
commit: c8609f8dadd667252d8311238657004a70a5a90f
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep 30 03:10:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep 30 03:10:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8609f8d

sys-libs/pam_wrapper: drop 1.1.3-r3

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/Manifest|  1 -
 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild | 73 
 2 files changed, 74 deletions(-)

diff --git a/sys-libs/pam_wrapper/Manifest b/sys-libs/pam_wrapper/Manifest
index d839c44aeea9..197fc5b91c82 100644
--- a/sys-libs/pam_wrapper/Manifest
+++ b/sys-libs/pam_wrapper/Manifest
@@ -1,2 +1 @@
-DIST pam_wrapper-1.1.3.tar.gz 118034 BLAKE2B 
3c05e74959f3c6dfd35575cc5f9187f4a328bfd7ce002e327fc135c82a4ff1513add87678360992d2010c124f7fd95e4bdb3c0a4d63418d9711069cbc200e417
 SHA512 
3b7cbd25ae7dd73f4a0c64a7762cdeb38cc7ba6e8b4e18e79aceffea09241d520aa884de88e4105b5957b2b18ec682be6568a6bfccf82b9354a3510cd2cd98eb
 DIST pam_wrapper-1.1.4.tar.gz 170882 BLAKE2B 
fa0a789f6fd6f809c7ef80e354e886b5f1f0b4212060dc0e388a44701e4a1f49635b8f47344156ad65cd273660e3b0a806480c37875a830e2f5d8e56c4ec0818
 SHA512 
3b68dc6d7815707d74d1340facd9c2de4dff3934402ac2c2632371b39c41a75744434744ed7308e157be03a03a941405638cadb6f34995de56fb1f5f45d37de2

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
deleted file mode 100644
index 85898afabe55..
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit cmake-multilib python-r1
-
-DESCRIPTION="A tool to test PAM applications and PAM modules"
-HOMEPAGE="https://cwrap.org/pam_wrapper.html;
-SRC_URI="
-   https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
-   https://ftp.samba.org/pub/cwrap/${P}.tar.gz
-"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   sys-libs/pam:0=[${MULTILIB_USEDEP}]
-"
-DEPEND="
-   ${RDEPEND}
-   test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )
-"
-
-multilib_src_configure() {
-   configure_for_python() {
-   local mycmakeargs=(
-   -DUNIT_TESTING=OFF
-   )
-
-   cmake_src_configure
-   }
-
-   if multilib_is_native_abi ; then
-   # Build the Pythons for each version (but only for the native 
ABI)
-   # bug #737468
-   python_foreach_impl configure_for_python
-   fi
-
-   # Do the regular build now
-   local mycmakeargs=(
-   -DUNIT_TESTING=$(usex test)
-   -DCMAKE_DISABLE_FIND_PACKAGE_Python{Libs,Interp,SiteLibs}=ON
-   )
-
-   cmake_src_configure
-}
-
-multilib_src_compile() {
-   if multilib_is_native_abi ; then
-   python_foreach_impl cmake_src_compile
-   fi
-
-   # Compile the "proper" version without Python last
-   cmake_src_compile
-}
-
-multilib_src_install() {
-   if multilib_is_native_abi ; then
-   python_foreach_impl cmake_src_install
-   fi
-
-   # Install the "proper" version without Python last
-   cmake_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-08-31 Thread Arthur Zamarin
commit: c3cf32d8af3295e066f0d4b596ec4f0a402a0454
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug 31 14:49:24 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug 31 14:49:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3cf32d8

sys-libs/pam_wrapper: Stabilize 1.1.4-r1 arm, #867586

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
index 1844cc7a9b73..dfd92f87273a 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-08-31 Thread Arthur Zamarin
commit: 5b95484d6f8c35a077ee30f769a088ce55b47129
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug 31 13:58:14 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug 31 13:58:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b95484d

sys-libs/pam_wrapper: Stabilize 1.1.4-r1 ppc64, #867586

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
index 64be2164afc1..1844cc7a9b73 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-08-31 Thread Arthur Zamarin
commit: 4bb34a72efb1e16b4fb580d123b6fbc9f599e835
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug 31 13:58:13 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug 31 13:58:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bb34a72

sys-libs/pam_wrapper: Stabilize 1.1.4-r1 ppc, #867586

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
index fc63886cba49..64be2164afc1 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-08-31 Thread Agostino Sarubbo
commit: 593ae5004d9fa5ed5f66f9460c987b7ab392b5f8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug 31 12:04:23 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug 31 12:04:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=593ae500

sys-libs/pam_wrapper: arm64 stable wrt bug #867586

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
index 1bebfaeaef8e..fc63886cba49 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-08-30 Thread Agostino Sarubbo
commit: 9eb68ff111a210f5427955952d159919f6587045
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug 31 05:16:21 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug 31 05:16:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eb68ff1

sys-libs/pam_wrapper: x86 stable wrt bug #867586

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
index 28bfb3cfc0b3..1bebfaeaef8e 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-08-30 Thread Agostino Sarubbo
commit: f8e3deefd6c8734f576258b4c434e762e7e7d08e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug 31 05:15:32 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug 31 05:15:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e3deef

sys-libs/pam_wrapper: sparc stable wrt bug #867586

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
index 3df61fa595e0..28bfb3cfc0b3 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-08-30 Thread Agostino Sarubbo
commit: 14cbb6b238ed884cede0bc2d47c42298871485ea
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug 31 05:12:59 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug 31 05:12:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14cbb6b2

sys-libs/pam_wrapper: amd64 stable wrt bug #867586

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
index 9a1fae2dc21d..3df61fa595e0 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-08-19 Thread Andreas Sturmlechner
commit: 498f06c8df94d4ed257324ce7cd9e33ca67679d5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Aug 14 21:44:03 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Aug 19 08:13:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498f06c8

sys-libs/pam_wrapper: drop 1.1.3

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild | 40 ---
 1 file changed, 40 deletions(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
deleted file mode 100644
index 2643b37d037f..
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-CMAKE_ECLASS=cmake
-inherit cmake-multilib python-single-r1
-
-DESCRIPTION="A tool to test PAM applications and PAM modules"
-HOMEPAGE="https://cwrap.org/pam_wrapper.html;
-SRC_URI="https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
-   https://ftp.samba.org/pub/cwrap/${P}.tar.gz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-   sys-libs/pam:0=[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )"
-
-multilib_src_configure() {
-   local libpam="${EPREFIX}"
-   multilib_is_native_abi || libpam+="/usr"
-   libpam+="/$(get_libdir)/libpam.so.0"
-
-   local mycmakeargs=(
-   -DPAM_LIBRARY="${libpam}"
-   -DUNIT_TESTING=$(usex test)
-   -DPYTHON2_LIBRARY="/dev/null" # Disabled
-   -DPYTHON3_INCLUDE_DIR="$(python_get_includedir)"
-   -DPYTHON3_SITELIB="$(python_get_sitedir)"
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-05-19 Thread Agostino Sarubbo
commit: 7271a24db2a7b4aa06f7a4622cb08f6c2fae7afb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 19 07:49:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 19 07:49:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7271a24d

sys-libs/pam_wrapper: arm64 stable wrt bug #844061

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
index ed05f85532d5..cc7a619ef3b5 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-05-13 Thread Jakov Smolić
commit: fb08dfb7b801fb3143e4f976e9edbd1fcb434c6c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 13 21:06:26 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 13 21:06:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb08dfb7

sys-libs/pam_wrapper: Stabilize 1.1.3-r3 ppc64, #844061

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
index 027e3ad09a9b..ed05f85532d5 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-04-17 Thread Arthur Zamarin
commit: af04df210392856c0d326c79b1980a1ad09b2746
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:36:25 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:36:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af04df21

sys-libs/pam_wrapper: Stabilize 1.1.3-r3 sparc, #833714

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
index 835cc35221f7..027e3ad09a9b 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-04-17 Thread Arthur Zamarin
commit: 20d07341cfa932f81f70334facedfb1aad7aadc8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:36:19 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:36:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d07341

sys-libs/pam_wrapper: Stabilize 1.1.3-r3 ppc, #833714

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
index fe4f271521c5..835cc35221f7 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-04-17 Thread Arthur Zamarin
commit: 2285d998e0593c299262acf0ac87285068018340
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:36:14 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:36:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2285d998

sys-libs/pam_wrapper: Stabilize 1.1.3-r3 arm, #833714

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
index fe217064fb7f..fe4f271521c5 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2022-03-09 Thread Sam James
commit: 6b84b0b5a44afd525b2018db5a0813141554381a
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar  9 23:52:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  9 23:52:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b84b0b5

sys-libs/pam_wrapper: depend on newer PAM (non split-usr)

We can be sure of the location of PAM if we depend on a new enough version.

Closes: https://bugs.gentoo.org/825078
Signed-off-by: Sam James  gentoo.org>

 .../{pam_wrapper-1.1.4.ebuild => pam_wrapper-1.1.4-r1.ebuild}| 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
similarity index 90%
rename from sys-libs/pam_wrapper/pam_wrapper-1.1.4.ebuild
rename to sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
index 96a3d1fd2aa8..88bac7c04467 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.4.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,9 +22,10 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+# Require newer PAM so we know where it's located, bug #825078
 RDEPEND="
${PYTHON_DEPS}
-   sys-libs/pam:0=[${MULTILIB_USEDEP}]
+   >=sys-libs/pam-1.5.2-r1:0=[${MULTILIB_USEDEP}]
 "
 DEPEND="
${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2021-12-02 Thread Sam James
commit: 56dd3c3912a067860f5d3287e1f33e9c402f76c3
Author: Marco Scardovi  scardovi  com>
AuthorDate: Wed Dec  1 21:59:27 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  3 00:00:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56dd3c39

sys-libs/pam_wrapper: bump to 1.1.4

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Marco Scardovi  scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/23139
Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/Manifest |  1 +
 sys-libs/pam_wrapper/pam_wrapper-1.1.4.ebuild | 70 +++
 2 files changed, 71 insertions(+)

diff --git a/sys-libs/pam_wrapper/Manifest b/sys-libs/pam_wrapper/Manifest
index d4f66f3a2a4b..d839c44aeea9 100644
--- a/sys-libs/pam_wrapper/Manifest
+++ b/sys-libs/pam_wrapper/Manifest
@@ -1 +1,2 @@
 DIST pam_wrapper-1.1.3.tar.gz 118034 BLAKE2B 
3c05e74959f3c6dfd35575cc5f9187f4a328bfd7ce002e327fc135c82a4ff1513add87678360992d2010c124f7fd95e4bdb3c0a4d63418d9711069cbc200e417
 SHA512 
3b7cbd25ae7dd73f4a0c64a7762cdeb38cc7ba6e8b4e18e79aceffea09241d520aa884de88e4105b5957b2b18ec682be6568a6bfccf82b9354a3510cd2cd98eb
+DIST pam_wrapper-1.1.4.tar.gz 170882 BLAKE2B 
fa0a789f6fd6f809c7ef80e354e886b5f1f0b4212060dc0e388a44701e4a1f49635b8f47344156ad65cd273660e3b0a806480c37875a830e2f5d8e56c4ec0818
 SHA512 
3b68dc6d7815707d74d1340facd9c2de4dff3934402ac2c2632371b39c41a75744434744ed7308e157be03a03a941405638cadb6f34995de56fb1f5f45d37de2

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.4.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.4.ebuild
new file mode 100644
index ..96a3d1fd2aa8
--- /dev/null
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.4.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+CMAKE_ECLASS=cmake
+
+inherit cmake-multilib python-r1
+
+DESCRIPTION="A tool to test PAM applications and PAM modules"
+HOMEPAGE="https://cwrap.org/pam_wrapper.html;
+SRC_URI="
+   https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
+   https://ftp.samba.org/pub/cwrap/${P}.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sys-libs/pam:0=[${MULTILIB_USEDEP}]
+"
+DEPEND="
+   ${RDEPEND}
+   test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )
+"
+
+multilib_src_configure() {
+   configure_for_python() {
+   local mycmakeargs=( -DUNIT_TESTING=OFF )
+   cmake_src_configure
+   }
+
+   if multilib_is_native_abi ; then
+   # Build the Pythons for each version (but only for the native 
ABI)
+   # bug #737468
+   python_foreach_impl configure_for_python
+   fi
+
+   # Do the regular build now
+   local mycmakeargs=(
+   -DUNIT_TESTING=$(usex test)
+   -DCMAKE_DISABLE_FIND_PACKAGE_Python{Libs,Interp,SiteLibs}=ON
+   )
+   cmake_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   python_foreach_impl cmake_src_compile
+   fi
+
+   # Compile the "proper" version without Python last
+   cmake_src_compile
+}
+
+multilib_src_install() {
+   if multilib_is_native_abi ; then
+   python_foreach_impl cmake_src_install
+   fi
+
+   # Install the "proper" version without Python last
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2021-12-02 Thread Agostino Sarubbo
commit: 2de6f4cc7732b25c76e972649707de28525f57b2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec  2 08:29:11 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec  2 08:29:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de6f4cc

sys-libs/pam_wrapper: x86 stable wrt bug #827843

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
index f7f609dc064d..fe217064fb7f 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2021-12-02 Thread Agostino Sarubbo
commit: f0a86e47cfad7ba1154c8d2988736a24ebd18821
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec  2 08:24:44 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec  2 08:24:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a86e47

sys-libs/pam_wrapper: amd64 stable wrt bug #827843

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
index d71310d9c7c2..f7f609dc064d 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2021-11-21 Thread Mike Gilbert
commit: 834518e670c13f7ccfcf8bff134074f36f404930
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Nov 21 22:32:49 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Nov 21 22:35:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834518e6

sys-libs/pam_wrapper: let cmake find libpam

pam_wrapper will still need to be rebuilt when libpam changes location,
but at least this lets it work after a rebuild.

Closes: https://bugs.gentoo.org/825078
Signed-off-by: Mike Gilbert  gentoo.org>

 .../{pam_wrapper-1.1.3-r2.ebuild => pam_wrapper-1.1.3-r3.ebuild}  | 8 
 1 file changed, 8 deletions(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
similarity index 87%
rename from sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild
rename to sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
index d2d118a5478a..d71310d9c7c2 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r3.ebuild
@@ -33,10 +33,7 @@ DEPEND="
 
 multilib_src_configure() {
configure_for_python() {
-   local libpam="${EPREFIX}/$(get_libdir)/libpam.so.0"
-
local mycmakeargs=(
-   -DPAM_LIBRARY="${libpam}"
-DUNIT_TESTING=OFF
)
 
@@ -50,12 +47,7 @@ multilib_src_configure() {
fi
 
# Do the regular build now
-   local libpam="${EPREFIX}"
-   multilib_is_native_abi || libpam+="/usr"
-   libpam+="/$(get_libdir)/libpam.so.0"
-
local mycmakeargs=(
-   -DPAM_LIBRARY="${libpam}"
-DUNIT_TESTING=$(usex test)
-DCMAKE_DISABLE_FIND_PACKAGE_Python{Libs,Interp,SiteLibs}=ON
)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2021-11-15 Thread Sam James
commit: 3a8cfb49e367f967519218bea96cc31a7e66ec77
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 16 06:10:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 16 06:10:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a8cfb49

sys-libs/pam_wrapper: keyword 1.1.3-r2 for ~riscv (accidentally lost)

Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild
index 651440322594..d2d118a5478a 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2021-10-19 Thread Sam James
commit: ed283b6255f2113865198fec01820b79b73708e3
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 20 04:00:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 20 04:00:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed283b62

sys-libs/pam_wrapper: fix compile for multilib

We don't want to try build Python bindings for the multilib ABI (it's pointless,
it's only used for tests in other packages anyway).

Closes: https://bugs.gentoo.org/737468
Signed-off-by: Sam James  gentoo.org>

 ...1.1.3-r1.ebuild => pam_wrapper-1.1.3-r2.ebuild} | 46 --
 1 file changed, 34 insertions(+), 12 deletions(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild
similarity index 52%
rename from sys-libs/pam_wrapper/pam_wrapper-1.1.3-r1.ebuild
rename to sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild
index a95f837c4bb..65144032259 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r1.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r2.ebuild
@@ -19,7 +19,6 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test"
-
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
@@ -27,7 +26,6 @@ RDEPEND="
${PYTHON_DEPS}
sys-libs/pam:0=[${MULTILIB_USEDEP}]
 "
-
 DEPEND="
${RDEPEND}
test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )
@@ -35,26 +33,50 @@ DEPEND="
 
 multilib_src_configure() {
configure_for_python() {
-   local libpam="${EPREFIX}"
-   multilib_is_native_abi || libpam+="/usr"
-   libpam+="/$(get_libdir)/libpam.so.0"
+   local libpam="${EPREFIX}/$(get_libdir)/libpam.so.0"
 
local mycmakeargs=(
-DPAM_LIBRARY="${libpam}"
-   -DUNIT_TESTING=$(usex test)
-   -DPYTHON2_LIBRARY="/dev/null" # Disabled
-   -DPYTHON3_INCLUDE_DIR="$(python_get_includedir)"
-   -DPYTHON3_SITELIB="$(python_get_sitedir)"
+   -DUNIT_TESTING=OFF
)
+
cmake_src_configure
}
-   python_foreach_impl configure_for_python
+
+   if multilib_is_native_abi ; then
+   # Build the Pythons for each version (but only for the native 
ABI)
+   # bug #737468
+   python_foreach_impl configure_for_python
+   fi
+
+   # Do the regular build now
+   local libpam="${EPREFIX}"
+   multilib_is_native_abi || libpam+="/usr"
+   libpam+="/$(get_libdir)/libpam.so.0"
+
+   local mycmakeargs=(
+   -DPAM_LIBRARY="${libpam}"
+   -DUNIT_TESTING=$(usex test)
+   -DCMAKE_DISABLE_FIND_PACKAGE_Python{Libs,Interp,SiteLibs}=ON
+   )
+
+   cmake_src_configure
 }
 
 multilib_src_compile() {
-   python_foreach_impl cmake_src_compile
+   if multilib_is_native_abi ; then
+   python_foreach_impl cmake_src_compile
+   fi
+
+   # Compile the "proper" version without Python last
+   cmake_src_compile
 }
 
 multilib_src_install() {
-   python_foreach_impl cmake_src_install
+   if multilib_is_native_abi ; then
+   python_foreach_impl cmake_src_install
+   fi
+
+   # Install the "proper" version without Python last
+   cmake_src_install
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2021-10-19 Thread Sam James
commit: cdd0363be9f629c0d0527e0e4d4994117eca9230
Author: Marco Scardovi  scardovi  com>
AuthorDate: Mon Jul  5 20:00:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 20 03:26:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd0363b

sys-libs/pam_wrapper: merge fprintd and pam_wrapper

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Scardovi  scardovi.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3-r1.ebuild | 60 
 1 file changed, 60 insertions(+)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r1.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r1.ebuild
new file mode 100644
index 000..a95f837c4bb
--- /dev/null
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+CMAKE_ECLASS=cmake
+
+inherit cmake-multilib python-r1
+
+DESCRIPTION="A tool to test PAM applications and PAM modules"
+HOMEPAGE="https://cwrap.org/pam_wrapper.html;
+SRC_URI="
+   https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
+   https://ftp.samba.org/pub/cwrap/${P}.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sys-libs/pam:0=[${MULTILIB_USEDEP}]
+"
+
+DEPEND="
+   ${RDEPEND}
+   test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )
+"
+
+multilib_src_configure() {
+   configure_for_python() {
+   local libpam="${EPREFIX}"
+   multilib_is_native_abi || libpam+="/usr"
+   libpam+="/$(get_libdir)/libpam.so.0"
+
+   local mycmakeargs=(
+   -DPAM_LIBRARY="${libpam}"
+   -DUNIT_TESTING=$(usex test)
+   -DPYTHON2_LIBRARY="/dev/null" # Disabled
+   -DPYTHON3_INCLUDE_DIR="$(python_get_includedir)"
+   -DPYTHON3_SITELIB="$(python_get_sitedir)"
+   )
+   cmake_src_configure
+   }
+   python_foreach_impl configure_for_python
+}
+
+multilib_src_compile() {
+   python_foreach_impl cmake_src_compile
+}
+
+multilib_src_install() {
+   python_foreach_impl cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2021-08-17 Thread Marek Szuba
commit: 161010f3c64300f6d3dd44365cf3b44ec06c3f70
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 16 22:26:34 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Aug 17 09:36:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161010f3

sys-libs/pam_wrapper: keyword 1.1.3 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
index 7c80c4284bc..2643b37d037 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 CMAKE_ECLASS=cmake
 inherit cmake-multilib python-single-r1
 
@@ -14,7 +14,7 @@ SRC_URI="https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2020-10-18 Thread Mikle Kolyada
commit: dd0a770ac28a53176efcd261ceb21272f627baaa
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct 18 15:29:30 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct 18 15:29:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd0a770a

sys-libs/pam_wrapper: Stabilize 1.1.3 x86, #743142

Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
index 7b70c071766..7c80c4284bc 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2020-10-18 Thread Mikle Kolyada
commit: fc50ede74e310647c786824b7f476656c5beb803
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct 18 15:29:09 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct 18 15:29:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc50ede7

sys-libs/pam_wrapper: Stabilize 1.1.3 amd64, #743142

Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
index 517f2391cbe..7b70c071766 100644
--- a/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/

2020-08-15 Thread Matt Turner
commit: f703af0874edebde27531376271ebc18c487adcd
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Aug 15 04:24:34 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Aug 15 19:10:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f703af08

sys-libs/pam_wrapper: Add new package

Closes: https://bugs.gentoo.org/730974
Signed-off-by: Matt Turner  gentoo.org>

 sys-libs/pam_wrapper/Manifest |  1 +
 sys-libs/pam_wrapper/metadata.xml |  8 ++
 sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild | 40 +++
 3 files changed, 49 insertions(+)

diff --git a/sys-libs/pam_wrapper/Manifest b/sys-libs/pam_wrapper/Manifest
new file mode 100644
index 000..d4f66f3a2a4
--- /dev/null
+++ b/sys-libs/pam_wrapper/Manifest
@@ -0,0 +1 @@
+DIST pam_wrapper-1.1.3.tar.gz 118034 BLAKE2B 
3c05e74959f3c6dfd35575cc5f9187f4a328bfd7ce002e327fc135c82a4ff1513add87678360992d2010c124f7fd95e4bdb3c0a4d63418d9711069cbc200e417
 SHA512 
3b7cbd25ae7dd73f4a0c64a7762cdeb38cc7ba6e8b4e18e79aceffea09241d520aa884de88e4105b5957b2b18ec682be6568a6bfccf82b9354a3510cd2cd98eb

diff --git a/sys-libs/pam_wrapper/metadata.xml 
b/sys-libs/pam_wrapper/metadata.xml
new file mode 100644
index 000..48f6ca46f45
--- /dev/null
+++ b/sys-libs/pam_wrapper/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+sa...@gentoo.org
+Samba Team
+  
+

diff --git a/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild 
b/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
new file mode 100644
index 000..517f2391cbe
--- /dev/null
+++ b/sys-libs/pam_wrapper/pam_wrapper-1.1.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+CMAKE_ECLASS=cmake
+inherit cmake-multilib python-single-r1
+
+DESCRIPTION="A tool to test PAM applications and PAM modules"
+HOMEPAGE="https://cwrap.org/pam_wrapper.html;
+SRC_URI="https://www.samba.org/ftp/pub/cwrap/${P}.tar.gz
+   https://ftp.samba.org/pub/cwrap/${P}.tar.gz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+   sys-libs/pam:0=[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? ( dev-util/cmocka[${MULTILIB_USEDEP}] )"
+
+multilib_src_configure() {
+   local libpam="${EPREFIX}"
+   multilib_is_native_abi || libpam+="/usr"
+   libpam+="/$(get_libdir)/libpam.so.0"
+
+   local mycmakeargs=(
+   -DPAM_LIBRARY="${libpam}"
+   -DUNIT_TESTING=$(usex test)
+   -DPYTHON2_LIBRARY="/dev/null" # Disabled
+   -DPYTHON3_INCLUDE_DIR="$(python_get_includedir)"
+   -DPYTHON3_SITELIB="$(python_get_sitedir)"
+   )
+   cmake_src_configure
+}