summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* libopkbuild: Initialize OPTIND before getoptsPatrick McDermott2018-12-242-0/+3
| | | | | See commit 0f5caf14a3124c24f38f340fd6504532f07d9617 for more information.
* ob_parse_dep(), ob_reduce_deps(): Initialize OPTIND before getoptsPatrick McDermott2018-12-241-0/+2
| | | | | | | | Dash and BusyBox ash apparently do this themselves, but GNU Bash (and other shells?) don't. POSIX says that getopts can be used more than once if OPTIND is set to 1, but using getopts multiple times with different parameters without setting OPTIND to 1 "produces unspecified results".
* lib/local.mk, lib/package/local.mk: Drop leading spacesPatrick McDermott2018-12-222-2/+2
| | | | I've no idea how those got there.
* metadata: Conditionally build configured pluginPatrick McDermott2018-12-221-1/+4
|
* metadata: Drop system name from function namesPatrick McDermott2018-12-222-9/+9
|
* libopkbuild: Drop include guardsPatrick McDermott2018-12-2210-30/+0
|
* Rewrite libopkbuild sources list buildingPatrick McDermott2018-12-223-13/+16
|
* ob_use(): RemovePatrick McDermott2018-12-2210-68/+0
|
* lib/load.sh: Neuter ob_use(), don't load modulesPatrick McDermott2018-12-221-2/+2
|
* Remove copyright notices from local.mk filesPatrick McDermott2018-12-223-54/+0
| | | | These contain just lists of files and shouldn't be copyrightable.
* libopkbuild: Change output file extension to .shoPatrick McDermott2018-12-221-2/+2
|
* libopkbuild: Use shppPatrick McDermott2018-12-224-10/+10
|
* Switch to using GNU AutomakePatrick McDermott2018-12-203-3/+3
|
* parse_dep(): Rewrite parsing code to use sed's EREP. J. McDermott2014-10-251-45/+25
|
* ob_get_binary_packages(): Use printf not echoP. J. McDermott2014-09-211-1/+1
|
* Update copyright years.P. J. McDermott2014-05-151-1/+1
|
* ob_match_plat(): Add back plat:all check.P. J. McDermott2014-05-151-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. McDermott2014-05-151-19/+25
| | | | tests/ob_arch_is_concerned.sh now passes.
* Move plat:all check to ob_plat_is_concerned().P. J. McDermott2014-05-151-26/+25
| | | | tests/ob_plat_is_concerned.sh now passes.
* ob_match_plat(): Add missing platform check.P. J. McDermott2014-05-081-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.
* ob_get_system_path(): Drop "build-helper".P. J. McDermott2014-03-051-15/+0
|
* _ob_parse_control_error(): Drop quotes around int.P. J. McDermott2013-08-181-1/+1
|
* lib/*.sh, lib/*/*.sh: Add ".sh" to header comment.P. J. McDermott2013-08-1811-11/+11
|
* lib/*.sh, lib/*/*.sh: Rewrite include guards.P. J. McDermott2013-08-1811-22/+22
| | | | This is one step toward adding `set -u` to opkbuild.
* ob_reduce_deps(): Add "unset IFS" after a loop.P. J. McDermott2013-08-181-0/+1
|
* _ob_local(), _ob_return(): Remove.feature/remove-_ob_localP. J. McDermott2013-08-181-29/+0
|
* lib/metadata/proteanos.sh: Remove _ob_local.P. J. McDermott2013-08-181-61/+40
|
* lib/metadata.sh: Remove _ob_local.P. J. McDermott2013-08-181-132/+111
| | | | Also fix variable declarations in ob_match_arch().
* lib/package/2.sh: Remove _ob_local.P. J. McDermott2013-08-181-56/+43
|
* lib/package.sh: Remove _ob_local.P. J. McDermott2013-08-181-176/+151
|
* lib/deps.sh: Remove _ob_local.P. J. McDermott2013-08-181-118/+125
|
* lib/load.sh: Remove _ob_local.P. J. McDermott2013-08-181-11/+8
|
* lib/changelog.sh: Remove _ob_local.P. J. McDermott2013-08-181-100/+104
|
* lib/control.sh: Reflow long command lines.P. J. McDermott2013-08-181-6/+3
|
* lib/control.sh: Remove _ob_local.P. J. McDermott2013-08-181-119/+125
|
* lib/locale.sh: Remove _ob_local.P. J. McDermott2013-08-181-38/+24
|
* s/@@LIBOPKBUILD@@/@@PKGLIBDIR@@/ in sources.P. J. McDermott2013-06-151-2/+2
|
* Remove old input makefiles.P. J. McDermott2013-06-153-223/+0
|
* Make lib/metadata/ non-recursive.P. J. McDermott2013-06-151-0/+20
|
* Make lib/package/ non-recursive.P. J. McDermott2013-06-151-0/+20
|
* Make lib/ non-recursive.P. J. McDermott2013-06-151-0/+28
|
* 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.
* Use cat in ob_parse_{control,changelog}().P. J. McDermott2012-11-222-2/+6
| | | | This allows lines to be read from standard input.
* Fix arguments to _ob_parse_changelog_error().P. J. McDermott2012-11-221-11/+13
|
* 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: "*"
* ob_set_substvar(): Escape single quotes in value.P. J. McDermott2012-11-161-0/+3
|
* Remove code for upstream build system arches.P. J. McDermott2012-11-141-9/+0
|
* Don't print error when there's no substvars file.P. J. McDermott2012-11-101-1/+3
|
* Reduce platforms in ob_get_binary_packages().P. J. McDermott2012-11-051-2/+11
|
* Refactor ob_get_binary_packages() arch reduction.P. J. McDermott2012-11-051-11/+8
|