netkit-bootparamd (0.17-9) debian-dir only changes

Summary

 debian/bootparamd.dirs |    5 ++
 debian/bootparamd.docs |    1 
 debian/bootparamd.init |   52 +++++++++++++++++++++++++++++
 debian/bootparams      |    7 +++
 debian/bootparams.5    |   68 ++++++++++++++++++++++++++++++++++++++
 debian/changelog       |   87 +++++++++++++++++++++++++++++++++++++++++++++++++
 debian/compat          |    1 
 debian/control         |   15 ++++++++
 debian/copyright       |   15 ++++++++
 debian/rules           |   77 +++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 328 insertions(+)

    
download this patch

Patch contents

--- netkit-bootparamd-0.17.orig/debian/bootparamd.dirs
+++ netkit-bootparamd-0.17/debian/bootparamd.dirs
@@ -0,0 +1,5 @@
+etc
+usr/sbin
+usr/share/doc/bootparamd
+usr/share/man/man5
+usr/share/man/man8
--- netkit-bootparamd-0.17.orig/debian/bootparamd.docs
+++ netkit-bootparamd-0.17/debian/bootparamd.docs
@@ -0,0 +1 @@
+README
--- netkit-bootparamd-0.17.orig/debian/bootparams
+++ netkit-bootparamd-0.17/debian/bootparams
@@ -0,0 +1,7 @@
+# /etc/bootparams: provide diskless clients with information necessary
+#                  for booting. See bootparamd(8) for further information.
+#
+# Format :  client id=server:path
+#
+# Example:  client_1   base=server_1:/path/to/basedir
+#
--- netkit-bootparamd-0.17.orig/debian/bootparams.5
+++ netkit-bootparamd-0.17/debian/bootparams.5
@@ -0,0 +1,68 @@
+.\" bootparams - bootparamd(8) configuration file
+.\" Copyright (c) 1999 by Martin Schulze <joey@debian.org>
+.\" 
+.\" This program is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License, or
+.\" (at your option) any later version.
+.\" 
+.\" This program is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+.\" GNU General Public License for more details.
+.\" 
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program; if not, write to the Free Software
+.\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+.\"
+.TH BOOTPARAMS 5 "24 October 1999" "" "Linux System Administration"
+.SH NAME
+bootparams \- bootparamd(8) configuration file
+.SH DESCRIPTION
+The
+.I bootparams
+file is the main configuration file for the
+.BR bootparamd (8)
+that answers to boot parameter requests.  This daemon is used by old
+HP9000 boxes, for example.
+.SH FORMAT
+The format of this file is very easy.  Each line starting with a hash
+sign (`#') is considered a comment.  All other lines look like:
+
+.IP
+.nf
+client id=server:path
+.fi
+.LP
+
+Where
+.I client
+is the name of the client machine,
+.I server
+is the hostname, fqdn or ip address of the server and
+.I path
+is the path to the resource in question.  Fields are separated by
+whitespace characters.  Each entry has its own line.
+
+You may break up lines by using the backslash (`\\') character.  In
+that case you will have to use a whitespace character before the
+backslash or the server will run into an endless loop.  You may use
+whitespace characters at the beginning of a new line.
+.SH EXAMPLES
+This will configure the host kataja:
+.IP
+.nf
+kataja root=finlandia:/var/lib/nfs/kataja
+.fi
+.LP
+While this configures the host kuusi, probably using the same scheme:
+.IP
+.nf
+kuusi.infodrom.north.de \\
+	root=finlandia.infodrom.north.de:/var/lib/nfs/kuusi
+.fi
+.LP
+.SH FILES
+.IR /etc/bootparams .
+.SH "SEE ALSO"
+.BR bootparamd (8).
--- netkit-bootparamd-0.17.orig/debian/copyright
+++ netkit-bootparamd-0.17/debian/copyright
@@ -0,0 +1,15 @@
+This package was split from netstd by Herbert Xu herbert@debian.org on
+Mon, 25 Oct 1999 15:06:44 +1000.
+
+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:
+
+bootparamd was written by Klas Heggemann <klas@nada.kth.se>.
+
+It has been placed in the public domain.
+
+$Id: copyright,v 1.2 2000/05/15 02:39:08 herbert Exp $
--- netkit-bootparamd-0.17.orig/debian/bootparamd.init
+++ netkit-bootparamd-0.17/debian/bootparamd.init
@@ -0,0 +1,52 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          bootparamd
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description:  Startup script for bootparamd
+### END INIT INFO
+#
+#		Modified for bootparamd by Herbert Xu <herbert@debian.org>
+#		Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+#		Modified for Debian GNU/Linux
+#		by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version:	$$Id: bootparamd.init,v 1.3 2002/10/05 07:43:06 herbert Exp $
+#
+
+DAEMON=/usr/sbin/rpc.bootparamd
+NAME=bootparamd
+DESC="boot parameter server"
+
+test -f $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: "
+	start-stop-daemon --start --quiet --exec $DAEMON -- -s
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --oknodo --stop --quiet --exec $DAEMON
+	echo "$NAME."
+	;;
+  restart|force-reload)
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --oknodo --stop --quiet --exec $DAEMON
+	sleep 1
+	start-stop-daemon --start --quiet --exec $DAEMON -- -s
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- netkit-bootparamd-0.17.orig/debian/control
+++ netkit-bootparamd-0.17/debian/control
@@ -0,0 +1,15 @@
+Source: netkit-bootparamd
+Section: net
+Priority: optional
+Maintainer: Alberto Gonzalez Iniesta <agi@inittab.org>
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 5)
+
+Package: bootparamd
+Architecture: any
+Depends: portmap, ${shlibs:Depends}
+Description: Boot parameter server
+ bootparamd is a server process that provides information to diskless clients
+ necessary for booting.  It consults the /etc/bootparams file to find the
+ information it needs.
+
--- netkit-bootparamd-0.17.orig/debian/compat
+++ netkit-bootparamd-0.17/debian/compat
@@ -0,0 +1 @@
+6
--- netkit-bootparamd-0.17.orig/debian/changelog
+++ netkit-bootparamd-0.17/debian/changelog
@@ -0,0 +1,87 @@
+netkit-bootparamd (0.17-9) unstable; urgency=low
+
+  * Fixed debian/rules properly to check for MCONFIG instead 
+    of Makefile before runing 'make distclean'. (Closes: #471616)
+
+ -- Alberto Gonzalez Iniesta <agi@inittab.org>  Fri, 21 Mar 2008 19:02:52 +0100
+
+netkit-bootparamd (0.17-8) unstable; urgency=low
+
+  * Added LSB headers to init.d script. (Closes: #468917)
+  * Bumped Standards-Version to 3.7.3
+  * Moved to debhelper compat 6. Created debian/compat
+
+ -- Alberto Gonzalez Iniesta <agi@inittab.org>  Sun, 16 Mar 2008 20:15:06 +0100
+
+netkit-bootparamd (0.17-7) unstable; urgency=low
+
+  * Changed maintainer email address
+  * Removed full stop from package Description to make lintian happy
+
+ -- Alberto Gonzalez Iniesta <agi@inittab.org>  Fri, 25 Mar 2005 19:32:47 +0100
+
+netkit-bootparamd (0.17-6) unstable; urgency=low
+
+  * New Maintainer. (Closes: #249705)
+
+ -- Alberto Gonzalez Iniesta <agi@agi.as>  Wed, 19 May 2004 16:17:50 +0200
+
+netkit-bootparamd (0.17-5) unstable; urgency=low
+
+  * Removed netkit-rpc/libc build-dependency.
+  * Removed netbase dependency.
+  * Removed netstd reference in control.
+  * Removed build-stamp/install-stamp.
+
+ -- Herbert Xu <herbert@debian.org>  Thu, 30 Oct 2003 22:29:34 +1100
+
+netkit-bootparamd (0.17-4) unstable; urgency=low
+
+  * Start bootparamd with -s in init script (closes: #149220).
+
+ -- Herbert Xu <herbert@debian.org>  Sat,  5 Oct 2002 17:42:55 +1000
+
+netkit-bootparamd (0.17-3) unstable; urgency=low
+
+  * Updated build-time dependency for rpc (closes: #113256).
+
+ -- Herbert Xu <herbert@debian.org>  Mon, 24 Sep 2001 20:52:03 +1000
+
+netkit-bootparamd (0.17-2) unstable; urgency=low
+
+  * Use --oknodo when stopping bootparamd in init script (closes: #81524).
+
+ -- Herbert Xu <herbert@debian.org>  Mon, 22 Jan 2001 22:19:18 +1100
+
+netkit-bootparamd (0.17-1) unstable; urgency=low
+
+  * New upstream release.
+    . The new config parsing code obsoletes the patch from Martin Schulze.  The
+      net effect is that continued lines are still OK, but case-insensitivity
+      is not.
+    . Code cleanup (closes: #75907).
+  * Added build-time dependencies.
+  * Fixed getopt return type (Tomas Berndtsson; closes: #75806).
+
+ -- Herbert Xu <herbert@debian.org>  Sun,  5 Nov 2000 21:43:09 +1100
+
+netkit-bootparamd (0.16-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Herbert Xu <herbert@debian.org>  Mon, 15 May 2000 12:47:29 +1000
+
+netkit-bootparamd (0.10-2) unstable; urgency=low
+
+  * Removed unnecessary dependency on netbase.
+
+ -- Herbert Xu <herbert@debian.org>  Sat,  6 Nov 1999 12:36:26 +1100
+
+netkit-bootparamd (0.10-1) unstable; urgency=low
+
+  * Initial Release.
+  * Ignore comments (closes: #33218).
+  * Applied patch from Martin Schulze (closes: 48233).
+
+ -- Herbert Xu <herbert@debian.org>  Fri, 15 Oct 1999 15:18:26 +1000
+
--- netkit-bootparamd-0.17.orig/debian/rules
+++ netkit-bootparamd-0.17/debian/rules
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+# GNU copyright 1997 to 1999 by Joey Hess.
+# $Id: rules,v 1.6 2003/10/30 11:30:49 herbert Exp $
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+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: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	install rpc.bootparamd/bootparamd \
+		debian/bootparamd/usr/sbin/rpc.bootparamd
+	cp rpc.bootparamd/bootparams.5 debian/bootparamd/usr/share/man/man5
+	cp rpc.bootparamd/bootparamd.8 \
+		debian/bootparamd/usr/share/man/man8
+	ln -s bootparamd.8 \
+		debian/bootparamd/usr/share/man/man8/rpc.bootparamd.8
+	cp debian/bootparams debian/bootparamd/etc
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+#	dh_testversion
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installemacsen
+#	dh_installpam
+	dh_installinit
+	dh_installcron
+#	dh_installmanpages
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	# You may want to make some executables suid here.
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install