summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD18
2 files changed, 13 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 108a878ca0c..5d454aa29db 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cgproxy
pkgdesc = A transparent proxy program powered by cgroup2 and tproxy
- pkgver = 0.16
+ pkgver = 0.17
pkgrel = 2
url = https://github.com/springzfx/cgproxy
install = cgproxy.install
@@ -11,15 +11,16 @@ pkgbase = cgproxy
makedepends = clang
makedepends = cmake
makedepends = nlohmann-json
- makedepends = bpf
+ makedepends = libbpf
depends = gcc-libs
depends = systemd
depends = which
depends = iproute2
+ depends = libbpf
provides = cgproxy
conflicts = cgproxy
backup = etc/cgproxy/config.json
- source = cgproxy::git+https://github.com/springzfx/cgproxy#tag=v0.16
+ source = cgproxy::git+https://github.com/springzfx/cgproxy#tag=v0.17
md5sums = SKIP
pkgname = cgproxy
diff --git a/PKGBUILD b/PKGBUILD
index 5bec921c779..7b0d5cfd470 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Fancy Zhang <springzfx@gmail.com>
pkgname=cgproxy
-pkgver=0.16
+pkgver=0.17
pkgrel=2
pkgdesc="A transparent proxy program powered by cgroup2 and tproxy"
arch=('x86_64')
url="https://github.com/springzfx/cgproxy"
license=('GPL')
groups=('')
-makedepends=('llvm' 'clang' 'cmake' 'nlohmann-json' 'bpf')
-depends=('gcc-libs' 'systemd' 'which' 'iproute2')
+makedepends=('llvm' 'clang' 'cmake' 'nlohmann-json' 'libbpf')
+depends=('gcc-libs' 'systemd' 'which' 'iproute2' 'libbpf')
provides=('cgproxy')
conflicts=('cgproxy')
@@ -21,17 +21,17 @@ install='cgproxy.install'
build(){
cd ${srcdir}/${pkgname}
# init submodule
- git submodule init
- git submodule update
+ # git submodule init
+ # git submodule update
# build libexecsnoop.so
- cd "${srcdir}/${pkgname}/execsnoop-libbpf"
- make clean
- make CFLAGS="-O2 -Wall" libexecsnoop.so
+ # cd "${srcdir}/${pkgname}/execsnoop-libbpf"
+ # make clean
+ # make CFLAGS="-O2 -Wall" libexecsnoop.so
# build main binary
cd "${srcdir}/${pkgname}"
- mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make
+ mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. && make
}
package_cgproxy(){