diff options
author | Stefan Jones <cretin@gentoo.org> | 2002-11-08 22:43:41 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2002-11-08 22:43:41 +0000 |
commit | aa15a4925fc8041b11bb163f6388a7e29838a022 (patch) | |
tree | c46e099d8947c437bf3c8c07cedd3a70d6f526f0 /app-admin/usermin | |
parent | new package snac - a Neat Algebraic Calculator. (diff) | |
download | gentoo-2-aa15a4925fc8041b11bb163f6388a7e29838a022.tar.gz gentoo-2-aa15a4925fc8041b11bb163f6388a7e29838a022.tar.bz2 gentoo-2-aa15a4925fc8041b11bb163f6388a7e29838a022.zip |
New package, bug #6190
Diffstat (limited to 'app-admin/usermin')
-rw-r--r-- | app-admin/usermin/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/usermin/files/digest-usermin-0.940 | 1 | ||||
-rw-r--r-- | app-admin/usermin/files/usermin | 20 | ||||
-rw-r--r-- | app-admin/usermin/usermin-0.940.ebuild | 46 |
4 files changed, 76 insertions, 0 deletions
diff --git a/app-admin/usermin/ChangeLog b/app-admin/usermin/ChangeLog new file mode 100644 index 000000000000..e89406d54fe8 --- /dev/null +++ b/app-admin/usermin/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-admin/usermin +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.1 2002/11/08 22:43:41 cretin Exp $ + +*usermin-0.940 (8 Nov 2002) + + 1 Feb 2002; S.A.Jones <cretin@gentoo.org> ChangeLog : + + Added ebuild by James <zeurx@hotmail.com> diff --git a/app-admin/usermin/files/digest-usermin-0.940 b/app-admin/usermin/files/digest-usermin-0.940 new file mode 100644 index 000000000000..93a63e57611a --- /dev/null +++ b/app-admin/usermin/files/digest-usermin-0.940 @@ -0,0 +1 @@ +MD5 399685d3ca3ab67d9e1dc4811d0b4727 usermin-0.940.tar.gz 1420739 diff --git a/app-admin/usermin/files/usermin b/app-admin/usermin/files/usermin new file mode 100644 index 000000000000..77493c07c1de --- /dev/null +++ b/app-admin/usermin/files/usermin @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# By James Stumme (zeurx@hotmail.com) + +depend() { + need net +} + +start() { + ebegin "Starting Usermin" + /usr/sbin/usermin start --pidfile /var/run/usermin.pid + eend $? +} + +stop() { + ebegin "Stopping Usermin" + /usr/sbin/usermin stop --pidfile /var/run/usermin.pid + eend $? +} diff --git a/app-admin/usermin/usermin-0.940.ebuild b/app-admin/usermin/usermin-0.940.ebuild new file mode 100644 index 000000000000..d6fedfa8e51a --- /dev/null +++ b/app-admin/usermin/usermin-0.940.ebuild @@ -0,0 +1,46 @@ +# Copyright 2002, Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-0.940.ebuild,v 1.1 2002/11/08 22:43:41 cretin Exp $ + +IUSE="ssl" + +S=${WORKDIR}/usermin-0.940 + +DESCRIPTION="Usermin, a web-based user administration interface" + +SRC_URI="http://twtelecom.dl.sourceforge.net/sourceforge/webadmin/${P}.tar.gz" + +HOMEPAGE="http://www.webmin.com/index6.html" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="x86 sparc sparc64 alpha ppc" + +DEPEND="sys-devel/perl + ssl? ( dev-perl/Net-SSLeay ) + dev-perl/Authen-PAM" + +src_install() { + dodir /usr/libexec/usermin + dodir /usr/sbin + mv *.* ${D}/usr/libexec/usermin + mv * ${D}/usr/libexec/usermin + exeinto /etc/init.d + newexe ${FILESDIR}/usermin usermin + dosym /usr/libexec/usermin /etc/usermin + dosym /usr/libexec/usermin/usermin-init /usr/sbin/usermin +} + +pkg_postinst() { + einfo "**********************************************************" + einfo "* NOTE: To use usermin go into a web browser and type *" + einfo "* http://localhost:20000 and you will be in usermin. *" + einfo "**********************************************************" + echo "" + einfo "***********************************************" + einfo "* Configure by running /etc/usermin/setup.sh *" + einfo "* To start usermin type usermin start *" + einfo "* To stop usermin type usermin stop *" + einfo "* To restart usermin type usermin restart *" + einfo "***********************************************" +} |