Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _ob_set_binary_packages(): Remove | Patrick McDermott | 2020-07-05 | 1 | -6/+1 |
| | | | | | | | _ob_get_binary_packages_2() now just prints packages. Also fix multiple issues with (re)population of ${_ob_binary_packages} in ob_get_binary_packages(). | ||||
* | _ob_parse_package_metadata_2(): Validate section | Patrick McDermott | 2020-07-05 | 1 | -0/+6 |
| | | | | | On ob_get_binary_packages()'s first run, binary package control files haven't yet been parsed. | ||||
* | ob-gencontrol: Generate a "Section" field | Patrick McDermott | 2020-06-17 | 1 | -1/+1 |
| | | | | And add it to SPF 2.x. | ||||
* | _ob_set_package_substvars_2(): Parse binary package substvars | Patrick McDermott | 2019-03-18 | 1 | -10/+33 |
| | |||||
* | _ob_substvar_2(): Define above usage | Patrick McDermott | 2019-03-18 | 1 | -12/+12 |
| | |||||
* | ob_set_substvar(): Rename to ob_set_source_substvar() | Patrick McDermott | 2019-03-18 | 1 | -5/+7 |
| | |||||
* | lib/package/2.sh: Fix _ob_package_dir case | Patrick McDermott | 2019-03-17 | 1 | -8/+8 |
| | | | | This should have been done in commit 44d41cd. | ||||
* | _ob_change_2(): Fix to use args instead of global vars | Patrick McDermott | 2019-03-16 | 1 | -6/+14 |
| | |||||
* | lib/, locale/, tests/: Update copyright years | Patrick McDermott | 2019-03-16 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | ob_get_doc_files(): Drop arch and plat parameters | Patrick McDermott | 2019-03-13 | 1 | -3/+0 |
| | | | | | | The set of documentation files to be provided should not be dependent on the architecture and platform for which at least some of the binary packages are built. | ||||
* | Protect against cmd operands beginning with "-" | Patrick McDermott | 2019-03-13 | 1 | -1/+1 |
| | |||||
* | libopkbuild: Abort on invalid function arguments | Patrick McDermott | 2019-03-13 | 1 | -15/+8 |
| | | | | | | | | | | 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_get_doc_package_2(): Replace echo with printf | Patrick McDermott | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | ob_parse_control(): Add a user_data operand | Patrick McDermott | 2019-01-05 | 1 | -9/+11 |
| | |||||
* | ob_parse_control(): Pass field name and value as args | Patrick McDermott | 2019-01-05 | 1 | -4/+15 |
| | |||||
* | libopkbuild: Update header comments, copyright years, & license | Patrick McDermott | 2018-12-24 | 1 | -9/+9 |
| | |||||
* | libopkbuild: Drop include guards | Patrick McDermott | 2018-12-22 | 1 | -3/+0 |
| | |||||
* | ob_use(): Remove | Patrick McDermott | 2018-12-22 | 1 | -3/+0 |
| | |||||
* | 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/package/2.sh: Remove _ob_local. | P. J. McDermott | 2013-08-18 | 1 | -56/+43 |
| | |||||
* | Set Host-Arch and Host-Plat substvars. | P. J. McDermott | 2013-05-25 | 1 | -0/+2 |
| | | | | | | | | | If ob_set_package_substvars() is called outside of a build environment, the values of these substvars will be null. These substvars are finally specified as part of SPF 2.0 as of 2013-05-25. They facilitate the cross building of packages with platform configurations. | ||||
* | Verify existence of *.pkg/control in pkg listing. | P. J. McDermott | 2012-11-16 | 1 | -0/+4 |
| | | | | | | | This fixes warnings like the following when there are no binary package metadata directories: opkbuild: Warning: Bad binary package name: "*" | ||||
* | Don't print error when there's no substvars file. | P. J. McDermott | 2012-11-10 | 1 | -1/+3 |
| | |||||
* | Make ob_get_doc_files() accept arch and plat args. | P. J. McDermott | 2012-10-25 | 1 | -6/+4 |
| | | | | | | | The contents of the changelog file might be made architecture-dependent by binary rebuilds. So prepare to make the file's pathname architecture-specific to support co-installation of multiple architectures. | ||||
* | Use "<<-" here-doc operator to allow indentation. | P. J. McDermott | 2012-10-25 | 1 | -5/+5 |
| | |||||
* | Implement ob_set_package_substvars(). | P. J. McDermott | 2012-10-23 | 1 | -0/+27 |
| | |||||
* | Additionally license everything under GPLv2. | P. J. McDermott | 2012-10-16 | 1 | -1/+1 |
| | |||||
* | Get Uploader, not Maintainer, from changelog. | P. J. McDermott | 2012-10-16 | 1 | -1/+1 |
| | |||||
* | Fix a variable name in _ob_get_doc_files_2(). | P. J. McDermott | 2012-10-04 | 1 | -1/+1 |
| | |||||
* | Fix _ob_get_doc_package_2(). | P. J. McDermott | 2012-10-04 | 1 | -1/+6 |
| | | | | | Output the correct package name and return an error when no package has a "docs" file. | ||||
* | Implement ob_get_doc_{package,files}(). | P. J. McDermott | 2012-10-04 | 1 | -0/+42 |
| | |||||
* | Add missing ob_use commands to "package/2" module. | P. J. McDermott | 2012-10-02 | 1 | -0/+3 |
| | |||||
* | Implement _ob_parse_package_metadata_2() and CBs. | P. J. McDermott | 2012-09-28 | 1 | -2/+55 |
| | |||||
* | Implement much of the "package" library modules. | P. J. McDermott | 2012-09-28 | 1 | -0/+52 |