diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-09-22 02:48:47 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-09-22 02:48:47 +0000 |
commit | 73939062762507129ccf9499d856997b83d56c1c (patch) | |
tree | c7641f45c9e4c2c59aaca95b811202309531d4b5 /app-admin/pwgen | |
parent | make --secure more secure (diff) | |
download | gentoo-2-73939062762507129ccf9499d856997b83d56c1c.tar.gz gentoo-2-73939062762507129ccf9499d856997b83d56c1c.tar.bz2 gentoo-2-73939062762507129ccf9499d856997b83d56c1c.zip |
make --secure more secure
Diffstat (limited to 'app-admin/pwgen')
-rw-r--r-- | app-admin/pwgen/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/pwgen/Manifest | 5 | ||||
-rw-r--r-- | app-admin/pwgen/files/digest-pwgen-2.03-r1 | 1 | ||||
-rw-r--r-- | app-admin/pwgen/files/pwgen-2.03-addl_pw_chars.patch | 11 | ||||
-rw-r--r-- | app-admin/pwgen/pwgen-2.03-r1.ebuild | 32 |
5 files changed, 55 insertions, 3 deletions
diff --git a/app-admin/pwgen/ChangeLog b/app-admin/pwgen/ChangeLog index 5ef986ae926f..716c4fcc4b6e 100644 --- a/app-admin/pwgen/ChangeLog +++ b/app-admin/pwgen/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/pwgen # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/ChangeLog,v 1.9 2003/08/07 09:29:56 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/ChangeLog,v 1.10 2003/09/22 02:48:45 seemant Exp $ + +*pwgen-2.03-r1 (21 Sep 2003) + + 21 Sep 2003; Seemant Kulleen <seemant@gentoo.org> pwgen-2.03-r1.ebuild: + patch to revert pwgen's behaviour to its predecesor's -- now, non + alpha-numeric characters will not be forbidden with the --secure option. + thanks to: Gontran Zepeda <gontran@gontran.net> in bug #28727 07 Aug 2003; Tavis Ormandy <taviso@gentoo.org> pwgen-2.03.ebuild: alpha keyword diff --git a/app-admin/pwgen/Manifest b/app-admin/pwgen/Manifest index be2e982d0a8a..8435ae177e49 100644 --- a/app-admin/pwgen/Manifest +++ b/app-admin/pwgen/Manifest @@ -1,6 +1,7 @@ -MD5 b18918352b016809c62a1de3d9442d49 pwgen-2.03-r1.ebuild 759 +MD5 d7c6b7d77e37ebd6697c2e86d4a8d451 pwgen-2.03-r1.ebuild 742 MD5 76ec9ac51b2962aa02aadeee7c287a40 pwgen-2.01.ebuild 690 -MD5 9fa7ca52c01fc96ed4432cc2e07f3be4 ChangeLog 1247 +MD5 bd77c74c3ff772d0ec4eefa125af47e9 pwgen-2.03.ebuild 693 +MD5 dd26e9cd2604b4ebf3af7ffc225dce1a ChangeLog 1561 MD5 4dad0b929b330e3134b59bc5590e626a files/digest-pwgen-2.01 61 MD5 d4c95e5c5360c31261a443a3441add43 files/digest-pwgen-2.03 61 MD5 d4c95e5c5360c31261a443a3441add43 files/digest-pwgen-2.03-r1 61 diff --git a/app-admin/pwgen/files/digest-pwgen-2.03-r1 b/app-admin/pwgen/files/digest-pwgen-2.03-r1 new file mode 100644 index 000000000000..e1b14250f17d --- /dev/null +++ b/app-admin/pwgen/files/digest-pwgen-2.03-r1 @@ -0,0 +1 @@ +MD5 1a73657a0a10f3c3d00933036369e702 pwgen-2.03.tar.gz 23367 diff --git a/app-admin/pwgen/files/pwgen-2.03-addl_pw_chars.patch b/app-admin/pwgen/files/pwgen-2.03-addl_pw_chars.patch new file mode 100644 index 000000000000..457aa2a362e6 --- /dev/null +++ b/app-admin/pwgen/files/pwgen-2.03-addl_pw_chars.patch @@ -0,0 +1,11 @@ +--- pwgen-2.03/pw_rand.orig.c 2003-09-14 20:29:50.000000000 +0100 ++++ pwgen-2.03/pw_rand.c 2003-09-14 20:31:07.000000000 +0100 +@@ -11,7 +11,7 @@ + #include <string.h> + #include "pwgen.h" + +-#define PW_CHARS "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" ++#define PW_CHARS "!@#$%^&*()-_=+|<>?][{}0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + + void pw_rand(char *buf, int size, int pw_flags) + { diff --git a/app-admin/pwgen/pwgen-2.03-r1.ebuild b/app-admin/pwgen/pwgen-2.03-r1.ebuild new file mode 100644 index 000000000000..9657a227198b --- /dev/null +++ b/app-admin/pwgen/pwgen-2.03-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.03-r1.ebuild,v 1.1 2003/09/22 02:48:45 seemant Exp $ + +inherit eutils + +DESCRIPTION="Password Generator" +SRC_URI="mirror://sourceforge/pwgen/${P}.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/pwgen/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~hppa ~amd64 ~alpha" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} ; cd ${S} + + sed -i -e 's:$(prefix)/man/man1:$(mandir)/man1:g' Makefile.in + + epatch ${FILESDIR}/${P}-addl_pw_chars.patch +} + +src_compile() { + econf --sysconfdir=/etc/pwgen + make || die +} + +src_install() { + make DESTDIR=${D} install || die +} |