Commit Graph

10 Commits

Author SHA1 Message Date
Wolfgang Bumiller
73fdaa816d Fix ELF note alignment
The individual entries should be 4-byte aligned.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2025-02-06 17:19:35 +01:00
Wolfgang Bumiller
2c5f34aee0 bump perlmod-bin to 0.2.1-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2025-01-16 13:46:10 +01:00
Wolfgang Bumiller
057f71a473 macro: create .notes.perlmod.package section in libraries
So all the macro-supported packages can be listed in the ELF file.
This way all the available packages in a library can be viewed with
`readelf -W -n libfoo.so`. In the future we can also embed metadata in
there.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2025-01-16 10:45:13 +01:00
Wolfgang Bumiller
ff16830506 perlmod-bin: fix generated libfile invocation
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-01-02 14:13:34 +01:00
Wolfgang Bumiller
760f47bdd5 perlmod-bin: actually use 'libfile'
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-18 10:36:49 +01:00
Wolfgang Bumiller
c05806d1d8 genpackage: add --include-file option to add extra code
We'll use this to inject a 'use SslProbe.pm;' in pve and pmg to avoid
openssl-probe manipulating environment variables.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-18 09:43:21 +01:00
Wolfgang Bumiller
c6d49a8cde genpackage: change library loading
Replace the 'libdirs()' function with a 'libfile()' function.
To text a fixed file, we should only place that one file in there in
test suites.

Additionally, search LD_LIBRARY_PATH before the auto-dirs, which
should make custom testing via the command line easier as well.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-18 09:26:47 +01:00
Wolfgang Bumiller
fa7d62bf37 genpackage: make 'init()' optional
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-18 09:26:33 +01:00
Wolfgang Bumiller
8591b61ea4 genpackage: use strict and warnings
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-18 09:26:14 +01:00
Wolfgang Bumiller
9a4968f9e8 perlmod-bin package for pm file generation
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-10 10:11:51 +02:00