Date: Thursday, July 28, 2016 @ 18:57:41 Author: heftig Revision: 272645
2016_07_R1-1 Modified: kismet/trunk/PKGBUILD kismet/trunk/kismet.install Deleted: kismet/trunk/kismet.changelog ------------------+ PKGBUILD | 35 +++++++++++------------------------ kismet.changelog | 29 ----------------------------- kismet.install | 25 ++++++++----------------- 3 files changed, 19 insertions(+), 70 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-07-28 18:39:23 UTC (rev 272644) +++ PKGBUILD 2016-07-28 18:57:41 UTC (rev 272645) @@ -5,12 +5,12 @@ # Contributor: Juergen Hoetzel <[email protected]> pkgname=kismet -pkgver=2013_03_R1b +pkgver=2016_07_R1 _realver="${pkgver//_/-}" -pkgrel=4 +pkgrel=1 pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system" arch=('i686' 'x86_64') -url="http://www.kismetwireless.net/" +url="https://www.kismetwireless.net/" license=('GPL') depends=('libpcap' 'pcre' 'bluez-libs' 'libcap') optdepends=('gpsd: log coordinates of detected networks' @@ -22,37 +22,24 @@ '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') +source=("https://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.xz") +sha256sums=('bdb21f153311f1ff3b16621bf0d6740f66369bf0982b0a289c9a12af8847e237') validpgpkeys=('354689DF3C9DED803381A661D7B28822738BBDB1') # Michael Kershaw build() { - cd "${srcdir}/${pkgname}-${_realver}" + cd ${pkgname}-${_realver} ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var - make dep - make - - # Include plugins bundled with kismet - make plugins + make dep all plugins } package() { - cd "${srcdir}/${pkgname}-${_realver}" + cd ${pkgname}-${_realver} + make DESTDIR="$pkgdir" install plugins-install + install -o root -g 315 -m 4550 kismet_capture "${pkgdir}/usr/bin/" - # 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/" + install -Dm 644 README "$pkgdir/usr/share/doc/$pkgname/README" } Deleted: kismet.changelog =================================================================== --- kismet.changelog 2016-07-28 18:39:23 UTC (rev 272644) +++ kismet.changelog 2016-07-28 18:57:41 UTC (rev 272645) @@ -1,29 +0,0 @@ -2012-02-10 Eric Bélanger <[email protected]> - * Change libnl depends to libnl1 - -2010-05-07 Angel Velasquez <[email protected]> - * 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') Modified: kismet.install =================================================================== --- kismet.install 2016-07-28 18:39:23 UTC (rev 272644) +++ kismet.install 2016-07-28 18:57:41 UTC (rev 272645) @@ -3,15 +3,15 @@ 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!" + 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. + Kismet has been installed with a SUID ROOT CAPTURE HELPER executable by users + in the group ' kismet '. This WILL ALLOW USERS IN THIS GROUP TO ALTER YOUR + NETWORK INTERFACE 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 } @@ -19,16 +19,7 @@ ## 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:
