summaryrefslogtreecommitdiffstats
path: root/src/ob-gencontrol.sh
Commit message (Collapse)AuthorAgeFilesLines
* Clean up "if :; then" from commit 3bc002a3Patrick McDermott2020-06-171-33/+27
| | | | | It was an attempt to minimize the changes in that commit to keep it clear, but the resulting code now looks a bit jarring.
* ob-gencontrol: Generate a "Format" fieldPatrick McDermott2020-06-131-0/+1
| | | | And add the needed support to ob_get_source_parameter().
* ob-gencontrol: Drop now-outdated commentPatrick McDermott2019-06-181-3/+0
| | | | | OPK_PACKAGES isn't even set when building a source package, so we use ob_get_binary_packages() already now.
* ob-gencontrol: Populate Binary fieldPatrick McDermott2019-06-181-2/+2
|
* ob-gencontrol: Fix missing "src-" in source package namesPatrick McDermott2019-06-181-1/+2
|
* ob-gencontrol: Sort source package Binary field valuePatrick McDermott2019-06-161-1/+2
| | | | This ensures determinism.
* ob-gencontrol: Generate different fields for source packagesPatrick McDermott2019-06-161-8/+55
|
* ob-gencontrol: Move Installed-Size calculation into separate funcPatrick McDermott2019-06-161-12/+18
|
* ob-gencontrol, opkbuild: Update copyright yearsPatrick McDermott2019-03-181-1/+1
|
* ob-gencontrol: Add informational outputPatrick McDermott2019-03-181-0/+2
|
* ob-gencontrol: Don't run find on non-existent dirsPatrick McDermott2019-03-181-7/+10
|
* ob_substvars(): Substitute binary package varsPatrick McDermott2019-03-181-3/+5
|
* Delimit operands of ob_reduce_deps()Patrick McDermott2019-03-181-2/+2
|
* ob-gencontrol: Track md5sum additions with var, not head cmdPatrick McDermott2019-03-181-1/+4
|
* ob-gencontrol: Skip "-" file name in md5sumsPatrick McDermott2019-03-181-0/+1
|
* ob-gencontrol: Use read loop instead of sed with var in REPatrick McDermott2019-03-181-3/+11
|
* ob-gencontrol: Wrap a long linePatrick McDermott2019-03-181-1/+2
|
* ob-gencontrol: Decrease indentation in loopPatrick McDermott2019-03-181-25/+24
|
* ob-gencontrol: Replace here-document with printfPatrick McDermott2019-03-181-4/+1
| | | | | Commit a572faa3 replaced echo with this here-document, which takes an unnecessary amount of vertical space.
* ob-gencontrol: Add spaces to casesPatrick McDermott2019-03-181-1/+1
|
* ob-gencontrol: Add more details to size commentPatrick McDermott2019-03-181-0/+4
|
* ob-gencontrol: Declare local variables and wrap long linesPatrick McDermott2019-03-181-34/+59
|
* ob-gencontrol: set -uPatrick McDermott2019-03-181-1/+1
|
* ob-gencontrol: Fix quotes in DescriptionPatrick McDermott2019-03-181-1/+1
|
* opkbuild, ob-*: Don't manually load libopkbuildPatrick McDermott2019-03-171-2/+0
|
* opkbuild, ob-*: Drop call to main()Patrick McDermott2019-03-171-2/+0
| | | | | shld already calls main(), so this extra call causes main() to run a second time if it returns the first time.
* Add braces to param exps in arith substsPatrick McDermott2019-03-161-2/+2
|
* ob-buildopk, ob-gencontrol, ob-genchanges: Improve OB_DO_SOURCE checksPatrick McDermott2019-03-161-1/+1
| | | | This will help enable "set -u".
* opkbuild, ob-*: Fix printf commands after ob_set_text_domain()Patrick McDermott2019-03-151-1/+2
|
* ob_parse_package_metadata(): Merge into ob_init_package()Patrick McDermott2019-03-131-1/+0
| | | | | | Now that caching is gone, the ob_parse_package_metadata() interface function is trivially short, and keeping it separate unnecessarily complicates the API.
* ob_reduce_deps(): Use -p instead of -P for platformPatrick McDermott2019-03-131-2/+2
| | | | Same rationale as in commit 34f21a5.
* Protect against cmd operands beginning with "-"Patrick McDermott2019-03-131-4/+4
|
* Protect [ commands from strings beginning with "-"Patrick McDermott2019-03-131-2/+2
|
* ob_parse_package_metadata(): Eliminate cachingPatrick McDermott2019-03-131-1/+1
| | | | Cf. commit da45b6d.
* opkbuild, ob-*: Exit with error on ob_set_text_domain() failurePatrick McDermott2019-03-131-1/+4
|
* ob-*: Add more return statementsPatrick McDermott2019-03-131-0/+10
|
* ob-*: Replace exit with returnPatrick McDermott2019-03-131-2/+2
|
* opkbuild, ob-*: set -ePatrick McDermott2019-03-131-0/+2
|
* ob-gencontrol: Replace echo with here-documentPatrick McDermott2019-03-131-1/+4
|
* ob-*: Move function definitions before points of usePatrick McDermott2018-12-251-29/+29
|
* opkbuild, ob-*: Parameterize SHSOEXT and LIBOPKBUILD_SHSOVERSIONPatrick McDermott2018-12-241-1/+1
|
* opkbuild, ob-*: Update header comments, copyrights, and licensePatrick McDermott2018-12-241-9/+9
|
* opkbuild, ob-*: Drop magic number interpreter linesPatrick McDermott2018-12-221-2/+0
|
* opkbuild, ob-*: Use variables set by shppPatrick McDermott2018-12-221-1/+1
|
* ob_use(): RemovePatrick McDermott2018-12-221-5/+0
|
* opkbuild, ob-*: Load newly linked libopkbuildPatrick McDermott2018-12-221-1/+1
|
* libopkbuild: Change output file extension to .shoPatrick McDermott2018-12-221-1/+1
|
* ob-gencontrol: Drop trailing commas and spaces in depsP. J. McDermott2016-01-241-1/+2
|
* ob-*: Use OPK_PACKAGES_REDUCEDP. J. McDermott2014-09-211-1/+1
|
* ob-gencontrol: Replace newlines in MaintainerP. J. McDermott2014-08-181-1/+2
|