Natanael Copa
fede6d1161
abuild: remove "added pkgconfig (found /usr/lib/pkgconfig)" message
2015-06-05 12:16:39 +00:00
Natanael Copa
b4c8ef7dad
abuild: normalize path when finding symlink targets
...
some paths like usr/lib/../../lib/libudev.so.0.13.0 will fail to resolve
if usr/lib is does not exist, even if lib/libudev.so.0.13.0 does.
To solve thise we normalize out the ../ in path string before we try to
resolve it.
2015-06-05 12:11:47 +00:00
Natanael Copa
9e91755369
abuild: add warning when depends_dev needs cleanup
2015-06-05 07:27:44 +00:00
Natanael Copa
f5dce44bf9
abuild: add warning when pc:* provider is missing
...
and indicate which package that should provide it and needs a rebuild.
2015-06-05 07:18:09 +00:00
Natanael Copa
e59de7c8a2
abuild: fix detection of symlink dependencies
...
- add as dep when the target is also a symlink
- fix handling of absolute path in target
2015-06-04 11:50:41 +00:00
Natanael Copa
fddc01bbbb
abuild: fix detection of pkg-config module version
...
pkg-config will not print version unless dependencies are met so we can
not exclude the system modules.
2015-06-04 07:51:44 +00:00
Natanael Copa
2f5ef7e2fa
abuild: autodetect pkg-config dependencies
...
we create provides for pc:<module>=<version> for pkg-config files and
whenever possible we add depends=pc:<module>.
We also handle version requirements whenever those are specified.
2015-06-03 12:16:35 +00:00
Natanael Copa
f8a2871a9c
abuild: fix regression in scanning shared objects
...
fix regression introduced with commit c70dbf8
(abuild: automatically
detect symlink targets in other subpackages)
2015-06-03 11:12:28 +00:00
Natanael Copa
0263b66cc1
abuild: do not exclude depends_dev
...
fixes regression introduced with commit 6582be1d
(abuild: pull only in
needed dependencies for -dev packages)
2015-06-03 09:39:36 +00:00
Natanael Copa
6582be1d0b
abuild: pull only in needed dependencies for -dev packages
...
ref #4109
2015-06-03 06:45:04 +00:00
Natanael Copa
c70dbf8495
abuild: automatically detect symlink targets in other subpackages
...
Automatically pull in dependencies for symlink targets provided by other
subpackages.
This is mainly for pulling in target of .so symlinks.
2015-06-03 06:28:34 +00:00
Natanael Copa
5e268f8d70
abuild: cleanup. use better function names
...
no change in code logic
2015-06-03 06:27:15 +00:00
Natanael Copa
25a56f81a2
abuild: check that source package is not a version number only
...
github tarballs are normally only a version number. we need to force
that those are renamed so we dont get source tarball name collisions.
2015-04-28 14:09:11 +00:00
Natanael Copa
553762ca30
abuild: require that .initd files are sbin/openrc-run
...
The sbin/runscript was renamed to sbin/openrc-run with openrc-0.13
warn only if it is sbin/runscript for compatibility
2015-04-28 14:09:11 +00:00
Natanael Copa
60225fc46c
abuild: fix license in pkginfo
...
license is a simple string, not an array
2015-04-23 12:23:38 +00:00
Timo Teräs
a664181714
abuild: preserve all xattrs
...
by default getfattr omits system xattrs like security.capability
2015-04-09 08:47:56 +03:00
Timo Teräs
18594ff66c
abuild: assume GNU tar and store xattrs
2015-04-08 10:52:34 +03:00
Natanael Copa
756a9e0c04
abuild: fix CXXFLAGS for debug
2015-01-28 13:09:24 +00:00
Natanael Copa
a6150cc7e0
abuild: fix move of .a file to -dev subpackage
...
seems like new version of busybox find would stop if lib/ dir does not
exist.
2015-01-14 15:26:58 +00:00
Natanael Copa
a5caab30c9
abuild: improve error message when conflicting packages are installed
2014-12-29 12:54:52 +00:00
Łukasz Jendrysik
b7c197f20c
Removed conflicts= support
...
Conflicts support in an abuild seems to be uneccessary feature.
Signed-off-by: Łukasz Jendrysik <scadu@yandex.com>
2014-12-29 12:35:02 +00:00
Bartłomiej Piotrowski
fa204f8557
abuild: remove *.la files by default
...
Libtool archives are useless in the most of cases and can be safely
removed. A quick grep shows that *.la files are explicitly removed in
903 APKBUILDs, while intentionally preserved only in 17.
postcheck() is discussable place to perform the deletion, but it's
currently the only function being run for each subpackage, including
the artifact of package().
2014-12-29 12:34:47 +00:00
Natanael Copa
f1b0b3de5e
abuild: remove debug message
...
this was added by mistake
2014-10-02 09:21:47 +00:00
Natanael Copa
aa74d0eccc
abuild: add 'index' subcommand to refresh the abuild repo index
...
this is a convenience synonym to update_abuildrepo_index
2014-09-25 07:50:19 +00:00
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