summaryrefslogtreecommitdiff
path: root/abuild.in
AgeCommit message (Collapse)AuthorFilesLines
2011-06-28abuild: fix bug in install script detectionNatanael Copa1-1/+2
2011-06-27abuild: implement new format for triggers variableNatanael Copa1-16/+26
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-27abuild: support for new style install scritsNatanael Copa1-12/+5
We need to list all install scripts in $install rather than specify it in subpackage
2011-06-27abuild: check sanity of install scriptsNatanael Copa1-1/+10
we check early that suffix is valid and that we have a matching pkgname or subpackage
2011-05-18abuild: do debug builds with DEBUG=1Natanael Copa1-0/+6
2011-05-05abuild: be quiet when uninstalling build dependenciesNatanael Copa1-1/+2
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-04-18abuild: reset triggers for subpackagesNatanael Copa1-0/+1
only main package has the trigger
2011-04-17abuild: fix user creation when group existsNatanael Copa1-1/+5
2011-04-06abuild: fix for REPODESTNatanael Copa1-2/+6
we need set the $CARCH in the package destination needs also to be passed over for recursive action
2011-04-04abuild: remove broken noarch stuff. force CARCH for abuildrepoNatanael Copa1-20/+6
2011-04-04abuild: move abuildrepo to ~/.cache/abuild/$repoNatanael Copa1-24/+14
We no require apk-tools-2.1
2011-04-04abuild: fix check if abuildindex is up 2 dateNatanael Copa1-7/+22
2011-04-01Merge branch '2.7'Natanael Copa1-1/+1
2011-04-01abuild: always fail when checksums does not matchNatanael Copa1-1/+1
2011-03-31Merge branch '2.7'Natanael Copa1-0/+1
Conflicts: Makefile
2011-03-31abuild: add origin in .PKGINFONatanael Copa1-0/+1
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