Commit message (Collapse)AuthorAgeFilesLines
* abuild: set -g in DFLAGS too for -dbg subpackagesHEADmasterRasmus Thomsen2020-05-031-0/+1
| | | | This is required for proper debug info for D packages
* Revert "abuild: include $pkgname in temporary rootbld directory"Sören Tempel2020-04-171-1/+1
| | | | | | | | This commit broke abuild-rmtemp which has a prefix check to ensure it doesn't remove non-abuild directories. Revert the commit instead of adjusting the prefix check for now. This reverts commit d0828c06557773f252b645618500699a941bd091.
* abuild.conf: enable PIE binaries by default for go as wellSören Tempel2020-04-171-0/+1
| | | | | | | | | | | | | | | | | | | From `go help environment`: GOFLAGS A space-separated list of -flag=value settings to apply to go commands by default, when the given flag is known by the current command. Flags listed on the command-line are applied after this list and therefore override it. And from `go help build`: -buildmode mode build mode to use. See 'go help buildmode' for more. Setting this environment variable in /etc/abuild.conf allows us to build all go binaries on the builders as PIE without needing to patch the go compiler itself.
* ==== release 3.6.0_rc1 ====v3.6.0_rc1Natanael Copa2020-04-141-1/+1
* newapkbuild: allow -n option without urlNatanael Copa2020-04-141-1/+1
* abuild: fix check_libcNatanael Copa2020-03-311-1/+1
| | | | fixes commit 012a179339ccf91adaa8b9f572d2b885f8fd4eab
* abuild: default_prepare: Apply GZIP/XZ-compressed *.patch filesMinecrell2020-03-301-1/+9
| | | | | This allows using default_prepare to apply compressed patches, e.g. the linux-lts kernel patches (compressed using XZ).
* newapkbuild: treat packages that start with py[0-9]- as python packages.Leo2020-03-301-1/+1
* newapkbuild: do not pass CFLAGS and CXXFLAGS explicitlySören Tempel2020-03-301-2/+0
| | | | | | With the None build type used nowadays these should be picked up automatically by the environment. If not, we would also need to pass CPPFLAGS and LDFLAGS explicitly.
* keep provides and replaces on recreate and deal with pkgrelTimothy Legge2020-03-271-5/+29
* add or between licenseTimothy Legge2020-03-271-1/+1
* add additional license and package mappingsTimothy Legge2020-03-271-0/+3
* Avoid processing duplicate modules in parse_depsTimothy Legge2020-03-271-12/+19
* Fix issue if Build.PL and add perl-module-build as makedepsTimothy Legge2020-03-271-2/+7
* reset the pkgrel if the pkgver changes on recreateTimothy Legge2020-03-271-0/+6
* perl and perl-dev as depends and makedependsTimothy Legge2020-03-271-2/+12
| | | | | fix issue with how perl-dev was added as a makedepends perl probably should be a dependency of all per modules
* fix missing variables fails and remove empty varsTimothy Legge2020-03-271-3/+11
| | | | | | | aports convention is to delete empty variables from APKBUILD files this causes and issue with updating existing APKBUILD files new depends, makedepends or checkdepends are added to process the file properly. Empty variables are then deleted once the file processes correctly
* improve dealing with old APKBUILD perl module namesTimothy Legge2020-03-271-8/+95
| | | | | | | remove trailing pkgver from some module names attempt to use additional variable content to determine perl package name this now appears to support all but 10 or 11 non metacpan api retrievable module information and add a package mapping for perl-ldap
* fix parse_deps for multiple CPAN::Meta::Requirements ↵Timothy Legge2020-03-231-15/+16
| | | | | | | | return unique do_depends can send multiple meta dependencies as additional parameters parse_deps was not itterating through each of the parameters this fix gets the entire list without duplicate entries
* fixes #9990, #9991 and #9992Timothy Legge2020-03-231-19/+16
* abuild-sudo: dont require root to be member of abuild groupNatanael Copa2020-03-231-3/+4
| | | | fixes #9984
* APKBUILD.5: change 'abuild checkout' to 'abuild snapshot'TBK2020-03-231-1/+1
* use option_has instead of list_hasLeo2020-03-231-1/+1
* Allign with CODINGSTYLE quotingTBK2020-03-231-2/+2
* add OR to licenseTBK2020-03-231-1/+1
* abuild: Use $APK instead of apkA. Wilcox2020-03-231-1/+1
| | | | | | | This is the only appearance of `apk` in the source. Appears accidental. Fixes: 41343329 ("abuild: fix dependency tracing for cross builds") Signed-off-by: A. Wilcox <>
* Don't pollute stderr with rmdir messages that are ignoredLeo2020-03-231-1/+1
* warn when directories found that hold shell completions.Leo2020-03-231-1/+14
| | | | | | | | | This will warn then paths for certain shells that have completions are found and tell the user to add a subpackage for it. In a future date we also want to warn the user to move certain directories where packages have completions to those directories so our default_ functions can move them without problems
* .editorconfig: add Makefile rulesDrew DeVault2020-03-231-0/+4
* move usr/lib/glade/modules and usr/share/glade/catalogs to -dev by default.Leo2020-03-231-0/+1
* Add support for the SUDO variableLeo2020-03-231-3/+6
| | | | This can be used to pick another tool to elevate privileges.
* newapkbuild: use 'plain' buildtype for meson and 'None' buildtype for CMakeRasmus Thomsen2020-02-211-2/+2
| | | | | | | | | This way Meson and CMake will use the C{,PP,XX}FLAGS we've set in `/etc/abuild.conf`. Without this change CMake and meson will overwrite our CFLAGS with custom flags. Most importantly, they prefer -O1/-O2 over our -Os. See also:
* in snapshot(), fix recursive callsWictor Lund2020-02-161-2/+2
| | | | | - Call "$abuild_path" instead of plain "abuild" - Pass $forceroot as done elsewhere
* set CARGO_HOME to $SRCDEST/cargoLeo2020-02-161-1/+2
| | | | | | CARGO_HOME tells cargo where to store installed dependencies, save it to a directory in $SRCDEST so we don't need to download all dependencies again when compiling a rust package.
* newapkbuild: do out-of-source CMake builds by defaultLeo2020-02-161-4/+20
| | | | | It is recommended by upstream CMake (it will warn when you do in-source builds) to keep generated files away from the source.
* abuild: include $pkgname in temporary rootbld directorySören Tempel2020-02-161-1/+1
| | | | | | | This makes it easier to figure out to which build the directory belongs to. Occasionally, I have many failed abuild rootblds in my /var/tmp and including the $pkgname in the directory would help me associating the directories with failed builds I recently executed.
* abuild: use stat instead of df to figure filesystem typeTimo Teräs2020-02-081-1/+1
| | | | | | | | Fixes the error: df: .: can't find mount point When running abuild inside a chroot when the root file system mountpoint information is not necessarily directly available.
* exclusively use apk --print-arch to detect build archTimo Teräs2020-02-071-8/+5
| | | | | | | | | | | | | | | | | | | | | Originally "gcc -dumpmachine" was used to detect build gcc triplet. However, abuild does not depend on gcc or build-base (but installs it if needed to build) so gcc might not be there. Additionally abuild-sign can be used standalone, and does not have gcc dependency. Using ${CC:-gcc} is problematic in cross-compile, as CC might be already set for the cross-compiler and would result giving the target host triplet. It was deemed simplest to use "apk --print-arch" exclusively to detect the builder host type, or specify CBUILD manually. If there is need to use abuild/abuild-sign on non-Alpine hosts withou apk, we can later add fallback that uses "uname -m" to detect the architecture and guess Alpine CBUILD from it. Fixes #9974 Fixes: 5adf47c1 " use apk --print-arch for CARCH if gcc is missing" Fixes: 95cd15c0 " dont die if gcc is missing"
* fix typo in sample for pre and post installLeo2020-02-052-2/+2
* use apk --print-arch for CARCH if gcc is missingNatanael Copa2020-01-311-0/+7
* abuild: explicitly sort apk contentkpcyrd2020-01-301-3/+5
* abuild: set fixed atime and ctime in tarkpcyrd2020-01-301-4/+12
* add default bashcomp, zshcomp and fishcomp functionsLeo2020-01-281-2/+65
* abuild-keygen: make size of private key configurableSören Tempel2019-12-231-7/+11
| | | | | | Previously, a key size of 2048 bits was hardcoded. While this is still the default, it can now be changed. Additionally, the default key size might be changed to 4096 in the future.
* ==== release 3.5.0 ====v3.5.0Natanael Copa2019-12-191-1/+1
* ==== release 3.5.0_rc3 ====v3.5.0_rc3Natanael Copa2019-12-181-1/+1
* abuild: fix building without gitNatanael Copa2019-12-051-0/+4
| | | | fixes #9981
* abuild: fix applying patches from httpsNatanael Copa2019-11-281-1/+1
| | | | | | fix patches such as previously it would only work with the filenamename.patch::$url syntax
* ==== release 3.5.0_rc2 ====v3.5.0_rc2Natanael Copa2019-11-261-1/+1
* abuild: set SOURCE_DATE_EPOCH from rootpkgNatanael Copa2019-11-261-1/+4