[arch-commits] Commit in bettercap/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Jan 25 01:50:05 UTC 2019
Date: Friday, January 25, 2019 @ 01:50:04
Author: anthraxx
Revision: 427683
upgpkg: bettercap 2.12-2 CVE-2019-6486 rebuild
Modified:
bettercap/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-25 01:29:30 UTC (rev 427682)
+++ PKGBUILD 2019-01-25 01:50:04 UTC (rev 427683)
@@ -3,7 +3,7 @@
pkgname=bettercap
pkgver=2.12
-pkgrel=1
+pkgrel=2
pkgdesc='Swiss army knife for network attacks and monitoring'
url='https://github.com/bettercap/bettercap'
arch=('x86_64')
@@ -18,7 +18,7 @@
export GOPATH="${srcdir}/go"
mkdir -p go/src/github.com/bettercap
ln -rTsf ${pkgname}-${pkgver} go/src/github.com/bettercap/bettercap
- sed -E "s|(go build)|\\1 -ldflags -linkmode external -extldflags \"${LDFLAGS}\"|" -i ${pkgname}-${pkgver}/Makefile
+ sed -E "s|(go build)|\\1 -ldflags '-linkmode external -extldflags \"${LDFLAGS}\"'|" -i ${pkgname}-${pkgver}/Makefile
}
build() {
@@ -25,7 +25,7 @@
cd go/src/github.com/bettercap/bettercap
export GOPATH="${srcdir}/go"
dep ensure
- go build -o bettercap
+ make build
}
package() {
More information about the arch-commits
mailing list