summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-17 18:03:48 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-17 18:03:48 +0000
commit10e84d17e8d03ccd20a5037aa18177121bc54a57 (patch)
tree98288bdc7f1894a1b1af8b472236d4a9433b5048 /openwrt/package
parentacce65aaf6798a607b3a24d603c0c58ee7349cac (diff)
downloadmtk-20170518-10e84d17e8d03ccd20a5037aa18177121bc54a57.zip
mtk-20170518-10e84d17e8d03ccd20a5037aa18177121bc54a57.tar.gz
mtk-20170518-10e84d17e8d03ccd20a5037aa18177121bc54a57.tar.bz2
add aircrack package (thanks to Florian Fainelli)
SVN-Revision: 2148
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/Config.in1
-rw-r--r--openwrt/package/Makefile1
-rw-r--r--openwrt/package/aircrack/Config.in15
-rw-r--r--openwrt/package/aircrack/Makefile43
-rw-r--r--openwrt/package/aircrack/ipkg/aircrack.control7
5 files changed, 67 insertions, 0 deletions
diff --git a/openwrt/package/Config.in b/openwrt/package/Config.in
index 13da907..6c0bc5a 100644
--- a/openwrt/package/Config.in
+++ b/openwrt/package/Config.in
@@ -37,6 +37,7 @@ source "package/screen/Config.in"
comment "Networking"
source "package/6tunnel/Config.in"
source "package/aiccu/Config.in"
+source "package/aircrack/Config.in"
source "package/amwall/Config.in"
source "package/arpd/Config.in"
source "package/arptables/Config.in"
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index 7b07613..6593baf 100644
--- a/openwrt/package/Makefile
+++ b/openwrt/package/Makefile
@@ -5,6 +5,7 @@ package-:=tcp_wrappers
package-y:=nvram
package-$(BR2_PACKAGE_6TUNNEL) += 6tunnel
package-$(BR2_PACKAGE_AICCU) += aiccu
+package-$(BR2_PACKAGE_AIRCRACK) += aircrack
package-$(BR2_PACKAGE_AMWALL) += amwall
package-$(BR2_PACKAGE_ARPD) += arpd
package-$(BR2_PACKAGE_ARPTABLES) += arptables
diff --git a/openwrt/package/aircrack/Config.in b/openwrt/package/aircrack/Config.in
new file mode 100644
index 0000000..05e134e
--- /dev/null
+++ b/openwrt/package/aircrack/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_AIRCRACK
+ tristate "aircrack - a set of tools for auditing wireless networks"
+ default m if CONFIG_DEVEL
+ select BR2_PACKAGE_LIBPTHREAD
+ help
+ aircrack is a set of tools for auditing wireless networks:
+
+ * aircrack: static WEP and WPA-PSK key cracker
+ * airdecap: decrypts WEP/WPA capture files
+ * aireplay: 802.11 packet injection program
+ * airodump: 802.11 packet capture program
+
+ http://www.cr0.net:8040/code/network/aircrack/
+
+
diff --git a/openwrt/package/aircrack/Makefile b/openwrt/package/aircrack/Makefile
new file mode 100644
index 0000000..ff575dc
--- /dev/null
+++ b/openwrt/package/aircrack/Makefile
@@ -0,0 +1,43 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=aircrack
+PKG_VERSION:=2.3
+PKG_RELEASE:=1
+PKG_MD5SUM:=8c0c88abe107ca26d019d8f43958e60a
+
+PKG_SOURCE_URL:=http://www.cr0.net:8040/code/network/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,AIRCRACK,aircrack,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ rm -rf $(PKG_INSTALL_DIR)
+ mkdir -p $(PKG_INSTALL_DIR)
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ CC="$(TARGET_CC)" \
+ CFLAGS="$(TARGET_CFLAGS) -Wall" \
+ CROSS="$(TARGET_CROSS)" \
+ prefix="/usr" \
+ DESTDIR="$(PKG_INSTALL_DIR)" \
+ all install
+ touch $@
+
+$(IPKG_AIRCRACK):
+ install -d -m0755 $(IDIR_AIRCRACK)/usr/bin
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/aircrack $(IDIR_AIRCRACK)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/airdecap $(IDIR_AIRCRACK)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/aireplay $(IDIR_AIRCRACK)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/airodump $(IDIR_AIRCRACK)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/arpforge $(IDIR_AIRCRACK)/usr/bin/
+ $(RSTRIP) $(IDIR_AIRCRACK)
+ $(IPKG_BUILD) $(IDIR_AIRCRACK) $(PACKAGE_DIR)
+
diff --git a/openwrt/package/aircrack/ipkg/aircrack.control b/openwrt/package/aircrack/ipkg/aircrack.control
new file mode 100644
index 0000000..123f24d
--- /dev/null
+++ b/openwrt/package/aircrack/ipkg/aircrack.control
@@ -0,0 +1,7 @@
+Package: aircrack
+Priority: optional
+Section: net
+Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>, Florian Fainelli <florian@alphacore.net>
+Source: buildroot internal
+Depends: libpthread
+Description: A set of tools for auditing wireless networks