Skip to content

Commit

Permalink
add support for LEDE
Browse files Browse the repository at this point in the history
 * replace:
   * OpenWrt -> LEDE
   * OPENWRT -> LEDE
   * openwrt -> lede
 * fix imagebuilder/toolchain/sdk file name because it's now lowercase
 * refresh patches
 * use LEDE-commit of 2016-12-23
 * update feeds to trunk of 2016-12-23
 * change feed url from git -> https://
 * rename ar71xx -> ar71xx_generic

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

This is backported and updated to the master-branch. orginal commit
was cd1ae9b

 * refresh all software
 * change NAME and VERSION to reflect LEDE-branch-build
   * according to proposal: #24 (comment)
 * profiles: update new default of ar71xx-mikrotik
   * LEDE: "ar71xx: create a proper default profile for the mikrotik subtarget, drop other profiles"
     (e53e44a0ad4873645c7a22)

Signed-off-by: Sven Roederer <freifunk@it-solution.geroedel.de>

update LEDE (switch to LEDE-17.01 branch)
- opkg
- muls backports
- includes OpenVPN 2.4.0
- build: add diffconfig target
- rpcd: Update to 2016-12-03
- ramips: MiWiFi Nano fixes
- mac80211: Allow HT/VHT rates when running unencrypted mesh
b9857b2 tools/kernel2minor: fix permissions of created files
188626f mac80211: backport cfg80211 support for ieee80211-freq-limit DT property
4235cd0 x86: add kernel module for AMD CS5535/CS5536 audio chipset
476e77c tools/kernel2minor: fix endian conversion issues, allow creating little-endian images
8782672 tools/kernel2minor: fix portability issue
7304510 base-files: save /bin/mknod for sysupgrade
f277f45 yaffs: fix to detect MLC/TLC NAND flash
d8dde8c lantiq: fix console print
b7e8de6 strace: update to version 4.15
612e227 dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'
06e2636 dnsmasq: clean up white space in dnsmasq.init
1fef80f ar71xx: add support for TP-Link WBS210/510
2ee3e8d firmware-utils: tplink-safeloader: add support for TP-Link WBS210/510 1.2
08d73bf tools: cmake: use different approach for passing LDFLAGS
267b05f Revert "build: fix HOST_CONFIGURE_VARS placement"
f9b2531 tools: cmake: use pkg-config to discover libcrypto linker flags
0c03650 tools: mkimage: use pkg-config to discover libcrypto linker flags
bfb2512 tools: make libressl build depend on pkg-config
28f9df6 build: fix HOST_CONFIGURE_VARS placement
8160beb cmake: update to version 3.7.1
d2ddda6 build: ensure that prereq-build is run before metadata scan from feeds (FS#367)
fbe3e22 uboot-sunxi: enable parallel build
0ac00c9 sunxi: use fwtool for checking sdcard images
5ece16f sunxi: add sysupgrade support
8a2c56c sunxi: make sdcard image with squashfs as rootfs
4eb0fd8 sunxi: convert to new image generation method
6268d49 uboot-sunxi: add uboot-sunxi-all for selecting all other variants
6f61d85 base-files: export x86 platform upgrade functions to common.sh
d53fcde sunxi: enable loopback device and f2fs support
76ee28c sunxi: fix dts name for Mele M9
4ebb13a build: unzip: perform operations quietly
fa37bdc x86: move sysupgrade.tgz only if it exists
5f9e367 kernel: spi: allow setting chipselect gpio to sleep
af79fdb ar71xx: remove a non-upstream spi core patch
e307259 ath9k: don't run periodic and nf calibration at the same time
84bd740 build: use mkhash to replace various quirky md5sum/openssl calls
dad48c6 build: add a small standalone utility for calculating md5/sha256 hash
a0993dd tools: make cmake depend on libressl, one of its utilities uses it
bdaa138 host-build: remove openssl include path from host cflags
f6e6341 tools: build libressl on all systems
a46c9a4 oxnas: remove support for pre-4.4 kernels from drivers
ed69e93 kernel/modules: add SSSE3 SHA512 module
86de532 kernel/modules: add SSSE3 SHA256 module
159e82d kernel/modules: add SSSE3 SHA1 module
a93accd kernel: allow subtarget specific KernelPackage
301301d x86/64: enable AES-NI support in kernel
2406b34 brcm47xx: generic: include Ethernet drivers in standard image
5f8e338 brcm47xx: drop some personal profiles
d091b2c brcm47xx: generic: drop standalone profiles duplicating device ones
b138e69 brcm47xx: generic: specify DEVICE_PACKAGES for all devices
11c41a0 brcm47xx: fix bgmac package
2a72a91 build: add diffconfig target
38a8cea powerpc: boot: fix build with parallel make
18152e7 brcm47xx: mips74k: specify DEVICE_PACKAGES for all devices
1d74f78 brcm47xx: legacy: specify DEVICE_PACKAGES for all devices
c296ba8 Revert "ath9k: Add airtime fairness scheduler"
10f9152 dnsmasq: add DHCP Unique Identifier for DHCPv6
1175a5b odhcpd: bump to git HEAD version
34fa03e odhcp6c: bump to git HEAD version
388681f hostapd: enable SHA256-based algorithms
30f14f6 hostapd: add function to handle wpa_key_mgmt
bdcffb9 wpa_supplicant: rework wpa_key_mgmt handling
b13e103 ath5k: select 802.11w support
e2f866d generic: mtd: add lock/unlock support for f25l32pa
d6c831e generic: mtd: backport SPI_NOR_HAS_LOCK
799d0dd layerscape: add ls2088ardb device support
1866368 layerscape: add ls1088ardb device support
c6d3a62 gre: add different per-protocol prefixes to GRE-TAP IPv4/6 tunnel interfaces.
15d8d9c build: drop `trapret` function from non-Linux HOST_TAR variant
0bb4746 elfutils: bump to 0.168
fc6b6f4 download.pl: use curl in preference to wget
5586800 curl: Remove PolarSSL and adjust default to mbedTLS
cd18ff9 tools: gmp: Update to 6.1.2
0050b39 gmp: Update to 6.1.2
6099f22 zlib: Update to 1.2.9
bb4afdc libusb: Update to 1.0.21
54ff3b1 xz: Update to 5.2.3
1618c4a rpcd: Update to 2016-12-03
9bf2bc7 fstools: Update to 2016-12-04
55209a9 uclient: Update to 2016-12-09
91dab05 ixp4xx: drop 3.18 config/patches
8c822ec uboot-lantiq: fix boot of images larger than 8MB
cfe1c6d uboot-lantiq: fix build with gcc6
b35a41c generic: backport dwc2 kernel panic fix
b28e94d ramips: MiWiFi Nano fixes
fd718c5 mac80211: Allow HT/VHT rates when running unencrypted mesh.
8496659 base-files: fix message of initscript wrapper
5639e45 generic: package Broadcom BNX2 driver
321aca6 oxnas: fix syntax in ox820-akitio.dts
1436e15 curl: update to version 7.52.1
3e2c60e oxnas: append metadata to sysupgrade image
5cde94d oxnas: backport upstream NAND driver
ae21033 oxnas: drop support for kernel 4.1
1f7a358 oxnas: switch to kernel 4.4
b7677f0 ustream-ssl: remove extra DEFAULT_VARIANT from libustream-polarssl
619c8fa imagebuilder: remove existing debug kernel image
d1514e8 imagebuilder: remove existing root filesystem images
c6a8a23 xburst: remove hack to determine entry point
d2424d4 malta: remove hack to determine entry point
3e521fa sdk: exclude locale files to save some space
920170a firewall: fix forwarding local subnet traffic
9641cee mvebu: simplify etc/board.d/02_network
f24ffb9 mvsw61xx: add support for MV88E6352
89ecfa7 mvebu: several fixes for Linksys WRT3200ACM
8935689 mxs: gzip ext4 images
515d012 arc770: gzip rootfs image to save some space
113dd45 archs38: gzip rootfs image to save some space
8af5e57 image.mk: add generic function for gzipping images if enabled
6f57e32 mvebu: remove the clearfog-bundle
87b6687 image: when using the new image build code, gzip ext4 images by default
c914fa0 dnsmasq: use ubus signalling in ntp hotplug script
7499189 x86: disable crashlog
e38fd1e x86: disable a workaround for a buggy glibc version
27fbf54 octeon: disable ext4 images
402fea6 netifd: update to the latest version
8596935 image.mk: use LINUX_KARCH rather than ARCH for mkits
f44663c uqmi: mark as nonshared because of the usb dependencies
185b06f umbim: mark as nonshared because of the usb dependencies
1ca31b0 comgt: mark as nonshared because of the usb dependencies
bd68ddb polarssl: remove package
dcd8357 armvirt: add kernel config change missing from 0d44f0cb
d6c77b9 ar71xx: default to external USB power on RB-912UAG
5919cc2 build: let make check warn about use of legacy PKG_MD5SUM variable in feeds
6f9011f cmake: properly pass host cflags/ldflags to the build
7969770 cmake: support verbose build that shows compiler commands
d6de313 cmake: restore parallel build support for bootstrap
83eef37 x86/64: enable the fusion scsi driver
2b6284f mac80211: fix broken spatial multiplexing defaults
544dee5 ath10k-fw: Update to latest CT firmware
5c09d7f ath10k-ct: Update to latest CT 4.7 ath10k driver.
0d44f0c armvirt: enable the USB feature flag
627b0d3 mountd: drop USB related dependencies
29097b9 ramips: fix WLI-TX4-AG300N boot and network
3f31029 ramips: add support for VoCore2
d7fd1a0 ar71xx: enable serial console on Mikrotik RB411/RB433
287283e ramips: rt3883: fix typo in pinctrl lna_g_func
d1daf3f map: take over maintainership
0d49f9f odhcp6c: take over maintainership
5303d4b odhcpd: take over maintainership
ec63e3b Revert "dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'"
bb8e9c5 map: delete map-t device when tearing down map interface
1ad30be Revert the recent dependency and metadata scanning rework
fbe522d comgt: allow build without USB_SUPPORT
278ad00 umbim: allow build without USB_SUPPORT
863888e uqmi: allow build without USB_SUPPORT
96daf63 mountd: allow build without USB_SUPPORT
cfd8355 scripts/package-metadata.pl: fix overriding conditional dependencies with conditional select
90f0ca0 arc770: build dtb files in Image/Prepare so that they are available for Device/*
b9713ad archs38: build dtb files in Image/Prepare so that they are available for Device/*
4ce3c41 bcm53xx: backport upstream bcm53xx spi driver changes
2e1f6f1 mvebu: work around an ethernet tx scheduling fairness issue
3be4c6c kirkwood: only add UBI EOF markers for devices that need it
4d8da82 procd: add support for overriding the tar sysupgrade board name
e21cb64 ar71xx: disable sub-page writes on routerboard nand drivers
b7bee28 kernel: remove linux 4.1 support
b1dbe60 ar71xx: fix legacy image build error
1b17f4f arc770: fix parallel build issue
3fa2c77 archs38: fix parallel build issue
889272d ar71xx: fix RB4xx CPLD SPI device mode setup
c3a8b87 ar71xx: fix RB4xx SPI driver mode bits
15f4fbb mvebu: update mwlwifi driver to version 10.3.2.0-20170110
80dbaa4 kernel: backport a MIPS SMP icache flush fix
7c8a363 kernel: update bcm47xxpart failsafe partition patches
5932400 wpa_supplicant: Fix mesh encryption config
b95494b gettext-full: avoid using iconv for host builds
43d5339 tools: cmake: link librt if needed (FS#381)
69be65b tools: mkimage: pass crypto libraries through HOST_LOADLIBES (FS#381)
96a9403 tools: libressl: always build as PIC
77beaf2 package: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG)
7480d33 kernel: add missing config symbols
e9b49a4 kernel: add missing config symbol
f714fe4 mac80211: pending brcmfmac patches cleaning channels management
07df80a mac80211: rename b43 patches to make more space
90ed0aa build: scan.mk: consider KernelPackage pattern as well
1ce9b56 procd: update mirror hash
c9dd40f kernel: remove gpiommc patches / driver
1a5cb4a kernel: add pending bcm47xxpart support for failsafe TRX partition
ef9208c kernel: update spi-nor.h include fix with upstream accepted version
b4d2575 kernel: rename bcm47xxpart patches to fit more of them
a891e5e build: scan.mk: remove overlay broad grep pattern
01d9527 kernel: remove DEVTMPFS platform overrides
c2fc52a kernel: remove DEVMEM/DEVKMEM platform overrides
36167ae ath10k-firmware: update board data for qca9984
4ee4c24 kernel: drop kmod-i2c-ibm-iic
96815fe kernel: remove omap24xx specific kernel module packages
7ff7be9 omap: build various core drivers into the kernel instead of packaging them
10f7a8d kernel: add missing config symbol
f630342 kernel: simplify dependencies for kmod-via-velocity
5b92dca kernel: drop crypto-hw-ppc4xx
9cdf852 opkg: drop S/MIME support
f5c649d mpc85xx: build i2c support into the kernel instead of packaging it separately
96ade7a mpc85xx: build usb support into the kernel instead of packaging it separately
0b2b162 kernel: remove kmod-gianfar, it is already built into the kernel
c472ed2 kernel: remove kmod-ata-imx, it is already built into the kernel
cdcf726 lldpd: take over maintainership
046606a lldpd: add Net-SNMP AgentX support
0d3dc16 ar71xx: drop references to madwifi
c687a70 iwinfo: drop references to madwifi
cc66f81 px5g-standalone: provide px5g via PROVIDES
06c76e4 ppc44x: mark as broken
43a528e kernel: add missing config symbol
83b6bfc build: fix HOST_CONFIGURE_VARS placement
fe876e9 mvebu: Fix up some leds on this series
72d751c build: rework library bundling
38de638 mtd-utils: mark as nonshared
acd0c8c kernel: move the gateworks system controller driver to an out-of-tree package
c00e5a4 mpc85xx: enable the crypto acceleration driver in the kernel config instead of packaging it
a2f6b56 imx6: enable the crypto acceleration driver in the kernel config instead of packaging it
93cbdde kernel: fix kmod-w1-master-mxc dependency
78de59f kernel: fix dwc2 gadget dependency
29443e2 mxs: remove modules.mk, select drivers in the kernel config
915d7db mxs: remove obsolete kernel package depending on linux 3.18
64be6fe mxs: enable the chipidea usb driver in the kernel config instead of packaging it
7450698 imx6: enable the chipidea usb driver in the kernel config instead of packaging it
7f0796d imx6: remove kmod-thermal-imx, it is already enabled in the kernel config
348fedc imx6: build support for the ventana ethernet expansion board into the kernel instead of packaging it
c524d1b imx6: enable the Freescale SNVS RTC driver in the kernel config instead of packaging it
1e1d735 build: remove obsolete parallel build related options
029b36d procd: update to latest git HEAD
e3358b2 malta: Fix README file examples
dfe93c2 libnl: Update to 3.2.29
f2b6412 ramips: Fix VLAN limits for MT7621 GSW
1016a32 usbutils: Update usb.ids database to 2016.10.13
6ebb46a ipq806x: fix pvs1_bin voltage in ipq8065 DT
e9f0b75 cyassl: update to wolfssl version  3.10.0
f036956 lantiq: update USB controller initialization
2dac674 lantiq: fix dma locking problems with SMP
828a471 tools: remove obsolete yaffs tool
a9232ba tools: reorganize dependencies, fix build after deleting staging dir
589a16f px5g: remove obsolete reference to $(BUILD_VARIANT)
5903c46 build: fix build of ubifs images
1c6b1ab imx6: fix image boot ubifs compression option
3e7b894 ustream-ssl: remove legacy polarssl support
1cf64e2 px5g: remove legacy polarssl support
018d800 kernel: remove ubifs xz decompression support
8d2171e odhcp6c: add option "keep_ra_dnslifetime"
f0353c5 mbedtls: re-enable CFB support
c1b12aa Makefile: ensure that BIN_DIR exists for diffconfig
d4ce3e8 uboot-mvebu: enable loader with the default profile
355e150 mbedtls: re-enable RC4 support (needed by transmission and others)
621f8cbf odhcpd: bump to git HEAD
4061c8e Revert "gdb: fix build with gcc 4.1.2 as host compiler"
186cd45 zlib: update to 1.2.10
50a3bce rb532: drop patch-cmdline from base-files
ad76fdf rb532: switch to UBI, drop yaffs2 support, use sysupgrade for NAND
5b6b0aa rb532: convert to new loopback based overlay support
c2e6ca2 build: add image command for calling kernel2minor
b18f75c oxnas: minor kernel config improvements
69903c3 oxnas: require image metadata
870b7be oxnas: remove some kprintf calls from NAND driver
8f0dc92 lantiq: fix console print for additional boards
88ca639 kernel: bump to 4.4.40
5b089e4 kernel: update 4.4 kernel to 4.4.42
- base-files: add ARCH_PACKAGES to openwrt_release and os-release
- ubox: turn logd into a separate package
- opkg: use default PKG_BUILD_DIR
- misc mac80211-updates
- openvpn: let all openvpn variants provide a virtual openvpn package
- x86/generic: add xen DomU support / remove xen_domU subtarget
- cleanup / remove some other archs
- ath9k: add stability fixes for long standing hang issues (FS#13, #34, #373, #383)
  TP-Link TL-WR1043ND stable WiFi again
- Add back the commit "ath9k: Add airtime fairness scheduler"
- ath9k: fix up a refcount imbalance error in the IRQ related fix
- openssl: update to version 1.0.2k
- openvpn: add support for various new 2.4 configuration options
- musl: update musl to 1.1.16+ and switch to download from git
- ar71xx: fix tl-wr841n-v7 switch port mapping
- Fix dependency for hostapd
- odhcp6c: update to git HEAD version
- odhcpd: update to git HEAD version
- netifd: update to git HEAD version
- openvpn: ssl-enabled variants also provide a virtual openvpn-crypto package
- update kmod-sched-cake and iproute
- ubus: update to the latest version

update routing
- use olsr master from 2016-12-29
- to official olsr-master with sighup-interval
- includes OLSR with disabled "6and4" and mod-nameservice0.4

update berlin-packages
- fix deps of Freifunk-UI, openvpn-defaults
- ffwizzard: added support for reading wifi channel from community profile
3a50141 ffwizard: remove unused variable 'sharenet' in tools.lua
c193187 ffwizard: remove unused function firewall_zone_add_masq_src
- allows drop of patch/800-fix_owm-firmware-name.patch which is upstream

update LuCI
- luci-theme-bootstrap: tune default style select boxes
- community-profiles: update Berlin
- patches: luci-bootstrap-input-css seems obsoleted
  by openwrt/luci@d0bf648
de4bda6 Merge pull request #939 from dibdot/master
6a7eaeb Merge pull request #938 from cshore-firmware/pull-request-statistics-df
3481088 luci-app-travelmate: update gui elements
61fa65f i18n: sync translations
44b56f7 luci-mod-admin-full: fix help text for wifi join options
12d861f Merge pull request #933 from musashino205/wifischd-upd-ja
7e53e57 luci-app-wifischedule: Update Japanese translation
6c13339 Merge pull request #930 from cshore-firmware/pull-request-fix-webadmin
8703653 Merge pull request #929 from bittorf/master
bae8205 luci-app-olsr: adapt to changed behavior of new OLSRd v0.9.5
cf5d266 luci-ssl-openssl: update note about px5g's SSL library usage
92c537b Merge pull request #919 from kuoruan/luci-app-wifischedule
d830231 Merge pull request #927 from jp-bennett/master
846bdf4 [luci-app-fwknopd] Remove usage of dynamic tag. Also adds NAT-DNS as a default setting, and enables a QR-c$
ddfe7c4 luci-app-wifischedule: minor changes
95d3f26 Merge pull request #923 from kuoruan/i18n-zh-cn
a3066aa luci-app-privoxy: Update Simplified Chinese translation
70b7259 luci-base: Update Simplified Chinese translation
9dbfb9d luci-base: update LuaSrcDiet download location
a2dfd21 i18n: sync translations
953d281 Merge pull request #916 from musashino205/shairplay-add-ja
ebe5fdd luci-app-shairplay: Add Japanese translation
7bfd36d base: webadmin: Don't take substring of nil variable
388c84f app-statistics: df: Don't separate disk usage types
- freifunk-common: bump version as of recent changes
- luci-app-travelmate: update translations
- luci-base: add ipmask, ipmask4 and ipmask6 validators
- luci-app-firewall: use new ipmask validation types when applicable
- luci-base: datatypes.lua: add missing parentheses in conditional
- luci-mod-admin-full: allow unset txpower value
- luci-mod-admin-full: reload wifi settings page after changing counteycode
- luci-mod-admin-full: admin: change password in Map.parse()

update packages
- patch "add_package_snmp-mibs" made it upstream
- update of net-snmp to 5.37.3
- update of tmux
bf5c92a Merge pull request #3775 from jow-/net-snmp-nl-tiny
867453b Merge pull request #3785 from diizzyy/patch-17
e7e68c0 glib2: add --enable-libmount=no to HOST_CONFIGURE_ARGS
ae19abe glib2: update to 2.50.2
8153fd3 Merge pull request #3729 from diizzyy/patch-1
961c97b net/shadowsocks-libev: Update to 2.6.1
8791488 Merge pull request #3828 from pprindeville/fix-perl-cgi2
e0da6bf mosquitto: Fix host UNAME detection
462219c https-dns-proxy: bump PKG_RELEASE
4de86db Merge pull request #3825 from aarond10/patch-2
d7a41ee https-dns-proxy: Fix wrong commandline argument
ae9d95d utils/gnupg: Bump version; use both PKG_HASH (sha256) and PKG_MD5SUM (md5sum)
cac89a3 utils/gnupg: Add myself as maintainer
933e84c utils/gnupg: Add build of gpgv
1546057 bind: update to bind-9.10.4-P5
13e5066 perl-cgi: bump package release because of PKG_LEAVE_COMMENTS
80f93e5 gnunet: fix build
e62def0 Merge pull request #3822 from mhei/update-open-plc-utils
19bb3f7 Merge pull request #3740 from pprindeville/fix-perlmod-stripping
785b67a perlmod: global knob to disable comment stripping modules
a0d4b80 open-plc-utils: update to commit 6a07d621583cb86ddf2fddcacb41cc4cf28bf33a
1a8c520 php7: add a patch to fix build on aarch64
d6f5933 Merge pull request #3739 from pprindeville/fix-perl-cgi
1776793 Merge pull request #3821 from chris5560/ddns-scripts
028ad67 perl-cgi: disable comment stripping which damages module
71b50a7 ddns-scripts: fixes for nslookup and khost
3823ef9 Merge pull request #3813 from NeoRaider/hostpkg
9331f99 Merge pull request #3811 from commodo/python-gmpy-drop
f6e4197 Merge pull request #3818 from commodo/youtube-dl-fix
3b2e6ca Merge pull request #3816 from danrl/wireguard
65cd2a6 wireguard: version bump
b5b6ef3 python: bump PKG_RELEASE to 3
8ca0284 python: remove `011-do-not-prefer-ncursesw.patch`
4e2f4a7 python: use built-in libffi lib for host build
ee88853 python: link with static libs of ssl, crypto for host builds
5154683 Revert "python: don't use libressl for host build"
3bfdf67 python: drop CFLAGS in HOST_CONFIGURE_ARGS ; it's already in HOST_CONFIGURE_VARS
ed5cd3e python: remove Host/Install rule default add
89d23ea Merge pull request #3703 from nxhack/icu-update-to-v58_2
67b5e98 icu: Bumped to v58.2
1c12cb6 Merge pull request #3766 from thess/ffmpeg3-update
410ce3d ccid: update to version 1.4.26
8d44169 pcsc-lite: update to version 1.8.20
b8cd28f gnunet: update source
1497a56 Merge pull request #3527 from sartura/deboostrap-bump
5589f9a Merge pull request #3814 from thess/libextractor-update
9e269e3 net/openssh: Offload main site
3fc9ae5 php7: update to 7.1.0
e15fc66 libextractor: Add Debian ffmpeg api updates. Fix gstreamer dependencies
1d85158 Merge pull request #3762 from diizzyy/patch-10
99a0747 libs/poco: Use bz2 tarball instead of gz
a419873 Merge pull request #3490 from t-8ch/esniper_2.32
b8565de esniper: to 2.32.0
758184a Merge pull request #3738 from diizzyy/patch-5
8f1de0f utils/xz: Update to 5.2.3 and update URLs
f3cd14d Merge pull request #3736 from damianorenfer/master
c361090 Merge pull request #3807 from thess/umurmur-update
83f2f0a irssi: update to 0.8.21
4a984a8 treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
43f6c05 Merge pull request #3777 from pprindeville/update-isc-dhcp
ab5afd7 libs/dtc: fix build on x86_64
8588159 umurmur: Update to lastest version. Replace PolarSSL with mbed TLS
462ca31 python-gmpy: drop package (in favor or python-gmpy2)
9a30e8a gnunet: upstream fixes and packaging improvements
876d139 python{,3}: remove STAGING_DIR_HOSTPKG fallback definition
564b138 Merge pull request #3800 from hauke/iotivity
0c5eb5a iotivity: make logging configurable
a2bc69d iotivity: install the header files
2734f86 iotivity: replace environment patches with upstream versions
1e28dfe iotivity: update to version 1.2.1
b1398d6 iotivity: remove things manager
c5c6937 iotivity: add simple client + server
edd3c54 Merge pull request #3803 from diizzyy/patch-22
9e4d0a6 Merge pull request #3805 from chris5560/ddns-scripts
3a69e24 shairport-sync: Create mbed TLS version (replaces PolarSSL)
2c7d476 ddns-scripts: make cloudflare v1 same "domain" parameter syntax
72d7cb2 Merge pull request #3804 from dibdot/travelmate
50a51bc travelmate: bugfix 0.3.1
372fe29 admin/syslog-ng: Fix accidental inclusion of libs
d13f3f2 gnunet: update source and remove gnunet-sqlite dummy package
b621e71 Merge pull request #3791 from aarond10/patch-1
31ab5b2 https-dns-proxy: Switch from bz2 to xz
65219e2 Merge pull request #3802 from commodo/keepalived-maintainer-switch
1faf879 keepalived: switch maintainer to Ben Kelly (@scrpi)
2857071 Merge pull request #3796 from pprindeville/fix-syslog-plugins
84b136c syslog-ng: fix various install problems such as missing plugins, etc
909209e bind: Enable filter-aaaa build-time option by default.
d2faf59 Merge pull request #3801 from mwarning/fix-broken-dependency-detection
6addfe5 net/zerotier: fix broken dependency detection
3923917 Merge pull request #3799 from fededim/master
863f6f8 sstp-client: updated the fake title and description (old carelessness)
baae1b7 Merge pull request #3798 from fededim/master
d94bc13 lftp: updated to 4.7.5 sstp-client: updated to 1.0.11 and moved under VPN submenu
21b9ac9 ser2net: update to 3.3
4e9adcb Merge pull request #3797 from diizzyy/patch-21
677492e net/transmission: Refresh patches and minor tweaks
3b73eb1 bcp38: Add note about IPv6 to package description and help text
dd86386 Merge pull request #3795 from obsy/master
ba55878 transmission: conversion polarssl to mbedtls
ea9e3b0 luajit: move patches dir to the right place
0392cd0 Merge pull request #3787 from diizzyy/patch-19
2b85289 https-dns-proxy: Version bump
9984b85 net/zerotier: Fix source tarball filename
b2bd7b4 libs/libstrophe: Fix source tarball filename
e701fb9 Merge pull request #3788 from mwarning/libupnpc-detection
8beaec1 net/zerotier: improve libupnpc detection
6e26195 Merge pull request #3786 from diizzyy/patch-18
1c56d7e lang/luajit: Move to lua submenu
55da121 Merge pull request #3781 from mwarning/zerotier
47f6006 zerotier: fix upnp build support
aebb014 Merge pull request #2823 from milani/luajit
0f3f62e luajit: new package
50a01b5 Merge pull request #3749 from mwarning/add-zerotier-package
ac531a9 isc-dhcp: bump version to latest and fix build issues
811595c Merge pull request #3776 from diizzyy/patch-14
7273fd2 kernel/exfat-nofuse: Update to snapshot 2017-01-03
c7bdcb0 Merge pull request #3578 from MikePetullo/syslog-ng
20a1d02 Merge pull request #3577 from MikePetullo/eventlog
785159f ffmpeg: Upgrade to 3.2.2. Remove Speex support
cb1e8c2 Merge pull request #3625 from p-wassi/grep_226
399d0e5 net-snmp: build against libnl-tiny
a3e7b2d Merge pull request #3774 from dibdot/adblock
43971e2 adblock: bugfix 2.1.1
fd23a5e Merge pull request #3773 from commodo/python-fix-host-build
ca800e6 python: don't use libressl for host build
3cc1cf8 eventlog: import from oldpackages
ef0fef5 syslog-ng: import from oldpackages
fad0bcc Merge pull request #3770 from diizzyy/patch-13
74e436f net-snmp: fix libnl dependency for snmpd-static
63571b3 utils/haveged: Add SF as primary download site
3195925 haveged: change hash to SHA256
8b8b93a ccrypt: change hash to SHA256
1bd7eac sox: Upgrade to 14.4.2. ffmpeg no longer required
c9d239c moc: Upgrade to 2.5.2. Includes ffmpeg3 compatibility
aa77076 Merge pull request #3742 from diizzyy/patch-6
0368739 net-snmp: enable AgentX support
f9e96a9 Merge pull request #3746 from thess/pianod-update
8a227b4 Merge pull request #3765 from dibdot/adblock
23983d7 zerotier: add initial package
092599f adblock: update 2.1.0
0532864 Merge pull request #3761 from ClaymorePT/boost_1.63
8637073 libs/sqlite3: Update to 3.16.0 and add optimizations
6428d61 boost: Package Version Update -> 1.63.0
ca2e844 Merge pull request #3760 from KurdyMalloy/master
b71421a poco: update to 1.7.7 Update package to latest stable version (1.7.7)
54d955f Merge pull request #3759 from commodo/keepalived-default-old-conf
f59f751 keepalived: use old keepalived.conf by default
0ef72ba Merge pull request #3758 from stintel/keepalived_3757
28275a7 keepalived: fix recvmsg/sendmsg on mips64 again
d45c0f1 Merge pull request #3755 from commodo/python3-update-build
3bf2135 Merge pull request #3754 from commodo/python-upgrade
3af2027 python3: sync makefiles with python package
f04641d python: upgrade to version 2.7.13
6d91370 python: simplify/unify default build rules for python packages
bb2f8fa python-dev: add python-lib2to3 as dependency
165cd9f python: update PYTHON_FOR_BUILD (based on python3)
9d87673 python: remove argument for `--with-system-ffi` configure arg (based on python3)
d330a9a pianod: Update to private version 174.05. Remove PolarSSL dependency.
4174f03 net/dnscrypt-proxy: update to 1.9.1. Change config system, use config file instead of command line args, no changes made to existing UCI part. Add blacklists support
024aec7 utils/grep: update to 2.26
8288016 debootstrap: update to version 1.0.87
- vnstat: update to v1.16
  • Loading branch information
lynxis authored and SvenRoederer committed Feb 9, 2017
1 parent ebe7cf9 commit 0da6a56
Show file tree
Hide file tree
Showing 11 changed files with 65 additions and 753 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
patches/*~
bin
openwrt
/lede/
firmwares
dl
106 changes: 53 additions & 53 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ REVISION=git describe --always

# set dir and file names
FW_DIR=$(shell pwd)
OPENWRT_DIR=$(FW_DIR)/openwrt
LEDE_DIR=$(FW_DIR)/lede
TARGET_CONFIG=$(FW_DIR)/configs/common.config $(FW_DIR)/configs/$(TARGET).config
IB_BUILD_DIR=$(FW_DIR)/imgbldr_tmp
FW_TARGET_DIR=$(FW_DIR)/firmwares/$(TARGET)
UMASK=umask 022

# if any of the following files have been changed: clean up openwrt dir
# if any of the following files have been changed: clean up lede dir
DEPS=$(TARGET_CONFIG) feeds.conf patches $(wildcard patches/*)

# profiles to be built (router models)
Expand All @@ -26,54 +26,54 @@ FW_REVISION=$(shell $(REVISION))

default: firmwares

# clone openwrt
$(OPENWRT_DIR):
git clone $(OPENWRT_SRC) $(OPENWRT_DIR)
# clone lede
$(LEDE_DIR):
git clone $(LEDE_SRC) $(LEDE_DIR)

# clean up openwrt working copy
openwrt-clean: stamp-clean-openwrt-cleaned .stamp-openwrt-cleaned
.stamp-openwrt-cleaned: config.mk | $(OPENWRT_DIR) openwrt-clean-bin
cd $(OPENWRT_DIR); \
# clean up lede working copy
lede-clean: stamp-clean-lede-cleaned .stamp-lede-cleaned
.stamp-lede-cleaned: config.mk | $(LEDE_DIR) lede-clean-bin
cd $(LEDE_DIR); \
./scripts/feeds clean && \
git clean -dff && git fetch && git reset --hard HEAD && \
rm -rf .config feeds.conf build_dir/target-* logs/
touch $@

openwrt-clean-bin:
rm -rf $(OPENWRT_DIR)/bin
lede-clean-bin:
rm -rf $(LEDE_DIR)/bin

# update openwrt and checkout specified commit
openwrt-update: stamp-clean-openwrt-updated .stamp-openwrt-updated
.stamp-openwrt-updated: .stamp-openwrt-cleaned
cd $(OPENWRT_DIR); git checkout --detach $(OPENWRT_COMMIT)
# update lede and checkout specified commit
lede-update: stamp-clean-lede-updated .stamp-lede-updated
.stamp-lede-updated: .stamp-lede-cleaned
cd $(LEDE_DIR); git checkout --detach $(LEDE_COMMIT)
touch $@

# patches require updated openwrt working copy
$(OPENWRT_DIR)/patches: | .stamp-openwrt-updated
# patches require updated lede working copy
$(LEDE_DIR)/patches: | .stamp-lede-updated
ln -s $(FW_DIR)/patches $@

# feeds
$(OPENWRT_DIR)/feeds.conf: .stamp-openwrt-updated feeds.conf
$(LEDE_DIR)/feeds.conf: .stamp-lede-updated feeds.conf
cp $(FW_DIR)/feeds.conf $@

# update feeds
feeds-update: stamp-clean-feeds-updated .stamp-feeds-updated
.stamp-feeds-updated: $(OPENWRT_DIR)/feeds.conf unpatch
+cd $(OPENWRT_DIR); \
.stamp-feeds-updated: $(LEDE_DIR)/feeds.conf unpatch
+cd $(LEDE_DIR); \
./scripts/feeds uninstall -a && \
./scripts/feeds update && \
./scripts/feeds install -a
touch $@

# prepare patch
pre-patch: stamp-clean-pre-patch .stamp-pre-patch
.stamp-pre-patch: .stamp-feeds-updated $(wildcard $(FW_DIR)/patches/*) | $(OPENWRT_DIR)/patches
.stamp-pre-patch: .stamp-feeds-updated $(wildcard $(FW_DIR)/patches/*) | $(LEDE_DIR)/patches
touch $@

# patch openwrt working copy
# patch lede working copy
patch: stamp-clean-patched .stamp-patched
.stamp-patched: .stamp-pre-patch
cd $(OPENWRT_DIR); quilt push -a
cd $(LEDE_DIR); quilt push -a
touch $@

.stamp-build_rev: .FORCE
Expand All @@ -88,31 +88,31 @@ endif
# share download dir
$(FW_DIR)/dl:
mkdir $(FW_DIR)/dl
$(OPENWRT_DIR)/dl: $(FW_DIR)/dl
ln -s $(FW_DIR)/dl $(OPENWRT_DIR)/dl
$(LEDE_DIR)/dl: $(FW_DIR)/dl
ln -s $(FW_DIR)/dl $(LEDE_DIR)/dl

# make embedded-files avail to openwrt
$(OPENWRT_DIR)/files: $(FW_DIR)/embedded-files
ln -s $(FW_DIR)/embedded-files $(OPENWRT_DIR)/files
# make embedded-files avail to lede
$(LEDE_DIR)/files: $(FW_DIR)/embedded-files
ln -s $(FW_DIR)/embedded-files $(LEDE_DIR)/files

# openwrt config
$(OPENWRT_DIR)/.config: .stamp-patched $(TARGET_CONFIG) .stamp-build_rev $(OPENWRT_DIR)/dl
cat $(TARGET_CONFIG) >$(OPENWRT_DIR)/.config
sed -i "/^CONFIG_VERSION_NUMBER=/ s/\"$$/\+$(FW_REVISION)\"/" $(OPENWRT_DIR)/.config
# lede config
$(LEDE_DIR)/.config: .stamp-patched $(TARGET_CONFIG) .stamp-build_rev $(LEDE_DIR)/dl
cat $(TARGET_CONFIG) >$(LEDE_DIR)/.config
sed -i "/^CONFIG_VERSION_NUMBER=/ s/\"$$/\+$(FW_REVISION)\"/" $(LEDE_DIR)/.config
$(UMASK); \
$(MAKE) -C $(OPENWRT_DIR) defconfig
$(MAKE) -C $(LEDE_DIR) defconfig

# prepare openwrt working copy
# prepare lede working copy
prepare: stamp-clean-prepared .stamp-prepared $(OPENWRT_DIR)/files
.stamp-prepared: .stamp-patched $(OPENWRT_DIR)/.config
sed -i 's,^# REVISION:=.*,REVISION:=$(FW_REVISION),g' $(OPENWRT_DIR)/include/version.mk
.stamp-prepared: .stamp-patched $(LEDE_DIR)/.config
sed -i 's,^# REVISION:=.*,REVISION:=$(FW_REVISION),g' $(LEDE_DIR)/include/version.mk
touch $@

# compile
compile: stamp-clean-compiled .stamp-compiled
.stamp-compiled: .stamp-prepared openwrt-clean-bin
.stamp-compiled: .stamp-prepared lede-clean-bin
$(UMASK); \
$(MAKE) -C $(OPENWRT_DIR) $(MAKE_ARGS)
$(MAKE) -C $(LEDE_DIR) $(MAKE_ARGS)
touch $@

# fill firmwares-directory with:
Expand All @@ -123,21 +123,21 @@ firmwares: stamp-clean-firmwares .stamp-firmwares
.stamp-firmwares: .stamp-compiled
rm -rf $(IB_BUILD_DIR)
mkdir -p $(IB_BUILD_DIR)
$(eval TOOLCHAIN_PATH := $(shell printf "%s:" $(OPENWRT_DIR)/staging_dir/toolchain-*/bin))
$(eval IB_FILE := $(shell ls -tr $(OPENWRT_DIR)/bin/$(MAINTARGET)/OpenWrt-ImageBuilder-*.tar.bz2 | tail -n1))
$(eval TOOLCHAIN_PATH := $(shell printf "%s:" $(LEDE_DIR)/staging_dir/toolchain-*/bin))
$(eval IB_FILE := $(shell ls -tr $(LEDE_DIR)/bin/targets/$(MAINTARGET)/$(SUBTARGET)/*-imagebuilder-*.tar.bz2 | tail -n1))
mkdir -p $(FW_TARGET_DIR)
# Create version info file
GIT_BRANCH_ESC=$(shell $(GIT_BRANCH) | tr '/' '_'); \
VERSION_FILE=$(FW_TARGET_DIR)/VERSION.txt; \
echo "https://github.com/freifunk-berlin/firmware" > $$VERSION_FILE; \
echo "https://wiki.freifunk.net/Berlin:Firmware" >> $$VERSION_FILE; \
echo "Firmware: git branch \"$$GIT_BRANCH_ESC\", revision $(FW_REVISION)" >> $$VERSION_FILE; \
# add openwrt revision with data from config.mk \
OPENWRT_REVISION=`cd $(OPENWRT_DIR); $(REVISION)`; \
echo "OpenWRT: repository from $(OPENWRT_SRC), git branch \"$(OPENWRT_COMMIT)\", revision $$OPENWRT_REVISION" >> $$VERSION_FILE; \
# add lede revision with data from config.mk \
LEDE_REVISION=`cd $(LEDE_DIR); $(REVISION)`; \
echo "OpenWRT: repository from $(LEDE_SRC), git branch \"$(LEDE_COMMIT)\", revision $$LEDE_REVISION" >> $$VERSION_FILE; \
# add feed revisions \
for FEED in `cd $(OPENWRT_DIR); ./scripts/feeds list -n`; do \
FEED_DIR=$(addprefix $(OPENWRT_DIR)/feeds/,$$FEED); \
for FEED in `cd $(LEDE_DIR); ./scripts/feeds list -n`; do \
FEED_DIR=$(addprefix $(LEDE_DIR)/feeds/,$$FEED); \
FEED_GIT_REPO=`cd $$FEED_DIR; $(GIT_REPO)`; \
FEED_GIT_BRANCH_ESC=`cd $$FEED_DIR; $(GIT_BRANCH) | tr '/' '_'`; \
FEED_REVISION=`cd $$FEED_DIR; $(REVISION)`; \
Expand All @@ -156,12 +156,12 @@ firmwares: stamp-clean-firmwares .stamp-firmwares
for file in `find $(RELPATH) -name "openwrt-*"` ; do mv $$file $${file/openwrt-/kathleen-}; done
# copy imagebuilder, sdk and toolchain (if existing)
# remove old versions
rm -f $(FW_TARGET_DIR)/OpenWrt-*.tar.bz2
cp -a $(OPENWRT_DIR)/bin/$(MAINTARGET)/OpenWrt-*.tar.bz2 $(FW_TARGET_DIR)/
rm -f $(FW_TARGET_DIR)/*.tar.bz2
cp -a $(LEDE_DIR)/bin/targets/$(MAINTARGET)/$(SUBTARGET)/*{imagebuilder,sdk,toolchain}*.tar.bz2 $(FW_TARGET_DIR)/
# copy packages
PACKAGES_DIR="$(FW_TARGET_DIR)/packages"; \
rm -rf $$PACKAGES_DIR; \
cp -a $(OPENWRT_DIR)/bin/$(MAINTARGET)/packages $$PACKAGES_DIR
cp -a $(LEDE_DIR)/bin/$(MAINTARGET)/$(SUBTARGET)/packages $$PACKAGES_DIR
rm -rf $(IB_BUILD_DIR)
touch $@

Expand All @@ -171,14 +171,14 @@ stamp-clean-%:
stamp-clean:
rm -f .stamp-*

# unpatch needs "patches/" in openwrt
unpatch: $(OPENWRT_DIR)/patches
# unpatch needs "patches/" in lede
unpatch: $(LEDE_DIR)/patches
# RC = 2 of quilt --> nothing to be done
cd $(OPENWRT_DIR); quilt pop -a -f || [ $$? = 2 ] && true
cd $(LEDE_DIR); quilt pop -a -f || [ $$? = 2 ] && true
rm -f .stamp-patched

clean: stamp-clean .stamp-openwrt-cleaned
clean: stamp-clean .stamp-lede-cleaned

.PHONY: openwrt-clean openwrt-clean-bin openwrt-update patch feeds-update prepare compile firmwares stamp-clean clean
.PHONY: lede-clean lede-clean-bin lede-update patch feeds-update prepare compile firmwares stamp-clean clean
.NOTPARALLEL:
.FORCE:
4 changes: 2 additions & 2 deletions config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
SHELL:=$(shell which bash)
TARGET=ar71xx-generic
PACKAGES_LIST_DEFAULT=default backbone
OPENWRT_SRC=git://github.com/openwrt/openwrt.git
OPENWRT_COMMIT=1b6dc2e48ce654a004a7d0b98d7070a515424595
LEDE_SRC=https://git.lede-project.org/source.git
LEDE_COMMIT=5c4b2eb3dd9261d9e604dcdff2c93860a6313582
MAKE_ARGS=
5 changes: 3 additions & 2 deletions configs/common.config
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ CONFIG_VERSIONOPT=y
CONFIG_VERSION_DIST="Freifunk Berlin"
CONFIG_VERSION_HWREV=""
CONFIG_VERSION_MANUFACTURER=""
CONFIG_VERSION_NICK="Kathleen"
CONFIG_VERSION_NUMBER="experimental"
CONFIG_VERSION_NICK="Hedy"
CONFIG_VERSION_NUMBER="0.3.0-alpha"
CONFIG_VERSION_CODE=""
CONFIG_VERSION_PRODUCT=""
CONFIG_VERSION_REPO="http://buildbot.berlin.freifunk.net/buildbot/stable/%V/%T/packages"
# CONFIG_OPENVPN_polarssl_ENABLE_DEF_AUTH is not set
Expand Down
10 changes: 5 additions & 5 deletions feeds.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
src-git packages git://github.com/openwrt/packages.git^e3e9f341e605a06d3c79b8530341a30df57d9d3f
src-git luci git://github.com/openwrt/luci.git^90474569d218cefb789f0c9cd804ccde44b532da
src-git routing git://github.com/openwrt-routing/packages.git^d580d71309f0867022ab7f47badb8c2a1860fc83
src-git packages_berlin git://github.com/freifunk-berlin/firmware-packages.git^34d859b8eb5e7e56738a3de6bcc74e8f31072f18
src-git packages https://github.com/openwrt/packages.git^5c749ad53ed466c0fb1b981a0f662bd0f4dec5c4
src-git luci https://github.com/openwrt/luci.git^e306ee6c93c1ef600012f47e40dd75020d4ab555
src-git routing https://github.com/openwrt-routing/packages.git^dd36dd47bbd75defcb3c517cafe7a19ee425f0af
src-git packages_berlin https://github.com/freifunk-berlin/firmware-packages.git^3186386056cf52ebea3c7298b0a57fa8eafc851e

##
# just for reference (syntax of different feed-sources)
# see https://wiki.openwrt.org/doc/devel/feeds for more info
##
#src-git packages_berlin git://github.com/freifunk-berlin/firmware-packages.git;master
#src-git packages_berlin https://github.com/freifunk-berlin/firmware-packages.git;master
#src-link packages_berlin ../../../firmware-packages
17 changes: 0 additions & 17 deletions patches/000-fix-mt7620-failsafe.patch

This file was deleted.

Loading

0 comments on commit 0da6a56

Please sign in to comment.