[Git][pacman/pacman][master] 9 commits: Fix file permissions

Allan McRae (@allan) allan at archlinux.org
Wed Dec 29 08:49:22 UTC 2021



Allan McRae pushed to branch master at Pacman / Pacman


Commits:
37109600 by Allan McRae at 2021-12-12T14:34:53+10:00
Fix file permissions

- - - - -
26ee6ff6 by Allan McRae at 2021-12-24T17:59:32+10:00
LTO: Add -flto to LDFLAGS for clang

GCC automatically detects when it is linking LTO objects, but clang does
not.  Add -flto to LDFLAGS to make this work for clang too.

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
354a300c by Allan McRae at 2021-12-29T15:20:05+10:00
makepkg: remove libdepends and libprovides

This will be replaced by a better system

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
060ab4a2 by Allan McRae at 2021-12-29T15:20:05+10:00
libmakepkg: add framework for autodeps

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
b2342800 by Allan McRae at 2021-12-29T15:20:05+10:00
libmakepkg: automatically add library sonames to provides

When the option "autodeps" is enabled, makepkg will add provides
entries for libraries found in the directories specified in LIB_DIRS
in makepkg.conf.  The entries LIB_DIRS array have the format
"prefix:directory".  For example, the entry "lib:usr/lib" will search
$pkgdir/usr/lib for library sonames and add "lib:libfoo.so.1" to the
provides array.

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
9b766bad by Allan McRae at 2021-12-29T15:20:05+10:00
libmakepkg: automatically add library dependencies

Add linked libraries to a packages dependency list. This is the partner
to automatically generated library provides, and thus depends take the
same format. To help with bootstrapping, library dependencies are only
added if the relevant provide exists.

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
3a112668 by morganamilo at 2021-12-29T15:49:35+10:00
pacman: improve backup printing

The current backup printing does not fit in with the rest of the info at
all. Change to be more consistant.

Old:

Backup Files    :
MODIFIED	/etc/pacman.conf
UNMODIFIED	/etc/makepkg.conf

New:

Backup Files    : /etc/pacman.conf [modified]
                  /etc/makepkg.conf [unmodified]

Signed-off-by: morganamilo <morganamilo at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
58c81fa2 by morganamilo at 2021-12-29T16:16:18+10:00
alpm: return -1 for error in find_dl_candidates

This is the error value generally used and the calling function
explicitly checks for -1, later causing the error to be missed
and the transaction to continue.

> pacman -S xterm
warning: xterm-369-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)  Old Version  New Version  Net Change  Download Size

extra/xterm  369-1        369-1          0.00 MiB       0.42 MiB

Total Download Size:   0.42 MiB
Total Installed Size:  1.05 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
error: no servers configured for repository: extra
(1/1) checking keys in keyring                                                                 [--------------------------------------------------------] 100%
(1/1) checking package integrity                                                               [--------------------------------------------------------] 100%
error: failed to commit transaction (wrong or NULL argument passed)
Errors occurred, no packages were upgraded.

- - - - -
9f236547 by Oskar Roesler (bionade24) via pacman-dev at 2021-12-29T17:53:51+10:00
pacman: print additional error information to stderr

Prints extra information provided by file conflict or corrupt package messages
to stderr instead of stdout

Signed-off-by: Oskar Roesler (bionade24) <o.roesler at oscloud.info>
Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -


15 changed files:

- doc/PKGBUILD.5.asciidoc
- doc/makepkg.conf.5.asciidoc
- etc/makepkg.conf.in
- lib/libalpm/sync.c
- + scripts/libmakepkg/autodep.sh.in
- + scripts/libmakepkg/autodep/library_depends.sh.in
- + scripts/libmakepkg/autodep/library_provides.sh.in
- + scripts/libmakepkg/autodep/meson.build
- scripts/libmakepkg/buildenv/lto.sh.in
- scripts/libmakepkg/lint_config.sh.in
- scripts/libmakepkg/meson.build
- scripts/makepkg.sh.in
- src/pacman/package.c
- src/pacman/package.h
- src/pacman/sync.c


View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/d21fb58da30a2bed405f9662e5ded3c31dddeccd...9f23654722b849b76ec15f6513ecb9265540ea59

-- 
View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/d21fb58da30a2bed405f9662e5ded3c31dddeccd...9f23654722b849b76ec15f6513ecb9265540ea59
You're receiving this email because of your account on gitlab.archlinux.org.




More information about the pacman-dev mailing list