diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-12-30 18:03:32 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-12-30 18:03:32 +0000 |
commit | 827c0c24c48da81ab044fa51ea5f1392ac31eac0 (patch) | |
tree | 1c404d203d0aabaeb951a6455de3033babdbce54 /app-admin | |
parent | Respect LDFLAGS (bug #337413), CFLAGS (bug #239928), CXX. Add x11-libs/libXpm... (diff) | |
download | historical-827c0c24c48da81ab044fa51ea5f1392ac31eac0.tar.gz historical-827c0c24c48da81ab044fa51ea5f1392ac31eac0.tar.bz2 historical-827c0c24c48da81ab044fa51ea5f1392ac31eac0.zip |
Respect LDFLAGS (bug #335097). Set RDEPEND.
Package-Manager: portage-2.2.0_alpha10/cvs/Linux i686
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/apg/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/apg/Manifest | 13 | ||||
-rw-r--r-- | app-admin/apg/apg-2.3.0b-r5.ebuild | 49 |
3 files changed, 57 insertions, 12 deletions
diff --git a/app-admin/apg/ChangeLog b/app-admin/apg/ChangeLog index f690a8a2cf43..0719b82d9a03 100644 --- a/app-admin/apg/ChangeLog +++ b/app-admin/apg/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/apg # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/apg/ChangeLog,v 1.26 2010/01/15 01:06:53 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/apg/ChangeLog,v 1.27 2010/12/30 18:03:32 jer Exp $ + +*apg-2.3.0b-r5 (30 Dec 2010) + + 30 Dec 2010; Jeroen Roovers <jer@gentoo.org> +apg-2.3.0b-r5.ebuild: + Respect LDFLAGS (bug #335097). Set RDEPEND. 15 Jan 2010; Jonathan Callen <abcd@gentoo.org> apg-2.3.0b-r4.ebuild: Add prefix keywords diff --git a/app-admin/apg/Manifest b/app-admin/apg/Manifest index 867ed559b397..3a3196784a05 100644 --- a/app-admin/apg/Manifest +++ b/app-admin/apg/Manifest @@ -1,17 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX apg-2.3.0b-cracklib.patch 925 RMD160 d1335cd51f86799596bb7d3349049caa6f44204b SHA1 bd9e126d1a0fa31b4a7c817dd811f76513d858e4 SHA256 fbe7c7761187b358164bc768ab57475d2662bf855d79f285af92de15e007b3da AUX apg-2.3.0b-crypt_password.patch 836 RMD160 0c9e64d98d0d03278379dc9c123019514cede316 SHA1 aebecb26a0aa32c57416f74863098f3319c0446d SHA256 7d2946a8b67bebf3f53bcea86164b9259596b2625f5dd6302d49acebd3defa03 AUX apg-glibc-2.4.patch 261 RMD160 71d148c23339c0d3a4a4913c5be5837df0eb6263 SHA1 f6f60fecea7ddddef782ab755c8688cbeea2fef7 SHA256 2d9e4deff463ba2419fea45d9942309b6d7ae5e3b32ceb835715bc98791e23cb DIST apg-2.3.0b.tar.gz 109995 RMD160 18f9955d6fdb721bec26613860b312d7fea6fba7 SHA1 d729c939adb659c05fd0ea3d9c03842c6fe86fed SHA256 d1e52029709e2d7f9cb99bedce3e02ee7a63cff7b8e2b4c2bc55b3dc03c28b92 EBUILD apg-2.3.0b-r4.ebuild 1326 RMD160 7647080495e20e40a1730349abf89421bebcef9b SHA1 6fe8775f677097b4c00a3f3b3b9b631d8e05d8a7 SHA256 8c075817b51a0dadbb8976ea01d01bdc83a47bf3ed1b8f8292e7b2213e07a470 -MISC ChangeLog 3690 RMD160 0c6162ec62093f4cf3811528e9092341767673a9 SHA1 5459b47d60d79ea98adbec1ad9975148c9ac7544 SHA256 9b170595bdcec7e3f182b1d3379afd193b9f1fdd2cd321e45653385925348072 +EBUILD apg-2.3.0b-r5.ebuild 1385 RMD160 d49d44d07e91e014305e89e52bce2a4a78f0cab1 SHA1 e7675ca822528f7ddc3320089a58c1e61e26ab52 SHA256 3cd45b72ba8dfcb1c31f0529bbec0cc85e1be7436732e92f22873ff1a0280d3d +MISC ChangeLog 3836 RMD160 7d92d7e937d1dd7a40faf84c5e664709772c5d04 SHA1 9198d392cd923b25c1961207fb52bfa4d45c506f SHA256 dba562fc16c00442c14430ac030f1c5c11047718f5e53b5e16b109e42ecf1373 MISC metadata.xml 366 RMD160 481db23413e6236ebe01c090a418fe74344de2b8 SHA1 436f681876313b630f08a4c69eeedfd81b87092d SHA256 0482d5a98b0efc67984be49ad8d77c332b6022b5e739a745a009a098796d9383 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAkzQXz0ACgkQ9/cejkQaxBAHWACfRIQI0eou99zL5hmkP1TjzXvk -eF8An2ZHhgVrjeQk99llaQYrfM+FAIf0 -=lUXg ------END PGP SIGNATURE----- diff --git a/app-admin/apg/apg-2.3.0b-r5.ebuild b/app-admin/apg/apg-2.3.0b-r5.ebuild new file mode 100644 index 000000000000..2c11308307e0 --- /dev/null +++ b/app-admin/apg/apg-2.3.0b-r5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/apg/apg-2.3.0b-r5.ebuild,v 1.1 2010/12/30 18:03:32 jer Exp $ + +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="as-is" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-interix ~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 + [[ ${CHOST} == *-darwin* ]] && \ + sed -i 's,^APG_CLIBS += -lcrypt,APG_CLIBS += ,' Makefile + + 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 + cd doc + doman man/apg.1 man/apgbfm.1 + dodoc APG_TIPS pronun.txt rfc0972.txt rfc1750.txt +} |