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