-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge development branch into master branch
- Loading branch information
Showing
130 changed files
with
1,730 additions
and
929 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
#!/bin/sh | ||
# | ||
# buildconf - creates an OpenWrt config file for oldconfig | ||
# Copyright (C) 2013 Cyrus <cyrus AT lambdacore.de> | ||
# | ||
# This program is free software: you can redistribute it and/or modify it under | ||
# the terms of the GNU General Public License as published by the Free Software | ||
# Foundation, either version 3 of the License, or (at your option) any later | ||
# version. | ||
# | ||
# This program is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
# details. | ||
# | ||
# You should have received a copy of the GNU General Public License along with | ||
# this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
fail() { | ||
echo "$1" 1>&2 | ||
exit 1 | ||
} | ||
|
||
printArgs () { | ||
fail 'Usage: | ||
$(basename $0) [profile] [community] "Addtional packages" | ||
Example: $(basename $0) ar71xx neuss | ||
$(basename $0) ar71xx neuss "space seperated packagenames" | ||
' | ||
} | ||
|
||
genconfig () { | ||
local profile="$1" | ||
local community="$2" | ||
local add_packages="$3" | ||
|
||
[ -s buildconf.d/$profile.profile ] || fail "Error: Profile file missing or empty!" | ||
. buildconf.d/$profile.profile | ||
|
||
[ -n "$target" ] || fail "Error: Target not set" | ||
[ -s buildconf.d/target/$target ] || fail "Error: Target file missing or empty!" | ||
cat buildconf.d/target/$target | ||
|
||
for defpkgfile in $(find buildconf.d/default/*) | ||
do | ||
cat $defpkgfile | ||
done | ||
|
||
for incpkgfile in $include_packages | ||
do | ||
cat buildconf.d/packages/$incpkgfile | cut -f1 -d'=' | sed 's/$/=y/' | ||
done | ||
|
||
for modpkgfile in $module_packages | ||
do | ||
cat buildconf.d/packages/$modpkgfile | cut -f1 -d'=' | sed 's/$/=m/' | ||
done | ||
|
||
if [ -d buildconf.d/communities/$community ]; then | ||
for compkgfile in $(find buildconf.d/communities/$community/*) | ||
do | ||
cat $compkgfile | ||
done | ||
fi | ||
|
||
if [ -n "$add_packages" ]; then | ||
for addpkg in $add_packages | ||
do | ||
echo "CONFIG_PACKAGE_$addpkg=y" | ||
done | ||
fi | ||
} | ||
|
||
[ $# -lt 2 ] && printArgs | ||
|
||
case "$1" in | ||
--help|-h) | ||
printArgs | ||
;; | ||
*) | ||
genconfig "$1" "$2" "$3" | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
target="ar71xx-generic" | ||
include_packages="ebtables firewallv4 p2pblock dhcp fastd webserver utils ffadv" | ||
module_packages="firewallv6 sshkeys openvpn" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CONFIG_PACKAGE_collectd=y | ||
CONFIG_PACKAGE_collectd-mod-interface=y | ||
CONFIG_PACKAGE_collectd-mod-network=y | ||
CONFIG_PACKAGE_collectd-mod-ping=y | ||
CONFIG_PACKAGE_collectd-mod-exec=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_miniupnpd=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CONFIG_PACKAGE_ffadv-webservice=n | ||
CONFIG_PACKAGE_ffadv-webservice-jena=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CONFIG_PACKAGE_collectd=y | ||
CONFIG_PACKAGE_collectd-mod-interface=y | ||
CONFIG_PACKAGE_collectd-mod-network=y | ||
CONFIG_PACKAGE_collectd-mod-ping=y | ||
CONFIG_PACKAGE_collectd-mod-exec=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CONFIG_PACKAGE_collectd=y | ||
CONFIG_PACKAGE_collectd-mod-interface=y | ||
CONFIG_PACKAGE_collectd-mod-network=y | ||
CONFIG_PACKAGE_collectd-mod-ping=y | ||
CONFIG_PACKAGE_collectd-mod-exec=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CONFIG_PACKAGE_kmod-batman-adv=y | ||
CONFIG_KMOD_BATMAN_ADV_DEBUG_LOG=y | ||
CONFIG_KMOD_BATMAN_ADV_BATCTL=y | ||
CONFIG_KMOD_BATMAN_ADV_DAT=y | ||
CONFIG_KMOD_BATMAN_ADV_BLA=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CONFIG_PACKAGE_coreutils=y | ||
CONFIG_PACKAGE_coreutils-join=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_ffadv-fastd-watchdog=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_ffadv-fastdregister=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_flock=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_IB=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CONFIG_IPV6=y | ||
CONFIG_PACKAGE_kmod-ipv6=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_kmod-bonding=m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CONFIG_PACKAGE_ppp=m | ||
CONFIG_PACKAGE_ppp-mod-pppoe=m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CONFIG_IMAGEOPT=y | ||
CONFIG_PREINITOPT=y | ||
CONFIG_TARGET_PREINIT_SUPPRESS_STDERR=y | ||
CONFIG_TARGET_PREINIT_TIMEOUT=2 | ||
CONFIG_TARGET_PREINIT_IFNAME="" | ||
CONFIG_TARGET_PREINIT_IP="192.168.210.1" | ||
CONFIG_TARGET_PREINIT_NETMASK="255.255.255.0" | ||
CONFIG_TARGET_PREINIT_BROADCAST="192.168.210.255" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# CONFIG_TARGET_ROOTFS_INITRAMFS is not set | ||
# CONFIG_TARGET_ROOTFS_CPIOGZ is not set | ||
CONFIG_TARGET_ROOTFS_TARGZ=y | ||
# CONFIG_TARGET_ROOTFS_EXT4FS is not set | ||
# CONFIG_TARGET_ROOTFS_JFFS2 is not set | ||
CONFIG_TARGET_ROOTFS_SQUASHFS=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_dnsmasq=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CONFIG_PACKAGE_ebtables=y | ||
CONFIG_PACKAGE_kmod-ebtables=y | ||
CONFIG_PACKAGE_kmod-ebtables-ipv4=y | ||
CONFIG_PACKAGE_kmod-ebtables-ipv6=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CONFIG_PACKAGE_iputils-ping=m | ||
CONFIG_PACKAGE_iputils-tracepath=m | ||
CONFIG_PACKAGE_iputils-tracepath6=m | ||
CONFIG_PACKAGE_iputils-traceroute6=m | ||
CONFIG_PACKAGE_nano=m | ||
CONFIG_PACKAGE_iperf=m | ||
CONFIG_PACKAGE_iperf-mt=m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CONFIG_PACKAGE_fastd=y | ||
CONFIG_FASTD_ENABLE_METHOD_XSALSA20_POLY1305=y | ||
# CONFIG_FASTD_ENABLE_METHOD_AES128_GCM is not set | ||
CONFIG_FASTD_ENABLE_CRYPTO_AES128CTR_NACL=y | ||
# CONFIG_FASTD_ENABLE_CRYPTO_AES128CTR_LINUX is not set | ||
CONFIG_FASTD_ENABLE_CRYPTO_GHASH_BUILTIN=y | ||
# CONFIG_FASTD_ENABLE_CRYPTO_GHASH_LINUX is not set | ||
# CONFIG_FASTD_WITH_CMDLINE_USER is not set | ||
# CONFIG_FASTD_WITH_CMDLINE_LOGGING is not set | ||
# CONFIG_FASTD_WITH_CMDLINE_OPERATION is not set | ||
# CONFIG_FASTD_WITH_CMDLINE_COMMANDS is not set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CONFIG_PACKAGE_ffadv-hbbp=y | ||
CONFIG_PACKAGE_nacl=y | ||
CONFIG_PACKAGE_kmod-nfnetlink=y | ||
CONFIG_PACKAGE_ffadv-fsm=y | ||
CONFIG_PACKAGE_ffadv-fsm-inetable=y | ||
CONFIG_PACKAGE_ffadv-nodeid=y | ||
CONFIG_PACKAGE_ffadv-p2ptbl=y | ||
CONFIG_PACKAGE_ffadv-shuf=y | ||
CONFIG_PACKAGE_ffadv-urlencoder=y | ||
CONFIG_PACKAGE_ffadv-webservice=y | ||
CONFIG_PACKAGE_ffadv-owm-update=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CONFIG_PACKAGE_firewall=y | ||
CONFIG_PACKAGE_iptables=y | ||
CONFIG_PACKAGE_librt=y | ||
CONFIG_PACKAGE_kmod-ledtrig-netfilter=y | ||
CONFIG_PACKAGE_iptables-mod-nat-extra=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_ip6tables=m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_openvpn-polarssl=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_freifunk-p2pblock=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_PACKAGE_radvd=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CONFIG_PACKAGE_ffadv-key-lcb=m | ||
CONFIG_PACKAGE_ffadv-key-phip=m | ||
CONFIG_PACKAGE_ffadv-key-egon0=m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CONFIG_PACKAGE_iputils-ping6=y | ||
CONFIG_PACKAGE_wireless-tools=y | ||
CONFIG_PACKAGE_lua=y | ||
CONFIG_PACKAGE_ip=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CONFIG_PACKAGE_uhttpd=y | ||
CONFIG_PACKAGE_uhttpd-mod-lua=y | ||
CONFIG_PACKAGE_libuci-lua=y | ||
CONFIG_PACKAGE_luafilesystem=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CONFIG_TARGET_ar71xx=y | ||
CONFIG_TARGET_ar71xx_generic=y | ||
CONFIG_TARGET_ar71xx_generic_Default=y | ||
CONFIG_HAS_SUBTARGETS=y | ||
CONFIG_TARGET_BOARD="ar71xx" | ||
CONFIG_TARGET_ARCH_PACKAGES="ar71xx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
CONFIG_TARGET_atheros=y | ||
CONFIG_TARGET_atheros_Default=y | ||
CONFIG_TARGET_BOARD="atheros" | ||
CONFIG_TARGET_ARCH_PACKAGES="atheros" | ||
CONFIG_PACKAGE_kmod-ath5k=y | ||
# CONFIG_PACKAGE_kmod-cfg80211 is not set | ||
CONFIG_MADWIFI_SINGLE_MODULE=y | ||
CONFIG_MADWIFI_RCA_MINSTREL=y | ||
# CONFIG_MADWIFI_RCA_SAMPLERATE is not set | ||
# CONFIG_PACKAGE_kmod-mac80211-hwsim is not set | ||
# CONFIG_PACKAGE_kmod-madwifi is not set | ||
# CONFIG_MADWIFI_COMPRESSION is not set | ||
CONFIG_PACKAGE_kmod-madwifi=y | ||
# CONFIG_PACKAGE_kmod-mac80211 is not set | ||
# CONFIG_PACKAGE_kmod-mac80211-hwsim is not set | ||
CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
CONFIG_TARGET_brcm47xx=y | ||
CONFIG_TARGET_brcm47xx_Broadcom-b43=y | ||
CONFIG_TARGET_BOARD="brcm47xx" | ||
CONFIG_TARGET_ARCH_PACKAGES="brcm47xx" | ||
CONFIG_DEFAULT_kmod-b43=y | ||
CONFIG_DEFAULT_kmod-b43legacy=y | ||
CONFIG_DEFAULT_kmod-diag=y | ||
CONFIG_DEFAULT_kmod-switch=y | ||
CONFIG_DEFAULT_nvram=y | ||
CONFIG_PCMCIA_SUPPORT=y | ||
CONFIG_PACKAGE_nvram=y | ||
CONFIG_PACKAGE_kmod-diag=y | ||
CONFIG_PACKAGE_kmod-switch=y | ||
CONFIG_PACKAGE_kmod-b43=y | ||
CONFIG_B43_FW_5_100_138=y | ||
CONFIG_B43_FW_SQUASH=y | ||
CONFIG_B43_FW_SQUASH_COREREVS="5,6,7,8,9,10,11,13,14,15,16" | ||
CONFIG_B43_FW_SQUASH_PHYTYPES="G,LP,N" | ||
CONFIG_PACKAGE_B43_PHY_N=y | ||
# CONFIG_PACKAGE_kmod-b43legacy is not set | ||
CONFIG_B43LEGACY_FW_SQUASH=y | ||
CONFIG_B43LEGACY_FW_SQUASH_COREREVS="1,2,3,4" |
Oops, something went wrong.