[arch-commits] Commit in kismet/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 16:54:12 UTC 2015


    Date: Sunday, September 6, 2015 @ 18:54:12
  Author: foutrelis
Revision: 245362

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

Added:
  kismet/repos/staging-i686/
  kismet/repos/staging-i686/PKGBUILD
    (from rev 245361, kismet/trunk/PKGBUILD)
  kismet/repos/staging-i686/kismet.changelog
    (from rev 245361, kismet/trunk/kismet.changelog)
  kismet/repos/staging-i686/kismet.install
    (from rev 245361, kismet/trunk/kismet.install)
  kismet/repos/staging-x86_64/
  kismet/repos/staging-x86_64/PKGBUILD
    (from rev 245361, kismet/trunk/PKGBUILD)
  kismet/repos/staging-x86_64/kismet.changelog
    (from rev 245361, kismet/trunk/kismet.changelog)
  kismet/repos/staging-x86_64/kismet.install
    (from rev 245361, kismet/trunk/kismet.install)

---------------------------------+
 staging-i686/PKGBUILD           |   58 ++++++++++++++++++++++++++++++++++++++
 staging-i686/kismet.changelog   |   29 +++++++++++++++++++
 staging-i686/kismet.install     |   34 ++++++++++++++++++++++
 staging-x86_64/PKGBUILD         |   58 ++++++++++++++++++++++++++++++++++++++
 staging-x86_64/kismet.changelog |   29 +++++++++++++++++++
 staging-x86_64/kismet.install   |   34 ++++++++++++++++++++++
 6 files changed, 242 insertions(+)

