Version bump for security bug #113888.
authorJeremy Huddleston <eradicator@gentoo.org>
Wed, 30 Nov 2005 21:42:05 +0000 (21:42 +0000)
committerJeremy Huddleston <eradicator@gentoo.org>
Wed, 30 Nov 2005 21:42:05 +0000 (21:42 +0000)
Package-Manager: portage-2.0.53_rc7

app-admin/usermin/ChangeLog
app-admin/usermin/Manifest
app-admin/usermin/files/digest-usermin-1.180 [new file with mode: 0644]
app-admin/usermin/usermin-1.180.ebuild [new file with mode: 0644]
app-admin/webmin/ChangeLog
app-admin/webmin/Manifest
app-admin/webmin/files/digest-webmin-1.250 [new file with mode: 0644]
app-admin/webmin/webmin-1.250.ebuild [new file with mode: 0644]

index 2df9237410bed43511978c1cd076d57c07e791c9..b0d269d4aa5970c924566ded64bc676a540e9c96 100644 (file)
@@ -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:
index 9b4105ea85b69d8b0fb9b880f7bd34fdc34bd104..d8711765d014c2bfa6dd81ac53a9b9ef272bfcb1 100644 (file)
@@ -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 (file)
index 0000000..19f0709
--- /dev/null
@@ -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 (file)
index 0000000..68641cf
--- /dev/null
@@ -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
+}
index e9429b4560254010252f6a3fe5438e86341e586e..04f921739bf280d01488be1900ad4ac67585f0d6 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-admin/webmin
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/ChangeLog,v 1.104 2005/10/03 14:38:36 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/ChangeLog,v 1.105 2005/11/30 21:42:05 eradicator Exp $
+
+*webmin-1.250 (30 Nov 2005)
+
+  30 Nov 2005; Jeremy Huddleston <eradicator@gentoo.org>
+  +webmin-1.250.ebuild:
+  Version bump for security bug #113888.
 
   03 Oct 2005; MATSUU Takuto <matsuu@gentoo.org> webmin-1.230.ebuild:
   Stable on sh.
index 22c5440f0db50e1463c0faa7a2fbe52a05ba78d2..620e687f3262ebd9fad040c29e4b49797247c795 100644 (file)
@@ -1,20 +1,22 @@
-MD5 c175a83cebd240b2c52e5890de97c0cf webmin-1.230.ebuild 4102
-MD5 c6d3309b62a5ba19e3aa3893e0cca346 webmin-1.170-r3.ebuild 3681
 MD5 f858b0268004dd4d6832997b69aab46f ChangeLog 3595
-MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226
-MD5 512204473654b6eb41308d3319ba6144 files/webmin-1.170-setup-nocheck.patch 943
-MD5 cc16dcb159f84c912365504002444a08 files/virtual-server-2.31-namevirtual.patch 2951
-MD5 6a55026b21c4da9284b31236deeceda7 files/webmin-gentoo-init 864
+MD5 6d9dfc76f788500ff3c85cbb42667487 files/digest-webmin-1.170-r3 209
+MD5 1b791b42466b4d6db599c2b8fed29871 files/digest-webmin-1.230 210
+MD5 960512668a4e3d56a9e2ad43881852fc files/digest-webmin-1.250 210
+MD5 54dc8937e05bd76ad86a6c5f5ae6a333 files/init.d.webmin 859
 MD5 bc8eb1c9de103599fc00b140b0ed1f9f files/uninstall.sh 260
+MD5 082b9fc08240293b2b7b3609ba8e0cfd files/virtual-server-2.31-checkip.patch 607
+MD5 cc16dcb159f84c912365504002444a08 files/virtual-server-2.31-namevirtual.patch 2951
 MD5 cad6a5577a4c4b3773702ab1bd8d6461 files/virtual-server-2.31-nocgibin.patch 1073
-MD5 1b791b42466b4d6db599c2b8fed29871 files/digest-webmin-1.230 210
 MD5 4f5dc10c2c1d19218cecfc2a678a0ce4 files/virtual-server-2.31-pgsql.patch 579
