summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:10:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:10:00 +0000
commit749c265897cde410eca1765c6c8457b84327cfb8 (patch)
tree338e5ee9bb8754b9fa392cc4d6c688f406bed125
parentAdding upstream version 1.3.1. (diff)
downloadxdp-tools-749c265897cde410eca1765c6c8457b84327cfb8.tar.xz
xdp-tools-749c265897cde410eca1765c6c8457b84327cfb8.zip
Adding debian version 1.3.1-1.debian/1.3.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog78
-rw-r--r--debian/control57
-rw-r--r--debian/copyright225
-rw-r--r--debian/gbp.conf12
-rw-r--r--debian/libxdp-dev.install4
-rw-r--r--debian/libxdp-dev.manpages1
-rw-r--r--debian/libxdp1.install2
-rw-r--r--debian/libxdp1.lintian-overrides2
-rw-r--r--debian/libxdp1.symbols73
-rwxr-xr-xdebian/rules39
-rw-r--r--debian/salsa-ci.yml4
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/control3
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch4
-rw-r--r--debian/xdp-tests.install1
-rw-r--r--debian/xdp-tests.lintian-overrides2
-rw-r--r--debian/xdp-tools.install6
-rw-r--r--debian/xdp-tools.manpages1
19 files changed, 519 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..afb0645
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,78 @@
+xdp-tools (1.3.1-1) unstable; urgency=medium
+
+ * Revert "d/control: Add conditional build dep to allow building on
+ Ubuntu."
+ * Update upstream source from tag 'upstream/1.3.1'
+ * Drop libm.patch, merged upstream
+ * Upload to unstable.
+
+ -- Luca Boccassi <bluca@debian.org> Sat, 25 Feb 2023 19:59:15 +0000
+
+xdp-tools (1.3.0-3~exp1) experimental; urgency=medium
+
+ [ Frode Nordahl ]
+ * d/control: Add conditional build dep to allow building on Ubuntu.
+ * d/rules: Conditionally set BPFTOOL variable for build.
+
+ -- Luca Boccassi <bluca@debian.org> Tue, 21 Feb 2023 15:58:46 +0000
+
+xdp-tools (1.3.0-2) unstable; urgency=medium
+
+ * Add patch to fix build on arm/mips
+
+ -- Luca Boccassi <bluca@debian.org> Sun, 12 Feb 2023 13:47:23 +0000
+
+xdp-tools (1.3.0-1) unstable; urgency=medium
+
+ * Update upstream source from tag 'upstream/1.3.0'
+ * Add build dependency on bpftool
+ * Install new tools
+ * Update symbols file
+ * Drop unused Lintian override
+
+ -- Luca Boccassi <bluca@debian.org> Sat, 11 Feb 2023 12:29:26 +0000
+
+xdp-tools (1.2.9-2) unstable; urgency=medium
+
+ * Bump Standards-Version to 4.6.2, no changes
+ * Bump copyright year ranges in d/copyright
+ * libxdp-dev: depend on libbpf-dev for pkgconfig's Requires.private
+
+ -- Luca Boccassi <bluca@debian.org> Fri, 13 Jan 2023 10:29:31 +0000
+
+xdp-tools (1.2.9-1) unstable; urgency=medium
+
+ * Update upstream source from tag 'upstream/1.2.9'
+
+ -- Luca Boccassi <bluca@debian.org> Wed, 14 Dec 2022 23:17:25 +0000
+
+xdp-tools (1.2.8-1) unstable; urgency=medium
+
+ * d/watch: use api.github.com
+ * Update upstream source from tag 'upstream/1.2.8'
+
+ -- Luca Boccassi <bluca@debian.org> Sat, 12 Nov 2022 00:21:06 +0000
+
+xdp-tools (1.2.6-2) unstable; urgency=medium
+
+ * Do not build-depend on gcc-multilib and instead export
+ -I/usr/include/<multiarch> for asm/types.h
+ * Export __MIPSEL__=1 to Clang on mipsel*
+
+ -- Luca Boccassi <bluca@debian.org> Sat, 20 Aug 2022 16:17:21 +0100
+
+xdp-tools (1.2.6-1) unstable; urgency=medium
+
+ * Do not depend on gcc-multilib on architectures where it's not
+ available
+ * d/copyright: rearrange stanzas
+ * Update upstream source from tag 'upstream/1.2.6'
+ * Drop patches, all merged upstream
+
+ -- Luca Boccassi <bluca@debian.org> Sat, 20 Aug 2022 02:55:59 +0100
+
+xdp-tools (1.2.5-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #1015880)
+
+ -- Luca Boccassi <bluca@debian.org> Sun, 24 Jul 2022 22:45:17 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3809472
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,57 @@
+Source: xdp-tools
+Section: devel
+Priority: optional
+Maintainer: Luca Boccassi <bluca@debian.org>
+Rules-Requires-Root: no
+Build-Depends: bpftool,
+ clang,
+ debhelper-compat (= 13),
+ libbpf-dev,
+ libelf-dev,
+ libpcap-dev,
+ llvm,
+ pkg-config,
+ zlib1g-dev,
+Standards-Version: 4.6.2
+Homepage: https://github.com/xdp-project/xdp-tools
+Vcs-Browser: https://salsa.debian.org/debian/xdp-tools
+Vcs-Git: https://salsa.debian.org/debian/xdp-tools.git
+
+Package: libxdp1
+Section: libs
+Architecture: linux-any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends},
+Pre-Depends: ${misc:Pre-Depends}
+Description: library and utilities for use with XDP - shared library
+ Library for working with the eXpress Data Path facility of the Linux kernel,
+ and a collection of utilities and example code that uses the library.
+
+Package: libxdp-dev
+Section: libdevel
+Architecture: linux-any
+Multi-Arch: same
+Depends: libxdp1 (= ${binary:Version}), ${misc:Depends}, libbpf-dev,
+Description: library and utilities for use with XDP - development files
+ Library for working with the eXpress Data Path facility of the Linux kernel,
+ and a collection of utilities and example code that uses the library.
+ .
+ This package provides the development files for libxdp1.
+
+Package: xdp-tools
+Architecture: linux-any
+Depends: libxdp1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends},
+Description: library and utilities for use with XDP
+ Library for working with the eXpress Data Path facility of the Linux kernel,
+ and a collection of utilities and example code that uses the library.
+ .
+ This package provides tools for the xdp ecosystem.
+
+Package: xdp-tests
+Architecture: linux-any
+Depends: xdp-tools (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends},
+Description: library and utilities for use with XDP - test scripts and programs
+ Library for working with the eXpress Data Path facility of the Linux kernel,
+ and a collection of utilities and example code that uses the library.
+ .
+ This package provides tests for the xdp tools.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f91477d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,225 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/xdp-project/xdp-tools
+Upstream-Name: xdp-tools
+
+Files: *
+Copyright: 2018-2022 Intel Corporation
+ 2019-2022 Red Hat
+ 2019-2022 Toke Høiland-Jørgensen <toke@redhat.com>
+ 2020 Michal Rostecki <mrostecki@mailfence.com>
+ 2020 Nick Hainke <vincent@systemli.org>
+ 2021-2022 Kumar Kartikeya Dwivedi <memxor@gmail.com>
+ 2022 Marcus Barczak <mbarczak@gmail.com>
+ 2021 Hengqi Chen <chenhengqi@outlook.com>
+ Grant Seltzer <grantseltzer@gmail.com>
+License: GPL-2.0
+
+Files: headers/linux/icmp.h
+ headers/linux/if.h
+Copyright: 2021 Red Hat
+License: GPL-2+ with Linux-syscall-note exception
+
+Files: **/Makefile
+ lib/common.mk
+ headers/xdp/parsing_helpers.h
+ headers/xdp/prog_dispatcher.h
+ headers/xdp/xdp_helpers.h
+ lib/libxdp/xsk_def_xdp_prog.h
+Copyright: 2018-2022 Intel Corporation
+ 2019-2022 Red Hat
+License: GPL-2.0 OR BSD-2-Clause
+
+Files: headers/linux/err.h
+ headers/linux/list.h
+ headers/xdp/libxdp.h
+ headers/xdp/xsk.h
+ lib/libxdp/bpf_instr.h
+ lib/libxdp/libxdp.c
+ lib/libxdp/libxdp.pc.template
+ lib/libxdp/xsk.c
+ lib/libbpf/*
+Copyright: 2018-2022 Intel Corporation
+ 2019-2022 Red Hat
+ 2019-2022 Toke Høiland-Jørgensen <toke@redhat.com>
+ 2020 Nick Hainke <vincent@systemli.org>
+ 2021-2022 Kumar Kartikeya Dwivedi <memxor@gmail.com>
+ 2022 Robin Cowley <robin.cowley@thehutgroup.com>
+ 2022 Gijs Peskens <gijs@peskens.net>
+ 2022 Cheng Li <lic121@chinatelecom.cn>
+ 2022 Sebastiano Miano <mianosebastiano@gmail.com>
+ 2022 Gian Lorenzo Meocci <glmeocci@gmail.com>
+ 2021 Qijun Chen <chenqijun@corp.netease.com>
+ 2013-2015 Alexei Starovoitov <ast@kernel.org>
+ 2015 Wang Nan <wangnan0@huawei.com>
+ 2015 Huawei Inc.
+ 2018, 2019, 2021 Facebook
+ 2017 Nicira, Inc.
+ 2019 Isovalent, Inc.
+ 2019 Netronome Systems, Inc.
+ 2003-2013 Thomas Graf <tgraf@suug.ch>
+ 2022 Meta Platforms, Inc. and affiliates.
+License: LGPL-2.1 OR BSD-2-Clause
+
+Files: headers/linux/bpf.h
+ headers/linux/btf.h
+ headers/linux/if_link.h
+ headers/linux/if_xdp.h
+ lib/libbpf/include/uapi/linux/bpf.h
+ lib/libbpf/include/uapi/linux/bpf_common.h
+ lib/libbpf/include/uapi/linux/btf.h
+ lib/libbpf/include/uapi/linux/if_link.h
+ lib/libbpf/include/uapi/linux/if_xdp.h
+Copyright: 2011-2014 PLUMgrid
+ 2018 Facebook
+ 2018-2022 Intel Corporation
+ 2019-2022 Red Hat
+License: GPL-2 with Linux-syscall-note exception
+
+Files: headers/linux/jhash.h
+Copyright: 2006. Bob Jenkins (bob_jenkins@burtleburtle.net)
+ 2009-2010 Jozsef Kadlecsik (kadlec@blackhole.kfki.hu)
+License: public-domain
+ These are the credits from Bob's sources:
+ .
+ lookup3.c, by Bob Jenkins, May 2006, Public Domain.
+ .
+ These are functions for producing 32-bit hashes for hash table lookup.
+ hashword(), hashlittle(), hashlittle2(), hashbig(), mix(), and final()
+ are externally useful functions. Routines to test the hash are included
+ if SELF_TEST is defined. You can use this free for any purpose. It's in
+ the public domain. It has no warranty.
+ .
+ Copyright (C) 2009-2010 Jozsef Kadlecsik (kadlec@netfilter.org)
+ .
+ I've modified Bob's hash to be useful in the Linux kernel, and
+ any bugs present are my fault.
+ Jozsef
+
+Files: debian/*
+Copyright: 2022-2023 Luca Boccassi <bluca@debian.org>
+License: BSD-2-Clause
+
+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 THE COPYRIGHT HOLDERS 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 THE COPYRIGHT HOLDER 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: GPL-2.0
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU General Public License version
+ 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-2 with Linux-syscall-note exception
+ NOTE! This copyright does *not* cover user programs that use kernel services
+ by normal system calls - this is merely considered normal use of the kernel,
+ and does *not* fall under the heading of "derived work". Also note that the
+ GPL below is copyrighted by the Free Software Foundation, but the instance of
+ code that it refers to (the Linux kernel) is copyrighted by me and others who
+ actually wrote it.
+ .
+ Also note that the only valid version of the GPL as far as the kernel is
+ concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x
+ or whatever), unless explicitly otherwise stated.
+ .
+ Linus Torvalds
+ .
+ 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; version 2 of the License.
+ .
+ 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 St, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian and 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-2+ with Linux-syscall-note exception
+ NOTE! This copyright does *not* cover user programs that use kernel services
+ by normal system calls - this is merely considered normal use of the kernel,
+ and does *not* fall under the heading of "derived work". Also note that the
+ GPL below is copyrighted by the Free Software Foundation, but the instance of
+ code that it refers to (the Linux kernel) is copyrighted by me and others who
+ actually wrote it.
+ .
+ Also note that the only valid version of the GPL as far as the kernel is
+ concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x
+ or whatever), unless explicitly otherwise stated.
+ .
+ Linus Torvalds
+ .
+ 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 2 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, write to the Free Software Foundation, Inc.,
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian and 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: LGPL-2.1
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser 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 complete text of the GNU Lesser General Public
+ License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’.
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+Comment:
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..14f85c0
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,12 @@
+[DEFAULT]
+debian-branch = debian/sid
+upstream-branch = upstream
+pristine-tar = True
+sign-tags = True
+
+[import-orig]
+upstream-vcs-tag = v%(version)s
+
+[dch]
+git-log = --first-parent
+customizations=/usr/share/doc/git-buildpackage/examples/wrap_cl.py
diff --git a/debian/libxdp-dev.install b/debian/libxdp-dev.install
new file mode 100644
index 0000000..76f28fa
--- /dev/null
+++ b/debian/libxdp-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
diff --git a/debian/libxdp-dev.manpages b/debian/libxdp-dev.manpages
new file mode 100644
index 0000000..754b078
--- /dev/null
+++ b/debian/libxdp-dev.manpages
@@ -0,0 +1 @@
+/usr/share/man/man3/*.3
diff --git a/debian/libxdp1.install b/debian/libxdp1.install
new file mode 100644
index 0000000..5798a56
--- /dev/null
+++ b/debian/libxdp1.install
@@ -0,0 +1,2 @@
+usr/lib/*/bpf/
+usr/lib/*/lib*.so.*
diff --git a/debian/libxdp1.lintian-overrides b/debian/libxdp1.lintian-overrides
new file mode 100644
index 0000000..d149bb6
--- /dev/null
+++ b/debian/libxdp1.lintian-overrides
@@ -0,0 +1,2 @@
+# BPF binaries
+libxdp1: binary-from-other-architecture [usr/lib/*/bpf/*.o]
diff --git a/debian/libxdp1.symbols b/debian/libxdp1.symbols
new file mode 100644
index 0000000..efd5ac7
--- /dev/null
+++ b/debian/libxdp1.symbols
@@ -0,0 +1,73 @@
+libxdp.so.1 libxdp1 #MINVER#
+* Build-Depends-Package: libxdp-dev
+ LIBXDP_1.0.0@LIBXDP_1.0.0 1.0.0
+ LIBXDP_1.2.0@LIBXDP_1.2.0 1.2.0
+ LIBXDP_1.3.0@LIBXDP_1.3.0 1.3.0
+ libxdp_clean_references@LIBXDP_1.2.0 1.2.0
+ libxdp_get_error@LIBXDP_1.0.0 1.0.0
+ libxdp_set_print@LIBXDP_1.0.0 1.0.0
+ libxdp_strerror@LIBXDP_1.0.0 1.0.0
+ xdp_multiprog__attach_mode@LIBXDP_1.0.0 1.0.0
+ xdp_multiprog__close@LIBXDP_1.0.0 1.0.0
+ xdp_multiprog__detach@LIBXDP_1.0.0 1.0.0
+ xdp_multiprog__get_from_ifindex@LIBXDP_1.0.0 1.0.0
+ xdp_multiprog__hw_prog@LIBXDP_1.0.0 1.0.0
+ xdp_multiprog__is_legacy@LIBXDP_1.0.0 1.0.0
+ xdp_multiprog__main_prog@LIBXDP_1.0.0 1.0.0
+ xdp_multiprog__next_prog@LIBXDP_1.0.0 1.0.0
+ xdp_multiprog__program_count@LIBXDP_1.2.0 1.2.0
+ xdp_multiprog__xdp_frags_support@LIBXDP_1.3.0 1.3.0
+ xdp_program__attach@LIBXDP_1.0.0 1.0.0
+ xdp_program__attach_multi@LIBXDP_1.0.0 1.0.0
+ xdp_program__bpf_obj@LIBXDP_1.0.0 1.0.0
+ xdp_program__btf@LIBXDP_1.0.0 1.0.0
+ xdp_program__chain_call_enabled@LIBXDP_1.0.0 1.0.0
+ xdp_program__clone@LIBXDP_1.3.0 1.3.0
+ xdp_program__close@LIBXDP_1.0.0 1.0.0
+ xdp_program__create@LIBXDP_1.3.0 1.3.0
+ xdp_program__detach@LIBXDP_1.0.0 1.0.0
+ xdp_program__detach_multi@LIBXDP_1.0.0 1.0.0
+ xdp_program__fd@LIBXDP_1.0.0 1.0.0
+ xdp_program__find_file@LIBXDP_1.0.0 1.0.0
+ xdp_program__from_bpf_obj@LIBXDP_1.0.0 1.0.0
+ xdp_program__from_fd@LIBXDP_1.0.0 1.0.0
+ xdp_program__from_id@LIBXDP_1.0.0 1.0.0
+ xdp_program__from_pin@LIBXDP_1.0.0 1.0.0
+ xdp_program__id@LIBXDP_1.0.0 1.0.0
+ xdp_program__is_attached@LIBXDP_1.0.0 1.0.0
+ xdp_program__name@LIBXDP_1.0.0 1.0.0
+ xdp_program__open_file@LIBXDP_1.0.0 1.0.0
+ xdp_program__pin@LIBXDP_1.0.0 1.0.0
+ xdp_program__print_chain_call_actions@LIBXDP_1.0.0 1.0.0
+ xdp_program__run_prio@LIBXDP_1.0.0 1.0.0
+ xdp_program__set_chain_call_enabled@LIBXDP_1.0.0 1.0.0
+ xdp_program__set_run_prio@LIBXDP_1.0.0 1.0.0
+ xdp_program__set_xdp_frags_support@LIBXDP_1.3.0 1.3.0
+ xdp_program__tag@LIBXDP_1.0.0 1.0.0
+ xdp_program__test_run@LIBXDP_1.3.0 1.3.0
+ xdp_program__xdp_frags_support@LIBXDP_1.3.0 1.3.0
+ xsk_cons_nb_avail@LIBXDP_1.2.0 1.2.0
+ xsk_prod_nb_free@LIBXDP_1.2.0 1.2.0
+ xsk_ring_cons__cancel@LIBXDP_1.2.0 1.2.0
+ xsk_ring_cons__comp_addr@LIBXDP_1.2.0 1.2.0
+ xsk_ring_cons__peek@LIBXDP_1.2.0 1.2.0
+ xsk_ring_cons__release@LIBXDP_1.2.0 1.2.0
+ xsk_ring_cons__rx_desc@LIBXDP_1.2.0 1.2.0
+ xsk_ring_prod__fill_addr@LIBXDP_1.2.0 1.2.0
+ xsk_ring_prod__needs_wakeup@LIBXDP_1.2.0 1.2.0
+ xsk_ring_prod__reserve@LIBXDP_1.2.0 1.2.0
+ xsk_ring_prod__submit@LIBXDP_1.2.0 1.2.0
+ xsk_ring_prod__tx_desc@LIBXDP_1.2.0 1.2.0
+ xsk_setup_xdp_prog@LIBXDP_1.2.0 1.2.0
+ xsk_socket__create@LIBXDP_1.2.0 1.2.0
+ xsk_socket__create_shared@LIBXDP_1.2.0 1.2.0
+ xsk_socket__delete@LIBXDP_1.2.0 1.2.0
+ xsk_socket__fd@LIBXDP_1.2.0 1.2.0
+ xsk_socket__update_xskmap@LIBXDP_1.2.0 1.2.0
+ xsk_umem__add_offset_to_addr@LIBXDP_1.2.0 1.2.0
+ xsk_umem__create@LIBXDP_1.2.0 1.2.0
+ xsk_umem__delete@LIBXDP_1.2.0 1.2.0
+ xsk_umem__extract_addr@LIBXDP_1.2.0 1.2.0
+ xsk_umem__extract_offset@LIBXDP_1.2.0 1.2.0
+ xsk_umem__fd@LIBXDP_1.2.0 1.2.0
+ xsk_umem__get_data@LIBXDP_1.2.0 1.2.0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7497f1d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,39 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/default.mk
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export PREFIX=/usr
+export LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
+export FORCE_SYSTEM_LIBBPF=1
+export PRODUCTION=1
+# For asm/types.h
+export BPF_CFLAGS=-Wno-visibility -I/usr/include/$(DEB_HOST_MULTIARCH)
+ifneq (,$(filter $(DEB_HOST_MULTIARCH), mips64el-linux-gnuabi64 mipsel-linux-gnu))
+export BPF_CFLAGS+= -D__MIPSEL__=1
+endif
+
+ifneq (,$(findstring terse,$(DEB_BUILD_OPTIONS)))
+export VERBOSE=0
+else
+export VERBOSE=1
+endif
+
+%:
+ dh $@
+
+# Tests require root and break the testbed
+override_dh_auto_test:
+
+execute_before_dh_auto_build:
+ # On Ubuntu, the `bpftool` in path is a shell wrapper pointing at
+ # the binary corresponding to runtime kernel version.
+ #
+ # We do not know the kernel version being used on the system building
+ # this package, and for the build we only need the tool to generate
+ # skeleton code.
+ #
+ # If /usr/lib/linux-tools-*/bpftool exists, locate the most recent
+ # version and point to that, otherwise `bpftool` from PATH will be
+ # used.
+ for _bpftool in $(ls /usr/lib/linux-tools-*/bpftool); do true;done
+ if [ -x "$_bpftool" ]; then export BPFTOOL=$_bpftool; fi
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..cb90861
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test-Command: /usr/libexec/xdp-tools/run_tests.sh
+Restrictions: isolation-machine, needs-root
+Depends: xdp-tests, ethtool, iproute2, iputils-ping, netcat-openbsd, tcpdump, tshark
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..70c71d5
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/xdp-project/xdp-tools/issues
+Bug-Submit: https://github.com/xdp-project/xdp-tools/issues/new
+Repository-Browse: https://github.com/xdp-project/xdp-tools
+Repository: https://github.com/xdp-project/xdp-tools.git
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f36c62c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="searchmode=plain" \
+ https://api.github.com/repos/xdp-project/@PACKAGE@/releases \
+ https://github.com/xdp-project/@PACKAGE@/releases/download/v(?:\d[\d.]*)/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@
diff --git a/debian/xdp-tests.install b/debian/xdp-tests.install
new file mode 100644
index 0000000..bbd596f
--- /dev/null
+++ b/debian/xdp-tests.install
@@ -0,0 +1 @@
+usr/share/xdp-tools usr/libexec/
diff --git a/debian/xdp-tests.lintian-overrides b/debian/xdp-tests.lintian-overrides
new file mode 100644
index 0000000..ae26359
--- /dev/null
+++ b/debian/xdp-tests.lintian-overrides
@@ -0,0 +1,2 @@
+xdp-tests: binary-from-other-architecture [usr/libexec/xdp-tools/*.o]
+xdp-tests: executable-not-elf-or-script
diff --git a/debian/xdp-tools.install b/debian/xdp-tools.install
new file mode 100644
index 0000000..a922ab0
--- /dev/null
+++ b/debian/xdp-tools.install
@@ -0,0 +1,6 @@
+usr/sbin/xdp-bench
+usr/sbin/xdp-filter
+usr/sbin/xdp-loader
+usr/sbin/xdp-monitor
+usr/sbin/xdp-trafficgen
+usr/sbin/xdpdump
diff --git a/debian/xdp-tools.manpages b/debian/xdp-tools.manpages
new file mode 100644
index 0000000..68de2e1
--- /dev/null
+++ b/debian/xdp-tools.manpages
@@ -0,0 +1 @@
+/usr/share/man/man8/*.8