You are not logged in.
Hello to everybody,
could everyone make a actual package for the newest Kismet version?
"Thu May 29 2008 - Kismet-2008-05-R1"
There is a kismet pkg in the testing and extra repo but each of them
are out of date.
thx
Last edited by invis!ble (2008-06-11 15:13:54)
Offline
What about using abs?
Offline
There isn't any newer version?
(I want to have a actual kismet version managed by the distro, so i'd like to have it via pacman)
greetings
Offline
If you build a newer version by using ABS and modifying the PKGBUILD etc.. it will be managed via pacman ![]()
Offline
Hmm i'd tryed the "traditional mode" but pacman doesnt know anythink about this installation?
Offline
Hmm i'd tryed the "traditional mode" but pacman doesnt know anythink about this installation?
Show me ... [Matrix]
How exactly did you do it?
[dragonlord]
Server = http://repo.dragonlord.cz/arch/i686
or
Server = http://repo.dragonlord.cz/arch/x86_64
Offline
I'am German .. so i do exactly the instruction of http://wiki.archlinux.de/?title=Abs
Offline
Here the new PKGBUILD based on the abs Version:
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Contributer: Jason Chu <jason@archlinux.org>
# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=kismet
pkgver=2008_05_R1
pkgrel=1
pkgdesc="802.11b sniffing software"
arch=(i686 x86_64)
license=('GPL')
if [ "${CARCH}" == "x86_64" ]; then
depends=('gcc-libs' 'libpcap>=0.9.8' 'ncurses')
else
depends=('gmp' 'imagemagick' 'libpcap>=0.9.8' 'ncurses')
fi
url="http://www.kismetwireless.net/"
backup=('etc/ap_manuf' 'etc/client_manuf' 'etc/kismet.conf' 'etc/kismet_drone.conf' 'etc/kismet_ui.conf')
source=(http://kismetwireless.net/code/kismet-2008-05-R1.tar.gz)
md5sums=('6ee365d36354b4dee4945e67f8149294')
build() {
cd $startdir/src/kismet-2008-05-R1
if [ $CARCH == "x86_64" ]; then
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-gpsmap
else
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
fi
make dep
make ||return 1
sed -i 's/prism2/wlanng/g' conf/kismet.conf
make DESTDIR=$startdir/pkg install
mkdir -p $startdir/pkg/usr/share/kismet
install -m 644 $startdir/src/kismet-2008-05-R1/README $startdir/pkg/usr/share/kismet
}Offline
So I'm kind of new to using ABS, but I tried to do this, and it didn't work...
I copied the PKGBUILD into the ABS tree (probably an unnecessary step), then copied it into ~/abs, then ran makepkg -c, which spits out a lot of errors about deprecated string conversion and ignored typedefs, especially in gpsmap.cc, before giving "make: *** [gpsmap.o] Error 1" and aborting. What am I doing wrong? Thanks.
Offline
Disable gpsmap for i686 also (if you don't need it). I built it recently, also had problems and didn't inspect why it fails.
You need to install an RTFM interface.
Offline
So uh...how would I do that?
Offline
Well, it sounds like when running the configure script, I'd need to use the option --disable-gps, but it also sounds like there's no mechanism in makepkg for doing this. Can pacman manage compiled software?
Offline
What exactly you should put into the configure line of the PKGBUILD should be said into some README or INSTALL file in the source tarball. Or use ./configure --help.
Offline
What I need is --disable-gps. Do I just add this on the configure line of the PKGBUILD? That didn't seem to work when I tried it.
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
is what I have,
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-gps
is all I can think of, and it doesn't work. What am I doing wrong?
Offline
I cannot guess. Please post the error messages.
Offline
There are a LOT of typedefs ignored, not just in gpsmap, and it seems like --disable-gps isn't being recognized because it's being compiled. Maybe I'll just wait until kismet's put into the repositories.
Offline
try
pkgname=kismet
pkgver=2008_05_R1
pkgrel=1
pkgdesc="802.11b sniffing software"
arch=(i686 x86_64)
license=('GPL')
if [ "${CARCH}" == "x86_64" ]; then
depends=('gcc-libs' 'libpcap>=0.9.8' 'ncurses')
else
depends=('gmp' 'imagemagick' 'libpcap>=0.9.8' 'ncurses')
fi
url="http://www.kismetwireless.net/"
backup=('etc/ap_manuf' 'etc/client_manuf' 'etc/kismet.conf' 'etc/kismet_drone.conf' 'etc/kismet_ui.conf')
source=(http://kismetwireless.net/code/kismet-2008-05-R1.tar.gz)
md5sums=('6ee365d36354b4dee4945e67f8149294')
build() {
cd $startdir/src/kismet-2008-05-R1
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-gpsmap || return 1
make dep || return 1
make ||return 1
sed -i 's/prism2/wlanng/g' conf/kismet.conf
make DESTDIR=$startdir/pkg install
mkdir -p $startdir/pkg/usr/share/kismet
install -m 644 $startdir/src/kismet-2008-05-R1/README $startdir/pkg/usr/share/kismet
}Untested, I have no WLAN.
Offline
Wonderful! It seems to work like a charm. When there's a new release put in the repositories, will pacman be able to upgrade it? Thanks so much!
Offline
Pacman will be able to update it, but you should keep having an eye on it that he actually does.
Offline
But how can i get it with gpsmap?
There are the same errors like these wich chimerical_brio gets..
Offline
Try
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Contributer: Jason Chu <jason@archlinux.org>
# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=kismet
pkgver=2008_05_R1
pkgrel=1
pkgdesc="802.11b sniffing software"
arch=(i686 x86_64)
license=('GPL')
if [ "${CARCH}" == "x86_64" ]; then
depends=('gcc-libs' 'libpcap>=0.9.8' 'ncurses')
else
depends=('gmp' 'imagemagick' 'libpcap>=0.9.8' 'ncurses')
fi
url="http://www.kismetwireless.net/"
backup=('etc/ap_manuf' 'etc/client_manuf' 'etc/kismet.conf' 'etc/kismet_drone.conf' 'etc/kismet_ui.conf')
source=(http://kismetwireless.net/code/kismet-2008-05-R1.tar.gz)
md5sums=('6ee365d36354b4dee4945e67f8149294')
build() {
cd $startdir/src/kismet-2008-05-R1
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--enable-gpsmap || return 1
make dep || return 1
make ||return 1
sed -i 's/prism2/wlanng/g' conf/kismet.conf
make DESTDIR=$startdir/pkg install
mkdir -p $startdir/pkg/usr/share/kismet
install -m 644 $startdir/src/kismet-2008-05-R1/README $startdir/pkg/usr/share/kismet
}It compiles for me.
Offline