diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 49849 -> 49854 bytes | |||
-rw-r--r-- | sys-apps/file/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/file/file-5.45.ebuild | 175 | ||||
-rw-r--r-- | sys-apps/file/file-9999.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/pv/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/pv/pv-1.7.17.ebuild | 58 | ||||
-rw-r--r-- | sys-apps/systemd/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/systemd/files/systemd-254-dt_relr.patch | 26 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-254_rc3.ebuild | 1 |
9 files changed, 271 insertions, 5 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex 180ab1330b15..be7ac94a6d24 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest index 688fda04dfc5..d73a1ce26c64 100644 --- a/sys-apps/file/Manifest +++ b/sys-apps/file/Manifest @@ -5,6 +5,9 @@ AUX file-5.44-limits-solaris.patch 443 BLAKE2B d7481f0669b48d6c1a94e50706b652363 AUX file-5.44-seccomp-utimes.patch 587 BLAKE2B c1d2a8861034e9de0d4b1d0440935bd1ce25b789de0ac7f573378a1ef5d409f4c879deb0fd8dc89c48674d5af795cf8b99f7da870c9e5d54cec7a2d400b803f5 SHA512 e41b80f2e858ecc3e100b128d41c2d2e948a334f87523ae5d0c3b50916c678f37d6f26948d0b51a1bbdea9b0ab2683a3955004df2736d1240dcf80ee14390d9f DIST file-5.44.tar.gz 1186437 BLAKE2B a90ccae738a95315d75a0aaee7bbff3624425cc9267daf18ba9147b7c9b9ebfb31288b54c63a73e4695eca0e876f206e40bcb81c422f1bf572b976e753b25a42 SHA512 26c3b9c7a6950649d0b2de896bfeca54289febe4cd487c0f91aa6ff1857fa49f9077f8738a17b86100125668a31dae05b586615c564f78da47ac20a1e4a74f63 DIST file-5.44.tar.gz.asc 195 BLAKE2B a0905d42fec0fa052d75fb5b267c6ae223176451c0f1d3346006d4b760c3d858f2dcda5f0a30c6aa4b09b5afee427b75bc4debd5033d978f39dc1da01d3e1bd1 SHA512 1a4dc39283f4859581441aa35b3ed72b323c4e05ca0960d17126d1b9ec18465c695c0545e24f09f8437a60ab52e582be67b6cbbc656bbb676de00148c3644d23 +DIST file-5.45.tar.gz 1246503 BLAKE2B 30fc77c091e6624f2e9a950f4c6fe69ea6aa46d4a8ad9f20d49320a3675617c5bfbc9ff1ebba5eeb2cf4435c38d71b47b8beeb5146c9f55fe3bac11fe65e89bd SHA512 12611a59ff766c22a55db4b4a9f80f95a0a2e916a1d8593612c6ead32c247102a8fdc23693c6bf81bda9b604d951a62c0051e91580b1b79e190a3504c0efc20a +DIST file-5.45.tar.gz.asc 163 BLAKE2B 1405080c63412e9c66bfe06086ecee28b276b77cc2ddacb20cfd370c539a0d983812fd29dcf7a33bad69d6490cd439ef8d1219bfaf3928fb835a38da85013af3 SHA512 56bf131b2f35e896788be19b4d8cd1c7ec942c794fb584d5e589375d22fbccebdd04c03e779fafc0c10840586dc41e64251b3de1767ae9ab95f5d3300f9af254 EBUILD file-5.44-r3.ebuild 4137 BLAKE2B 4226f9be97736eb6540ccada16b16c50b949516af7546dec4d4999bb77bf03f70c84307b44d9e9be27d890a2e64676acb17c26f25f65da1408475192a7eb09bc SHA512 0aadc7dc621d374f6f0fdd796cd27357330d15814b2c833e1db4ebd188b3b14c185a29769b5ebf81265ab8793fc05a56d53625d17906a29f1dc54dcd90b6c791 -EBUILD file-9999.ebuild 3957 BLAKE2B f2a7d27633e53d619d6d20a6d0b3b6783095b002cacd47348cee3cc15d2e509f3572a3ab8abcb3365f01c628e0ae96ff8c647b0706c978ad581f82636862aca7 SHA512 3e3b472389ad76bdad6742d33da7599db536a169f479279fab06ac9bc133cdafa12c014350c5a21aa4f7a12912a13e6504931edc3cfc0ad4548552e8a60a865a +EBUILD file-5.45.ebuild 3963 BLAKE2B 422373b76dc8423cbb0397914a3c9504d7167168e49264fa02a6878e5ee7230806f14933eb716ddc7cc82a82220318a2bf029535add9da22a6e52afe3a7f074e SHA512 b9ebc61cf356d624117618ea3b16477797120d204bba2ebc9f3309b489838b9c2750673431b05c0bb07968ec9cbe8ed7567b519daa697a237728e0e9b30213ea +EBUILD file-9999.ebuild 3963 BLAKE2B 422373b76dc8423cbb0397914a3c9504d7167168e49264fa02a6878e5ee7230806f14933eb716ddc7cc82a82220318a2bf029535add9da22a6e52afe3a7f074e SHA512 b9ebc61cf356d624117618ea3b16477797120d204bba2ebc9f3309b489838b9c2750673431b05c0bb07968ec9cbe8ed7567b519daa697a237728e0e9b30213ea MISC metadata.xml 565 BLAKE2B 737512e354fedb4483608b04c594a486c0d8a0f70d23d306c59c78dedb0c8116f80ff558926444b9d9b9ef15805b3826163523b5644c88f01a330be1b8c9a76f SHA512 f240bf9e064c6e6f5b63e3265dfe3adf5b1d2c2b5b2456b79ea7451580150271ccb4097d33967de57ba767fecbdbea51fb62ccb683fcc5e1cca101be660ffd19 diff --git a/sys-apps/file/file-5.45.ebuild b/sys-apps/file/file-5.45.ebuild new file mode 100644 index 000000000000..60dd8e0742e4 --- /dev/null +++ b/sys-apps/file/file-5.45.ebuild @@ -0,0 +1,175 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 libtool toolchain-funcs multilib-minimal + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/glensc/file.git" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/file.asc + inherit verify-sig + SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz" + SRC_URI+=" verify-sig? ( ftp://ftp.astron.com/pub/file/${P}.tar.gz.asc )" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-file )" +fi + +DESCRIPTION="Identify a file's format by scanning binary data for patterns" +HOMEPAGE="https://www.darwinsys.com/file/" + +LICENSE="BSD-2" +SLOT="0" +IUSE="bzip2 lzip lzma python seccomp static-libs zlib zstd" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) + lzip? ( app-arch/lzlib ) + lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] ) + python? ( + ${PYTHON_DEPS} + dev-python/setuptools[${PYTHON_USEDEP}] + ) + seccomp? ( >=sys-libs/libseccomp-2.5.4[${MULTILIB_USEDEP}] ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + ${DEPEND} + python? ( !dev-python/python-magic ) + seccomp? ( >=sys-libs/libseccomp-2.5.4[${MULTILIB_USEDEP}] ) +" +BDEPEND+=" + python? ( + ${PYTHON_DEPS} + ${DISTUTILS_DEPS} + ) +" + +# https://bugs.gentoo.org/898676 +QA_CONFIG_IMPL_DECL_SKIP=( makedev ) + +PATCHES=( + "${FILESDIR}/file-5.43-seccomp-fstatat64-musl.patch" #789336, not upstream yet + "${FILESDIR}/file-5.43-portage-sandbox.patch" #889046 +) + +src_prepare() { + default + + if [[ ${PV} == 9999 ]] ; then + eautoreconf + else + elibtoolize + fi + + # Don't let python README kill main README, bug #60043 + mv python/README.md python/README.python.md || die + + # bug #662090 + sed -i 's@README.md@README.python.md@' python/setup.py || die +} + +multilib_src_configure() { + local myeconfargs=( + --enable-fsect-man5 + $(use_enable bzip2 bzlib) + $(multilib_native_use_enable lzip lzlib) + $(use_enable lzma xzlib) + $(use_enable seccomp libseccomp) + $(use_enable static-libs static) + $(use_enable zlib) + $(use_enable zstd zstdlib) + ) + + econf "${myeconfargs[@]}" +} + +build_src_configure() { + local myeconfargs=( + --disable-shared + --disable-libseccomp + --disable-bzlib + --disable-xzlib + --disable-zlib + ) + + econf_build "${myeconfargs[@]}" +} + +need_build_file() { + # When cross-compiling, we need to build up our own file + # because people often don't keep matching host/target + # file versions, bug #362941 + tc-is-cross-compiler && ! has_version -b "~${CATEGORY}/${P}" +} + +src_configure() { + local ECONF_SOURCE="${S}" + + if need_build_file ; then + mkdir -p "${WORKDIR}"/build || die + cd "${WORKDIR}"/build || die + build_src_configure + fi + + multilib-minimal_src_configure +} + +multilib_src_compile() { + if multilib_is_native_abi ; then + emake + else + # bug #586444 + emake -C src magic.h + emake -C src libmagic.la + fi +} + +src_compile() { + if need_build_file ; then + # bug #586444 + emake -C "${WORKDIR}"/build/src magic.h + emake -C "${WORKDIR}"/build/src file + local -x PATH="${WORKDIR}/build/src:${PATH}" + fi + + multilib-minimal_src_compile + + if use python ; then + cd python || die + distutils-r1_src_compile + fi +} + +multilib_src_install() { + if multilib_is_native_abi ; then + default + else + emake -C src install-{nodist_includeHEADERS,libLTLIBRARIES} DESTDIR="${D}" + fi +} + +multilib_src_install_all() { + dodoc ChangeLog MAINT # README + + # Required for `file -C` + insinto /usr/share/misc/magic + doins -r magic/Magdir/* + + if use python ; then + cd python || die + distutils-r1_src_install + fi + + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/sys-apps/file/file-9999.ebuild b/sys-apps/file/file-9999.ebuild index c50090845eaf..60dd8e0742e4 100644 --- a/sys-apps/file/file-9999.ebuild +++ b/sys-apps/file/file-9999.ebuild @@ -18,7 +18,7 @@ else SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz" SRC_URI+=" verify-sig? ( ftp://ftp.astron.com/pub/file/${P}.tar.gz.asc )" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-file )" fi @@ -72,11 +72,11 @@ src_prepare() { elibtoolize fi - # Don't let python README kill main README, bug ##60043 + # Don't let python README kill main README, bug #60043 mv python/README.md python/README.python.md || die # bug #662090 - sed 's@README.md@README.python.md@' -i python/setup.py || die + sed -i 's@README.md@README.python.md@' python/setup.py || die } multilib_src_configure() { diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest index 3205b5da0607..3c98848949a1 100644 --- a/sys-apps/pv/Manifest +++ b/sys-apps/pv/Manifest @@ -1,5 +1,7 @@ DIST pv-1.6.20.tar.bz2 115310 BLAKE2B b50623f623231e8e8615f960bad83d10e12d5274c57d23ea843d16fce30b3e690284b2d9b01f82a16b9790e2bf26f80f560e226589a62ca677a2cf90ea007691 SHA512 e445f91b298ed285ddab54a3f8a6b5d5297e2e2eb8ad7b2ee2cbacca4adda9c6ca2bf3c77bf2a93373d3875c5b3b0b345d3945cbd91fc2647c6c25f1661a6752 DIST pv-1.7.0.tar.bz2 115665 BLAKE2B efdd0434d23fe1ed008224fe0fe5182684010a78650284e920b2cd93134f08e63172df0279b8a4b2c2c4dceb9dbdaa209e402394fb1c4c431d991225f579f718 SHA512 b90ddaa1f950b1b300f1721e5ab8bc2c7a0c46491e439ce33c7b74fd4525e730a99c218a874b3dae2dc3a8a5e0eb5c5add51f7c8be48d0c3d8f135df44779af8 +DIST pv-1.7.17.tar.bz2 133398 BLAKE2B e0167af81988225418c2647c7051910fd41ef1e631eb26ab56fa44449064f99f5cc90bf08143a9e1158d656d9cee234a9ca4924ff5d95fd1f4814d340499af47 SHA512 b6c347681d937492d575007df35a7b90cb9283537df2e2258742787626c7041f942322a3140c8976793b6ddcd9cb2ecdaa7bf6e02914f394ebf748e3f97b2f64 EBUILD pv-1.6.20.ebuild 1456 BLAKE2B 055fc1d118f5f5500e3fb453d94ae40c0db8389425df249cd2cc8d9303db9a113a13d324c1b2f53d993ce455eaaaa695bc542a4c53f5bc2564d314ffbe76721d SHA512 583e35041a54b3123c757acad234afb053d00703e8b8a57efb680fc76d7738485f30d0aed94ad31bbd9d4a4db7356b72a0628ec74fffaa3388af8b7e3abf54a3 EBUILD pv-1.7.0.ebuild 1597 BLAKE2B 59992824f88bf9301d94434d9e00b715ab2b4f02e9b185873cf6ade7b3e2734a3c57ea4b26c0eb3dc6e3bacb15158d2e79a31ef38f813b28c6a197ae29247165 SHA512 a6af96cc2f820081221ec2ab2923b2c1cd84a3fd9ed29999cfc104501be813ac52c14a361b25ae4c0ba8b1caaa9d9f2ffb39ae426de9ec82e5c6c6036e3ce667 +EBUILD pv-1.7.17.ebuild 1373 BLAKE2B dbac58ccf8b62091436af91b04d30e7fea33f41a9b95df9fc9b349116bc123f4d5d8fcb1fb1da24a7d9db0b15397ef62a7ee6c4fd797963572c0e3f4f2e3ec2e SHA512 a3e76210c0614f46e74dc584d52f2e8fe10911135d6d91eed298daef0a741bc9db33c141d5a7738921dd39ef5b75b1b2d6245be79e516b04e6749bdf2502598e MISC metadata.xml 483 BLAKE2B c6240298c7a79c7d5839c593b0139c990477ce67aeb92b585bbb09a07d51bbe9bd75aaeac678ddd81c05cc6f9e36860ad8cfc889204e835019f854477a5bc7bf SHA512 082cac9d7bcff373929e3c0a7af524b65c48cc427755232f981ccd4947466f2f3325a75f691f1bf79e74eebde3e53b4ebd4c904b40affc0d7fbd243f8ab36605 diff --git a/sys-apps/pv/pv-1.7.17.ebuild b/sys-apps/pv/pv-1.7.17.ebuild new file mode 100644 index 000000000000..e42a3b03fad0 --- /dev/null +++ b/sys-apps/pv/pv-1.7.17.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PLOCALES="de fr pl pt" +PLOCALE_BACKUP="en" +inherit linux-info toolchain-funcs plocale + +DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" +HOMEPAGE="https://www.ivarch.com/programs/pv.shtml" +SRC_URI="https://www.ivarch.com/programs/sources/${P}.tar.bz2" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="debug nls" + +DOCS=( README.md doc/NEWS.md doc/TODO.md ) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~SYSVIPC" + ERROR_SYSVIPC="You will need to enable CONFIG_SYSVIPC in your kernel to use the --remote option." + linux-info_pkg_setup + fi +} + +src_prepare() { + default + + sed -i configure -e 's|CFLAGS="-g -Wall"|:|g' || die + + # These should produce the same end result (working `pv`). + sed -i \ + -e 's:$(LD) $(LDFLAGS) -o:$(AR) rc:' \ + autoconf/make/modules.mk~ || die + + disable_locale() { + local locale=${1} + sed -i configure -e "/ALL_LINGUAS=/s:${locale}::g" || die + } + + plocale_find_changes src/nls '' '.po' + plocale_for_each_disabled_locale disable_locale +} + +src_configure() { + tc-export AR + + econf \ + $(use_enable debug debugging) \ + $(use_enable nls) +} + +src_test() { + emake -Onone check +} diff --git a/sys-apps/systemd/Manifest b/sys-apps/systemd/Manifest index 8177431507c8..128bfc32f81f 100644 --- a/sys-apps/systemd/Manifest +++ b/sys-apps/systemd/Manifest @@ -4,6 +4,7 @@ AUX legacy.conf 80 BLAKE2B 23eca4dd1743a5cf77767894d23d419c1663147c5aee6be971da6 AUX nsswitch.conf 734 BLAKE2B 5f5a7821a84f6c8aa31fe9a68c29a1a0f24be578d427a623f14a9ef795e7da481f226efe5511d92932b5edf5638fa719808a0c3a0b8fd340799dd6bcb703a0a1 SHA512 dcbd51dacaaebdff32edb3840cc7b9b47b6521009b8786690e3673a2e78bc60bfd8e591b1048c5d452117c6659b9917ae2864462f5057cc39b704b0130522e60 AUX systemd-253-initrd-generators.patch 1486 BLAKE2B 85a7f714aa1743bd88e01b45624dc4104e4d762732745d9958019063f6ac91ffd89ae84e03f728e6040a58643f253a5ea7f77f44ef71620e686e23aed61876e4 SHA512 f8aab9f4bbf5a73c52144013fd7001dc78974211f11abb58a0f5eceff59b3ebf670409846fff854daec10219074602674176730f85583db0e81275289e89c66b AUX systemd-253.5-services-stop.patch 1429 BLAKE2B 3e191d2f98173c4b75791b8ade557f250229021d50c84efb9010ed06bb9a4df6e0b084625d9c3c8dbb16b8378a7c62ddbb3be4cf17790169709c581c09802fea SHA512 74e3cab089d1d3ca1603b3180638dfe2a6a0dfc494b9b72920f1b0cbe659784582d9757ba1b3f75b0c6469ae88a782a26da89049b5571b0f1ec50e845092ab21 +AUX systemd-254-dt_relr.patch 1054 BLAKE2B 7d457d6577a425ac07e6009d0ed5ed6e7c1c192175427c32dabfbb703f41c80f48a30524c0bfb5d555e5b848faea114a02e956d26854486fbd0b4e4d672a25c1 SHA512 c9b25a466278ff2be5812ae144670e06d9381610c1259814e5135a186e54c61d6db9142b7b5f301e3ad63cfdf119d7559e46c6a7d9e1317ff42ab457dbdd52c2 AUX systemd-user.pam 122 BLAKE2B cccc07cab47dfc0481438e503c34fa1a0b2c6b1f8ab282197719a523421d2a526f19230bb459e0347cbeb2046e35a407c78178a3fb5b79619e987cbc4ac7d5e4 SHA512 c5437677ff00fbb45798fe594e8d61b1c2bfc2d103105d7bd82e476240452477ac263700800f5d0ba91ddc895eb85f4517d5cb15c80611ec1680a686d47cd781 DIST systemd-254-rc2.tar.gz 14304024 BLAKE2B a7d16f5938a174e55146d1fbb47a4210bce8130dd3288ed420d7fa0f7faec984cbc5d479eb3a742f91db12075d5e6189b41677e4610a9f76da529a4b391f0f64 SHA512 d19f6f709536475f200925d0a0711422878ecfebfd351a989bda98505926c0646cf18b00fb158249b51e8476b2e01754e0ed7f30fbbf775c3a99e819bcd16579 DIST systemd-254-rc3.tar.gz 14314774 BLAKE2B 6b8bbae3d8bf4409fdbb646a3bbf6e7622c4337b6ac342b70ddd7934f512c3120cfddc212f0770a57b30ce11aa880480bb13e72d8e52307d33c105ce2ffb20fd SHA512 b4d0385b4e25bc3895f37480afea6a5e17dd900379e6c5f8882b8b3db26c56305642f270c139c8396fcc41d87e1a8c97b963d945cd3deb43c58f4eb2196cb0a3 @@ -19,6 +20,6 @@ EBUILD systemd-253.5.ebuild 14588 BLAKE2B ac789628c1caa53681c78be188c85a660fd61a EBUILD systemd-253.6.ebuild 14667 BLAKE2B 3b154c55c573e2306f871c362f3d7207fb9b7efee374f118cf4b94477a3e01060b473b293fe86d3ba0923fd9cd7d9e9f8b06490f59514002caadf1b203387e7d SHA512 3c39c8742b35540bb7d70e9277876c10e648e78d4e549cb65bb0a4b843aca3bbea91ee39e0698b294415e9e77dd6c7f350497fe5f841619e11cd2301950bafc0 EBUILD systemd-253.7.ebuild 14669 BLAKE2B 106db6ca3073de27cd0f7c72b30397da77cbd98dfe1d1357f67d39f61e722c47d7fd5b3b7378e329883e9894cfe90159f3db50400ca5d791b438907b00b797b3 SHA512 56e632a1f7d396607df97f3bfbde8e85ed4534b69b341e196356adf26f932f54db0bde0365ea5e4ef8c84e36662b61b7465ba4b3336c0eebbaa3932554c13eaa EBUILD systemd-254_rc2.ebuild 14858 BLAKE2B 175989f7b8dd072340ff044bc7e549cf35919fb9632e5ad04e125742e67d00a18fc26e9469d09f28edcec6f2fd72e2f21a07b2d2b5138b94a1319dd5356e3194 SHA512 f793acc7d6d530debec1471562d77210fbaf3e7aea97009ecf0a3fe7a78dc4d814c67d9dcc142107326bf64ecab82301d3d7a43f874988d4e2a442ef51cf2ba7 -EBUILD systemd-254_rc3.ebuild 14858 BLAKE2B 175989f7b8dd072340ff044bc7e549cf35919fb9632e5ad04e125742e67d00a18fc26e9469d09f28edcec6f2fd72e2f21a07b2d2b5138b94a1319dd5356e3194 SHA512 f793acc7d6d530debec1471562d77210fbaf3e7aea97009ecf0a3fe7a78dc4d814c67d9dcc142107326bf64ecab82301d3d7a43f874988d4e2a442ef51cf2ba7 +EBUILD systemd-254_rc3.ebuild 14900 BLAKE2B 9b18330007319151ef461592372654fae95cad736eaba28daa9574d87ae38697a6d8642da2a5e6687aea603fb15d1d70a3a29609a5f91eab05409fa73401cf4f SHA512 9b118225d9467c22264e138144f6f5231987648a7f23f78bac6be61b056b7fd6d322415bab5057bd7c2bfa054db80d99019c80ba9e8d5307a2e7438030e2db39 EBUILD systemd-9999.ebuild 14805 BLAKE2B 62d8ad8d32113194ed3719f90989aa1c912ec72764c4426ad1de10e53b54e30485b1f0beac558d91c3060e773af30f4b881fa84013147c67623303681760b633 SHA512 b6298270ce255d6c439ecaf84b5d4e60aa8f6d4fe5d9c0d030225216638d78558a667f5708e881aba7f027534da2249ef7567800278f2b0fb85a12ea7be8a38e MISC metadata.xml 2612 BLAKE2B 60495769a304d0623f73de8eb305770eb93706fdcbea158a2de2beb72e5d04495fc5ef45b4e55d3003a9a70bc3f60a7a5d6880aaac9512647132be69f96112ad SHA512 397f63a498b46647edfb665f92680197607de5edef42c3c17ab96abf94f117d82eda4863bf138329e25880609e8c631e9d154277e8a548eafbe87e8b83e47ccc diff --git a/sys-apps/systemd/files/systemd-254-dt_relr.patch b/sys-apps/systemd/files/systemd-254-dt_relr.patch new file mode 100644 index 000000000000..9adfc11c1dd3 --- /dev/null +++ b/sys-apps/systemd/files/systemd-254-dt_relr.patch @@ -0,0 +1,26 @@ +https://bugs.gentoo.org/910570 +https://github.com/systemd/systemd/issues/28520 +https://github.com/systemd/systemd/commit/eff91e2f3863f9e176b383e5c54741c64ca7a636 + +From eff91e2f3863f9e176b383e5c54741c64ca7a636 Mon Sep 17 00:00:00 2001 +From: Luca Boccassi <bluca@debian.org> +Date: Wed, 26 Jul 2023 11:29:57 +0100 +Subject: [PATCH] efi: link with -z nopack-relative-relocs + +elf2efi.py cannot handle DT_RELR relocations, so disable it +if we can + +Fixes https://github.com/systemd/systemd/issues/28520 +--- a/src/boot/efi/meson.build ++++ b/src/boot/efi/meson.build +@@ -174,6 +174,10 @@ efi_c_ld_args = [ + '-T' + elf2efi_lds, + ] + ++# On CentOS 8 the nopack-relative-relocs linker flag is not supported, and we get: ++# /usr/bin/ld.bfd: warning: -z nopack-relative-relocs ignored ++efi_c_ld_args += cc.get_supported_link_arguments('-Wl,-z,nopack-relative-relocs') ++ + # efi_c_args is explicitly passed to targets so that they can override distro-provided flags + # that should not be used for EFI binaries. + efi_disabled_c_args = cc.get_supported_arguments( diff --git a/sys-apps/systemd/systemd-254_rc3.ebuild b/sys-apps/systemd/systemd-254_rc3.ebuild index 494249a2edd6..1333d2cd88f7 100644 --- a/sys-apps/systemd/systemd-254_rc3.ebuild +++ b/sys-apps/systemd/systemd-254_rc3.ebuild @@ -241,6 +241,7 @@ src_unpack() { src_prepare() { local PATCHES=( "${FILESDIR}/systemd-253-initrd-generators.patch" + "${FILESDIR}/systemd-254-dt_relr.patch" ) if ! use vanilla; then |