Allan McRae pushed to branch release/6.1.x at Pacman / Pacman


Commits:
71f52225 by Allan McRae at 2024-05-10T16:19:22+10:00
Fix typo in cb_progress

Introduced in 74deada511358a4ce9c10ee0c6ae216e2c6c6b73.

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit 27eba85594932a6e14faeca9ae40c9c5ebd7ea17)

- - - - -
e16b95dd by Allan McRae at 2024-05-10T16:20:29+10:00
Do not pass NULL paramenter to bsearch with empty filelist

A filelist can be non-NULL but empty (particularly with a lot of
NoExtract entries). Handle this in alpm_filelist_contains()

Identified using the undefined behaviour sanitizer.

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit 0ccb584262cefdd09674cdf21406ae69577b10ad)

- - - - -
2fdd0179 by Allan McRae at 2024-05-10T16:57:08+10:00
libmakepkg: remove MAKEFLAGS from buildenv_vars

MAKEFLAGS should not be cleared by options=(!buildenv).

Regression introduced in commit 09e82f01ea824f9203b0ed7238d98b612669b1a9

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit 027ecbc7b8503b58eb055ade0e179c352427e4d5)

- - - - -
78f17bae by Allan McRae at 2024-05-10T16:57:08+10:00
pacman-key: fix permission checks for non-root operations

Removing lock-never from the default gpg.conf file exposed a couple of bugs
in the permission checks in pacman-key.

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit 49ebd856ec09b2a7d87d36dedbf83d02d59269a8)

- - - - -
ff139a7e by Allan McRae at 2024-05-10T16:57:08+10:00
unlink_file: restore trailing slash on directory before checking mountpoint

The dir_is_mountpoint() function has the explicit requirement that the
trailing slash of the directory is present.  We strip the trailing slash
in unlink_file() to handle directories replaced with symlinks, but that
then affects the dir_is_mountpoint() check.

Add the trailing slash when we have established we are dealing with a
directory. Note this may fail in the case of a file managed by pacmane
with name length of PATH_MAX that has been replaced by a directory on the
file system. Bail on this unlikely scenario.

In addtion, be less fancy with adjusting length of the file char array.

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit f86c15e7804311df6469e020f07e4bc8b2644bb6)

- - - - -
6398aef0 by Allan McRae at 2024-05-10T16:57:08+10:00
_alpm_archive_fgets(): bail early if reached end of block

Bailing early when there are 0 blocks remaining means that we do not call
memchr on a NULL string (although with a 0 size parameter).  Fixes issues
reported using -fsanitise=address,undefined

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit 4dc21b965b891042edc951d53f9ce93bf265cdfd)

- - - - -
01825891 by Allan McRae at 2024-05-10T16:57:08+10:00
libmakepkg: do not unset CHOST with !buildflags

Also ensure CHOST and MAKEFLAGS are exported.

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit 7dcf9a2b49226af8fcb43202d83260873fc11490)

- - - - -
abec6bc1 by Allan McRae at 2024-05-10T16:57:08+10:00
repo-add: handle lack of newline at end of .PKGINFO

Work around the final line not being parsed in .PKGINFO if there was a lack
of newline at the end of the file.  This could occur due to utilising a tool
other than makepkg to create packages.

The missed line created a difference in the parsing of .PKGINFO between
repo-add and pacman, causing packages to be seen as invalidwith pacman-6.1.

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit 03d884d7ff43a474c1670db3cbbf1fbbef2926df)

- - - - -
bdd6680a by lilydjwg at 2024-05-10T16:57:08+10:00
makepkg: fix git checksumming depends on user config

(cherry picked from commit 8e30cd4e38b15cb20f0ec89f1504b4ac8154e766)

- - - - -
3ad9366b by Allan McRae at 2024-05-10T16:57:08+10:00
libmakepkg: add fortran buildenv to meson sources array

Fixes #132.

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit 792df078fabdd366b4da23aa96e22c3f3c7b1dd5)

- - - - -
0828a085 by Chih-Hsuan Yen at 2024-05-10T16:57:08+10:00
Fix unstable git checksums

Closes https://gitlab.archlinux.org/pacman/pacman/-/issues/131

(cherry picked from commit 9548d6cc765b1a8dcf933e8b1b89d0bcc3e50209)

- - - - -
7c81fad9 by Allan McRae at 2024-05-10T16:57:08+10:00
Deploy website using gitlab pages

Signed-off-by: Allan McRae <[email protected]>
(cherry picked from commit 60d517107beccb3d6f7759be2aaa9bc84a342e1d)

- - - - -
07a00339 by Allan McRae at 2024-05-10T16:57:08+10:00
Pull updated translations

Additionally fix issues in plural strings to prevent segfaults particularly
with the provider selection dialog.

Signed-off-by: Allan McRae <[email protected]>

- - - - -


30 changed files:

- .gitlab-ci.yml
- lib/libalpm/filelist.c
- lib/libalpm/po/ar.po
- lib/libalpm/po/ast.po
- lib/libalpm/po/az_AZ.po
- lib/libalpm/po/bg.po
- lib/libalpm/po/br.po
- lib/libalpm/po/ca.po
- lib/libalpm/po/cs.po
- lib/libalpm/po/da.po
- lib/libalpm/po/de.po
- lib/libalpm/po/el.po
- lib/libalpm/po/en_GB.po
- lib/libalpm/po/eo.po
- lib/libalpm/po/es.po
- lib/libalpm/po/es_419.po
- lib/libalpm/po/eu.po
- lib/libalpm/po/eu_ES.po
- lib/libalpm/po/fi.po
- lib/libalpm/po/fr.po
- lib/libalpm/po/gl.po
- lib/libalpm/po/hi.po
- lib/libalpm/po/hr.po
- lib/libalpm/po/hu.po
- lib/libalpm/po/id.po
- lib/libalpm/po/it.po
- lib/libalpm/po/ja.po
- lib/libalpm/po/kk.po
- lib/libalpm/po/ko.po
- lib/libalpm/po/libalpm.pot


View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/compare/b2bb2e24827450465a9e0a8463c86e4b415de220...07a00339e2ca28d45a1fb15d500a65547ed81990

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/compare/b2bb2e24827450465a9e0a8463c86e4b415de220...07a00339e2ca28d45a1fb15d500a65547ed81990
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to