From 070a1f8c1eba3fdbc3280825eab25b5b59cf189b Mon Sep 17 00:00:00 2001 From: Arjan Bouter Date: Fri, 6 Oct 2006 11:39:48 +0200 Subject: qingy: fixed shutdown.patch and removed unneeded config.patch --- display/qingy/DETAILS | 4 ++-- display/qingy/HISTORY | 5 +++++ display/qingy/shutdown.patch | 33 ++++++--------------------------- 3 files changed, 13 insertions(+), 29 deletions(-) (limited to 'display/qingy') diff --git a/display/qingy/DETAILS b/display/qingy/DETAILS index bed7d375b8..b7d264c7a9 100755 --- a/display/qingy/DETAILS +++ b/display/qingy/DETAILS @@ -6,9 +6,9 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION SOURCE_HASH=sha512:e74de5e8a49a2c1f9d5bfd1d83d837fae9fcd6372d5905f2d07cea85f13fea90325f52cac8cecd7538df80b0ebc7fe8af3d596c6372886af4dbfa40707f2b1ca WEB_SITE=http://qingy.sourceforge.net ENTERED=20040913 - PATCHLEVEL=1 + PATCHLEVEL=2 LICENSE[0]=GPL - KEYWORDS="framebuffer display" + KEYWORDS="login framebuffer display" SHORT="A login manager for DirectFB" cat << EOF Qingy is a DirectFB based agetty replacement. diff --git a/display/qingy/HISTORY b/display/qingy/HISTORY index 43eac25586..41676ed04c 100644 --- a/display/qingy/HISTORY +++ b/display/qingy/HISTORY @@ -1,3 +1,8 @@ +2006-10-06 Arjan Bouter + * config.patch: removed + * shutdown.patch: updated for 0.9.1 + * DETAILS: patchlevel=2, added keyword login + 2006-10-03 Arjan Bouter * DETAILS: 0.9.1 * DEPENDS, CONFIGURE: offer a choice for internal crypto diff --git a/display/qingy/shutdown.patch b/display/qingy/shutdown.patch index 4122cbb2a4..6e5c3b6e00 100644 --- a/display/qingy/shutdown.patch +++ b/display/qingy/shutdown.patch @@ -1,39 +1,18 @@ -diff -Naur qingy-0.6.0.orig/src/DirectFB/directfb_mode.c qingy-0.6.0/src/DirectFB/directfb_mode.c ---- qingy-0.6.0.orig/src/DirectFB/directfb_mode.c 2005-06-11 09:45:28.087391184 -0700 -+++ qingy-0.6.0/src/DirectFB/directfb_mode.c 2005-06-11 09:54:00.652469448 -0700 -@@ -585,7 +585,7 @@ - primary->DrawString (primary, "shutting down system...", -1, screen_width / 2, screen_height / 2, DSTF_CENTER); - primary->Flip (primary, NULL, 0); - } -- execl ("/sbin/shutdown", "/sbin/shutdown", "-h", "now", (char*)NULL); -+ execl ("/sbin/shutdown", "/sbin/shutdown", "-q", "-h", "now", (char*)NULL); - } - if (action == DO_REBOOT) - { -@@ -594,7 +594,7 @@ - primary->DrawString (primary, "rebooting system...", -1, screen_width / 2, screen_height / 2, DSTF_CENTER); - primary->Flip (primary, NULL, 0); - } -- execl ("/sbin/shutdown", "/sbin/shutdown", "-r", "now", (char*)NULL); -+ execl ("/sbin/shutdown", "/sbin/shutdown", "-q", "-r", "now", (char*)NULL); - } - - /* we should never get here unless call to /sbin/shutdown fails */ -diff -Naur qingy-0.6.0.orig/src/main.c qingy-0.6.0/src/main.c ---- qingy-0.6.0.orig/src/main.c 2005-06-11 09:45:28.088391032 -0700 -+++ qingy-0.6.0/src/main.c 2005-06-11 09:54:17.990833616 -0700 -@@ -295,12 +295,12 @@ +diff -Naur qingy-0.9.1/src/main.c qingy-0.9.1-fixed/src/main.c +--- qingy-0.9.1/src/main.c 2006-08-04 07:52:17.000000000 +0200 ++++ qingy-0.9.1-fixed/src/main.c 2006-10-06 11:09:06.000000000 +0200 +@@ -390,12 +390,12 @@ case EXIT_SHUTDOWN_R: if (username) memset(username, '\0', sizeof(username)); if (password) memset(password, '\0', sizeof(password)); - execl ("/sbin/shutdown", "/sbin/shutdown", "-r", "now", (char*)NULL); -+ execl ("/sbin/shutdown", "/sbin/shutdown", "-q", "-r", "now", (char*)NULL); ++ execl ("/sbin/shutdown", "/sbin/shutdown", "-qr", "now", (char*)NULL); break; case EXIT_SHUTDOWN_H: if (username) memset(username, '\0', sizeof(username)); if (password) memset(password, '\0', sizeof(password)); - execl ("/sbin/shutdown", "/sbin/shutdown", "-h", "now", (char*)NULL); -+ execl ("/sbin/shutdown", "/sbin/shutdown", "-q", "-h", "now", (char*)NULL); ++ execl ("/sbin/shutdown", "/sbin/shutdown", "-qh", "now", (char*)NULL); break; case EXIT_SLEEP: if (username) memset(username, '\0', sizeof(username)); -- cgit v1.2.3