Commit Graph

7 Commits

Author SHA1 Message Date
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