source: freewrt/package/aircrack-ng/Makefile@ ca629a6

freewrt_1_0 freewrt_2_0
Last change on this file since ca629a6 was 2d5b13d, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago
  • update aircrack to aircrack-ng, requested by Michael Schwab, aircrack-ng is better maintained and allows packet injection with madwifi (a small patch is needed for that)
  • fix axtls package, the package contains a small SSL webserver named axhttpd (20kb size)
    • the webserver is axhttpd, not awhttpd
    • latest upstream version used
    • fixed cross-compile problem
    • fix strange setuid stuff from upstream, if axhttpd is started as root, the process gets first nobody rights and _after_ that he tries to bind a port under 1024 !? Don't know how this could ever work, but a simple html page is displayed correctly, after applying the patch

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1926 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.4 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= aircrack-ng
10PKG_VERSION:= 0.7
11PKG_RELEASE:= 1
12PKG_MD5SUM:= 34c0447951d438d76fa32d08eab5da01
13
14PKG_SOURCE_URL:= http://download.aircrack-ng.org
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,AIRCRACK_NG,aircrack-ng,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20$(WRKBUILD)/.configured:
21 touch $@
22
23$(WRKBUILD)/.built:
24 $(MAKE) -C $(WRKBUILD) \
25 CC="$(TARGET_CC)" \
26 CFLAGS="$(TARGET_CFLAGS) -Wall" \
27 CROSS="$(TARGET_CROSS)" \
28 prefix="$(WRKINST)/usr" \
29 all install
30 touch $@
31
32$(IPKG_AIRCRACK_NG):
33 $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/bin
34 $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/sbin
35 $(INSTALL_BIN) $(WRKINST)/usr/bin/aircrack-ng $(IDIR_AIRCRACK_NG)/usr/bin/
36 $(INSTALL_BIN) $(WRKINST)/usr/bin/airdecap-ng $(IDIR_AIRCRACK_NG)/usr/bin/
37 $(INSTALL_BIN) $(WRKINST)/usr/bin/packetforge-ng $(IDIR_AIRCRACK_NG)/usr/bin/
38 $(INSTALL_BIN) $(WRKINST)/usr/sbin/aireplay-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
39 $(INSTALL_BIN) $(WRKINST)/usr/sbin/airodump-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
40 $(INSTALL_BIN) $(WRKINST)/usr/sbin/airtun-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
41 $(RSTRIP) $(IDIR_AIRCRACK_NG)
42 $(IPKG_BUILD) $(IDIR_AIRCRACK_NG) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.