summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-02-04 11:36:22 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-02-04 11:36:22 +0000
commit8454d526e085ccb58a807d468dd9739e6b0126b9 (patch)
treece4a8fbf0f92093f55895c8c7161c1038628792f
parentUpdate to version 0.1.0 (diff)
Download updated modules at install time: apache, mysql and status.
Useful tips by: sobomax
-rw-r--r--sysutils/webmin/Makefile15
-rw-r--r--sysutils/webmin/distinfo3
-rw-r--r--sysutils/webmin/pkg-plist9
3 files changed, 26 insertions, 1 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 0e350b04b87b..614345488de3 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -7,8 +7,13 @@
PORTNAME= webmin
PORTVERSION= 0.84
+PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= http://www.webmin.com/webmin/download/
+MASTER_SITES= http://www.webmin.com/webmin/updates/ \
+ http://www.webmin.com/webmin/download/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${WEBMIN_MODULES}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+IGNOREFILES= ${WEBMIN_MODULES}
MAINTAINER= olgeni@FreeBSD.org
@@ -18,6 +23,14 @@ NO_BUILD= yes
IS_INTERACTIVE= yes
USE_PERL5= yes
+WEBMIN_MODULES= apache.wbm.gz mysql.wbm.gz status.wbm.gz
+
+post-extract:
+ @for webmin_module in ${WEBMIN_MODULES}; do \
+ ${TAR} xfz ${DISTDIR}/$${webmin_module} -C ${WRKSRC}; \
+ done
+ @find ${WRKSRC} -name "*.bak" | xargs ${RM}
+
post-patch:
${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.1
diff --git a/sysutils/webmin/distinfo b/sysutils/webmin/distinfo
index 0344c5f1bdd7..211ede013868 100644
--- a/sysutils/webmin/distinfo
+++ b/sysutils/webmin/distinfo
@@ -1 +1,4 @@
MD5 (webmin-0.84.tar.gz) = 93ed89a7d98e7586cacf44e4e053e6cd
+MD5 (apache.wbm.gz) = IGNORE
+MD5 (mysql.wbm.gz) = IGNORE
+MD5 (status.wbm.gz) = IGNORE
diff --git a/sysutils/webmin/pkg-plist b/sysutils/webmin/pkg-plist
index 0b88033510cb..2762c90f5afc 100644
--- a/sysutils/webmin/pkg-plist
+++ b/sysutils/webmin/pkg-plist
@@ -102,6 +102,7 @@ lib/webmin/apache/create_dir.cgi
lib/webmin/apache/create_files.cgi
lib/webmin/apache/create_htaccess.cgi
lib/webmin/apache/create_virt.cgi
+lib/webmin/apache/darkstar.site
lib/webmin/apache/defaultacl
lib/webmin/apache/delete_htaccess.cgi
lib/webmin/apache/dir_index.cgi
@@ -117,6 +118,7 @@ lib/webmin/apache/edit_virt.cgi
lib/webmin/apache/edit_vserv.cgi
lib/webmin/apache/files_index.cgi
lib/webmin/apache/find_htaccess.cgi
+lib/webmin/apache/florissa.site
lib/webmin/apache/htaccess.cgi
lib/webmin/apache/htaccess_index.cgi
lib/webmin/apache/images/def.gif
@@ -219,6 +221,11 @@ lib/webmin/apache/show_htaccess.cgi
lib/webmin/apache/show_virt.cgi
lib/webmin/apache/start.cgi
lib/webmin/apache/stop.cgi
+lib/webmin/apache/test/conf/access.conf
+lib/webmin/apache/test/conf/httpd.conf
+lib/webmin/apache/test/conf/httpd.conf.old
+lib/webmin/apache/test/conf/mime.types
+lib/webmin/apache/test/conf/srm.conf
lib/webmin/apache/useradmin_update.pl
lib/webmin/apache/virt_index.cgi
lib/webmin/bind8/acl_security.pl
@@ -5069,8 +5076,10 @@ lib/webmin/xinetd/xinetd-lib.pl
@dirrm lib/webmin/inittab/help
@dirrm lib/webmin/inittab/lang
@dirrm lib/webmin/inittab/images
+@dirrm lib/webmin/apache/test/conf
@dirrm lib/webmin/apache/images
@dirrm lib/webmin/apache/lang
+@dirrm lib/webmin/apache/test
@dirrm lib/webmin/bind8/images
@dirrm lib/webmin/bind8/lang
@dirrm lib/webmin/bsdexports/images