diff options
author | pi <pi@FreeBSD.org> | 2016-07-03 18:38:12 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-07-03 18:38:12 +0800 |
commit | 2dfa6f638f69d6522fb4f51ca88607d7b8a4bade (patch) | |
tree | f628e24c76b3589af91b3df75c53d036eace46de /net-mgmt/kismet | |
parent | bec377c07cb26fa580f54924f9049f291e88f2e8 (diff) | |
download | freebsd-ports-gnome-2dfa6f638f69d6522fb4f51ca88607d7b8a4bade.tar.gz freebsd-ports-gnome-2dfa6f638f69d6522fb4f51ca88607d7b8a4bade.tar.zst freebsd-ports-gnome-2dfa6f638f69d6522fb4f51ca88607d7b8a4bade.zip |
net-mgmt/kismet: 2013-03-R1b -> 2016-07-R1, take maintainer
- Turn on FCS validation by default for all sources
- support for recent autotools
- fixes for crashes when alert backlog was set to zero
- fixes for failures in some VIF situations
- fixes to resizing windows
- fixes to GPS averaging
- add WPS state parsing
- handle BSSTimestamp parsing
- other assorted bug fixes and behavior improvements.
- nl8011 support is fixed so finding the vif device works again
- full 5GHz channel discovery works now
- memory leaks in the drone are fixed
- some ncurses compile bugs are resolved.
Diffstat (limited to 'net-mgmt/kismet')
-rw-r--r-- | net-mgmt/kismet/Makefile | 31 | ||||
-rw-r--r-- | net-mgmt/kismet/distinfo | 7 | ||||
-rw-r--r-- | net-mgmt/kismet/files/patch-alertracker.cc | 6 | ||||
-rw-r--r-- | net-mgmt/kismet/files/patch-packetsource__pcap.cc | 10 | ||||
-rw-r--r-- | net-mgmt/kismet/files/patch-plugin-autowep-Makefile | 11 | ||||
-rw-r--r-- | net-mgmt/kismet/files/patch-plugin-ptw-Makefile | 11 | ||||
-rw-r--r-- | net-mgmt/kismet/files/patch-restricted-plugin-autowep_Makefile | 22 | ||||
-rw-r--r-- | net-mgmt/kismet/files/patch-restricted-plugin-ptw_Makefile | 22 | ||||
-rw-r--r-- | net-mgmt/kismet/files/patch-restricted-plugin-ptw_aircrack-crypto.cc (renamed from net-mgmt/kismet/files/patch-plugin-ptw-aircrack-crypto.cc) | 4 |
9 files changed, 74 insertions, 50 deletions
diff --git a/net-mgmt/kismet/Makefile b/net-mgmt/kismet/Makefile index a590f9446fe4..fbf2d1bfe93b 100644 --- a/net-mgmt/kismet/Makefile +++ b/net-mgmt/kismet/Makefile @@ -2,17 +2,12 @@ # $FreeBSD$ PORTNAME= kismet -DISTVERSION= 2013-03-R1b -PORTREVISION= 1 +DISTVERSION= 2016-07-R1 PORTEPOCH= 1 CATEGORIES= net-mgmt -MASTER_SITES= http://www.kismetwireless.net/code/:1 \ - http://anonsvn.wireshark.org/wireshark/trunk/:2 -DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:1 -DIST_SUBDIR= ${PORTNAME} -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +MASTER_SITES= http://www.kismetwireless.net/code/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= pi@FreeBSD.org COMMENT= 802.11 layer2 wireless network detector, sniffer, and IDS LICENSE= GPLv2 @@ -31,8 +26,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/a$$//} .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOCS} -PORTDOCS= README manuf -DISTFILES+= manuf:2 +PORTDOCS= README .endif .if ${PORT_OPTIONS:MEXAMPLES} @@ -62,7 +56,7 @@ PLIST_SUB+= SUID="@comment " SUIDGROUP="" .if ${PORT_OPTIONS:MPLUGINS} ALL_TARGET= depend all all-plugins INSTALL_TARGET+= all-plugins-install -USE_OPENSSL= yes +USES+= ssl PLIST_SUB+= PLUGINS="" .else PLIST_SUB+= PLUGINS="@comment " @@ -88,21 +82,20 @@ post-patch: -e 's,-o $$(INSTUSR) -g $$(SUIDGROUP) -m 4550,,' post-build: - @cd ${WRKSRC}; ${STRIP_CMD} kismet_client kismet_drone kismet_server */*.so + cd ${WRKSRC}; ${STRIP_CMD} kismet_client kismet_drone kismet_server */*.so post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manuf ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/ruby/* ${STAGEDIR}${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/ruby/* ${STAGEDIR}${EXAMPLESDIR} .endif - @${MV} ${STAGEDIR}${PREFIX}/etc/kismet.conf \ + ${MV} ${STAGEDIR}${PREFIX}/etc/kismet.conf \ ${STAGEDIR}${PREFIX}/etc/kismet.conf.sample - @${MV} ${STAGEDIR}${PREFIX}/etc/kismet_drone.conf \ + ${MV} ${STAGEDIR}${PREFIX}/etc/kismet_drone.conf \ ${STAGEDIR}${PREFIX}/etc/kismet_drone.conf.sample .include <bsd.port.mk> diff --git a/net-mgmt/kismet/distinfo b/net-mgmt/kismet/distinfo index 2019619f3767..6b6c5b7d280f 100644 --- a/net-mgmt/kismet/distinfo +++ b/net-mgmt/kismet/distinfo @@ -1,4 +1,3 @@ -SHA256 (kismet/kismet-2013-03-R1b.tar.xz) = 636d4d7ef8c67ae6ee8d8e1635f5115700eecb9fa4c208afaee30238db527c2c -SIZE (kismet/kismet-2013-03-R1b.tar.xz) = 699968 -SHA256 (kismet/manuf) = 42dcb7c3a677cfd23d0c08d30b9cd8abc8a57237ea2f7b90014eb4ea98446140 -SIZE (kismet/manuf) = 1393916 +TIMESTAMP = 1467539059 +SHA256 (kismet-2016-07-R1.tar.xz) = bdb21f153311f1ff3b16621bf0d6740f66369bf0982b0a289c9a12af8847e237 +SIZE (kismet-2016-07-R1.tar.xz) = 709364 diff --git a/net-mgmt/kismet/files/patch-alertracker.cc b/net-mgmt/kismet/files/patch-alertracker.cc index 4acea7569151..980f49d681b6 100644 --- a/net-mgmt/kismet/files/patch-alertracker.cc +++ b/net-mgmt/kismet/files/patch-alertracker.cc @@ -1,6 +1,6 @@ ---- alertracker.cc.orig 2010-09-03 10:57:56.000000000 -0400 -+++ alertracker.cc 2010-09-03 11:36:42.000000000 -0400 -@@ -397,6 +397,7 @@ +--- alertracker.cc.orig 2016-07-02 18:06:10 UTC ++++ alertracker.cc +@@ -405,6 +405,7 @@ int Alertracker::ParseAlertConfig(Config &(rec->limit_burst)) < 0) { _MSG("Invalid alert line in config file: " + clines[x], MSGFLAG_FATAL); globalreg->fatal_condition = 1; diff --git a/net-mgmt/kismet/files/patch-packetsource__pcap.cc b/net-mgmt/kismet/files/patch-packetsource__pcap.cc new file mode 100644 index 000000000000..ef6ee4339f52 --- /dev/null +++ b/net-mgmt/kismet/files/patch-packetsource__pcap.cc @@ -0,0 +1,10 @@ +--- packetsource_pcap.cc.orig 2016-07-02 18:06:10 UTC ++++ packetsource_pcap.cc +@@ -22,6 +22,7 @@ + #include <errno.h> + #include <fcntl.h> + #include <time.h> ++#include <net/bpf.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/ioctl.h> diff --git a/net-mgmt/kismet/files/patch-plugin-autowep-Makefile b/net-mgmt/kismet/files/patch-plugin-autowep-Makefile deleted file mode 100644 index 3fe30680d888..000000000000 --- a/net-mgmt/kismet/files/patch-plugin-autowep-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- restricted-plugin-autowep/Makefile.orig 2013-03-25 13:29:11.000000000 -0400 -+++ restricted-plugin-autowep/Makefile 2013-04-04 15:37:44.000000000 -0400 -@@ -22,7 +22,7 @@ - - install: $(PLUGOUT) - mkdir -p $(DESTDIR)/$(plugindir) -- $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) -m 644 $^ $(DESTDIR)/$(plugindir)/$^ -+ $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) -m 644 $(PLUGOUT) $(DESTDIR)/$(plugindir)/$(PLUGOUT) - - userinstall: $(PLUGOUT) - mkdir -p ${HOME}/.kismet/plugins/ diff --git a/net-mgmt/kismet/files/patch-plugin-ptw-Makefile b/net-mgmt/kismet/files/patch-plugin-ptw-Makefile deleted file mode 100644 index 45a47ff6b5ab..000000000000 --- a/net-mgmt/kismet/files/patch-plugin-ptw-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- restricted-plugin-ptw/Makefile.orig 2013-04-04 15:43:05.000000000 -0400 -+++ restricted-plugin-ptw/Makefile 2013-04-04 15:44:50.000000000 -0400 -@@ -22,7 +22,7 @@ - - install: $(PLUGOUT) - mkdir -p $(DESTDIR)/$(plugindir) -- $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) -m 644 $^ $(DESTDIR)/$(plugindir)/$^ -+ $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) -m 644 $(PLUGOUT) $(DESTDIR)/$(plugindir)/$(PLUGOUT) - - userinstall: $(PLUGOUT) - mkdir -p ${HOME}/.kismet/plugins/ diff --git a/net-mgmt/kismet/files/patch-restricted-plugin-autowep_Makefile b/net-mgmt/kismet/files/patch-restricted-plugin-autowep_Makefile new file mode 100644 index 000000000000..acc4b650e7b8 --- /dev/null +++ b/net-mgmt/kismet/files/patch-restricted-plugin-autowep_Makefile @@ -0,0 +1,22 @@ +--- restricted-plugin-autowep/Makefile.orig 2016-07-02 18:06:10 UTC ++++ restricted-plugin-autowep/Makefile +@@ -9,8 +9,8 @@ top_builddir = $(BLDHOME) + + PLUGINLDFLAGS += -shared -rdynamic + LIBS += -lstdc++ +-CFLAGS += -I$(KIS_INC_DIR) -g -fPIC +-CXXFLAGS += -I$(KIS_INC_DIR) -g -fPIC ++CFLAGS += -I$(KIS_INC_DIR) -fPIC ++CXXFLAGS += -I$(KIS_INC_DIR) -fPIC + + PLUGOBJS = autowep-kismet.o + PLUGOUT = autowep-kismet.so +@@ -22,7 +22,7 @@ $(PLUGOUT): $(PLUGOBJS) + + install: $(PLUGOUT) + mkdir -p $(DESTDIR)/$(plugindir) +- $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) -m 644 $^ $(DESTDIR)/$(plugindir)/$^ ++ $(INSTALL) -m 644 $(PLUGOUT) $(DESTDIR)/$(plugindir)/$(PLUGOUT) + + userinstall: $(PLUGOUT) + mkdir -p ${HOME}/.kismet/plugins/ diff --git a/net-mgmt/kismet/files/patch-restricted-plugin-ptw_Makefile b/net-mgmt/kismet/files/patch-restricted-plugin-ptw_Makefile new file mode 100644 index 000000000000..c06969a52e94 --- /dev/null +++ b/net-mgmt/kismet/files/patch-restricted-plugin-ptw_Makefile @@ -0,0 +1,22 @@ +--- restricted-plugin-ptw/Makefile.orig 2016-07-02 18:06:10 UTC ++++ restricted-plugin-ptw/Makefile +@@ -9,8 +9,8 @@ top_builddir = $(BLDHOME) + + PLUGINLDFLAGS += -shared -rdynamic + LIBS += -lstdc++ -lssl -lpthread -lcrypto +-CFLAGS += -I$(KIS_INC_DIR) -g -fPIC +-CXXFLAGS += -I$(KIS_INC_DIR) -g -fPIC ++CFLAGS += -I$(KIS_INC_DIR) -fPIC ++CXXFLAGS += -I$(KIS_INC_DIR) -fPIC + + PLUGOBJS = aircrack-crypto.o aircrack-ptw2-lib.o aircrack-kismet.o + PLUGOUT = aircrack-kismet.so +@@ -22,7 +22,7 @@ $(PLUGOUT): $(PLUGOBJS) + + install: $(PLUGOUT) + mkdir -p $(DESTDIR)/$(plugindir) +- $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) -m 644 $^ $(DESTDIR)/$(plugindir)/$^ ++ $(INSTALL) -m 644 $(PLUGOUT) $(DESTDIR)/$(plugindir)/$(PLUGOUT) + + userinstall: $(PLUGOUT) + mkdir -p ${HOME}/.kismet/plugins/ diff --git a/net-mgmt/kismet/files/patch-plugin-ptw-aircrack-crypto.cc b/net-mgmt/kismet/files/patch-restricted-plugin-ptw_aircrack-crypto.cc index bf525f2810f6..e5bbe57b34be 100644 --- a/net-mgmt/kismet/files/patch-plugin-ptw-aircrack-crypto.cc +++ b/net-mgmt/kismet/files/patch-restricted-plugin-ptw_aircrack-crypto.cc @@ -1,5 +1,5 @@ ---- restricted-plugin-ptw/aircrack-crypto.cc.orig 2010-05-24 11:40:15.000000000 +0200 -+++ restricted-plugin-ptw/aircrack-crypto.cc 2010-05-24 11:39:34.000000000 +0200 +--- restricted-plugin-ptw/aircrack-crypto.cc.orig 2016-07-02 18:06:10 UTC ++++ restricted-plugin-ptw/aircrack-crypto.cc @@ -21,6 +21,7 @@ #include <string.h> #include <arpa/inet.h> |