Skip to content

Commit

Permalink
debian: use dh-dlopenlibdeps
Browse files Browse the repository at this point in the history
  • Loading branch information
hack3ric committed Jan 12, 2025
1 parent 9ae7cfe commit 4a8f28f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
name: Run tests with ${{ matrix.flags.flags }} ${{ matrix.flags.args }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
flags:
- flags: CHECKSUM_HACK=kfunc
Expand Down Expand Up @@ -49,14 +50,19 @@ jobs:
name: Build .deb packages for ${{ matrix.distro.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- name: Debian 12
codename: bookworm
image: debian:bookworm-slim
extra-repos: |
deb http://deb.debian.org/debian bookworm-backports main
- name: Ubuntu 24.04
codename: noble
image: ubuntu:noble
extra-repos: |
deb http://archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -65,6 +71,7 @@ jobs:
with:
buildpackage-opts: -b -us -uc
docker-image: ${{ matrix.distro.image }}
extra-repos: ${{ matrix.distro.extra-repos }}
- name: Upload
uses: actions/upload-artifact@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@ jobs:
name: Build .deb packages for ${{ matrix.distro.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- name: Debian 12
codename: bookworm
image: debian:bookworm-slim
extra-repos: |
deb http://deb.debian.org/debian bookworm-backports main
- name: Ubuntu 24.04
codename: noble
image: ubuntu:noble
extra-repos: |
deb http://archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -28,6 +33,7 @@ jobs:
with:
buildpackage-opts: -b -us -uc
docker-image: ${{ matrix.distro.image }}
extra-repos: ${{ matrix.distro.extra-repos }}
- name: Upload
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ Maintainer: Eric Long <[email protected]>
Build-Depends:
debhelper-compat (= 13),
dh-sequence-dkms,
dh-sequence-dlopenlibdeps,
dh-exec,
clang-16,
python3,
bpftool,
ronn,
libbpf-dev,
libffi-dev,
libxdp-dev,
linux-source,
linux-headers-generic
Standards-Version: 4.7.0
Expand All @@ -26,6 +28,8 @@ Depends:
${misc:Depends},
${shlibs:Depends},
mimic-modules (= ${binary:Version})
Recommends: ${dlopen:Recommends}
Suggests: ${dlopen:Suggests}
Description: eBPF UDP -> TCP obfuscator
Mimic is an experimental UDP to TCP obfuscator designed to bypass UDP
QoS and port blocking. Based on eBPF, it directly mangles data inside
Expand Down

0 comments on commit 4a8f28f

Please sign in to comment.