diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2021-01-06 06:14:28 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2021-01-06 06:17:23 +0300 |
commit | eb92af2b5638720bd439406295a237063f0f1a4e (patch) | |
tree | bcc37e8e037ffa87f47e89ca233e01e2b3c3af81 | |
parent | net-proxy/privoxy: remove old (diff) | |
download | gentoo-eb92af2b5638720bd439406295a237063f0f1a4e.tar.gz gentoo-eb92af2b5638720bd439406295a237063f0f1a4e.tar.bz2 gentoo-eb92af2b5638720bd439406295a237063f0f1a4e.zip |
app-admin/apg: remove old
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
-rw-r--r-- | app-admin/apg/Manifest | 1 | ||||
-rw-r--r-- | app-admin/apg/apg-2.3.0b-r7.ebuild | 49 | ||||
-rw-r--r-- | app-admin/apg/files/apg-2.3.0b-cracklib.patch | 17 | ||||
-rw-r--r-- | app-admin/apg/files/apg-glibc-2.4.patch | 11 |
4 files changed, 0 insertions, 78 deletions
diff --git a/app-admin/apg/Manifest b/app-admin/apg/Manifest index 64074f5c0ab5..67631f69f408 100644 --- a/app-admin/apg/Manifest +++ b/app-admin/apg/Manifest @@ -1,2 +1 @@ -DIST apg-2.3.0b.tar.gz 109995 BLAKE2B 9b4a6141fb7f6e649fe06ed91bda636879a03d6e5e6071267bbb6cd27e63b4588c23ea7902c5b1a74dde8520843566a4f2857a34f4d66020142425e5faf53daf SHA512 3112d2267f2311f960a52fa268b55a5faf0250a4a8c5e7444f0c1326afa2844a476a54befcf79e5b8532d74c53f6f58ffc420591c8c36798dd82b43c14869e1a DIST apg-2.3.0b_p20150129.tar.xz 313372 BLAKE2B f5a1b894a0379294c478020de512af047aec2e7c9d881cb2f4c79df88583707b5ce0e995623915b6bd11b720e60e0f8696e0ddce472441cb1d04f3bf7a818e32 SHA512 7be813368b4b6fe4ae2882d85c40b6cf80ad44b7aa7e46c8cb97926ef89edf4f59e9a4c76a7aa9f725ac6ce1f0df361f8b68ef6dce798e1e0a8d55767c7a16e8 diff --git a/app-admin/apg/apg-2.3.0b-r7.ebuild b/app-admin/apg/apg-2.3.0b-r7.ebuild deleted file mode 100644 index cfc9ecdda9be..000000000000 --- a/app-admin/apg/apg-2.3.0b-r7.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit 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 ~arm ~hppa ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="cracklib" - -DEPEND="cracklib? ( sys-libs/cracklib )" -RDEPEND="${DEPEND}" - -src_prepare() { - default - if use cracklib; then - eapply "${FILESDIR}"/${P}-cracklib.patch - fi - eapply "${FILESDIR}"/${PN}-glibc-2.4.patch - eapply "${FILESDIR}"/${P}-crypt_password.patch - - 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 -} - -src_compile() { - emake \ - FLAGS="${CFLAGS} ${LDFLAGS}" CFLAGS="${CFLAGS} ${LDFLAGS}" \ - CC="$(tc-getCC)" standalone - emake FLAGS="${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \ - -C bfconvert -} - -src_install() { - dobin apg apgbfm bfconvert/bfconvert - dodoc CHANGES INSTALL README THANKS TODO \ - doc/{APG_TIPS,pronun.txt,rfc0972.txt,rfc1750.txt} - doman doc/man/{apg.1,apgbfm.1} -} diff --git a/app-admin/apg/files/apg-2.3.0b-cracklib.patch b/app-admin/apg/files/apg-2.3.0b-cracklib.patch deleted file mode 100644 index d297495b3211..000000000000 --- a/app-admin/apg/files/apg-2.3.0b-cracklib.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/Makefile 2003-08-07 09:40:39.000000000 -0600 -+++ b/Makefile 2004-10-14 07:16:17.288530686 -0600 -@@ -44,10 +44,10 @@ - # If you want to use cracklib for password quality check then you - # must uncomment the folowing 4 lines (you must not do this for WIN32) - # --#CRACKLIB_DICTPATH = "/usr/local/lib/pw_dict" --#STANDALONE_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I/usr/local/include -L/usr/local/lib --#CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I/usr/local/include -L/usr/local/lib --#APG_CLIBS += -lcrack -+CRACKLIB_DICTPATH = "/usr/lib/cracklib_dict" -+STANDALONE_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -+CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -+APG_CLIBS += -lcrack - - ################################################################## - # Support for ANSI X9.17/SHA1 PRNG diff --git a/app-admin/apg/files/apg-glibc-2.4.patch b/app-admin/apg/files/apg-glibc-2.4.patch deleted file mode 100644 index 43b5874fa2b6..000000000000 --- a/app-admin/apg/files/apg-glibc-2.4.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/restrict.h 2006-03-26 03:33:50.168661936 +0400 -+++ b/restrict.h 2006-03-26 03:34:10.427582112 +0400 -@@ -33,6 +33,8 @@ - #ifndef APG_RESTRICT_H - #define APG_RESTRICT_H 1 - -+#define uint32_t int -+ - #if defined(APG_USE_CRACKLIB) - #include <packer.h> - #endif |