Commit Graph

238 Commits

Author SHA1 Message Date
مهدي شينون (Mehdi Chinoune)
5914ecb408 pacman: Add security hardening compile flags to CXXFLAGS 2024-01-21 12:24:07 +01:00
Christoph Reiter
8c1bba7c4b Update pacman
Adds https://github.com/msys2/msys2-pacman/pull/33
2023-12-08 14:00:04 +01:00
Christoph Reiter
127b5ed2b7 pacman: rebuild 2023-10-24 19:59:49 +02:00
Christoph Reiter
78d8f7f34f pacman: rebuild 2023-10-11 09:15:39 +02:00
Christoph Reiter
3e587db079 pacman: rebuild 2023-09-14 19:17:09 +02:00
Christoph Reiter
972f8b9154 pacman: rebuild 2023-08-03 08:14:51 +02:00
Christoph Reiter
eaa307dbb5 pacman: rebuild 2023-07-19 19:36:42 +02:00
Christoph Reiter
c0419c0081 pacman: rebuild 2023-05-25 22:16:22 +02:00
Christoph Reiter
1550c3790b pacman: rebuild 2023-05-23 09:40:11 +02:00
Christoph Reiter
12fd261410 Update pacman 2023-04-03 20:36:35 +02:00
Christoph Reiter
78b68d79e8 pacman: rebuild
for curl
2023-03-20 20:14:49 +01:00
Christoph Reiter
81cc51cca8 pacman: rebuild 2023-03-20 14:49:19 +01:00
Christoph Reiter
cd7c76c71d pacman: Update to 6.0.2
See https://github.com/msys2/msys2-pacman/pull/28
2023-03-02 07:16:50 +01:00
Christoph Reiter
8b56cfe2a3 pacman: rebuild 2023-02-20 17:51:08 +01:00
Christoph Reiter
e7424d869a pacman: sync -march flags from mingw to msys
With win7/8 support dropped now we can bump our CPU requirements
for msys packages.

This makes them match what we already use for mingw packages.
2023-01-31 19:54:02 +01:00
Christoph Reiter
e80d8e7697 rebuilds for the missing strip issue
https://github.com/msys2/msys2-pacman/pull/25
2023-01-17 21:03:20 +01:00
Christoph Reiter
3054b5823c pacman: Update 2023-01-16 18:22:16 +01:00
Biswapriyo Nath
5545b5b3dd pacman: Enable clangarm64 repository 2022-12-30 10:41:32 +05:30
Christoph Reiter
0696693a4e pacman: rebuild for openssl 2022-12-28 09:48:44 +01:00
Christoph Reiter
8ad19559bf pacman: rebuild for curl 2022-12-21 11:32:47 +01:00
Christoph Reiter
c2d0bcec5c makepkg: default to -Wl,--large-address-aware
There are many cases where the extra memory is helpful and
with the type of software we package this hopefully shouldn't
lead to any problems.

Fixes #3283
2022-11-08 07:31:19 +01:00
Christoph Reiter
3b62953e26 pacman: Update
rebuild and sync in the bash 5.2 fix
2022-11-04 20:41:06 +01:00
Christoph Reiter
99a00a19a6 makepkg: add -fstack-protector-strong to default CFLAGS
Linux distros have this enabled for years, let's give it a try.

See #3237
2022-10-21 14:26:23 +02:00
Christoph Reiter
2f56fc3900 makepkg: don't use "-mno-*" in CFLAGS
In case a package has a configure check for say -mssse3 and then
enables it if the compiler supports it it would be passed to the compiler
before our CFLAGS, which currently has -mno-ssse3 (which seems to also disable
sse4 and above while at it). The code then assumes it's available but the compiler
fails.

While one could argue that we try to prevent ssse3+ being used in packages, there
are always exceptions like building sse4 code which dynamically gets executed.

So it's better we only enable machine options in CFLAGS and never disable them

Replace "-march=core2 -mno-ssse3" with the equivalent "-march=nocona -msahf".
Note that the GCC docs wrongly state that "nocona" doesn't include "CX16", while it does.

See https://github.com/msys2/MINGW-packages/pull/13651
2022-10-20 21:08:52 +02:00
Christoph Reiter
8b7dc6676b makepkg: set _FORTIFY_SOURCE=2 by default
This follows what Arch Linux does by default, see
091c871471/trunk/makepkg.conf (L42)

