[arch-commits] Commit in ettercap/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Sep 10 05:19:27 UTC 2015


    Date: Thursday, September 10, 2015 @ 07:19:26
  Author: foutrelis
Revision: 139755

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ettercap/repos/community-staging-i686/
  ettercap/repos/community-staging-i686/PKGBUILD
    (from rev 139754, ettercap/trunk/PKGBUILD)
  ettercap/repos/community-staging-x86_64/
  ettercap/repos/community-staging-x86_64/PKGBUILD
    (from rev 139754, ettercap/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   55 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   55 ++++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

Copied: ettercap/repos/community-staging-i686/PKGBUILD (from rev 139754, ettercap/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-10 05:19:26 UTC (rev 139755)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgbase=ettercap
+pkgname=('ettercap' 'ettercap-gtk')
+pkgver=0.8.2
+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=("$pkgbase-$pkgver.tar.gz::https://github.com/Ettercap/ettercap/archive/v$pkgver.tar.gz")
+sha1sums=('7e528632ca01c5977da1a0af56a5e05fbc383832')
+
+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-staging-x86_64/PKGBUILD (from rev 139754, ettercap/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-10 05:19:26 UTC (rev 139755)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgbase=ettercap
+pkgname=('ettercap' 'ettercap-gtk')
+pkgver=0.8.2
+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=("$pkgbase-$pkgver.tar.gz::https://github.com/Ettercap/ettercap/archive/v$pkgver.tar.gz")
+sha1sums=('7e528632ca01c5977da1a0af56a5e05fbc383832')
+
+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