Commit 628b5afd authored by Leo's avatar Leo

testing/ettercap: upgrade to 0.8.3

parent 528a00c8
# Contributor: Karim Kanso <kaz.kanso@gmail.com>
# Maintainer: Karim Kanso <kaz.kanso@gmail.com>
pkgname=ettercap
pkgver=0.8.2_git20190428
_gitrev=5fb604823c6063676ebdf7cac66b7807acb4f7ed
pkgver=0.8.3
pkgrel=0
pkgdesc="Multipurpose sniffer/interceptor/logger for switched LAN"
url="https://www.ettercap-project.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="cmake make gcc musl-dev ncurses-dev curl-dev libpcap-dev
libnet-dev pcre-dev flex bison linux-headers geoip-dev
check-dev"
subpackages="$pkgname-doc"
source="ettercap-$pkgver.zip::https://github.com/Ettercap/ettercap/archive/$_gitrev.zip"
builddir="$srcdir"/$pkgname-$_gitrev
libnet-dev pcre-dev flex bison linux-headers geoip-dev
check-dev"
subpackages="$pkgname-doc lib$pkgname:libs"
source="https://github.com/Ettercap/ettercap/releases/download/v$pkgver/ettercap-$pkgver.tar.gz"
build() {
mkdir build
......@@ -23,10 +21,8 @@ build() {
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} \
-DENABLE_GTK=OFF \
......@@ -38,13 +34,11 @@ build() {
}
check() {
cd build
make test
make -C build test
}
package() {
cd build
make DESTDIR="$pkgdir" install
make -C build DESTDIR="$pkgdir" install
}
sha512sums="7196d6e39a0cfb471d118e2158932ff5ee566e7f5d8dbfd9bc1f74aa0f6ad5c5cb3f513f921a22100298b225a36d396c694c5249091e12ac628c5a6ffe2a40ac ettercap-0.8.2_git20190428.zip"
sha512sums="d7058c1c633647bb5ae8575826c0c03e2adcc079e79b2cb188b2ab99cd7980ca439170571b8f80a98cc3327ce2cae9ad906391c1d79cfd763bacb3e6abf61b27 ettercap-0.8.3.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment