From 377f94c4947cca923d9a1bf0ac259d28794ddd73 Mon Sep 17 00:00:00 2001
From: Tomas Hlavacek
Date: Fri, 9 Aug 2019 16:11:35 +0200
Subject: [PATCH] Fix Debian build warnings
Fix Debian build warnings caused by autotools_dev are deprecated and
superseeded by dh_autoreconf.
Fix Debian build warnings caused by unknown lines in control file.
---
debian/control | 11 ++++-------
debian/rules | 2 +-
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/debian/control b/debian/control
index 9e47675..80be17f 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: bgpstream1
Section: net
Priority: optional
Maintainer: BGPStream
-Build-Depends: debhelper (>=9),autotools-dev,libwandio1-dev (>=4.0.0)
+Build-Depends: debhelper (>=9),libwandio1-dev (>=4.0.0),dh-autoreconf
Standards-Version: 3.9.6
Homepage: https://bgpstream.caida.org
@@ -10,19 +10,16 @@ Package: bgpstream1-tools
Architecture: any
Depends: libwandio1 (>=4.0.0), ${shlibs:Depends}, ${misc:Depends}
Conflicts: bgpstream2-tools, libbgpstream2, libbgpstream2-dev
-Description: BGPStream
-BGPStream: An open-source software framework for live and historical BGP data analysis, supporting scientific research, operational monitoring, and post-event analysis.
+Description: BGPStream: An open-source software framework for live and historical BGP data analysis, supporting scientific research, operational monitoring, and post-event analysis.
Package: libbgpstream1
Architecture: any
Depends: libwandio1 (>=4.0.0), ${shlibs:Depends}, ${misc:Depends}
Conflicts: bgpstream2-tools, libbgpstream2, libbgpstream2-dev
-Description: BGPStream
-BGPStream: An open-source software framework for live and historical BGP data analysis, supporting scientific research, operational monitoring, and post-event analysis.
+Description: BGPStream: An open-source software framework for live and historical BGP data analysis, supporting scientific research, operational monitoring, and post-event analysis.
Package: libbgpstream1-dev
Architecture: any
Depends: libwandio1 (>=4.0.0), ${shlibs:Depends}, ${misc:Depends}
Conflicts: bgpstream2-tools, libbgpstream2, libbgpstream2-dev
-Description: BGPStream
-BGPStream: An open-source software framework for live and historical BGP data analysis, supporting scientific research, operational monitoring, and post-event analysis.
+Description: BGPStream: An open-source software framework for live and historical BGP data analysis, supporting scientific research, operational monitoring, and post-event analysis.
diff --git a/debian/rules b/debian/rules
index 8500b96..dfaeccd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@
%:
- dh $@ --with autotools_dev
+ dh $@ --with autoreconf
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|