summaryrefslogtreecommitdiffstats
path: root/abuild.in
Commit message (Collapse)AuthorAgeFilesLines
* abuild: fakeroot fix when running as rootNatanael Copa2011-03-291-1/+9
|
* abuild: use $SUDO instead of 'sudo'Natanael Copa2011-03-291-2/+2
| | | | So SUDO="sudo -E" works for http proxy settings
* delete remote source files that fail the md5 checksum testJeremy Thomerson2011-03-291-2/+21
| | | | | | | | | 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.
* abuild: do not set noarch for nowNatanael Copa2011-03-171-3/+5
| | | | Our build infrastruc needs to handle it
* abuild: add maintainer info to .PKGBUILDNatanael Copa2011-03-081-1/+16
| | | | We can either set maintainer="..." in APKBUILD or use it as comment.
* abuild: add last commit hash to .PKGINFONatanael Copa2011-03-081-0/+13
| | | | This can be useful for package browser.
* abuild: bugfix in dep tracingNatanael Copa2011-03-041-1/+1
| | | | | | 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)
* abuild: -f will build even if arch is missingNatanael Copa2011-03-041-1/+3
|
* abuild: only warn when we think there should have been noarchNatanael Copa2011-03-041-4/+8
| | | | and we dont want -dev packages to be noarch
* default_doc/default_dev: enhanced pkgdescWilliam Pitcock2011-01-271-0/+4
|
* abuild: add support for language packsNatanael Copa2011-01-041-13/+46
|
* abuild: supporrt for install_if. remove unused 'backup'Natanael Copa2011-01-041-3/+3
|
* abuild: implement initdcheckNatanael Copa2011-01-041-0/+16
| | | | this check verifies that the *.initd scripts are #!/sbin/runscript
* abuild: support for saveas-* in sourcecheckNatanael Copa2011-01-031-6/+12
|
* abuild: implement sourcecheckNatanael Copa2011-01-031-0/+11
| | | | | | | | 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.
* abuild: only set xterm title if USE_COLOR is enabledNatanael Copa2011-01-031-1/+1
|
* abuild: only install .makdepends-* if there are depsNatanael Copa2011-01-031-1/+1
|
* abuild: trivial update to new saveas-*:// supportMatt Smith2011-01-031-5/+5
| | | | | Removed the asterisk from the beginning of the https check, and moved the saveas- check above.
* abuild: skip md5sum check if in force modeNatanael Copa2010-12-311-1/+3
|
* abuild: created 'saveas-*://' URI supportMatt Smith2010-12-301-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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
* abuild: fix check for arch specific binariesNatanael Copa2010-12-301-18/+32
| | | | we now fail if noarch is set wrong
* abuild: set arch to noarch for -doc packagesNatanael Copa2010-12-301-0/+1
|
* abuild: post check archNatanael Copa2010-12-301-0/+16
| | | | We check if noarch is properly set
* abuild: improve output messages for dep tracingNatanael Copa2010-12-171-3/+3
|
* abuild: support arch=allNatanael Copa2010-12-151-1/+1
|
* abuild: look for so dependencies in RPATH tooNatanael Copa2010-12-151-10/+47
| | | | | | | | | | | | 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.
* abuild: multiarch supportNatanael Copa2010-12-141-0/+12
| | | | | - add arch to .PKGINFO - exit with success if package is not in arch
* abuid: check that CARCH and CHOST is setNatanael Copa2010-12-131-1/+11
|
* abuild: automatically add libgcc to depends when libpthread is foundNatanael Copa2010-08-311-1/+9
| | | | see http://redmine.alpinelinux.org/issues/409
* abuild: support for alternative awksNatanael Copa2010-08-271-1/+1
| | | | some awk's does not understand -F "\ " and treats that as special space
* abuild: support for unpacking .tar.xzNatanael Copa2010-08-121-0/+3
|
* abuild: include vapi and gir-* in -dev packageNatanael Copa2010-07-071-0/+1
|
* abuild: detect and report conflicting dependencies properlyNatanael Copa2010-06-301-3/+4
|
* abuild: move the .so symlinks to -dev packagesNatanael Copa2010-05-181-1/+8
| | | | | | | 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.
* abuild: allow DISTFILES_MIRROR be a local pathNatanael Copa2010-05-181-1/+5
| | | | based on patch from Andrew Manison. Thanks!
* abuild: support for -c and -m options to enable/disable colorsNatanael Copa2010-05-181-6/+24
| | | | | | and make sure those options are passed over when building recursively Based on patch from Andrew Manison. Thanks!
* abuild: break circular deps when building recursivelyNatanael Copa2010-05-061-6/+12
|
* abuild: properly pass over args when building recursivelyNatanael Copa2010-05-061-16/+22
|
* abuild: properly add $BUILD_BASE to dependency chainNatanael Copa2010-05-061-3/+3
| | | | We want build the toolchain and build tools first
* abuild: bugfix for versioned dependenciesNatanael Copa2010-05-061-5/+5
| | | | we need strip all '<>=' chars not only last
* abuild: only update abuildrepo index if neededNatanael Copa2010-05-061-5/+11
| | | | speeds up abuild -R a bit
* abuild: rename apkcache to abuildrepoNatanael Copa2010-05-061-14/+14
| | | | To avoid confusing with the /etc/apk/cache
* abuild: force pkgrel in APKBUILDNatanael Copa2010-05-041-1/+1
| | | | its needed for bumping pkgrel with sed and similar
* abuild: support for overriding apk binaryNatanael Copa2010-05-041-14/+15
| | | | so we can do: APK=apk.static abuild ....
* abuild: fix for abuild -RNatanael Copa2010-05-041-2/+4
| | | | we only enter dependencies dirs in same repo
* abuild: support for building simple tar.gz files of targetNatanael Copa2010-04-281-0/+6
| | | | | When building with crosscompile to bootstrap a new target it might be handy to not include the dependencies etc.
* abuild: use fetch_uri_mirror when downloading sourcesNatanael Copa2010-04-191-1/+1
|
* abuild: only trace dependencies from current repoNatanael Copa2010-04-151-2/+2
| | | | | This avoids confusion when abuild picks dependencies from testing when building main.
* abuild: download from DISTFILES_MIRROR first if setNatanael Copa2010-04-151-2/+11
|
* abuild: wait 30 seconds for apk lockfile. improve error reportingNatanael Copa2010-03-021-2/+10
|