Run of lintian-fixes for hawknl

Try this locally (using the lintian-brush package):

debcheckout hawknl
cd hawknl
lintian-brush

Merge these changes:

git pull https://janitor.debian.net/git/hawknl lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 823a584..0649df7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+hawknl (1.6.8+dfsg2-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Transition to automatic debug package (from: libhawknl-dbg).
+  * debian/rules: Use dh_prep rather than "dh_clean -k".
+  * Bump debhelper from deprecated 5 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Update Vcs-* headers to use salsa repository.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 08 Apr 2021 03:38:58 -0000
+
 hawknl (1.6.8+dfsg2-1) unstable; urgency=low
 
   [ Barry deFreese ]
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7ed6ff8..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian/control b/debian/control
index 0017d39..e0fc840 100644
--- a/debian/control
+++ b/debian/control
@@ -3,11 +3,11 @@ Section: libs
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
 Uploaders: Barry deFreese <bdefreese@debian.org>
-Build-Depends: debhelper (>= 5.0.0), quilt
+Build-Depends: debhelper-compat (= 12), quilt
 Standards-Version: 3.8.3
 Homepage: http://hawksoft.com/hawknl/
-Vcs-Git: git://git.debian.org/pkg-games/hawknl.git
-Vcs-Browser: http://git.debian.org/?p=pkg-games/hawknl.git;a=summary
+Vcs-Git: https://salsa.debian.org/games-team/hawknl.git
+Vcs-Browser: https://salsa.debian.org/games-team/hawknl
 
 Package: libhawknl-dev
 Section: libdevel
@@ -16,7 +16,7 @@ Depends: ${misc:Depends}, libhawknl (= ${binary:Version})
 Description: Hawk game oriented network library API (development headers)
  HawkNL is a free, open source, game oriented network API.
  .
- HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix 
+ HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix
  Sockets and Winsock. But NL also provides other features
  including support for:
    * Multiple operating systems.
@@ -35,7 +35,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Hawk game oriented network library API
  HawkNL is a free, open source, game oriented network API.
  .
- HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix 
+ HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix
  Sockets and Winsock. But NL also provides other features
  including support for:
    * Multiple operating systems.
@@ -45,24 +45,3 @@ Description: Hawk game oriented network library API
    * CRC functions
    * Macros to read and write data to packets with endian conversion
    * Multiple network transports.
-
-Package: libhawknl-dbg
-Section: debug
-Architecture: any
-Depends: ${misc:Depends}, libhawknl (= ${binary:Version})
-Priority: extra
-Description: Hawk game oriented network library API (debug package)
- HawkNL is a free, open source, game oriented network API.
- .
- HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix 
- Sockets and Winsock. But NL also provides other features
- including support for:
-   * Multiple operating systems.
-   * Groups of sockets
-   * Socket statistics
-   * High accuracy timer
-   * CRC functions
-   * Macros to read and write data to packets with endian conversion
-   * Multiple network transports.
- .
- This package contains the debug symbols.
diff --git a/debian/rules b/debian/rules
index 88535a0..38695cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 endif
 
 build: patch build-stamp
-build-stamp: 
+build-stamp:
 	dh_testdir
 
 	$(MAKE) -C src -f makefile.linux
@@ -48,7 +48,7 @@ clean-stamp:
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 
 	$(MAKE) -C src -f makefile.linux install DESTDIR=$(CURDIR)/debian/tmp
 
@@ -62,7 +62,7 @@ binary-arch: build install
 	dh_installexamples
 	dh_installman
 	dh_install
-	dh_strip --dbg-package=libhawknl-dbg
+	dh_strip --dbgsym-migration='libhawknl-dbg (<< 1.6.8+dfsg2-2~)'
 	dh_link
 	dh_compress
 	dh_fixperms

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/88/12724283e4482e0a1359cbb2d5385d73099f18.debug
lrwxrwxrwx  root/root   /usr/share/doc/libhawknl-dbgsym -> libhawknl

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/usr/lib/libNL.so.1.6.8
-rw-r--r--  root/root   /usr/share/doc/libhawknl-dbg/changelog.Debian.gz
-rw-r--r--  root/root   /usr/share/doc/libhawknl-dbg/changelog.gz
-rw-r--r--  root/root   /usr/share/doc/libhawknl-dbg/copyright

No differences were encountered between the control files of package libhawknl

No differences were encountered between the control files of package libhawknl-dev

Publish History

  • 2021-05-13T03:55: Failed to create merge proposal: branch-rate-limited (Unexpected HTTP status 429 for https://salsa.debian.org/games-team/hawknl.git/info/refs?service=git-upload-pack: Unable to handle http code: Too Many Requests)
  • 2021-05-13T00:59: Failed to create merge proposal: hoster-no-login (Hoster salsa.debian.org supported but not login known.)

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t lintian-fixes libhawknl-dbgsym
apt install -t lintian-fixes libhawknl-dev
apt install -t lintian-fixes libhawknl

Lintian Result

Full worker log Full build log