Package: portmap
Version: 6.0-9
Severity: wishlist
Tags: patch

Here is a patch to support the "status" action in the init.d script.
diff -u portmap-6.0/debian/init.d portmap-6.0/debian/init.d
--- portmap-6.0/debian/init.d
+++ portmap-6.0/debian/init.d
@@ -71,8 +71,12 @@
 	$0 stop
 	$0 start
 	;;
+    status)
+	status_of_proc /sbin/portmap portmap
+	exit $?
+	;;
     *)
-	log_success_msg "Usage: /etc/init.d/portmap {start|stop|force-reload|restart}"
+	log_success_msg "Usage: /etc/init.d/portmap {start|stop|force-reload|restart|status}"
 	exit 1
 	;;
 esac
diff -u portmap-6.0/debian/control portmap-6.0/debian/control
--- portmap-6.0/debian/control
+++ portmap-6.0/debian/control
@@ -9,7 +9,7 @@
 
 Package: portmap
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 1.3-9)
+Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.2-13)
 Replaces: netbase (<< 4.00)
 Conflicts: sysv-rc (< 2.86.ds1-59) 
 Description: RPC port mapper

Reply via email to