diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-06-17 19:37:19 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-06-17 19:37:19 +0000 |
commit | f4a3f86e2a186c545332d53e7bde5fa9f34a0760 (patch) | |
tree | 4fda04f61bc12d2c709f2a96a7373013f7142694 | |
parent | Added a workaround for bug #53825. (diff) | |
download | historical-f4a3f86e2a186c545332d53e7bde5fa9f34a0760.tar.gz historical-f4a3f86e2a186c545332d53e7bde5fa9f34a0760.tar.bz2 historical-f4a3f86e2a186c545332d53e7bde5fa9f34a0760.zip |
Taking ownership for livecd herd (previously unmaintained) and adding init script if USE=livecd.
-rw-r--r-- | app-admin/pwgen/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/pwgen/Manifest | 11 | ||||
-rw-r--r-- | app-admin/pwgen/files/digest-pwgen-2.03 | 1 | ||||
-rw-r--r-- | app-admin/pwgen/files/pwgen.rc | 19 | ||||
-rw-r--r-- | app-admin/pwgen/metadata.xml | 6 | ||||
-rw-r--r-- | app-admin/pwgen/pwgen-2.01.ebuild | 5 | ||||
-rw-r--r-- | app-admin/pwgen/pwgen-2.03-r1.ebuild | 5 | ||||
-rw-r--r-- | app-admin/pwgen/pwgen-2.03.ebuild | 29 |
8 files changed, 38 insertions, 46 deletions
diff --git a/app-admin/pwgen/ChangeLog b/app-admin/pwgen/ChangeLog index 79650527a864..5e3a18803551 100644 --- a/app-admin/pwgen/ChangeLog +++ b/app-admin/pwgen/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/pwgen # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/ChangeLog,v 1.19 2004/06/06 11:24:07 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/ChangeLog,v 1.20 2004/06/17 19:37:19 wolf31o2 Exp $ + + 17 Jun 2004; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml, + +files/pwgen.rc, pwgen-2.01.ebuild, pwgen-2.03-r1.ebuild, + -pwgen-2.03.ebuild: + Taking ownership for livecd herd (previously unmaintained) and adding init + script if USE=livecd. 06 Jun 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml, pwgen-2.01.ebuild, pwgen-2.03-r1.ebuild, pwgen-2.03.ebuild: diff --git a/app-admin/pwgen/Manifest b/app-admin/pwgen/Manifest index 632ec83ec75f..29ea33c823d1 100644 --- a/app-admin/pwgen/Manifest +++ b/app-admin/pwgen/Manifest @@ -1,9 +1,8 @@ -MD5 59f242c3c3e8fede4aab6b251b8c4d3f pwgen-2.01.ebuild 731 -MD5 19cdee7731839db4b1a77c4f87f1ce37 pwgen-2.03-r1.ebuild 782 -MD5 a197cecc2340eaa79622d57320c96630 pwgen-2.03.ebuild 709 -MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310 -MD5 7f863c742b138b23d9c57049b11e03f6 ChangeLog 2593 +MD5 3e8602d6379dc56a4f132a6a4b4202b4 pwgen-2.03-r1.ebuild 857 +MD5 f20681b1590dedb3c29dc4e37ac48d0e pwgen-2.01.ebuild 806 +MD5 c17c497ebcd450d5e77a3d17a33e8630 ChangeLog 2842 +MD5 d86e5b5e47260e5a965eae2afe6d6d40 metadata.xml 159 MD5 4dad0b929b330e3134b59bc5590e626a files/digest-pwgen-2.01 61 -MD5 d4c95e5c5360c31261a443a3441add43 files/digest-pwgen-2.03 61 +MD5 0075fdadef82571e1915079d9f405a9c files/pwgen.rc 494 MD5 d4c95e5c5360c31261a443a3441add43 files/digest-pwgen-2.03-r1 61 MD5 617fae2e424b533bb7978c5958b43bbd files/pwgen-2.03-addl_pw_chars.patch 430 diff --git a/app-admin/pwgen/files/digest-pwgen-2.03 b/app-admin/pwgen/files/digest-pwgen-2.03 deleted file mode 100644 index e1b14250f17d..000000000000 --- a/app-admin/pwgen/files/digest-pwgen-2.03 +++ /dev/null @@ -1 +0,0 @@ -MD5 1a73657a0a10f3c3d00933036369e702 pwgen-2.03.tar.gz 23367 diff --git a/app-admin/pwgen/files/pwgen.rc b/app-admin/pwgen/files/pwgen.rc new file mode 100644 index 000000000000..86a786220504 --- /dev/null +++ b/app-admin/pwgen/files/pwgen.rc @@ -0,0 +1,19 @@ +#!/sbin/runscript +# 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/files/pwgen.rc,v 1.1 2004/06/17 19:37:19 wolf31o2 Exp $ + +depend() { + before local +} + +start() { + ebegin "Auto-scrambling root password for security" + echo root:\`pwgen -s 16\` | chpasswd > /dev/null 2>&1 + eend $? "Failed to start local." +} + +stop() { + ebegin "Stopping local" + eend $? "Failed to stop local." +} diff --git a/app-admin/pwgen/metadata.xml b/app-admin/pwgen/metadata.xml index d8b96be3c5cd..88653ddd7172 100644 --- a/app-admin/pwgen/metadata.xml +++ b/app-admin/pwgen/metadata.xml @@ -1,9 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>bug-wranglers@gentoo.org</email> - <description>This package lacks a primary herd or maintainer.</description> - </maintainer> +<herd>livecd</herd> </pkgmetadata> diff --git a/app-admin/pwgen/pwgen-2.01.ebuild b/app-admin/pwgen/pwgen-2.01.ebuild index 4b16bcb6a965..567b0349df7d 100644 --- a/app-admin/pwgen/pwgen-2.01.ebuild +++ b/app-admin/pwgen/pwgen-2.01.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.01.ebuild,v 1.18 2004/06/06 11:24:07 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.01.ebuild,v 1.19 2004/06/17 19:37:19 wolf31o2 Exp $ DESCRIPTION="Password Generator" SRC_URI="mirror://sourceforge/pwgen/${P}.tar.gz" @@ -8,7 +8,7 @@ HOMEPAGE="http://sourceforge.net/projects/pwgen/" SLOT="0" LICENSE="GPL-2" -IUSE="" +IUSE="livecd" KEYWORDS="x86 ppc sparc hppa ~alpha" DEPEND="virtual/glibc" @@ -25,4 +25,5 @@ src_compile() { src_install() { make DESTDIR=${D} install || die + use livecd && exeinto /etc/init.d && newexe ${FILESDIR}/pwgen.rc pwgen } diff --git a/app-admin/pwgen/pwgen-2.03-r1.ebuild b/app-admin/pwgen/pwgen-2.03-r1.ebuild index 55ff7b27faab..a4154050b6cd 100644 --- a/app-admin/pwgen/pwgen-2.03-r1.ebuild +++ b/app-admin/pwgen/pwgen-2.03-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 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.11 2004/06/06 11:24:07 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.03-r1.ebuild,v 1.12 2004/06/17 19:37:19 wolf31o2 Exp $ inherit eutils @@ -10,7 +10,7 @@ HOMEPAGE="http://sourceforge.net/projects/pwgen/" SLOT="0" LICENSE="GPL-2" -IUSE="" +IUSE="livecd" KEYWORDS="x86 ~ppc sparc hppa amd64 alpha mips ppc64" DEPEND="virtual/glibc" @@ -30,4 +30,5 @@ src_compile() { src_install() { make DESTDIR=${D} install || die + use livecd && exeinto /etc/init.d && newexe ${FILESDIR}/pwgen.rc pwgen } diff --git a/app-admin/pwgen/pwgen-2.03.ebuild b/app-admin/pwgen/pwgen-2.03.ebuild deleted file mode 100644 index a5a5e1476478..000000000000 --- a/app-admin/pwgen/pwgen-2.03.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2004 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.ebuild,v 1.11 2004/06/06 11:24:07 dragonheart Exp $ - -DESCRIPTION="Password Generator" -SRC_URI="mirror://sourceforge/pwgen/${P}.tar.gz" -HOMEPAGE="http://sourceforge.net/projects/pwgen/" - -SLOT="0" -LICENSE="GPL-2" -IUSE="" -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 -} - -src_compile() { - econf --sysconfdir=/etc/pwgen || die "econf failed" - emake || die -} - -src_install() { - make DESTDIR=${D} install || die -} |