diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-24 20:26:50 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-24 21:42:20 -0300 |
commit | 628b5afd595c1c42101b025cf53de1060c96475a (patch) | |
tree | 33e4b430d01455bafb6e440ca901c624acffc34b | |
parent | 528a00c8ec26faab9eb3548650f8cbb5d4c6d2fc (diff) | |
download | aports-628b5afd595c1c42101b025cf53de1060c96475a.tar.bz2 aports-628b5afd595c1c42101b025cf53de1060c96475a.tar.xz |
testing/ettercap: upgrade to 0.8.3
-rw-r--r-- | testing/ettercap/APKBUILD | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/testing/ettercap/APKBUILD b/testing/ettercap/APKBUILD index 5a0d9cc01d..06cb35e296 100644 --- a/testing/ettercap/APKBUILD +++ b/testing/ettercap/APKBUILD @@ -1,19 +1,17 @@ # 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" |