version bump
authorSeemant Kulleen <seemant@gentoo.org>
Thu, 7 Nov 2002 08:10:19 +0000 (08:10 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Thu, 7 Nov 2002 08:10:19 +0000 (08:10 +0000)
app-admin/webmin/ChangeLog
app-admin/webmin/files/digest-webmin-1.030 [new file with mode: 0644]
app-admin/webmin/webmin-1.020-r1.ebuild
app-admin/webmin/webmin-1.030.ebuild [new file with mode: 0644]

index 55aa0bc9e5788fecf92ae27fd8a8b4d93319ca31..de05b2a7ee4daa4c1f244cea4a901ce155139b9a 100644 (file)
@@ -1,8 +1,16 @@
 # ChangeLog for app-admin/webmin
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/ChangeLog,v 1.5 2002/10/31 17:14:57 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/ChangeLog,v 1.6 2002/11/07 08:10:19 seemant Exp $
 
-*webmin-1.020 (31 Oct 2002)
+*webmin-1.030 (07 Nov 2002)
+
+  07 Nov 2002; Seemant Kulleen <seemant@gentoo.org> webmin-1.030.ebuild
+  files/digest-webmin-1.030 :
+
+  Version bump.  Thanks to: rigo@home.nl (Rigo Ketelings) in bug #10276 for
+  the notification.  Moved 1.020-r1 to stable, this to testing.
+
+*webmin-1.020-r1 (31 Oct 2002)
 
   31 Oct 2002; Seemant Kulleen <seemant@gentoo.org> webmin-1.020-r1.ebuild
   files/digest-webmin-1.020-r1 :
diff --git a/app-admin/webmin/files/digest-webmin-1.030 b/app-admin/webmin/files/digest-webmin-1.030
new file mode 100644 (file)
index 0000000..20516df
--- /dev/null
@@ -0,0 +1 @@
+MD5 52616747ec6aef3fff99887e84e196bf webmin-1.030.tar.gz 5665384
index a277c6f464baf28683cc1894a7930eb1d01841c9..2a89b22524bbf005b96415f0ec3685705dc38f70 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.020-r1.ebuild,v 1.1 2002/10/31 17:14:57 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.020-r1.ebuild,v 1.2 2002/11/07 08:10:19 seemant Exp $
 
 IUSE="ssl"
 
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.webmin.com/"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~x86"
+KEYWORDS="x86"
 
 DEPEND="sys-devel/perl
        ssl? ( dev-perl/Net-SSLeay )"
diff --git a/app-admin/webmin/webmin-1.030.ebuild b/app-admin/webmin/webmin-1.030.ebuild
new file mode 100644 (file)
index 0000000..336a3cb
--- /dev/null
@@ -0,0 +1,72 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.030.ebuild,v 1.1 2002/11/07 08:10:19 seemant Exp $
+
+IUSE="ssl"
+
+DESCRIPTION="Webmin, a web-based system administration interface"
+SRC_URI="http://www.webmin.com/download/${P}.tar.gz"
+HOMEPAGE="http://www.webmin.com/"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~x86"
+
+DEPEND="sys-devel/perl
+       ssl? ( dev-perl/Net-SSLeay )"
+
+RDEPEND=""
+
+src_install() {
+       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 /etc/init.d
+       dodir /var
+       dodir /etc/pam.d
+       cp -rp * ${D}/usr/libexec/webmin
+       mv ${D}/usr/libexec/webmin/openslp/config \
+               ${D}/usr/libexec/webmin/openslp/config-gentoo-linux
+       
+       insinto /etc/init.d
+       newins webmin-gentoo-init webmin
+
+       insinto /etc/pam.d/
+       newins webmin-pam webmin
+       echo gentoo > ${D}/usr/libexec/webmin/install-type
+
+       exeinto /etc/webmin
+       doexe ${FILESDIR}/uninstall.sh
+
+}
+
+pkg_postinst() {
+       /etc/init.d/webmin stop >/dev/null 2>&1
+       stopstatus=$?
+       cd /usr/libexec/webmin
+       config_dir=/etc/webmin
+       var_dir=/var/webmin
+       perl=/usr/bin/perl
+       autoos=1
+       port=10000
+       login=root
+       crypt=`grep "^root:" /etc/shadow | cut -f 2 -d :`
+       host=`hostname`
+       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/webmin/maketemp.pl
+       ./setup.sh >/tmp/.webmin/webmin-setup.out 2>&1
+
+       if [ "$stopstatus" = "0" ]; then
+               # Start if it was running before
+               /etc/init.d/webmin start
+       fi
+}