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
Natanael Copa
42df5722ee
abuild: check sanity of install scripts
...
we check early that suffix is valid and that we have a matching
pkgname or subpackage
2011-06-27 20:59:29 +00:00
Natanael Copa
529438949e
abuild: do debug builds with DEBUG=1
2011-05-18 06:19:18 +00:00
Natanael Copa
7798ed0c5a
abuild: be quiet when uninstalling build dependencies
...
We don't really need to see what packages gets uninstalled, but error
messages might be nice to see. So we are quiet when uninstalling.
2011-05-05 08:36:00 +00:00
Natanael Copa
81b439cec2
abuild: reset triggers for subpackages
...
only main package has the trigger
2011-04-18 08:34:56 +00:00
Natanael Copa
0a2f9eb582
abuild: fix user creation when group exists
2011-04-17 12:55:51 +00:00
Natanael Copa
b027ecf2c7
abuild: fix for REPODEST
...
we need set the $CARCH in the package destination
needs also to be passed over for recursive action
2011-04-06 09:30:33 +00:00
Natanael Copa
c9a1158c79
abuild: remove broken noarch stuff. force CARCH for abuildrepo
2011-04-04 13:52:17 +00:00
Natanael Copa
3ac0a8e082
abuild: move abuildrepo to ~/.cache/abuild/$repo
...
We no require apk-tools-2.1
2011-04-04 13:00:22 +00:00
Natanael Copa
8f6f8763cf
abuild: fix check if abuildindex is up 2 date
2011-04-04 11:18:29 +00:00
Natanael Copa
62a87c97fb
Merge branch '2.7'
2011-04-01 13:39:23 +00:00
Natanael Copa
828d8a7e16
abuild: always fail when checksums does not match
2011-04-01 12:24:40 +00:00
Natanael Copa
382e470396
Merge branch '2.7'
...
Conflicts:
Makefile
2011-03-31 09:56:47 +00:00
Natanael Copa
701be9224c
abuild: add origin in .PKGINFO
2011-03-31 09:49:51 +00:00
Natanael Copa
0f27ed17ab
abuild: fix for apk-tools-2.0.x
...
apk-tools-2.0's apk index will not show the arch so we need to use
tar to find arch if we have old apk. We prefer use apk index since
it will only read first block of file, regardless size, while tar
will read entire file. Reading entire file is slow if file is big.
So we check apk --version and use tar if needed, and apk index if
possible.
2011-03-30 14:20:15 +00:00
Natanael Copa
663aa8bca5
abuild: create $arch and noarch dirs for abuildrepo
2011-03-30 13:54:49 +00:00
Natanael Copa
995797f4a2
Merge branch 'wip'
2011-03-30 09:10:56 +00:00
Natanael Copa
138cfd7027
abuild: wait for lockfile on delete of dependencies
2011-03-30 09:10:11 +00:00
Natanael Copa
99ffea8acd
abuild: use $repo/$arch for abuildrepo
...
This is so apk-tools-2.1 works
2011-03-30 09:06:48 +00:00
Natanael Copa
3af17782ad
abuild: fix md5check
...
we need use "$srcdir"
2011-03-29 13:06:03 +00:00
Natanael Copa
d68c2e2912
abuild: fakeroot fix when running as root
2011-03-29 12:23:30 +00:00
Natanael Copa
e6b33c688d
abuild: use $SUDO instead of 'sudo'
...
So SUDO="sudo -E" works for http proxy settings
2011-03-29 12:17:35 +00:00
Jeremy Thomerson
a632d08fd2
delete remote source files that fail the md5 checksum test
...
Currently, if the build server downloads a file that fails the md5sum check
for some reason (perhaps interrupted download, etc), the file is never deleted
so the build can not succeed until someone manually deletes the bad file. This
change deletes any file that is a remote source file / package that fails the
md5sum check. The subsequent rebuild will then be forced to download the file
again.
2011-03-29 06:02:54 +00:00
Natanael Copa
149521f2dc
abuild: do not set noarch for now
...
Our build infrastruc needs to handle it
2011-03-17 10:10:58 +00:00
Natanael Copa
947681e9d1
abuild: add maintainer info to .PKGBUILD
...
We can either set maintainer="..." in APKBUILD or use it as comment.
2011-03-08 10:08:01 +00:00
Natanael Copa
d3efd64ab1
abuild: add last commit hash to .PKGINFO
...
This can be useful for package browser.
2011-03-08 09:50:17 +00:00
Natanael Copa
a4a64e3f4c
abuild: bugfix in dep tracing
...
due to unintialized and non-local variable the tracing of deps
didnt work as expected when dependencies was provided by the apkbuild
itself. (libgcc ended up depending on libgcj which depended on binutils)
2011-03-04 22:39:49 +00:00
Natanael Copa
37c29649f7
abuild: -f will build even if arch is missing
2011-03-04 22:39:49 +00:00
Natanael Copa
0db502b906
abuild: only warn when we think there should have been noarch
...
and we dont want -dev packages to be noarch
2011-03-04 22:39:48 +00:00
William Pitcock
0187915cc2
default_doc/default_dev: enhanced pkgdesc
2011-01-27 18:46:43 -06:00
Natanael Copa
5d9012c09a
abuild: add support for language packs
2011-01-04 10:32:12 +00:00
Natanael Copa
2182953390
abuild: supporrt for install_if. remove unused 'backup'
2011-01-04 09:15:05 +00:00
Natanael Copa
0472849c0c
abuild: implement initdcheck
...
this check verifies that the *.initd scripts are #!/sbin/runscript
2011-01-04 09:05:54 +00:00
Natanael Copa
f580e6657a
abuild: support for saveas-* in sourcecheck
2011-01-03 15:59:52 +00:00
Natanael Copa
470f052142
abuild: implement sourcecheck
...
This subcommand verifies if upstream sources still exists and echoes
an error if it does not.
This is supposed to be used from a script that checks the validity
of source regularily.
2011-01-03 15:38:40 +00:00
Natanael Copa
308a1a27f4
abuild: only set xterm title if USE_COLOR is enabled
2011-01-03 15:29:37 +00:00
Natanael Copa
a83cdde510
abuild: only install .makdepends-* if there are deps
2011-01-03 15:02:19 +00:00
Matt Smith
1a67bb56a3
abuild: trivial update to new saveas-*:// support
...
Removed the asterisk from the beginning of the https check, and moved the
saveas- check above.
2011-01-03 13:41:11 +00:00