mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/apg: drop 2.3.0b_p20150129-r1
Bug: https://bugs.gentoo.org/971030 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST apg-2.3.0b_p20150129.tar.xz 313372 BLAKE2B f5a1b894a0379294c478020de512af047aec2e7c9d881cb2f4c79df88583707b5ce0e995623915b6bd11b720e60e0f8696e0ddce472441cb1d04f3bf7a818e32 SHA512 7be813368b4b6fe4ae2882d85c40b6cf80ad44b7aa7e46c8cb97926ef89edf4f59e9a4c76a7aa9f725ac6ce1f0df361f8b68ef6dce798e1e0a8d55767c7a16e8
|
||||
DIST apg-2.3.0b_p20240821.tar.gz 465729 BLAKE2B caa5add3ba5f54a1d57f135f2b72a4ca1aa1d8374bcb1a5532bec9075a56d1c96ff740330be6f2f3cef54c759e34c00b463387de6962d3ba0407adb02398289f SHA512 d34667f1ead74c7ac284dd8d40eb49c2a5885aee3da2e1607ca54465ffa69caa489ffe669036fbc881d54e75f9ca1c551dff84e87f8ce03439c4efbfeedd322f
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# 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"
|
||||
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*
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
--- a/restrict.c 2007-03-09 13:48:27.000000000 +0300
|
||||
+++ b/restrict.c 2007-03-09 13:49:31.000000000 +0300
|
||||
@@ -33,6 +33,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#if defined(APG_USE_CRACKLIB)
|
||||
+#include <crack.h>
|
||||
+#endif /* APG_USE_CRACKLIB */
|
||||
#include "restrict.h"
|
||||
extern struct sym smbl[94];
|
||||
/*
|
||||
--- a/apg.c 2007-03-08 17:32:40.000000000 +0300
|
||||
+++ b/apg.c 2007-03-08 17:34:07.000000000 +0300
|
||||
@@ -100,6 +100,7 @@
|
||||
#else /* CLISERV */
|
||||
#if defined(APG_USE_CRACKLIB)
|
||||
#define APG_PROGRAMM_OPTIONS "M:E:a:r:b:p:n:m:x:vkt"
|
||||
+#include <crack.h>
|
||||
#else /* CRACKLIB */
|
||||
#define APG_PROGRAMM_OPTIONS "M:E:a:r:b:p:n:m:x:vt"
|
||||
#endif /* CRACKLIB */
|
||||
@@ -709,7 +710,7 @@
|
||||
*/
|
||||
char * crypt_passstring (const char *p)
|
||||
{
|
||||
- char salt[10];
|
||||
+ char salt[11];
|
||||
gen_rand_pass (salt, 10, 10, S_SL|S_CL|S_NB);
|
||||
return (crypt(p, salt));
|
||||
}
|
||||
Reference in New Issue
Block a user