summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-03-12 18:41:10 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-03-12 18:41:10 +0000
commit1d092ba298c116274be6c64c4ca3e130578fc23e (patch)
tree67e5f12ff811b27ed3185982e1b0c52277c59ee4 /net-wireless/aircrack-ng/files
parentStable on sparc (diff)
downloadgentoo-2-1d092ba298c116274be6c64c4ca3e130578fc23e.tar.gz
gentoo-2-1d092ba298c116274be6c64c4ca3e130578fc23e.tar.bz2
gentoo-2-1d092ba298c116274be6c64c4ca3e130578fc23e.zip
Added userland only support, bug#170404, thanks to ebfe
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-wireless/aircrack-ng/files')
-rw-r--r--net-wireless/aircrack-ng/files/aircrack-ng-0.7-make.patch35
-rw-r--r--net-wireless/aircrack-ng/files/digest-aircrack-ng-0.7-r13
2 files changed, 38 insertions, 0 deletions
diff --git a/net-wireless/aircrack-ng/files/aircrack-ng-0.7-make.patch b/net-wireless/aircrack-ng/files/aircrack-ng-0.7-make.patch
new file mode 100644
index 000000000000..97c33cc3c026
--- /dev/null
+++ b/net-wireless/aircrack-ng/files/aircrack-ng-0.7-make.patch
@@ -0,0 +1,35 @@
+--- ./Makefile 2007-01-20 00:41:07.000000000 +0100
++++ ./Makefile 2007-03-11 14:52:26.000000000 +0100
+@@ -27,7 +27,9 @@
+
+ default:all
+
+-all: aircrack-ng airdecap-ng packetforge-ng aireplay-ng airodump-ng airtun-ng ivstools kstats makeivs
++userland: $(BINFILES) $(TESTFILES)
++
++all: userland $(SBINFILES)
+
+ aircrack-ng-opt: src/aircrack-ng.c src/crypto.c src/sha1-mmx.S src/common.c
+ $(iCC) $(iCFLAGS) $(iOPTFLAGS) $(REVFLAGS) src/aircrack-ng.c src/crypto.c src/sha1-mmx.S src/common.c -o aircrack-ng-opt -lpthread
+@@ -69,15 +71,18 @@
+ strip: $(BINFILES) $(SBINFILES) $(TESTFILES)
+ strip $(BINFILES) $(SBINFILES) $(TESTFILES)
+
+-install: $(BINFILES) $(SBINFILES) $(TESTFILES) $(SCRIPTS)
++install_userland: userland
+ install -d $(destdir)$(bindir)
+ install -m 755 $(BINFILES) $(destdir)$(bindir)
+ install -m 755 $(TESTFILES) $(destdir)$(bindir)
++ install -d $(destdir)$(mandir)
++ install -m 644 ./manpages/* $(destdir)$(mandir)
++
++
++install: install_userland $(SBINFILES) $(SCRIPTS)
+ install -d $(destdir)$(sbindir)
+ install -m 755 $(SBINFILES) $(destdir)$(sbindir)
+ install -m 755 $(SCRIPTS) $(destdir)$(sbindir)
+- install -d $(destdir)$(mandir)
+- install -m 644 ./manpages/* $(destdir)$(mandir)
+
+ uninstall:
+ -rm -f $(destdir)$(bindir)/aircrack-ng
diff --git a/net-wireless/aircrack-ng/files/digest-aircrack-ng-0.7-r1 b/net-wireless/aircrack-ng/files/digest-aircrack-ng-0.7-r1
new file mode 100644
index 000000000000..1087c741de77
--- /dev/null
+++ b/net-wireless/aircrack-ng/files/digest-aircrack-ng-0.7-r1
@@ -0,0 +1,3 @@
+MD5 34c0447951d438d76fa32d08eab5da01 aircrack-ng-0.7.tar.gz 172998
+RMD160 a1828d93ab6433319176f7884ab4f607053018da aircrack-ng-0.7.tar.gz 172998
+SHA256 90cbd5030938ce1622a8e399c95088bf464bceb95adc290640d4610eb8522aeb aircrack-ng-0.7.tar.gz 172998