Commit Graph

46 Commits (c4817c6509f75a6b15073f3f0f3b9dc34513caf2)

Author SHA1 Message Date
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
Felix Fietkau c119369322 import uci v0.2.1 - fixes a merge-import bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 01:14:30 +00:00
Felix Fietkau 8f88b18a3e fix wrong path to uci (thx, phr3ak)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 00:52:48 +00:00
Felix Fietkau c62f14c22a add uci v0.2 - implements batch mode and a command for listing changes to a package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 00:34:17 +00:00
Felix Fietkau d5eff11704 upgrade uci 0.1.2, which accepts more characters in the section type validation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-04 21:59:49 +00:00
Felix Fietkau 82de134ec7 update uci to 0.1.1 - accepts options without value or with an empty value as valid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-04 21:08:12 +00:00
Felix Fietkau db8dc69aef fix copy&paste bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 07:00:22 +00:00
Felix Fietkau 2f8b5f8c28 Here comes the new UCI. Enjoy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00