diff options
author | Sam James <sam@gentoo.org> | 2021-06-30 19:37:59 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-30 19:37:59 +0100 |
commit | a47b0950bf9a0e55572ecd9c78c40fcaae8ed990 (patch) | |
tree | 3383c1ba501cdd867d7e3eb909e3d753bdf37c5e /app-admin/apg/apg-2.3.0b_p20150129-r1.ebuild | |
parent | app-admin/conserver: add missing libcrypt dependency, libnsl (diff) | |
download | gentoo-a47b0950bf9a0e55572ecd9c78c40fcaae8ed990.tar.gz gentoo-a47b0950bf9a0e55572ecd9c78c40fcaae8ed990.tar.bz2 gentoo-a47b0950bf9a0e55572ecd9c78c40fcaae8ed990.zip |
app-admin/apg: add missing libcrypt dependency
Closes: https://bugs.gentoo.org/799098
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/apg/apg-2.3.0b_p20150129-r1.ebuild')
-rw-r--r-- | app-admin/apg/apg-2.3.0b_p20150129-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/apg/apg-2.3.0b_p20150129-r1.ebuild b/app-admin/apg/apg-2.3.0b_p20150129-r1.ebuild new file mode 100644 index 000000000000..50fa2b6c6bcf --- /dev/null +++ b/app-admin/apg/apg-2.3.0b_p20150129-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +BASEVER=$(ver_cut 1-4) + +DESCRIPTION="Another Password Generator" +HOMEPAGE="https://github.com/wilx/apg" +SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="cracklib" + +DEPEND="virtual/libcrypt:= + cracklib? ( sys-libs/cracklib )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-${BASEVER}-crypt_password.patch" + "${FILESDIR}/${P}-cracklib.patch" +) + +DOCS=( CHANGES README THANKS TODO doc/APG_TIPS doc/rfc0972.txt doc/rfc1750.txt ) + +S="${WORKDIR}/${PN}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_with cracklib) +} + +src_install() { + default + doman doc/man/apg* +} |