Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

14
net/wistumbler2/DESCR Normal file
View File

@@ -0,0 +1,14 @@
This is a network stumbler for WaveLAN/IEEE wireless. WiStumbler2 is a fork
of the original wistumbler, because it seems that its development does not
progress.
The differences of this version compared to the original one are:
- GTK2 and theme support.
- Correct usage of some GTK widgets.
- Support for console mode (no X needed).
- Allow log-saving on the fly (new button).
- Some GPS pointer fixes (solves segfaults).
- Speaker beeps like windows-stumbler. (ear-wardriving)
- FreeBSD port finished.
This package is built with console support only.

12
net/wistumbler2/Makefile Normal file
View File

@@ -0,0 +1,12 @@
# $NetBSD: Makefile,v 1.13 2013/02/06 19:31:03 jperkin Exp $
.include "Makefile.common"
PKGREVISION= 1
CONFLICTS+= wistumbler-gtk-[0-9]*
CONFLICTS+= wistumbler2-gtk-[0-9]*
CONFIGURE_ARGS+= --without-gtk
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,36 @@
# $NetBSD: Makefile.common,v 1.11 2013/04/08 11:17:19 rodent Exp $
#
DISTNAME= wistumbler2-2.0pre10
CATEGORIES= net
MASTER_SITES= ftp://ftp.nopcode.org/prj/wistumbler2/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.nopcode.org/?t=wistumbler2
COMMENT= Fork of original WaveLAN/IEEE network stumbler
DISTINFO_FILE= ${.CURDIR}/../../net/wistumbler2/distinfo
PATCHDIR= ${.CURDIR}/../../net/wistumbler2/patches
PLIST_SRC= ${.CURDIR}/../../net/wistumbler2/PLIST
NOT_FOR_PLATFORM= NetBSD-[01].[012345]*-*
ONLY_FOR_PLATFORM= NetBSD-*-* FreeBSD-*-* OpenBSD-*-* DragonFly-*-*
CONFLICTS+= wistumbler-[0-9]*
HAS_CONFIGURE= YES
MAKE_JOBS_SAFE= no
CONFIGURE_ENV+= PREFIX=${PREFIX} PKGMANDIR=${PKGMANDIR}
MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX}
CONF_FILES= ${PREFIX}/share/examples/wistumbler2/wistumbler2.conf \
${PKG_SYSCONFDIR}/wistumbler2.conf
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-configure
SUBST_FILES.conf= src/userconf.c
SUBST_SED.conf= -e "s|/etc|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.conf= Fixing path to configuration files.
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"

5
net/wistumbler2/PLIST Normal file
View File

@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:09:48 joerg Exp $
bin/wistumbler2
man/man1/wistumbler2.1
share/examples/wistumbler2/wistumbler2.conf
share/wistumbler2/wist2.png

11
net/wistumbler2/distinfo Normal file
View File

@@ -0,0 +1,11 @@
$NetBSD: distinfo,v 1.11 2011/01/03 07:38:59 obache Exp $
SHA1 (wistumbler2-2.0pre10.tar.gz) = 1167dfbc53cdf43cca357fefd2153be9f4657669
RMD160 (wistumbler2-2.0pre10.tar.gz) = 27a1539c93560c753d9951c5c236108bf38d8639
Size (wistumbler2-2.0pre10.tar.gz) = 45972 bytes
SHA1 (patch-aa) = 0b5c4409489d334f235373b67dcb3344f7839ea2
SHA1 (patch-ab) = de998de5ac130b42c068ecefcd179644e3f8c0b9
SHA1 (patch-ac) = a2adc57c034dcde0c2105aaff4e0721b17d83a7b
SHA1 (patch-ad) = caae5b0afe7e9a1650f0954e88d6e152e98ad77a
SHA1 (patch-ae) = 04ff3efea6225917e872522eb3fabcb0a0e83eeb
SHA1 (patch-af) = a024d16ffd945f609a1c15077438c0ea419e1023

View File

@@ -0,0 +1,9 @@
$NetBSD: patch-aa,v 1.3 2005/05/31 12:31:59 wiz Exp $
--- CONFIG.orig 2005-05-24 17:49:08.000000000 +0200
+++ CONFIG
@@ -8,4 +8,3 @@ GTK_LD=@GTK_LDFLAGS@
CFLAGS+=@CFLAGS@ -DUSE_GTK=@USE_GTK@
LDFLAGS+=@LDFLAGS@ @PTHREAD_LIBS@
CFLAGS+=-DUSE_PCAP=@HAVE_LIB_PCAP@
-CFLAGS+=-DSPEAKER_PRESENT

