diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-26 08:34:48 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-26 08:34:48 +0000 |
commit | d57d6c305fd0c4f2810b5c14e113680e3b3e9413 (patch) | |
tree | b0c0deb0f15e0d9f324c6f316bde4ed926f7fe20 /app-admin | |
parent | Initial import. Thanks to Joseph Booker <joe@neoturbine.net>, Leander <leande... (diff) | |
download | historical-d57d6c305fd0c4f2810b5c14e113680e3b3e9413.tar.gz historical-d57d6c305fd0c4f2810b5c14e113680e3b3e9413.tar.bz2 historical-d57d6c305fd0c4f2810b5c14e113680e3b3e9413.zip |
Add a test to setup.sh's stop command to fix possible borkage on upgrade.
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/usermin/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/usermin/Manifest | 7 | ||||
-rw-r--r-- | app-admin/usermin/files/usermin-1.080-safestop.patch | 12 | ||||
-rw-r--r-- | app-admin/usermin/usermin-1.080-r1.ebuild | 4 |
4 files changed, 24 insertions, 5 deletions
diff --git a/app-admin/usermin/ChangeLog b/app-admin/usermin/ChangeLog index 59c6e4786218..0d59a2cddd78 100644 --- a/app-admin/usermin/ChangeLog +++ b/app-admin/usermin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/usermin # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.33 2004/07/08 19:14:19 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.34 2004/07/26 08:34:48 eradicator Exp $ + + 26 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + +files/usermin-1.080-safestop.patch, usermin-1.080-r1.ebuild: + Add a test to setup.sh's stop command to fix possible borkage on upgrade. 08 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> usermin-1.080-r1.ebuild: diff --git a/app-admin/usermin/Manifest b/app-admin/usermin/Manifest index 1f465c08e186..982e399fff23 100644 --- a/app-admin/usermin/Manifest +++ b/app-admin/usermin/Manifest @@ -1,6 +1,7 @@ -MD5 47243089a1f3e1e2dedd49325166e8ca usermin-1.080-r1.ebuild 2168 -MD5 cd59a82442a51e324b7e4e7d306c18a1 ChangeLog 4866 +MD5 5d7d58a37ce936f3a45ce0549e0c2f34 ChangeLog 5064 MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226 +MD5 53c8a06cf1881522103be46b4b28f689 usermin-1.080-r1.ebuild 2209 MD5 e6e25dc89f0ccd9ce1af4b508d27a5d6 files/digest-usermin-1.080-r1 66 -MD5 a5311bbc9c1fc378a6b0bfb3ca1b2394 files/usermin.pam 431 +MD5 bd4b2cc177b4fb7b0f96edc60008a6b5 files/usermin-1.080-safestop.patch 620 MD5 9e90c17c1e63a8027bbb4e7aa18f8b20 files/init.d.usermin 821 +MD5 a5311bbc9c1fc378a6b0bfb3ca1b2394 files/usermin.pam 431 diff --git a/app-admin/usermin/files/usermin-1.080-safestop.patch b/app-admin/usermin/files/usermin-1.080-safestop.patch new file mode 100644 index 000000000000..2cfd7e25e7fb --- /dev/null +++ b/app-admin/usermin/files/usermin-1.080-safestop.patch @@ -0,0 +1,12 @@ +diff -Naur usermin-1.080.orig/setup.sh usermin-1.080/setup.sh +--- usermin-1.080.orig/setup.sh 2004-06-03 16:18:07.000000000 -0700 ++++ usermin-1.080/setup.sh 2004-07-26 01:27:23.959104711 -0700 +@@ -487,7 +487,7 @@ + echo "#!/bin/sh" >>$config_dir/stop + echo "echo Stopping Usermin server in $wadir" >>$config_dir/stop + echo "pidfile=\`grep \"^pidfile=\" $config_dir/miniserv.conf | sed -e 's/pidfile=//g'\`" >>$config_dir/stop +-echo "kill \`cat \$pidfile\`" >>$config_dir/stop ++echo "test -z \"\$pidfile\" || kill \`cat \$pidfile\`" >>$config_dir/stop + chmod 755 $config_dir/start $config_dir/stop + echo "..done" + echo "" diff --git a/app-admin/usermin/usermin-1.080-r1.ebuild b/app-admin/usermin/usermin-1.080-r1.ebuild index 0e11513d048a..8d3e4ea9ec22 100644 --- a/app-admin/usermin/usermin-1.080-r1.ebuild +++ b/app-admin/usermin/usermin-1.080-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.080-r1.ebuild,v 1.5 2004/07/08 19:14:19 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.080-r1.ebuild,v 1.6 2004/07/26 08:34:48 eradicator Exp $ inherit eutils @@ -30,6 +30,8 @@ src_unpack() { # Bug #46273... missing config for gentoo cp quota/generic-linux-lib.pl quota/gentoo-linux-lib.p + + epatch ${FILESDIR}/${P}-safestop.patch } src_install() { |