1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-03 00:02:20 +03:00
Commit Graph

52 Commits

Author SHA1 Message Date
nbd
9aad34a95c 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
nbd
c67f654fdd 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
nbd
bff2b0c0be 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
nbd
796a9d1091 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
nbd
eeda26b505 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
nico
f8b8f7c474 [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
nbd
cd510bdcab 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
nbd
5c37b38c26 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
nbd
db583b15d4 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
nbd
26d874c060 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
nbd
3979280927 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
nbd
5e0cfb51dd 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
nbd
96eaf412db 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
nbd
720ac73e79 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
nbd
8a163823e3 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
nbd
97501ba110 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
nbd
fe53cab771 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
nbd
78202d191b 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
nbd
7655f63af9 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
nbd
4d5815a4fa 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
nbd
a728ebf622 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
nbd
195d365bb1 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
nbd
55abede518 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
nbd
b313ccbb40 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
nbd
02e6c08f76 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
nbd
a88219f1f2 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
nbd
d472fdeeda 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
agb
198aaf2251 [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
nbd
adcea7e7fb 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
nbd
4c9bbc5dca 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
nbd
b146590a26 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
nbd
3dd1e79387 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
nbd
fe941c5fc6 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
nbd
e74c1c3499 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
nbd
ba96dc71c9 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
agb
4e9ede3591 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
nbd
e40ae828cd 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
nbd
e7093a5178 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
nbd
d52e2fc6c9 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
nbd
9aab3598bc 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
nbd
f14b137da6 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
nbd
aa1917650c 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
nbd
2ebacb1706 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
nbd
fc209e5b5d 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
nbd
470a85bba0 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
nbd
cb408bd0c0 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
nbd
48d453a88d 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
nbd
2c74315cc2 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
nbd
61bf0e31f3 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
nbd
c930ec1f18 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