From a493ba7d75043e8e649ee8d6d4942c1f4b31d1c5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 29 Dec 2022 02:14:02 +0000 Subject: gentoo auto-resync : 29:12:2022 - 02:14:02 --- sys-apps/Manifest.gz | Bin 49090 -> 49086 bytes sys-apps/hponcfg/Manifest | 8 +-- sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild | 43 ------------- sys-apps/hponcfg/hponcfg-5.4.0.0.ebuild | 37 ------------ sys-apps/hponcfg/hponcfg-5.6.0.0-r1.ebuild | 35 +++++++++++ sys-apps/hponcfg/hponcfg-5.6.0.0.ebuild | 4 +- sys-apps/texinfo/Manifest | 3 + .../files/texinfo-7.0.1-info-groff-crash.patch | 44 ++++++++++++++ .../files/texinfo-7.0.1-lto-type-mismatch.patch | 31 ++++++++++ sys-apps/texinfo/texinfo-7.0.1-r1.ebuild | 67 +++++++++++++++++++++ 10 files changed, 184 insertions(+), 88 deletions(-) delete mode 100644 sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild delete mode 100644 sys-apps/hponcfg/hponcfg-5.4.0.0.ebuild create mode 100644 sys-apps/hponcfg/hponcfg-5.6.0.0-r1.ebuild create mode 100644 sys-apps/texinfo/files/texinfo-7.0.1-info-groff-crash.patch create mode 100644 sys-apps/texinfo/files/texinfo-7.0.1-lto-type-mismatch.patch create mode 100644 sys-apps/texinfo/texinfo-7.0.1-r1.ebuild (limited to 'sys-apps') diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz index 6c88fba4ed78..ce044dd0f923 100644 Binary files a/sys-apps/Manifest.gz and b/sys-apps/Manifest.gz differ diff --git a/sys-apps/hponcfg/Manifest b/sys-apps/hponcfg/Manifest index 2bf39aa27569..0517a8f32430 100644 --- a/sys-apps/hponcfg/Manifest +++ b/sys-apps/hponcfg/Manifest @@ -1,10 +1,6 @@ -DIST hponcfg-4.6.0-0.i386.rpm 39344 BLAKE2B a1fb8c4237eae8caa90086b49dd89ad641c77663e0c98f82ec97724564437837223ea3acd15136aaf6c575e35923f2e804766c51179771aead9800ecae424cd1 SHA512 534e2d656349e34c539755d807456a671363640ca8dd6853787dbf7f2a594acb88478b59b2e21ca07b8c6f118f6ad3c2e0eb1ec072484db6a8fb707bd593e0e7 -DIST hponcfg-4.6.0-0.x86_64.rpm 44121 BLAKE2B 5fb073a0789380527066087a14e1806bd98a7ee76da18facbc578b0aff397a73df8a3236c22939bda4e8af19e3b6a03670947998c666fdd9b8e390a77be6d9e3 SHA512 830abe6816295fa7e0888e0848d707ab41510a9ea6dc17d01fd5de2fa56faf49af43ef6698aa379ac8baa6ab729262e77e209b90103ce67d45bf6f0b2d4df142 -DIST hponcfg-5.4.0-0.x86_64.rpm 59246 BLAKE2B 50979eec63121ad89fa2e13eb286236b1cd6fc02269ba93767a9cf19a7782aea570577f98cb307e75c73fcac1fc8bc8c281f21187be157cb816253751d263ed6 SHA512 55583acd1a9e5a639fe63ecff051af9676518130e431ba76a0cdbf2ba18f4b600aaae8388895631eb0b9be343e110b5fe39dc4ab844c3a2afef0bc601756c04c DIST hponcfg-5.5.0-0.x86_64.rpm 60092 BLAKE2B 8a81b1b0e3f0cd81e5a3861d1f7e0f5a07ed32cd0efac2c77d8c8b94666a44daf7cb289e53b1610cb5ea66782c256dce652f897f15370a2c7d129ffc6c47f6c1 SHA512 478b94f9a99be7f1cab10e909d33b804a0831159c5829dbdcfa78df02aa5fd9a140f0f036c2e9556e2ffb90ac85bf0efcfddc137665fd438c6379fa0eb43ce74 DIST hponcfg-5.6.0-0.x86_64.rpm 60457 BLAKE2B 88ed71e20e7c7db28b0228974ed0ca41726d3b1f976005b211013028c9ca9a8704c26119c2a41525458e87515d06c57232d109d795fd9bb0096366f91d7523d7 SHA512 7685584ff9ab3f3f23ff77017de194ba935cbddee2ba8946299ed25399fd67ce58697fc754071ecf2c6e3f926a82da89307088cf8b721efd3667397025a73db7 -EBUILD hponcfg-4.6.0.0.ebuild 1214 BLAKE2B 81641e95bcf8eaae323e8a465bfbd524aaf544fa13b4535a83c8d69e8c484f5d74c97028e43481833b301002af8128fbbf4dd4f67c1882240a93a1ae2cdad04f SHA512 bbf4e33582cab5cbe33339537e9e66f2c6c7185f8447d25d51e08e3f873225d7252d019acfc7f17d78d932b283bf7f6af2a1912d952746921405daa02e69231b -EBUILD hponcfg-5.4.0.0.ebuild 947 BLAKE2B 5e433cfbfc8f468656740ec1bfa24d99703d90312b1217e61cf504a37d38d18eaed1a9763707f9550268061d32ee904752caabf9eba25b2b909c15388fe22979 SHA512 b2e65d46faf05e6c90c1eca0bfe96ea3efbd8f79c908e659522cba6159afc9bfdc98ec80dd408d4fa15200256a4f40ffd07bdbf278f8ef6a4d6d42c61b0ea87c EBUILD hponcfg-5.5.0.0.ebuild 947 BLAKE2B 0856cfdb8d0e2cd6c36783759951cb2fa4e898706d6707e7f2e7a26b4cea9c4d307cd6cb0597cb90705fcad2db0e7b72a5540b7ceeed0e899fc0e0c8b7b40ea2 SHA512 31da07f1ec9cd69e5c63398c1656a81e70556b6a68c8fff152be26946a34b6c0df441f567ae6c29955129b4c481f13fe41275f664aa18ccebc2b809cf5430261 -EBUILD hponcfg-5.6.0.0.ebuild 948 BLAKE2B 76e3bdf08867b9e40723653b6df4590b3607a318e4fa7f874d1f6dbbe88b18ac5d8144d9f09747980e60f99e9c121f10fe89958b3d80a0a3c7fb7002c5c56eb7 SHA512 9f464b7d7b9134027d1a4c416266e63b94377c3293e733ddd8c484e78ca4ae03beda42a3411bd27862c8459979a8d3c18fe4df32872e16c740cd3e13d47c117b +EBUILD hponcfg-5.6.0.0-r1.ebuild 900 BLAKE2B c61e9f3de219609c5e8bea863a6a04246926c2b52cf4c4df29ceb1d3b6a7dbff9c8b2da420624e4e7bcc8d39707f874e4514cfeb51f8c5d5d5dfa41e978ac913 SHA512 d3c5e2a20b6f9bd19921b2bd423637126cede70fd254ea7f39644642a734c27b952ba3026b43415f291ba3da989e4c6ed0917f12d3891e78f77484878df1f7d2 +EBUILD hponcfg-5.6.0.0.ebuild 947 BLAKE2B f916ec55f3e2c6f67f6ff913a42e454e4342ea0af549c6afc22cfe4855ffb862a179b39d8c43dcf347cd0f461b6521853473ce9d2c4ffede2181a8befa825413 SHA512 68cb28b27ff42a479615877f64859eb2290e88f9403b6c61fe80e06cbd3777a48c0dcd54e2fd98ae6675af516c2952d263a678d10b4c206a6e5545c3c0ce10fe MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild b/sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild deleted file mode 100644 index d8e4a559205d..000000000000 --- a/sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit pax-utils rpm versionator - -MY_PV=$(replace_version_separator 3 '-') - -DESCRIPTION="HP Lights-Out Online Configuration Utility (HPONCFG)" -HOMEPAGE="http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_5ab6295f49964f16a699064f29" -SRC_URI=" - amd64? ( https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/x86_64/current/${PN}-${MY_PV}.x86_64.rpm ) - x86? ( https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/i686/current/${PN}-${MY_PV}.i386.rpm )" - -LICENSE="hpe" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="" - -DEPEND="" -RDEPEND="elibc_glibc? ( >sys-libs/glibc-2.14 )" - -S="${WORKDIR}" - -QA_PRESTRIPPED="/usr/sbin/hponcfg /usr/li.*/libcpqc.*" - -src_install() { - dosbin sbin/hponcfg - - # When bumping, verify SONAME (scanelf -S libhponcfg64.so)! - if use amd64; then - newlib.so "${S}"/usr/lib64/libhponcfg64.so libcpqci64.so.3 - dosym libcpqci64.so.3 /usr/$(get_libdir)/libhponcfg64.so - elif use x86; then - newlib.so "${S}"/usr/lib/libhponcfg.so libcpqci.so.3 - dosym libcpqci.so.3 /usr/$(get_libdir)/libhponcfg.so - fi - - dodoc "${S}"/usr/share/doc/hponcfg/* - - pax-mark m "${D}"usr/sbin/hponcfg -} diff --git a/sys-apps/hponcfg/hponcfg-5.4.0.0.ebuild b/sys-apps/hponcfg/hponcfg-5.4.0.0.ebuild deleted file mode 100644 index 8afc8cddad42..000000000000 --- a/sys-apps/hponcfg/hponcfg-5.4.0.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pax-utils rpm - -MY_PV=$(ver_rs 3 '-') - -DESCRIPTION="HP Lights-Out Online Configuration Utility (HPONCFG)" -HOMEPAGE="http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_5ab6295f49964f16a699064f29" -SRC_URI="amd64? ( https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/7/x86_64/current/${PN}-${MY_PV}.x86_64.rpm )" - -LICENSE="hpe" -SLOT="0" -KEYWORDS="-* amd64" -IUSE="" - -DEPEND="" -RDEPEND="elibc_glibc? ( >sys-libs/glibc-2.14 )" - -S="${WORKDIR}" - -QA_PRESTRIPPED="usr/sbin/hponcfg usr/lib*/libcp*" -QA_PREBUILT="${QA_PRESTRIPPED}" - -src_install() { - dosbin sbin/hponcfg - - # When bumping, verify SONAME (scanelf -S libhponcfg64.so)! - newlib.so "${S}"/usr/lib64/libhponcfg64.so libcpqci64.so.3 - dosym libcpqci64.so.3 /usr/$(get_libdir)/libhponcfg64.so - - dodoc "${S}"/usr/share/doc/hponcfg/* - - pax-mark m "${D}"/usr/sbin/hponcfg -} diff --git a/sys-apps/hponcfg/hponcfg-5.6.0.0-r1.ebuild b/sys-apps/hponcfg/hponcfg-5.6.0.0-r1.ebuild new file mode 100644 index 000000000000..d0ac235482e9 --- /dev/null +++ b/sys-apps/hponcfg/hponcfg-5.6.0.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils rpm + +MY_PV=$(ver_rs 3 '-') + +DESCRIPTION="HP Lights-Out Online Configuration Utility (HPONCFG)" +HOMEPAGE="https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00007610en_us" +SRC_URI="https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/7/x86_64/current/${PN}-${MY_PV}.x86_64.rpm" + +LICENSE="hpe" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND="elibc_glibc? ( >sys-libs/glibc-2.14 )" + +S="${WORKDIR}" + +QA_PRESTRIPPED="usr/sbin/hponcfg usr/lib*/libcp*" +QA_PREBUILT="${QA_PRESTRIPPED}" + +src_install() { + dosbin sbin/hponcfg + + # When bumping, verify SONAME (scanelf -S libhponcfg64.so)! + newlib.so "${S}"/usr/lib64/libhponcfg64.so libcpqci64.so.3 + dosym libcpqci64.so.3 /usr/$(get_libdir)/libhponcfg64.so + + dodoc "${S}"/usr/share/doc/hponcfg/* + + pax-mark m "${D}"/usr/sbin/hponcfg +} diff --git a/sys-apps/hponcfg/hponcfg-5.6.0.0.ebuild b/sys-apps/hponcfg/hponcfg-5.6.0.0.ebuild index 867b52259c96..65d9db612401 100644 --- a/sys-apps/hponcfg/hponcfg-5.6.0.0.ebuild +++ b/sys-apps/hponcfg/hponcfg-5.6.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="amd64? ( https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/7/x86_64/cur LICENSE="hpe" SLOT="0" -KEYWORDS="-* ~amd64" +KEYWORDS="-* amd64" IUSE="" DEPEND="" diff --git a/sys-apps/texinfo/Manifest b/sys-apps/texinfo/Manifest index 31ac45a1b635..19456ef188c6 100644 --- a/sys-apps/texinfo/Manifest +++ b/sys-apps/texinfo/Manifest @@ -1,6 +1,9 @@ AUX texinfo-6.8-undo-gnulib-nonnul.patch 7627 BLAKE2B d8edefca829682e0bbebfecf1c97fd25874ecf0ec65228643c1a5d54558a22970ec2e6d532d37269fdb8a7359eb02c990b2c221591c8ececa3f17c6642c47516 SHA512 c6a482433af9a44e597ace4e92b6d5faf1c7aa6deaab7e474f4158769c31e4cf203f21d4697e071d29104b6b78ae06f353becc5da6aa1276ae9a3e39506a2af9 +AUX texinfo-7.0.1-info-groff-crash.patch 1668 BLAKE2B 8ef2d58d49dcd2372557f012237b4d8f3b4b6cbbe8a73745409868955458910647943eaf6bce67dbc659c959fdb8885c5f4bc2b9f521d4206a1c2788a0b2acde SHA512 4afded892571f4772b8ba9dcdd0fab9a9de6a119450f4dd6ce9031ca85612f0d5e0b39646da41d595563d9944bcb75872eb2530fc5266f928f171e4e95d6afbc +AUX texinfo-7.0.1-lto-type-mismatch.patch 1154 BLAKE2B 852f3c217ee856747534410f8776dc7dc206d4bcfd1197cfe4b08a2ecc914710a588b33c54d226f01e8e7b8a4f64397946d11eaa8114197169382a521f574e14 SHA512 6dd8701ebe4065fffdbc63fb2f08baf9918c0716e06740864aa9b43bb0e0731d748471c5e93a6287004b7314e97d17f459220673d72373fd5f70ddc77539ec19 DIST texinfo-6.8.tar.xz 4961528 BLAKE2B 0256dac5ba9c7f171c970644907b763f7a88fd9995111244df0458591aed1a0fe94c76045dde69f9138d65d6f780aae6869bbbc013f58e04ae7c62456b222bbb SHA512 0ff9290b14e4d83e32b889cfa24e6d065f98b2a764daf6b92c6c895fddbb35258398da6257c113220d5a4d886f7b54b09c4b117ca5eacfee6797f9bffde0f909 DIST texinfo-7.0.1.tar.xz 4890348 BLAKE2B 9d61722e7ff8a71e05770552050cc861d778b9faa95f801e40d4353601a5692f01ad8e794dfb0e7b5b29efa2c701de4a76505732a806b0303b5c1fe0599816f1 SHA512 8e1616341fbbfe0cd90bd1b0452874c75b99d88dffe5f88c53fdc32f00d67c07c15c6c774b241e1f7507f0347314737e533854939c3be6334ca9feb9cd049009 EBUILD texinfo-6.8.ebuild 1717 BLAKE2B 0ce639bd82dac4bcc580415852c093773954c2f33a811133fcb4ee8361e30935b40ba2796bfe807f848bbebe3acf5985fb549f11dfc6d90dbcb397ab0fc959ea SHA512 017f861563fe14381776c7fb62b79b8a99059e63d0f752a4b8dc71559ba57c6c56307ef751bea42b01c1afd3ebfface75c108be260f920f1a1fc6e3ffd72c40f +EBUILD texinfo-7.0.1-r1.ebuild 1865 BLAKE2B 29598b7002b2cc2137031d4013b471943533fb559cc278d61590d1a7f4245019dbdc489640dfaf5bc3702e1c515615d64f0ebe176f373b31109bf0f41d32a94b SHA512 5f9abfc3c799e4e26b94a323bbf6a969f7c6eff5793a91e2c8b4cad50b21e79060cf8478c6df67c7a821fc8054feda66a0329a94aa56e4dedda80930c0b202c1 EBUILD texinfo-7.0.1.ebuild 1765 BLAKE2B e3f5a92d0a214945414813167e2e35848cefb8f6359e71c01e75bf2e0a0663073aa0b847ba2afd31fee544dcf0adfcb19467ace9b066834d5888d5f0fa8a6c07 SHA512 94bd17b16fe0aee5f511750dcdeb937813f9fac837585edb63eab2ac2505eb265311ce4366b487f1254693449d20e89be35881f3c1b12d7ffbca109030a31683 MISC metadata.xml 588 BLAKE2B 4e5549f1b07df4c081d2cc03691f0f8ba13c0f8f86807a7e5e87ea618080895a2714f169e9a1294226e71207ed88586a027092a328ab618f417ae3a74ac2586b SHA512 343c287a2c0c7f7bcbd5a40373c0aebe718d46042947abcb8364fed0aeb6dd7e585e9d226ef5bfb0084074d085510e802faf3a3c08b1489ed35556b6c14d1015 diff --git a/sys-apps/texinfo/files/texinfo-7.0.1-info-groff-crash.patch b/sys-apps/texinfo/files/texinfo-7.0.1-info-groff-crash.patch new file mode 100644 index 000000000000..d215ae719ccb --- /dev/null +++ b/sys-apps/texinfo/files/texinfo-7.0.1-info-groff-crash.patch @@ -0,0 +1,44 @@ +https://git.savannah.gnu.org/cgit/texinfo.git/commit/?h=release/7.0&id=86185e7cedafd011376d0efb6f7e028231dbf641 + +From 86185e7cedafd011376d0efb6f7e028231dbf641 Mon Sep 17 00:00:00 2001 +From: Gavin Smith +Date: Mon, 12 Dec 2022 18:40:01 +0000 +Subject: =?UTF-8?q?*=20info/util.c=20(text=5Fbuffer=5Ficonv):=20Correctly?= + =?UTF-8?q?=20update=20arguments=20for=20iconv=20in=20loop.=20=20Crash=20f?= + =?UTF-8?q?or=20"info=20groff"=20reported=20by=20Jakub=20Wilk=20via=20Hilm?= + =?UTF-8?q?ar=20Preu=C3=9Fe=20.?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- a/info/util.c ++++ b/info/util.c +@@ -350,11 +350,11 @@ text_buffer_iconv (struct text_buffer *buf, iconv_t iconv_state, + size_t iconv_ret; + size_t extra_alloc = 1; + +- outptr = text_buffer_base (buf) + text_buffer_off (buf); +- out_bytes_left = text_buffer_space_left (buf); +- + while (1) + { ++ outptr = text_buffer_base (buf) + text_buffer_off (buf); ++ out_bytes_left = text_buffer_space_left (buf); ++ + iconv_ret = iconv (iconv_state, inbuf, inbytesleft, + &outptr, &out_bytes_left); + if (iconv_ret != (size_t) -1) +@@ -362,10 +362,7 @@ text_buffer_iconv (struct text_buffer *buf, iconv_t iconv_state, + + /* If we ran out of space, allocate more and try again. */ + if (errno == E2BIG) +- { +- text_buffer_alloc (buf, (extra_alloc *= 4)); +- out_bytes_left = text_buffer_space_left (buf); +- } ++ text_buffer_alloc (buf, (extra_alloc *= 4)); + else + break; /* let calling code deal with it */ + } +-- +cgit v1.1 diff --git a/sys-apps/texinfo/files/texinfo-7.0.1-lto-type-mismatch.patch b/sys-apps/texinfo/files/texinfo-7.0.1-lto-type-mismatch.patch new file mode 100644 index 000000000000..a8906195480e --- /dev/null +++ b/sys-apps/texinfo/files/texinfo-7.0.1-lto-type-mismatch.patch @@ -0,0 +1,31 @@ +https://git.savannah.gnu.org/cgit/texinfo.git/patch/?id=952b333db85f88fb51c7e051b15063d95cf7dfc8 +https://lists.gnu.org/archive/html/bug-texinfo/2022-12/msg00034.html +https://bugs.gentoo.org/863713 + +From 952b333db85f88fb51c7e051b15063d95cf7dfc8 Mon Sep 17 00:00:00 2001 +From: Gavin Smith +Date: Sat, 10 Dec 2022 01:10:38 +0000 +Subject: =?UTF-8?q?*=20install-info/install-info.c=20(error):=20Declare=20?= + =?UTF-8?q?as=20static=20to=20avoid=20clash=20with=20error=20function=20fr?= + =?UTF-8?q?om=20glibc,=20called=20from=20gnulib.=20Report=20from=20Sam=20J?= + =?UTF-8?q?ames=20=20and=20suggested=20solution=20from=20A?= + =?UTF-8?q?rsen=20Arsenovi=C4=87=20.?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- a/install-info/install-info.c ++++ b/install-info/install-info.c +@@ -214,7 +214,9 @@ vdiag (const char *fmt, const char *diagtype, va_list ap) + putc ('\n', stderr); + } + +-void ++/* declare as static to avoid clash with glibc error function, called from ++ gnulib. */ ++static void + error (const char *fmt, ...) + { + va_list ap; +-- +cgit v1.1 diff --git a/sys-apps/texinfo/texinfo-7.0.1-r1.ebuild b/sys-apps/texinfo/texinfo-7.0.1-r1.ebuild new file mode 100644 index 000000000000..ac7dbea1ee77 --- /dev/null +++ b/sys-apps/texinfo/texinfo-7.0.1-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Note: if your package uses the texi2dvi utility, it must depend on the +# virtual/texi2dvi package to pull in all the right deps. The tool is not +# usable out-of-the-box because it requires the large tex packages. + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="The GNU info program and utilities" +HOMEPAGE="https://www.gnu.org/software/texinfo/" + +if [[ $(ver_cut 3) -ge 90 ]] ; then + SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz" +else + SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="nls +standalone static" + +RDEPEND=" + !=app-text/tetex-2* + >=sys-libs/ncurses-5.2-r2:= + virtual/perl-Data-Dumper + virtual/perl-Encode + standalone? ( >=dev-lang/perl-5.8.1 ) + !standalone? ( >=dev-lang/perl-5.8.1:= ) + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( >=sys-devel/gettext-0.19.6 )" + +PATCHES=( + "${FILESDIR}"/${P}-lto-type-mismatch.patch + "${FILESDIR}"/${P}-info-groff-crash.patch +) + +src_prepare() { + default + + if use prefix ; then + sed -i -e '1c\#!/usr/bin/env sh' util/texi2dvi util/texi2pdf || die + touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 + fi +} + +src_configure() { + # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions + # bug #622576 + local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}" + local -x PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}" + + use static && append-ldflags -static + + local myeconfargs=( + --cache-file="${S}"/config.cache + $(use_enable nls) + $(use_enable !standalone perl-xs) + ) + + econf "${myeconfargs[@]}" +} -- cgit v1.2.3