Commit Graph

646 Commits

Author SHA1 Message Date
Natanael Copa 64d70cc4b3 abuild: exit with error if run as root
override with -F
2009-10-24 21:01:29 +00:00
Natanael Copa 036557c8c0 abuild: make it possible override fakeroot 2009-10-24 20:53:31 +00:00
Natanael Copa f150027100 abuild: fix so APKBUILD env var works properly
We also make sure we source the APKBUILD when we are in the directory
holding the APKBUILD file. Some of the packages sources others
with relative references. (for example kernel 3rd party packages)
2009-10-24 20:37:20 +00:00
Natanael Copa c50ab80bfa abuild: minor bugfix: define $program 2009-10-24 20:11:40 +00:00
Natanael Copa c9616e9d9e newapkbuild: move code from abuild to new script
try keep code in abuild cleaner by moving out creation of new apkbuild
to separate script.
2009-10-24 20:03:06 +00:00
Natanael Copa 74debd67ce abuild: minor cleanup 2009-10-24 19:18:35 +00:00
Natanael Copa 3b7ab34e67 abuild: implement prepare()
prepare is run before build(). this allows uses to do patching before
configuring and building in a separate step.
2009-10-23 16:28:34 +00:00
Natanael Copa f138d6704b abuild: bugfix. allow apkbiudls without build() 2009-10-23 13:12:32 +00:00
Natanael Copa 542b9cf486 abuild: dont run build() in fakeroot if package() exist
fakeroot seems do some kind of locking which kills performance on
multicores processors. We can run "make" and "make install" in 2 steps
with only hte latter in fakeroot.
2009-10-23 09:57:04 +00:00
Natanael Copa c1be67be8a abuild: include repo description and version in temp apk cache 2009-09-03 16:38:07 +00:00
Natanael Copa f24e997104 abuild: strip versions from dependencies when building recursively 2009-08-31 09:12:04 +00:00
Natanael Copa a1bf67a46c abuild: allow pkgver=volatile 2009-08-21 14:25:08 +00:00
Natanael Copa 32f3fce837 abuild: implement pkgusers/pkggroups 2009-08-21 07:54:53 +00:00
Natanael Copa e0f546896f abuild: no missing dependencies might happen 2009-08-17 13:58:26 +00:00
Natanael Copa 5b8d1709da abuild: the -dev pckages should depend on all subpackages 2009-08-17 13:02:37 +00:00
Natanael Copa df8e468f0e abuild: implement triggers
and install scripts should not be in $source
2009-08-14 05:56:34 +00:00
Natanael Copa d8907beacb abuild, alpine.mk: use --repository instead of --repo 2009-08-10 13:05:56 +00:00
Natanael Copa e1dff71595 abuild: initial support for versioned dependencies 2009-08-05 13:55:35 +00:00
Natanael Copa b1f792b023 abuild: implement -d for disable dependency checking
This is needed when bootstrapping the system.
2009-08-03 13:06:38 +00:00
Natanael Copa 15a3f24286 abuild: fix for dynamic dependency detection 2009-07-29 20:01:52 +00:00
Natanael Copa 3c7eb0dff9 abuild: make index readable 2009-07-27 14:28:15 +00:00
Natanael Copa fad6df6eaf abuild: minor bugfix 2009-07-24 14:56:28 +00:00
Natanael Copa 28b7f5d2b1 abuild: add pkgconfig to depends if needed. misc fixes 2009-07-24 09:24:42 +00:00
Natanael Copa 53b17143d2 abuild: use APKINDEX.tar.gz rather than APK_INDEX.gz 2009-07-23 09:46:36 +00:00
Natanael Copa c2a0126ea2 abuild: remove broken links in abuild temp repo. sign the control.tar.gz 2009-07-23 09:32:14 +00:00
Natanael Copa ac09f44927 abuild: sign index with abuild-sign 2009-07-23 08:43:28 +00:00
Natanael Copa be9fa503bc abuild: initial support for new apk format 2009-07-20 14:56:01 +00:00
Natanael Copa bd9f1a415a core/abuild: fix options order to apk add 2009-07-20 12:01:16 +00:00
Natanael Copa 501e5dc8c4 abuild: upgrade dependencies when building recursive 2009-07-13 11:11:15 +00:00
Natanael Copa a3dca8d66a abuild: use apk version --check to verify the pkgver 2009-06-09 11:27:42 +00:00
Natanael Copa 99ae7bd9c3 abuild: force single space be separator when parsing scanelf output
otherwise will awk not detect empty fields
2009-06-04 18:14:47 +00:00
Natanael Copa 44247711a4 abuild: up2date handle apkcache properly
abuild will not consider package up2date unless apk cache is up2date
2009-06-03 21:29:58 +00:00
Natanael Copa 2c907ddc34 abuild: warn if g++ is in makedepends. fix for dynamic deps 2009-06-03 20:55:45 +00:00
Natanael Copa 5b00cca758 abuild: fix for detecting self-provided dependencies 2009-06-03 20:20:59 +00:00
Natanael Copa a878a54660 abuild: bugfix: find deps in subpackages and fail if deps not found 2009-06-03 19:50:06 +00:00
Natanael Copa 2d6f0ab38d abuild: initial support for autodetection of dependencies 2009-06-03 19:23:32 +00:00
Natanael Copa 36080a48f7 abuild: rename abuildrepo to apkcache 2009-06-03 11:26:48 +00:00
Natanael Copa 9d616a1346 abuild: add configurable apk cache 2009-06-03 11:24:29 +00:00
Natanael Copa bdc6182749 abuild: use build-base meta package as hard makedepends 2009-06-03 11:15:55 +00:00
Natanael Copa 027f227852 abuild: pull in makedepends by using virtual packages in abuildrepo
Basicly, let apk-tools deal with the dependencies rather than let abuild do it
2009-06-03 08:37:05 +00:00
Natanael Copa 2219b258cf abuild: use apk index -d to update the abuildrepo index 2009-05-14 14:41:12 +00:00
Natanael Copa 83f9d177ed abuild: create symlink to package in tmprepo
The tmprepo is a temporary repository used by abuild to handle the
dependencies of the newly built packages.
2009-05-08 20:34:30 +02:00
Natanael Copa 2fd4128e20 abuild: rename pkgdirbase to pkgbasedir 2009-05-08 19:19:32 +02:00
Natanael Copa 231d406de6 abuild: create .provides-so file in package dir
This will later be used to figure out the dynamic dependencies.
2009-05-08 19:19:32 +02:00
Natanael Copa ca65c4b791 abuild: prepare pkg dirs/meta files and create packages separately. Dependency speedup.
Run all subpackage functions and prepare the dirs first and create the
package itself later on. This will make it possible to automatically trace
the dependencies.

Also, speed up the detection of which makedeps are installed and which needs
to be built/installed. this requires apk-tools_pre11.
2009-05-08 15:01:14 +00:00
Natanael Copa 3d79fb7036 use .in files for scripts 2009-05-08 13:33:34 +00:00