diff options
author | root <root@rshg054.dnsready.net> | 2011-09-08 16:35:25 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-08 16:35:25 +0000 |
commit | 8cca36c97b57b8d0a7e5521647c02409eb94ade4 (patch) | |
tree | 8e893420d3a3c3ce565a8ab627f3bbce04ac5a69 /extra/ettercap/PKGBUILD | |
parent | e63433d7f10b5c32f348d4b2cfb38c777b314420 (diff) |
Thu Sep 8 16:35:25 UTC 2011
Diffstat (limited to 'extra/ettercap/PKGBUILD')
-rw-r--r-- | extra/ettercap/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
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 <Jeepster@gmx.co.uk> @@ -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 } |