Commit Graph

93 Commits (1b9e69e5a89003acfa33b99c6f94265fa4565751)

Author SHA1 Message Date
Felix Fietkau 21565d94ec uci: update to fix excessive reorder delta entry duplication (#13678)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 12:51:08 +00:00
Felix Fietkau 50b55436e9 uci: update to latest version, adds uci<->blobmsg conversion code from netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 12:42:25 +00:00
Jo-Philipp Wich 95f1a2574c uci: update to git head (#13348, http://luci.subsignal.org/trac/ticket/572)
- fixes overwriting list options with single-item lists in lua binding

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 17:28:18 +00:00
Jo-Philipp Wich 68fba9e4d1 uci: update to git head
- copy permission of config files to state files to allow access to state info by non root users
	- properly handle empty string case when unsetting lists

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 12:40:13 +00:00
Jo-Philipp Wich 076d88f618 uci: update to git head
- fixes memory leak in libuci when trying to open not existing configurations
  - fixes memory leak in libuci-lua when querying not existing sections or options
  - fixes handling of filenames with leading underscore

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 14:52:28 +00:00
Felix Fietkau 32d1003a5d uci: update to latest version, adds list delete, removes unused plugin support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 16:10:17 +00:00
Felix Fietkau a50e37f61d uci: disable parallel builds again, the lua<->libuci dependency is not safe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 14:58:37 +00:00
Felix Fietkau 29e5082560 uci: update to latest version (adds list delete support), enable parallel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 17:37:10 +00:00
Hamish Guthrie a81ef914e0 licensing: Add licensing metadata to many packages
Two new variables are introduces to many packages, namely PKG_LICENSE and
PKG_LICENSE_FILES - there may be more than one license applied to packages,
and these are listed in the PKG_LICENSE variable and separated by spaces.
All relevant license files are also added to the PKG_LICENSE_FILES variable,
also space separated.

The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-19 15:34:28 +00:00
Felix Fietkau 695081b3c1 add myself as a maintainer for various packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 11:41:02 +00:00
Felix Fietkau 9c33285967 uci: update to latest version, fixes return code of the cli on various failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 11:02:30 +00:00
Jo-Philipp Wich bf456317d3 [package] uci: update to git head, reduces quotations in exported config files and fixes delta list handling in the Lua binding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 18:07:06 +00:00
Jo-Philipp Wich b55128a63e [package] uci: update to latest git rev 7289b2d69aaffa9299b47aaaa0da1e9969ace6c1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:18:09 +00:00
Felix Fietkau a2797eb1a8 uci: fix segfault on import of anonymous sections (#10204)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 20:50:23 +00:00
Felix Fietkau ed497ae24f uci: update to latest version (includes several bugfixes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 13:20:48 +00:00
Felix Fietkau e452e8b07e uci: fix one more unused-but-set issue (#9731)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 20:44:35 +00:00
Felix Fietkau cdaf0b7073 uci: update to fix more unused-but-set issues (#9731)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-18 10:09:53 +00:00
Felix Fietkau 6dc2fb21fd uci: update to 2011-07-18, fixes #9731
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-18 06:32:45 +00:00
Jo-Philipp Wich 15080fc5d1 [package] uci: implement a uci_toogle_state() wrapper in the shell api which calls uci_revert_state() before uci_set_state()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15 14:52:38 +00:00
Jo-Philipp Wich 59e10537e4 [package] uci: mark uci as unsafe for parallel building
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 12:06:37 +00:00
Felix Fietkau 31cc6d3c79 uci: fix linking against libdl (#9123)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 12:56:20 +00:00
Felix Fietkau c6c50849b0 uci: update to fix lua plugin linker issue (#9121)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 00:50:19 +00:00
Felix Fietkau 4067ae1934 uci: install libucimap to the staging dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 22:41:17 +00:00
Felix Fietkau d0f7c283a0 remove ucitrigger, it is unused and will be replaced by something different in the future
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 22:25:59 +00:00
Felix Fietkau ffdc42805a uci: update to latest version, uses cmake now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 21:00:20 +00:00
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