Commit Graph

259 Commits

Author SHA1 Message Date
Natanael Copa 046cebc28b abuild: sort commands in helptext alpabetically 2014-09-25 07:49:31 +00:00
Natanael Copa febda24d52 abuild: use cat <<EOF instead of tons of echo for help text
no code changes
2014-09-25 07:49:31 +00:00
Natanael Copa 9842fbe437 abuild: update abuildrepo index after cleanoldpkg 2014-09-25 07:42:01 +00:00
Natanael Copa 7af694c9ad abuild: check for suid binaries
Rais an error when binaries with suid bit set found. You need set
options="suid" to allow it.
2014-09-25 07:34:57 +00:00
Eivind Uggedal 6bc28a2a1c abuild: fix typo in help for -A 2014-06-23 15:47:53 +02:00
Eivind Uggedal cabeb70e10 abuild: compress man pages 2014-06-23 07:47:51 +00:00
Natanael Copa 4738deefdd abuild: show 'prepare' in help text
ref #2878
2014-04-30 13:59:18 +00:00
Natanael Copa ad9db219b8 fix permissions 2014-03-31 11:49:48 +00:00
Natanael Copa 2d9dd59b67 abuild: add -A for print arch 2014-03-31 08:51:50 +00:00
Bartłomiej Piotrowski 3a48923aa5 abuild: fix typo in rpath warning 2014-03-18 13:58:29 +01:00
Carlo Landmeter 7f56562337 abuild: switch to svn co instead of export
Some projects use the svn revision in the version number.
svn co brings back the revision number but increases the archive size.
2014-02-18 08:43:48 +00:00
Carlo Landmeter 9d300d72e4 abuild: fix typo in snapshot help 2014-02-18 08:42:01 +00:00
Natanael Copa 9cb1ad3cff abuild: implement -dbg subpackages
Patch from Andrew Manison.

ref #626
2014-01-16 14:33:45 +01:00
Natanael Copa 8d6009110c abuild: exit with error if pkgrel is unset 2014-01-13 12:38:58 +00:00
Natanael Copa cb2c174100 abuild: filter out empty lines when scanning for SO dependencies
This works around a bug in busybox 1.22.0 that makes 'grep -w ^' hang.
It is triggered when there are no deps. (eg. musl)
2014-01-06 13:32:59 +00:00
Timo Teräs eee827b16b abuild: use posix syntax for find 2014-01-03 23:15:09 +02:00
Natanael Copa 212ba26389 abuild: log repo/pkgname-version 2013-12-16 07:36:00 +00:00
Leslie P. Polzer b4fb3c6a81 abuild: print a message if aborting due to architecture mismatch. 2013-11-15 16:04:04 +00:00
Natanael Copa ef0d32d15a abuild: add support for ABUILD_BLACKLIST
The ABUILD_BLACKLIST can be used to give abuild a list of packages that
is known to fail to build. This can be used to reduce build retries
when building many/all packages recursively.
2013-11-01 09:14:13 +00:00
Natanael Copa a0d3624b05 abuild: remove debug message 2013-11-01 09:01:26 +00:00
Leslie P. Polzer 3ba814494f Fix typo (busbox -> busybox). 2013-10-31 12:55:38 +00:00
Natanael Copa 92a0f2da31 abuild: move /usr/share/help to -doc subpackage 2013-10-31 12:55:23 +00:00
Natanael Copa 46dc398114 abuild: check early for signing keys
fi the signing key is missing we will fail. Rather than fail after
compile we check existance of signing keys before we start.
2013-10-25 08:43:14 +00:00
Natanael Copa 98fe44cb73 abuild: also install 'depends' with 'abuild deps'
fixes #2270
2013-10-25 08:20:21 +00:00
Natanael Copa 4757588caf functions: rename abuild_ver to program_version 2013-10-25 07:26:22 +00:00
Natanael Copa 1822f3f624 functions: rename prog to program 2013-10-25 07:24:46 +00:00
Natanael Copa 0c02afc694 abuild: move various functions to the shared functions.sh
specifically, every script that reads/parses ./APKBUILD needs to set
CARCH.
2013-10-25 07:18:11 +00:00
Natanael Copa 3092986fc6 abuild: add cmake files to -dev 2013-10-04 18:22:51 +00:00
Natanael Copa f95366002f abuild: support qt5 mkspecs 2013-10-04 14:15:17 +00:00
Timo Teräs 9e9e27b1db abuild: fix error message in update_config_sub 2013-09-26 10:22:13 +03:00
Natanael Copa dd3643574f abuild: allow circular makedepends
Some packages like gcc-gnat needs bootstrapping. We need to allow
circular makedepends so we can specify gcc-gnat as makedepends for gcc.
2013-09-10 13:02:01 +00:00
Natanael Copa a2bab13656 abuild: fix recursive building
fixes bug introduced with c6b0de32a (abuild: add makedepends_build and
makedepends_host for crosscompile)
2013-09-10 12:58:56 +00:00
Natanael Copa 23c760b499 abuild: add a cross_compiling helper function
to detect if we cross compile
2013-09-06 11:04:14 +00:00
Natanael Copa 7bda0ceadb abuild: make sure cleanup returns false in native compiling 2013-09-05 08:25:15 +00:00
Timo Teras c6b0de32a2 abuild: add makedepends_build and makedepends_host for crosscompile 2013-09-05 08:21:29 +00:00
Natanael Copa 9f81a14456 abuild: set CTARGET_ARCH and CTARGET_LIBC
For better crosscompile support
2013-09-04 14:06:48 +00:00
Natanael Copa b9305bad3d abuild: post check for /usr/var 2013-09-03 14:08:16 +00:00
Natanael Copa f525e735c2 abuild: export CC properly 2013-09-03 14:07:43 +00:00
Natanael Copa e2838fbb50 abuild: make it configurable what to cleanup and when
allow user specify if they want uninstall deps, remove srcdir and/or
pkgdir on failure or success.

