summaryrefslogtreecommitdiffstats
path: root/lib/package/2.sh
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* ob_get_doc_files(): Drop arch and plat parametersPatrick McDermott2019-03-131-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 McDermott2019-03-131-1/+1
|
* libopkbuild: Abort on invalid function argumentsPatrick McDermott2019-03-131-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 printfPatrick McDermott2019-03-121-1/+1
|
* ob_parse_control(): Add a user_data operandPatrick McDermott2019-01-051-9/+11
|
* ob_parse_control(): Pass field name and value as argsPatrick McDermott2019-01-051-4/+15
|
* libopkbuild: Update header comments, copyright years, & licensePatrick McDermott2018-12-241-9/+9
|
* libopkbuild: Drop include guardsPatrick McDermott2018-12-221-3/+0
|
* ob_use(): RemovePatrick McDermott2018-12-221-3/+0
|
* 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/package/2.sh: Remove _ob_local.P. J. McDermott2013-08-181-56/+43
|
* Set Host-Arch and Host-Plat substvars.P. J. McDermott2013-05-251-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. McDermott2012-11-161-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. McDermott2012-11-101-1/+3
|
* Make ob_get_doc_files() accept arch and plat args.P. J. McDermott2012-10-251-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. McDermott2012-10-251-5/+5
|
* Implement ob_set_package_substvars().P. J. McDermott2012-10-231-0/+27
|
* Additionally license everything under GPLv2.P. J. McDermott2012-10-161-1/+1
|
* Get Uploader, not Maintainer, from changelog.P. J. McDermott2012-10-161-1/+1
|
* Fix a variable name in _ob_get_doc_files_2().P. J. McDermott2012-10-041-1/+1
|
* Fix _ob_get_doc_package_2().P. J. McDermott2012-10-041-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. McDermott2012-10-041-0/+42
|
* Add missing ob_use commands to "package/2" module.P. J. McDermott2012-10-021-0/+3
|
* Implement _ob_parse_package_metadata_2() and CBs.P. J. McDermott2012-09-281-2/+55
|
* Implement much of the "package" library modules.P. J. McDermott2012-09-281-0/+52