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
Natanael Copa
87953c7115
abuild: use scanelf --soname to find the provides-so
2012-09-04 13:35:21 +00:00
Natanael Copa
a5f67dcf25
abuild: add support for uncompressed tar archives
2012-05-23 09:42:27 +00:00
Natanael Copa
bf0b28da6b
abuild: create group before user
2012-04-24 09:01:59 +00:00
Natanael Copa
41e28f11ba
abuild: allow skip FHS check
...
some package (alpine-baselayout) needs to create /usr/local/bin etc.
2012-02-29 16:01:54 +00:00
Natanael Copa
cabbc874e6
abuild: check for FHS forbidden dirs
2012-02-29 15:53:42 +00:00
Natanael Copa
affb05d446
abuild: use file descriptor 9 instead of 200
...
POSIX only requires that filedesriptors 0-9 are available for shell
redirections.
2012-02-28 07:27:29 +00:00
Natanael Copa
51dd555cf2
abuild: fix replaces_priority
...
was totally broke.
2012-02-22 14:23:16 +00:00
Natanael Copa
e7574cab44
abuild: always add -k to curl in case http -> https redirects
2012-02-17 15:07:42 +00:00
Natanael Copa
dabc0dea8c
abuild: add support for replaces_priority
2012-02-17 15:07:25 +00:00
Natanael Copa
e76192fa59
abuild: do not create the apk index as root
2012-02-17 14:03:49 +00:00
Natanael Copa
467db44962
abuild: no longer require wget in makedepends if https
...
we depend on curl instead
2012-02-17 13:51:01 +00:00
Natanael Copa
c6263baeb9
abuild: remove dependency of sudo
...
use the abuild-sudo tool instead
fixes #951
2012-02-17 13:48:11 +00:00
Natanael Copa
817db0ea98
abuild: check for non-PIE suid files
...
fixes #955
2012-02-14 12:51:33 +00:00
Natanael Copa
7759f5e5df
abuild: create the pkgusers/pkggroups as system users
2012-02-13 15:09:38 +00:00
Natanael Copa
d66a5ee456
abuild: run postcheck for subpackages as well
2012-02-13 13:49:25 +00:00
Natanael Copa
92af0b8697
abuild: fix post check messages
2012-02-13 13:49:25 +00:00
Natanael Copa
f7c56801e9
abuild: warn if world writable directories are found
2012-02-13 13:49:25 +00:00
Natanael Copa
dd033763de
abuild: warn if chown, chmod or chgrp found in install scripts
2012-02-13 13:49:25 +00:00
Natanael Copa
2f5545cd61
abuild: add msg2(), warning2() and error2()
...
For a second, indented message line.
2012-02-13 13:49:25 +00:00
Natanael Copa
761472d96b
abuild: busybox flock does not support -w
2012-01-20 10:38:30 +01:00
Natanael Copa
01bab6e26d
abuild: implement locking of downloaded files
...
We need locking Since the build servers use a shared download dir
and multiple vservers might want download same file at same time.
fixes #873
2012-01-20 09:22:06 +01:00
Natanael Copa
1187cc5c0a
abuild: fail fetch on http 404 errors
...
curl does not fail by default. it downloads the 404 error page instead
so we need add -f option to curl.
2011-12-20 08:53:10 +01:00
Natanael Copa
bea8577c43
abuild: cleanup. remove dead code
...
Not been used for ages.
2011-12-19 13:10:43 +01:00
Natanael Copa
c98b47b7ad
abuild: make curl follow redirects
2011-12-16 17:02:16 +01:00
Natanael Copa
df05d495b0
abuild: use curl by default. fallback to wget if curl is missing
...
fixes #871
2011-12-16 16:02:46 +01:00
Natanael Copa
ff53e77643
abuild: fix typo
2011-12-14 10:55:53 +01:00
Natanael Copa
36c87807d2
abuild: fix typo and prettify warning message
2011-12-14 10:55:30 +01:00
Natanael Copa
57e05c4c01
abuild: allow override sanitycheck
2011-12-14 09:54:43 +00:00
Natanael Copa
b0f9ec91f7
abuild: verify names of subpackages
...
This is to avoid things like:
http://git.alpinelinux.org/cgit/aports/commit/?id=81c0a4bb37e709ebc5add8394331d28209a61b6f
2011-11-01 08:50:20 +00:00
Natanael Copa
990b1f0607
abuild: fix pkgdesc and install_if for -lang packages
2011-10-03 18:36:58 +00:00
Natanael Copa
7fb94045b2
abuild: add warning if /usr/share/local found
2011-10-03 11:19:25 +00:00
Natanael Copa
0b83646614
abuild: implement automatic -lang subpackages
2011-09-30 06:47:28 +00:00
Natanael Copa
43f888ad5e
abuild: make it possible to override lang_subpkg
...
We alos introduce $langdir where you can set other dir to look for
localization dirs.
2011-09-02 09:35:55 +00:00
Natanael Copa
77eb895cc7
abuild: fix install script verification
...
we might have '.' in pkgname as in gtk+2.0
2011-06-30 07:52:46 +00:00
Natanael Copa
f8813c1565
abuild: do not move *.la files to dev package and exit with error if found
...
To be allowed to keep the .la files you need to add 'libtool' to
$options
2011-06-29 13:47:56 +00:00
Natanael Copa
f5a3a48da0
abuild: fix bug in install script detection
2011-06-28 11:31:40 +00:00
Natanael Copa
5fd0c10e8c
abuild: implement new format for triggers variable
...
it contains a list with all triggers for all subpackages.
separate trigger script from path list with '='
separate paths in path list with ':'
example:
pkgname="foo"
subpackages="foo-libs foo-dev"
triggers="foo.trigger=/usr:/usr/lib/foo
foo-libs.trigger=/usr:/usr/share/foo"
2011-06-27 20:59:30 +00:00
Natanael Copa
f597a6e68c
abuild: support for new style install scrits
...
We need to list all install scripts in $install rather than specify it
in subpackage
2011-06-27 20:59:30 +00:00