summaryrefslogtreecommitdiffstats
path: root/lib/metadata.sh
Commit message (Collapse)AuthorAgeFilesLines
* metadata, package: Encode binary package namesPatrick McDermott2023-09-251-0/+19
| | | | Remove restriction on duplicate "clean" names.
* Update copyright yearsPatrick McDermott2020-12-081-1/+1
|
* ob_validate_section(): New functionPatrick McDermott2020-07-051-0/+17
|
* ob_qualify_package_name(): New functionPatrick McDermott2020-06-211-0/+26
|
* ob_get_system_path(): Allow overriding DATADIRPatrick McDermott2019-06-171-1/+4
|
* ob_get_system_path(): Allow package-less platconfPatrick McDermott2019-06-161-2/+3
|
* Add braces to param exps in arith substsPatrick McDermott2019-03-161-1/+1
|
* lib/, locale/, tests/: Update copyright yearsPatrick McDermott2019-03-161-1/+1
|
* ob_*_is_concerned(): DocumentPatrick McDermott2019-03-151-0/+22
|
* _ob_match_plat(): Move closer to usagePatrick McDermott2019-03-141-16/+16
|
* _ob_match_plat(): Remove loopPatrick McDermott2019-03-141-10/+7
|
* _ob_match_arch(): Remove loopPatrick McDermott2019-03-141-27/+19
| | | | | ob_arch_is_concerned() calls this function with just one field arch at a time, so this only needs to handle one arch.
* ob_match_*(): Make privatePatrick McDermott2019-03-141-6/+6
| | | | | These functions are only ever called by ob_*_is_concerned() and are not very useful outside that context.
* ob_match_*(): Drop checks for "all" match arch/platPatrick McDermott2019-03-141-16/+0
|
* 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
|