Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright years | Patrick McDermott | 2020-12-08 | 1 | -1/+1 |
| | |||||
* | ob_validate_section(): New function | Patrick McDermott | 2020-07-05 | 1 | -0/+17 |
| | |||||
* | ob_qualify_package_name(): New function | Patrick McDermott | 2020-06-21 | 1 | -0/+26 |
| | |||||
* | ob_get_system_path(): Allow overriding DATADIR | Patrick McDermott | 2019-06-17 | 1 | -1/+4 |
| | |||||
* | ob_get_system_path(): Allow package-less platconf | Patrick McDermott | 2019-06-16 | 1 | -2/+3 |
| | |||||
* | Add braces to param exps in arith substs | Patrick McDermott | 2019-03-16 | 1 | -1/+1 |
| | |||||
* | lib/, locale/, tests/: Update copyright years | Patrick McDermott | 2019-03-16 | 1 | -1/+1 |
| | |||||
* | ob_*_is_concerned(): Document | Patrick McDermott | 2019-03-15 | 1 | -0/+22 |
| | |||||
* | _ob_match_plat(): Move closer to usage | Patrick McDermott | 2019-03-14 | 1 | -16/+16 |
| | |||||
* | _ob_match_plat(): Remove loop | Patrick McDermott | 2019-03-14 | 1 | -10/+7 |
| | |||||
* | _ob_match_arch(): Remove loop | Patrick McDermott | 2019-03-14 | 1 | -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 private | Patrick McDermott | 2019-03-14 | 1 | -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/plat | Patrick McDermott | 2019-03-14 | 1 | -16/+0 |
| | |||||
* | 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 |
| |