Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | ob-applypatches: Skip non-existing files. | P. J. McDermott | 2013-09-08 | 1 | -0/+1 |
| | | | | If the patches directory exists but is empty, ${patch} will be "../patches/*". | ||||
* | ob-applypatches: Only run if sources were found. | P. J. McDermott | 2013-09-07 | 1 | -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. McDermott | 2013-09-07 | 1 | -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. McDermott | 2013-08-18 | 10 | -10/+10 |
| | |||||
* | ob-genchanges: Add informational output. | P. J. McDermott | 2013-08-17 | 1 | -0/+2 |
| | |||||
* | opkbuild: Enable ob-genchanges. | P. J. McDermott | 2013-08-17 | 1 | -2/+4 |
| | |||||
* | ob-genchanges: Implement, finally. | P. J. McDermott | 2013-08-17 | 2 | -1/+107 |
| | |||||
* | ob-applypatches: Fix to work with BusyBox patch. | P. J. McDermott | 2013-06-18 | 1 | -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. McDermott | 2013-06-15 | 1 | -5/+5 |
| | | | | Otherwise, the option arguments might be collected by the opt_uid0_cmd. | ||||
* | s/@@LIBOPKBUILD@@/@@PKGLIBDIR@@/ in sources. | P. J. McDermott | 2013-06-15 | 9 | -9/+9 |
| | |||||
* | Remove old input makefiles. | P. J. McDermott | 2013-06-15 | 1 | -83/+0 |
| | |||||
* | Make src/ non-recursive. | P. J. McDermott | 2013-06-15 | 1 | -0/+29 |
| | |||||
* | Exit on failure to parse package metadata. | P. J. McDermott | 2012-11-16 | 9 | -18/+18 |
| | |||||
* | Reduce platforms for OPK_PACKAGES. | P. J. McDermott | 2012-11-15 | 1 | -2/+6 |
| | |||||
* | Simplify variable setting; save a fork. | P. J. McDermott | 2012-11-15 | 1 | -1/+1 |
| | |||||
* | Add some more error handling to opkbuild. | P. J. McDermott | 2012-11-14 | 1 | -12/+37 |
| | |||||
* | Remove code for upstream build system arches. | P. J. McDermott | 2012-11-14 | 1 | -13/+2 |
| | |||||
* | Set an OPK_TOOL_PREFIX environment variable. | P. J. McDermott | 2012-11-14 | 1 | -0/+1 |
| | |||||
* | Make ob-unpacksource a bit more robust. | P. J. McDermott | 2012-11-10 | 1 | -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. McDermott | 2012-10-27 | 1 | -1/+3 |
| | |||||
* | Having no upstream/native sources is not an error. | P. J. McDermott | 2012-10-27 | 1 | -3/+4 |
| | |||||
* | Remove old oh-* utilities. | P. J. McDermott | 2012-10-27 | 3 | -163/+0 |
| | |||||
* | Make ob_get_doc_files() accept arch and plat args. | P. J. McDermott | 2012-10-25 | 1 | -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. McDermott | 2012-10-25 | 3 | -34/+34 |
| | |||||
* | Reduce platforms in dep fields in ob-gencontrol. | P. J. McDermott | 2012-10-25 | 1 | -3/+3 |
| | |||||
* | Look both ways before installing documentation. | P. J. McDermott | 2012-10-24 | 1 | -24/+32 |
| | |||||
* | Look both ways before unpacking sources. | P. J. McDermott | 2012-10-24 | 1 | -3/+7 |
| | |||||
* | Add missing "ob_use deps" in ob-gencontrol. | P. J. McDermott | 2012-10-23 | 1 | -0/+1 |
| | |||||
* | Perform var substitutions on some control fields. | P. J. McDermott | 2012-10-23 | 1 | -1/+6 |
| | |||||
* | Reduce binary package dependency fields. | P. J. McDermott | 2012-10-22 | 1 | -0/+12 |
| | |||||
* | Expect >= 1 platconf dirs from ob_get_system_path. | P. J. McDermott | 2012-10-20 | 1 | -7/+17 |
| | |||||
* | s/config/platconf/ in ob-installplatconf. | P. J. McDermott | 2012-10-20 | 1 | -4/+4 |
| | | | | This changed in SPF 2.0. | ||||
* | Add build helper directory to beginning of PATH. | P. J. McDermott | 2012-10-20 | 1 | -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. McDermott | 2012-10-20 | 1 | -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. McDermott | 2012-10-16 | 13 | -13/+13 |
| | |||||
* | Fix missing platform for src opk files. | P. J. McDermott | 2012-10-16 | 1 | -1/+1 |
| | |||||
* | Add host platform to opk file names. | P. J. McDermott | 2012-10-16 | 1 | -2/+5 |
| | |||||
* | Don't hardcode the host arch in ob-buildopk. | P. J. McDermott | 2012-10-16 | 1 | -3/+6 |
| | |||||
* | Make ob-gencontrol write a "Platform" field. | P. J. McDermott | 2012-10-16 | 1 | -4/+8 |
| | |||||
* | Make ob-gencontrol write a "Maintainer" field. | P. J. McDermott | 2012-10-16 | 1 | -0/+1 |
| | |||||
* | Don't rely on POSIX-conformant comment parsing. | P. J. McDermott | 2012-10-13 | 1 | -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. McDermott | 2012-10-11 | 1 | -2/+8 |
| | |||||
* | Only set toolchain prefix when cross building. | P. J. McDermott | 2012-10-11 | 1 | -1/+7 |
| | |||||
* | Temporarily disable invocation of ob-genchanges. | P. J. McDermott | 2012-10-11 | 1 | -1/+1 |
| | |||||
* | Don't omit arch:all packages from OPK_PACKAGES. | P. J. McDermott | 2012-10-10 | 1 | -1/+2 |
| | |||||
* | Ensure ob-* utils can be run w/o BINDIR in PATH. | P. J. McDermott | 2012-10-09 | 2 | -11/+12 |
| | |||||
* | Unset IFS after changing it. | P. J. McDermott | 2012-10-09 | 1 | -1/+2 |
| | |||||
* | Fix patch pathnames. | P. J. McDermott | 2012-10-09 | 1 | -0/+1 |
| | |||||
* | Replace unsafe/unnecessary ls command in for loop. | P. J. McDermott | 2012-10-09 | 1 | -1/+8 |
| | |||||
* | Fix install destination of runtime platconf files. | P. J. McDermott | 2012-10-09 | 1 | -1/+1 |
| |