Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
we need set the $CARCH in the package destination
needs also to be passed over for recursive action
|
|
|
|
We no require apk-tools-2.1
|
|
|
|
|
|
|
|
Conflicts:
Makefile
|
|
|
|
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.
|
|
|
|
|
|
|
|
This is so apk-tools-2.1 works
|
|
we need use "$srcdir"
|
|
|
|
So SUDO="sudo -E" works for http proxy settings
|
|
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.
|
|
Our build infrastruc needs to handle it
|
|
We can either set maintainer="..." in APKBUILD or use it as comment.
|
|
This can be useful for package browser.
|
|
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)
|
|
|
|
and we dont want -dev packages to be noarch
|
|
|
|
|
|
|
|
this check verifies that the *.initd scripts are #!/sbin/runscript
|
|
|
|
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.
|
|
|
|
|
|
Removed the asterisk from the beginning of the https check, and moved the
saveas- check above.
|
|
|
|
'saveas-*://' URI support has been created for use with the source= line of
APKBUILD files.
It allows for a remote source file to be saved with an arbitrary filename. This
is useful in situations where the last component of the URI is not the preferred
filename.
Here's how it works. Say we have the following URI:
http://oss.example.org/?get=software&ver=1.0
Both Busybox Wget and GNU Wget will save this with the filename:
?get=software&ver=1.0
To get around this, we could use cURL to save the file using the filename in the
HTTP response headers:
$ curl -JO "http://oss.example.org/?get=software&ver=1.0"
Or we could use this 'saveas' hack. Essentially, the original URI is converted
to read:
saveas-http://oss.example.org/?get=software&ver=1.0/software-1.0.tar.gz
In the download process, the 'saveas-' portion is removed, and the file is
downloaded from the original URI, but is saved with the filename being the last
component of the URI. In this case, it will be saved as 'software-1.0.tar.gz'.
It is designed so that it works with any protocol supported by abuild.
For example:
saveas-ftp://oss.example.org/?get=software&ver=1.0/software-1.0.tar.gz
Check it out and let me know what you think.
Thanks,
Matt
|
|
we now fail if noarch is set wrong
|
|
|
|
We check if noarch is properly set
|
|
|
|
|
|
Some .so files have a rpath where to look for the needed .so. When tracing
package dependencies we also have a look there.
This should fix problem when the .so is not in standard location, /usr/lib
or /lib. (for example freeradius plugins)
While here we also reorganize things so we only call apk info --who-owns
once for each package instead of once for each needed .so. This should
speed up things when there are many needed .so files.
|
|
- add arch to .PKGINFO
- exit with success if package is not in arch
|
|
|
|
see http://redmine.alpinelinux.org/issues/409
|
|
some awk's does not understand -F "\ " and treats that as special space
|
|
|
|
|
|
|
|
Those are needed when linking to the lib and not during runtime.
Having those in the -dev package makes it easier to allow different
versions of same libs to be installed side-by-side.
|
|
based on patch from Andrew Manison. Thanks!
|