summaryrefslogtreecommitdiffstats
path: root/lib/metadata.sh
Commit message (Collapse)AuthorAgeFilesLines
* ob_match_plat(): Use clearer variable namesPatrick McDermott2019-03-141-7/+7
|
* lib/deps.sh, lib/metadata.sh, lib/package/2.sh: Wrap long linesPatrick McDermott2019-03-141-2/+4
| | | | lib/changelog.sh and lib/control.sh still have many long lines.
* Fix missing "()" after function names in @detailsPatrick McDermott2019-03-141-15/+16
| | | | | Also fix function name in ob_get_system_plat()'s @details and update ob_error()'s @details.
* Protect [ commands from strings beginning with "-"Patrick McDermott2019-03-131-15/+15
|
* Don't let libopkbuild errors cause exit with -ePatrick McDermott2019-03-131-12/+12
|
* libopkbuild: Abort on invalid function argumentsPatrick McDermott2019-03-131-91/+33
| | | | | | | | | | Shift arguments and abort instead of returning 125. Incorrect numbers of function arguments suggest application/library incompatibilities or serious errors by the application developer. Either way, the application developer should be made immediately aware of this (and not allowed to simply not check return values), and continuing to run and handle any further API calls may be unsafe.
* ob_match_arch(): Use clearer variable namesPatrick McDermott2019-03-131-9/+9
|
* ob_match_arch(): Replace generated ERE with native SCLPatrick McDermott2019-03-131-8/+20
|
* ob_parse_version(): Improve eval safetyPatrick McDermott2019-03-121-4/+4
| | | | | | | There likely wasn't a vulnerability here since versions are validated first, but unnecessary expansions like this in eval commands are bad practice, and a bug in the validation could have led to a vulnerability here.
* ob_parse_version(): DocumentPatrick McDermott2018-12-291-0/+19
|
* ob_get_system_path(): DocumentPatrick McDermott2018-12-291-0/+15
|
* ob_get_system_arch(), ob_get_system_plat(): DocumentPatrick McDermott2018-12-291-0/+16
|
* ob_validate_source_name(), ob_validate_binary_name(): DocumentPatrick McDermott2018-12-291-1/+17
|
* libopkbuild: Move function definitions before points of usePatrick McDermott2018-12-251-12/+12
|
* libopkbuild: Update header comments, copyright years, & licensePatrick McDermott2018-12-241-9/+9
|
* libopkbuild: Initialize OPTIND before getoptsPatrick McDermott2018-12-241-0/+1
| | | | | See commit 0f5caf14a3124c24f38f340fd6504532f07d9617 for more information.
* metadata: Drop system name from function namesPatrick McDermott2018-12-221-1/+1
|
* libopkbuild: Drop include guardsPatrick McDermott2018-12-221-3/+0
|
* ob_use(): RemovePatrick McDermott2018-12-221-2/+0
|
* libopkbuild: Use shppPatrick McDermott2018-12-221-2/+2
|
* Update copyright years.P. J. McDermott2014-05-151-1/+1
|
* ob_match_plat(): Add back plat:all check.P. J. McDermott2014-05-151-0/+7
| | | | | | | This was removed in commit 34c2432. This might be useful someday. Now both ob_match_plat() and ob_plat_is_concerned() check for this.
* ob_arch_is_concerned(): Check for arch:all.P. J. McDermott2014-05-151-19/+25
| | | | tests/ob_arch_is_concerned.sh now passes.
* Move plat:all check to ob_plat_is_concerned().P. J. McDermott2014-05-151-26/+25
| | | | tests/ob_plat_is_concerned.sh now passes.
* ob_match_plat(): Add missing platform check.P. J. McDermott2014-05-081-0/+3
| | | | | | This will be necessary to build the linux-libre source package for the dev platform without building linux-image and linux-sysmap binary packages.
* lib/*.sh, lib/*/*.sh: Add ".sh" to header comment.P. J. McDermott2013-08-181-1/+1
|
* lib/*.sh, lib/*/*.sh: Rewrite include guards.P. J. McDermott2013-08-181-2/+2
| | | | This is one step toward adding `set -u` to opkbuild.
* lib/metadata.sh: Remove _ob_local.P. J. McDermott2013-08-181-132/+111
| | | | Also fix variable declarations in ob_match_arch().
* Add argument count checks to ob_*_is_concerned().P. J. McDermott2012-11-051-6/+16
|
* Add {arch,plat}_is_concerned funcs to public API.P. J. McDermott2012-11-051-0/+64
|
* Additionally license everything under GPLv2.P. J. McDermott2012-10-161-1/+1
|
* Implement ob_get_system_path().P. J. McDermott2012-10-041-0/+18
|
* Suppress command output in ob_match_arch().P. J. McDermott2012-10-021-1/+1
|
* Fix typing mistake in ob_match_arch().P. J. McDermott2012-10-021-1/+1
|
* Simplify wildcard matching in ob_match_arch().P. J. McDermott2012-09-291-17/+7
|
* Implement ob_match_arch() and ob_match_plat().P. J. McDermott2012-09-291-0/+89
|
* Fix parameter in ob_get_system_{arch,plat}().P. J. McDermott2012-09-291-2/+2
|
* Implement ob_get_system_{arch,plat}().P. J. McDermott2012-09-291-0/+30
|
* Implement ob_parse_version().P. J. McDermott2012-09-291-0/+53
|
* Support metadata plugins.P. J. McDermott2012-09-281-3/+28
|
* Implement ob_validate_{source,binary}_name.P. J. McDermott2012-09-121-0/+45