summaryrefslogtreecommitdiffstats
path: root/lib/package
Commit message (Collapse)AuthorAgeFilesLines
* ob_set_substvar(): Rename to ob_set_source_substvar()Patrick McDermott2019-03-181-5/+7
|
* lib/package/2.sh: Fix _ob_package_dir casePatrick McDermott2019-03-171-8/+8
| | | | This should have been done in commit 44d41cd.
* _ob_change_2(): Fix to use args instead of global varsPatrick McDermott2019-03-161-6/+14
|
* lib/, locale/, tests/: Update copyright yearsPatrick McDermott2019-03-161-1/+1
|
* 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
|
* lib/local.mk, lib/package/local.mk: Drop leading spacesPatrick McDermott2018-12-221-1/+1
| | | | I've no idea how those got there.
* libopkbuild: Drop include guardsPatrick McDermott2018-12-221-3/+0
|
* Rewrite libopkbuild sources list buildingPatrick McDermott2018-12-221-2/+2
|
* ob_use(): RemovePatrick McDermott2018-12-221-3/+0
|
* Remove copyright notices from local.mk filesPatrick McDermott2018-12-221-18/+0
| | | | These contain just lists of files and shouldn't be copyrightable.
* Switch to using GNU AutomakePatrick McDermott2018-12-201-1/+1
|
* 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
|
* Remove old input makefiles.P. J. McDermott2013-06-151-68/+0
|
* Make lib/package/ non-recursive.P. J. McDermott2013-06-151-0/+20
|
* 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-162-2/+2
|
* Get Uploader, not Maintainer, from changelog.P. J. McDermott2012-10-161-1/+1
|
* Make package and metadata module dirs once.P. J. McDermott2012-10-081-1/+1
|
* Rm package and metadata module dirs on uninstall.P. J. McDermott2012-10-081-0/+1
|
* Fix "distdir" macro in lib/*/Makefile.in.P. J. McDermott2012-10-041-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
|
* Fix library installation path.P. J. McDermott2012-10-021-4/+4
|
* Write lib/package/Makefile.in.P. J. McDermott2012-09-301-0/+67
|
* 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