diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-23 00:23:15 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-23 00:23:15 +0000 |
commit | 1a9885b4cea408574a85ab658968aa0c9f4bc22c (patch) | |
tree | 5f3440f28eb9e3d0cf58f6c7c21b3ba1d097b82d /app-admin/usermin/files | |
parent | Move the java-config inside the src_compile so it's not in global scope (Mani... (diff) | |
download | gentoo-2-1a9885b4cea408574a85ab658968aa0c9f4bc22c.tar.gz gentoo-2-1a9885b4cea408574a85ab658968aa0c9f4bc22c.tar.bz2 gentoo-2-1a9885b4cea408574a85ab658968aa0c9f4bc22c.zip |
init file cleaned up. Ebuild cleaned up. Removed old packages.
Diffstat (limited to 'app-admin/usermin/files')
-rw-r--r-- | app-admin/usermin/files/digest-usermin-1.040 | 1 | ||||
-rw-r--r-- | app-admin/usermin/files/digest-usermin-1.051 | 1 | ||||
-rw-r--r-- | app-admin/usermin/files/init.d.usermin | 38 | ||||
-rw-r--r-- | app-admin/usermin/files/usermin-1.070-gentoo.patch | 27 |
4 files changed, 65 insertions, 2 deletions
diff --git a/app-admin/usermin/files/digest-usermin-1.040 b/app-admin/usermin/files/digest-usermin-1.040 deleted file mode 100644 index e2569ec0d330..000000000000 --- a/app-admin/usermin/files/digest-usermin-1.040 +++ /dev/null @@ -1 +0,0 @@ -MD5 f67dc03c2294df2c7ff1c9728d9df1cf usermin-1.040.tar.gz 2007591 diff --git a/app-admin/usermin/files/digest-usermin-1.051 b/app-admin/usermin/files/digest-usermin-1.051 deleted file mode 100644 index 6570d2447eb3..000000000000 --- a/app-admin/usermin/files/digest-usermin-1.051 +++ /dev/null @@ -1 +0,0 @@ -MD5 7c2671dafbf3eb04e96502ac8df43797 usermin-1.051.tar.gz 2026822 diff --git a/app-admin/usermin/files/init.d.usermin b/app-admin/usermin/files/init.d.usermin new file mode 100644 index 000000000000..e74ba1c0af88 --- /dev/null +++ b/app-admin/usermin/files/init.d.usermin @@ -0,0 +1,38 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/files/init.d.usermin,v 1.1 2004/04/23 00:23:15 eradicator Exp $ + +depend() { + need net +} + + +checkconfig() { + if [ -f /etc/usermin/config ]; then + return 0; + else + eerror "Error starting usermin. Have you run '/usr/libexec/usermin/setup.sh'?" + return 1; + fi +} + +start() { # copied from /etc/usermin/start + checkconfig || return 1 + ebegin "Starting Usermin" + + LANG= + export LANG + + unset PERLIO + export PERLIO + start-stop-daemon --start --pidfile /var/run/usermin.pid --make-pidfile --quiet \ + --exec /usr/libexec/usermin/miniserv.pl /etc/usermin/miniserv.conf + eend $? +} + +stop() { + ebegin "Stopping Usermin" + start-stop-daemon --stop --pidfile /var/run/usermin.pid --quiet + eend $? +} diff --git a/app-admin/usermin/files/usermin-1.070-gentoo.patch b/app-admin/usermin/files/usermin-1.070-gentoo.patch new file mode 100644 index 000000000000..355b05a394a5 --- /dev/null +++ b/app-admin/usermin/files/usermin-1.070-gentoo.patch @@ -0,0 +1,27 @@ +--- setup.sh.orig 2004-04-22 16:46:12.000000000 -0700 ++++ setup.sh 2004-04-22 16:49:39.000000000 -0700 +@@ -194,12 +194,12 @@ + fi + + # Ask for log directory +- printf "Log file directory [/var/usermin]: " ++ printf "Log file directory [/var/log/usermin]: " + if [ "$var_dir" = "" ]; then + read var_dir + fi + if [ "$var_dir" = "" ]; then +- var_dir=/var/usermin ++ var_dir=/var/log/usermin + fi + abspath=`echo $var_dir | grep "^/"` + if [ "$abspath" = "" ]; then +@@ -606,7 +606,8 @@ + rm -f $config_dir/install-dir + fi + +-if [ "$nostart" = "" ]; then ++#if [ "$nostart" = "" ]; then ++if false; then + if [ "$inetd" != "1" ]; then + echo "Attempting to start Usermin mini web server.." + $config_dir/start |