[arch-commits] Commit in ettercap/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel Micay
thestinger at archlinux.org
Sat Nov 15 05:02:45 UTC 2014
Date: Saturday, November 15, 2014 @ 06:02:44
Author: thestinger
Revision: 122591
archrelease: copy trunk to community-x86_64
Added:
ettercap/repos/community-x86_64/PKGBUILD
(from rev 122590, ettercap/trunk/PKGBUILD)
Deleted:
ettercap/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-11-15 05:02:07 UTC (rev 122590)
+++ PKGBUILD 2014-11-15 05:02:44 UTC (rev 122591)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgbase=ettercap
-pkgname=('ettercap' 'ettercap-gtk')
-pkgver=0.8.1
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://ettercap.github.com/ettercap/"
-license=('GPL')
-depends=('openssl' 'libpcap' 'pcre' 'libltdl' 'libnet' 'ethtool' 'curl')
-makedepends=('ghostscript' 'cmake' 'libpcap' 'libltdl' 'libnet' 'gtk2')
-options=('!makeflags' '!emptydirs')
-source=("https://github.com/Ettercap/ettercap/archive/v$pkgver.tar.gz")
-md5sums=('88510ca6d66b55f5e4363993d2fd81d0')
-
-build() {
- cd "${srcdir}"
-
- cp -r ${pkgbase}-${pkgver} ${pkgbase}-${pkgver}-gtk
-
- cd ${pkgbase}-${pkgver}
- mkdir build
- cd build
- 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 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"
- 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 frontend"
- depends+=('gtk2')
- backup=('etc/ettercap/etter.conf')
- conflicts=('ettercap')
- provides=('ettercap')
- optdepends=('polkit: to run ettercap directly from menu')
-
- cd "${srcdir}"/${pkgbase}-${pkgver}-gtk/build
- make DESTDIR="${pkgdir}" install
-}
Copied: ettercap/repos/community-x86_64/PKGBUILD (from rev 122590, ettercap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-11-15 05:02:44 UTC (rev 122591)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgbase=ettercap
+pkgname=('ettercap' 'ettercap-gtk')
+pkgver=0.8.1
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://ettercap.github.com/ettercap/"
+license=('GPL')
+depends=('openssl' 'libpcap' 'pcre' 'libltdl' 'libnet' 'ethtool' 'curl')
+makedepends=('ghostscript' 'cmake' 'libpcap' 'libltdl' 'libnet' 'gtk2')
+options=('!makeflags' '!emptydirs')
+source=("https://github.com/Ettercap/ettercap/archive/v$pkgver.tar.gz")
+md5sums=('1c6676b048137bdc4b5757b316d67bc8')
+
+build() {
+ cd "${srcdir}"
+
+ cp -r ${pkgbase}-${pkgver} ${pkgbase}-${pkgver}-gtk
+
+ cd ${pkgbase}-${pkgver}
+ mkdir build
+ cd build
+ 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 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"
+ 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 frontend"
+ depends+=('gtk2')
+ backup=('etc/ettercap/etter.conf')
+ conflicts=('ettercap')
+ provides=('ettercap')
+ optdepends=('polkit: to run ettercap directly from menu')
+
+ cd "${srcdir}"/${pkgbase}-${pkgver}-gtk/build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list