History log of /openwrt/package/base-files/Makefile
Revision Date Author Comments
# e53059a8 11-May-2016 Luka Perkov <luka@openwrt.org>

base-files: fix permissions of the login.sh script

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49376 3c298f89-4303-0410-b956-a3cf2f4a3e73


# bfdaaaa5 10-May-2016 Luka Perkov <luka@openwrt.org>

base-files: Allow to disable failsafe mode

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49326 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6e731003 26-Feb-2016 Jo-Philipp Wich <jow@openwrt.org>

base-files: support passing mode to ucidef_set_led_netdev()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48806 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5a4f5148 08-Feb-2016 Jo-Philipp Wich <jow@openwrt.org>

base-files: add netifd's default prelocal table to /etc/iproute2/rt_tables

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48685 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 93f7ca2b 08-Feb-2016 Jo-Philipp Wich <jow@openwrt.org>

base-files: honor CONFIG_TARGET_INIT_PATH

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48678 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5daf93b0 23-Dec-2015 John Crispin <blogic@openwrt.org>

base-files: allow timezone to be overriden by zonename (proper zoneinfo support)

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47980 3c298f89-4303-0410-b956-a3cf2f4a3e73


# db5ee5e2 13-Dec-2015 Felix Fietkau <nbd@openwrt.org>

base-files: drop the now unnecessary dependency on opkg/host

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47886 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e8d2ba26 11-Dec-2015 John Crispin <blogic@openwrt.org>

base-file: remove /tmp/.jail (now useless)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47855 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e5e71238 24-Nov-2015 Jo-Philipp Wich <jow@openwrt.org>

