diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2006-04-12 08:12:36 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2006-04-12 08:12:36 +0000 |
commit | d28619dd692edfd3b60f35be3587f9e1deb3071f (patch) | |
tree | afe9dc339e5e2b8f2e467301d906ec19a82c1c0b /app-admin/usermin | |
parent | Fix Manifest. (diff) | |
download | gentoo-2-d28619dd692edfd3b60f35be3587f9e1deb3071f.tar.gz gentoo-2-d28619dd692edfd3b60f35be3587f9e1deb3071f.tar.bz2 gentoo-2-d28619dd692edfd3b60f35be3587f9e1deb3071f.zip |
Version bump.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'app-admin/usermin')
-rw-r--r-- | app-admin/usermin/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/usermin/Manifest | 16 | ||||
-rw-r--r-- | app-admin/usermin/files/digest-usermin-1.200 | 3 | ||||
-rw-r--r-- | app-admin/usermin/usermin-1.200.ebuild | 90 |
4 files changed, 106 insertions, 11 deletions
diff --git a/app-admin/usermin/ChangeLog b/app-admin/usermin/ChangeLog index 40f0f450657b..375071961221 100644 --- a/app-admin/usermin/ChangeLog +++ b/app-admin/usermin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/usermin # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.83 2006/03/18 10:12:10 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.84 2006/04/12 08:12:36 eradicator Exp $ + +*usermin-1.200 (12 Apr 2006) + + 12 Apr 2006; Jeremy Huddleston <eradicator@gentoo.org> + +usermin-1.200.ebuild: + Version bump. *usermin-1.190 (18 Mar 2006) diff --git a/app-admin/usermin/Manifest b/app-admin/usermin/Manifest index 787080bfc0f9..6ca3633bbd38 100644 --- a/app-admin/usermin/Manifest +++ b/app-admin/usermin/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 5f5d9cc3120169f7029dbd3aa8678010 ChangeLog 11217 RMD160 9fb3f8e2da7a3d7cda55b51497e368ecbb7003bb ChangeLog 11217 SHA256 0d646c31f2a6a668987c94e6affbf4490197030540cff15ff6c3aeffdb00a50f ChangeLog 11217 @@ -10,6 +7,9 @@ SHA256 7fbf164941747fd82680428345f9c6b1c122c34121480737954c589539a4f32c files/di MD5 3195f02e9675312447d5afad2bdcd586 files/digest-usermin-1.190 244 RMD160 012f16291b5ab62e78f744195ae0082dc7c6df01 files/digest-usermin-1.190 244 SHA256 e5bd416f5783f7da70665ab2b6e526a0dae81d8589c586c7c53a74fdf2f6f96d files/digest-usermin-1.190 244 +MD5 aabef86cde8b3411279a6d9f1dd6fd4b files/digest-usermin-1.200 244 +RMD160 7b034ceb93d6b09205a2e8baaf7bf1ec997d105d files/digest-usermin-1.200 244 +SHA256 388cba621a1ca5f5be12fdebf2ef14f67c24c934b4b308c4d039f06fdde907b9 files/digest-usermin-1.200 244 MD5 2e7c19bb66f99c168fc2e86b4bb4862c files/init.d.usermin 825 RMD160 e3b471844d7dfdfaaa00d3da73d679514f29e5a0 files/init.d.usermin 825 SHA256 b1103d5c733a0c49a19c407a718617454342b19c34f238f11dc20be3356d38bf files/init.d.usermin 825 @@ -34,10 +34,6 @@ SHA256 e4a1c895a85474d6d37c5e4b98fdcd3db1c029fc5053d88a2b75e6fcb897b84b usermin- MD5 38c45ad5509b85398ddc13221bdbcfd4 usermin-1.190.ebuild 2301 RMD160 2640aaea97ba5967ac70dd55f9d8de982694c38e usermin-1.190.ebuild 2301 SHA256 4fb5b717664ce167c430c116d877df0527696186e48ac4724934db56a3865370 usermin-1.190.ebuild 2301 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) - -iD8DBQFEG90SOpjtAl+gMRURAq4cAKCeEdcn2q03fvpG+f4BY5qu1E7k9QCfb+5f -/ByShiIJDRZtQNymF5hPoME= -=J5Wh ------END PGP SIGNATURE----- +MD5 38c45ad5509b85398ddc13221bdbcfd4 usermin-1.200.ebuild 2301 +RMD160 2640aaea97ba5967ac70dd55f9d8de982694c38e usermin-1.200.ebuild 2301 +SHA256 4fb5b717664ce167c430c116d877df0527696186e48ac4724934db56a3865370 usermin-1.200.ebuild 2301 diff --git a/app-admin/usermin/files/digest-usermin-1.200 b/app-admin/usermin/files/digest-usermin-1.200 new file mode 100644 index 000000000000..76fc55ad97ba --- /dev/null +++ b/app-admin/usermin/files/digest-usermin-1.200 @@ -0,0 +1,3 @@ +MD5 bc120f3a3fb99d44e43665d351e7f266 usermin-1.200.tar.gz 2886325 +RMD160 c0556e2ddcfab8161e613ba1602f17970d4c0d91 usermin-1.200.tar.gz 2886325 +SHA256 5631c7580eea4ddd43f2114b176c2cfa7c715bb207ae54ef1640d0a92d893932 usermin-1.200.tar.gz 2886325 diff --git a/app-admin/usermin/usermin-1.200.ebuild b/app-admin/usermin/usermin-1.200.ebuild new file mode 100644 index 000000000000..cdb8b6d09764 --- /dev/null +++ b/app-admin/usermin/usermin-1.200.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.200.ebuild,v 1.1 2006/04/12 08:12:36 eradicator Exp $ + +IUSE="ssl" + +inherit eutils pam + +DESCRIPTION="a web-based user administration interface" +HOMEPAGE="http://www.webmin.com/index6.html" +SRC_URI="mirror://sourceforge/webadmin/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +DEPEND="dev-lang/perl" + +RDEPEND="${DEPEND} + sys-process/lsof + ssl? ( dev-perl/Net-SSLeay )" + +# pam? ( dev-perl/Authen-PAM ) + + +src_unpack() { + unpack ${A} + + cd ${S} + + # Point to the correct mysql location + sed -i -e "s:/usr/local/mysql:/usr:g" mysql/config + + epatch ${FILESDIR}/${PN}-1.080-safestop.patch + epatch ${FILESDIR}/${PN}-1.150-setup-nocheck.patch +} + +src_install() { + # Change /usr/local/bin/perl references + find . -type f | xargs sed -i -e 's:^#!.*/usr/local/bin/perl:#!/usr/bin/perl:' + + dodir /usr/libexec/usermin + cp -pR * ${D}/usr/libexec/usermin + + newinitd ${FILESDIR}/init.d.usermin usermin + + newpamd ${FILESDIR}/${PN}.pam-include ${PN} + + # Fix ownership + chown -R root:0 ${D} + + dodir /etc/usermin + dodir /var/log/usermin + + config_dir=${D}/etc/usermin + var_dir=${D}/var/log/usermin + perl=${ROOT}/usr/bin/perl + autoos=1 + port=20000 + login=root + crypt="XXX" + host=`hostname` + use ssl && ssl=1 || ssl=0 + atboot=0 + nostart=1 + nochown=1 + autothird=1 + nouninstall=1 + noperlpath=1 + tempdir="${T}" + export config_dir var_dir perl autoos port login crypt host ssl atboot nostart nochown autothird nouninstall noperlpath tempdir + ${D}/usr/libexec/usermin/setup.sh > ${T}/usermin-setup.out 2>&1 || die "Failed to create initial usermin configuration." + + # Fixup the config files to use their real locations + sed -i -e "s:^pidfile=.*$:pidfile=${ROOT}/var/run/usermin.pid:" ${D}/etc/usermin/miniserv.conf + find ${D}/etc/usermin -type f | xargs sed -i -e "s:${D}:${ROOT}:g" + + # Cleanup from the config script + rm -rf ${D}/var/log/usermin + keepdir /var/log/usermin/ +} + +pkg_postinst() { + einfo "To make usermin start at boot time, run: 'rc-update add usermin default'." + einfo "Point your web browser to http://localhost:20000 to use usermin." +} + +pkg_prerm() { + ${ROOT}/etc/init.d/usermin stop >& /dev/null +} |