Package: gnustep-base-runtime
Version: 1.22.1-1
Severity: wishlist
Tags: patch
Here is a patch to add support for the "status" action to the init
script of gnustep-base-runtime.
diff -u gnustep-base-1.22.1/debian/control.m4 gnustep-base-1.22.1/debian/control.m4
--- gnustep-base-1.22.1/debian/control.m4
+++ gnustep-base-1.22.1/debian/control.m4
@@ -45,7 +45,8 @@
Depends: gnustep-base-common (>= ${source:Version}),
${shlibs:Depends},
${misc:Depends},
- ${gnustep:Depends}
+ ${gnustep:Depends},
+ lsb-base
Description: GNUstep Base library - daemons and tools
The GNUstep Base Library is a powerful fast library of
general-purpose, non-graphical Objective C classes, inspired by the
diff -u gnustep-base-1.22.1/debian/changelog gnustep-base-1.22.1/debian/changelog
--- gnustep-base-1.22.1/debian/changelog
+++ gnustep-base-1.22.1/debian/changelog
@@ -1,3 +1,9 @@
+gnustep-base (1.22.1-1.1) UNRELEASED; urgency=low
+
+ * debian/gnustep-base-runtime.gdomap.in: Add support for "status action.
+
+ -- Peter Eisentraut <[email protected]> Thu, 27 Oct 2011 21:12:47 +0300
+
gnustep-base (1.22.1-1) unstable; urgency=low
* New upstream release:
diff -u gnustep-base-1.22.1/debian/gnustep-base-runtime.gdomap.in gnustep-base-1.22.1/debian/gnustep-base-runtime.gdomap.in
--- gnustep-base-1.22.1/debian/gnustep-base-runtime.gdomap.in
+++ gnustep-base-1.22.1/debian/gnustep-base-runtime.gdomap.in
@@ -24,6 +24,8 @@
. /etc/default/gdomap
fi
+. /lib/lsb/init-functions
+
case "$1" in
start)
echo -n "Starting $DESC: "
@@ -48,9 +50,12 @@
-- -I $PIDFILE $GDOMAP_ARGS
echo "$NAME."
;;
+ status)
+ status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+ ;;
*)
N=/etc/init.d/$NAME
- echo "Usage: $N {start|stop|restart|force-reload}" >&2
+ echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
exit 1
;;
esac
diff -u gnustep-base-1.22.1/debian/control gnustep-base-1.22.1/debian/control
--- gnustep-base-1.22.1/debian/control
+++ gnustep-base-1.22.1/debian/control
@@ -45,7 +45,8 @@
Depends: gnustep-base-common (>= ${source:Version}),
${shlibs:Depends},
${misc:Depends},
- ${gnustep:Depends}
+ ${gnustep:Depends},
+ lsb-base
Description: GNUstep Base library - daemons and tools
The GNUstep Base Library is a powerful fast library of
general-purpose, non-graphical Objective C classes, inspired by the