summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-12-05 01:09:02 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-12-05 01:09:02 +0000
commit4daaa15f6e437d144696e5494859fc4ed8c18ee1 (patch)
tree59efe0bdeb7abc62f04781f64bb55cc57b974dae /app-admin/webmin
parentAutomated update of use.local.desc (diff)
downloadhistorical-4daaa15f6e437d144696e5494859fc4ed8c18ee1.tar.gz
historical-4daaa15f6e437d144696e5494859fc4ed8c18ee1.tar.bz2
historical-4daaa15f6e437d144696e5494859fc4ed8c18ee1.zip
version bump, bug 219254. ebuild by Christian Ruppert
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.28-rc6-wl-dirty x86_64
Diffstat (limited to 'app-admin/webmin')
-rw-r--r--app-admin/webmin/ChangeLog7
-rw-r--r--app-admin/webmin/Manifest5
-rw-r--r--app-admin/webmin/webmin-1.441.ebuild110
3 files changed, 120 insertions, 2 deletions
diff --git a/app-admin/webmin/ChangeLog b/app-admin/webmin/ChangeLog
index a2af0ac5b620..7d023adab073 100644
--- a/app-admin/webmin/ChangeLog
+++ b/app-admin/webmin/ChangeLog
@@ -1,6 +1,11 @@
# 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.174 2008/04/15 01:18:08 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/ChangeLog,v 1.175 2008/12/05 01:09:02 darkside Exp $
+
+*webmin-1.441 (05 Dec 2008)
+
+ 05 Dec 2008; Jeremy Olexa <darkside@gentoo.org> +webmin-1.441.ebuild:
+ version bump, bug 219254. ebuild by Christian Ruppert
15 Apr 2008; Steve Dibb <beandog@gentoo.org>
-files/webmin-1.170-postfix.patch,
diff --git a/app-admin/webmin/Manifest b/app-admin/webmin/Manifest
index 347596b38aa0..47aac7b59315 100644
--- a/app-admin/webmin/Manifest
+++ b/app-admin/webmin/Manifest
@@ -10,6 +10,9 @@ AUX webmin-pam 128 RMD160 ee4f2cd70ed2bcaa7e4865fae26ac5c14c36c620 SHA1 91b34c14
DIST virtual-server-3.23.gpl.wbm.gz 379417 RMD160 912ba4ff66b7644f05e7e5b52286b5a41cf7163d SHA1 1b032a1463547ecf3f792ec051c93c5a79458086 SHA256 c5631f73921058df40a08b0d248bad1acf1dd5b7ded451c7c6f9fff1d923a360
DIST webmin-1.400-minimal.tar.gz 1570083 RMD160 3dab583852f374af5016e211a6460026815dfae6 SHA1 1be906dbe54a5d44170ea2637e58d207bacc984a SHA256 7cb4dc7e524f04ef5d9fc55ade7126a2fa596fb538307bcf96774ff74f24cc82
DIST webmin-1.400.tar.gz 13457079 RMD160 4af2ca5eab965fc6f78d9745fa4d2b0c6565a088 SHA1 bf38da1278f0e2e0e468d60de7230b686dece224 SHA256 d937900de2ab2ae0bc63ba08cb4cd6f61e674ac6b7f9db6315f7adddd5e7a280
+DIST webmin-1.441-minimal.tar.gz 1666306 RMD160 d12294598ae46578bdaaca610ff3b0e5a26e68c2 SHA1 586431160879688b95de9c28e0e6c224da627f6c SHA256 679230c4d08a9b64503b57386a2b06f595b3ae28769de248ed2d5103783bab47
+DIST webmin-1.441.tar.gz 13881278 RMD160 46b47a76f42ddc96321a8b3e3cbba7ad615c984a SHA1 ddbd07c8f534c25a16e95a9567eb210a5ef5a906 SHA256 be55e70611776654400209e0e9379219dbb17eabce53cdb0a15f4f024495a737
EBUILD webmin-1.400-r1.ebuild 3791 RMD160 603d69ed61e6182e4d0e501dc2d72557718b7a4d SHA1 10dd433948204d77840acfb7c56e54cac46f5791 SHA256 d666157a8c06d4df3621d3ac2f61286cee34c242eff8fad066593e74bb8d58bc
-MISC ChangeLog 24550 RMD160 2bfea0218d3fcfd3c8de323517c1ae5ade862973 SHA1 44f6fafd00fdd23da0aa997fac2a8458fc744ce7 SHA256 777b37cf63b7c74d280dde609cf6c7349277f3219978aab235c79fc478004ff3
+EBUILD webmin-1.441.ebuild 3255 RMD160 ff4b573fb472f611a407636fb05dde625ee4ad4b SHA1 eeb49bae89fb8e48a89e0f64a79acb7b0d993e1b SHA256 525a6bb7780e2616d23ac18bc1888deae4d90d331b2235571ee8933f1a10d30a
+MISC ChangeLog 24709 RMD160 b34d1e1a8503643e0099902e4c925021d3eb78eb SHA1 49cf8422ed4c17f5502dd00697a1a4df899d89f6 SHA256 2cd0e079c9722bf6dbe891531b313ff6bebf601e976b29f6fe6e8542cc865252
MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e
diff --git a/app-admin/webmin/webmin-1.441.ebuild b/app-admin/webmin/webmin-1.441.ebuild
new file mode 100644
index 000000000000..cf3d1bf18596
--- /dev/null
+++ b/app-admin/webmin/webmin-1.441.ebuild
@@ -0,0 +1,110 @@
+# 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.441.ebuild,v 1.1 2008/12/05 01:09:02 darkside Exp $
+
+inherit eutils pam
+
+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 )"
+
+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}"
+
+ epatch "${FILESDIR}"/${PN}-1.170-setup-nocheck.patch
+}
+
+src_install() {
+ # Bug #97212
+ addpredict /var/lib/rpm
+
+ rm -f mount/freebsd-mounts*
+ rm -f mount/netbsd-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."
+
+ einfo "NOTE: virtual-server has been removed from this ebuild."
+}