summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog49
-rw-r--r--debian/control70
-rw-r--r--debian/copyright161
-rw-r--r--debian/gbp.conf10
-rw-r--r--debian/librtr-dev.examples1
-rw-r--r--debian/librtr-dev.install3
-rw-r--r--debian/librtr-doc.doc-base9
-rw-r--r--debian/librtr-doc.docs1
-rw-r--r--debian/librtr0.install1
-rw-r--r--debian/librtr0.symbols35
-rw-r--r--debian/patches/Disable-tests-requiring-Internet-access.patch32
-rw-r--r--debian/patches/disable-full-pathnames-in-Doxygen.patch26
-rw-r--r--debian/patches/series2
-rw-r--r--debian/rtr-tools.install1
-rw-r--r--debian/rtr-tools.manpages2
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/salsa-ci.yml4
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/control2
-rwxr-xr-xdebian/tests/tools-usage14
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch4
22 files changed, 439 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0b65e10
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,49 @@
+librtr (0.8.0-1) unstable; urgency=medium
+
+ * New upstream version 0.8.0.
+ * Update Standards-Version, no changes necessary.
+ * Refresh patches, drop those merged upstream.
+ * Add patch to disable full paths in Doxygen documentation.
+
+ -- Lukas Schwaighofer <lukas@schwaighofer.name> Sat, 11 Sep 2021 16:43:15 +0200
+
+librtr (0.7.0-1) unstable; urgency=medium
+
+ [ Samuel Henrique ]
+ * Team upload.
+ * Add salsa-ci.yml.
+
+ [ Debian Janitor ]
+ * Set debhelper-compat version in Build-Depends.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+ Repository-Browse.
+
+ [ Francisco Vilmar Cardoso Ruviaro ]
+ * New upstream version 0.7.0.
+ * Bump DH level to 13.
+ * Bump Standards-Version to 4.5.1.
+ * debian/control:
+ - Add 'Rules-Requires-Root: no'.
+ - Add pkg-config as build dependency.
+ * debian/copyright: update upstream and packaging copyright.
+ * debian/p/Use-FindPkgConfig-to-search-for-libssh-availability.patch: add.
+ Thanks to Marcel Röthke <marcel.roethke@haw-hamburg.de>. (Closes: #975174)
+ * debian/rules: drop DEB_LDFLAGS_MAINT_APPEND -Wl,--as-needed,
+ because this is default behavior in bullseye toolchain.
+
+ -- Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net> Sat, 16 Jan 2021 16:06:05 +0000
+
+librtr (0.6.3-1) unstable; urgency=medium
+
+ * Import new upstream release
+ - Fixes build issues with big endian architectures
+ * Mark librtr-doc as Multi-Arch: foreign
+ * Pass --as-needed to the linker to avoid useless dependencies
+
+ -- Lukas Schwaighofer <lukas@schwaighofer.name> Sun, 09 Dec 2018 14:04:06 +0100
+
+librtr (0.6.0-1) unstable; urgency=medium
+
+ * Initial release (Closes: #728206)
+
+ -- Lukas Schwaighofer <lukas@schwaighofer.name> Sat, 01 Dec 2018 22:43:01 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..910be57
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,70 @@
+Source: librtr
+Section: libs
+Priority: optional
+Maintainer: Debian Security Tools <team+pkg-security@tracker.debian.org>
+Uploaders: Lukas Schwaighofer <lukas@schwaighofer.name>
+Build-Depends:
+ cmake,
+ debhelper-compat (= 13),
+ doxygen,
+ libssh-dev,
+ pkg-config
+Standards-Version: 4.6.0
+Rules-Requires-Root: no
+Homepage: https://rtrlib.realmv6.org/
+Vcs-Browser: https://salsa.debian.org/pkg-security-team/librtr
+Vcs-Git: https://salsa.debian.org/pkg-security-team/librtr.git
+
+Package: librtr-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: librtr0 (= ${binary:Version}), ${misc:Depends}, libssh-dev
+Suggests: librtr-doc
+Description: Small extensible RPKI-RTR-Client C library - development files
+ RTRlib is an open-source C implementation of the RPKI/Router Protocol
+ client. The library allows one to fetch and store validated prefix origin data
+ from a RTR-cache and performs origin verification of prefixes. It supports
+ different types of transport sessions (e.g., SSH, unprotected TCP) and is
+ easily extendable.
+ .
+ This package contains development files.
+
+Package: librtr-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Description: Small extensible RPKI-RTR-Client C library - documentation
+ RTRlib is an open-source C implementation of the RPKI/Router Protocol
+ client. The library allows one to fetch and store validated prefix origin data
+ from a RTR-cache and performs origin verification of prefixes. It supports
+ different types of transport sessions (e.g., SSH, unprotected TCP) and is
+ easily extendable.
+ .
+ This package contains the doxygen generated HTML documentation for the
+ libraries.
+
+Package: librtr0
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Small extensible RPKI-RTR-Client C library
+ RTRlib is an open-source C implementation of the RPKI/Router Protocol
+ client. The library allows one to fetch and store validated prefix origin data
+ from a RTR-cache and performs origin verification of prefixes. It supports
+ different types of transport sessions (e.g., SSH, unprotected TCP) and is
+ easily extendable.
+
+Package: rtr-tools
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: RPKI-RTR command line tools
+ Contains tools provided with RTRlib.
+ .
+ rtrclient is command line that connects to an RPKI-RTR server and prints
+ protocol information and information about the fetched ROAs.
+ .
+ rpki-rov is a command line tool that connects to an RPKI-RTR server and allows
+ validating IP prefixes and origin ASes.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1b3e14d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,161 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rtrlib
+Source: https://github.com/rtrlib/rtrlib
+
+Files: *
+Copyright: 2011-2018 The RTRlib authors
+License: Expat
+
+Files: debian/*
+Copyright: 2011-2021 The RTRlib authors
+ 2018-2021 Lukas Schwaighofer <lukas@schwaighofer.name>
+ 2019 Samuel Henrique <samueloph@debian.org>
+ 2020-2021 Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net>
+License: Expat
+
+Files: scripts/checkpatch.pl
+ scripts/spelling.txt
+Copyright: 2001 Dave Jones
+ 2005 Joel Schopp <jschopp@austin.ibm.com>
+ 2007,2008 Andy Whitcroft <apw@uk.ibm.com>
+ 2008-2010 Andy Whitcroft <apw@canonical.com>
+ 2010-2018 Joe Perches <joe@perches.com>
+License: GPL-2
+
+Files: cmake/modules/Findcodecov.cmake
+ cmake/modules/FindLcov.cmake
+ cmake/modules/FindGcov.cmake
+Copyright: 2015-2016 RWTH Aachen University, Federal Republic of Germany
+License: GPL-3+
+
+Files: cmake/modules/FindPackageVersionCheck.cmake
+Copyright: 2009 Andreas Schneider <mail@cynapses.org>
+License: BSD-3-Clause
+
+Files: third-party/tommyds/*
+Copyright: 2010-2015 Andrea Mazzoleni
+License: BSD-2-Clause
+
+Files: third-party/mustach/*
+Copyright: ? José Bollo <jobol@nonadev.net>
+License: Apache-2.0
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License version 2 as published by the Free
+ Software Foundation.
+ .
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along with
+ this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
+ Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the full text of the GNU General Public License version 2
+ can be found in the file `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public License version 2
+ can be found in the file `/usr/share/common-licenses/GPL-3'.
+
+License: BSD-3-Clause
+ 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 Andreas Schneider 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 ANDREAS SCHNEIDER 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 ANDREAS SCHNEIDER 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.
+
+License: BSD-2-Clause
+ 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.
+ .
+ THIS SOFTWARE IS PROVIDED BY ANDREA MAZZOLENI 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 ANDREA MAZZOLENI 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.
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..bf43b91
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,10 @@
+[DEFAULT]
+pristine-tar = True
+debian-branch = debian/master
+upstream-tag = v%(version)s
+
+[buildpackage]
+sign-tags = True
+
+[import-orig]
+filter-pristine-tar = True
diff --git a/debian/librtr-dev.examples b/debian/librtr-dev.examples
new file mode 100644
index 0000000..598abd5
--- /dev/null
+++ b/debian/librtr-dev.examples
@@ -0,0 +1 @@
+doxygen/examples/*
diff --git a/debian/librtr-dev.install b/debian/librtr-dev.install
new file mode 100644
index 0000000..7df81cd
--- /dev/null
+++ b/debian/librtr-dev.install
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
diff --git a/debian/librtr-doc.doc-base b/debian/librtr-doc.doc-base
new file mode 100644
index 0000000..1016214
--- /dev/null
+++ b/debian/librtr-doc.doc-base
@@ -0,0 +1,9 @@
+Document: librtr
+Title: librtr library API documentation (Doxygen)
+Abstract: The doxygen generated documentation for programming with the librtr
+ library.
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/librtr-dev/html/index.html
+Files: /usr/share/doc/librtr-dev/html/*
diff --git a/debian/librtr-doc.docs b/debian/librtr-doc.docs
new file mode 100644
index 0000000..daf4bef
--- /dev/null
+++ b/debian/librtr-doc.docs
@@ -0,0 +1 @@
+usr/share/doc/rtrlib/docs/html
diff --git a/debian/librtr0.install b/debian/librtr0.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/librtr0.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/librtr0.symbols b/debian/librtr0.symbols
new file mode 100644
index 0000000..6234b8d
--- /dev/null
+++ b/debian/librtr0.symbols
@@ -0,0 +1,35 @@
+librtr.so.0 librtr0 #MINVER#
+* Build-Depends-Package: librtr-dev
+ lrtr_ip_addr_equal@Base 0.6.0
+ lrtr_ip_addr_to_str@Base 0.6.0
+ lrtr_ip_str_cmp@Base 0.6.0
+ lrtr_ip_str_to_addr@Base 0.6.0
+ lrtr_set_alloc_functions@Base 0.6.0
+ pfx_table_add@Base 0.6.2
+ pfx_table_for_each_ipv4_record@Base 0.6.0
+ pfx_table_for_each_ipv6_record@Base 0.6.0
+ pfx_table_free@Base 0.6.2
+ pfx_table_init@Base 0.6.2
+ pfx_table_remove@Base 0.6.2
+ pfx_table_src_remove@Base 0.6.2
+ pfx_table_validate@Base 0.6.2
+ pfx_table_validate_r@Base 0.6.0
+ rtr_get_interval_mode@Base 0.6.0
+ rtr_mgr_add_group@Base 0.6.0
+ rtr_mgr_conf_in_sync@Base 0.6.0
+ rtr_mgr_for_each_group@Base 0.6.0
+ rtr_mgr_for_each_ipv4_record@Base 0.6.0
+ rtr_mgr_for_each_ipv6_record@Base 0.6.0
+ rtr_mgr_free@Base 0.6.0
+ rtr_mgr_get_first_group@Base 0.6.0
+ rtr_mgr_get_spki@Base 0.6.0
+ rtr_mgr_init@Base 0.6.0
+ rtr_mgr_remove_group@Base 0.6.0
+ rtr_mgr_start@Base 0.6.0
+ rtr_mgr_status_to_str@Base 0.6.0
+ rtr_mgr_stop@Base 0.6.0
+ rtr_mgr_validate@Base 0.6.0
+ rtr_set_interval_mode@Base 0.6.0
+ rtr_state_to_str@Base 0.6.0
+ tr_ssh_init@Base 0.6.0
+ tr_tcp_init@Base 0.6.0
diff --git a/debian/patches/Disable-tests-requiring-Internet-access.patch b/debian/patches/Disable-tests-requiring-Internet-access.patch
new file mode 100644
index 0000000..7589a35
--- /dev/null
+++ b/debian/patches/Disable-tests-requiring-Internet-access.patch
@@ -0,0 +1,32 @@
+From: Lukas Schwaighofer <lukas@schwaighofer.name>
+Date: Sun, 11 Nov 2018 10:09:35 +0100
+Subject: Disable tests requiring Internet access.
+
+Tests requiring Internet access will fail on Debian's autobuilding
+machines.
+
+Forwarded: not-needed
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7e9aa98..12c65a0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -112,13 +112,13 @@ ADD_TEST(test_trie tests/test_trie)
+ ADD_TEST(test_ht_spkitable tests/test_ht_spkitable)
+ ADD_TEST(test_ht_spkitable_locks tests/test_ht_spkitable_locks)
+
+-ADD_TEST(test_live_validation tests/test_live_validation)
++#ADD_TEST(test_live_validation tests/test_live_validation)
+
+ ADD_TEST(test_ipaddr tests/test_ipaddr)
+
+ ADD_TEST(test_getbits tests/test_getbits)
+
+-ADD_TEST(test_dynamic_groups tests/test_dynamic_groups)
++#ADD_TEST(test_dynamic_groups tests/test_dynamic_groups)
+
+ #install lib
+ set (RTRLIB_VERSION_MAJOR 0)
diff --git a/debian/patches/disable-full-pathnames-in-Doxygen.patch b/debian/patches/disable-full-pathnames-in-Doxygen.patch
new file mode 100644
index 0000000..a4e9f88
--- /dev/null
+++ b/debian/patches/disable-full-pathnames-in-Doxygen.patch
@@ -0,0 +1,26 @@
+From: Lukas Schwaighofer <lukas@schwaighofer.name>
+Date: Sat, 11 Sep 2021 15:22:26 +0200
+Subject: disable full pathnames in Doxygen
+
+Full pathnames cause the location of the files at build time to be included in
+the title of the Doxygen pages. This is undesirable as location is different
+for the installed files and it makes builds unreproducible.
+
+Forwarded: not-needed
+---
+ doxygen/Doxyfile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doxygen/Doxyfile.in b/doxygen/Doxyfile.in
+index a9bef9e..5620eda 100644
+--- a/doxygen/Doxyfile.in
++++ b/doxygen/Doxyfile.in
+@@ -140,7 +140,7 @@ INLINE_INHERITED_MEMB = NO
+ # shortest path that makes the file name unique will be used
+ # The default value is: YES.
+
+-FULL_PATH_NAMES = YES
++FULL_PATH_NAMES = NO
+
+ # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
+ # Stripping is only done if one of the specified strings matches the left-hand
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..675bc3a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+Disable-tests-requiring-Internet-access.patch
+disable-full-pathnames-in-Doxygen.patch
diff --git a/debian/rtr-tools.install b/debian/rtr-tools.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/rtr-tools.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/rtr-tools.manpages b/debian/rtr-tools.manpages
new file mode 100644
index 0000000..900f976
--- /dev/null
+++ b/debian/rtr-tools.manpages
@@ -0,0 +1,2 @@
+usr/share/man/man1/rpki-rov.1
+usr/share/man/man1/rtrclient.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d8309f6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+ dh $@
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..33c3a64
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,4 @@
+---
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..0c2cd1e
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: tools-usage
+Depends: rtr-tools
diff --git a/debian/tests/tools-usage b/debian/tests/tools-usage
new file mode 100755
index 0000000..07daadf
--- /dev/null
+++ b/debian/tests/tools-usage
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Very basic autopkg test to validate the two command line utilities rtrclient
+# and rpki-rov print a usage message when run without any arguments.
+
+for prg in rtrclient rpki-rov ; do
+ out=$("$prg" 2>&1)
+ if ! echo "${out}" | grep -q '^Usage:' ; then
+ echo "Error running ${prg}:" >&2
+ echo "Expected output to start with \"Usage:\", got:\n${out}" >&2
+ exit 1
+ fi
+
+done
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2e8c7f7
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/rtrlib/rtrlib/issues
+Bug-Submit: https://github.com/rtrlib/rtrlib/issues/new
+Repository: https://github.com/rtrlib/rtrlib.git
+Repository-Browse: https://github.com/rtrlib/rtrlib
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..263a420
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%librtr-$1.tar.gz%" \
+ https://github.com/rtrlib/rtrlib/releases \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian