summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-07-29Revert "abuild: export CHOST, CARCH and CLIBC and let config.guess use CHOST"Natanael Copa2-5/+1557
This reverts commit 4234a10e92f103a33baa0c70780ac7e09e6a9484. We will not use config.guess. Instead we will use --build and --host everywhere.
2013-07-26abuild: remove post_unpackNatanael Copa1-20/+8
instead, provide 'update_config_sub' and let aports that needs replace config.sub call it.
2013-07-26abuild: use deps/undeps instead or installdeps/uninstalldepsNatanael Copa1-4/+8
2013-07-26abuild: dont run 'build' from rootpkgNatanael Copa1-9/+17
we want be able to run build and rootpkg separately. so you can stop in the process, fix things, and then continue with 'abuild rootpkg' to generate the package manually.
2013-07-26abump: error out on first faild packageNatanael Copa1-7/+11
If some package fails, then stop processing the rest. This is so we don't risk test build the rest for the packages against wrong lib. For example, if 'abump libfoo-2.0 foo-2.0' fails on libfoo, we don't want testbuild foo-2.0, which might end with success against libfoo-1. We also echo the list of packages that was not bumped, so its easy to copy/paste next run.
2013-07-26abuild: check for /usr/lib/charset.alias and error out if foundNatanael Copa1-0/+6
2013-07-25abuild: export CHOST, CARCH and CLIBC and let config.guess use CHOSTNatanael Copa2-1557/+5
2013-07-23abuild: microoptimization. call git describe only onceNatanael Copa1-3/+4
Use a global var for last_commit so we dont need call git for every subpackage
2013-07-22abuild: add support to mask out given CLIBC in optionsNatanael Copa1-0/+7
For example, to mask out musl, add: options="!libc_musl"
2013-07-22abuild: fix CARCH/CLIBCNatanael Copa1-16/+18
We need set it in global scope as we need it even if we have not called sanitycheck
2013-07-22abump: print what packages failedNatanael Copa1-3/+9
2013-07-19abuild: dont worry about ALPINE_LIBCNatanael Copa1-10/+6
we better fix the affected apkbuilds
2013-07-19abump: fix the -f/--fixes optionNatanael Copa1-1/+1
2013-07-19abuild: verify: only check strongest checksum which is presentTimo Teräs1-1/+2
2013-07-19abuild: set CARCH and CLIBC always, guess from CHOST if not setTimo Teräs1-5/+23
2013-07-16abuild: use versioned depends for -dev subpackageNatanael Copa1-2/+2
2013-07-12==== release 2.15.0 ====v2.15.0Natanael Copa1-1/+1
2013-07-12ap: switch to lua 5.2Natanael Copa2-3/+5
2013-07-10abump: fix set -e issueNatanael Copa1-12/+13
It appears that when the subshell has a ||, the 'set -e' within subshell gets invalidated. This will work as expected: ( set -e; false; echo "should not get here" ) While this will not work as expected: ( set -e; false; echo "should not get here" ) || false We resolve it by using $? to detect the status of subshell. We also let the exitcode indicate how many packages that failed. While here we also refactor it so most of the loop happens within the subshell. This lets us set (or increase) rc variable once, and it reduces number of forks which gives slightly better performance.
2013-07-10Revert "abump: verify APKBUILD's version"Natanael Copa1-6/+0
We actually want be able to re-run abump without needing reset the pkgver in case we had to fix things. This reverts commit 8198ded868d4b7b98f8d06a2f0f0d90eaf2ad9da. Conflicts: abump.in
2013-07-10build: make sure functions.sh gets generated at build timeNatanael Copa1-2/+2
2013-07-09abump: add missing "Natanael Copa1-1/+1
2013-07-09functions: msg should always return successNatanael Copa1-2/+6
Otherwise abuild-sign will end with error
2013-07-09functions: also honor .abuild file at gitbaseDubiousjim1-0/+2
This permits introducing branch-specific modifications to abuild.conf settings. Any settings there override /etc/abuild.conf and $HOME/.abuild/abuild.conf.
2013-07-09various: fancier readconfig, permit env overridesDubiousjim4-24/+71
2013-07-09apkgrel, functions: refactor calculation of APKBUILD's pathDubiousjim2-3/+23
2013-07-09various: s/echo/msg/, s/echo/error/, tweak error messagesDubiousjim6-18/+16
2013-07-09apkgrel: handle missing pkgrel in do_addDubiousjim1-1/+4
2013-07-09apkgrel: tweaks to loops, add quotesDubiousjim1-3/+3
2013-07-09apkgrel: show_plain, show_prettyDubiousjim1-2/+18
2013-07-09apkgrel: --clean-git enhancementsDubiousjim1-2/+5
2013-07-09abump: verify that we're in git treeDubiousjim1-0/+1
2013-07-09abump: verify APKBUILD's versionDubiousjim1-0/+6
2013-07-09abump: refactor verification of APKBUILDDubiousjim1-9/+14
* includes renaming pkgname, pkgver
2013-07-09abump, functions: refactor (and verify) calculation of APKBUILD pathDubiousjim2-1/+23
2013-07-09abump: tweak upgrade/cvelistDubiousjim1-8/+5
2013-07-09abump: move loop inside do_bump, refine locals, introduce subshellDubiousjim1-33/+33
2013-07-09abuild-sign: fix a race conditionDubiousjim1-1/+1
2013-07-09abuild-sign: wrap cd in a subshell, use set -eDubiousjim1-2/+5
2013-07-09abuild-sign: make vars localDubiousjim1-0/+2
2013-07-09abuild-sign: reformat error outputDubiousjim1-7/+9
2013-07-09abuild_keygen: several tweaksDubiousjim1-9/+6
* make vars local * refactor calculation of default_name * make non_interactive=1 * tweak error message * tweak sed command
2013-07-09various: use long options, rework usagesDubiousjim6-93/+167
2013-07-09Makefile: remove distDubiousjim1-13/+1
as discussed in http://lists.alpinelinux.org/alpine-devel/3122.html
2013-07-09various: move conf-loading and i/o to functionsDubiousjim8-101/+128
2013-07-09abuild-sign: refactorDubiousjim1-22/+25
2013-07-09abuild-keygen: refactorDubiousjim1-58/+61
2013-07-08various: tweak opening comments, whitespaceDubiousjim5-14/+6
Also remove incomplete efforts at listing "Depends on: ..."
2013-07-08various: add descriptions, attribution, licenseDubiousjim4-0/+27
2013-07-08abuild-sudo, abuild-tar: cosmetic changesDubiousjim2-3/+3