diff options
author | 2023-04-18 06:28:11 +0100 | |
---|---|---|
committer | 2023-04-18 06:28:11 +0100 | |
commit | 313acdc21a558ff82c633a93796ac467cad4f385 (patch) | |
tree | e146aedfe1644c5237b66aa399c02265064cab1e /sys-auth/oath-toolkit | |
parent | app-forensics/aflplusplus: add 4.06c (diff) | |
download | gentoo-313acdc21a558ff82c633a93796ac467cad4f385.tar.gz gentoo-313acdc21a558ff82c633a93796ac467cad4f385.tar.bz2 gentoo-313acdc21a558ff82c633a93796ac467cad4f385.zip |
sys-auth/oath-toolkit: unconditionally depend on xmlsec
psks can't be reliably disabled.
Bug: https://bugs.gentoo.org/827887
Bug: https://bugs.gentoo.org/904361
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-auth/oath-toolkit')
-rw-r--r-- | sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild (renamed from sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild) | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild index 2641b73deb6f..020037b1bbd1 100644 --- a/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild +++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild @@ -12,17 +12,14 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" LICENSE="GPL-3 LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86" -IUSE="pam pskc static-libs test" -REQUIRED_USE="test? ( pskc )" +IUSE="pam static-libs test" RESTRICT="!test? ( test )" DEPEND=" dev-libs/icu:= + dev-libs/libxml2 + <dev-libs/xmlsec-1.3.0:= pam? ( sys-libs/pam ) - pskc? ( - dev-libs/libxml2 - <dev-libs/xmlsec-1.3.0:= - ) " RDEPEND="${DEPEND}" BDEPEND=" @@ -40,10 +37,10 @@ QA_CONFIG_IMPL_DECL_SKIP=( src_configure() { local myeconfargs=( + --enable-pskc $(use_enable test xmltest) $(use_enable pam) $(use_with pam pam-dir $(getpam_mod_dir)) - $(use_enable pskc) $(use_enable static-libs static) ) @@ -68,7 +65,5 @@ src_install() { newdoc pam_oath/README README.pam fi - if use pskc; then - doman pskctool/pskctool.1 - fi + doman pskctool/pskctool.1 } |