pkgsrc-WIP-changes archive

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

aircrack-ng: update to snapshot (fixes build w/ latest openssl)



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Sat Mar 17 09:08:34 2018 +0100
Changeset:	2f96a6c2485475d61d8f4394fcec613438c7018d

Modified Files:
	aircrack-ng/Makefile
	aircrack-ng/PLIST
	aircrack-ng/distinfo
Removed Files:
	aircrack-ng/patches/patch-common.mak
	aircrack-ng/patches/patch-manpages_Makefile
	aircrack-ng/patches/patch-src_Makefile
	aircrack-ng/patches/patch-src_osdep_Makefile

Log Message:
aircrack-ng: update to snapshot (fixes build w/ latest openssl)

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

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

diffstat:
 aircrack-ng/Makefile                         | 12 ++++++++++--
 aircrack-ng/PLIST                            | 11 ++++++++---
 aircrack-ng/distinfo                         | 12 ++++--------
 aircrack-ng/patches/patch-common.mak         | 19 -------------------
 aircrack-ng/patches/patch-manpages_Makefile  | 17 -----------------
 aircrack-ng/patches/patch-src_Makefile       | 17 -----------------
 aircrack-ng/patches/patch-src_osdep_Makefile | 13 -------------
 7 files changed, 22 insertions(+), 79 deletions(-)

diffs:
diff --git a/aircrack-ng/Makefile b/aircrack-ng/Makefile
index 19d25a39fb..11b014763b 100644
--- a/aircrack-ng/Makefile
+++ b/aircrack-ng/Makefile
@@ -2,8 +2,11 @@
 
 DISTNAME=	aircrack-ng-1.2-rc4
 PKGNAME=	aircrack-ng-1.2rc4
+PKGREVISION=	1
 CATEGORIES=	security net
-MASTER_SITES=	http://download.aircrack-ng.org/
+#MASTER_SITES=	http://download.aircrack-ng.org/
+MASTER_SITES=	${MASTER_SITE_GITHUB:=aircrack-ng/}
+GITHUB_TAG=	caa946dad310ce6bf53b08ba5fc98a2d7c7a8053
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://www.aircrack-ng.org/
@@ -12,8 +15,9 @@ LICENSE=	gnu-gpl-v3
 
 INSTALLATION_DIRS+=	bin sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
 
+GNU_CONFIGURE=		yes
 USE_LANGUAGES=		c c++
-USE_TOOLS+=		bash gmake
+USE_TOOLS+=		bash gmake autoconf automake
 REPLACE_BASH+=		scripts/airodump-ng-oui-update
 
 SUBST_CLASSES+=		paths
