Commit Graph

51 Commits (6c7a71c78ecaf19ba40305f78e889d8295e5d745)

Author SHA1 Message Date
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
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 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 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 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 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 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 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 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 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 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 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