Skip to content

Commit

Permalink
ecapture: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
yingziwu committed Jan 22, 2025
1 parent d0417f6 commit 0eb601a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 43 deletions.
32 changes: 0 additions & 32 deletions archlinuxcn/ecapture/0001-fix-build.patch

This file was deleted.

13 changes: 3 additions & 10 deletions archlinuxcn/ecapture/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,21 @@
# Contributor: Y7n05h <[email protected]>

pkgname=ecapture
pkgver=0.9.2
pkgver=0.9.3
pkgrel=4
pkgdesc="capture SSL/TLS text content without CA cert using eBPF"
arch=("x86_64" "aarch64")
url="https://github.com/gojue/ecapture"
license=("Apache-2.0")
provides=("ecapture")
conflicts=("ecapture-bin")
source=("${pkgname}::git+${url}#tag=v${pkgver}"
"0001-fix-build.patch")
sha256sums=('5a7cf93659de8fd635989948e85fbdc197beab3c6fe47e976f315dc549a1cca6'
'bae6b6241a140bc0521cbf8760572f222c3113918561e3120eb9dd2c7a3f5c94')
source=("${pkgname}::git+${url}#tag=v${pkgver}")
sha256sums=('66d306d20326b32854d883f91339408631709e1677d37305f1112556474bb913')

_linux_package_name=linux
depends=("glibc")
makedepends=("clang" "go" "git" "bpf" "${_linux_package_name}" "${_linux_package_name}-headers" "libelf" "llvm" "pkgconf")

prepare() {
cd "${srcdir}/${pkgname}"
git apply "${srcdir}/0001-fix-build.patch"
}

build() {
cd "${srcdir}/${pkgname}"
UNAME_R=$(cat "/usr/src/${_linux_package_name}/version")
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/ecapture/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ update_on:
- source: alpm
alpm: linux-headers
- source: manual
manual: 0
manual: 0.1

0 comments on commit 0eb601a

Please sign in to comment.