Commit Graph

57 Commits (e3062cbd6e8b995326e06ec433003f1321409f39)

Author SHA1 Message Date
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
Felix Fietkau bc85998323 upgrade uci to 0.3.1 - fixes a parser problem
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-08 19:51:15 +00:00
Andy Boyett 21ee2eacd2 Install libuci and headers in staging_dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-04 21:48:43 +00:00
Felix Fietkau 11802d94e4 upgrade uci to 0.3.0
- fix for adding changes to empty config files
- better error handling for invalid config pointers
- create /tmp/.uci if it does not exist


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-12 22:04:08 +00:00
Felix Fietkau ac4f6d474d commit after running uci_set_default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-09 18:14:01 +00:00
Felix Fietkau 11d0604b5e don't fail on uci_load() with nonexisting config files, but return the right return code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-09 18:08:05 +00:00
Felix Fietkau 0c54a6353f make uci_add() create anonymous sections if requested and store the new section name in a variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-09 17:27:43 +00:00
Felix Fietkau 88264737b6 bump uci to 0.2.5 - adds support for adding unnamed sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-09 16:37:56 +00:00
Felix Fietkau 31eef0cd52 update uci - fixes a bug in parse_uci_tuple
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 20:30:44 +00:00
Felix Fietkau 6a548e3b41 fix a stupid copy&paste mistake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 20:22:47 +00:00
Felix Fietkau bac49c8b2e fix another crash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 05:05:25 +00:00
Felix Fietkau 381234322a upgrade to uci 0.2.2 - fixes uci invocations from hotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 02:30:43 +00:00