[sys-libs/pam_wrapper] rm, better version in tree

This commit is contained in:
Robert Förster 2021-10-27 16:45:08 +02:00
parent e80b2ba340
commit 8cc208303c
3 changed files with 0 additions and 60 deletions

View File

@ -1,3 +0,0 @@
DIST pam_wrapper-1.1.3.tar.gz 118034 BLAKE2B 3c05e74959f3c6dfd35575cc5f9187f4a328bfd7ce002e327fc135c82a4ff1513add87678360992d2010c124f7fd95e4bdb3c0a4d63418d9711069cbc200e417 SHA512 3b7cbd25ae7dd73f4a0c64a7762cdeb38cc7ba6e8b4e18e79aceffea09241d520aa884de88e4105b5957b2b18ec682be6568a6bfccf82b9354a3510cd2cd98eb
EBUILD pam_wrapper-1.1.3.ebuild 1102 BLAKE2B 82db0090e910936fb1b5cd4eb210a2b7c34147c347257b09004308eca330c346234fcc19dd39c9bf849cdc3d00b5eb9663e73ecd89d8f5738e9c7052b2e56079 SHA512 c488ac32a5e040d1d3652398393cf437a24f7b3e09bcf9edc5defe15c1551f7daa764fe9f27d8b6977e80b7649de1061f5bf61f821143253839ede1f9151c1f5
MISC metadata.xml 249 BLAKE2B 274f77317bba157c3ad4c3e9827ce5ce934c855b8bd41e603df69f1343c296abf7faec755a56f5f8d0e76f43058156e95480a386494265385604401e70484acf SHA512 940515e5f54189b5ba3c1118ea45f679182c9075091ade1959b197a6dc5fba894cd52cd0289e00a4a139b1cd3c6563771a1e21d2baa460a25892b0fa20e819a8

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>samba@gentoo.org</email>
<name>Samba Team</name>
</maintainer>
</pkgmetadata>

View File

@ -1,49 +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 ~sparc ~x86"
IUSE="+python test"
RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="python? ( ${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
)
if multilib_is_native_abi && use python; then
local mycmakeargs+=(
-DPYTHON3_INCLUDE_DIR="$(python_get_includedir)"
-DPYTHON3_SITELIB="$(python_get_sitedir)"
)
else
local mycmakeargs+=(
-DPYTHON3_LIBRARY="/dev/null" # Disabled
)
fi
cmake_src_configure
}