Browse Source

Packaging cleanup

* Declare compliance with policy 4.7.0
* Bump debhelper compat level to 13
* Add missing patch description
* Update watch file
Christoph Biedl 3 months ago
parent
commit
139f20b1f5
3 changed files with 11 additions and 4 deletions
  1. 1 1
      debian/control
  2. 5 0
      debian/patches/upstream.use-cppflags.patch
  3. 5 3
      debian/watch

+ 1 - 1
debian/control

@@ -1,7 +1,7 @@
 Source: bgpdump
 Source: bgpdump
 Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
 Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
 Homepage: https://github.com/RIPE-NCC/bgpdump
 Homepage: https://github.com/RIPE-NCC/bgpdump
-Standards-Version: 4.6.0
+Standards-Version: 4.7.0
 Vcs-Browser: https://git.in-ulm.de/cbiedl/bgpdump
 Vcs-Browser: https://git.in-ulm.de/cbiedl/bgpdump
 Vcs-Git: https://git.in-ulm.de/cbiedl/bgpdump.git
 Vcs-Git: https://git.in-ulm.de/cbiedl/bgpdump.git
 Build-Depends: debhelper-compat (= 13),
 Build-Depends: debhelper-compat (= 13),

+ 5 - 0
debian/patches/upstream.use-cppflags.patch

@@ -1,3 +1,8 @@
+Description: Add CPPFLAGS to compiler options (reported by blhc)
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Forwarded: No
+Last-Update: 2020-04-30
+
 --- a/Makefile.in
 --- a/Makefile.in
 +++ b/Makefile.in
 +++ b/Makefile.in
 @@ -1,7 +1,7 @@
 @@ -1,7 +1,7 @@

+ 5 - 3
debian/watch

@@ -1,4 +1,6 @@
+
 version=4
 version=4
-https://github.com/RIPE-NCC/bgpdump/releases \
-    /RIPE-NCC/bgpdump/releases/download/v([0-9.]+)/libbgpdump-[0-9.]+\.tgz \
-    debian uupdate
+opts="searchmode=plain, \
+    oversionmangle=s/$/+ds/" \
+    https://api.github.com/repos/RIPE-NCC/@PACKAGE@/releases \
+        /RIPE-NCC/@PACKAGE@/releases/download/[^/]+/lib@PACKAGE@-([0-9][.0-9]*)@ARCHIVE_EXT@