base-files: config_generate: honour port_mask property (#20963)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47609 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ee75edff 22-Nov-2015 Felix Fietkau <nbd@openwrt.org>

base-files: use the correct path in case of modified preinit options

If the user sets any preinit options in .config, the wrong path may get
applied due to wrong default value in image-config.in and due to Makefile
writing also the unchanged options into 00_preinit.conf

Modify the default path in image-config.in to match the current default
path set by r47080. Also modify the fall-back default in Makefile.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47590 3c298f89-4303-0410-b956-a3cf2f4a3e73


# bc54d063 07-Oct-2015 Steven Barth <steven@midlink.org>

base-files: revert to default ECN settings

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47160 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d793f4b7 02-Oct-2015 Steven Barth <steven@midlink.org>

base-files: sanitize and unify $PATH

Previously init and hotplug paths were different from console.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47080 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b082573f 28-Sep-2015 Felix Fietkau <nbd@openwrt.org>

base-files: add a dependency on fstools

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47066 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9076136a 08-Sep-2015 Steven Barth <steven@midlink.org>

base-files: add /etc/iproute2/rt_tables, replace ifconfig-usage

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46830 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8da5e6a8 02-Sep-2015 Jo-Philipp Wich <jow@openwrt.org>

base-files: add /etc/hosts entries for ::1, ff02::1 and ff02::2

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46771 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 465a0d38 07-Jul-2015 John Crispin <blogic@openwrt.org>

sysctl: read settings from /etc/sysctl.d/*.conf

This changes makes it possible to store custom settings
in individual files inside the directory /etc/sysctl.d/.

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46239 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 741a0576 06-Apr-2015 Felix Fietkau <nbd@openwrt.org>

build: add integration for managing opkg package feed keys

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45286 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9456cf25 02-Apr-2015 Nicolas Thill <nico@openwrt.org>

packages: use $(LN) macro, make symlinks relative

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45250 3c298f89-4303-0410-b956-a3cf2f4a3e73


# c145bf0d 02-Apr-2015 Nicolas Thill <nico@openwrt.org>

base-files: add more config files to conffiles section

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45244 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 656eef3a 11-Feb-2015 Jo-Philipp Wich <jow@openwrt.org>

base-files: fix target/subtarget value in /etc/openwrt_release

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44409 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 894af53f 01-Dec-2014 John Crispin <blogic@openwrt.org>

base-files: default_postinst() - create user:group first (resend)

create user:group before running postinst-pkg. the postinst hook might require
the user:group to already exist.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43472 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1ee8ef99 06-Nov-2014 Nicolas Thill <nico@openwrt.org>

package/*: replace occurences of 'ln -sf' to '$(LN)'

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43205 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 85c10a8a 03-Nov-2014 John Crispin <blogic@openwrt.org>

license info - revert r43155

turns out that r43155 adds duplicate info.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43167 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b8df8ca9 03-Nov-2014 John Crispin <blogic@openwrt.org>

Add more license tags with SPDX identifiers

Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43155 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2bf2015c 01-Nov-2014 Steven Barth <steven@midlink.org>

Add a few SPDX tags

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43151 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 369b4791 11-Aug-2014 Jo-Philipp Wich <jow@openwrt.org>

base-files: /lib/functions/network.sh: fix network_get_ipaddr6

When looking for the first ipaddr also consider the current prefix just
like network_get_ipaddrs6 does. If ipv6-address was empty the function
did not return the first ipaddr even if the list was non-empty.

fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006

Signed-off-by: Henning Schild <henning@hennsch.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42139 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 02627475 29-Jul-2014 Felix Fietkau <nbd@openwrt.org>

base-files: properly escape strings for version info

Make sure they don't break the sed command, and also make device_info
and openwrt_release more robust for parsing by scripts

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41885 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5198a23d 29-Jul-2014 Felix Fietkau <nbd@openwrt.org>

base-files: add extra version configuration options for OEM manufacturer info

Creates /etc/device_info which will be used to fill in information for
WPS and other protocols that need manufacturer/device information

This helps with creating OpenWrt firmware for OEM or rebranded devices.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41884 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 284bbce0 27-Jun-2014 John Crispin <blogic@openwrt.org>

base-files: add enabled config option for ntp service

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41354 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1143dd9e 19-Jun-2014 Jo-Philipp Wich <jow@openwrt.org>

base-files: depend on jsonfilter and rewrite network.sh to use it

Switches /lib/functions/network.sh from jshn based json parsing to
jsonfilter expression while keeping the existing api.

Expensive methods like "network_find_wan" are up to 20x faster now.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41281 3c298f89-4303-0410-b956-a3cf2f4a3e73


# cc728d09 01-Jun-2014 John Crispin <blogic@openwrt.org>

base-files: calling stop_service before procd_kill.

Before this patch, doing `/e/c/network restart' will emit the folloing
error by `ubus network.wireless down "{}"' because netifd already quit
by that time.

Command failed: not found

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40906 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 32d2457f 27-Apr-2014 Felix Fietkau <nbd@openwrt.org>

base-files: remove duplicate stop_service() function.

It was introduced in commit 2f966e8, "base-files: add a post start hook
for procd managed services".

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40576 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ce73f9f1 31-Jan-2014 Jo-Philipp Wich <jow@openwrt.org>

base-files: expose taint flags in /etc/openwrt_release

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39437 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 79679bce 23-Jan-2014 Luka Perkov <luka@openwrt.org>

[package] base-files: add ucidef_add_switch_port function

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39372 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1f0ac410 17-Jan-2014 John Crispin <blogic@openwrt.org>

sysupgrade: do not kill any processes in failsafe

sysugrade killed the lock causing failsafe to stop

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39318 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3e44099b 14-Nov-2013 Gabor Juhos <juhosg@openwrt.org>

base-files: add macaddr_canonicalize helper function

In commit r38690, the MAC address canonicalization
has been converted to use 'tr' instead of 'printf'.
This only works if with MAC addresses which uses
the 'xx:xx:xx:xx:xx:xx' format.

However on some boards, the MAC addresses are stored
in different format in the mtd partition. Some vendors
are using hyphens or dots as separators instead of
colons. Also the leading zeroes may be missing from the
individual octets or those are replaced with spaces.

Add a new function which can be used to convert these
into the 'xx:xx:xx:xx:xx:xx' format. Also update the
'mtd_get_mac_ascii' function to use the new helper.

The helper function is based on this code:
http://isquared.nl/blog/2010/08/11/Bash-function-to-canonicalize-MAC-addresses/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38803 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a2f5118b 11-Nov-2013 Luka Perkov <luka@openwrt.org>

[package] base-files: don't enter failsafe if triggered by switch

Fixes failsafe issues with switches after r38725.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38770 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e3b2c641 07-Nov-2013 Gabor Juhos <juhosg@openwrt.org>

base-files: mtd_get_mac_ascii bugfix

The mtd_get_mac_ascii utility function was broken. This fixes it.

- Remove the superfluous include of /lib/functions.sh. The
function is already in that file so it is pointless,
- only use a variable if the whole key word matches,
- don't try to process the MAC address if it is empty,
- use 'tr' to canonicalize the MAC address,

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[juhosg: add more fixes, update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38690 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 176af6ba 31-Jul-2013 Jo-Philipp Wich <jow@openwrt.org>

base-files: implement -l (--list-backup) sysupgrade parameter to list the files that would be backed up

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37627 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7278ed62 31-Jul-2013 Jo-Philipp Wich <jow@openwrt.org>

base-files: abort sysupgrade if file specified with --restore-config is not found

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37624 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6578d45c 30-Jul-2013 Jo-Philipp Wich <jow@openwrt.org>

base-files: implement -T (--test) sysupgrade parameter to verify image without actually flashing it

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37620 3c298f89-4303-0410-b956-a3cf2f4a3e73


# c475e599 20-Jul-2013 Gabor Juhos <juhosg@openwrt.org>

base-files: add mtd_get_part_size helper

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37475 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3fdbe277 17-Jul-2013 Luka Perkov <luka@openwrt.org>

[package] base-files/busybox: move ntpd init script from base-files to busybox

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37383 3c298f89-4303-0410-b956-a3cf2f4a3e73


# dd3bdf16 21-Jun-2013 John Crispin <blogic@openwrt.org>

base-files: procd is now the init process

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36998 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 97520d98 21-Jun-2013 John Crispin <blogic@openwrt.org>

base-files: procd init is now the default, remove files.old

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36996 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f8cb31d2 11-Jun-2013 Steven Barth <steven@midlink.org>

base-files: remove unnecessary early sysctl-hack

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36920 3c298f89-4303-0410-b956-a3cf2f4a3e73


# eda68892 11-Jun-2013 Steven Barth <steven@midlink.org>

base-files: set default IPv6 forwarding value to 1

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36918 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e877c7b0 06-Jun-2013 Steven Barth <steven@midlink.org>

base-files: use less entropy when generating ULAs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36865 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 53b612f0 06-May-2013 Jo-Philipp Wich <jow@openwrt.org>

base-files: change network_find_wan() procedure to ignore default gateways in different routing tables

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36553 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 08fd7e46 25-Mar-2013 Jo-Philipp Wich <jow@openwrt.org>

package/base-files: change sysctl handling
Move /etc/init.d/sysctl to index 00 and add hotplug script that applies
interface specific sysctls for interfaces that only appear later - this
allows to reliably configure per-interface parameters in sysctl.conf, e.g.
to disable ipv6 autoconfig on a specific iface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36129 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8b867fc2 22-Mar-2013 Florian Fainelli <florian@openwrt.org>

base-files: also apply r36107 to files.old

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36112 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9cba62ed 22-Mar-2013 Florian Fainelli <florian@openwrt.org>

base-files: sysupgrade fail with eglibc

With eglibc, "ldd busybox" give us
libcrypt.so.1 => /lib/libcrypt.so.1 (0x774be000)
libm.so.6 => /lib/libm.so.6 (0x773e4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773c0000)
libc.so.6 => /lib/libc.so.6 (0x77276000)
/lib/ld.so.1 (0x774fe000)

Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root
libs() { ldd $* | awk '{print $3}'; }
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh

With uclibc the last line of "ldd busybox" is
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77ada000)

Don't know for musl!

This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone
The other way around is to rework libs()

Please apply the fix (mine or another) on trunk and AA
Might fix https://dev.openwrt.org/ticket/12273

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36107 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 47d1577f 13-Mar-2013 John Crispin <blogic@openwrt.org>

[base-files] make basefiles aware of procd

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36003 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9b24e8bb 18-Feb-2013 Gabor Juhos <juhosg@openwrt.org>

base-files: introduce commonly used helper functions for setting leds

Currently, most platforms define such helpers in their own diag.sh
implementation with almost identical code. By factoring out the
common ground it's possible to simplify maintainability and
homogenize the haptics over multiple platforms (so far as is
reasonably practicable, in a next step).

[juhosg:
- fix led_set_attr parameters in led_timer
- add led_morse and status_led_set_morse helpers
- add status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35648 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9dd34548 16-Feb-2013 Gabor Juhos <juhosg@openwrt.org>

base-files: add macaddr_{add,2bin,setbit_la} helpers

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35614 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 34fe9af0 16-Feb-2013 Gabor Juhos <juhosg@openwrt.org>

base-files: add mtd_get_mac_{ascii,binary} helpers

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35612 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9cfe2404 31-Jan-2013 Steven Barth <steven@midlink.org>

base-files: Fix IPv6 early sysctls again
* Kernel IPv6 /proc interface inconsistency caused races

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35417 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 581546b6 29-Jan-2013 Steven Barth <steven@midlink.org>

base-files: Fix race-conditions with IPv6 sysctls

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35368 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 0e5bdadc 28-Jan-2013 Steven Barth <steven@midlink.org>

base-files: remove IPv6-forwarding setting for all interfaces

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35344 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 18b07697 22-Jan-2013 Steven Barth <steven@midlink.org>

base-files: fix network_get_prefix6

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35300 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 96f6b6ad 22-Jan-2013 Steven Barth <steven@midlink.org>

base-files: Set default value for IPv6 forwarding

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35299 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 15eb7e1c 17-Jan-2013 Steven Barth <steven@midlink.org>

base-files: rename ULA generation script

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35204 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b04bf87a 15-Jan-2013 Steven Barth <steven@midlink.org>

base-files: add support for ipv6-prefixes in connection with netifd

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35168 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d16f38ce 11-Jan-2013 Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

[package] base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to hotplug2 (#12781)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35095 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 625d2318 27-Dec-2012 Steven Barth <steven@midlink.org>

base-files: Fix a typo in config_list_foreach

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34893 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d8c3a7ef 22-Dec-2012 Felix Fietkau <nbd@openwrt.org>

base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34866 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2e6a2872 17-Dec-2012 Jo-Philipp Wich <jow@openwrt.org>

base-files: use json_is_a() in network.sh

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34733 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b1c39b2c 16-Dec-2012 Jo-Philipp Wich <jow@openwrt.org>

base-files: various enhancements to network.sh

- support reading inactive gateways and DNS information in
network_get_gateway(), network_get_dnsserver() and network_get_dnssearch()
by passing "true" as optional last argument
- internally cache fetched values to speed up subsequent accesses to the same
data, introduce network_flush_cache() to clear them
- add some inline function documentation

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34722 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2a55c53a 25-Nov-2012 Gabor Juhos <juhosg@openwrt.org>

base-files: add support for the morse LED trigger

Write "delay" and "message" options to their respective files,
allowing Morse code message configuration through UCI.
The delay (dit length) defaults to 150ms (about 8 words per minute,
suitable for beginners).

Signed-off-by: Petr Viktorin <encukou@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34380 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 66fc4eb6 23-Nov-2012 Florian Fainelli <florian@openwrt.org>

[package] base-files: use a natural mount syntax

Busybox built against musl-libc will choke on these otherwise, besides that
it is more natural to use the filesystem type, then options, then name, then
mountpoint.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34308 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7a87fcf7 11-Oct-2012 Florian Fainelli <florian@openwrt.org>

[package] base-files: skip LEDs handled by rssileds in led init-script

Without this, /etc/init.d/led will try to set the non-existing 'rssi' trigger.
This doesn't harm as the kernel will refuse this setting, but it outputs some
ugly log-lines:
Jun 24 10:15:19 OpenWrt user.info sysinit: setting up led RSSILOW
Jun 24 10:15:19 OpenWrt user.info sysinit: sh: write error: Invalid argument
...

In order to avoid this, skip LEDs with trigger = "rssi" in /etc/init.d/led

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33717 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 96117d3d 19-Sep-2012 Florian Fainelli <florian@openwrt.org>

[package] base-files: release an attached loop device on umounting

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33477 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 365d9d06 17-Sep-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add uci-defaults script to migrate sysctl.conf (#12196)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33448 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b35dab34 12-Aug-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33147 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8c0856ac 10-Aug-2012 Florian Fainelli <florian@openwrt.org>

[buildroot] move LIB_SUFFIX from base-files to rules.mk

Some packages are going to need fixups based on LIB_SUFFIX

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33080 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 86c37ab5 09-Aug-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: fix option parsing of -F/--force parameter

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33075 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 11408fde 08-Aug-2012 Florian Fainelli <florian@openwrt.org>

[package] base-files: check for ldd presence and executability (#11991)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33057 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6800dfef 27-Jul-2012 Florian Fainelli <florian@openwrt.org>

[package] base-files: fix detection of standalone ldd

When standalone ldd is selected in config the binary is installed in /usr/bin/ldd.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32891 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 340bb8ff 26-Jun-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: allow wireless ifaces to be part of multiple networks

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32503 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5ee560d5 17-Jun-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: implement network_get_gateway(), network_get_gateway6(), network_find_wan() and network_find_wan6() in /lib/functions/network.sh

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32397 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 54e8a193 13-Jun-2012 Felix Fietkau <nbd@openwrt.org>

base-files: override Build/Compile/Default instead of Build/Compile (fixes #11667)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32339 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 72a78551 10-Jun-2012 Felix Fietkau <nbd@openwrt.org>

base-files: move all toolchain packages to a separate package directory 'toolchain'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32169 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 15c52a84 05-Jun-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add permission exceptions, do not clobber shadow permissions - based on patch by Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32073 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 63c50a17 05-Jun-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: ship a static initial shadow db instead of creating it from passwd with sed, this fixes registering of users at compile time

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32064 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4ea1d476 05-Jun-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: make user_add() populate the shadow db as well

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32063 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a15cc8b0 28-May-2012 Felix Fietkau <nbd@openwrt.org>

base-files: remove base-files-network, netifd is the only supported option now

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31980 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1ee066a4 27-May-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: introduce /lib/functions/network.sh
This file will contain common procedures to deal with network interfaces.
Initially provides network_get_ipaddr(), network_get_ipaddr6(),
network_get_subnet() and network_get_subnet6() to determine the
primary IP addresses or subnets of a given logical interface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31935 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 94b38ec0 14-May-2012 Felix Fietkau <nbd@openwrt.org>

enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 893dfb75 28-Apr-2012 Mirko Vogt <mirko@openwrt.org>

[package/*] remove special treatment when using glibc - support got dropped

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31504 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3b19d53e 28-Apr-2012 Mirko Vogt <mirko@openwrt.org>

[toolchain/glibc*] purge support for glibc - use eglibc instead!

for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f5d51997 27-Apr-2012 Florian Fainelli <florian@openwrt.org>

[package] base-files: fix typo in 05_firstboot_skip script (#11359)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31492 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 28595660 15-Apr-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: reformat banner to better work with varying version string lengths, do not set image options if menu is disabled (#11280)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31289 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5d7e7f9f 12-Apr-2012 Jo-Philipp Wich <jow@openwrt.org>

[buildroot] include, base-files, opkg: introduce version configuration to override the embedded version info of generated images
- Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build
- Introduce include/version.mk to provide common helpers for packages dealing with versions
- Make opkg use version.mk to populate the opkg.conf template
- Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner

The available placeholders are:
%D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt"
%d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt")
%N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment")
%n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment")
%V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262")
%v .. Like %V, but all characters made lowercase and spaces substituted with "_"
%C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge"
%c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge")
%U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages"
%R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c")
%T .. Replace with the current target (e.g. "ar71xx")
%S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le")


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31262 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b8a67c67 12-Apr-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: remove network preconfig, it collides with ar71xx network firstboot uci-defaults
To supply custom network settings, it is better to embed a complete network config file using the
files/ overlay, the old image lan preconfig options are also very limited in scope and actually collide
with sysupgrade and firstboot hardware detection on at least ar71xx and possibly other targets, therfore
drop this facility.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31258 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 0298468e 04-Mar-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: enable conntrack accounting in sysctl. It used to be a compile time option which got deprecated


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30805 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 48997d31 22-Jan-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add a uci-defaults script which will migrate the root password to /etc/shadow if needed


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29865 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b90053ea 19-Jan-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29806 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e99cd672 08-Jan-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: implement a --force option for sysupgrade to override image checks, useful to upgrade old ar71xx installations to current trunk ones


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29688 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 495ca478 31-Dec-2011 Gabor Juhos <juhosg@openwrt.org>

package/base-files: add support for the switch LED trigger

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29629 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ac4e4662 20-Dec-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add -b (--create-backup) option to sysupgrade, which generates a backup .tar.gz according to the user settings. This will also be reused by LuCI.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29587 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 00a17bc4 19-Nov-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: kill remaining processes after running user hooks (#10461)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29256 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8fc48ae2 17-Nov-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: another empty password check fix (#10440)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29208 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 0e9b267b 16-Nov-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: now that we have date -k, adjust the kernel timezone after setting up TZ and localtime


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29204 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 18290fc7 16-Nov-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: rewrite killing of nonessential services to not rely on top, use the proc filesystem only


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29187 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a0481cfb 14-Nov-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: prime root password with "x" to notify programs that there is a shadow record, fix /bin/login.sh password detection accordingly.
Solves broken key based dropbear login with empty password after r28935.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29130 3c298f89-4303-0410-b956-a3cf2f4a3e73


# c6af60f4 11-Nov-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: now that the initial password is completely empty (and not primed with "!") adjust login.sh for it to make telnetd available again


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28943 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 51ae2ccf 09-Nov-2011 Imre Kaloz <kaloz@openwrt.org>

enable and use shadow passwords by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28936 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ff9120ca 08-Nov-2011 Nicolas Thill <nico@openwrt.org>

package/base-files: enhance & cleanup service wrappers

* add service_check function for checking if a process is alive
* add service_signal for sending arbitrary signals to a process
* change service_stop to send a TERM signal first, wait for the process to die and send a KILL signal if it doen't
* have service_kill print a warning on STDERR stating it has been deprecated

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28865 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2df11b3c 08-Nov-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: do not assume that "top" is busybox' top, but try to call the applet explicitely


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28862 3c298f89-4303-0410-b956-a3cf2f4a3e73


# c0432f56 08-Nov-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: properly handle wifi ifaces with no network attached, useful for unmanaged interfaces like used for batman or monitoring


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28860 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e7340d0d 08-Nov-2011 Nicolas Thill <nico@openwrt.org>

package/base-files: move /etc/functions.sh to /lib/functions.sh


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28857 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 76be14c4 07-Nov-2011 Nicolas Thill <nico@openwrt.org>

package/base-files: use new service wrapper

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28835 3c298f89-4303-0410-b956-a3cf2f4a3e73


# c16e9c5a 03-Nov-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add some more protected services to sysupgrade kill blacklist


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28732 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1b7836ca 27-Oct-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: sysupgrade: kill all but essential processes before starting the update


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28626 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8c813ee5 27-Oct-2011 Gabor Juhos <juhosg@openwrt.org>

base-files/sysupgrade: add more busybox applet symlinks to ramdisk

Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk.
Also make code more readable by escaping that overly long line.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28616 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d7c90211 26-Oct-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: remove rdate integration, add busybox ntpd init script and server list in /etc/config/system
The rdate applet proved to be too unreliable to obtain the current time on boot:
- public time servers are rare and often unreachable or overloaded
- rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions
- the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations
- the time protocol as specified in RFC 868 is considered obsolete
This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly.
The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or
by clearing the timeserver list in /etc/config/system.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28612 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9117bb10 20-Oct-2011 Felix Fietkau <nbd@openwrt.org>

add an initial (experimental) version of netifd, disabled by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28499 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7b8a5396 20-Oct-2011 Felix Fietkau <nbd@openwrt.org>

base-files: move network related scripts to a separate package to make the transition to netifd easier

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1b26bdeb 11-Oct-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: introduce "igmp_snooping" option to toggle IGMP snooping on bridge interfaces


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28412 3c298f89-4303-0410-b956-a3cf2f4a3e73


# cb8a2621 25-Sep-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: use "zonename" system option to symlink /etc/localtime via /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28306 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ecf06687 23-Sep-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: make ip matching in dns add/remove functions more explicit, avoids overmatching pairs like 1.2.3.35 and 1.2.3.3


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28291 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d652a4b3 12-Aug-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: fix arp() procedure to properly detect /usr/bin/arp


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27965 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7b463936 25-Jul-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27776 3c298f89-4303-0410-b956-a3cf2f4a3e73


# eac5958f 21-Jul-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: attempt bring up related wifi devices when calling ifup
If a user invoked /sbin/ifup to bring up an interface, the setup used to fail
in case of wireless networks tied to a non-bridged interface definition.
Likewise, the bringup of "lan" in the default configuration will reinitialize
the bridge but do not re-join the wireless network to it, requiring an extra
call to /sbin/wifi (which might not be possible anymore due to a severed link
if connected wirelessly).

The changeset modifies the "ifup" command to search for related wireless
devices and call "wifi up" on them if applicable. This way the commands for
wireless and non-wireless interfaces are unified from a cli point of view.

The "ifup -a" case has not been changed to keep the logic of the
/etc/init.d/network boot sequence. This might be changed later.

Solves #9763.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27720 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e2bee034 17-Jul-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: implement a generic mechanism to map per-interface sysctls to uci.
- option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz
- option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz
This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan.
Fixes ticket #8699.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27653 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 68e0aebc 17-Jul-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add -h and --help options to sysupgrade (#9728)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27630 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ada59a09 15-Jul-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars (#9711)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 52d27d6a 02-Jul-2011 Felix Fietkau <nbd@openwrt.org>

base-files: do not use the relinked libgcc, fixes c++ exception handling issues (#9185)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27347 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5945c8a2 23-Jun-2011 Jo-Philipp Wich <jow@openwrt.org>

[toolchain] add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27262 3c298f89-4303-0410-b956-a3cf2f4a3e73


# bc2ded86 08-Jun-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: if an ip6addr without a prefix is given, assume /128 - otherwise the busybox utilities will interpret it as /0 and create an invalid default route


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27145 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d399f3a1 07-Jun-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: fix error reporting for unsupported protocols on virtual interfaces


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27132 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6dd63c32 24-May-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: mark /etc/crontabs/ as config directory


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26986 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d68b4d1b 18-May-2011 Jo-Philipp Wich <jow@openwrt.org>

[PATCH] ipcalc.sh CIDR notation
Hi,

the attached patch makes ipcalc.sh accept IP/Netmask combinations in
CIDR notation. Before you could only do:

# sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11

with this patch you can also execute it with:

sh ipcalc.sh 192.168.0.0/24 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11

The patch is based on #1260 [1], i just changed one line to calculate
the START end END ips right. I wonder why that never got included. If
there is no reason not to do i would like to ask you to commit that
patch, because its a functionality i (and probably others) miss quite often.

Btw, i also fixed 4 useless tabs, that might look a bit strange in the
patch.

Regards, Manuel


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26930 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9906022f 08-May-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others (#9352)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4b804f3a 19-Apr-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: fix stale space in eglibc library install section (#9270)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26720 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 42734ccc 12-Apr-2011 Jo-Philipp Wich <jow@openwrt.org>

base-files: return success on lib-copying with external toolchain
when using an external toolchain the base-files package copies libc, libgcc and
others from the library directory.

The file list is given as following in the .config:
CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"

Because the filenames are composed with different endings, not all files exist
and will be skipped. Currently, this works only if the last composed file
(util.so.*) really exists. At the moment this works - but only if you don't add
a new file like 'uClibc'.

Adding it at the end '...resolv,util,uClibc}{-*.so,.so.*}' will lead to this
message, because the combination 'libuClibc.so.*' doesn't exist and Make will
evaluate the last copy statement of the for loop.

--- Message Snippet ---
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libnss_files.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv-*.so': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libuClibc.so.*': No such file or directory
make[2]: *** [/home/user/Desktop/code/meetwise/openwrt/bin/at91/packages/libc_-68_at91.ipk] Error 1
make[2]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt/package/base-files'
make[1]: *** [package/base-files/compile] Error 2
make[1]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt'
make: *** [package/base-files/compile] Error 2
--- /Message Snippet/ ---

To fix this unwanted behaviour I added an extra 'exit 0' to each for-loop and
make ignores non-existing files as before.

Signed-off-by: Sven Bachmann <dev@mcbachmann.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26623 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 684272ac 18-Mar-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: properly handle vlans on top of wireless interfaces


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26230 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a99ab5f0 17-Mar-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: update sysctl.conf for modern kernels


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26204 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4715bfd6 14-Mar-2011 Felix Fietkau <nbd@openwrt.org>

base-files: link libpthread against libc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26161 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4a02a196 09-Mar-2011 Felix Fietkau <nbd@openwrt.org>

base-files: make library relinking uclibc specific and fix libpthread installation for the non-relinked variant

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26003 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7905f8b2 09-Mar-2011 Felix Fietkau <nbd@openwrt.org>

base-files: only relink libraries if the linaro toolchain is selected

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25983 3c298f89-4303-0410-b956-a3cf2f4a3e73


# c4746046 08-Mar-2011 Felix Fietkau <nbd@openwrt.org>

gcc: move the optimized assembler helpers back into the static libgcc and skip relinking for this arch. due to relocation constraints, the assembler functions cannot be in the shared libgcc and must always be linked in statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25952 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 99f5adbf 07-Mar-2011 Felix Fietkau <nbd@openwrt.org>

base-files: the relinked libpthread needs to be linked against libdl, otherwise calls to dlopen() fail (fixes #8978)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25950 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 00392a05 06-Mar-2011 Felix Fietkau <nbd@openwrt.org>

base-files: fix Build/Compile override handling, fixes ar7 compile

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25911 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2c828301 03-Mar-2011 Felix Fietkau <nbd@openwrt.org>

base-files: do not build or use libgcc on m68k and avr32

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25852 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ee7fa78b 28-Feb-2011 Felix Fietkau <nbd@openwrt.org>

base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc
saves a few kb and gets rid of unused not exported functions as well
should also improve the reliability of mklibs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25800 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3156ceea 18-Feb-2011 Hamish Guthrie <hcg@openwrt.org>

[package] base-files: Add /etc/nsswitch.conf to targets running glibc/eglibc, otherwise name resolution fails


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25568 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a903f8ca 15-Feb-2011 Felix Fietkau <nbd@openwrt.org>

base-files: librt should depend on libpthread, not the other way around

In uClibc 0.9.32 as well as recent versions of glibc and eglibc, librt
depends on libpthread.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25548 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ff1a0f63 12-Feb-2011 Felix Fietkau <nbd@openwrt.org>

remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25511 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 109a1bfd 10-Feb-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files:
- properly disable IPv6 on bridge ports
- introduce accept_ra option, defaults to true for dhcp interfaces, false for others
- introduce send_rs option, defaults to true for static interfaces, false for others


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25454 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1ea84ee9 04-Feb-2011 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: remove remaining conffiles reference to /etc/banner


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25368 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4215ce81 26-Jan-2011 Gabor Juhos <juhosg@openwrt.org>

package/base-files: add get_magic_long() to common upgrade script

Patch-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25117 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d3330722 18-Jan-2011 Daniel Dickinson <daniel@cshore.neomailbox.net>

[package] base-files: Fix typo in option name for disabling failsafe announcment
Thanks to Andrey Zholos for this patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25040 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5e8229e8 22-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: implement "reqopts" parameter for dhcp interfaces to specify additional dhcp options to request


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24780 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 688facd0 17-Dec-2010 Gabor Juhos <juhosg@openwrt.org>

base-files: add support for the usbdev LED trigger

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24647 3c298f89-4303-0410-b956-a3cf2f4a3e73


# bceed84c 05-Dec-2010 Florian Fainelli <florian@openwrt.org>

[package] adds a --help option to /sbin/wifi

Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24258 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5689b649 17-Nov-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-file: add metric option for static and dhcp protos, this simplifies the management of multiple default routes


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24020 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 411c1fe6 11-Nov-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: mark libc as hold and essential, opkg should now bail out if someone tries to uninstall libc


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23960 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d1fba1a1 23-Oct-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: mark /etc/shadow as conffile


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23590 3c298f89-4303-0410-b956-a3cf2f4a3e73


# dd4c16c3 06-Oct-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add udhcpc vendorid option (#7744)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23279 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2daa3768 05-Oct-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: mark /etc/sysupgrade.conf as conffile


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23264 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a81762a0 05-Oct-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files:
- add sysupgrade support for keepfile hints
* introduces /lib/upgrade/keep.d/ for per-package keepfile lists
* introduces /etc/sysupgrade.conf for user defined keepfile hints
- prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg
- change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and
opkg list-changed-conffiles


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23258 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3784ca2d 05-Oct-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23233 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 0823de35 05-Oct-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: mark /etc/rc.local as conffile


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23232 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 54a02791 03-Oct-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: utilize uci_get_state to read the previous dhcp router address in udhcpc default script.
The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses
udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the
cached state vars and query uci directly to make the script immune against unwanted runtime changes.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23211 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6dcd1978 19-Sep-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: bump pkg revision after r23091, r23092


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23093 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 177c6e6e 19-Sep-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23087 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a5bd37b0 07-Sep-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22977 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 560be77d 05-Sep-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: make build dependant on opkg/host


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22948 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f1f392ab 18-Aug-2010 Felix Fietkau <nbd@openwrt.org>

toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 65d6e285 13-Aug-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files, uci: properly revert list state on config_load
This fixes a bug where lists end up with duplicate values if config_load was
invoked multiple times.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22629 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2f4e4586 24-Jul-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: unconditionally unlock the rootfs_data partition (#7437)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22377 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a7fda91e 30-Jun-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add "mtu" option for route sections, allows setting per-route mtu values


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22003 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 19811896 12-Jun-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: enable IPv6 forwarding by default since the default firewall supports ip6tables now


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21766 3c298f89-4303-0410-b956-a3cf2f4a3e73


# cde4aa7a 01-Jun-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21652 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d156518f 30-May-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files:
- use add_dns() and remove_dns() for when changing resolv.conf.auto for static or dhcp interfaces
- force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces
- revert dns servers in /sbin/ifdown
- bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21638 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9d9ee7c9 27-May-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net hotplug handler to match them


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21591 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 423ba97e 27-May-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: respect .auto option when running coldplug_interface_*() hooks on boot


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21588 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 049f57ea 17-May-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files (#7316)
- improve rdate reliability
- make rdate config more ntp like
- move time server list to /etc/config/timeserver
- bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21495 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8933b2fa 01-May-2010 Nicolas Thill <nico@openwrt.org>

package/base-files: fix libraries packaging on 64bits targets (closes: #6918)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21282 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 0312bccd 15-Apr-2010 Nicolas Thill <nico@openwrt.org>

package/base-files: fix typo in r20874 (thanks to rhk for spotting it)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20878 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 40eb7472 15-Apr-2010 Nicolas Thill <nico@openwrt.org>

package/base-files: use a single $(CP) instead of two to copy shared library files


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20874 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9965c7f2 03-Apr-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: also regenerate wifi config if existing config contains only whitespace


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20669 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 596c2ea8 27-Mar-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add a hotplug handler for rdate


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20518 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6e84b166 21-Mar-2010 Florian Fainelli <florian@openwrt.org>

change from /jffs to /overlay, patch from Daniel Dickinson

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 87028083 12-Mar-2010 Gabor Juhos <juhosg@openwrt.org>

package/base-files: call preinit_ip_deconfig before processing init on
initramfs images


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20159 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8f103736 11-Feb-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19597 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6da72b8e 05-Feb-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: fix udhcpc address acquisition on network restart (patch by Scott Dudley)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19530 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1e586bc7 26-Jan-2010 Gabor Juhos <juhosg@openwrt.org>

base-files: don't build '00_preinit.conf' if CONFIG_PREINITOPT is not selected

Also, use the default pi_broadcast address if it is not specified


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19346 3c298f89-4303-0410-b956-a3cf2f4a3e73


# fd4ddfd2 25-Jan-2010 Felix Fietkau <nbd@openwrt.org>

add preinit modularization work by Daniel Dickinson (cshore)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 03080667 17-Jan-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: disable bridge firewalling by default


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19214 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 35f17d4c 16-Jan-2010 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files:
sysupgade library coomon.sh has "bug" in glibc enviorement. For some reason
ld-linux.so.3 is not installed at ramfs and sysupgrade always fails.
Signed-off-by: Zintis Petersons <zintis.petersons@e-mail.lv>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19167 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7255912a 18-Dec-2009 Nicolas Thill <nico@openwrt.org>

[package] base-files: check for libpthread_so.a instead of libc_so.a (some gcc/libc combinations don't provide a libpthread_so.a matching libc_so.a)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18810 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8151a5f6 20-Nov-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18455 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 602b6767 11-Nov-2009 Imre Kaloz <kaloz@openwrt.org>

neither avr32 or coldfire has a shared libgcc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18402 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 020508d5 20-Oct-2009 Felix Fietkau <nbd@openwrt.org>

do not relink libresolv, it makes iproute2 barf

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18111 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 796f3455 20-Oct-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: only try to execute watchdog if binary is present


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18102 3c298f89-4303-0410-b956-a3cf2f4a3e73


# fd2da776 20-Oct-2009 Felix Fietkau <nbd@openwrt.org>

fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18090 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f0f6a06c 20-Oct-2009 Felix Fietkau <nbd@openwrt.org>

install the right version of libgcc along with its version map to fix relinking issues with mklibs, attempt to relink only if the version map is actually present

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18089 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f98321a8 28-Sep-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: add hotplug rules for /dev/lpX (#863)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17792 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 801e4e6c 24-Sep-2009 Felix Fietkau <nbd@openwrt.org>

base-files: add libgcc dependency to libc (#5262)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17714 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f9f42992 22-Sep-2009 Nicolas Thill <nico@openwrt.org>

[toolchain] add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17682 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f3e31ff7 19-Sep-2009 Felix Fietkau <nbd@openwrt.org>

base-files: fix conffiles entry check (patch from #2425)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17618 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7c738992 16-Sep-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: clear ip addresses on interfaces that are about to be added to a bridge


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17596 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 309c36fa 14-Sep-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: dispatch ifdown events for proto=none interfaces and fix a race condition between revert state and hotplug handlers


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17582 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 78c7c7e0 11-Sep-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17571 3c298f89-4303-0410-b956-a3cf2f4a3e73


# fd376111 10-Sep-2009 Andy Boyett <agb@openwrt.org>

[package] bump some revisions and update copyrights

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ca14804c 05-Sep-2009 Gabor Juhos <juhosg@openwrt.org>

package/base-files: set state to 'preinit' before preinit.arch is used, and set state to 'failsafe' when entering failsafe mode

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17517 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d28bd2e3 29-Aug-2009 Felix Fietkau <nbd@openwrt.org>

uclibc: to rebuild libc.so.0, mklibs.py needs access to libc_so.a which was not exported by default. use it instead of libc_pic.a

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17438 3c298f89-4303-0410-b956-a3cf2f4a3e73


# dd9b53b7 28-Aug-2009 Felix Fietkau <nbd@openwrt.org>

allow mklibs.py to optimize libgcc_s.so.1

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17437 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 50c31099 20-Aug-2009 Felix Fietkau <nbd@openwrt.org>

now that each target has its own package directory, remove the base-files package renaming hack

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17330 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b5700ad6 10-Aug-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: move ipv6 module loading from setup_interface() to addif() in the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17217 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ecd9b3f9 07-Aug-2009 Felix Fietkau <nbd@openwrt.org>

install static libraries from uclibc to the rootfs staging dir

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17169 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3f566a61 03-Aug-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: ensure that ipv6 is loaded if interfaces have an ip6addr defined, clean trailing whitespace, bump pkg revision (#5356)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17118 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3f425ace 01-Aug-2009 Florian Fainelli <florian@openwrt.org>

[package] prevent rebuild issues on creation of lib64 with 64-bits targets

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17072 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 48d5c2e8 02-Jul-2009 Andy Boyett <agb@openwrt.org>

[package] base-files: explicitly create /etc/rc.d/, fixes ImageBuilder when using git instead of svn

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16652 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 0609b66c 21-Jun-2009 Imre Kaloz <kaloz@openwrt.org>

add preliminary coldfire v4e support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16538 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1cd6c8a2 17-Jun-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if standard reboot fails


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16488 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ab1592ee 30-May-2009 Gabor Juhos <juhosg@openwrt.org>

[package] base-files: set rules file for hotplug2 in the boot script (closes #5235)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16215 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 02b789b1 28-May-2009 Gabor Juhos <juhosg@openwrt.org>

[package] base-files: update command line for the new hotplug2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16154 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3aa54b12 23-May-2009 Felix Fietkau <nbd@openwrt.org>

fix mips64el base-files compile

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16018 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 55317e85 14-May-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] sysupgrade: use sysrq-trigger if available


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15865 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9e015c39 07-May-2009 Florian Fainelli <florian@openwrt.org>

[package] create the lib64 symbolic links for 64-bits supported architectures (#5075)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15698 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4d2c788c 03-May-2009 Hamish Guthrie <hcg@openwrt.org>

base-files: Add additional base-files search paths


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15583 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 07f45e3a 27-Apr-2009 Nicolas Thill <nico@openwrt.org>

introduce a generic PKG_CONFIG_DEPENDS for packages that need to be reconfigured when certain CONFIG options changed, rename PKG_BUILD_DEPEND to PKG_BUILD_DEPENDS


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15451 3c298f89-4303-0410-b956-a3cf2f4a3e73


# da31c0be 23-Apr-2009 Nicolas Thill <nico@openwrt.org>

[toolchain] uClibc cleanup:
- use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1)
- remove support for 0.9.28 and snapshots (building from SVN to be added later)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15368 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5bdd8661 17-Apr-2009 Felix Fietkau <nbd@openwrt.org>

get rid of $Id$ - it has never helped us and it has broken too many patches ;)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f25cd709 14-Apr-2009 Nicolas Thill <nico@openwrt.org>

move ldconfig & ldd to utils section


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15228 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 84191e72 12-Apr-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: remove redundant netmask handling in 10-routes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15219 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3388d3d2 25-Mar-2009 Jo-Philipp Wich <jow@openwrt.org>

[package]
- fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this
- fix possible regression with different interface protocols
- bump PKG_RELEASE


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15042 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f7f48a6d 23-Mar-2009 Felix Fietkau <nbd@openwrt.org>

add uclibc 0.9.30.1

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15000 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a53587df 07-Mar-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] sysupgrade: install /bin/sleep into ramdisk too and add completition notice (#4747)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14784 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a811c29c 18-Feb-2009 Jo-Philipp Wich <jow@openwrt.org>

[package] base-files: allow option dns to override dhcp assigned dns servers


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14562 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 340f0c5a 26-Jan-2009 Felix Fietkau <nbd@openwrt.org>

fix handling of eglibc config options for packaging

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14210 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e12489a3 12-Jan-2009 Felix Fietkau <nbd@openwrt.org>

add support for an optional staging directory for debug binaries

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14018 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3b75e47f 07-Jan-2009 Nicolas Thill <nico@openwrt.org>

[massive] add support for alternative C libraries (currently only glibc/eglibc)
other (related) changes:
- kernel headers are now installed using "make headers_install" on 2.6
- target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu)
- build directory names now contain gcc/libc name/version
- default cpu for x86 is now i486 (required to build glibc/eglibc)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 42e5c4f0 06-Jan-2009 Jo-Philipp Wich <jow@openwrt.org>

package/base-files: fix chmod of /tmp/.uci, bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13903 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 151e22fe 21-Nov-2008 Nicolas Thill <nico@openwrt.org>

clean NATIVE_TOOLCHAIN dependencies


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13314 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e176f409 29-Sep-2008 Peter Denison <openwrt@marshadder.org>

Allow dropbear to use shadow passwords, and correct base-files generation of
/etc/shadow

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12809 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 55722b97 16-Aug-2008 Travis Kemen <thepeople@openwrt.org>

make opkg the default package manager, disable busybox ipkg from building by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12319 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5cee680b 30-Jul-2008 John Crispin <blogic@openwrt.org>

creates a passwd's shadow file if busybox supports the feature, fixes #2887

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12017 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 0ae9727f 29-Jul-2008 Florian Fainelli <florian@openwrt.org>

Disable smash stacking support by default, but allow to enable it as an experimental feature


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12010 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 57baa8b5 28-Jul-2008 Nicolas Thill <nico@openwrt.org>

fix libraries packaging for uml on x86_64


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11970 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e9f32f86 11-Jun-2008 John Crispin <blogic@openwrt.org>

system now knows which timezone it is in

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9925b900 20-May-2008 Matteo Croce <matteo@openwrt.org>

create /etc/fstab on boot (closes #3458)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11225 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9bdc6b6c 16-May-2008 Rod Whitby <rod@whitby.id.au>

base-files: Update /etc/init.d/fstab with new location of swapon and swapoff (they moved from /sbin to /usr/sbin)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11157 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f57b5fff 22-Dec-2007 Felix Fietkau <nbd@openwrt.org>

fix typo


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9871 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4b4bb606 22-Dec-2007 Felix Fietkau <nbd@openwrt.org>

add profile specific base-files packages - does not work with the imagebuilder yet, but will be fixed later


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9870 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 00c20e16 14-Dec-2007 Gabor Juhos <juhosg@openwrt.org>

[package] base-files: fix revision number in 'etc/banner'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9755 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d42667f8 12-Dec-2007 Felix Fietkau <nbd@openwrt.org>

clean up openwrt version handling, use a separate script that is executed at the beginning of the build process, fix revision checking with git


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9723 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6f64a83a 30-Sep-2007 Felix Fietkau <nbd@openwrt.org>

fix path to the snapshot packages (snapshot build/upload needs to be fixed as well)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9083 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9233c3cd 29-Sep-2007 Gabor Juhos <juhosg@openwrt.org>

get rid of per-profile base-files

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9069 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b0831189 22-Sep-2007 Rod Whitby <rod@whitby.id.au>

base-files: Added support for swap configuration in /etc/config/fstab

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8947 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4c56c3a0 21-Sep-2007 Rod Whitby <rod@whitby.id.au>

Added support for /etc/default/fstab - a means of automatically mounting devices on boot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8916 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2c41016d 19-Sep-2007 John Crispin <blogic@openwrt.org>

made HOME=/root global instead of x86 specific

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8845 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 11925380 16-Sep-2007 Florian Fainelli <florian@openwrt.org>

Revert the InstallDev section, was only there testing


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8787 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 32ba50b7 16-Sep-2007 Florian Fainelli <florian@openwrt.org>

Put back ldd and ldconfig (#1543)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8786 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6bcd07af 08-Sep-2007 Felix Fietkau <nbd@openwrt.org>

major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6ad5c919 07-Sep-2007 Felix Fietkau <nbd@openwrt.org>

bump package versions after updates

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2180fa92 07-Sep-2007 Nicolas Thill <nico@openwrt.org>

move package description to a separate definition, remove it when DESCRIPTION=TITLE


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 92558d67 06-Sep-2007 Felix Fietkau <nbd@openwrt.org>

strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 43bb58ea 03-Sep-2007 Nicolas Thill <nico@openwrt.org>

package Makefile cleanup: remove uneeded vars


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8587 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d10a56dc 06-Aug-2007 Felix Fietkau <nbd@openwrt.org>

build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8eb5db24 18-Jul-2007 Florian Fainelli <florian@openwrt.org>

libgcc is not available with host-toolchain, DEPENDS was overriden with the avr32 condition


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8038 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ce860d9d 09-Jul-2007 Felix Fietkau <nbd@openwrt.org>

add second package source for packages built from the /packages repository
fix up first package source (should be release, not snapshots on 7.07)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7897 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 68f656ee 12-Jun-2007 Florian Fainelli <florian@openwrt.org>

Package libstdc++ (#1883)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7581 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 15a51103 08-Jun-2007 Imre Kaloz <kaloz@openwrt.org>

add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2dcaf582 26-Apr-2007 Felix Fietkau <nbd@openwrt.org>

Small bugfix for dependency handling - mostly for base-files and symlinks


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7058 3c298f89-4303-0410-b956-a3cf2f4a3e73


# cd3c2a39 23-Apr-2007 Felix Fietkau <nbd@openwrt.org>

use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7043 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1dcc8cbb 22-Apr-2007 Florian Fainelli <florian@openwrt.org>

Create /lib/firmware


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7033 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d959efc2 04-Apr-2007 Florian Fainelli <florian@openwrt.org>

Remove ldd/ldconfig for the moment (#1551)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6866 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 29f0b448 03-Apr-2007 Florian Fainelli <florian@openwrt.org>

Add ldd and ldconfig support, template packages derived from gcc and uclibc


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6856 3c298f89-4303-0410-b956-a3cf2f4a3e73


# cd35305e 16-Mar-2007 Felix Fietkau <nbd@openwrt.org>

fix default netmask

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6589 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 872df602 16-Mar-2007 Felix Fietkau <nbd@openwrt.org>

package libssp for apps that need it (only enabled for gcc4)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6584 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 95d20db0 03-Mar-2007 Felix Fietkau <nbd@openwrt.org>

add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3249931b 02-Mar-2007 Tim Yardley <lst@openwrt.org>

commit profile support for base-files... patches still need to be done

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6465 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 18de319d 01-Mar-2007 Felix Fietkau <nbd@openwrt.org>

make squashfs overlay support more generic and integrate it for x86-2.6

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b2e87f29 12-Jan-2007 Felix Fietkau <nbd@openwrt.org>

Fix the annoying base-files autorebuild bug.
When checking file mtimes in directories, timestamp.pl was following symlinks.
This broke on base-files, because there are symlinks to /tmp and to /proc/mounts in the build directory.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6084 3c298f89-4303-0410-b956-a3cf2f4a3e73


# bd078bad 08-Jan-2007 Felix Fietkau <nbd@openwrt.org>

Forward port whiterussian resolv.conf changes
/etc/resolv.conf links to /tmp/resolv.conf
/tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in)
When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5a325930 22-Nov-2006 Felix Fietkau <nbd@openwrt.org>

replace lots of manual install commands with INSTALL_* variables

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73


# fbef19a7 22-Nov-2006 Felix Fietkau <nbd@openwrt.org>

rename default/ to files/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 0cbe7236 22-Nov-2006 Felix Fietkau <nbd@openwrt.org>

move platform specific base-files into target/linux/<targetname>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5621 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 768b48f3 11-Nov-2006 Felix Fietkau <nbd@openwrt.org>

implement target profiles in menuconfig

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b29914db 11-Nov-2006 Felix Fietkau <nbd@openwrt.org>

fix jffs2root compile

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5500 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f487e44b 03-Nov-2006 Felix Fietkau <nbd@openwrt.org>

rename the <boardname>-<kernelversion> directories of base-files to just <boardname>, so that the broadcom stuff can share files across kernel versions. adding back <boardname>-<kernelversion> for version specific overrides is still possible

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5427 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f7346951 04-Oct-2006 Felix Fietkau <nbd@openwrt.org>

move arch specific base-files install call to the end of the generic one - fixes wrong /etc/config/network

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4914 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ecb6c4b5 24-Sep-2006 Nicolas Thill <nico@openwrt.org>

new (last?) attempt at standardizing Makefiles


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3b866fdd 04-Sep-2006 Felix Fietkau <nbd@openwrt.org>

remove default network config for brcm

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4752 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 92167e10 10-Aug-2006 Mike Baker <mbm@openwrt.org>

add secret option to use host's toolchain when native compiling


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4553 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d030852b 29-Jul-2006 Felix Fietkau <nbd@openwrt.org>

add support for per-package prereq checks, run global prereq checks before (menu-)config

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4318 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f15e613e 25-Jul-2006 Felix Fietkau <nbd@openwrt.org>

use 127.0.0.1 as dns server and point dnsmasq to /tmp/resolv.conf

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4282 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 559a8aec 10-Jul-2006 Mike Baker <mbm@openwrt.org>

cleanup of [4123]


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4125 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7aa6d19e 10-Jul-2006 Mike Baker <mbm@openwrt.org>

add a new FORCEREBUILD option to Package/<name> to force a package to be rebuilt each time make is run


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4123 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f722b999 02-Jul-2006 Nicolas Thill <nico@openwrt.org>

move libpthread in since it's part of uclibc, standardize Makefile.


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4105 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f9e5c1b1 26-Jun-2006 Mike Baker <mbm@openwrt.org>

credit where credit is due


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4cd3d1fa 22-Jun-2006 Mike Baker <mbm@openwrt.org>

.pkginfo cleanup #2


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4053 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 24cf5352 20-Jun-2006 Felix Fietkau <nbd@openwrt.org>

add INCLUDE_DIR variable for $(TOPDIR)/include

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 08cbdbc1 20-Jun-2006 Felix Fietkau <nbd@openwrt.org>

build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73


# c12c40f4 18-Jun-2006 Nicolas Thill <nico@openwrt.org>

normalize Makefiles.


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3998 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ffc26a52 18-Jun-2006 Felix Fietkau <nbd@openwrt.org>

add conffiles for base-files

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3986 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3496b228 13-Jun-2006 Felix Fietkau <nbd@openwrt.org>

remove libgcc hack

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3943 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 735af968 02-Jun-2006 Felix Fietkau <nbd@openwrt.org>

fix a typo that prevents base-files from being installed

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3894 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8169e62b 01-Jun-2006 Felix Fietkau <nbd@openwrt.org>

fix base-files version number

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3888 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2f06ccc9 31-May-2006 Felix Fietkau <nbd@openwrt.org>

kernel package cleanup, move madwifi from target/linux/package/ to package/, update to 0.9.0

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3860 3c298f89-4303-0410-b956-a3cf2f4a3e73


# bab43e32 31-May-2006 Felix Fietkau <nbd@openwrt.org>

cleanup; change base-files build directory

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3858 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9b305384 30-May-2006 Felix Fietkau <nbd@openwrt.org>

allow building of kernel-specific stuff in package/ instead of target/linux/package/ and merge target/linux/package/base-files into package/base-files

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3855 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 57061ab0 31-May-2006 Nicolas Thill <nico@openwrt.org>

fix base-files packages build.


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3852 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8c0cd2a8 30-May-2006 Felix Fietkau <nbd@openwrt.org>

convert base-files to new format

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3849 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ad146e3f 15-May-2006 Mike Baker <mbm@openwrt.org>

more BR2_ / CONFIG_ patches


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3784 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e1b417ee 04-Apr-2006 Felix Fietkau <nbd@openwrt.org>

large init script cleanup and merge of whiterussian changes, new dnsmasq config handling

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3588 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 72d045c6 31-Mar-2006 Mike Baker <mbm@openwrt.org>

link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3561 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e0af0a4e 01-Feb-2006 Mike Baker <mbm@openwrt.org>

change cp to $(CP)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a5d9d02c 01-Feb-2006 Mike Baker <mbm@openwrt.org>

move sysfs to mount_root


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3107 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 35d944fc 20-Jan-2006 Waldemar Brodkorb <wbx@openwrt.org>

build libgcc when selected as builtin, fix from Ge0rG via irc.freenode.net, thx

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3027 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 13b12c06 04-Jan-2006 Waldemar Brodkorb <wbx@openwrt.org>

patch for spec file of gcc 3.4.4, so that libgss library is not
automatically linked into every binary. explicitely link it into needed
packages (kismet, nmap, samba) and add dependencies.
idea and patch from sven-ola, thx. Saves 16 kb in the default squashfs
images.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2817 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e9d1bf5d 24-Dec-2005 Waldemar Brodkorb <wbx@openwrt.org>

change ipkg.conf to use snapshots

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2765 3c298f89-4303-0410-b956-a3cf2f4a3e73


# eee335e3 27-Nov-2005 Nicolas Thill <nico@openwrt.org>

don't use locales when retrieving subversion release number (closes: #54)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2557 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9722bc08 07-Nov-2005 Felix Fietkau <nbd@openwrt.org>

more cosmetic makefile fixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2387 3c298f89-4303-0410-b956-a3cf2f4a3e73


# be5c7d2d 06-Nov-2005 Felix Fietkau <nbd@openwrt.org>

add hotplug stuff to trunk/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2364 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 222d3c63 01-Nov-2005 Nicolas Thill <nico@openwrt.org>

backport base-files fix from whiterussian [2308],
sanitize variable names

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2313 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e0524344 23-Oct-2005 Felix Fietkau <nbd@openwrt.org>

set base-files version number back to 4

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2286 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d6b2f37c 23-Oct-2005 Imre Kaloz <kaloz@openwrt.org>

turn tcp vegas on by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2282 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e3c6fbd8 22-Oct-2005 Felix Fietkau <nbd@openwrt.org>

add base-files change from whiterussian

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2257 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5c474e33 22-Oct-2005 Felix Fietkau <nbd@openwrt.org>

add svn revision to /etc/banner

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2246 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8b8c9d4d 21-Oct-2005 Felix Fietkau <nbd@openwrt.org>

lots of small package changes and dependency cleanups for the V= stuff

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2230 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b4466422 27-Aug-2005 Felix Fietkau <nbd@openwrt.org>

move hotplug script into an extra package so that it doesn't conflict with nas


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1772 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ae11850a 15-Aug-2005 Felix Fietkau <nbd@openwrt.org>

add fixes from whiterussian


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1683 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5c688781 14-Aug-2005 Nicolas Thill <nico@openwrt.org>

add changes from whiterussian


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1665 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8304dfda 24-Jul-2005 Felix Fietkau <nbd@openwrt.org>

move wificonf and nvram stuff back to package/, remove build_mipsel/root, run install part of package/ for every board/kernel - fixes dependency mess


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1540 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 70b54787 18-Jul-2005 Felix Fietkau <nbd@openwrt.org>

fix base-files build


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1500 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6a0c7478 17-Jul-2005 Felix Fietkau <nbd@openwrt.org>

move target/default/target_skeleton into package/base-files, put all the default files in ipkg packages, cleanup some junk in toolchain/, toolchain/ no longer changes build_mipsel/root


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1494 3c298f89-4303-0410-b956-a3cf2f4a3e73