aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ettercap/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ettercap/APKBUILD')
-rw-r--r--unmaintained/ettercap/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/unmaintained/ettercap/APKBUILD b/unmaintained/ettercap/APKBUILD
new file mode 100644
index 0000000000..7ae738ff86
--- /dev/null
+++ b/unmaintained/ettercap/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=ettercap
+pkgver=0.8.0
+pkgrel=0
+pkgdesc="Comprehensive suite for man in the middle attacks"
+url="http://ettercap.github.io/ettercap/"
+arch="all"
+license="GPL2+"
+depends="ethtool"
+depends_dev=""
+makedepends="$depends_dev autoconf automake bison cmake curl-dev flex
+ ghostscript groff libnet-dev libpcap-dev ncurses-dev
+ openssl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ mkdir build && cd build
+}
+
+build() {
+ cd "$_builddir"/build
+ cmake \
+ -D ENABLE_GTK=OFF \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D INSTALL_PREFIX=/usr \
+ -D MAN_INSTALLDIR=/usr/share/man \
+ -D CMAKE_SKIP_RPATH=ON \
+ -D ENABLE_IPV6=yes \
+ ../ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="067514bb53ff76b81d578676e2048319 ettercap-0.8.0.tar.gz"
+sha256sums="8013e2bbfc69af2939d8a40e6b31de5016fe75401e4b73207a0a8ac9053ac9bc ettercap-0.8.0.tar.gz"
+sha512sums="6d32b229378af5aea1dc82537f84a36c557021a01ccf40f228e69f6e39baa3f3becbb6138417bcad2951811d9ea57e89f960f7bb132fc09502e0b08f7a4ca813 ettercap-0.8.0.tar.gz"