summaryrefslogtreecommitdiff
path: root/sysutils/wbm-postfix
diff options
context:
space:
mode:
authorjlam <jlam>2006-05-19 17:14:53 +0000
committerjlam <jlam>2006-05-19 17:14:53 +0000
commit8d6aec6dd24d5d6a3d334e6127fc2ab19c283ec9 (patch)
tree2399dd7355e56c3842bef5581f8e129117091c4b /sysutils/wbm-postfix
parentf27e21c0b169b5cb5fce6e8b5c9202b224f63f1d (diff)
downloadpkgsrc-8d6aec6dd24d5d6a3d334e6127fc2ab19c283ec9.tar.gz
* Pull in some changes discussed on the Webmin mailing list to allow
running an individual module's uninstall action * Add an DEINSTALL_TEMPLATE file that is pulled in by all wbm-* modules that will run the module's uninstall action at DEINSTALL time. * Fix the "time" module to ignore "sched_mode" -- verified by Jamie Cameron on the Webmin mailing list as a bug. * Fix the "postfix" module to remove its temp files at DEINSTALL time so that we cleanly pkg_delete. Bump the PKGREVISION of sysutils/webmin as well as all sysutils/wbm-* packages that have uninstall.pl scripts.
Diffstat (limited to 'sysutils/wbm-postfix')
-rw-r--r--sysutils/wbm-postfix/DEINSTALL8
-rw-r--r--sysutils/wbm-postfix/Makefile3
2 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/wbm-postfix/DEINSTALL b/sysutils/wbm-postfix/DEINSTALL
new file mode 100644
index 00000000000..ac50a39d5a2
--- /dev/null
+++ b/sysutils/wbm-postfix/DEINSTALL
@@ -0,0 +1,8 @@
+# $NetBSD: DEINSTALL,v 1.1 2006/05/19 17:14:53 jlam Exp $
+
+case "${STAGE}" in
+DEINSTALL)
+ # Remove temporary files possibly generated by postfinger.cgi.
+ ${RM} -f ${PKG_PREFIX}/share/webmin/postfix/postfinger.*.[dn]
+ ;;
+esac
diff --git a/sysutils/wbm-postfix/Makefile b/sysutils/wbm-postfix/Makefile
index c880a58a5f2..3c5c56fad50 100644
--- a/sysutils/wbm-postfix/Makefile
+++ b/sysutils/wbm-postfix/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/05/16 04:03:26 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2006/05/19 17:14:53 jlam Exp $
DISTNAME= postfix
PKGNAME= wbm-${DISTNAME}-${WBM_VERSION}
+PKGREVSION= 1
DIST_SUBDIR= webmin-modules-${WBM_VERSION}
# The version is from the module.info file from the extracted distfile.