diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-15 22:49:31 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-15 22:49:31 +0000 |
commit | cb2e1e0c8e3e025531ab9d0ba68cb04176854aa6 (patch) | |
tree | c88707b1724a8be15fd09f9da7b813f498213217 /app-admin/usermin | |
parent | Added to ~amd64. Stable x86. Added patch to fix nptl support. (Manifest rec... (diff) | |
download | gentoo-2-cb2e1e0c8e3e025531ab9d0ba68cb04176854aa6.tar.gz gentoo-2-cb2e1e0c8e3e025531ab9d0ba68cb04176854aa6.tar.bz2 gentoo-2-cb2e1e0c8e3e025531ab9d0ba68cb04176854aa6.zip |
Fixes security hole. Upgrade HIGHLY recommended. See bug #54030 for more information. Added ~amd64
Diffstat (limited to 'app-admin/usermin')
-rw-r--r-- | app-admin/usermin/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/usermin/Manifest | 20 | ||||
-rw-r--r-- | app-admin/usermin/files/digest-usermin-1.080 | 1 | ||||
-rw-r--r-- | app-admin/usermin/usermin-1.080.ebuild | 83 |
4 files changed, 103 insertions, 10 deletions
diff --git a/app-admin/usermin/ChangeLog b/app-admin/usermin/ChangeLog index 1e265a5df714..1c1be2ec93aa 100644 --- a/app-admin/usermin/ChangeLog +++ b/app-admin/usermin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/usermin # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.24 2004/06/06 14:00:20 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.25 2004/06/15 22:49:31 eradicator Exp $ + +*usermin-1.080 (15 Jun 2004) + + 15 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> + +usermin-1.080.ebuild: + Fixes security hole. Upgrade HIGHLY recommended. See bug #54030 for more + information. Added ~amd64 06 Jun 2004; Jason Wever <weeve@gentoo.org> usermin-1.070-r1.ebuild: Stable on sparc. diff --git a/app-admin/usermin/Manifest b/app-admin/usermin/Manifest index cab7deb1792b..d70336f0f2a7 100644 --- a/app-admin/usermin/Manifest +++ b/app-admin/usermin/Manifest @@ -1,16 +1,18 @@ -MD5 72eaa9f40244ad9714791d985bd9a636 ChangeLog 3695 +MD5 612ebfb1f4d959c8878b2773daa75ac6 ChangeLog 3694 MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226 -MD5 d78c715ba86f536a2d9425828d1f7a0d usermin-1.000.ebuild 1264 -MD5 07d9e3a8c690feb92fe3687d8f296e09 usermin-1.030.ebuild 1237 -MD5 eab28f2d7dc7c521fdb83b93cfcf2575 usermin-1.070-r1.ebuild 1963 -MD5 cd6093c047375d1997352c9f7d62d16d usermin-1.060-r1.ebuild 1382 +MD5 7c4fec42e4c3b16c70fc679dfa060612 usermin-1.000.ebuild 1263 +MD5 1d9c5a2ebb7450b9b43f161b02adcf8d usermin-1.030.ebuild 1236 +MD5 11ef2063f79bb9fd45d547bed001b9cd usermin-1.060-r1.ebuild 1381 +MD5 f128225d5bce42bd7e1579bd7ac42440 usermin-1.070-r1.ebuild 1962 +MD5 f128225d5bce42bd7e1579bd7ac42440 usermin-1.080.ebuild 1962 MD5 9b49ce0b06e30694e52d3a84155c9506 files/digest-usermin-1.000 66 MD5 990bf7fe2948e8a6ee94f64d234ab0fb files/digest-usermin-1.030 66 -MD5 b534264bfd7919ee69fcb6ed08a7009c files/digest-usermin-1.070-r1 66 -MD5 0fcbd9e8ddca335a087f7ead3deb1efb files/init.d.usermin 878 -MD5 a5311bbc9c1fc378a6b0bfb3ca1b2394 files/usermin.pam 431 MD5 29bc2b77db966f5dcda6194daa7d9f2b files/digest-usermin-1.060-r1 66 +MD5 b534264bfd7919ee69fcb6ed08a7009c files/digest-usermin-1.070-r1 66 +MD5 27cf4d988e5a6b52ed95aa6477f02858 files/init.d.usermin 877 MD5 7a879dcebf3fef686df3b84253eef748 files/usermin-1.070-gentoo.patch 708 +MD5 a5311bbc9c1fc378a6b0bfb3ca1b2394 files/usermin.pam 431 +MD5 e6e25dc89f0ccd9ce1af4b508d27a5d6 files/digest-usermin-1.080 66 MD5 132cc62364a676b308f4ad7da4ea889b files/patch/setup.sh 16690 -MD5 3a7d31f2e22610f8807888f7daa5f1a9 files/patch/usermin 478 +MD5 48aee77f7a9bdd8d31c06fbee1613b16 files/patch/usermin 477 MD5 3b136185745fbd0f394df41aabbc06d9 files/patch/usermin-init 1355 diff --git a/app-admin/usermin/files/digest-usermin-1.080 b/app-admin/usermin/files/digest-usermin-1.080 new file mode 100644 index 000000000000..7d64a154fe5b --- /dev/null +++ b/app-admin/usermin/files/digest-usermin-1.080 @@ -0,0 +1 @@ +MD5 4145e04517f3aa5277f116d0958754c6 usermin-1.080.tar.gz 2027120 diff --git a/app-admin/usermin/usermin-1.080.ebuild b/app-admin/usermin/usermin-1.080.ebuild new file mode 100644 index 000000000000..53e614cd44fd --- /dev/null +++ b/app-admin/usermin/usermin-1.080.ebuild @@ -0,0 +1,83 @@ +# 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/usermin-1.080.ebuild,v 1.1 2004/06/15 22:49:31 eradicator Exp $ + +inherit eutils + +DESCRIPTION="a web-based user administration interface" +HOMEPAGE="http://www.webmin.com/index6.html" +SRC_URI="mirror://sourceforge/webadmin/${P}.tar.gz" +RESTRICT="nomirror" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86 sparc ~alpha ~ppc ~amd64" +IUSE="ssl" + +RDEPEND="dev-lang/perl + sys-apps/lsof + >=sys-apps/sed-4 + dev-perl/Authen-PAM + ssl? ( dev-perl/Net-SSLeay )" + +src_unpack() { + unpack ${A} + + cd ${S} + + # Point to the correct mysql location + sed -i "s:/usr/local/mysql:/usr:g" mysql/config + + # Bug #46273... missing config for gentoo + cp quota/generic-linux-lib.pl quota/gentoo-linux-lib.p +} + +src_install() { + dodir /usr/libexec/usermin + cp -a * ${D}/usr/libexec/usermin + + exeinto /etc/init.d + newexe ${FILESDIR}/init.d.usermin usermin + + insinto /etc/pam.d + newins ${FILESDIR}/${PN}.pam ${PN} + + dosym ../usr/libexec/usermin /etc/usermin +} + +pkg_postinst() { + /etc/init.d/usermin stop >& /dev/null + stopstatus=$? + + cd /usr/libexec/usermin + config_dir=/etc/usermin + var_dir=/var/log/usermin + perl=/usr/bin/perl + autoos=1 + port=10000 + login=root + crypt=`grep "^root:" /etc/shadow | cut -f 2 -d :` + host=`hostname` + use ssl && ssl=1 || ssl=0 + atboot=0 + nostart=1 + nochown=1 + autothird=1 + nouninstall=1 + noperlpath=1 + export config_dir var_dir perl autoos port login crypt host ssl nochown autothird nouninstall nostart noperlpath + perl /usr/libexec/usermin/maketemp.pl + ./setup.sh > /tmp/.webmin/usermin-setup.out 2>&1 + + if [ "$stopstatus" = "0" ]; then + # Start if it was running before + /etc/init.d/usermin start + fi + + einfo "Add usermin to your boot-time services with 'rc-update add usermin'." + einfo "Point your web browser to http://localhost:20000 to use usermin." +} + +pkg_prerm() { + /etc/init.d/usermin stop >& /dev/null +} |