--- netkit-rwall-0.17.orig/debian/copyright
+++ netkit-rwall-0.17/debian/copyright
@@ -0,0 +1,16 @@
+This package was split from netstd by Herbert Xu herbert@debian.org on
+Wed, 3 Nov 1999 21:58:55 +1100.
+
+netstd was created by Peter Tobias tobias@et-inf.fho-emden.de on
+Wed, 20 Jul 1994 17:23:21 +0200.
+
+It was downloaded from ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/.
+
+Copyright:
+
+Copyright (c) 1993 Christopher G. Demetriou
+Copyright (c) 1983-1991 Regents of the University of California.
+
+The license can be found in /usr/share/common-licenses/BSD.
+
+$Id: copyright,v 1.2 2000/05/13 00:28:59 herbert Exp $
--- netkit-rwall-0.17.orig/debian/rwall.dirs
+++ netkit-rwall-0.17/debian/rwall.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
--- netkit-rwall-0.17.orig/debian/rwall.docs
+++ netkit-rwall-0.17/debian/rwall.docs
@@ -0,0 +1,2 @@
+BUGS
+README
--- netkit-rwall-0.17.orig/debian/rwalld.dirs
+++ netkit-rwall-0.17/debian/rwalld.dirs
@@ -0,0 +1,2 @@
+usr/sbin
+usr/share/man/man8
--- netkit-rwall-0.17.orig/debian/rwalld.postinst
+++ netkit-rwall-0.17/debian/rwalld.postinst
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+# $Id: rwalld.postinst,v 1.1 1999/11/03 11:15:25 herbert Exp $
+
+case "$1" in
+abort-upgrade | abort-deconfigure | abort-remove)
+ update-inetd --enable walld
+ ;;
+configure)
+ if [ -n "$2" ]; then
+ update-inetd --enable walld
+ else
+ update-inetd --remove "walld/1 dgram rpc/udp wait root /usr/sbin/tcpd /usr/sbin/rpc.rwalld"
+ update-inetd --group RPC --add "walld/1 dgram rpc/udp wait nobody /usr/sbin/tcpd /usr/sbin/rpc.rwalld"
+ fi
+ ;;
+*)
+ printf "$0: incorrect arguments: $*\n" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
--- netkit-rwall-0.17.orig/debian/rwalld.postrm
+++ netkit-rwall-0.17/debian/rwalld.postrm
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+# $Id: rwalld.postrm,v 1.2 2000/05/13 00:48:01 herbert Exp $
+
+case "$1" in
+abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear)
+ ;;
+purge)
+ # If netbase is not installed, then we don't need to do the remove.
+ if command -v update-inetd >/dev/null 2>&1; then
+ update-inetd --remove "walld/1 .* /usr/sbin/rpc.rwalld"
+ fi
+ ;;
+*)
+ echo "$0: incorrect arguments: $*" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
--- netkit-rwall-0.17.orig/debian/rwalld.prerm
+++ netkit-rwall-0.17/debian/rwalld.prerm
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+# $Id: rwalld.prerm,v 1.1 1999/11/03 11:15:25 herbert Exp $
+
+# If netbase is not installed, then we don't need to do the remove.
+if command -v update-inetd >/dev/null 2>&1; then
+ update-inetd --disable walld
+fi
+
+#DEBHELPER#
--- netkit-rwall-0.17.orig/debian/compat
+++ netkit-rwall-0.17/debian/compat
@@ -0,0 +1 @@
+7
--- netkit-rwall-0.17.orig/debian/rules
+++ netkit-rwall-0.17/debian/rules
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# GNU copyright 1997 to 1999 by Joey Hess.
+# Copyright (c) 1999 Herbert Xu <herbert@debian.org>
+# $Id: rules,v 1.5 2003/10/31 09:51:51 herbert Exp $
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+#export DH_COMPAT=2
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+build:
+ dh_testdir
+
+ if [ ! -f MCONFIG ]; then \
+ ./configure; \
+ sed -e 's/^CFLAGS=\(.*\)$$/CFLAGS= -g \1/' MCONFIG \
+ > MCONFIG.new; \
+ mv MCONFIG.new MCONFIG; \
+ fi
+ $(MAKE)
+
+clean:
+ dh_testdir
+ dh_testroot
+
+ [ ! -f MCONFIG ] || $(MAKE) distclean
+
+ dh_clean
+
+install: DH_OPTIONS=
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ install rwall/rwall debian/rwall/usr/bin
+ install rpc.rwalld/rwalld debian/rwalld/usr/sbin/rpc.rwalld
+ cp rwall/rwall.1 debian/rwall/usr/share/man/man1
+ cp rpc.rwalld/rpc.rwalld.8 debian/rwalld/usr/share/man/man8
+
+# This single target is used to build all the packages, all at once, or
+# one at a time. So keep in mind: any options passed to commands here will
+# affect _all_ packages. Anything you want to only affect one package
+# should be put in another target, such as the install target.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+ dh_installcron
+ dh_installinfo
+ dh_installchangelogs ChangeLog
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: install
+# (Uncomment this next line if you have such packages.)
+# $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: install
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+# Any other binary targets build just one binary package at a time.
+binary-%: install
+ make -f debian/rules binary-common DH_OPTIONS=-p$*
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- netkit-rwall-0.17.orig/debian/control
+++ netkit-rwall-0.17/debian/control
@@ -0,0 +1,23 @@
+Source: netkit-rwall
+Section: net
+Priority: optional
+Maintainer: Alberto Gonzalez Iniesta <agi@inittab.org>
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7)
+
+Package: rwalld
+Architecture: any
+Depends: rpcbind | portmap, openbsd-inetd | inet-superserver, ${shlibs:Depends}, ${misc:Depends}
+Description: Write messages to users currently logged in server
+ rpc.rwalld is a server which will send a message to users currently logged in
+ to the system. This server invokes the wall(1) command to actually write the
+ messages to the system.
+
+Package: rwall
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Send a message to users logged on a host
+ The rwall command sends a message to the users logged into the specified host.
+ The message to be sent can be typed in and terminated with EOF or it can be in
+ a file.
+
--- netkit-rwall-0.17.orig/debian/changelog
+++ netkit-rwall-0.17/debian/changelog
@@ -0,0 +1,80 @@
+netkit-rwall (0.17-7) unstable; urgency=low
+
+ * debian/control:
+ - Added alternative Depends on rpcbind (Closes: #564295)
+ - Moved netbase Depends to openbsd-inetd | inet-superserver
+ * Bumped Standards-Version to 3.8.3.
+ * Moved to debhelper compat 7
+ * Fixed small typo in rwall manpage. (Closes: #432058)
+
+ -- Alberto Gonzalez Iniesta <agi@inittab.org> Fri, 15 Jan 2010 17:17:00 +0100
+
+netkit-rwall (0.17-6) unstable; urgency=low
+
+ * The 'update-inetd' batch release.
+ * Moved to debhelper 4.
+ - Created debian/compat.
+ - debian/control. Updated debhelper dependency version.
+ * Added Depends on netbase (since we need update-inetd AND an inetd)
+ (Closes: #398554)
+ * Bumped Standards-Version to 3.7.2.2.
+
+ -- Alberto Gonzalez Iniesta <agi@inittab.org> Sat, 18 Nov 2006 10:42:41 +0100
+
+netkit-rwall (0.17-5) unstable; urgency=low
+
+ * Changed maintainer email address
+ * Removed full stops from package Descriptions to make lintian happy
+
+ -- Alberto Gonzalez Iniesta <agi@inittab.org> Fri, 25 Mar 2005 19:19:39 +0100
+
+netkit-rwall (0.17-4) unstable; urgency=low
+
+ * New Maintainer. (Closes: #249712)
+
+ -- Alberto Gonzalez Iniesta <agi@agi.as> Wed, 19 May 2004 16:20:59 +0200
+
+netkit-rwall (0.17-3) unstable; urgency=low
+
+ * Removed netkit-rpc/libc build-dependency.
+ * Depend on debhelper >= 2.
+ * Removed netbase dependency.
+ * Removed netstd reference in control.
+ * Removed build-stamp/install-stamp.
+
+ -- Herbert Xu <herbert@debian.org> Fri, 31 Oct 2003 20:50:07 +1100
+
+netkit-rwall (0.17-2) unstable; urgency=low
+
+ * Updated build-time dependency for rpc (closes: #113258).
+
+ -- Herbert Xu <herbert@debian.org> Mon, 24 Sep 2001 21:06:21 +1000
+
+netkit-rwall (0.17-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Herbert Xu <herbert@debian.org> Sun, 6 May 2001 10:07:25 +1000
+
+netkit-rwall (0.16-2) unstable; urgency=low
+
+ * Depend on portmap (closes: #72180).
+ * Added build-time dependencies.
+
+ -- Herbert Xu <herbert@debian.org> Fri, 22 Sep 2000 18:59:34 +1100
+
+netkit-rwall (0.16-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fixed pattern in postrm so that the inetd.conf entry is removed on purging
+ (closes: #63901).
+
+ -- Herbert Xu <herbert@debian.org> Sat, 13 May 2000 10:47:34 +1000
+
+netkit-rwall (0.10-1) unstable; urgency=low
+
+ * Initial release.
+ * Don't run as root (closes: #45594).
+
+ -- Herbert Xu <herbert@debian.org> Wed, 3 Nov 1999 21:52:39 +1100
+