pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

aircrack-ng: update to current 1.7 release



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Fri Jan 5 14:25:51 2024 +0100
Changeset:	51a975a2b738b8a4b91bc9929fbd0ba84f73e900

Modified Files:
	aircrack-ng/Makefile
	aircrack-ng/PLIST
	aircrack-ng/distinfo
Removed Files:
	aircrack-ng/patches/patch-scripts_airodump-ng-oui-update
	aircrack-ng/patches/patch-src_aireplay-ng.c
	aircrack-ng/patches/patch-src_airserv-ng.c
	aircrack-ng/patches/patch-src_osdep_byteorder.h

Log Message:
aircrack-ng: update to current 1.7 release

Possibly incomplete package.
It builds and intalls and it's pkglint clean but, it might need fixing
things that have been previously patched.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=51a975a2b738b8a4b91bc9929fbd0ba84f73e900

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 aircrack-ng/Makefile                               | 34 ++++-------
 aircrack-ng/PLIST                                  | 70 ++++++++++++++++++++--
 aircrack-ng/distinfo                               | 12 ++--
 .../patches/patch-scripts_airodump-ng-oui-update   | 27 ---------
 aircrack-ng/patches/patch-src_aireplay-ng.c        | 13 ----
 aircrack-ng/patches/patch-src_airserv-ng.c         | 12 ----
 aircrack-ng/patches/patch-src_osdep_byteorder.h    | 13 ----
 7 files changed, 82 insertions(+), 99 deletions(-)

diffs:
diff --git a/aircrack-ng/Makefile b/aircrack-ng/Makefile
index 619ed4fda5..c3d8ef0fb6 100644
--- a/aircrack-ng/Makefile
+++ b/aircrack-ng/Makefile
@@ -1,36 +1,26 @@
-# $NetBSD: Makefile,v 1.21 2015/02/09 17:28:42 leot1990 Exp $
+# $NetBSD$
 
-DISTNAME=	aircrack-ng-1.2-rc4
-PKGNAME=	aircrack-ng-1.2rc4
-PKGREVISION=	1
+DISTNAME=	aircrack-ng-1.7
 CATEGORIES=	security net
-#MASTER_SITES=	http://download.aircrack-ng.org/
 MASTER_SITES=	${MASTER_SITE_GITHUB:=aircrack-ng/}
-GITHUB_TAG=	caa946dad310ce6bf53b08ba5fc98a2d7c7a8053
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://www.aircrack-ng.org/
-COMMENT=	Tools for auditing wireless networks
+HOMEPAGE=	https://github.com/aircrack-ng/aircrack-ng/
+COMMENT=	WiFi security auditing tools suite
 LICENSE=	gnu-gpl-v3
 
