public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/
Date: Fri,  3 Dec 2021 00:12:28 +0000 (UTC)	[thread overview]
Message-ID: <1638489642.56dd3c3912a067860f5d3287e1f33e9c402f76c3.sam@gentoo> (raw)

commit:     56dd3c3912a067860f5d3287e1f33e9c402f76c3
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Wed Dec  1 21:59:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  3 00:00:42 2021 +0000
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 <marco <AT> scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/23139
Signed-off-by: Sam James <sam <AT> 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 000000000000..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
+}


             reply	other threads:[~2021-12-03  0:12 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03  0:12 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09  2:19 [gentoo-commits] repo/gentoo:master commit in: sys-libs/pam_wrapper/ Sam James
2024-06-19  5:24 Arthur Zamarin
2024-05-29 17:37 Sam James
2024-05-29 12:15 Sam James
2024-05-29  6:26 Jakov Smolić
2024-05-28 22:01 Sam James
2024-05-28 17:01 Sam James
2024-05-28 17:01 Sam James
2024-05-28 17:01 Sam James
2024-03-19  3:42 Ionen Wolkens
2024-03-03 23:02 Sam James
2024-03-03  4:00 Sam James
2024-03-03  2:48 Sam James
2024-03-02 22:50 Sam James
2024-02-27 23:21 Sam James
2024-02-27 23:04 Sam James
2024-02-27 23:04 Sam James
2024-02-27 23:04 Sam James
2024-02-06 22:41 Sam James
2023-11-24  9:31 Sam James
2022-09-30  3:11 Sam James
2022-08-31 14:49 Arthur Zamarin
2022-08-31 13:58 Arthur Zamarin
2022-08-31 13:58 Arthur Zamarin
2022-08-31 12:04 Agostino Sarubbo
2022-08-31  5:16 Agostino Sarubbo
2022-08-31  5:15 Agostino Sarubbo
2022-08-31  5:13 Agostino Sarubbo
2022-08-19  8:14 Andreas Sturmlechner
2022-05-19  7:49 Agostino Sarubbo
2022-05-13 21:06 Jakov Smolić
2022-04-17 18:36 Arthur Zamarin
2022-04-17 18:36 Arthur Zamarin
2022-04-17 18:36 Arthur Zamarin
2022-03-09 23:53 Sam James
2021-12-02  8:29 Agostino Sarubbo
2021-12-02  8:24 Agostino Sarubbo
2021-11-21 22:35 Mike Gilbert
2021-11-16  6:13 Sam James
2021-10-20  4:01 Sam James
2021-10-20  3:26 Sam James
2021-08-17  9:36 Marek Szuba
2020-10-18 15:29 Mikle Kolyada
2020-10-18 15:29 Mikle Kolyada
2020-08-15 19:10 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1638489642.56dd3c3912a067860f5d3287e1f33e9c402f76c3.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox