Natanael Copa
d708a813a3
tests: add tests for abuild-fetch
2021-04-20 11:16:23 +02:00
Alex Xu (Hello71)
4e548b722b
abuild.conf: LDFLAGS+=-O1,--sort-common
...
These options are used by default in Arch Linux [0], and slightly reduce
binary size.
Note that -D_FORTIFY_SOURCE=2 and -z relro -z now are already enabled by
default in Alpine for all gcc invocations.
[0] https://git.archlinux.org/svntogit/packages.git/tree/trunk/makepkg.conf?h=packages/pacman
2021-04-12 15:06:31 +00:00
Wolf
f523aabce3
Add new lines around the checksums in APKBUILD
...
In order to make diffs more tidy and the APKBUILD overall more visually
pleasing, new lines are added after opening and before closing quote,
turning
sha512sums="HASH foo
HASH bar"
into
sha512sums="
HASH foo
HASH bar
"
therefore keeping alignment of file names.
2021-04-12 15:03:02 +00:00
Luca Weiss
f92b56d8c9
newapkbuild: generate check for meson
...
The function already exists but it was never called.
2021-04-12 15:02:18 +00:00
Luca Weiss
05d36a90ce
newapkbuild: escape meson variables
...
Otherwise we'll generate e.g. 'meson compile -j 7 -C output'
2021-04-12 15:02:18 +00:00
Timothy Legge
3af74788bb
apkbuild-cpan.in: package sort order on upgrade
2021-04-04 00:27:34 -03:00
Timothy Legge
775efcf61d
apkbuild-cpan.in: fix formatting issue on upgrade
2021-04-04 00:25:47 -03:00
Timothy Legge
b699730091
apkbuild-cpan.in: Fixes #9994 mod version with non-numeric
2021-02-16 02:28:04 +00:00
Timothy Legge
802822f57e
apkbuild-cpan.in fix format_deps issues
2021-02-16 02:27:57 +00:00
Timothy Legge
8cbd4a6ac2
apkbuild-cpan.in: Fixes #10010 - might create duplicate perl-module-build deps
2021-02-15 02:29:00 +00:00
Timothy Legge
b7196278b1
apkbuild-cpan.in: Fixes #10025 - invalid 'Duplicate' removed
2021-02-15 01:21:18 +00:00
Natanael Copa
f35f2aa859
abuild: add test for invalid filenames
...
reject filenames with newlines
fixes #10024
2021-02-04 14:44:16 +01:00
Timothy Legge
9246fbc8b4
apkbuild-pypi.in: remove empty variables
2021-01-23 20:43:26 +00:00
Timothy Legge
82b4d9bf43
apkbuild-pypi.in: Updates to fix some issues
2021-01-22 21:20:36 -04:00
Natanael Copa
7e754436f1
tests: don't read /etc/abuild.conf
...
Host's /etc/abuild.conf may enable USE_CCACHE which will pull in ccaches
as makedepends which breaks the tests.
fixes https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10017
2021-01-07 15:21:03 +01:00
Timothy Legge
c1dadac7d3
apkbuild-cpan.in: only wrap lines greater than set
2021-01-07 14:06:35 +00:00
Timothy Legge
4544a479d1
apkbuild-cpan.in: remove duplicates from each of depends
2021-01-07 14:06:35 +00:00
Timothy Legge
3129c7bcdb
apkbuild-cpan.in: format depends indent and wrap
2021-01-07 14:06:35 +00:00
Timothy Legge
9dde1e73e2
Add license_mapping for Apache-2.0
2021-01-07 14:06:35 +00:00
Bart Ribbers
700bdb552f
newapkbuild: don't try to build in the package target when using cmake, just install
2021-01-07 14:05:47 +00:00
Drew DeVault
b0af30c5be
abuild.in: update autoconf test for riscv64
2021-01-04 20:28:09 +01:00
Drew DeVault
98c10731dc
Update config.guess, config.sub, to 2020-11-19
2021-01-04 20:28:09 +01:00
Sören Tempel
3665a7a994
abuild rootbld: disable real chown calls in fakeroot
...
By default, fakeroot forwards chown system calls to the libc and ignores
EPERM errors. Unfortunately, when fakeroot is used inside a restricted
bubblewrap environment, bubblewrap intercepts these system calls and
returns EINVAL. The EINVAL return value is not masked by fakeroot and
returned to the caller, thereby causing failures of mv(1), install(1),
chown(1), … which use the chown system calls internally.
Setting the FAKEROOTDONTTRYCHOWN environment variable prevents the chown
systemcalls to be performed in the first place. This variable is only
set in the environment created through bubblewrap by abuild rootbld.
Fixes #10021
2020-12-21 22:00:19 +01:00
Jakub Jirutka
b78073f663
newapkbuild: remove /usr/.cargo* after cargo install
...
cargo is now generating two files: .cargo.toml and .cargo2.json.
2020-12-14 07:23:20 +00:00
Leo
c59629326b
abuild.in: check for a valid pkgrel with apk version --check
...
fixes #10011
2020-12-13 11:23:42 -03:00
Natanael Copa
10aa67a0ca
Revert "set CARGO_HOME to $SRCDEST/cargo"
...
the SRCDEST may be shared by multiple builders and apparently cargo does
not seem to handle that well. There are also no good way to do clean-up
of the cache for purging things that is no longer in use.
This reverts commit af0c88e6ab
.
2020-11-27 15:17:11 +00:00
Newbyte
55be1feb02
newapkbuild.1: remove redundant parenthesis in CMake generator so apkbuild-lint stops complaining
2020-11-08 14:31:46 +00:00
Natanael Copa
8ceca11831
==== release 3.7.0_rc1 ====
2020-10-29 15:02:23 +00:00
Natanael Copa
c3fb176f24
tests: test if build is reproducible
2020-10-29 14:47:30 +00:00
Natanael Copa
32785f6360
abuild: restore working dir after updating index
...
This fixes issue with `abuild cleanpkg all`, which would fail to set
SOURCE_DATE_EPOC for reproducible builds.
2020-10-29 14:46:46 +00:00
Natanael Copa
614fbc507b
tests: add test for lib64
2020-10-29 14:46:46 +00:00
Natanael Copa
5111ca5fc8
tests: clean up build packages after successful build
2020-10-29 14:46:38 +00:00
Natanael Copa
3a75c39860
tests: test for build failure
2020-10-29 13:30:30 +00:00
Natanael Copa
b6a807296f
APKBUILD.5: document options="lib64"
2020-10-29 12:05:43 +00:00
Natanael Copa
68baa23906
tests: add test for basic package
2020-10-29 12:04:27 +00:00
Leo
4c38544a96
abuild: don't warn about static libraries in -dev
2020-10-29 11:38:38 +00:00
Leo
8eeca0adad
*: say we are using GPL-2.0-only
2020-10-23 11:39:18 -03:00
Leo
b376035ce3
add license GPL-2.0-only WITH OpenSSL-Exception
2020-10-23 11:30:25 -03:00
Timothy Legge
bda2774811
apkbuild-cpan.in: add gpl_2 license_mapping
2020-09-17 22:03:47 +00:00
Sören Tempel
b3c1b65f75
checkapk: calculate size difference of packages
2020-09-17 11:55:54 +00:00
Rasmus Thomsen
13993e014a
abuild.conf: add SAMUFLAGS to honor $JOBS with samu/ninja
2020-09-17 11:54:26 +00:00
Leo
ba3e575d37
abuild: accept lib64 as an option to ignore /lib64 checks
...
this is required when we package stuff with compatibility to glibc like
libc6-compat
2020-07-20 14:03:52 -03:00
Timothy Legge
a3eb828a7c
apkbuild-cpan.in: add back non perl dependencies on recreate
2020-07-08 11:47:24 +00:00
Natanael Copa
dd4cd9d606
abuild: return error if there are more than one maintainer
...
fixes #5421
2020-07-08 13:15:13 +02:00
Natanael Copa
634c81180c
abuild-gzsplit: fix handling of pax headers
...
fixes #9999
2020-07-08 12:44:40 +02:00
Natanael Copa
62913a287d
abuild-gzsplit: use meaningful error messages
2020-07-08 12:44:19 +02:00
Natanael Copa
fbc11ea271
make: build with -g by default
2020-07-08 12:41:21 +02:00
Natanael Copa
69dd828919
tests: improve test output
...
prefix each test output so its easier to see what is tested
2020-07-08 10:59:38 +02:00
Natanael Copa
84e82828ba
tests: add tests for abuild-gzsplit
...
ref #9999
2020-07-08 10:55:01 +02:00
Natanael Copa
2be7002cda
abuild-fetch: retry download if byte range is unsupported
...
fixes #10004
2020-07-08 10:10:26 +02:00