Commit Graph

460 Commits

Author SHA1 Message Date
Natanael Copa
138cfd7027 abuild: wait for lockfile on delete of dependencies 2011-03-30 09:10:11 +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
9ee1b361e4 release 2.7.4 2011-03-17 10:56:38 +00:00
Natanael Copa
50cfdd620a newapkbuild: assume perl package if package name starts with perl- 2011-03-17 10:51:07 +00:00
Natanael Copa
b581f87e85 newapkbuild: supporrt for forcing autotools or perl with -a -p 2011-03-17 10:47:12 +00:00
Natanael Copa
f20d7983ae newapkbuild: support for creating sourceforge source urls 2011-03-17 10:20:57 +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
b2cfa97c87 newapkbuild: add the missing cd "$_builddir" 2011-03-09 11:52:28 +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
28da75a264 release 2.7.3 2011-03-05 08:49:40 +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
66966c5ccc Add hints on CARCH/CBUILD for x86_64 and powerpc. 2011-02-09 16:36:19 -06:00
William Pitcock
0187915cc2 default_doc/default_dev: enhanced pkgdesc 2011-01-27 18:46:43 -06:00
William Pitcock
58caf298a3 release 2.7.2 2011-01-24 21:12:31 -06:00
William Pitcock
afc38ca390 release 2.7.1 2011-01-24 21:08:46 -06:00
William Pitcock
934c823052 buildlab: implement updating of buildroots. 2011-01-24 21:06:04 -06:00
William Pitcock
df4893dec1 new script (buildlab) for doing chrooted builds. 2011-01-24 21:01:05 -06:00
Natanael Copa
0dccfece2e release 2.7 2011-01-06 07:30:25 +00: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
Natanael Copa
1fb46b92aa newapkbuild: rework
Download the sourcepackage and analyze. If needed, have build()
run ./configure.

We could in future try figure out license automatically too.
2011-01-03 13:41:33 +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
Natanael Copa
09ea4c1328 abuild: skip md5sum check if in force mode 2010-12-31 18:53:13 +00:00
Matt Smith
3386818e53 abuild: created 'saveas-*://' URI support
'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-30 20:33:02 +00:00
Natanael Copa
d4973fad4e have git to ignore apkgrel 2010-12-30 14:25:29 +00:00
Natanael Copa
62ff264bdc sample.APKBUILD: update with arch and depends_dev 2010-12-30 14:24:17 +00:00
Natanael Copa
dfac60a00b apkgrel: new tool for bumping pkgrel 2010-12-30 14:21:49 +00:00
Natanael Copa
21730b7864 abuild: fix check for arch specific binaries
we now fail if noarch is set wrong
2010-12-30 12:53:44 +00:00
Natanael Copa
650c0344ff abuild: set arch to noarch for -doc packages 2010-12-30 10:39:40 +00:00
Natanael Copa
5e41f09733 abuild: post check arch
We check if noarch is properly set
2010-12-30 10:36:42 +00:00
Natanael Copa
05c2443ad1 abuild-keygen: implement -q for quiet mode 2010-12-20 13:33:45 +00:00
Natanael Copa
18fa4231dc abuild-keygen: implement -n for non-interactive mode 2010-12-20 13:22:29 +00:00
Natanael Copa
e524bc68e9 abuild: improve output messages for dep tracing 2010-12-17 18:57:49 +00:00
Natanael Copa
9c5ab15b44 release 2.6 2010-12-15 13:44:13 +00:00
Natanael Copa
94667e9993 abuild: support arch=all 2010-12-15 13:43:52 +00:00
Natanael Copa
2951b99c70 abuild: look for so dependencies in RPATH too
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-15 13:01:13 +00:00
Natanael Copa
59df627613 abuild: multiarch support
- add arch to .PKGINFO
- exit with success if package is not in arch
2010-12-14 13:27:00 +00:00
Natanael Copa
77a4140f39 ap: fix usage. the -d option is mandatory now 2010-12-13 15:03:11 +00:00
Natanael Copa
1a1199b9ec ap: bugfix in builddirs 2010-12-13 14:51:29 +00:00