summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-19newapkbuild: use make 'package' phase for CMake as wellA. Wilcox1-1/+1
2017-10-19newapkbuild: always set makedepends in newaportSören Tempel1-7/+6
2017-10-19newapkbuild: add command line flag for cmake to getoptsSören Tempel1-1/+1
It is documented in the help output but didn't work because getopts(1) didn't check for that option. I am assuming the person who added cmake support simply forgot to adjust the getopts line.
2017-10-19newapkbuild: add support for mesonSören Tempel1-3/+36
2017-09-28==== release 3.0.2 ====v3.0.2Natanael Copa1-1/+1
2017-09-28abuild: only print version if we are buildingNatanael Copa1-3/+5
The purpose was to show abuild version in the build logs
2017-09-28abuild: fix typoA. Wilcox1-1/+1
2017-09-28newapkbuild: detect CMakeLists.txt file for CMakeA. Wilcox1-1/+1
Some CMake packages do not have cmake/ directory, but all have CMakeLists.txt present in the root directory.
2017-09-27abuild: rootbld: reflect build branch in the builder hostnameTimo Teräs1-9/+7
2017-09-26abuild: do not try to strip standalone elf imagesTimo Teräs1-3/+3
Guile uses ELF is internal object format, and creates them as "no machine" and "standlone" OSABI. Scanelf supports printing OSABI, so use that to filter these out. See: https://github.com/alpinelinux/aports/pull/1714 This also removes unneccessary 'sed' from the pipeline as it's simple to read each field outputted by scanelf.
2017-09-19abuild.in: remove saveas- syntax and fix sourcecheck()v3.0.1tmpfile1-6/+2
As discussed in alpinelinux/aports#1438 saveas- was removed from abuild-fetch.c with https://github.com/alpinelinux/abuild/pull/20 but abuild.in slipped. Also fixes a wget -s instance that's not supported by recent busybox (-s was changed for --spider). /cc @kaniini
2017-09-19git: ignore abuild-rmtemp executableA. Wilcox1-0/+1
2017-09-19abuild-rmtemp: define _XOPEN_SOURCE to ensure FTW_DEPTH is visibleA. Wilcox1-0/+1
2017-09-19abuild: ensure a package has deps before printing themA. Wilcox1-0/+4
After the first dep is printed, `shift` is called to avoid the special case where the first dep cannot have a comma prepended. However, if there are no deps for a package (seen early on in the aports main repo in acf-jquery), $# is 0. POSIX specifies that `shift` has two options when the shift operand (1) is greater than $#: - if non-interactive, it can exit the shell - if it does not exit the shell, it must return a non-zero exit code Since we run the shell with -e, the second case folds in to the first. BusyBox ash does not implement this behaviour, but bash does when called as /bin/sh or when the `posix` shopt is set.
2017-09-19git: ignore abuild-gzsplitA. Wilcox1-0/+1
2017-09-19abuild: avoid print version multiple timesNatanael Copa1-1/+3
and respect -q flag
2017-09-19abuild: Always print the builder versionBreno Leitao1-1/+1
Currently is hard to discover what abuild version was used on a build log. This lack of information makes it hard to reproduce a buld failure. This change simply adds the abuild version at all logs.
2017-09-19apkbuild-pypi.in: modernizetmpfile1-3/+2
2017-09-19==== release 3.0.0 ====v3.0.0Natanael Copa1-1/+1
2017-09-19abuild: exit with success if arch is disabledNatanael Copa1-2/+1
the set -e made script exit early
2017-08-05abuild: prepare_metafiles: use new /bin/sh virtual instead of hardcoded ↵William Pitcock1-3/+3
busybox dependency
2017-07-26abuild: Add default split OpenRC functionA. Wilcox1-0/+19
2017-07-20abuild-sudo: prevent forging of user nameKaarle Ritvanen1-10/+7
2017-07-20abuild: print url we are fetchingNatanael Copa1-4/+1
This is useful for debugging
2017-07-20abuild: add sanitycheck for secfixes commentNatanael Copa1-0/+21
The secfixes comment will be parsed and added to alpine-secdb. add sanitycheck so we catch errors early.
2017-07-17==== release 3.0.0_rc4 ====Natanael Copa1-1/+1
2017-07-17abuild-sudo: fix segfault when there are no controlling termv3.0.0_rc4Natanael Copa1-1/+13
if there are no controlling reminal getlogin() may return NULL. We use getpwuid() to try figure out the username and verify that we actually have a username before we set environment USER.
2017-07-17==== release 3.0.0_rc3 ====v3.0.0_rc3Kaarle Ritvanen1-1/+1
2017-07-16abuild: rootbld: require metapackageKaarle Ritvanen1-5/+1
2017-07-16abuild: rootbld: improve version compatibilityKaarle Ritvanen1-1/+8
2017-07-16abuild: rootbld: require envsubstKaarle Ritvanen1-1/+1
2017-07-11apkbuild-cpan: separate './Build test' to check stepTimo Teräs1-1/+7
2017-07-11apkbuild-cpan: perl no longer has '.' in path, add it for prepare()Timo Teräs1-2/+2
2017-07-11apkbuild-cpan: modernizetmpfile1-8/+8
2017-07-06abuild: rootbld: make mkusers workKaarle Ritvanen1-2/+4
2017-07-06abuild: rootbld: always require repo templateKaarle Ritvanen1-34/+22
2017-06-27abuild: build in chrootKaarle Ritvanen5-3/+161
This patch is based on earlier work by Timo Teräs.
2017-06-27abuild-sudo: enforce correct value for USERKaarle Ritvanen1-1/+2
2017-06-27abuild-sudo: allow commands with '-' in the nameKaarle Ritvanen1-1/+6
2017-06-27abuild: disable trap when entering the handlerKaarle Ritvanen1-0/+1
2017-06-27abuild: add config option to globally enable dbgCarlo Landmeter1-0/+5
2017-06-23abuild: fix bad git mergeA. Wilcox1-1/+0
2017-06-23newapkbuild: fix usage outputA. Wilcox1-1/+2
2017-06-23abuild: use portable awk exponentiation operatorA. Wilcox1-1/+1
2017-06-23abuild: call tar portablyA. Wilcox2-3/+3
2017-06-23abuild: Correctly comment default_dbgA. Wilcox1-1/+3
2017-06-23abuild: Add verbose option '-v' to show everythingA. Wilcox1-0/+3
2017-06-21Allow $patch_args to pass multiple arguments to patchAndrej1-1/+1
2017-06-21abuild-sudo.c: setgid as wellHenrik Riomar1-0/+2
set our gid to root so apk commit hooks run with the same gid as when running "sudo apk add ..." from command line.
2017-06-21abuild: add !checkroot option to run tests without fakerootShiz1-0/+3
Due to fakeroot being very permissive with regards to file permissions, some package testsuites that explicitly check for failing permission checks will fail. For those testsuites, give the APKBUILD the option to run the tests outside of a fakeroot environment.