Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ob_match_plat(): Use clearer variable names | Patrick McDermott | 2019-03-14 | 1 | -7/+7 |
| | |||||
* | lib/deps.sh, lib/metadata.sh, lib/package/2.sh: Wrap long lines | Patrick McDermott | 2019-03-14 | 1 | -2/+4 |
| | | | | lib/changelog.sh and lib/control.sh still have many long lines. | ||||
* | Fix missing "()" after function names in @details | Patrick McDermott | 2019-03-14 | 1 | -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 McDermott | 2019-03-13 | 1 | -15/+15 |
| | |||||
* | Don't let libopkbuild errors cause exit with -e | Patrick McDermott | 2019-03-13 | 1 | -12/+12 |
| | |||||
* | libopkbuild: Abort on invalid function arguments | Patrick McDermott | 2019-03-13 | 1 | -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 names | Patrick McDermott | 2019-03-13 | 1 | -9/+9 |
| | |||||
* | ob_match_arch(): Replace generated ERE with native SCL | Patrick McDermott | 2019-03-13 | 1 | -8/+20 |
| | |||||
* | ob_parse_version(): Improve eval safety | Patrick McDermott | 2019-03-12 | 1 | -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(): Document | Patrick McDermott | 2018-12-29 | 1 | -0/+19 |
| | |||||
* | ob_get_system_path(): Document | Patrick McDermott | 2018-12-29 | 1 | -0/+15 |
| | |||||
* | ob_get_system_arch(), ob_get_system_plat(): Document | Patrick McDermott | 2018-12-29 | 1 | -0/+16 |
| | |||||
* | ob_validate_source_name(), ob_validate_binary_name(): Document | Patrick McDermott | 2018-12-29 | 1 | -1/+17 |
| | |||||
* | libopkbuild: Move function definitions before points of use | Patrick McDermott | 2018-12-25 | 1 | -12/+12 |
| | |||||
* | libopkbuild: Update header comments, copyright years, & license | Patrick McDermott | 2018-12-24 | 1 | -9/+9 |
| | |||||
* | libopkbuild: Initialize OPTIND before getopts | Patrick McDermott | 2018-12-24 | 1 | -0/+1 |
| | | | | | See commit 0f5caf14a3124c24f38f340fd6504532f07d9617 for more information. | ||||
* | metadata: Drop system name from function names | Patrick McDermott | 2018-12-22 | 1 | -1/+1 |
| | |||||
* | libopkbuild: Drop include guards | Patrick McDermott | 2018-12-22 | 1 | -3/+0 |
| | |||||
* | ob_use(): Remove | Patrick McDermott | 2018-12-22 | 1 | -2/+0 |
| | |||||
* | libopkbuild: Use shpp | Patrick McDermott | 2018-12-22 | 1 | -2/+2 |
| | |||||
* | Update copyright years. | P. J. McDermott | 2014-05-15 | 1 | -1/+1 |
| | |||||
* | ob_match_plat(): Add back plat:all check. | P. J. McDermott | 2014-05-15 | 1 | -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. McDermott | 2014-05-15 | 1 | -19/+25 |
| | | | | tests/ob_arch_is_concerned.sh now passes. | ||||
* | Move plat:all check to ob_plat_is_concerned(). | P. J. McDermott | 2014-05-15 | 1 | -26/+25 |
| | | | | tests/ob_plat_is_concerned.sh now passes. | ||||
* | ob_match_plat(): Add missing platform check. | P. J. McDermott | 2014-05-08 | 1 | -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. McDermott | 2013-08-18 | 1 | -1/+1 |
| | |||||
* | lib/*.sh, lib/*/*.sh: Rewrite include guards. | P. J. McDermott | 2013-08-18 | 1 | -2/+2 |
| | | | | This is one step toward adding `set -u` to opkbuild. | ||||
* | lib/metadata.sh: Remove _ob_local. | P. J. McDermott | 2013-08-18 | 1 | -132/+111 |
| | | | | Also fix variable declarations in ob_match_arch(). | ||||
* | Add argument count checks to ob_*_is_concerned(). | P. J. McDermott | 2012-11-05 | 1 | -6/+16 |
| | |||||
* | Add {arch,plat}_is_concerned funcs to public API. | P. J. McDermott | 2012-11-05 | 1 | -0/+64 |
| | |||||
* | Additionally license everything under GPLv2. | P. J. McDermott | 2012-10-16 | 1 | -1/+1 |
| | |||||
* | Implement ob_get_system_path(). | P. J. McDermott | 2012-10-04 | 1 | -0/+18 |
| | |||||
* | Suppress command output in ob_match_arch(). | P. J. McDermott | 2012-10-02 | 1 | -1/+1 |
| | |||||
* | Fix typing mistake in ob_match_arch(). | P. J. McDermott | 2012-10-02 | 1 | -1/+1 |
| | |||||
* | Simplify wildcard matching in ob_match_arch(). | P. J. McDermott | 2012-09-29 | 1 | -17/+7 |
| | |||||
* | Implement ob_match_arch() and ob_match_plat(). | P. J. McDermott | 2012-09-29 | 1 | -0/+89 |
| | |||||
* | Fix parameter in ob_get_system_{arch,plat}(). | P. J. McDermott | 2012-09-29 | 1 | -2/+2 |
| | |||||
* | Implement ob_get_system_{arch,plat}(). | P. J. McDermott | 2012-09-29 | 1 | -0/+30 |
| | |||||
* | Implement ob_parse_version(). | P. J. McDermott | 2012-09-29 | 1 | -0/+53 |
| | |||||
* | Support metadata plugins. | P. J. McDermott | 2012-09-28 | 1 | -3/+28 |
| | |||||
* | Implement ob_validate_{source,binary}_name. | P. J. McDermott | 2012-09-12 | 1 | -0/+45 |