Lintian Fixes - ypserv

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 637efc8..f899f2d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,14 @@
 ypserv (4.2-2) UNRELEASED; urgency=medium
 
+  [ Francesco Paolo Lovergine ]
   * Added netbase dependency on netbase. Thanks Peter Williams for pointing
-    the now missing dependency for running a working make. 
+    the now missing dependency for running a working make.
+
+  [ Debian Janitor ]
+  * Use set -e rather than passing -e on the shebang-line.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * Update standards version to 4.6.2, no changes needed.
+  * Remove field Section on binary package ypserv that duplicates source.
 
  -- Francesco Paolo Lovergine <frankie@debian.org>  Sun, 18 Jun 2023 11:05:36 +0200
 
diff --git a/debian/control b/debian/control
index 74bee68..f903444 100644
--- a/debian/control
+++ b/debian/control
@@ -12,13 +12,12 @@ Build-Depends: debhelper-compat (=13)
  ,gettext
  ,docbook-xsl
  ,xsltproc
-Standards-Version: 4.5.1
+Standards-Version: 4.6.2
 Homepage: http://www.linux-nis.org/
 Vcs-Browser: https://salsa.debian.org/debian-nis-team/ypserv
 Vcs-Git: https://salsa.debian.org/debian-nis-team/ypserv.git
 
 Package: ypserv
-Section: net
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
  ,make
diff --git a/debian/postinst b/debian/postinst
index 51e94d6..f7cb20f 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh
 #
 # summary of how this script can be called:
 #    * <postinst> `configure' <most-recently-configured-version>
@@ -17,6 +17,8 @@
 #     installation fails and the `postinst' is called with `abort-upgrade',
 #     `abort-remove' or `abort-deconfigure'.
 
+set -e
+
 umask 022
 
 case "$1" in
diff --git a/debian/rules b/debian/rules
index 9284683..a0a84f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,12 +30,12 @@ gen-manpages:
 override_dh_auto_configure:
 	dh_auto_configure
 	for f in `find $(CURDIR) -name '*.8.xml'`; \
-		do d=`dirname $$f`; n=`basename $$f .xml`; [ -f $(CURDIR)/$$d/$$n ] || cp -f $(CURDIR)/debian/man/$$n $$d/.; done 
+		do d=`dirname $$f`; n=`basename $$f .xml`; [ -f $(CURDIR)/$$d/$$n ] || cp -f $(CURDIR)/debian/man/$$n $$d/.; done
 
 override_dh_auto_clean:
 	dh_auto_clean
 	for f in `find $(CURDIR) -name '*.8.xml'|egrep -v "yppasswdd.8|makedbm.8|ypxfrd.8|mknetid.8"`; \
-		do d=`dirname $$f`; n=`basename $$f .xml`; rm -f $$d/$$n; done 
+		do d=`dirname $$f`; n=`basename $$f .xml`; rm -f $$d/$$n; done
 
 override_dh_auto_install:
 	dh_auto_install --destdir=$(CURDIR)/debian/tmp
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..e904d16
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/thkukuk/ypserv/issues
+Bug-Submit: https://github.com/thkukuk/ypserv/issues/new
+Repository-Browse: https://github.com/thkukuk/ypserv

Run locally

More details

Full run details