-INSTALLATION_DIRS+=	bin sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
-
-GNU_CONFIGURE=		yes
-USE_LANGUAGES=		c c++
-USE_TOOLS+=		bash gmake autoconf automake
-REPLACE_BASH+=		scripts/airodump-ng-oui-update
-
-SUBST_CLASSES+=		paths
-SUBST_STAGE.paths=	post-patch
-SUBST_MESSAGE.paths=	Fixing hard-coded paths
-SUBST_FILES.paths=	src/airodump-ng.h
-SUBST_FILES.paths+=	scripts/*
-SUBST_FILES.paths+=	scripts/*/*/*
-SUBST_SED.paths=	-e 's,/usr/local/etc,${PKG_SYSCONFDIR},g'
+USE_LANGUAGES=	c c++
+GNU_CONFIGURE=	yes
+USE_LIBTOOL=	yes
+USE_TOOLS+=	pkg-config gmake autoconf automake
 
 pre-configure:
 	ls -ld ${WRKSRC}
 	cd ${WRKSRC} && autoreconf -vif
 
 .include "../../security/openssl/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../wip/cmocka/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/aircrack-ng/PLIST b/aircrack-ng/PLIST
index d84709fc95..c9bb219f62 100644
--- a/aircrack-ng/PLIST
+++ b/aircrack-ng/PLIST
@@ -4,20 +4,73 @@ bin/airdecap-ng
 bin/airdecloak-ng
 bin/airolib-ng
 bin/besside-ng-crawler
+bin/buddy-ng
 bin/ivstools
 bin/kstats
 bin/makeivs-ng
 bin/packetforge-ng
 bin/wpaclean
-libexec/aircrack-ng/aircrack-ng--avx
-libexec/aircrack-ng/aircrack-ng--avx2
-libexec/aircrack-ng/aircrack-ng--generic
-libexec/aircrack-ng/aircrack-ng--sse2
+include/aircrack-ng/adt/avl_tree.h
+include/aircrack-ng/adt/circular_buffer.h
+include/aircrack-ng/adt/circular_queue.h
+include/aircrack-ng/aircrack-ng.h
+include/aircrack-ng/ce-wep/uniqueiv.h
+include/aircrack-ng/ce-wpa/aligned.h
+include/aircrack-ng/ce-wpa/arch.h
+include/aircrack-ng/ce-wpa/crypto_engine.h
+include/aircrack-ng/ce-wpa/jcommon.h
+include/aircrack-ng/ce-wpa/johnswap.h
+include/aircrack-ng/ce-wpa/memory.h
+include/aircrack-ng/ce-wpa/misc.h
+include/aircrack-ng/ce-wpa/pseudo_intrinsics.h
+include/aircrack-ng/ce-wpa/simd-intrinsics-load-flags.h
+include/aircrack-ng/ce-wpa/simd-intrinsics.h
+include/aircrack-ng/ce-wpa/wpapsk.h
+include/aircrack-ng/compat.h
+include/aircrack-ng/cowpatty/cowpatty.h
+include/aircrack-ng/cpu/cpuset.h
+include/aircrack-ng/cpu/simd_cpuid.h
+include/aircrack-ng/cpu/trampoline.h
+include/aircrack-ng/crypto/crctable.h
+include/aircrack-ng/crypto/crypto.h
+include/aircrack-ng/crypto/gcrypt-openssl-wrapper.h
+include/aircrack-ng/crypto/sha1-git.h
+include/aircrack-ng/crypto/sha1-sse2.h
+include/aircrack-ng/defs.h
+include/aircrack-ng/osdep/byteorder.h
+include/aircrack-ng/osdep/channel.h
+include/aircrack-ng/osdep/common.h
+include/aircrack-ng/osdep/network.h
+include/aircrack-ng/osdep/osdep.h
+include/aircrack-ng/osdep/packed.h
+include/aircrack-ng/ptw/aircrack-ptw-lib.h
+include/aircrack-ng/support/common.h
+include/aircrack-ng/support/communications.h
+include/aircrack-ng/support/crypto_engine_loader.h
+include/aircrack-ng/support/fragments.h
+include/aircrack-ng/support/mcs_index_rates.h
+include/aircrack-ng/support/pcap_local.h
+include/aircrack-ng/support/station.h
+include/aircrack-ng/third-party/eapol.h
+include/aircrack-ng/third-party/ethernet.h
+include/aircrack-ng/third-party/hashcat.h
+include/aircrack-ng/third-party/ieee80211.h
+include/aircrack-ng/third-party/if_arp.h
+include/aircrack-ng/third-party/if_llc.h
+include/aircrack-ng/tui/console.h
+include/aircrack-ng/utf8/verifyssid.h
+include/aircrack-ng/version.h
+lib/libaircrack-ce-wpa-x86-avx.la
+lib/libaircrack-ce-wpa-x86-avx2.la
+lib/libaircrack-ce-wpa-x86-sse2.la
+lib/libaircrack-ce-wpa.la
+lib/libaircrack-osdep.la
 man/man1/aircrack-ng.1
 man/man1/airdecap-ng.1
 man/man1/airdecloak-ng.1
 man/man1/airolib-ng.1
 man/man1/besside-ng-crawler.1
+man/man1/buddy-ng.1
 man/man1/ivstools.1
 man/man1/kstats.1
 man/man1/makeivs-ng.1
@@ -29,6 +82,11 @@ man/man8/airodump-ng-oui-update.8
 man/man8/airodump-ng.8
 man/man8/airserv-ng.8
 man/man8/airtun-ng.8
+man/man8/airventriloquist-ng.8
+man/man8/besside-ng.8
+man/man8/easside-ng.8
+man/man8/tkiptun-ng.8
+man/man8/wesside-ng.8
 sbin/airbase-ng
 sbin/aireplay-ng
 sbin/airodump-ng
@@ -36,3 +94,7 @@ sbin/airodump-ng-oui-update
 sbin/airserv-ng
 sbin/airtun-ng
 sbin/airventriloquist-ng
+sbin/besside-ng
+sbin/easside-ng
+sbin/tkiptun-ng
+sbin/wesside-ng
diff --git a/aircrack-ng/distinfo b/aircrack-ng/distinfo
index 643328a803..9ab1c9872c 100644
--- a/aircrack-ng/distinfo
+++ b/aircrack-ng/distinfo
@@ -1,9 +1,5 @@
-$NetBSD: distinfo,v 1.16 2015/02/07 01:35:37 tnn2 Exp $
+$NetBSD$
 
-RMD160 (aircrack-ng-1.2-rc4-caa946dad310ce6bf53b08ba5fc98a2d7c7a8053.tar.gz) = c542db3f03e68c74b4cf5b1b1aee8c435bce3291
-SHA512 (aircrack-ng-1.2-rc4-caa946dad310ce6bf53b08ba5fc98a2d7c7a8053.tar.gz) = 2300e11a4ddbd070f54425ae9dfb584f1488437b272ba4ef3b2bb8b56c049bd6faf5691f8c36df0d63c8b2aa95e3fd63a035ed05ee3ca4bf7e65bf2e95832b6b
-Size (aircrack-ng-1.2-rc4-caa946dad310ce6bf53b08ba5fc98a2d7c7a8053.tar.gz) = 4193272 bytes
-SHA1 (patch-scripts_airodump-ng-oui-update) = 5879806f2c151e1836db9e08efadfd97aa4b28c8
-SHA1 (patch-src_aireplay-ng.c) = 7be1893de71edde4395f185c35a1608c8509e4d4
-SHA1 (patch-src_airserv-ng.c) = b006b0c26bcbe81a458890fd6fff97ac20ae4fc5
-SHA1 (patch-src_osdep_byteorder.h) = 0102f44ff184d3b1253d6a849ba04e8a9a46e5af
+BLAKE2s (aircrack-ng-1.7.tar.gz) = 16d192e891db26e068481cf5bf9a5a9de5fa20a5275d331d06709a105a4f90e9
+SHA512 (aircrack-ng-1.7.tar.gz) = 3e6433cba1d6b122701245e8904480de9957dad033c1642cc45b30339e9391ffa21b39b2cc712bcba79bc2c2e26f2964be8f28a27081dc4bb323792cb7df2478
+Size (aircrack-ng-1.7.tar.gz) = 7740634 bytes
diff --git a/aircrack-ng/patches/patch-scripts_airodump-ng-oui-update b/aircrack-ng/patches/patch-scripts_airodump-ng-oui-update
deleted file mode 100644
index 40d2ccee6f..0000000000
--- a/aircrack-ng/patches/patch-scripts_airodump-ng-oui-update
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-scripts_airodump-ng-oui-update,v 1.1 2015/02/07 01:35:39 tnn2 Exp $
-
-Fix OUI_PATH. Note that this gets SUBST'ed, so /usr/local/etc is fine.
-
---- scripts/airodump-ng-oui-update.orig	2015-07-02 23:53:33.000000000 +0000
-+++ scripts/airodump-ng-oui-update
-@@ -4,19 +4,7 @@ CURL=`which curl 2>/dev/null`
- WGET=`which wget 2>/dev/null`
- OUI_DOWNLOAD_URL="http://standards-oui.ieee.org/oui.txt";
- 
--OUI_PATH0="/etc/aircrack-ng"
--OUI_PATH1="/usr/local/etc/aircrack-ng"
--OUI_PATH2="/usr/share/aircrack-ng"
--if [ -d "$OUI_PATH0" ]; then
--	OUI_PATH="$OUI_PATH0"
--elif [ -d "$OUI_PATH1" ]; then
--	OUI_PATH="$OUI_PATH1"
--elif [ -d "$OUI_PATH2" ]; then
--	OUI_PATH="$OUI_PATH2"
--else
--	# default
--	OUI_PATH="$OUI_PATH0"
--fi
-+OUI_PATH="/usr/local/etc/aircrack-ng"
- 
- AIRODUMP_NG_OUI="${OUI_PATH}/airodump-ng-oui.txt"
- OUI_IEEE="${OUI_PATH}/oui.txt"
diff --git a/aircrack-ng/patches/patch-src_aireplay-ng.c b/aircrack-ng/patches/patch-src_aireplay-ng.c
deleted file mode 100644
index 9087ee0e61..0000000000
--- a/aircrack-ng/patches/patch-src_aireplay-ng.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_aireplay-ng.c,v 1.1 2015/02/07 01:35:39 tnn2 Exp $
-
---- src/aireplay-ng.c.orig	2014-10-21 02:13:52.000000000 +0000
-+++ src/aireplay-ng.c
-@@ -743,7 +743,7 @@ int attack_check(unsigned char* bssid, c
-         if((ap_chan != iface_chan) && (iface_chan != -1 || !opt.ignore_negative_one))
-         {
-             PCT; printf("%s is on channel %d, but the AP uses channel %d\n", wi_get_ifname(wi), iface_chan, ap_chan);
--            return -1;
-+	    wi_set_channel(wi, ap_chan);
-         }
-     }
- 
diff --git a/aircrack-ng/patches/patch-src_airserv-ng.c b/aircrack-ng/patches/patch-src_airserv-ng.c
deleted file mode 100644
index 944adb1d01..0000000000
--- a/aircrack-ng/patches/patch-src_airserv-ng.c
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-src_airserv-ng.c,v 1.1 2015/02/07 01:35:39 tnn2 Exp $
-
---- src/airserv-ng.c.orig	2013-05-25 23:06:24.000000000 +0000
-+++ src/airserv-ng.c
-@@ -24,6 +24,7 @@
- 
- #include <sys/types.h>
- #include <sys/socket.h>
-+#include <sys/select.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <stdio.h>
diff --git a/aircrack-ng/patches/patch-src_osdep_byteorder.h b/aircrack-ng/patches/patch-src_osdep_byteorder.h
deleted file mode 100644
index ab298efa62..0000000000
--- a/aircrack-ng/patches/patch-src_osdep_byteorder.h
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- src/osdep/byteorder.h.orig	2016-02-14 23:34:57.000000000 +0000
-+++ src/osdep/byteorder.h
-@@ -224,7 +224,7 @@
- 	#endif
- 
- 	// FreeBSD
--	#ifdef __FreeBSD__
-+	#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
- 		#undef ushort
- 		#undef uint
- 		#include <sys/types.h>


Home | Main Index | Thread Index | Old Index