diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-07-27 00:39:27 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-07-27 00:39:40 +0300 |
commit | 1066ee1abde0483c71e8840a70119ac453f2854e (patch) | |
tree | 2b57a873ec6f14517c79ad81b13d5b77ae576372 /app-admin/apg | |
parent | app-admin/apg: merge stable keywords (diff) | |
download | gentoo-1066ee1abde0483c71e8840a70119ac453f2854e.tar.gz gentoo-1066ee1abde0483c71e8840a70119ac453f2854e.tar.bz2 gentoo-1066ee1abde0483c71e8840a70119ac453f2854e.zip |
app-admin/apg: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-admin/apg')
-rw-r--r-- | app-admin/apg/apg-2.3.0b-r5.ebuild | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/app-admin/apg/apg-2.3.0b-r5.ebuild b/app-admin/apg/apg-2.3.0b-r5.ebuild deleted file mode 100644 index 818202c48ce4..000000000000 --- a/app-admin/apg/apg-2.3.0b-r5.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit eutils toolchain-funcs - -DESCRIPTION="Another Password Generator" -HOMEPAGE="http://www.adel.nursat.kz/apg/" -SRC_URI="http://www.adel.nursat.kz/apg/download/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 hppa ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="cracklib" - -DEPEND="cracklib? ( sys-libs/cracklib )" -RDEPEND="${DEPEND}" - -src_prepare() { - chmod -R 0700 "${S}" - if use cracklib; then - epatch "${FILESDIR}"/${P}-cracklib.patch - epatch "${FILESDIR}"/${PN}-glibc-2.4.patch - fi - epatch "${FILESDIR}"/${P}-crypt_password.patch -} - -src_compile() { - sed -i 's,^#\(APG_CS_CLIBS += -lnsl\)$,\1,' Makefile \ - || die "Sed failed" - if [[ ${CHOST} == *-darwin* ]]; then - sed -i 's,^APG_CLIBS += -lcrypt,APG_CLIBS += ,' Makefile \ - || die "Sed failed" - fi - - emake \ - FLAGS="${CFLAGS} ${LDFLAGS}" CFLAGS="${CFLAGS} ${LDFLAGS}" \ - CC="$(tc-getCC)" \ - standalone || die "compile problem" - emake FLAGS="${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \ - -C bfconvert || die "compile problem" -} - -src_install() { - dobin apg apgbfm bfconvert/bfconvert || die - dodoc CHANGES INSTALL README THANKS TODO || die - cd doc - doman man/apg.1 man/apgbfm.1 || die - dodoc APG_TIPS pronun.txt rfc0972.txt rfc1750.txt || die -} |