@@ -26,5 +30,9 @@ SUBST_FILES.paths+=	scripts/*/*/*
 SUBST_FILES.paths+=	scripts/*/*/*/*
 SUBST_SED.paths=	-e 's,/usr/local/etc,${PKG_SYSCONFDIR},g'
 
+pre-configure:
+	ls -ld ${WRKSRC}
+	cd ${WRKSRC} && autoreconf -vif
+
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/aircrack-ng/PLIST b/aircrack-ng/PLIST
index ce519ad222..d84709fc95 100644
--- a/aircrack-ng/PLIST
+++ b/aircrack-ng/PLIST
@@ -1,16 +1,22 @@
-@comment $NetBSD: PLIST,v 1.9 2013/09/06 14:34:01 tnn2 Exp $
+@comment $NetBSD$
 bin/aircrack-ng
 bin/airdecap-ng
 bin/airdecloak-ng
+bin/airolib-ng
 bin/besside-ng-crawler
 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
 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/ivstools.1
 man/man1/kstats.1
@@ -19,15 +25,14 @@ man/man1/packetforge-ng.1
 man/man1/wpaclean.1
 man/man8/airbase-ng.8
 man/man8/aireplay-ng.8
-man/man8/airmon-ng.8
 man/man8/airodump-ng-oui-update.8
 man/man8/airodump-ng.8
 man/man8/airserv-ng.8
 man/man8/airtun-ng.8
-man/man8/besside-ng.8
 sbin/airbase-ng
 sbin/aireplay-ng
 sbin/airodump-ng
 sbin/airodump-ng-oui-update
 sbin/airserv-ng
 sbin/airtun-ng
+sbin/airventriloquist-ng
diff --git a/aircrack-ng/distinfo b/aircrack-ng/distinfo
index a3327b056e..32a5affc53 100644
--- a/aircrack-ng/distinfo
+++ b/aircrack-ng/distinfo
@@ -1,14 +1,10 @@
 $NetBSD: distinfo,v 1.16 2015/02/07 01:35:37 tnn2 Exp $
 
-SHA1 (aircrack-ng-1.2-rc4.tar.gz) = 2b2fbe50fedb606b3bd96a34d49f07760e8e618a
-RMD160 (aircrack-ng-1.2-rc4.tar.gz) = ed14c05762ba68598819238ed0152fc7c727a929
-SHA512 (aircrack-ng-1.2-rc4.tar.gz) = f1e1d465813a5f00fd8f8b287353033ea30b657a4c3a9fe81281ab2546d3238690f0659076bff53703fbc796ba40efb16115804d21f8516adca2c774fefea20c
-Size (aircrack-ng-1.2-rc4.tar.gz) = 4379880 bytes
-SHA1 (patch-common.mak) = 762d4a51355e8c7eb27a5838d9b0d9df3acc459f
-SHA1 (patch-manpages_Makefile) = 74db41de7072ec83d55e8fd1c7b2b96419b18b80
+SHA1 (aircrack-ng-1.2-rc4-caa946dad310ce6bf53b08ba5fc98a2d7c7a8053.tar.gz) = bda98c83fe57ca556e2cb3c0197de395dcfb6c2e
+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_Makefile) = ec4f4b0b1059dd19f1eac437831bc30bc53a12a1
 SHA1 (patch-src_aireplay-ng.c) = 7be1893de71edde4395f185c35a1608c8509e4d4
 SHA1 (patch-src_airserv-ng.c) = b006b0c26bcbe81a458890fd6fff97ac20ae4fc5
-SHA1 (patch-src_osdep_Makefile) = 8a0608b4a109210f0af40c4f676ba6b74dcc4bd8
 SHA1 (patch-src_osdep_byteorder.h) = 0102f44ff184d3b1253d6a849ba04e8a9a46e5af
diff --git a/aircrack-ng/patches/patch-common.mak b/aircrack-ng/patches/patch-common.mak
deleted file mode 100644
index 14e38f985f..0000000000
--- a/aircrack-ng/patches/patch-common.mak
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD$
-
---- common.mak.orig	2015-12-31 19:42:10.000000000 +0000
-+++ common.mak
-@@ -207,11 +207,11 @@ CXXFLAGS	= $(CFLAGS) $(ASMFLAG) -fdata-s
- 
- CFLAGS          += $(OPTFLAGS) $(REVFLAGS) $(COMMON_CFLAGS)
- 
--prefix          = /usr/local
-+prefix          = ${PREFIX}
- bindir          = $(prefix)/bin
- sbindir         = $(prefix)/sbin
--mandir          = $(prefix)/share/man/man1
--smandir         = $(prefix)/share/man/man8
-+mandir          = $(prefix)/${PKGMANDIR}/man1
-+smandir         = $(prefix)/${PKGMANDIR}/man8
- datadir         = $(prefix)/share
- docdir          = $(datadir)/doc/aircrack-ng
- libdir		= $(prefix)/lib
diff --git a/aircrack-ng/patches/patch-manpages_Makefile b/aircrack-ng/patches/patch-manpages_Makefile
deleted file mode 100644
index 45b8c6c210..0000000000
--- a/aircrack-ng/patches/patch-manpages_Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-manpages_Makefile,v 1.1 2015/02/07 01:35:39 tnn2 Exp $
-
---- manpages/Makefile.orig	2013-01-26 19:12:24.000000000 +0000
-+++ manpages/Makefile
-@@ -25,10 +25,8 @@ all:
- 	@echo Nothing to do
- 
- install: uninstall
--	install -d $(DESTDIR)$(mandir)
--	install -d $(DESTDIR)$(smandir)
--	install -m 644 $(MP_FILES) $(DESTDIR)$(mandir)
--	install -m 644 $(SMP_FILES) $(DESTDIR)$(smandir)
-+	${BSD_INSTALL_MAN} $(MP_FILES) $(DESTDIR)$(mandir)
-+	${BSD_INSTALL_MAN} $(SMP_FILES) $(DESTDIR)$(smandir)
- 
- # Uninstall just calls cleanfiles with all possible switches enabled to
- # ensure all previously installed manpages are cleaned
diff --git a/aircrack-ng/patches/patch-src_Makefile b/aircrack-ng/patches/patch-src_Makefile
deleted file mode 100644
index c8159ee943..0000000000
--- a/aircrack-ng/patches/patch-src_Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-src_Makefile,v 1.1 2015/02/07 01:35:39 tnn2 Exp $
-
---- src/Makefile.orig	2014-06-08 19:03:52.000000000 +0000
-+++ src/Makefile
-@@ -199,10 +199,8 @@ distclean: clean
- 
- install: all
- 	$(MAKE) -C $(OSD) install
--	install -d $(DESTDIR)$(bindir)
--	install -m 755 $(BINFILES) $(DESTDIR)$(bindir)
--	install -d $(DESTDIR)$(sbindir)
--	install -m 755 $(SBINFILES) $(DESTDIR)$(sbindir)
-+	${BSD_INSTALL_PROGRAM} $(BINFILES) $(DESTDIR)$(bindir)
-+	${BSD_INSTALL_PROGRAM} $(SBINFILES) $(DESTDIR)$(sbindir)
- 
- uninstall:
- 	$(MAKE) -C $(OSD) uninstall
diff --git a/aircrack-ng/patches/patch-src_osdep_Makefile b/aircrack-ng/patches/patch-src_osdep_Makefile
deleted file mode 100644
index 052ad2921f..0000000000
--- a/aircrack-ng/patches/patch-src_osdep_Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_osdep_Makefile,v 1.1 2015/02/07 01:35:39 tnn2 Exp $
-
---- src/osdep/Makefile.orig	2014-03-22 20:26:59.000000000 +0000
-+++ src/osdep/Makefile
-@@ -13,7 +13,7 @@ OBJS		= osdep.o $(OBJS_COMMON)
- OBJS_APCAP	= airpcap.o
- 
- OBJS_OBSD	= $(OBJS) openbsd.o openbsd_tap.o
--OBJS_NBSD	= $(OBJS) netbsd.o netbsd_tap.o
-+OBJS_NBSD	= $(OBJS) netbsd.o netbsd_tap.o common.o
- OBJS_FBSD	= $(OBJS) freebsd.o freebsd_tap.o
- OBJS_LINUX	= $(OBJS) linux.o linux_tap.o radiotap/radiotap.o common.o
- OBJS_DUMMY	= $(OBJS) dummy.o dummy_tap.o


Home | Main Index | Thread Index | Old Index