summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2017-06-21abuild-fetch.c: remove saveas- syntaxtmpfile1-3/+0
2017-06-21Add parameter '-D' for alternative APKINDEX descriptionOliver Smith1-4/+6
This patch allows to set a nice description for the APKINDEX, in case the aport that is being built is not inside a git repository. I have tested it, and it behaves exactly like without the patch, even when git is not installed, or the folder is not inside a git repository: The `|| true` at the end of the DESCRIPTION= line makes sure, aport does not get aborted, just like it does not get aborted in that case as of now, as the `git describe` command gets executed in a subshell.
2017-06-12abuild: More readable message for missing dependenciesA. Wilcox1-1/+1
2017-06-01functions.sh: add armel tripletTimo Teräs1-0/+1
2017-05-19newapkbuild: fix build_cmake template - escape parametersJakub Jirutka1-3/+2
2017-04-27Fix false `set -e` terminationAndrej1-0/+1
`readconfig()` would return the result of `[ -z "$CBUILDROOT" ]` condition (line 123) and trigger shell termination in abuild. This also fixes building packages with a different $CTARGET and therefore cross-compile tools.
2017-04-08abuild: Add support for lzip source packagesBreno Leitao1-0/+3
Currently abuild does not understand .tar.lz packages, which blocks the inclusion of certain packages in Alpine Linux. I found this issue when adding 'ed' package to the repository. With this change, abuild package will now depend on lzip package. I might send a patch for abuild's APKBUILD.
2017-04-05remove explicit `|| return 1` from all sample APKBUILDsSören Tempel2-18/+16
Those statement are no longer needed because abuild now runs with `set -e` by default. See also: 36d5193776180385a39626a83241822736a5f6b8
2017-04-04abuild: set -e fix for update_config_{sub,guess}Natanael Copa1-12/+4
2017-03-27abuild: wrap check() with fakerootWilliam Pitcock1-1/+8
2017-03-27abuild: use new PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH env variable to disable ↵William Pitcock1-1/+1
the SAT solver
2017-03-24==== release 3.0.0_rc2 ====v3.0.0_rc2Natanael Copa1-1/+1
2017-03-24abuild: fix -K optionNatanael Copa1-6/+7
make sure we don't delete files when -K is specified fixes #7008
2017-03-21abuild: if ABUILD_BOOTSTRAP environment variable is set, do not ever enable ↵William Pitcock1-0/+1
check() or checkdepends
2017-03-21abuild: fix runpartNatanael Copa1-18/+11
we need to run the function for runpart in the same shell, otherwise we will lose the global variables set in the split functions.
2017-03-20functions: fix abuild -ANatanael Copa1-1/+1
fix so abuild -A does not exit with error if gitbase fails this was introduced with the set -e
2017-03-20==== release 3.0.0_rc1 ====v3.0.0_rc1Natanael Copa1-1/+1
2017-03-07abuild: enable -e shell optionKaarle Ritvanen1-27/+42
2017-03-07abuild: fix dependency checkingKaarle Ritvanen1-25/+23
- versioned dependencies - dependencies on 'provides' tags or library names