Commit Graph

68 Commits (b0a5eaf248a52ece3359cd8ab1748ad98841cc6d)

Author SHA1 Message Date
Imre Kaloz f9060eb6b0 [toolchain]: get rid of gcc 4.1.2 and 4.2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:24:38 +00:00
Jo-Philipp Wich 9325496904 [package] uci: use latest git, fixes reorder operation and incorperates nested delete patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-19 20:48:07 +00:00
Jo-Philipp Wich d26484d8f6 [package] uci: use a delete-safe iterator in the Lua :foreach() function
The following test case exposed a NULL pointer dereference in uci_lua_foreach():
  lua -luci -e 'x=uci.cursor(); x:foreach("firewall", "forwarding", function(s) x:delete("firewall", s[".name"]) end)'


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-01 00:20:00 +00:00
Felix Fietkau d14a12a3e2 uci: update to 2010-09-28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 00:14:30 +00:00
Jo-Philipp Wich 65d6e285f1 [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
2010-08-14 00:45:15 +00:00
Lars-Peter Clausen b9a0bcf6b5 [package] uci: Install ucimap.h into the staging dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 19:37:09 +00:00
Jo-Philipp Wich be9b46b6ed [package] uci: bump pkg release after r21489-r21494 (#7312)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-21 20:35:39 +00:00
Jo-Philipp Wich 7bccce5b42 [package] uci: revert pkg rev to 5 until updated sources are available (#7351)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-20 07:04:32 +00:00
Jo-Philipp Wich 4dac8cf817 [package] uci: bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 19:39:08 +00:00
Jo-Philipp Wich 11096c0963 [package] uci: add uci_get() and uci_get_state() wrappers to shell api (#7312)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 19:31:05 +00:00
Travis Kemen 3e93541643 [uci] bump to the lastest git commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 01:28:52 +00:00
Felix Fietkau b940bc10ab uci: allow shell scripts to override the config dir (patch by cshore)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-27 04:59:14 +00:00
Felix Fietkau e218149d72 uci: only use $(FPIC) on library parts, saves a few hundred bytes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 08:26:39 +00:00
Felix Fietkau 2d4fd7b41d fix a typo in apply_config -t
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-04 00:43:55 +00:00
Felix Fietkau 22af21de3d ucitrigger depends on lua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 00:02:38 +00:00
Felix Fietkau 6fbd31d238 ucitrigger: add options to force enable/disable specific triggers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-06 19:04:07 +00:00
Felix Fietkau 29c41ba2ac add ucitrigger: a uci plugin, command line tool and lua interface for automatically applying uci config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-08 01:27:01 +00:00
Felix Fietkau 8bebfa01a3 uci: increase argv size in batch mode to silence a false gcc 4.4 compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 19:34:49 +00:00
Felix Fietkau 8fbeb0bbd4 uci: upgrade to 0.7.5 - fixes a runtime error with 2.6.29 if flock() does not work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 16:48:10 +00:00
Felix Fietkau 5bdd866100 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
2009-04-17 14:09:46 +00:00
Felix Fietkau be37360bef upgrade to uci 0.7.4 - fixes a file locking bug, thx Cyrus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 15:52:50 +00:00
Nicolas Thill 8ae9e2cf0f [package] replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-24 00:08:08 +00:00
Felix Fietkau 90082b9890 upgrade to uci 0.7.3 - fixes a small input validation bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 13:21:25 +00:00
Felix Fietkau 8e22c60fdb bump uci to 0.7.2 - adds uci.rename() and fixes uci.set() with a list argument
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 00:50:09 +00:00
Felix Fietkau ab812522e4 uci: upgrade to 0.7.1, fixes uci rename for unnamed sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-27 18:59:38 +00:00
Felix Fietkau 44bd58fa1a uci: work around a gcc bug which causes a bogus compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-24 17:25:21 +00:00
Felix Fietkau 41a4f463eb upgrade uci to 0.7.0 - adds ucimap and fixes #4236
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-23 11:36:22 +00:00
Felix Fietkau bf6086fedf uci: upgrade to 0.6.4 - adds extended syntax to the cli and fixes a lua binding problem
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-14 17:01:37 +00:00
Felix Fietkau 938d4d1b30 upgrade to uci 0.6.2 (bugfixes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-04 23:46:02 +00:00
Felix Fietkau 801f956a3a upgrade to uci 0.6.1 - lots of cli and lua binding fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 21:16:20 +00:00
Felix Fietkau ec0d5251d1 upgrade uci to 0.6.0 - many bugfixes and an API cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-23 14:26:31 +00:00
Felix Fietkau 7d81d94034 upgrade to uci 0.5.0, adds list handling support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 15:38:51 +00:00
Felix Fietkau 90bf1295c1 fix uci_set_state for empty values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 12:34:17 +00:00
Felix Fietkau 73a5abbb32 use $(FPIC) in a few places where it matters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 22:10:29 +00:00
Felix Fietkau 62381bde91 initialize the CONFIG_APPEND variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 21:11:15 +00:00
Felix Fietkau 82ed065b0b another one ...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 16:16:56 +00:00
Felix Fietkau 6328ec1776 upgrade to uci 0.4.7 - fixes a stupid regression introduced in 0.4.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 15:56:35 +00:00
Felix Fietkau 0c19606e74 upgrade to uci 0.4.6 - fixes a parser glitch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 01:10:22 +00:00
Felix Fietkau b72486b308 upgrade to uci 0.4.5 - adds extra input validation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 20:18:15 +00:00
Felix Fietkau d34d4895c3 clean up the directory layout of the uci shell api
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 19:25:36 +00:00
Felix Fietkau d5df5453a5 nuke uci-sh, it is obsolete and no longer works
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 19:25:08 +00:00
Felix Fietkau 0536f2b124 allow packages to optionally append config file contents in the environment by setting a flag and calling config_load multiple times
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 19:21:09 +00:00
Felix Fietkau 7752ff7cce upgrade to uci 0.4.4 (fixes a stupid bug, thx Frédéric Moulins)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-20 17:39:56 +00:00
Andy Boyett 2e55610300 [uci] Create $(1)/etc/uci-defaults directory during installation. Thanks Yuji Mano.
- Fixes the use of CONFIG_UCI_PRECONFIG under git; git does not track empty directories.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 00:44:10 +00:00
Felix Fietkau cb4cd56ead upgrade uci to 0.4.2 - fixes some escaping and library issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 22:43:26 +00:00
Felix Fietkau 484d10d3d2 upgrade uci to 0.4.1
improves uci.foreach and uci.get_all in the lua binding
no longer records changes for uci set with oldval == newval


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 15:28:46 +00:00
Felix Fietkau b5f3c226b5 move the uci lua plugin to /usr/lib/lua instead of /usr/lib/lua/5.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 15:12:44 +00:00
Felix Fietkau db266ab45f update uci to v0.4.0 - improves lua binding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-03 21:43:32 +00:00
Felix Fietkau c2153f767b upgrade to uci 0.3.4 - extends lua bindings and fixes a bug that rejected "-" in uci package names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 17:08:39 +00:00
Felix Fietkau e3ec9ee18c upgrade uci to 0.3.3, build lua plugin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-13 14:34:42 +00:00