summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* ob-checkbuilddeps: Finally implement.P. J. McDermott2014-05-121-0/+61
|
* ob-installplatconf: Check for "/" in destination.P. J. McDermott2014-05-121-2/+5
| | | | | With a platconf line like "foo bar", ob-installplatconf would install "foo" to "bar/bar".
* ob-buildenv: Detect helpers at run time.P. J. McDermott2014-03-051-3/+3
|
* opkbuild: Preserve files' metadata in source pkgs.P. J. McDermott2014-02-261-1/+1
|
* ob-genchanges: Only list opk files actually built.P. J. McDermott2014-02-241-1/+1
| | | | | | | | | | | | | | | | | | | Otherwise, ob-genchanges looks for files that don't exist: ob-genchanges: Generating "gcc-4.7_4.7.3+sip1-1_i686-linux-glibc_dev.changes"... wc: ../../g++-4.7-amd64-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk: No such file or directory wc: ../../gcc-4.7-amd64-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk: No such file or directory And it tries to describe them too: Files: 4883209 base cpp-4.7_4.7.3+sip1-1_i686-linux-glibc_all.opk base g++-4.7-amd64-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk 5313009 base g++-4.7-i686-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk base gcc-4.7-amd64-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk 1652 base gcc-4.7-common_4.7.3+sip1-1_all_all.opk 7450176 base gcc-4.7-i686-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk [...]
* ob-installdocs: Support patterns in *.pkg/docs.P. J. McDermott2013-09-201-18/+32
|
* ob-genchanges: Make substitutions in descriptions.P. J. McDermott2013-09-181-2/+5
|
* ob-applypatches: Skip non-existing files.P. J. McDermott2013-09-081-0/+1
| | | | If the patches directory exists but is empty, ${patch} will be "../patches/*".
* ob-applypatches: Only run if sources were found.P. J. McDermott2013-09-071-1/+1
| | | | | | | | | | | | | | The following can happen, for example, when using a "source" target to download upstream sources: $ opkbuild -bCT source [...] ob-unpacksource: No native or upstream sources found ob-applypatches: Applying patch "01_fix-ob-applypatches-to-work-with-busybox.patch"... /usr/local/bin/ob-applypatches: 53: cd: can't cd to src patch: **** Can't open patch file ../../patches/01_fix-ob-applypatches-to-work-with-busybox.patch : No such file or directory ob-applypatches: Error: Can't apply patch "01_fix-ob-applypatches-to-work-with-busybox.patch" [...]
* opkbuild: Run ob-genchanges only if -T not given.P. J. McDermott2013-09-071-5/+2
| | | | | | | | | | This fixes the following superfluous errors: $ opkbuild -bCT source [...] ob-genchanges: Generating "opkbuild_3.0.0~beta1-1_core-linux-eglibc_dev.changes"... wc: ../../libopkbuild.1_3.0.0~beta1-1_all_all.opk: No such file or directory wc: ../../opkbuild_3.0.0~beta1-1_all_all.opk: No such file or directory
* src/*.sh: Add ".sh" to header comment.P. J. McDermott2013-08-1810-10/+10
|
* ob-genchanges: Add informational output.P. J. McDermott2013-08-171-0/+2
|
* opkbuild: Enable ob-genchanges.P. J. McDermott2013-08-171-2/+4
|
* ob-genchanges: Implement, finally.P. J. McDermott2013-08-172-1/+107
|
* ob-applypatches: Fix to work with BusyBox patch.P. J. McDermott2013-06-181-1/+3
| | | | | | | | | | | | | | | | | | | | | BusyBox's patch applet doesn't support the -d option, which is specified by POSIX.1. Fixes: ob-applypatches: Applying patch "01_better-handle-unrecognized-options.patch"... patch: invalid option -- 'd' BusyBox v1.21.0 (2013-06-15 09:00:55 EDT) multi-call binary. Usage: patch [OPTIONS] [ORIGFILE [PATCHFILE]] -p,--strip N Strip N leading components from file names -i,--input DIFF Read DIFF instead of stdin -R,--reverse Reverse patch -N,--forward Ignore already applied patches -E,--remove-empty-files Remove output files if they become empty ob-applypatches: Error: Can't apply patch "01_better-handle-unrecognized-options.patch"
* opkbuild: Separate opt_uid0_cmd non-option args.P. J. McDermott2013-06-151-5/+5
| | | | Otherwise, the option arguments might be collected by the opt_uid0_cmd.
* s/@@LIBOPKBUILD@@/@@PKGLIBDIR@@/ in sources.P. J. McDermott2013-06-159-9/+9
|
* Remove old input makefiles.P. J. McDermott2013-06-151-83/+0
|
* Make src/ non-recursive.P. J. McDermott2013-06-151-0/+29
|
* Exit on failure to parse package metadata.P. J. McDermott2012-11-169-18/+18
|
* Reduce platforms for OPK_PACKAGES.P. J. McDermott2012-11-151-2/+6
|
* Simplify variable setting; save a fork.P. J. McDermott2012-11-151-1/+1
|
* Add some more error handling to opkbuild.P. J. McDermott2012-11-141-12/+37
|
* Remove code for upstream build system arches.P. J. McDermott2012-11-141-13/+2
|
* Set an OPK_TOOL_PREFIX environment variable.P. J. McDermott2012-11-141-0/+1
|
* Make ob-unpacksource a bit more robust.P. J. McDermott2012-11-101-2/+2
| | | | | Some tar archives (e.g. the GNU Binutils source archive) don't have explicit directory entries.
* Support multiple build helpers in PATH.P. J. McDermott2012-10-271-1/+3
|
* Having no upstream/native sources is not an error.P. J. McDermott2012-10-271-3/+4
|
* Remove old oh-* utilities.P. J. McDermott2012-10-273-163/+0
|
* Make ob_get_doc_files() accept arch and plat args.P. J. McDermott2012-10-251-1/+2
| | | | | | | 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-253-34/+34
|
* Reduce platforms in dep fields in ob-gencontrol.P. J. McDermott2012-10-251-3/+3
|
* Look both ways before installing documentation.P. J. McDermott2012-10-241-24/+32
|
* Look both ways before unpacking sources.P. J. McDermott2012-10-241-3/+7
|
* Add missing "ob_use deps" in ob-gencontrol.P. J. McDermott2012-10-231-0/+1
|
* Perform var substitutions on some control fields.P. J. McDermott2012-10-231-1/+6
|
* Reduce binary package dependency fields.P. J. McDermott2012-10-221-0/+12
|
* Expect >= 1 platconf dirs from ob_get_system_path.P. J. McDermott2012-10-201-7/+17
|
* s/config/platconf/ in ob-installplatconf.P. J. McDermott2012-10-201-4/+4
| | | | This changed in SPF 2.0.
* Add build helper directory to beginning of PATH.P. J. McDermott2012-10-201-1/+1
| | | | | This should prevent the unintended use of old copies of build helper utilities that happened to be installed in a directory in the PATH.
* Fix creation of documentation directories.P. J. McDermott2012-10-201-3/+5
| | | | | | | | | | | | | | | | | | | Before: $ ls -l usr/share/doc total 4 drwxr-xr-x 2 pj pj 4096 Oct 19 23:24 fakeroot-doc $ ls -l usr/share/doc/fakeroot-doc total 0 lrwxrwxrwx 1 pj pj 23 Oct 19 23:24 fakeroot -> /usr/share/doc/fakeroot After: $ ls -l usr/share/doc total 0 lrwxrwxrwx 1 pj pj 23 Oct 20 12:58 fakeroot-doc -> /usr/share/doc/fakeroot $ ls -l usr/share/doc/fakeroot-doc lrwxrwxrwx 1 pj pj 23 Oct 20 12:58 usr/share/doc/fakeroot-doc -> /usr/share/doc/fakeroot
* Additionally license everything under GPLv2.P. J. McDermott2012-10-1613-13/+13
|
* Fix missing platform for src opk files.P. J. McDermott2012-10-161-1/+1
|
* Add host platform to opk file names.P. J. McDermott2012-10-161-2/+5
|
* Don't hardcode the host arch in ob-buildopk.P. J. McDermott2012-10-161-3/+6
|
* Make ob-gencontrol write a "Platform" field.P. J. McDermott2012-10-161-4/+8
|
* Make ob-gencontrol write a "Maintainer" field.P. J. McDermott2012-10-161-0/+1
|
* Don't rely on POSIX-conformant comment parsing.P. J. McDermott2012-10-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | POSIX.1-2008 specifies that comments in makefile syntax start with a "#" and continue "until an **unescaped** <newline> is reached" (empahsis added). FreeBSD's pmake apparently ignores the backslash before the newline in comments and prints a "Need an operator" error message while parsing a generated src/Makefile: $ make Making executable files... "Makefile", line 49: Need an operator make: fatal errors encountered -- cannot continue NetBSD's pmake on the other hand appears to be POSIX-conformant in this regard. See also: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html#tag_20_76_13_01 https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Backslash_002dNewline-Comments.html
* Run mkdir in ob-installdocs only if necessary.P. J. McDermott2012-10-111-2/+8
|
* Only set toolchain prefix when cross building.P. J. McDermott2012-10-111-1/+7
|