summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-06-17 19:37:19 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-06-17 19:37:19 +0000
commitb7556baf51eef648bd6d6cbf625d7eba506c6025 (patch)
tree2593484a1984c1959addc8ee7202c7466d339f9c /app-admin
parentAdded a workaround for bug #53825. (Manifest recommit) (diff)
downloadgentoo-2-b7556baf51eef648bd6d6cbf625d7eba506c6025.tar.gz
gentoo-2-b7556baf51eef648bd6d6cbf625d7eba506c6025.tar.bz2
gentoo-2-b7556baf51eef648bd6d6cbf625d7eba506c6025.zip
Taking ownership for livecd herd (previously unmaintained) and adding init script if USE=livecd.
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/pwgen/ChangeLog8
-rw-r--r--app-admin/pwgen/files/digest-pwgen-2.031
-rw-r--r--app-admin/pwgen/files/pwgen.rc19
-rw-r--r--app-admin/pwgen/metadata.xml6
-rw-r--r--app-admin/pwgen/pwgen-2.01.ebuild5
-rw-r--r--app-admin/pwgen/pwgen-2.03-r1.ebuild5
-rw-r--r--app-admin/pwgen/pwgen-2.03.ebuild29
7 files changed, 33 insertions, 40 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/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
-}