Commit Graph

631 Commits

Author SHA1 Message Date
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
Natanael Copa
ce0e95607d ap: initial implementation
ap is a helper script to parse APKBUILD and calculate build time
dependencies.
2010-12-13 14:14:06 +00:00
Natanael Copa
a111620bc8 abuid: check that CARCH and CHOST is set 2010-12-13 07:35:09 +00:00
Natanael Copa
8f17e03078 abuild.conf: set CARCH and CBUILD 2010-11-24 08:08:51 +00:00
Natanael Copa
01d7abc3d3 added .gitignore 2010-11-19 10:30:23 +00:00
Natanael Copa
5585756557 Makefile: target for .gitignore 2010-11-19 10:30:07 +00:00
Natanael Copa
c016772849 abump: add usage and support for recursive abuild 2010-11-19 10:25:15 +00:00
Natanael Copa
e1ebd05ce6 abump: install with make install 2010-11-19 10:24:15 +00:00
Natanael Copa
9aeef85a03 newapkbuild: source PACKAGER from abuild.conf 2010-11-19 09:51:36 +00:00
Natanael Copa
52534d4d51 abuild.conf: add ARCH and minor cleanup 2010-11-19 09:48:53 +00:00
Natanael Copa
c5b9e2c6dc buildrepo: fix previous commit 2010-11-02 09:39:34 +00:00
Natanael Copa
5cde86ff29 buildrepo: do not error if there are no packages in repo 2010-11-02 09:03:20 +00:00
Natanael Copa
f9b62b89a6 abuild: automatically add libgcc to depends when libpthread is found
see http://redmine.alpinelinux.org/issues/409
2010-08-31 13:50:06 +00:00
Natanael Copa
a5937e5c45 abuild: support for alternative awks
some awk's does not understand -F "\ " and treats that as special space
2010-08-27 13:34:33 +00:00
Natanael Copa
2dc61eb8c7 release 2.5 2010-08-12 07:09:54 +00:00
Natanael Copa
030fa98065 abuild: support for unpacking .tar.xz 2010-08-12 07:08:47 +00:00
Natanael Copa
af22a92fa6 mkalpine: removed 2010-07-20 11:31:43 +00:00
Natanael Copa
23719d03df release 2.4 2010-07-07 18:29:07 +00:00
Natanael Copa
b6dbb5afed newapkbuild: minor bugfix in is_uri() 2010-07-07 18:27:09 +00:00
Natanael Copa
8bf6428c8f abuild: include vapi and gir-* in -dev package 2010-07-07 18:25:57 +00:00
Natanael Copa
c30c346362 abuild: detect and report conflicting dependencies properly 2010-06-30 14:59:07 +00:00
Natanael Copa
991652c96c newapkbuid: fix pkgver in source 2010-06-16 14:00:34 +00:00
Natanael Copa
a57baec7cc newapkbuild: support for creating new from http source
newapkbuild http://example.com/path/foo-1.0.tar.gz
will set
pkgname=foo
pkgver=1.0
source="http://example.com/path/foo-1.0.tar.gz"
2010-05-29 18:39:16 +00:00
Natanael Copa
89f17561e3 release 2.3 2010-05-19 08:46:15 +00:00
Natanael Copa
3137648228 abuild: move the .so symlinks to -dev packages
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-18 12:45:17 +00:00
Natanael Copa
db2be5e5bc abuild-tar: build with --as-needed so we dont link to libssl 2010-05-18 12:44:05 +00:00
Natanael Copa
a06296168f abuild: allow DISTFILES_MIRROR be a local path
based on patch from Andrew Manison. Thanks!
2010-05-18 09:52:44 +00:00
Natanael Copa
e9509e5ffe abuild: support for -c and -m options to enable/disable colors
and make sure those options are passed over when building recursively

Based on patch from Andrew Manison. Thanks!
2010-05-18 09:42:53 +00:00
Natanael Copa
072e93458d abuild: break circular deps when building recursively 2010-05-06 21:02:07 +00:00
Natanael Copa
92417870e6 abuild: properly pass over args when building recursively 2010-05-06 19:37:52 +00:00