diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-06-09 16:58:30 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-06-09 16:58:30 +0000 |
commit | 9774b282738ac937305fa2209b7ad1e372abe715 (patch) | |
tree | e5e37e7a03f81167570fc8abd2d5e64828d8163a /sysutils/kdeadmin4 | |
parent | 2c35d214c7188108e6fda3c4580c64ed85511cce (diff) | |
download | ports-9774b282738ac937305fa2209b7ad1e372abe715.tar.gz ports-9774b282738ac937305fa2209b7ad1e372abe715.zip |
Notes
Diffstat (limited to 'sysutils/kdeadmin4')
-rw-r--r-- | sysutils/kdeadmin4/distinfo | 4 | ||||
-rw-r--r-- | sysutils/kdeadmin4/files/patch-kcron_cttask.cpp | 42 |
2 files changed, 44 insertions, 2 deletions
diff --git a/sysutils/kdeadmin4/distinfo b/sysutils/kdeadmin4/distinfo index c064c6d108ce..a71a740c4d1d 100644 --- a/sysutils/kdeadmin4/distinfo +++ b/sysutils/kdeadmin4/distinfo @@ -1,2 +1,2 @@ -MD5 (KDE/kdeadmin-3.2.2.tar.bz2) = 4a39ce0d9abdd2dccb4531466ee7f229 -SIZE (KDE/kdeadmin-3.2.2.tar.bz2) = 1559783 +MD5 (KDE/kdeadmin-3.2.3.tar.bz2) = 52cac3afb5ae527f7d65cdd27937ecf4 +SIZE (KDE/kdeadmin-3.2.3.tar.bz2) = 1551138 diff --git a/sysutils/kdeadmin4/files/patch-kcron_cttask.cpp b/sysutils/kdeadmin4/files/patch-kcron_cttask.cpp new file mode 100644 index 000000000000..dcf2078dd383 --- /dev/null +++ b/sysutils/kdeadmin4/files/patch-kcron_cttask.cpp @@ -0,0 +1,42 @@ +--- kcron/cttask.cpp 2003/03/31 12:18:41 1.14 ++++ kcron/cttask.cpp 2004/06/01 14:12:34 1.14.2.1 +@@ -44,6 +44,39 @@ CTTask::CTTask(string tokStr, string _co + { + silent = false; + } ++ ++ if (tokStr.substr(0,1) == "@") ++ { ++ if (tokStr.substr(1,6) == "reboot") ++ { ++ // Dunno what to do with this... ++ tokStr = "0 0 1 1 *"+tokStr.substr(7,tokStr.length()-1); ++ } ++ else if (tokStr.substr(1,6) == "yearly") ++ { ++ tokStr = "0 0 1 1 *"+tokStr.substr(7,tokStr.length()-1); ++ } ++ else if (tokStr.substr(1,8) == "annually") ++ { ++ tokStr = "0 0 1 1 *"+tokStr.substr(9,tokStr.length()-1); ++ } ++ else if (tokStr.substr(1,7) == "monthly") ++ { ++ tokStr = "0 0 1 * *"+tokStr.substr(8,tokStr.length()-1); ++ } ++ else if (tokStr.substr(1,6) == "weekly") ++ { ++ tokStr = "0 0 * * 0"+tokStr.substr(7,tokStr.length()-1); ++ } ++ else if (tokStr.substr(1,5) == "daily") ++ { ++ tokStr = "0 0 * * *"+tokStr.substr(6,tokStr.length()-1); ++ } ++ else if (tokStr.substr(1,6) == "hourly") ++ { ++ tokStr = "0 * * * *"+tokStr.substr(7,tokStr.length()-1); ++ } ++ } + + int spacepos(tokStr.find_first_of(" \t")); + minute.initialize(tokStr.substr(0,spacepos)); |