summaryrefslogtreecommitdiff
path: root/extra/ettercap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ettercap/PKGBUILD')
-rw-r--r--extra/ettercap/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/extra/ettercap/PKGBUILD b/extra/ettercap/PKGBUILD
index f24789350..0d88722b6 100644
--- a/extra/ettercap/PKGBUILD
+++ b/extra/ettercap/PKGBUILD
@@ -1,22 +1,25 @@
-# $Id: PKGBUILD 134559 2011-08-05 19:15:39Z giovanni $
+# $Id: PKGBUILD 134606 2011-08-06 11:42:31Z giovanni $
# Maintainer:
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=ettercap
pkgver=NG_0.7.3
_origver=NG-0.7.3
-pkgrel=16
+pkgrel=17
pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - console"
arch=('i686' 'x86_64')
url="http://ettercap.sourceforge.net/"
license=('GPL')
depends=('ncurses' 'openssl' 'libpcap' 'zlib' 'pcre' 'libtool' 'libnet')
makedepends=('libnet' 'pkgconfig')
+backup=('etc/etter.conf')
options=(!libtool)
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_origver}.tar.gz"
- 01_pointers_and_ints_dont_mix.diff)
+ 01_pointers_and_ints_dont_mix.diff
+ ettercap-NG-0.7.3_dns_support_on_x86_64.patch)
md5sums=('28fb15cd024162c55249888fe1b97820'
- 'ad235cd90aaa3e168575d06efac4d862')
+ 'ad235cd90aaa3e168575d06efac4d862'
+ 'f3d66186eece056a6d71453f9f288623')
build() {
cd ${srcdir}/${pkgname}-${_origver}
@@ -28,6 +31,8 @@ build() {
patch -Np1 -i ${srcdir}/01_pointers_and_ints_dont_mix.diff
+ [ "$CARCH" = "x86_64" ] && patch -Np1 -i ${srcdir}/ettercap-NG-0.7.3_dns_support_on_x86_64.patch
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \