diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-11-30 21:42:05 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-11-30 21:42:05 +0000 |
commit | 2421e3d194269aa6074cc97cb68181727748516d (patch) | |
tree | ba4f06b71004b4d3257a18d7de1189edc7c01093 /app-admin/usermin | |
parent | Remove x86-fbsd keyword and profile, let people on Gentoo/FreeBSD use the pat... (diff) | |
download | gentoo-2-2421e3d194269aa6074cc97cb68181727748516d.tar.gz gentoo-2-2421e3d194269aa6074cc97cb68181727748516d.tar.bz2 gentoo-2-2421e3d194269aa6074cc97cb68181727748516d.zip |
Version bump for security bug #113888.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'app-admin/usermin')
-rw-r--r-- | app-admin/usermin/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/usermin/Manifest | 18 | ||||
-rw-r--r-- | app-admin/usermin/files/digest-usermin-1.180 | 1 | ||||
-rw-r--r-- | app-admin/usermin/usermin-1.180.ebuild | 90 |
4 files changed, 103 insertions, 14 deletions
diff --git a/app-admin/usermin/ChangeLog b/app-admin/usermin/ChangeLog index 2df9237410be..b0d269d4aa59 100644 --- a/app-admin/usermin/ChangeLog +++ b/app-admin/usermin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/usermin # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.76 2005/09/24 19:13:05 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.77 2005/11/30 21:42:05 eradicator Exp $ + +*usermin-1.180 (30 Nov 2005) + + 30 Nov 2005; Jeremy Huddleston <eradicator@gentoo.org> + +usermin-1.180.ebuild: + Version bump for security bug #113888. 24 Sep 2005; Jeremy Huddleston <eradicator@gentoo.org> -files/usermin-1.100-setup-nocheck.patch, -usermin-1.130-r1.ebuild: diff --git a/app-admin/usermin/Manifest b/app-admin/usermin/Manifest index 9b4105ea85b6..d8711765d014 100644 --- a/app-admin/usermin/Manifest +++ b/app-admin/usermin/Manifest @@ -1,19 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226 -MD5 75570ea70b71e0c8472e09664024950f usermin-1.160.ebuild 2290 MD5 2114cb71e24db72292efc3ef29091b25 ChangeLog 10402 MD5 0267babe04fc651a7357b983fe40ec98 files/digest-usermin-1.160 66 +MD5 73577e1e79ca49e1a7083b3e1c53a1c6 files/digest-usermin-1.180 66 MD5 2e7c19bb66f99c168fc2e86b4bb4862c files/init.d.usermin 825 MD5 bd4b2cc177b4fb7b0f96edc60008a6b5 files/usermin-1.080-safestop.patch 620 +MD5 ba4e105ca9f8d294ba4e3d7774bf0760 files/usermin-1.150-setup-nocheck.patch 998 MD5 2e7603feaff187884dd9b1e66601f02b files/usermin.pam 382 MD5 609774f17b0470a793fb7791278e270d files/usermin.pam-include 210 -MD5 ba4e105ca9f8d294ba4e3d7774bf0760 files/usermin-1.150-setup-nocheck.patch 998 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDNaV3ArHZZzCEUG0RAlFlAJ9Lk+pOn8GjqGXIVPbl1MAwodJKFQCeLqP+ -a3Vr2xvYi68V0g9yusQojq4= -=x+ur ------END PGP SIGNATURE----- +MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226 +MD5 75570ea70b71e0c8472e09664024950f usermin-1.160.ebuild 2290 +MD5 d5ca9f50f255b6f8f5099598ea5bd36e usermin-1.180.ebuild 2294 diff --git a/app-admin/usermin/files/digest-usermin-1.180 b/app-admin/usermin/files/digest-usermin-1.180 new file mode 100644 index 000000000000..19f07095ff48 --- /dev/null +++ b/app-admin/usermin/files/digest-usermin-1.180 @@ -0,0 +1 @@ +MD5 8741cb3dba361b4aa36c2c5f62a6804a usermin-1.180.tar.gz 2691085 diff --git a/app-admin/usermin/usermin-1.180.ebuild b/app-admin/usermin/usermin-1.180.ebuild new file mode 100644 index 000000000000..68641cf487fa --- /dev/null +++ b/app-admin/usermin/usermin-1.180.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.180.ebuild,v 1.1 2005/11/30 21:42:05 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 +} |