summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoranthraxx2016-03-20 16:48:16 +0100
committeranthraxx2016-03-20 16:48:16 +0100
commit5d796280dbd4c700656e2ea1610ec52296d30fb0 (patch)
tree1d47a98c04d3e3092d6914278ea8ea9bb2c529d3
parentd14ed9844cea3861efa87d28d611ca7d77314bc6 (diff)
downloadaur-5d796280dbd4c700656e2ea1610ec52296d30fb0.tar.gz
upgpkg: bettercap-git 1.5.1.752.29d4382-1
upstream release
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 78d468c839e..6e3461a5ed4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Mar 4 14:26:20 UTC 2016
+# Sun Mar 20 15:48:16 UTC 2016
pkgbase = bettercap-git
pkgdesc = Complete, modular, portable and easily extensible MITM framework
- pkgver = 1.4.5.684.322501b
+ pkgver = 1.5.1.752.29d4382
pkgrel = 1
url = https://github.com/evilsocket/bettercap
arch = any
@@ -14,6 +14,7 @@ pkgbase = bettercap-git
depends = ruby-packetfu
depends = ruby-colorize
depends = ruby-net-dns
+ depends = ruby-em-proxy
provides = bettercap
conflicts = bettercap
options = !emptydirs
diff --git a/PKGBUILD b/PKGBUILD
index 340b09c6d3d..0a4fb37c412 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
pkgname=bettercap-git
-pkgver=1.4.5.684.322501b
+pkgver=1.5.1.752.29d4382
pkgrel=1
pkgdesc='Complete, modular, portable and easily extensible MITM framework'
url='https://github.com/evilsocket/bettercap'
arch=('any')
license=('GPL3')
-depends=('ruby' 'ruby-network_interface' 'ruby-pcaprub' 'ruby-packetfu' 'ruby-colorize' 'ruby-net-dns') # 'ruby-rubydns'
+depends=('ruby' 'ruby-network_interface' 'ruby-pcaprub' 'ruby-packetfu' 'ruby-colorize' 'ruby-net-dns' 'ruby-em-proxy') # 'ruby-rubydns'
makedepends=('git')
provides=('bettercap')
conflicts=('bettercap')
@@ -28,7 +28,7 @@ build() {
package() {
cd ${pkgname}
- local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ local _gemdir="$(gem env gemdir)"
gem install --ignore-dependencies --no-user-install -i "${pkgdir}/${_gemdir}" -n "${pkgdir}/usr/bin" bettercap*.gem
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"