This is now possible after https://github.com/msys2/MINGW-packages/issues/13401
2022-10-17 00:17:18 +02:00
Christoph Reiter
6e7e3ff4bc makepkg: disable SSSE3 by default
There are some old AMD CPUs which run Win10 (somehow) but
don't have SSSE3 (not to be confused with SSE3), so explicitely
disable it. Both gcc and clang seem to understand this combination.
2022-10-16 23:18:45 +02:00
LIU Hao
cffbf28711 makepkg: Set default arch for native x86_64 packages to core2
This allows builtin atomic operations on 128-bit integers.

Signed-off-by: LIU Hao <lh_mouse@126.com>
2022-10-16 19:26:17 +08:00
Christoph Reiter
75a4dbaad3 update-patches: remove patch signature
It includes the git version by default, which just adds lots
of useless changes every time the patches are updated.
2022-10-15 15:59:07 +02:00
Christoph Reiter
a49f31f30e pacman: rebuild
for real this time. to get a curl fix backport.
https://github.com/msys2/MSYS2-packages/pull/3199
2022-09-21 19:44:25 +02:00
Christoph Reiter
2a6a0f0320 Revert "pacman: rebuild"
This reverts commit b6c2c0f6bd.

turns out nghttp2 just added new api tfor curl to be less strict,
so we need to wait for a curl release first
2022-09-21 18:02:56 +02:00
Christoph Reiter
b6c2c0f6bd pacman: rebuild
nghttp2 had some fixes we want
2022-09-21 17:32:24 +02:00
Christoph Reiter
9cc1806a80 Update pacman
pkgbuild linting is now opt-in
2022-09-11 14:05:12 +02:00
Christoph Reiter
1ff9c79a6b pacman: rebuild 2022-09-02 12:11:11 +02:00
Christoph Reiter
c260cf7599 pacman: rebuild
to pull in dependency changes
2022-05-28 10:09:06 +02:00
Christoph Reiter
5917b5b87a pacman: enable clang32 by default
And add commented out versions of clangarm64 and staging while at it,
so they are easy to enable if wanted.
2022-05-01 18:01:50 +02:00
Christoph Reiter
5391c118a7 Remove the base-devel group from all PKGBUILD files
We have a base-devel package now, so this isn't used anymore.
Remove it either way to avoid confusion.
2022-04-18 11:17:10 +02:00
Christoph Reiter
c9c3ad06fa pacman: use zstd for source packages too
because why not
2022-04-07 20:12:21 +02:00
Christoph Reiter
026a47cf12 pacman: rebuild 2022-04-04 08:35:36 +02:00
Christoph Reiter
a1d92610d4 pacman: rebuild
lots of deps have changed, so a rebuild can't hurt
2022-04-03 14:33:36 +02:00
Christoph Reiter
1ac20c43a4 pacman: bump pkgrel 2022-02-09 19:59:34 +01:00
Christoph Reiter
b4759e37f1 pacman: use git apply for patches
so we don't depend on a git commiter being set
2022-02-09 19:59:34 +01:00
Christoph Reiter
7e7680cc65 makepkg.conf: remove redundant LDFLAGS
Remove all flags which are default with the respective toolchain anyway.
This isn't supposed to change anything.

--no-seh remains, see https://github.com/msys2/MSYS2-packages/pull/2133
2022-02-09 19:59:24 +01:00
Christoph Reiter
cc5871f755 makepkg.conf: remove git related vars
They were never exported (also not in PKGBUILD files) so not used.
Just remove them and handle this in PKGBUILD by not using "git am"
2022-02-09 18:46:53 +01:00
Christoph Reiter
fa6a437157 pacman: Update patches 2022-02-09 18:43:10 +01:00
Christoph Reiter
df11c64ea4 pacman: no longer require toolchains to be installed when running makepkg-mingw
See https://github.com/msys2/MINGW-packages/discussions/10506
2022-01-09 13:56:44 +01:00
Christoph Reiter
e40c90814f Makedepend on gcc/make where needed
This means we no longer need msys2-devel
2021-12-13 22:19:56 +01:00
Christoph Reiter
8f0e5c06a3 pacman: fix a path in libalpm.pc
It hardcodes the gcc path which isn't the same any more
2021-12-11 16:08:39 +01:00
Mehdi Chinoune
200ca2e1ee pacman: Fix LTO-ing staticlibs 2021-11-19 08:14:23 +01:00
Christoph Reiter
6a365b7ded Bump pkgrel for heimdal
I missed it..
2021-11-18 08:49:47 +01:00
Christoph Reiter
fc24e609ac pacman: rebuild 2021-11-17 23:44:18 +01:00