aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/uci
Commit message (Collapse)AuthorAgeFilesLines
* uci: update to latest Git HEADHauke Mehrtens2019-09-041-3/+3
| | | | | | | 415f9e4 uci/file: replace mktemp() with mkstemp() Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 6aa962a62288952aec08c1f67fb0735f420f720e)
* uci: fix heap use after free (FS#2288)Hans Dedecker2019-05-231-3/+3
| | | | | | f199b96 uci: fix options list of section after type change Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* system: uci: Use config dir on uci_add and support add_/del_listKristian Evensen2019-05-172-2/+20
| | | | | | | | | | | | | | | | This commit makes three changes to the uci shell library: * A check for UCI_CONFIG_DIR has been added to the command line when adding anonymous sections. Without this change, adding anonymous sections to configs not stored in /etc/config is not possible. * Support for adding/removing items from lists were missing, so I have added the functions uci_add_list() and uci_remove_list() to simplify working with uci lists from scripts. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> [added missing package version bump] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* treewide: revise library packagingJo-Philipp Wich2019-01-241-1/+2
| | | | | | | | | | | - Annotate versionless libraries (such as libubox, libuci etc.) with a fixed ABI_VERSION resembling the source date of the last incompatible change - Annotate packages shipping versioned library objects with ABI_VERSION - Stop shipping unversioned library symlinks for packages with ABI_VERSION Ref: https://openwrt.org/docs/guide-developer/package-policies#shared_libraries Ref: https://github.com/KanjiMonster/maintainer-tools/blob/master/check-abi-versions.pl Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uci: bump to source date 2018-08-11Yousong Zhou2018-08-111-3/+3
| | | | | | Fixes segfault when parsing malformed delta lines Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* uci: update to latest git HEADHans Dedecker2018-03-271-3/+3
| | | | | | | | 5d2bf09 uci: fix a potential use-after-free in uci_set() 3b3d63e list: only record ordering deltas if element position changed 4c4d343 cmake: Fix cli shared linking against ubox Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* treewide: replace LEDE_GIT with PROJECT_GITJo-Philipp Wich2018-01-101-1/+1
| | | | | | | Remove LEDE_GIT references in favor to the new name-agnostic PROJECT_GIT variable. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uci: add missing 'option' support to uci_rename()Tony Ambardar2018-01-021-2/+3
| | | | | | | When using the uci.sh wrapper, allow parameters to match those supported by the uci binary i.e. "uci rename <config>.<section>[.<option>]=<name>". Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* uci: bump to git HEAD versionJo-Philipp Wich2018-01-011-3/+3
| | | | | | | 5beb95d lua: additionally return name when looking up sections ff33bb2 lua: support extended section notation Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uci: update to latest git HEAD (FS#1182)Hans Dedecker2017-12-221-3/+3
| | | | | | | 25fd142 list: remove unncessary increment of n_section (FS#1182) 021fd65 file: remove unnecessary uci_fixup_section calls Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* uci: bump to git HEAD versionHans Dedecker2017-10-041-3/+3
| | | | | | 5ad59ad Add bitfield_set function from libubox Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* uci: update to the latest versionHans Dedecker2017-07-111-3/+3
| | | | | | | | | | | | | | c4df32b file: remove redundant NULL check on return value of uci_realloc() 5d08b7f build: fix BUILD_STATIC 49ec6ef Fix skipping directories in uci_list_config_files c203c2f Revert "mandatory anonymous section identifier" 0a1a2fc uci/lua: add explicit close() method 7daf942 uci/lua: add list_configs() function fe45f97 test: adjust for auto-naming anonymous sections 2eb9c09 cli: remove now-defunct UCI_FLAG_EXPORT_NAME support df72af4 mandatory anonymous section identifier Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-221-9/+3
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* source: Switch to xz for packages and tools where possibleDaniel Engberg2016-10-061-1/+2
| | | | | | | | | | | * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* uci: update to latest git HEADJohn Crispin2016-07-051-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* package/*: update git urls for project reposJohn Crispin2016-06-131-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-072-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uci: commit through symlinksJo-Philipp Wich2016-03-311-2/+3
| | | | | | | Update to latest HEAD in order to not clobber symlinks in /etc/config on uci commit. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uci: update to the latest version, fixes uci show output for anonymous ↵Felix Fietkau2016-02-021-2/+2
| | | | | | | | sections (#21781) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48617
* uci: update to the latest version, adds a small optimization to uci commitFelix Fietkau2016-01-111-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48200
* uci: move to git.openwrt.orgFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48127
* uci: update to the latest version, adds various fixesFelix Fietkau2015-08-271-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46738
* uci: update to the latest version, fixes a regression in handling ↵Felix Fietkau2015-04-091-2/+2
| | | | | | | | empty/comment lines in uci batch Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45340
* uci: update to the latest version, fixes savedir issuesFelix Fietkau2015-04-031-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45254
* uci: update to the latest version, fixes delta path / savedir issuesFelix Fietkau2015-03-311-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45189
* uci: update to the latest versionFelix Fietkau2015-03-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45040
* license info - revert r43155John Crispin2014-11-031-1/+1
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-1/+1
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43155
* Add a few SPDX tagsSteven Barth2014-11-021-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* uci: fix import with not yet existing packages, preserve config permissions ↵Jo-Philipp Wich2014-04-111-3/+3
| | | | | | | | on commit, fix Lua detection in cmake Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 40458
* uci: update to latest version, adds preparation for validation support and ↵Felix Fietkau2014-02-181-2/+2
| | | | | | | | blobmsg int64 support Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39606
* uci: update to the latest version, adds a small uci_to_blob fixFelix Fietkau2013-12-021-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38987
* uci: upgrade to latest git versionLuka Perkov2013-10-151-2/+2
| | | | | | | | | Fixes issues with UBIFS file system when due to unclean shutdown files would end up with size 0. Furthermore, few style fixes are included too. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38410
* uci: change uci_ptr checking order in uci_delete()Jo-Philipp Wich2013-09-291-2/+2
| | | | SVN-Revision: 38251
* packages: clean up the package folderJohn Crispin2013-06-212-0/+229
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007