diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-14 10:53:59 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-14 10:53:59 +0100 |
commit | 02e61c89c8b9d79879335bfbd66f9e6b59982848 (patch) | |
tree | fca57eeca21f97a06309051f625a2b7517b1ec71 /community/ettercap/PKGBUILD | |
parent | 846195ec63b8881bda11580883ec06ae821a2669 (diff) | |
parent | 0bf564cf7a3d99207457267c75f92ceb67197537 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/erlang/PKGBUILD
community/ettercap/PKGBUILD
community/fcitx-mozc/PKGBUILD
community/libgexiv2/PKGBUILD
community/xmlrpc-c/PKGBUILD
extra/pidgin/PKGBUILD
extra/xorg-xrandr/PKGBUILD
Diffstat (limited to 'community/ettercap/PKGBUILD')
-rw-r--r-- | community/ettercap/PKGBUILD | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/community/ettercap/PKGBUILD b/community/ettercap/PKGBUILD index 68ae89717..83361a722 100644 --- a/community/ettercap/PKGBUILD +++ b/community/ettercap/PKGBUILD @@ -1,19 +1,20 @@ -# $Id: PKGBUILD 80196 2012-11-17 14:33:46Z jelle $ +# $Id: PKGBUILD 84194 2013-02-13 14:30:40Z jelle $ # Maintainer: # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgbase=ettercap pkgname=('ettercap' 'ettercap-gtk') -pkgver=0.7.5 -pkgrel=2 +pkgver=0.7.5.3 +pkgrel=1 arch=('i686' 'x86_64' 'mips64el') url="http://ettercap.github.com/ettercap/" license=('GPL') makedepends=('ghostscript' 'cmake' 'libpcap' 'libltdl' 'libnet' 'gtk2') options=('!libtool' '!makeflags' '!emptydirs') -source=("https://github.com/downloads/Ettercap/$pkgbase/$pkgbase-$pkgver.tar.gz" "ettercap.desktop") -md5sums=('ab2354bf9c91195f06ad0b5d058565a4') +source=("http://sourceforge.net/projects/ettercap/files/ettercap/0.7.5-Assimilation/$pkgname-$pkgver.tar.gz") +md5sums=('784b5cf2493246e95943179b21f70645' + 'f9281fe1735ceba59753bfe442715bb6') build() { cd "${srcdir}" @@ -22,31 +23,33 @@ build() { cd ${pkgbase}-${pkgver} mkdir build cd build - cmake -D ENABLE_GTK=ON -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../ + cmake -D ENABLE_GTK=OFF -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../ make cd "$srcdir"/${pkgbase}-${pkgver}-gtk mkdir build cd build - cmake -D ENABLE_GTK=ON -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../ + cmake -D ENABLE_GTK=ON -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../ make } package_ettercap() { pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - console" depends=('openssl' 'libpcap' 'pcre' 'libltdl' 'libnet') - backup=('etc/etter.conf') + backup=('etc/ettercap/etter.conf') + conflicts=('ettercap-gtk') cd "${srcdir}"/${pkgbase}-${pkgver}/build make DESTDIR="${pkgdir}" install } package_ettercap-gtk() { - pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - GTK" - depends=('ettercap' 'gtk2') + pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - GTK frontend" + depends=('libpcap' 'pcre' 'libltdl' 'libnet' 'openssl' 'gtk2') + backup=('etc/ettercap/etter.conf') + conflicts=('ettercap') cd "${srcdir}"/${pkgbase}-${pkgver}-gtk/build - install -Dm755 src/ettercap "${pkgdir}"/usr/bin/ettercap-gtk +#install -Dm755 src/ettercap "${pkgdir}"/usr/bin/ettercap-gtk + make DESTDIR="${pkgdir}" install } -md5sums=('037b28cd94efa086a795060fc0f76080' - 'f9281fe1735ceba59753bfe442715bb6') |