diff options
author | jlam <jlam@pkgsrc.org> | 2006-05-19 17:14:53 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-05-19 17:14:53 +0000 |
commit | 7ee25967b702921579eedd3857678a2356192413 (patch) | |
tree | 2399dd7355e56c3842bef5581f8e129117091c4b /sysutils/wbm-time | |
parent | f58840b07acf3a1e9143478edbff031759dfa62c (diff) | |
download | pkgsrc-7ee25967b702921579eedd3857678a2356192413.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-time')
-rw-r--r-- | sysutils/wbm-time/Makefile | 3 | ||||
-rw-r--r-- | sysutils/wbm-time/distinfo | 3 | ||||
-rw-r--r-- | sysutils/wbm-time/patches/patch-ab | 19 |
3 files changed, 23 insertions, 2 deletions
diff --git a/sysutils/wbm-time/Makefile b/sysutils/wbm-time/Makefile index f9290d0eb33..8676e16e0d5 100644 --- a/sysutils/wbm-time/Makefile +++ b/sysutils/wbm-time/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/05/16 15:44:04 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2006/05/19 17:14:53 jlam Exp $ DISTNAME= time PKGNAME= wbm-${DISTNAME}-${WBM_VERSION} +PKGREVISION= 1 DIST_SUBDIR= webmin-modules-${WBM_VERSION} # The version is from the module.info file from the extracted distfile. diff --git a/sysutils/wbm-time/distinfo b/sysutils/wbm-time/distinfo index a2e67f3adad..e84438ce5b7 100644 --- a/sysutils/wbm-time/distinfo +++ b/sysutils/wbm-time/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/05/16 15:44:04 jlam Exp $ +$NetBSD: distinfo,v 1.2 2006/05/19 17:14:53 jlam Exp $ SHA1 (webmin-modules-1.270/time.wbm.gz) = d4b785569fd27a78b5ff9ade348ef8fe1fbca9aa RMD160 (webmin-modules-1.270/time.wbm.gz) = 73b049052db9b13c865b0d5af8ef7684074f19c6 Size (webmin-modules-1.270/time.wbm.gz) = 32355 bytes SHA1 (patch-aa) = 12531637b08992dd84c8f49863b0892b63606eac +SHA1 (patch-ab) = a4d2bdb99969c6a16fc15f8f011be5b2a8199ef1 diff --git a/sysutils/wbm-time/patches/patch-ab b/sysutils/wbm-time/patches/patch-ab new file mode 100644 index 00000000000..c8580ff9dba --- /dev/null +++ b/sysutils/wbm-time/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1 2006/05/19 17:14:53 jlam Exp $ + +--- uninstall.pl.orig Tue Apr 4 23:16:15 2006 ++++ uninstall.pl +@@ -5,14 +5,12 @@ require 'time-lib.pl'; + + sub module_uninstall + { +-if ($config{'sched_mode'}) { + # Scheduled checking is enabled .. remove the cron job + &foreign_require("cron", "cron-lib.pl"); + $job = &find_cron_job(); + if ($job) { + &cron::delete_cron_job($job); + } +- } + } + + 1; |