From 8cca36c97b57b8d0a7e5521647c02409eb94ade4 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 8 Sep 2011 16:35:25 +0000 Subject: Thu Sep 8 16:35:25 UTC 2011 --- extra/ettercap/PKGBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'extra/ettercap/PKGBUILD') diff --git a/extra/ettercap/PKGBUILD b/extra/ettercap/PKGBUILD index 3fae3deba..5924d10c7 100644 --- a/extra/ettercap/PKGBUILD +++ b/extra/ettercap/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 137221 2011-09-06 20:08:46Z andrea $ +# $Id: PKGBUILD 137345 2011-09-07 13:18:49Z andrea $ # Maintainer: # Contributor: Tom Newsom @@ -6,7 +6,7 @@ pkgbase=ettercap pkgname=('ettercap' 'ettercap-gtk') pkgver=NG_0.7.4.1 _origver=${pkgver/_/-} -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="http://ettercap.sourceforge.net/" license=('GPL') @@ -15,7 +15,7 @@ depends=('ncurses' 'openssl' 'libpcap' 'zlib' 'pcre' 'libtool' 'libnet' source=("http://drizztbsd.github.com/${pkgbase}/dist/${pkgbase}-${_origver}.tar.gz" 'ettercap.desktop') md5sums=('c6ae5f86361a85a8e193051f594a74fa' - '6fb03d9c890430d3afa84466bb01781b') + '2fb9c1fa838f33aab427865ae4fc93ac') build() { cd "${srcdir}" @@ -38,7 +38,8 @@ build() { --mandir=/usr/share/man \ --datarootdir=/usr/share \ --enable-plugins \ - --enable-https + --enable-https \ + --enable-gtk make } @@ -54,13 +55,16 @@ package_ettercap() { package_ettercap-gtk() { pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - GTK" - depends=('ettercap' 'gtk2' 'gksu') + depends=('ettercap' 'gtk2') + optdepends=('gksu: to run ettercap from the menu') install=ettercap-gtk.install cd "${srcdir}"/${pkgbase}-${_origver}-gtk install -Dm755 src/ettercap "${pkgdir}"/usr/bin/ettercap-gtk install -Dm644 "${srcdir}"/ettercap.desktop \ "${pkgdir}"/usr/share/applications/ettercap.desktop + install -Dm644 share/ettercap.png \ + "${pkgdir}"/usr/share/ettercap/ettercap.png install -Dm644 desktop/ettercap.xpm \ "${pkgdir}"/usr/share/pixmaps/ettercap.xpm } -- cgit v1.2.3-54-g00ecf