Commit Graph

680 Commits

Author SHA1 Message Date
Natanael Copa
5a53fbc9b7 build: make sure functions.sh gets generated at build time 2013-07-10 07:14:32 +00:00
Natanael Copa
db00867ceb abump: add missing " 2013-07-09 12:57:20 +00:00
Natanael Copa
2ef7ed908c functions: msg should always return success
Otherwise abuild-sign will end with error
2013-07-09 11:14:29 +00:00
Dubiousjim
0f5feef3c2 functions: also honor .abuild file at gitbase
This permits introducing branch-specific modifications to abuild.conf settings.
Any settings there override /etc/abuild.conf and $HOME/.abuild/abuild.conf.
2013-07-09 07:14:33 +00:00
Dubiousjim
cfa6c7d67a various: fancier readconfig, permit env overrides 2013-07-09 07:13:46 +00:00
Dubiousjim
89afa41792 apkgrel, functions: refactor calculation of APKBUILD's path 2013-07-09 07:13:13 +00:00
Dubiousjim
b2d6b47be1 various: s/echo/msg/, s/echo/error/, tweak error messages 2013-07-09 07:12:56 +00:00
Dubiousjim
f15c630cb8 apkgrel: handle missing pkgrel in do_add 2013-07-09 07:12:40 +00:00
Dubiousjim
97f790a731 apkgrel: tweaks to loops, add quotes 2013-07-09 07:12:17 +00:00
Dubiousjim
59fd82d944 apkgrel: show_plain, show_pretty 2013-07-09 07:11:52 +00:00
Dubiousjim
e6313b54a4 apkgrel: --clean-git enhancements 2013-07-09 07:11:14 +00:00
Dubiousjim
9a740d05aa abump: verify that we're in git tree 2013-07-09 07:10:27 +00:00
Dubiousjim
8198ded868 abump: verify APKBUILD's version 2013-07-09 07:09:48 +00:00
Dubiousjim
a10203d0fc abump: refactor verification of APKBUILD
* includes renaming pkgname, pkgver
2013-07-09 07:09:29 +00:00
Dubiousjim
78b22a0f78 abump, functions: refactor (and verify) calculation of APKBUILD path 2013-07-09 07:09:05 +00:00
Dubiousjim
ecde203930 abump: tweak upgrade/cvelist 2013-07-09 07:08:41 +00:00
Dubiousjim
512d5fd551 abump: move loop inside do_bump, refine locals, introduce subshell 2013-07-09 07:05:32 +00:00
Dubiousjim
7a628e7dc4 abuild-sign: fix a race condition 2013-07-09 07:02:43 +00:00
Dubiousjim
ad61123797 abuild-sign: wrap cd in a subshell, use set -e 2013-07-09 07:02:36 +00:00
Dubiousjim
3eac277542 abuild-sign: make vars local 2013-07-09 07:01:07 +00:00
Dubiousjim
8aa5e21322 abuild-sign: reformat error output 2013-07-09 07:00:53 +00:00
Dubiousjim
83ff539cb7 abuild_keygen: several tweaks
* make vars local
* refactor calculation of default_name
* make non_interactive=1
* tweak error message
* tweak sed command
2013-07-09 07:00:41 +00:00
Dubiousjim
ef9fb52908 various: use long options, rework usages 2013-07-09 06:59:30 +00:00
Dubiousjim
7b2030a06a Makefile: remove dist
as discussed in http://lists.alpinelinux.org/alpine-devel/3122.html
2013-07-09 06:58:45 +00:00
Dubiousjim
db1314ac55 various: move conf-loading and i/o to functions 2013-07-09 06:44:01 +00:00
Dubiousjim
144ee3f113 abuild-sign: refactor 2013-07-09 06:39:46 +00:00
Dubiousjim
42b0e019b9 abuild-keygen: refactor 2013-07-09 06:39:37 +00:00
Dubiousjim
811a215018 various: tweak opening comments, whitespace
Also remove incomplete efforts at listing "Depends on: ..."
2013-07-08 14:49:36 +00:00
Dubiousjim
e1339a9b77 various: add descriptions, attribution, license 2013-07-08 14:48:56 +00:00
Dubiousjim
3417b45a1b abuild-sudo, abuild-tar: cosmetic changes 2013-07-08 14:47:39 +00:00
Dubiousjim
607124c60c remove unused files
as discussed in http://lists.alpinelinux.org/alpine-devel/3122.html
2013-07-08 14:47:11 +00:00
Natanael Copa
9e94ea1844 abuild: also look in /lib for .a files for -dev subpackage 2013-07-08 12:46:50 +00:00
Timo Teräs
7d3030b45a build: honor CPPFLAGS 2013-07-05 17:28:28 +03:00
Natanael Copa
8c12f9f61e abuild: automatically replace the config.sub with our version
introduce post_unpack that by default will search for config.sub and
config.guess and replace those if found.

we ship our own version of those files
2013-07-02 11:10:04 +02:00
Natanael Copa
d1b6da646e abuild: whitespace fixes. use longopts for apk 2013-07-02 09:21:50 +02:00
Natanael Copa
60eb0dc80f abuild: explicitly use so:depends when croscompiling 2013-07-02 09:14:31 +02:00
Natanael Copa
4edf77e50f abuild: crosscompile support for strip 2013-07-02 08:18:47 +02:00
Natanael Copa
076ecdf315 abuild: check for more common spell errors
check for pkguser, pkggroup, subpackage
2013-07-02 08:16:18 +02:00
Natanael Copa
a5bed6ab0e ==== release 2.14.3 ==== 2013-05-29 13:40:11 +00:00
Natanael Copa
4423ab7b51 abuild-sudo: also look for adduser/group in /usr/sbin
seems like it moved in recent busybox. we need to support both variants
2013-05-29 15:07:27 +02:00
Natanael Copa
38ab58a5d6 abuild-sudo: print error message if execv fails 2013-05-29 15:01:00 +02:00
Natanael Copa
67e769e605 buildrepo: avoid using 'i' as loop variable
some apkbuilds use it in global context
2013-04-26 19:11:38 +00:00
Natanael Copa
a1b0ccbba2 ==== release 2.14.2 ==== 2013-04-23 08:04:12 +00:00
Natanael Copa
3b4c88ff4b buildrepo: fix clean of old pkgs
- we need check arch for noarch
- we need list packages generated from $linguas
2013-04-23 08:01:53 +00:00
Natanael Copa
cf102231ea ap: new subcommand: list-apks 2013-04-23 07:41:27 +00:00
Natanael Copa
65edee22f2 abuild: run subpackage split functions in a subshell
so subfunctions don't overwrite the global variables like depends, pkgdesc etc.
2013-04-23 06:08:52 +00:00
Natanael Copa
8b3ecdf1f4 abuild: add support for optional remote logging
via ABUILD_LOG_CMD config option

This is supposed to be used on the build servers
2013-04-19 11:22:32 +02:00
Natanael Copa
074f43536d buildrepo: faster purging of old packages 2013-03-09 11:08:17 +00:00
Natanael Copa
73918f526c buildrepo: only consider rebuilding packages that has proper arch set 2013-03-09 11:07:56 +00:00
Natanael Copa
b1b093180f buildrepo: set REPODEST when running abuild
fixes regression
2013-02-22 09:35:19 +00:00