debian: Fix various linitian bugs Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/debian/changelog b/debian/changelog index 0d6f4e3..1a8a340 100644 --- a/debian/changelog +++ b/debian/changelog
@@ -4,8 +4,11 @@ * Merge Makefile.linux into Makefile * New Homepage & maintainer * Make build reproduceable (closes: Bug#776951) + * Fix various lintian warnings + * Drop trailing whitespaces in changelog + * Fix debian-rules-missing-recommended-target warning - -- Helge Deller <deller@gmx.de> Wed, 24 Sep 2020 20:13:47 +0200 + -- Helge Deller <deller@gmx.de> Thu, 24 Sep 2020 20:13:47 +0200 rbootd (2.0-11) unstable; urgency=medium @@ -53,7 +56,7 @@ * Removed debian/changelog.{rej,orig} * Corrected PF_SOCKET to PF_PACKET in pcap.c - + -- Alan Bain <afrb2@debian.org> Mon, 19 Sep 2005 22:18:57 +0100 rbootd (2.0-7) unstable; urgency=low @@ -74,7 +77,7 @@ -- Torsten Landschoff <torsten@debian.org> Sat, 10 Aug 2002 11:37:29 +0200 rbootd (2.0-6) unstable; urgency=low - + * Added build-depends on libpcap-dev closing bug #84507 * Corrected upstream source files @@ -82,7 +85,7 @@ rbootd (2.0-5) unstable; urgency=low - * Fixed a mistake in the control file + * Fixed a mistake in the control file * Package (2.0-3) didn't print a warning when upgraded to 2.0-4; this has now been corrected. * README no longer refers to /usr/local/lib @@ -93,7 +96,7 @@ -- Alan Bain <afrb2@debian.org> Sat, 4 Nov 1999 20:00:00 +0000 rbootd (2.0-4) unstable; urgency=low - + * Updated the control file to cover PA-RISC workstations * Fixed a potential buffer overrun problem * Incorporated a patch from Peter Maydell removing obfuscated C line @@ -125,7 +128,7 @@ -- Martin Schulze <joey@finlandia.infodrom.north.de> Sun, 24 Oct 1999 19:23:12 +0200 rbootd (2.0-3) unstable; urgency=low - + * Added README file provided by Peter Maydell which gives useful instructions on how to set up rbootd on a debian system. @@ -139,7 +142,7 @@ /export/hp/root (!) * compile options now include -g * strip binary in situ rather than before installing - * sequence no is 20 rather than 35 + * sequence no is 20 rather than 35 * copyright now refers to BSD copyright * capitalisation fixed * manpage paths fixed
diff --git a/debian/control b/debian/control index 15d5920..b795d1d 100644 --- a/debian/control +++ b/debian/control
@@ -9,7 +9,7 @@ Package: rbootd Architecture: any -Depends: netbase, ${shlibs:Depends} +Depends: netbase, lsb-base, ${shlibs:Depends} Suggests: bootparamd,nfs-server Description: Remote Boot Daemon The rbootd daemon is used for booting some HP workstations
diff --git a/debian/copyright b/debian/copyright index 3a86929..9b7e86c 100644 --- a/debian/copyright +++ b/debian/copyright
@@ -4,22 +4,33 @@ Source: https://git.kernel.org/pub/scm/linux/kernel/git/deller/rbootd.git/ Files: * -/* - * Copyright (c) 1988, 1992 The University of Utah and the Center - * for Software Science (CSS). - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * Sections Copyright (c) 1996,1998 Peter Maydell - * - * This code is derived from software contributed to Berkeley by - * the Center for Software Science of the University of Utah Computer - * Science Department. CSS requests users of this software to return - * to css-dist@cs.utah.edu any improvements that they make and grant - * CSS redistribution rights. - */ +Copyright (c) The Regents of the University of California. +All rights reserved. -rbootd may be distributed under the terms of the BSD license, -found on Debian systems in the file /usr/share/common-licenses/BSD. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + Copyright: 1988-2020 The University of Utah 1998 Peter Maydell <pmaydell@chiark.greenend.org.uk> 2020 Helge Deller <deller@gmx.de>
diff --git a/debian/rbootd.init.d b/debian/rbootd.init.d index 451b65e..3676c58 100644 --- a/debian/rbootd.init.d +++ b/debian/rbootd.init.d
@@ -22,6 +22,8 @@ NAME=rbootd DESC="remote boot daemon" +. /lib/lsb/init-functions + test -f $DAEMON || exit 0 test ! -r /etc/default/rbootd || . /etc/default/rbootd
diff --git a/debian/rules b/debian/rules index 925f989..0e9331d 100755 --- a/debian/rules +++ b/debian/rules
@@ -27,6 +27,9 @@ ## Note must use the special makefile to avoid needing BSD make +build-arch: build +build-indep: build + build: $(checkdir) $(MAKE) CFLAGS="$(CFLAGS)" rbootd