aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kshutdown-kde4
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2009-03-01 17:59:58 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2009-03-01 17:59:58 +0000
commite7abdb9974ca9f7a5907322f10e1bbe7be24047c (patch)
tree3247133fa73103f00d6155442aa1c5bced0264c0 /sysutils/kshutdown-kde4
parent1277dbaff7d34f278d31f8fa077f2fb7762ec1c0 (diff)
downloadports-e7abdb9974ca9f7a5907322f10e1bbe7be24047c.tar.gz
ports-e7abdb9974ca9f7a5907322f10e1bbe7be24047c.zip
Update to version 1.0.4
PR: ports/130929 Submitted by: Shane Bell <decept0@gmail.com>
Notes
Notes: svn path=/head/; revision=229286
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();