diff options
author | Steve Dibb <beandog@gentoo.org> | 2008-03-12 20:13:58 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2008-03-12 20:13:58 +0000 |
commit | 2e854507697edc5f1b420dc79de8415fc70d5db9 (patch) | |
tree | 44fa63372a7c2be97e44305e6d94adea83cf7a24 /app-admin/webmin | |
parent | old (diff) | |
download | historical-2e854507697edc5f1b420dc79de8415fc70d5db9.tar.gz historical-2e854507697edc5f1b420dc79de8415fc70d5db9.tar.bz2 historical-2e854507697edc5f1b420dc79de8415fc70d5db9.zip |
Change maintainership, add mysql use flag for perl deps, webmin-minimal to minimal use flag
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-admin/webmin')
-rw-r--r-- | app-admin/webmin/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/webmin/Manifest | 5 | ||||
-rw-r--r-- | app-admin/webmin/metadata.xml | 2 | ||||
-rw-r--r-- | app-admin/webmin/webmin-1.400-r1.ebuild | 130 |
4 files changed, 142 insertions, 4 deletions
diff --git a/app-admin/webmin/ChangeLog b/app-admin/webmin/ChangeLog index 6bca3c423d25..6525977c5153 100644 --- a/app-admin/webmin/ChangeLog +++ b/app-admin/webmin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/webmin # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/ChangeLog,v 1.169 2008/02/20 04:22:47 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/ChangeLog,v 1.170 2008/03/12 20:13:58 beandog Exp $ + +*webmin-1.400-r1 (12 Mar 2008) + + 12 Mar 2008; Steve Dibb <beandog@gentoo.org> metadata.xml, + +webmin-1.400-r1.ebuild: + Change maintainership, add mysql use flag for perl deps, webmin-minimal to + minimal use flag 20 Feb 2008; Steve Dibb <beandog@gentoo.org> webmin-1.400.ebuild: amd64 stable, security bug 209453 diff --git a/app-admin/webmin/Manifest b/app-admin/webmin/Manifest index 653abc064855..526365796069 100644 --- a/app-admin/webmin/Manifest +++ b/app-admin/webmin/Manifest @@ -24,6 +24,7 @@ DIST webmin-1.400-minimal.tar.gz 1570083 RMD160 3dab583852f374af5016e211a6460026 DIST webmin-1.400.tar.gz 13457079 RMD160 4af2ca5eab965fc6f78d9745fa4d2b0c6565a088 SHA1 bf38da1278f0e2e0e468d60de7230b686dece224 SHA256 d937900de2ab2ae0bc63ba08cb4cd6f61e674ac6b7f9db6315f7adddd5e7a280 EBUILD webmin-1.350.ebuild 3835 RMD160 7484624b98c2e304f1c55cf714448c60f93affa2 SHA1 c18711670b8e599c884b9d31d89869ac786db42d SHA256 bc85dfd87b7e4a462a8ed59915bde4fbd798f6376f13ac4cca65809578ccf387 EBUILD webmin-1.390.ebuild 3818 RMD160 25fc2932657c1e38a9b71dc95f94810a9d45f286 SHA1 8853b158d6488215c47c9109f862834b4f050314 SHA256 d00293ddf81472d06e2d7e34b6f48991ab34df33578e09ec79de3e1e45c56df7 +EBUILD webmin-1.400-r1.ebuild 3791 RMD160 603d69ed61e6182e4d0e501dc2d72557718b7a4d SHA1 10dd433948204d77840acfb7c56e54cac46f5791 SHA256 d666157a8c06d4df3621d3ac2f61286cee34c242eff8fad066593e74bb8d58bc EBUILD webmin-1.400.ebuild 3772 RMD160 c3aa977b50105fcd30c9a48ae00439db222e2e78 SHA1 1c49b4b4679183d2803ad38912e98462e6a66276 SHA256 63660bbe2abbf6a860dae1914ec87f21ca4181993f9b9abbe05ba5d316722cb6 -MISC ChangeLog 23471 RMD160 6c19cb67dde16356c510c72e6c4d4fd9f480f64a SHA1 844f35dfcbea266c80ce64f82e67ae2c176f79f0 SHA256 afff5013debe8b9e04f2b0417830a909896ac2befff417c4903e002c7820cde0 -MISC metadata.xml 232 RMD160 854b06094287201d0b98f2b21d36054db25d81cd SHA1 cc4f98e9ee0102aea687d71cf3af924cf156edbb SHA256 21382e863647add08888c924279a4b931b2b90ccd0cf5e526ee74a3d5e1fd0df +MISC ChangeLog 23688 RMD160 3ee83e8bbde4739271204a61c2ba7444cd794cba SHA1 8cffcd5db6cc974c7e8dcb9f4687716abdb668eb SHA256 52a06db0e585ba9de4f16b5dc9240d8b76d014e58169a628c519b24184f37c55 +MISC metadata.xml 222 RMD160 f67ae3f744b9db4bbf17b9141e8c01b185262bd5 SHA1 b5f83096136c0a206e39c3aef719439891b1d442 SHA256 a28546f6334805a80dab4dc57cb360aa28bffe3c675a73402fc5128daa97eb97 diff --git a/app-admin/webmin/metadata.xml b/app-admin/webmin/metadata.xml index 616f0488f72e..e0fb7da44300 100644 --- a/app-admin/webmin/metadata.xml +++ b/app-admin/webmin/metadata.xml @@ -3,6 +3,6 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> - <email>maintainer-needed@gentoo.org</email> + <email>beandog@gentoo.org</email> </maintainer> </pkgmetadata> diff --git a/app-admin/webmin/webmin-1.400-r1.ebuild b/app-admin/webmin/webmin-1.400-r1.ebuild new file mode 100644 index 000000000000..0e8b161b8300 --- /dev/null +++ b/app-admin/webmin/webmin-1.400-r1.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.400-r1.ebuild,v 1.1 2008/03/12 20:13:58 beandog Exp $ + +inherit eutils pam + +VM_V="3.23" + +DESCRIPTION="Webmin, a web-based system administration interface" +HOMEPAGE="http://www.webmin.com/" +SRC_URI="minimal? ( mirror://sourceforge/webadmin/${P}-minimal.tar.gz ) + !minimal? ( mirror://sourceforge/webadmin/${P}.tar.gz + http://www.webmin.com/download/virtualmin/virtual-server-${VM_V}.gpl.wbm.gz )" + +LICENSE="BSD" +SLOT="0" +# ~mips removed because of broken deps. Bug #86085 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="apache2 mysql pam postgres ssl minimal" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND} + ssl? ( dev-perl/Net-SSLeay ) + mysql? ( dev-perl/DBD-mysql ) + postgres? ( dev-perl/DBD-Pg ) + pam? ( dev-perl/Authen-PAM ) + dev-perl/XML-Generator + virtual/logger" + +src_unpack() { + unpack ${A} + + cd "${S}" + + # in webmin-minimal apache2 are not present + if ! use minimal ; then + # Bug #50810, #51943 + if use apache2; then + epatch "${FILESDIR}"/${PN}-1.140-apache2.patch + fi + + # Correct ldapness + epatch "${FILESDIR}"/${PN}-1.270-ldap-useradmin.patch + + mv "${WORKDIR}"/virtual-server-${VM_V}.gpl.wbm "${T}"/vs.tar + tar -xf "${T}"/vs.tar + + # Don't create ${HOME}/cgi-bin on new accounts + epatch "${FILESDIR}"/virtual-server-3.23-nocgibin.patch + + # Verify Postgres usernames + epatch "${FILESDIR}"/virtual-server-3.23-pgsql.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=/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=/var/run/webmin.pid:" "${D}"/etc/webmin/miniserv.conf + find "${D}"/etc/webmin -type f | xargs sed -i -e "s:${D}:/: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}/" "${ROOT}/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." +} |