-MD5 395e49092aa7b9e808d3e9d723508884 files/webmin-1.140-apache2.patch 1250
 MD5 5a13292127e1353674038bffda8e4a70 files/virtual-server-2.60-nocgibin.patch 1277
-MD5 082b9fc08240293b2b7b3609ba8e0cfd files/virtual-server-2.31-checkip.patch 607
 MD5 bb2acab90ada721c723d91a5a97c193c files/webmin-1.130-webalizer.patch 615
-MD5 6d9dfc76f788500ff3c85cbb42667487 files/digest-webmin-1.170-r3 209
+MD5 395e49092aa7b9e808d3e9d723508884 files/webmin-1.140-apache2.patch 1250
 MD5 0ebd73f1cd5948ec1c3532a2f59f2c53 files/webmin-1.170-postfix.patch 868
-MD5 7d80c86adbd36eeb8f220b9efdd30819 files/webmin-pam 101
-MD5 54dc8937e05bd76ad86a6c5f5ae6a333 files/init.d.webmin 859
+MD5 512204473654b6eb41308d3319ba6144 files/webmin-1.170-setup-nocheck.patch 943
 MD5 c53333c5a45f347207179bd957253b86 files/webmin-1.230-ldap-useradmin.patch 905
+MD5 6a55026b21c4da9284b31236deeceda7 files/webmin-gentoo-init 864
+MD5 7d80c86adbd36eeb8f220b9efdd30819 files/webmin-pam 101
+MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226
+MD5 c6d3309b62a5ba19e3aa3893e0cca346 webmin-1.170-r3.ebuild 3681
+MD5 c175a83cebd240b2c52e5890de97c0cf webmin-1.230.ebuild 4102
+MD5 c8356f0ac12c05be1434ab9939687f00 webmin-1.250.ebuild 4108
diff --git a/app-admin/webmin/files/digest-webmin-1.250 b/app-admin/webmin/files/digest-webmin-1.250
new file mode 100644 (file)
index 0000000..2ec8b11
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 9382484a3fa0b094af2ba38125721c16 virtual-server-2.609.wbm.gz 281789
+MD5 ba79db046d5ee96ff22033a8c8e6e5ef webmin-1.250-minimal.tar.gz 1269765
+MD5 521fcf66588f0c0c5cca229b932820fd webmin-1.250.tar.gz 8928214
diff --git a/app-admin/webmin/webmin-1.250.ebuild b/app-admin/webmin/webmin-1.250.ebuild
new file mode 100644 (file)
index 0000000..982c84f
--- /dev/null
@@ -0,0 +1,146 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.250.ebuild,v 1.1 2005/11/30 21:42:05 eradicator Exp $
+
+IUSE="apache2 postgres ssl webmin-minimal"
+
+inherit eutils pam
+
+VM_V="2.609"
+
+DESCRIPTION="Webmin, a web-based system administration interface"
+HOMEPAGE="http://www.webmin.com/"
+SRC_URI="webmin-minimal? ( mirror://sourceforge/webadmin/${P}-minimal.tar.gz )
+        !webmin-minimal? ( mirror://sourceforge/webadmin/${P}.tar.gz
+                          http://www.webmin.com/download/virtualmin/virtual-server-${VM_V}.wbm.gz )"
+
+LICENSE="BSD"
+SLOT="0"
+
+# ~mips removed because of broken deps. Bug #86085
+KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 ~s390 ~sh sparc x86"
+
+DEPEND="dev-lang/perl"
+RDEPEND="${DEPEND}
+        ssl? ( dev-perl/Net-SSLeay )
+        postgres? ( dev-perl/DBD-Pg )
+        dev-perl/XML-Generator"
+
+# See bug #62123
+#       pam? ( dev-perl/Authen-PAM )
+
+
+src_unpack() {
+       unpack ${A}
+
+       cd ${S}
+
+       # in webmin-minimal apache2 are not present
+       if ! use webmin-minimal ; then
+               # Bug #50810, #51943
+               if use apache2; then
+                       epatch ${FILESDIR}/${PN}-1.140-apache2.patch
+               fi
+
+               # Correct ldapness
+               epatch ${FILESDIR}/${PN}-1.230-ldap-useradmin.patch
+
+               # Postfix should modify the last entry of the maps file
+               epatch ${FILESDIR}/${PN}-1.170-postfix.patch
+
+               mv ${WORKDIR}/virtual-server-${VM_V}.wbm ${T}/vs.tar
+               tar -xf ${T}/vs.tar
+
+               # Don't create ${HOME}/cgi-bin on new accounts
+               epatch ${FILESDIR}/virtual-server-2.60-nocgibin.patch
+
+               # Check if a newly added IP is already active
+               epatch ${FILESDIR}/virtual-server-2.31-checkip.patch
+
+               # Verify Postgres usernames
+               epatch ${FILESDIR}/virtual-server-2.31-pgsql.patch
+
+               # Fix some all name virtual items
+               epatch ${FILESDIR}/virtual-server-2.31-namevirtual.patch
+       fi
+
+       epatch ${FILESDIR}/${PN}-1.170-setup-nocheck.patch
+}
+
+src_install() {
+       # Bug #97212
+       addpredict /var/lib/rpm
+
+       rm -f mount/freebsd-mounts*
+       rm -f mount/openbsd-mounts*
+       rm -f mount/macos-mounts*
+
+       (find . -name '*.cgi' ; find . -name '*.pl') | perl perlpath.pl /usr/bin/perl -
+       dodir /usr/libexec/webmin
+       dodir /var
+
+       cp -rp * ${D}/usr/libexec/webmin
+
+       # in webmin-minimal openslp is not present
+       if [ ! -f "${D}/usr/libexec/webmin/openslp/config-gentoo-linux" ] ; then
+               cp ${D}/usr/libexec/webmin/openslp/config \
+                       ${D}/usr/libexec/webmin/openslp/config-gentoo-linux
+       fi
+
+       newinitd ${FILESDIR}/init.d.webmin webmin
+
+       newpamd ${FILESDIR}/webmin-pam webmin
+       echo gentoo > ${D}/usr/libexec/webmin/install-type
+
+       # Fix ownership
+       chown -R root:0 ${D}
+
+       dodir /etc/webmin
+       dodir /var/log/webmin
+
+       config_dir=${D}/etc/webmin
+       var_dir=${D}/var/log/webmin
+       perl=${ROOT}/usr/bin/perl
+       autoos=1
+       port=10000
+       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/webmin/setup.sh > ${T}/webmin-setup.out 2>&1 || die "Failed to create initial webmin configuration."
+
+       # Fixup the config files to use their real locations
+       sed -i -e "s:^pidfile=.*$:pidfile=${ROOT}/var/run/webmin.pid:" ${D}/etc/webmin/miniserv.conf
+       find ${D}/etc/webmin -type f | xargs sed -i -e "s:${D}:${ROOT}:g"
+
+       # Cleanup from the config script
+       rm -rf ${D}/var/log/webmin
+       keepdir /var/log/webmin/
+
+       # Get rid of this crap...
+       rm -rf ${D}/usr/libexec/webmin/acl/Authen-SolarisRBAC-0.1
+       rm -f ${D}/usr/libexec/webmin/acl/Authen-SolarisRBAC-0.1.tar.gz
+}
+
+pkg_postinst() {
+       local crypt=$(grep "^root:" ${ROOT}/etc/shadow | cut -f 2 -d :)
+       crypt=${crypt//\\/\\\\}
+       crypt=${crypt//\//\\\/}
+       sed -i -e "s/root:XXX/root:${crypt}/" /etc/webmin/miniserv.users
+
+       einfo "To make webmin start at boot time, run: 'rc-update add webmin default'."
+       use ssl && einfo "Point your web browser to https://localhost:10000 to use webmin."
+       use ssl || einfo "Point your web browser to http://localhost:10000 to use webmin."
+}
+
+pkg_prerm() {
+       ${ROOT}/etc/init.d/webmin stop >& /dev/null
+}