Natanael Copa
60de2a776a
abuild: add support to mask out given CLIBC in options
...
For example, to mask out musl, add:
options="!libc_musl"
2013-07-22 14:29:56 +00:00
Natanael Copa
c20c613230
abuild: fix CARCH/CLIBC
...
We need set it in global scope as we need it even if we have not called
sanitycheck
2013-07-22 14:14:32 +00:00
Natanael Copa
3935984872
abuild: dont worry about ALPINE_LIBC
...
we better fix the affected apkbuilds
2013-07-19 12:59:47 +00:00
Timo Teräs
d4627112a9
abuild: verify: only check strongest checksum which is present
2013-07-19 11:43:24 +00:00
Timo Teräs
b48df6c575
abuild: set CARCH and CLIBC always, guess from CHOST if not set
2013-07-19 11:39:50 +00:00
Natanael Copa
ad50945d80
abuild: use versioned depends for -dev subpackage
2013-07-16 09:30:09 +00:00
Dubiousjim
811a215018
various: tweak opening comments, whitespace
...
Also remove incomplete efforts at listing "Depends on: ..."
2013-07-08 14:49:36 +00:00
Natanael Copa
9e94ea1844
abuild: also look in /lib for .a files for -dev subpackage
2013-07-08 12:46:50 +00:00
Natanael Copa
8c12f9f61e
abuild: automatically replace the config.sub with our version
...
introduce post_unpack that by default will search for config.sub and
config.guess and replace those if found.
we ship our own version of those files
2013-07-02 11:10:04 +02:00
Natanael Copa
d1b6da646e
abuild: whitespace fixes. use longopts for apk
2013-07-02 09:21:50 +02:00
Natanael Copa
60eb0dc80f
abuild: explicitly use so:depends when croscompiling
2013-07-02 09:14:31 +02:00
Natanael Copa
4edf77e50f
abuild: crosscompile support for strip
2013-07-02 08:18:47 +02:00
Natanael Copa
076ecdf315
abuild: check for more common spell errors
...
check for pkguser, pkggroup, subpackage
2013-07-02 08:16:18 +02:00
Natanael Copa
65edee22f2
abuild: run subpackage split functions in a subshell
...
so subfunctions don't overwrite the global variables like depends, pkgdesc etc.
2013-04-23 06:08:52 +00:00
Natanael Copa
8b3ecdf1f4
abuild: add support for optional remote logging
...
via ABUILD_LOG_CMD config option
This is supposed to be used on the build servers
2013-04-19 11:22:32 +02:00
Natanael Copa
5fca471ab2
abuild: treat syslinux's .c32 files as shared objects
...
syslinux switched to elf format from 5.0
2013-02-21 15:30:09 +00:00
Natanael Copa
a3fc9a056f
abuild: support filename::fileuri in source
...
This is an alternative to saveas-*:// which should be slightly more
intuitive. It also is similar to what arch linux does.
2013-02-20 13:38:22 +00:00
Natanael Copa
692a31793c
abuild: fix warning about md5check
2013-02-13 07:31:00 +00:00
Natanael Copa
5f453f1cde
abuild: use REPODEST as abuildrepo if specified
...
This has the nice effect that we get the index automatically built for
our REPODEST.
Discussion here:
http://lists.alpinelinux.org/alpine-devel/0249.html
2013-02-07 16:03:53 +00:00
Natanael Copa
e0217ee520
abuild: update abuild repo index when cleaning packages
2013-02-07 15:29:53 +00:00
Natanael Copa
db62857505
abuild: fix spelling in comment
2013-02-07 15:03:48 +00:00
Natanael Copa
36a55af4a0
abuild: verify pkgdesc length
...
fixes #1477
2013-02-07 14:54:59 +00:00
Carlo Landmeter
3ac1b1294a
abuild: add git/svn snapshot hook
...
ref #1537
2013-01-08 00:45:53 +01:00
Natanael Copa
85cd8c961d
abuild: improve sanitycheck to check sanity of all checksums
2012-11-29 13:09:57 +01:00
Natanael Copa
630ec7268a
abuild: use sha256 and sha512 sums instead of md5
...
ref #1484
2012-11-29 11:39:33 +01:00
Natanael Copa
30afd29665
abuild: report error if md5sum exist but no sources
2012-11-29 08:59:37 +01:00
Natanael Copa
ad777448b3
abuild: deal with duplicate provides
...
- remove duplicate provides with so version 0
- exit with error if there are multiple provides with different versions
2012-10-30 15:23:20 +00:00
Natanael Copa
f640500e4c
abuild: include /usr/share/ri in -doc packages
2012-10-11 18:47:29 +00:00
Natanael Copa
f8ac8f3049
abuild: remove predefined mod splitfunc
...
It is never and should never be used.
2012-10-10 17:48:41 +00:00
Natanael Copa
c15218221e
abuild: include Qt mkspecs in -dev packages
2012-10-10 17:48:41 +00:00
Natanael Copa
d12f8b2583
abuild: add support for predefined libs splitfunc
2012-10-10 17:48:41 +00:00
Natanael Copa
a9a17c9a10
abuild: implement somask
2012-10-10 17:24:09 +00:00
Natanael Copa
7ee8dbc044
abuild: postcheck for textrels
2012-10-04 09:42:25 +00:00
Natanael Copa
9b3f778971
abuild: show package size in human readable format
2012-10-04 06:52:19 +00:00
Natanael Copa
1fa61905d1
abuild: add option sover-namecheck
...
So far only openjdk6 needs it and uclibc cannot have it, so we make
it optional.
2012-10-02 18:38:32 +00:00
Natanael Copa
b49589e291
abuild: show all detected dependencies
...
This will hopefully help detect depends problems early
2012-10-02 18:38:12 +00:00
Natanael Copa
df83f78d71
abuild: check is so: provides are provided by own subpackage
2012-10-02 18:36:30 +00:00
Natanael Copa
3bd2388915
abuild: depend on so: provides when available
...
and fall back to traditional so dependency tracing when not available
also sort the deps
2012-10-02 11:30:14 +00:00
Natanael Copa
d02257f0c8
abuild: remove duplicates from provides
2012-09-19 06:18:56 +00:00
Natanael Copa
fe6419454b
abuild: avoid scanning dirs more than once
2012-09-14 06:09:35 +00:00
Natanael Copa
53fb2f62ab
abuild: fix typo of rpaths
2012-09-14 06:09:35 +00:00
Natanael Copa
0af2038168
abuild: add support for option 'ldpath-recursive'
...
This option will enable recursive search of shared-objects, which is
disable by default.
2012-09-10 11:53:44 +00:00
Natanael Copa
c57a9070f2
abuild: dont add .so files with mismatching soname version
...
Skip .so files without version number in filename when soname has
version number.
This solves issue with libgcj/gcc-java who ships both libgcj_bc.so and
libgcj_bc.so.1.0.0 which both has soname libgcj_bc.so.1
2012-09-08 13:45:34 +00:00
Natanael Copa
d15a37b230
abuild: add datadir prefix to ldpath
...
So we actually scan those dirs
2012-09-08 13:43:59 +00:00
Natanael Copa
dfa8e825e7
abuild: error or warn if bad rpaths are found
2012-09-06 13:28:30 +00:00
Natanael Copa
c6b7fa8a6a
abuild: only scan /lib /usr/lib, $rpath and $ldpath for provides
...
This is to avoid scan dlopen'ed plugins.
We scan any rpath set by any subpackage from same apkbuild. If it depends
on rpath to other package, developer will have to add that to ldpath.
This change means we have to move generation of .provides-so and .needs-so
til after all .rpaths are generated.
2012-09-06 13:00:54 +00:00
Natanael Copa
14af6a80cf
abuild: include correct version number for provides
...
This changes the format of .provides-so file. We now add a column with
the version number
2012-09-05 12:28:05 +00:00
Natanael Copa
a5cc84e229
abuild: use 'so:' as 'namespace' for provides
2012-09-05 11:09:57 +00:00
Natanael Copa
7ca99d75b3
abuild: add version number to provides
...
So it is not treated as a special 'virtual'
We use version number 0 for now.
2012-09-05 08:10:13 +00:00
Natanael Copa
76e93e602f
abuild: add provides information
2012-09-04 13:37:26 +00:00