aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/webmin
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-02-04 19:36:22 +0800
committerolgeni <olgeni@FreeBSD.org>2001-02-04 19:36:22 +0800
commitf66112aaad517aa6db11002a89f1827f1dc40faa (patch)
tree3e090e4182cc97b5e1a6de24ee1d67720a66e104 /sysutils/webmin
parent335f052c69ddcaf242d13a6813a9c22c53154a7b (diff)
downloadfreebsd-ports-gnome-f66112aaad517aa6db11002a89f1827f1dc40faa.tar.gz
freebsd-ports-gnome-f66112aaad517aa6db11002a89f1827f1dc40faa.tar.zst
freebsd-ports-gnome-f66112aaad517aa6db11002a89f1827f1dc40faa.zip
Download updated modules at install time: apache, mysql and status.
Useful tips by: sobomax
Diffstat (limited to 'sysutils/webmin')
-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