blob: 7ae738ff86877d0ea36cbfe8950bd2883e37e0e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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"
|