diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-07 16:36:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-07 16:36:21 +0100 |
commit | 4f49fc7caa0253a7ab164331f55bd4c70bba1bf7 (patch) | |
tree | a54fc9fe9ce5d43bee554b0c4ef7c26fb45e72d6 /sys-libs/libsmbios | |
parent | a0e773d57146b0a0ec25567af504a10e6f187811 (diff) |
gentoo auto-resync : 07:09:2022 - 16:36:21
Diffstat (limited to 'sys-libs/libsmbios')
-rw-r--r-- | sys-libs/libsmbios/Manifest | 3 | ||||
-rw-r--r-- | sys-libs/libsmbios/files/libsmbios-2.4.3-insecure_rpaths.patch | 13 | ||||
-rw-r--r-- | sys-libs/libsmbios/libsmbios-2.4.3.ebuild | 5 |
3 files changed, 19 insertions, 2 deletions
diff --git a/sys-libs/libsmbios/Manifest b/sys-libs/libsmbios/Manifest index e99234babc10..9b8ca58438c8 100644 --- a/sys-libs/libsmbios/Manifest +++ b/sys-libs/libsmbios/Manifest @@ -1,5 +1,6 @@ AUX libsmbios-2.2.28-cppunit-tests.patch 350 BLAKE2B c735096c5fe0e33eec728e280097f9d1e97aca8942cda80d0d574f24f71f25245714dc4bf99d5b53a9613cbbf4b33d5a50cfa9482be5a2dd601b9b9a03be3940 SHA512 51cfb62fce69afaf73659a2c4c819aa3554831b48d69bc35c1b299cd2e0b4d3be7f156a2cb57912cf10f21182e49fd5ce17aad0205a25d151f55ab3e0e58ddd7 AUX libsmbios-2.4.3-avoid_bashisms.patch 2909 BLAKE2B 426ca128f142307ea89cc5003c298518115805a518b348345f154094e34be932721aa6c880612fa7fe3473bc1156bf7c2dc1ce085dd9511ddeaf58e54d2464e1 SHA512 d2199481d87527ce7e90ca355cdfaf48a859982e67090e248034139b19ce2d61717e9887d246c7bd6b1e46f3f97cf6ec6bbdf04e3091c513221cb42d0f1431b3 +AUX libsmbios-2.4.3-insecure_rpaths.patch 536 BLAKE2B 7f5e307002b4898665ee2355287e1512d381168e53d1b56a8ef5ebbb503492f49b27c5fe27b53db7c5005f13559b5f0576ba14041436d0f67c172299ddc31877 SHA512 7d1f64d1a9966882a8df31abd5566f07f7fe01cede6ee1140c9b44aa47464efe53997c92ec423228114d568c4cfd77309e4a3dd7d9294fa09b054d72838143da DIST libsmbios-2.4.3.tar.gz 644140 BLAKE2B 684bff4f6cf755796f785e9a93d4ddbe2a1af52082cdebc27d203772a6a2a0259edb4b9d19921f90fc78b48d54700223fbc2628665b963ebcb601010ff4340ab SHA512 7f6fb36fa9653e123b416b275953fb5652025e76dac3b4ec5600168e193ea56f8ac3ea1a3b5db29d2770e73d88152d712a35bf77a9b3fc5596570fae885585ad -EBUILD libsmbios-2.4.3.ebuild 1812 BLAKE2B 7c188ceea03940390372c4c8dbf572f0aab242dbce7833f264865b5d85c30b3ccef086f9a3cc0a6563e68eebc5b738b5fc24223cd1aa5390979c7e569c54c798 SHA512 82ed49378df01d8d8290719dc15a11a51ed2765d04c5f328226a96171b91e6bd424a88563bfe1932ca359998132a258f2dc09e0421a82a15a2457937c61b6947 +EBUILD libsmbios-2.4.3.ebuild 1910 BLAKE2B 50a2098928c7c460b01c89d077ddcccfcf2cb4ea90a85a3ec16ccd59e347ba5d4cf28d8938a12de1993d29fdcfc2a0f5254d5b1b91b5ee4ab5feac0e1416f132 SHA512 94404d7b8791e24423bb9644687899162f7b4dbb501f0c1b31afbaf35d77eb9f46ad9dbae8f248b2fbc60e002882f3bb1f85671c2e5a14b3749ff64cd07aa431 MISC metadata.xml 670 BLAKE2B 5289ced6533425323143e54359147085513eba236a8cbc5ba6e71c068143a032fb448a695ea7ac1733a6b0d9231932bc3a52dd0fa149c14d2fb1c41bd7ddb0d1 SHA512 00e4e9c65a2b499b935dd5e02b71338d70a76258ebe179c62eafc7a04b6211e1c331e6e57d6d656e0700137d1d15095bb6c4bb4dca0bca3d3e9c0ecf7dd3fa2a diff --git a/sys-libs/libsmbios/files/libsmbios-2.4.3-insecure_rpaths.patch b/sys-libs/libsmbios/files/libsmbios-2.4.3-insecure_rpaths.patch new file mode 100644 index 000000000000..e1390cb64770 --- /dev/null +++ b/sys-libs/libsmbios/files/libsmbios-2.4.3-insecure_rpaths.patch @@ -0,0 +1,13 @@ +Instead of producing a static binary, this causes libtool to inject one +of the build directories into RPATH. + +--- a/src/bin/Makefile.am ++++ b/src/bin/Makefile.am +@@ -65,7 +65,6 @@ + sbin_PROGRAMS += out/smbios-sys-info-lite + out_smbios_sys_info_lite_SOURCES = src/bin/smbios-sys-info-lite.c + out_smbios_sys_info_lite_LDADD = out/libsmbios_c.la out/libgetopt.la $(AM_LDADD) +-out_smbios_sys_info_lite_LDFLAGS = $(AM_LDFLAGS) -static + + sbin_PROGRAMS += out/smbios-get-ut-data + out_smbios_get_ut_data_SOURCES = src/bin/smbios-get-ut-data.c diff --git a/sys-libs/libsmbios/libsmbios-2.4.3.ebuild b/sys-libs/libsmbios/libsmbios-2.4.3.ebuild index ce9ff13b731d..1a480d6268b6 100644 --- a/sys-libs/libsmbios/libsmbios-2.4.3.ebuild +++ b/sys-libs/libsmbios/libsmbios-2.4.3.ebuild @@ -32,6 +32,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-2.2.28-cppunit-tests.patch" "${FILESDIR}/${PN}-2.4.3-avoid_bashisms.patch" #715202 + "${FILESDIR}/${PN}-2.4.3-insecure_rpaths.patch" ) pkg_setup() { @@ -44,6 +45,8 @@ src_prepare() { # Don't build yum-plugin - we don't need it sed '/yum-plugin/d' -i Makefile.am || die + python_fix_shebang src/pyunit/test*.py + eautoreconf } @@ -66,7 +69,7 @@ src_install() { if use python ; then python_scriptinto /usr/sbin - python_doscript "${ED}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} + python_doscript "${ED}"/usr/sbin/smbios-{{battery,keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} fi insinto /usr/include/ |