[arch-commits] CVS update of extra/network/ettercap (PKGBUILD)
Kevin Piche
kevin at archlinux.org
Mon Oct 29 16:10:58 UTC 2007
Date: Monday, October 29, 2007 @ 12:10:58
Author: kevin
Path: /home/cvs-extra/extra/network/ettercap
Modified: PKGBUILD (1.24 -> 1.25)
upgpkg: ettercap NG_0.7.3-7
FS#4051: make GTK2 dep optional
----------+
PKGBUILD | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
Index: extra/network/ettercap/PKGBUILD
diff -u extra/network/ettercap/PKGBUILD:1.24 extra/network/ettercap/PKGBUILD:1.25
--- extra/network/ettercap/PKGBUILD:1.24 Sun Oct 7 02:26:37 2007
+++ extra/network/ettercap/PKGBUILD Mon Oct 29 12:10:58 2007
@@ -1,27 +1,30 @@
-# $Id: PKGBUILD,v 1.24 2007/10/07 06:26:37 tpowa Exp $
+# $Id: PKGBUILD,v 1.25 2007/10/29 16:10:58 kevin Exp $
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
# Maintainer: Kevin Piche <kevin at archlinux.org>
pkgname=ettercap
pkgver=NG_0.7.3
-origver=NG-0.7.3
-pkgrel=6
-pkgdesc="Ettercap is a network sniffer/interceptor/logger for ethernet LANs"
+_origver=NG-0.7.3
+pkgrel=7
+pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - console"
arch=(i686 x86_64)
url="http://ettercap.sourceforge.net/"
-depends=('ncurses' 'openssl' 'gtk2' 'libpcap>=0.9.8' 'libnet' 'pcre' 'libtool')
-source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$origver.tar.gz)
+license=('GPL')
+depends=('ncurses' 'openssl' 'libpcap>=0.9.8' 'zlib' 'pcre' 'libtool')
+makedepends=('libnet')
+options=(!libtool)
+source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$_origver.tar.gz)
+md5sums=('28fb15cd024162c55249888fe1b97820')
build() {
- cd $startdir/src/$pkgname-$origver
- ./configure --prefix=/usr --sysconfdir=/etc --enable-plugins --enable-https
+ cd $startdir/src/$pkgname-$_origver
+ ./configure --prefix=/usr --sysconfdir=/etc --enable-plugins \
+ --enable-https --disable-gtk
make || return 1
- make DESTDIR=$startdir/pkg install
+ make DESTDIR=$startdir/pkg install || return 1
cd plug-ins
make || return 1
- make DESTDIR=$startdir/pkg install
+ make DESTDIR=$startdir/pkg install || return 1
chmod 755 $startdir/pkg/usr/lib/ettercap/*
chmod 755 $startdir/pkg/usr/bin/ettercap
- # libtoolslay
- find $startdir/pkg -name '*.la' -exec rm {} \;
}
More information about the arch-commits
mailing list