View File

@@ -0,0 +1,30 @@
$NetBSD: patch-ab,v 1.4 2008/10/02 13:35:02 joerg Exp $
--- configure.orig 2005-05-24 18:36:28.000000000 +0200
+++ configure
@@ -267,7 +267,7 @@ echo "ERROR: ${CPP} cannot parse sources
printf "checking for POSIX threads... "
-if [ "${TARGET_OS}" = "freebsd" ]; then
+if [ "${TARGET_OS}" = "freebsd" -o "${TARGET_OS}" = "dragonfly" ]; then
PTHREAD_LIBS=-pthread ; else
PTHREAD_LIBS=-lpthread ; fi
echo '#include <pthread.h>' > test.c
@@ -339,6 +339,7 @@ if [ "$USE_GTK" = 0 ]; then GTK_LDFLAGS=
if [ "$USE_GTK" = 0 ]; then GTK_CFLAGS="" ; fi
if [ "$USE_GTK" = 0 ]; then GTK_LDFLAGS="" ; fi
if [ "${TARGET_OS}" = "netbsd" ]; then OS_OK="1" ; fi ;
+if [ "${TARGET_OS}" = "dragonfly" ]; then OS_OK="1" ; fi ;
if [ "${TARGET_OS}" = "freebsd" ]; then OS_OK="1" ; fi ;
if [ "${TARGET_OS}" = "openbsd" ]; then OS_OK="1" ; fi ;
@@ -396,7 +397,7 @@ rm -f test.c a.out
echo "done"
echo ""
echo "Final report:"
-for A in PREFIX USE_GTK HAVE_PTHREAD HAVE_LIB_PCAP USE_BEEP CFLAGS ; do
+for A in PREFIX USE_GTK HAVE_PTHREAD HAVE_LIB_PCAP USE_BEEP CFLAGS PKGMANDIR; do
eval "VAL=\$${A}"
if [ -z "${VAL}" ]; then VAL="(null)"; fi
echo " - ${A} = ${VAL}"

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.4 2011/01/03 07:38:59 obache Exp $
--- src/stumbler.h.orig 2006-01-08 21:09:38.000000000 +0000
+++ src/stumbler.h
@@ -54,6 +54,10 @@
#include <net80211/ieee80211.h>
#include <net/ethernet.h>
#include <dev/wi/if_wavelan_ieee.h>
+#elif defined(__DragonFly__)
+#include <netproto/802_11/ieee80211.h>
+#include <net/ethernet.h>
+#include <dev/netif/wi/if_wavelan_ieee.h>
#elif defined(__OpenBSD__)
#include "cdefs.h"
#include <sys/socket.h>

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ad,v 1.4 2008/10/02 13:35:02 joerg Exp $
--- src/speaker.c.orig 2004-11-27 22:04:09.000000000 +0100
+++ src/speaker.c
@@ -38,9 +38,9 @@
#include <stdlib.h>
#ifdef SPEAKER_PRESENT
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__DragonFly__)
#include <machine/speaker.h>
-#else
+#elif !defined(__NetBSD__)
#include <machine/spkr.h>
#endif
#endif

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-ae,v 1.1 2006/01/08 21:22:58 joerg Exp $
--- src/sniffer.c.orig 2006-01-08 21:11:22.000000000 +0000
+++ src/sniffer.c
@@ -8,13 +8,12 @@
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
-#if __FreeBSD__
+#if defined(__FreeBSD__) || defined(__DragonFly__)
#include <net/ethernet.h>
#else
#include <net/route.h>
#include <net/if.h>
-#if __OpenBSD__
-#else
+#if !defined(__OpenBSD__)
#include <net/if_ether.h>
#endif
#endif

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2008/10/06 15:12:08 joerg Exp $
--- Makefile.acr.orig 2008-10-02 15:24:31.000000000 +0200
+++ Makefile.acr
@@ -18,7 +18,7 @@ install:
${INSTALL_PROGRAM} src/${BIN} ${PREFIX}/bin/${BIN}
mkdir -p ${PREFIX}/share/${BIN}
${INSTALL_DATA} img/wist2.png ${PREFIX}/share/${BIN}/
- mkdir -p ${PREFIX}/man/man1
+ mkdir -p ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} doc/${BIN}.1 ${PREFIX}/man/man1
mkdir -p ${PREFIX}/share/examples/${BIN}
${INSTALL_DATA} doc/${BIN}.conf ${PREFIX}/share/examples/${BIN}/