Ignore:
Timestamp:
Jun 26, 2013, 11:25:44 PM (6 years ago)
Author:
amain
Message:

Merge contrib branch 340:516. Main features added:

  • updated plugin architecture
  • improved patch system
  • bitten continous integration support
  • sever build fixed over time to remain in sync with OpenWrt
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/debian/package/hostapd/build.sh

    r216 r517  
    1616VERSION=1.0
    1717RELEASE=1
    18 DOWNLOAD_URL=svn://svn.openwrt.org/openwrt/trunk/package/${PACKAGE}
     18DOWNLOAD_URL=svn://svn.openwrt.org/openwrt/trunk/package/network/services/${PACKAGE}
    1919DEP=
    2020
     
    4444
    4545# download madwifi from openwrt, to determine which madwifi version to use
    46 DOWNLOAD_URL3=svn://svn.openwrt.org/openwrt/trunk/package/madwifi
    47 mkdir -p ${BUILD_DIR}/src/madwifi
    48 svn checkout ${DOWNLOAD_URL3} ${BUILD_DIR}/src/madwifi | tail -n 3
    49 
    50 # download correct version from madwifi
    51 REV=`cat ${BUILD_DIR}/src/madwifi/Makefile  | grep ^PKG_REV | awk -F ":=" '{print $2}'`
    52 OPENWRT_VERSION="r${REV:=3314}"
    53 PACKAGE_SOURCE=madwifi-trunk-${OPENWRT_VERSION}.tar.gz
    54 DOWNLOAD_URL4=http://mirror2.openwrt.org/sources/${PACKAGE_SOURCE}
    55 
    56 if [ ! -s ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} ]; then rm -f ${DOWNLOAD_DIR}/${PACKAGE_SOURCE}; wget -O ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} $DOWNLOAD_URL4; fi
    57 tar xzf ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} -C ${BUILD_DIR}/src/madwifi --strip 1
     46# apparantly madwifi has been depricated by openwrt. Hostapd does not appear
     47# to need madwifi sources anymore
     48# DOWNLOAD_URL3=svn://svn.openwrt.org/openwrt/trunk/package/madwifi
     49# mkdir -p ${BUILD_DIR}/src/madwifi
     50# svn checkout ${DOWNLOAD_URL3} ${BUILD_DIR}/src/madwifi | tail -n 3
     51#
     52## download correct version from madwifi
     53#REV=`cat ${BUILD_DIR}/src/madwifi/Makefile  | grep ^PKG_REV | awk -F ":=" '{print $2}'`
     54#OPENWRT_VERSION="r${REV:=3314}"
     55#PACKAGE_SOURCE=madwifi-trunk-${OPENWRT_VERSION}.tar.gz
     56#DOWNLOAD_URL4=http://mirror2.openwrt.org/sources/${PACKAGE_SOURCE}
     57#
     58#if [ ! -s ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} ]; then rm -f ${DOWNLOAD_DIR}/${PACKAGE_SOURCE}; wget -O ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} $DOWNLOAD_URL4; fi
     59#tar xzf ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} -C ${BUILD_DIR}/src/madwifi --strip 1
    5860
    5961# cp config file
Note: See TracChangeset for help on using the changeset viewer.