We introduce CLEANUP and ERROR_CLEANUP config options in
/etc/abuild.conf. Valid values are: pkgdir srcdir deps.
2013-08-01 12:16:57 +00:00
Natanael Copa 11d9a7d601 abuild: set and export a default CC
seems like configure thinks we are crosscompiling unless we set CC when
--build and --host are specified.
2013-08-01 08:46:12 +00:00
Natanael Copa 7472b59bb4 abuild: always set CBUILD and CTARGET if unset 2013-08-01 06:36:45 +00:00
Natanael Copa 0190dfaf8f abuild: add safety check so we dont scan elfs outside our pkgdir
this is to catch bugs in abuild itself early
2013-07-30 12:27:03 +00:00
Natanael Copa f43f6d312b abuild: fix ldpath handling
it wrongly scanned /lib instead of $datadir/lib, causing bad things to
happen when scanning provides
2013-07-30 12:16:44 +00:00
Timo Teräs 21fb14d4e1 abuild: only update config.sub if needed
its only arm that needs it
2013-07-29 14:10:38 +00:00
Timo Teräs c07db665ec abuild: only update config.sub if our version is newer
and exit with error if not
2013-07-29 07:33:23 +00:00
Natanael Copa 8f93ada4ac Revert "abuild: export CHOST, CARCH and CLIBC and let config.guess use CHOST"
This reverts commit 4234a10e92.

We will not use config.guess. Instead we will use --build and --host
everywhere.
2013-07-29 06:40:41 +00:00
Natanael Copa cbee419616 abuild: remove post_unpack
instead, provide 'update_config_sub' and let aports that needs replace
config.sub call it.
2013-07-26 11:56:05 +00:00
Natanael Copa 8112d2422a abuild: use deps/undeps instead or installdeps/uninstalldeps 2013-07-26 11:04:40 +00:00
Natanael Copa 728ce0e6de abuild: dont run 'build' from rootpkg
we want be able to run build and rootpkg separately. so you can stop
in the process, fix things, and then continue with 'abuild rootpkg' to
generate the package manually.
2013-07-26 09:18:55 +00:00
Natanael Copa b0ea14135d abuild: check for /usr/lib/charset.alias and error out if found 2013-07-26 07:22:45 +00:00