aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kshutdown-kde4
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2009-03-02 01:59:58 +0800
committermarkus <markus@FreeBSD.org>2009-03-02 01:59:58 +0800
commit1fe10d60b0481d1f4de3325ef04adf627c01c056 (patch)
treefdddc6120e328079738fe6a3594e00884947e775 /sysutils/kshutdown-kde4
parent5c9e7e7e5aebee2d08dbae2099886f5d5102541c (diff)
downloadfreebsd-ports-gnome-1fe10d60b0481d1f4de3325ef04adf627c01c056.tar.gz
freebsd-ports-gnome-1fe10d60b0481d1f4de3325ef04adf627c01c056.tar.zst
freebsd-ports-gnome-1fe10d60b0481d1f4de3325ef04adf627c01c056.zip
Update to version 1.0.4
PR: ports/130929 Submitted by: Shane Bell <decept0@gmail.com>
Diffstat (limited to 'sysutils/kshutdown-kde4')
-rw-r--r--sysutils/kshutdown-kde4/Makefile5
-rw-r--r--sysutils/kshutdown-kde4/distinfo6
-rw-r--r--sysutils/kshutdown-kde4/files/patch-kshutdown_actions.h11
-rw-r--r--sysutils/kshutdown-kde4/files/patch-kshutdown_systemconfig.cpp11
4 files changed, 27 insertions, 6 deletions
diff --git a/sysutils/kshutdown-kde4/Makefile b/sysutils/kshutdown-kde4/Makefile
index b46c27249493..5d8e5667af5d 100644
--- a/sysutils/kshutdown-kde4/Makefile
+++ b/sysutils/kshutdown-kde4/Makefile
@@ -5,10 +5,9 @@
# $FreeBSD$
PORTNAME= kshutdown
-PORTVERSION= 1.0.3
+PORTVERSION= 1.0.4
CATEGORIES= sysutils kde
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= markus@FreeBSD.org
COMMENT= Advanced shutdown utility for KDE
diff --git a/sysutils/kshutdown-kde4/distinfo b/sysutils/kshutdown-kde4/distinfo
index 2620b4dcb889..c9ea5ffef0e8 100644
--- a/sysutils/kshutdown-kde4/distinfo
+++ b/sysutils/kshutdown-kde4/distinfo
@@ -1,3 +1,3 @@
-MD5 (kshutdown-1.0.3.tar.bz2) = 3ede21e09cf740e91276ab38eae6c722
-SHA256 (kshutdown-1.0.3.tar.bz2) = 1cf07351c47cbe7526d823d79985d511f1b3f82fcecd39663632a8e403e18d64
-SIZE (kshutdown-1.0.3.tar.bz2) = 651597
+MD5 (kshutdown-1.0.4.tar.bz2) = 1effdd6b97e702f604c113f8de5a19e4
+SHA256 (kshutdown-1.0.4.tar.bz2) = b9154327ebbb4cd6e9b0b2957bc68c34926fc9e7bf20be9b69d418e8ce7a05c8
+SIZE (kshutdown-1.0.4.tar.bz2) = 657371
diff --git a/sysutils/kshutdown-kde4/files/patch-kshutdown_actions.h b/sysutils/kshutdown-kde4/files/patch-kshutdown_actions.h
new file mode 100644
index 000000000000..269d9b2d76b8
--- /dev/null
+++ b/sysutils/kshutdown-kde4/files/patch-kshutdown_actions.h
@@ -0,0 +1,11 @@
+--- actions.h.orig 2009-01-24 18:36:05.000000000 +1300
++++ kshutdown/actions.h 2009-01-24 18:35:58.000000000 +1300
+@@ -28,7 +28,7 @@
+ // TODO: 2.0: logout command for GNOME (gnome-session-save --kill?)
+ DEFAULT_LOGOUT_COMMAND(""),
+ DEFAULT_REBOOT_COMMAND("/sbin/reboot"),
+- DEFAULT_SHUT_DOWN_COMMAND("/sbin/poweroff");
++ DEFAULT_SHUT_DOWN_COMMAND("/sbin/halt -p");
+
+ #define ks_actions Action::getInstance()
+
diff --git a/sysutils/kshutdown-kde4/files/patch-kshutdown_systemconfig.cpp b/sysutils/kshutdown-kde4/files/patch-kshutdown_systemconfig.cpp
new file mode 100644
index 000000000000..5650cfb1e54a
--- /dev/null
+++ b/sysutils/kshutdown-kde4/files/patch-kshutdown_systemconfig.cpp
@@ -0,0 +1,11 @@
+--- systemconfig.cpp.orig 2009-01-24 18:36:05.000000000 +1300
++++ kshutdown/systemconfig.cpp 2009-01-24 18:34:34.000000000 +1300
+@@ -90,7 +90,7 @@
+
+ _shutdownAllowItem = add(Info, i18n("Tip: Click here if you have problem with the \"/sbin/shutdown\" command."));
+
+- checkFile("/sbin/poweroff");
++ checkFile("/sbin/halt");
+ checkFile("/sbin/reboot");
+ checkFile("/sbin/shutdown");
+ checkKDM();