Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bpftune (0-1) UNRELEASED; urgency=medium

* Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP>

-- Bernd Zeimetz <[email protected]> Thu, 28 Nov 2024 21:39:29 +0100
29 changes: 29 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Source: bpftune
Section: admin
Priority: optional
Maintainer: Bernd Zeimetz <[email protected]>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
python3-docutils,
libbpf-dev,
libcap-dev,
clang,
llvm,
bpftool,
libnl-3-dev,
libnl-route-3-dev,
iperf3
Standards-Version: 4.7.0
Homepage: https://github.com/oracle/bpftune/tree/main
#Vcs-Browser: https://salsa.debian.org/debian/bpftune
#Vcs-Git: https://salsa.debian.org/debian/bpftune.git

Package: bpftune
Architecture: any
Depends:
${shlibs:Depends},
${misc:Depends},
Description: BPF driven auto-tuning
bpftune aims to provide lightweight, always-on auto-tuning
of system behaviour via BPF observability.
57 changes: 57 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/oracle/bpftune
Upstream-Name: bpftune
Upstream-Contact: https://github.com/oracle/bpftune/issues

Files:
*
Copyright:
2023 Oracle and/or its affiliates
License: GPL-2.0 WITH Linux-syscall-note
This package 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 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, see <https://www.gnu.org/licenses/>.
.
With an explicit syscall exception, as stated:
.
SPDX-Exception-Identifier: Linux-syscall-note
SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
SPDX-Licenses: GPL-2.0
Usage-Guide:
This exception is used together with one of the above SPDX-Licenses
to mark user space API (uapi) header files so they can be included
into non GPL compliant user space application code.
To use this exception add it with the keyword WITH to one of the
identifiers in the SPDX-Licenses tag:
SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
License-Text:
.
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.
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".


Files:
debian/*
Copyright:
2024 Bernd Zeimetz <[email protected]>
License: GPL-2.0 WITH Linux-syscall-note
37 changes: 37 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/usr/bin/make -f

# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1


# See FEATURE AREAS in dpkg-buildflags(1).
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# See ENVIRONMENT in dpkg-buildflags(1).
# Package maintainers to append CFLAGS.
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# Package maintainers to append LDFLAGS.
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export libdir=lib

%:
dh $@

clean:
dh $@
rm -f src/*.plist

override_dh_auto_test:
# no test for now, needs root and more magic.

override_dh_auto_install:
dh_auto_install
rm -rf debian/bpftune/etc

# dh_make generated override targets.
# This is an example for Cmake (see <https://bugs.debian.org/641051>).
#override_dh_auto_configure:
# dh_auto_configure -- \
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
10 changes: 10 additions & 0 deletions debian/salsa-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# For more information on what jobs are run see:
# https://salsa.debian.org/salsa-ci-team/pipeline
#
# To enable the jobs, go to your repository (at salsa.debian.org)
# and click over Settings > CI/CD > Expand (in General pipelines).
# In "CI/CD configuration file" write debian/salsa-ci.yml and click
# in "Save Changes". The CI tests will run after the next commit.
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
6 changes: 6 additions & 0 deletions debian/upstream/metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bug-Database: https://github.com/oracle/bpftune/issues
Bug-Submit: https://github.com/oracle/bpftune/issues/new
Changelog: https://github.com/oracle/bpftune/blob/master/CHANGES
Documentation: https://github.com/oracle/bpftune/wiki
Repository-Browse: https://github.com/oracle/bpftune
Repository: https://github.com/oracle/bpftune.git