Copied: kismet/repos/staging-i686/PKGBUILD (from rev 245361, kismet/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-06 16:54:12 UTC (rev 245362)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer:
+# Contributor: Angel Velasquez <angvp at archlinux.org> 
+# Contributor: Jason Chu <jason at archlinux.org>
+# Contributor: Juergen Hoetzel <jason at archlinux.org>
+
+pkgname=kismet
+pkgver=2013_03_R1b
+_realver="${pkgver//_/-}"
+pkgrel=3
+pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
+arch=('i686' 'x86_64')
+url="http://www.kismetwireless.net/"
+license=('GPL')
+depends=('libpcap' 'pcre' 'bluez-libs' 'libcap')
+optdepends=('gpsd: log coordinates of detected networks'
+            'wireshark-cli: provide OUI files used to determine device manufacturer'
+            'wireshark-cli: mergecap, to merge multiple capture files'
+            'sox: provide the default kismet sound playback binary'
+            'festival: text-to-speech support'
+            'flite:  alternative/lightweight text-to-speech support'
+            'ruby: ruby interface')
+backup=('etc/kismet.conf' 'etc/kismet_drone.conf')
+install=kismet.install
+changelog=kismet.changelog
+source=("http://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.gz"{,.asc})
+md5sums=('6cdcd78baf2e15edbe8a9de3c5493f02'
+         'SKIP')
+validpgpkeys=('354689DF3C9DED803381A661D7B28822738BBDB1') # Michael Kershaw
+
+build() {
+    cd "${srcdir}/${pkgname}-${_realver}"
+
+    ./configure --prefix=/usr \
+                --sysconfdir=/etc \
+                --localstatedir=/var
+    make dep
+    make
+
+    # Include plugins bundled with kismet
+    make plugins
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${_realver}"
+
+    # Install kismet
+    make DESTDIR="$pkgdir" install
+
+    # Install plugins
+    make plugins-install DESTDIR="$pkgdir"
+
+    # the README is very comprehensive, a good idea to include it
+    install -D -m 644 "${srcdir}/kismet-${_realver}/README" "${pkgdir}/usr/share/kismet/README"
+
+    # Our own suid-install, first half (see kismet.install)
+    install -o "root" -g "root" -m 4550 kismet_capture "${pkgdir}/usr/bin/"
+}

Copied: kismet/repos/staging-i686/kismet.changelog (from rev 245361, kismet/trunk/kismet.changelog)
===================================================================
--- staging-i686/kismet.changelog	                        (rev 0)
+++ staging-i686/kismet.changelog	2015-09-06 16:54:12 UTC (rev 245362)
@@ -0,0 +1,29 @@
+2012-02-10  Eric Bélanger  <eric at archlinux.org>
+	* Change libnl depends to libnl1
+	
+2010-05-07 Angel Velasquez <angvp at archlinux.org>
+    * ChangeLog added
+
+    * Removed old patches from SVN
+
+    * Applied changes from FS#15746 thanks to people who worked on it. 
+
+    * Files that are no longer shipped and so should not be backed up:
+      backup=('etc/ap_manuf' 'etc/client_manuf' 'etc/kismet_ui.conf')
+
+    *  No longer needed; gpsmap is deprecated and being replaced with a tile-based
+      mapper, as of yet incomplete
+      optdepends=('perl-libwww: fetch maps for gpsmap')
+
+    * Configuration has completely changed, no longer containing
+      references to either prism2 or wlanng 
+      sed -i 's/prism2/wlanng/g' conf/kismet.conf
+
+    * Ownership of man pages now defaults to "root" if the group "man" does not exist
+      chown root:root "$pkgdir"/usr/share/man/man{1,5}/*
+
+    * Dependencies no longer needed
+      depends=('gmp' 'imagemagick' 'dbus' 'libjpeg>=7')
+
+    * Options no longer needed
+      options=('!makeflags')

Copied: kismet/repos/staging-i686/kismet.install (from rev 245361, kismet/trunk/kismet.install)
===================================================================
--- staging-i686/kismet.install	                        (rev 0)
+++ staging-i686/kismet.install	2015-09-06 16:54:12 UTC (rev 245362)
@@ -0,0 +1,34 @@
+## arg 1:  the new package version
+post_install() {
+  post_upgrade
+
+  cat << EOP
+  If you have not done so already, read the README file and the FAQ file.
+	You MUST edit /etc/kismet.conf and configure Kismet for your system, or
+  it will NOT run properly!"
+
+  Kismet has been installed with a SUID ROOT CAPTURE HELPER executeable by 
+  users in the group ' kismet '.  This WILL ALLOW USERS IN THIS GROUP 
+  TO ALTER YOUR NETWORK INTERACE STATES, but is more secure than running 
+  all of Kismet as root.  ONLY users in this group will be able to 
+  run Kismet and capture from physical network devices.
+EOP
+}
+
+## arg 1:  the new package version
+## arg 2:  the old package version
+post_upgrade() {
+  # Add the group needed to use the limited-functionality binary "kismet_capture"
+  # Change group ownership of "kismet_capture" to this new group
+  # Preserve the file mode bits of "kismet_capture"
+  getent group "kismet" &>/dev/null || /usr/sbin/groupadd -r -g 315 kismet &>/dev/null
+  chown root:kismet "/usr/bin/kismet_capture"
+  chmod 4550 "/usr/bin/kismet_capture"
+}
+
+## arg 1:  the old package version
+post_remove() {
+  getent group "kismet" &>/dev/null && /usr/sbin/groupdel kismet &>/dev/null
+}
+
+# vim:set ts=2 sw=2 et:

Copied: kismet/repos/staging-x86_64/PKGBUILD (from rev 245361, kismet/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-06 16:54:12 UTC (rev 245362)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer:
+# Contributor: Angel Velasquez <angvp at archlinux.org> 
+# Contributor: Jason Chu <jason at archlinux.org>
+# Contributor: Juergen Hoetzel <jason at archlinux.org>
+
+pkgname=kismet
+pkgver=2013_03_R1b
+_realver="${pkgver//_/-}"
+pkgrel=3
+pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
+arch=('i686' 'x86_64')
+url="http://www.kismetwireless.net/"
+license=('GPL')
+depends=('libpcap' 'pcre' 'bluez-libs' 'libcap')
+optdepends=('gpsd: log coordinates of detected networks'
+            'wireshark-cli: provide OUI files used to determine device manufacturer'
+            'wireshark-cli: mergecap, to merge multiple capture files'
+            'sox: provide the default kismet sound playback binary'
+            'festival: text-to-speech support'
+            'flite:  alternative/lightweight text-to-speech support'
+            'ruby: ruby interface')
+backup=('etc/kismet.conf' 'etc/kismet_drone.conf')
+install=kismet.install
+changelog=kismet.changelog
+source=("http://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.gz"{,.asc})
+md5sums=('6cdcd78baf2e15edbe8a9de3c5493f02'
+         'SKIP')
+validpgpkeys=('354689DF3C9DED803381A661D7B28822738BBDB1') # Michael Kershaw
+
+build() {
+    cd "${srcdir}/${pkgname}-${_realver}"
+
+    ./configure --prefix=/usr \
+                --sysconfdir=/etc \
+                --localstatedir=/var
+    make dep
+    make
+
+    # Include plugins bundled with kismet
+    make plugins
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${_realver}"
+
+    # Install kismet
+    make DESTDIR="$pkgdir" install
+
+    # Install plugins
+    make plugins-install DESTDIR="$pkgdir"
+
+    # the README is very comprehensive, a good idea to include it
+    install -D -m 644 "${srcdir}/kismet-${_realver}/README" "${pkgdir}/usr/share/kismet/README"
+
+    # Our own suid-install, first half (see kismet.install)
+    install -o "root" -g "root" -m 4550 kismet_capture "${pkgdir}/usr/bin/"
+}

Copied: kismet/repos/staging-x86_64/kismet.changelog (from rev 245361, kismet/trunk/kismet.changelog)
===================================================================
--- staging-x86_64/kismet.changelog	                        (rev 0)
+++ staging-x86_64/kismet.changelog	2015-09-06 16:54:12 UTC (rev 245362)
@@ -0,0 +1,29 @@
+2012-02-10  Eric Bélanger  <eric at archlinux.org>
+	* Change libnl depends to libnl1
+	
+2010-05-07 Angel Velasquez <angvp at archlinux.org>
+    * ChangeLog added
+
+    * Removed old patches from SVN
+
+    * Applied changes from FS#15746 thanks to people who worked on it. 
+
+    * Files that are no longer shipped and so should not be backed up:
+      backup=('etc/ap_manuf' 'etc/client_manuf' 'etc/kismet_ui.conf')
+
+    *  No longer needed; gpsmap is deprecated and being replaced with a tile-based
+      mapper, as of yet incomplete
+      optdepends=('perl-libwww: fetch maps for gpsmap')
+
+    * Configuration has completely changed, no longer containing
+      references to either prism2 or wlanng 
+      sed -i 's/prism2/wlanng/g' conf/kismet.conf
+
+    * Ownership of man pages now defaults to "root" if the group "man" does not exist
+      chown root:root "$pkgdir"/usr/share/man/man{1,5}/*
+
+    * Dependencies no longer needed
+      depends=('gmp' 'imagemagick' 'dbus' 'libjpeg>=7')
+
+    * Options no longer needed
+      options=('!makeflags')

Copied: kismet/repos/staging-x86_64/kismet.install (from rev 245361, kismet/trunk/kismet.install)
===================================================================
--- staging-x86_64/kismet.install	                        (rev 0)
+++ staging-x86_64/kismet.install	2015-09-06 16:54:12 UTC (rev 245362)
@@ -0,0 +1,34 @@
+## arg 1:  the new package version
+post_install() {
+  post_upgrade
+
+  cat << EOP
+  If you have not done so already, read the README file and the FAQ file.
+	You MUST edit /etc/kismet.conf and configure Kismet for your system, or
+  it will NOT run properly!"
+
+  Kismet has been installed with a SUID ROOT CAPTURE HELPER executeable by 
+  users in the group ' kismet '.  This WILL ALLOW USERS IN THIS GROUP 
+  TO ALTER YOUR NETWORK INTERACE STATES, but is more secure than running 
+  all of Kismet as root.  ONLY users in this group will be able to 
+  run Kismet and capture from physical network devices.
+EOP
+}
+
+## arg 1:  the new package version
+## arg 2:  the old package version
+post_upgrade() {
+  # Add the group needed to use the limited-functionality binary "kismet_capture"
+  # Change group ownership of "kismet_capture" to this new group
+  # Preserve the file mode bits of "kismet_capture"
+  getent group "kismet" &>/dev/null || /usr/sbin/groupadd -r -g 315 kismet &>/dev/null
+  chown root:kismet "/usr/bin/kismet_capture"
+  chmod 4550 "/usr/bin/kismet_capture"
+}
+
+## arg 1:  the old package version
+post_remove() {
+  getent group "kismet" &>/dev/null && /usr/sbin/groupdel kismet &>/dev/null
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list