diff options
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/Manifest.gz | bin | 14743 -> 14753 bytes | |||
-rw-r--r-- | sys-libs/libsemanage/Manifest | 6 | ||||
-rw-r--r-- | sys-libs/libsemanage/libsemanage-3.4-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-libs/libsemanage/libsemanage-3.5.ebuild | 2 | ||||
-rw-r--r-- | sys-libs/libsemanage/libsemanage-9999.ebuild | 2 | ||||
-rw-r--r-- | sys-libs/libstdc++-v3/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r4.ebuild | 4 | ||||
-rw-r--r-- | sys-libs/openipmi/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/openipmi/files/openipmi-2.0.33-c99.patch | 56 | ||||
-rw-r--r-- | sys-libs/openipmi/openipmi-2.0.33-r1.ebuild | 98 |
10 files changed, 165 insertions, 9 deletions
diff --git a/sys-libs/Manifest.gz b/sys-libs/Manifest.gz Binary files differindex c6b77a6ade97..04613c388d63 100644 --- a/sys-libs/Manifest.gz +++ b/sys-libs/Manifest.gz diff --git a/sys-libs/libsemanage/Manifest b/sys-libs/libsemanage/Manifest index 122572030119..0912a664eefb 100644 --- a/sys-libs/libsemanage/Manifest +++ b/sys-libs/libsemanage/Manifest @@ -1,6 +1,6 @@ DIST libsemanage-3.4.tar.gz 185177 BLAKE2B 45276ae6f54cf3dc453bc0d99fb4d7439970bb14ff5b909ebc5511ec31bce1d2bdc477ba9c1fb4fd04ab494ccb37cd8bf47a90d81460c2974af2196d9019bf67 SHA512 831dc789545bb9a0b009bdb4f7fe52f6197ad8325946640f886a960d08e40b8a69eccd5a70cce51466bb5cb7f742feb78d19a9ec63383fbd03aa451508677e73 DIST libsemanage-3.5.tar.gz 185060 BLAKE2B 3e08b15cb6b335a2747bd5f0bd84f74abdd22a7e8ec91ebb443ca6fe3886d5e8cd2827fefdaa0e9caf2af3280cffbf593ee828fee54dd423a21b257493cc754c SHA512 959fbd0d6bc6849da6caa13dc41c3f8818cbbd29f04b5d2ac7246c4b395b4f370f113a04cc9cfcb52be2afebfa636013ac4ad4011384c58c7ce066a45cae2751 -EBUILD libsemanage-3.4-r1.ebuild 4399 BLAKE2B d0655a857c082fb41b5a7addbe9ca4e7739dd193abe13c6e888960edf7e5f79ea255ac58b72e110768335650eb5d31ebb89c685a03ff664fe14fa1d2a1375187 SHA512 430f354a46aa41275a3786572eb84477c7b49efa968a041b67933518c69ddf475e906da54d21dfc58bc00418dd6afca91923772460e669b10e7842184670e098 -EBUILD libsemanage-3.5.ebuild 4399 BLAKE2B d0655a857c082fb41b5a7addbe9ca4e7739dd193abe13c6e888960edf7e5f79ea255ac58b72e110768335650eb5d31ebb89c685a03ff664fe14fa1d2a1375187 SHA512 430f354a46aa41275a3786572eb84477c7b49efa968a041b67933518c69ddf475e906da54d21dfc58bc00418dd6afca91923772460e669b10e7842184670e098 -EBUILD libsemanage-9999.ebuild 4403 BLAKE2B 6a878e47fbe1999cf72c8585fc8850a47ab31ad0fbd288eeb07dc8a9508892534e1b33eb5b2108d8b119fa43559374d59181bf017aef090f1c53437dfad39164 SHA512 bad06a8c213ba741bf0b4deb229f3899eab41191a4f6e235d1b29c9c008e4e407877d06dd944b2f3c0250ddbdc2fe6fd07b629ce8d13c8a12303056c92447f17 +EBUILD libsemanage-3.4-r1.ebuild 4405 BLAKE2B 337f44e1d668ed4189b1067285d10c50ead3f917de1fbc768a2cc4c2720faa3de6e7e8af1e4ee9318ccc37aba065fb37433b34d26ff708130c3f57fac2532cdc SHA512 9ab61ab57e6b6e158a6a26cadac1766d4b80c76542933ee0d0daa77c77979232feb88ff602c99e521979b5aff65430d707c0265b269c95d3c4f8fb52a6c215ab +EBUILD libsemanage-3.5.ebuild 4405 BLAKE2B 337f44e1d668ed4189b1067285d10c50ead3f917de1fbc768a2cc4c2720faa3de6e7e8af1e4ee9318ccc37aba065fb37433b34d26ff708130c3f57fac2532cdc SHA512 9ab61ab57e6b6e158a6a26cadac1766d4b80c76542933ee0d0daa77c77979232feb88ff602c99e521979b5aff65430d707c0265b269c95d3c4f8fb52a6c215ab +EBUILD libsemanage-9999.ebuild 4409 BLAKE2B 4b6879108a250db306c5b64e8a0f590af90e732b6fe55c0b7deec12b63f1d1683cd66c191eddd633777d1fec485405177c67c2e3b721eb2ac3b13a03353dc603 SHA512 2885b3b2e5ee8ea57bb85bae50a2228e90fe54d2dc0b6d2394a6759b0c0b926a302443dd398cb5dd3c16ed8566e6a24f0b0183ccf1738b6b7515c2737d960c4a MISC metadata.xml 405 BLAKE2B b41c6e744a90be985e11b1329493febf85889218623fabfc731306b2851f6067bc75126084e40ab82f3b367ef0e13e659dbc930d7786adff967b546fc5f89792 SHA512 8f08f6c3d07f4e76cd4b6a5033dcd7138b3f94c2cab46e1cf89dc9b113810edbe8e6d20298eadefc00b4e32a69057c1ed0c4255144edb2c5e9ce9e139c7dba70 diff --git a/sys-libs/libsemanage/libsemanage-3.4-r1.ebuild b/sys-libs/libsemanage/libsemanage-3.4-r1.ebuild index 313dba36478f..42c8c982f7d2 100644 --- a/sys-libs/libsemanage/libsemanage-3.4-r1.ebuild +++ b/sys-libs/libsemanage/libsemanage-3.4-r1.ebuild @@ -33,7 +33,7 @@ RDEPEND="app-arch/bzip2[${MULTILIB_USEDEP}] ${PYTHON_DEPS}" DEPEND="${RDEPEND}" BDEPEND=">=dev-lang/swig-2.0.4-r1 - sys-devel/bison + app-alternatives/yacc app-alternatives/lex virtual/pkgconfig" diff --git a/sys-libs/libsemanage/libsemanage-3.5.ebuild b/sys-libs/libsemanage/libsemanage-3.5.ebuild index 313dba36478f..42c8c982f7d2 100644 --- a/sys-libs/libsemanage/libsemanage-3.5.ebuild +++ b/sys-libs/libsemanage/libsemanage-3.5.ebuild @@ -33,7 +33,7 @@ RDEPEND="app-arch/bzip2[${MULTILIB_USEDEP}] ${PYTHON_DEPS}" DEPEND="${RDEPEND}" BDEPEND=">=dev-lang/swig-2.0.4-r1 - sys-devel/bison + app-alternatives/yacc app-alternatives/lex virtual/pkgconfig" diff --git a/sys-libs/libsemanage/libsemanage-9999.ebuild b/sys-libs/libsemanage/libsemanage-9999.ebuild index a2c61ba728a4..7c2c0548cf0e 100644 --- a/sys-libs/libsemanage/libsemanage-9999.ebuild +++ b/sys-libs/libsemanage/libsemanage-9999.ebuild @@ -33,7 +33,7 @@ RDEPEND="app-arch/bzip2[${MULTILIB_USEDEP}] ${PYTHON_DEPS}" DEPEND="${RDEPEND}" BDEPEND=">=dev-lang/swig-2.0.4-r1 - sys-devel/bison + app-alternatives/yacc app-alternatives/lex virtual/pkgconfig" diff --git a/sys-libs/libstdc++-v3/Manifest b/sys-libs/libstdc++-v3/Manifest index 626d62ad5293..f7e5908fb2ec 100644 --- a/sys-libs/libstdc++-v3/Manifest +++ b/sys-libs/libstdc++-v3/Manifest @@ -1,4 +1,4 @@ DIST gcc-3.3.6-patches-4.tar.bz2 53437 BLAKE2B 372ff1fcfcfacca43b420d2cda7fccb2ede4917408e1fcceb6c094694de8ae21148fa9c5ab8663cf6fb9ad858e3d0cbb3f20c91020db7b627828403444c2fd66 SHA512 1ff4563956d2f3af1240a14cd1ec126ff75dcf24e1cec39d32a17d6be92b94aeb081605ceb04b138ba905cea8ccbe204dce4b42a02ef55383fcfa91643f73faf DIST gcc-3.3.6.tar.bz2 23972413 BLAKE2B e7b33edcdbbb13b0be41a41156bf6fb6dcfe4f5ad75c41de86cb37f854be6b7a6a8dda0e65d331461469848cd912e25920e8aa2dcb142cb661731ba571cb5de1 SHA512 576b88e2fa675314a79a85f180684fe5af370c596476a0bf02e33e8ae0e2be838417ea80675ce4194a8213792cf7ada50cae5131149e4b890ab61e0b8d50d0ed -EBUILD libstdc++-v3-3.3.6-r4.ebuild 5074 BLAKE2B dba892d8d6b5b417fbee033157f33f491c4843685b3a97d815858aa45770cad2eb9348b2c9c5a347cb055a6bc8ef3034a38f9d49706d162a93ca07fa2d8b683c SHA512 0ebb18227f908002f4baf9e8bceab5a3bb4812839b0186b0d5f0b7acf9cfe3d5dfd087fac124698cbada78fc32931720ad2e5ffb693e1c39a8b965000e3dbb07 +EBUILD libstdc++-v3-3.3.6-r4.ebuild 5080 BLAKE2B d152b447ad096eb4f26aa3446a3c57cd2d12781f7b407801b0274d843c0de9308b830df826f1149a9125b74b314ba4e911199d3b4f5f2d03abb18e921bfcfee6 SHA512 0e39522d8624b432350c313d3a341e83558b9c283997ec08a59623d3afd0f1eb7e8c55f32026ee5986666a4c4cbd213423cd120fc1f5f08bf899ba04d9151470 MISC metadata.xml 258 BLAKE2B f45bf60ab247635720461e6f8028b41d748c2c0fecea4d5b6eb29a9f532de573e8054773a084b99b2a6a040e980cfc41c8839b13bdeb8ebe6e1de12a1492873b SHA512 2cd16eedd80ae476d1611112f620d3d5eee88fd181fe635d9f9235ac312e24bf8eac5b44f54ff55806ee7a03aaf1d1382a734f7b3496814853d238b9a7b6ee1e diff --git a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r4.ebuild b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r4.ebuild index 9650ef069fa5..7c20c6524879 100644 --- a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r4.ebuild +++ b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ IUSE="multilib nls" RDEPEND="sys-libs/zlib" DEPEND=" ${RDEPEND} - sys-devel/bison" + app-alternatives/yacc" transform_known_flags() { declare setting diff --git a/sys-libs/openipmi/Manifest b/sys-libs/openipmi/Manifest index 2910ccb41617..41778911701f 100644 --- a/sys-libs/openipmi/Manifest +++ b/sys-libs/openipmi/Manifest @@ -1,4 +1,6 @@ AUX openipmi-2.0.26-tinfo.patch 808 BLAKE2B fc7545b3610c9ba6a2d8d7075a8db3384659945bd7d85758342438f261fedce67bace7795a74ff6010f68d04d8ae33936b6c60780986c9e0d66e93061577132f SHA512 2deae71fd039126cb3dd0a348658ddbf568345c782c2467a4712d36006217f86eaf86950c821d36a400aea4cf18409684e8abd3b1e504928f5bc6d4cf943c4bb +AUX openipmi-2.0.33-c99.patch 2031 BLAKE2B 0a84beca0c7cefef2f690a99dd99ee8bf6213b8399f27154e4377f1f343f576557977e7f61b421d67aadab8bb087e8ba09b21b31dbe194ef464fd0e393b0b0d5 SHA512 695d2c89aca9bcaef732e8541e37129240be21d164be38c0fedd6e34d111b6cee0649eb2e265dc468502f592d286b7ea5048fccb94ab547e9c1e0ccd373f6d68 DIST OpenIPMI-2.0.33.tar.gz 3141439 BLAKE2B 02634ac8e17abf6a95f37e1b6825fe1f493e1990d7a5b0f6e87f7d9527f2a778f9faf0b12566529a3c87ecce893346e5125c51da988b95fbb56145282194ed16 SHA512 615fccd1ffd4af18584c1b0e54667ba2de60b6d42b44e7448f27808114180fa3b31b4834276bdf69c3df1e5210df871fd888deec8186377524838390fe41e641 +EBUILD openipmi-2.0.33-r1.ebuild 2115 BLAKE2B f15af3a0448c9d13eb76d69c4807b03ad23036ee8aa4a6a1ffad30f0ed4f96fbf41d257191f35d369ca1e201c98d30b8bbfcf5d2542f6cde2f3e3e2e8548817c SHA512 99fd5798dc7b3382f48a630128f880aa5d95f19b09565ac96678e98bb8964d79e7fa735a97bf052b8755eb3f13c15d98487066095bf4ca3f0e7927c31fa28e07 EBUILD openipmi-2.0.33.ebuild 2071 BLAKE2B a225bed55cd4805e48007b9ba5bc37bce1906de4562131793c0792d829e9d1273786e68e9c84f43463beb7b028b2ab83d1164656ce464f04c35972ed68ca9069 SHA512 ad221796044d777f83f93ce96c7e926e46cba86c4b10a09fe67446eeaa9f0f7bf4ea5fd382bf2f82cf6717fcd102a52b70fc2559218cba3a60fbb9a1d4442023 MISC metadata.xml 348 BLAKE2B 845b9eadd51770ff89268871a3cbb7befb724efeaa28b891e510f34f3bb80b8c72f937505b31646440da9581fa37a38f6272b37f424e78b9ff5c832c255e9bfc SHA512 c13f3458e198f1d4da1cf5be846df5d2cc2ca3ef3fecd5959f7fed0979f10d0eff326da380793dc4471d64e622a415ca60b144b92bb2889a0f870e0c2767f917 diff --git a/sys-libs/openipmi/files/openipmi-2.0.33-c99.patch b/sys-libs/openipmi/files/openipmi-2.0.33-c99.patch new file mode 100644 index 000000000000..b7786c3ceab1 --- /dev/null +++ b/sys-libs/openipmi/files/openipmi-2.0.33-c99.patch @@ -0,0 +1,56 @@ +https://sourceforge.net/p/openipmi/patches/38/ + +C type errors in the SWIG-generated Perl bindings + +The first change fixes an error with newer compilers: + +OpenIPMI_wrap.c: In function ‘_wrap_strconstarray_val_set’: +OpenIPMI_wrap.c:10491:27: error: assignment to ‘const char **’ from incompatible pointer type ‘char **’ +10491 | if (arg1) (arg1)->val = arg2; + | ^ + +The second change is also about a compiler error: + +In file included from /usr/lib64/perl5/CORE/perl.h:4530, + from OpenIPMI_wrap.c:751: +OpenIPMI_wrap.c: In function ‘_wrap_ipmi_sol_conn_t_write’: +/usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of ‘Perl_SvPV_helper’ from incompatible pointer type + 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ +/usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’ + 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) + | ^~~~~~~~~~ +OpenIPMI_wrap.c:27664:24: note: in expansion of macro ‘SvPV’ +27664 | (&arg2)->val = SvPV(tempsv, (&arg2)->len); + | ^~~~ +In file included from /usr/lib64/perl5/CORE/perl.h:7812: +/usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’ + 908 | STRLEN * const lp, + | ~~~~~~~~~~~~~~~^~ + +But the existing code looks broken on big-endian 64-bit architectures, +too. + +--- a/swig/OpenIPMI.i ++++ b/swig/OpenIPMI.i +@@ -359,7 +359,7 @@ typedef struct iargarray + %} + typedef struct strconstarray + { +- char **val; ++ const char **val; + int len; + } strconstarray; + typedef struct argarray +--- a/swig/perl/OpenIPMI_lang.i ++++ b/swig/perl/OpenIPMI_lang.i +@@ -292,7 +292,9 @@ + $1.val = NULL; + $1.len = 0; + } else { +- $1.val = SvPV(tempsv, $1.len); ++ STRLEN len; ++ $1.val = SvPV(tempsv, len); ++ $1.len = len; + } + } + diff --git a/sys-libs/openipmi/openipmi-2.0.33-r1.ebuild b/sys-libs/openipmi/openipmi-2.0.33-r1.ebuild new file mode 100644 index 000000000000..26db37796649 --- /dev/null +++ b/sys-libs/openipmi/openipmi-2.0.33-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit autotools python-single-r1 + +MY_PN="OpenIPMI" +MY_P="${MY_PN}-${PV/_/-}" +DESCRIPTION="Library interface to IPMI" +HOMEPAGE="https://sourceforge.net/projects/openipmi/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="crypt snmp perl python static-libs tcl" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/popt + sys-libs/gdbm:= + sys-libs/ncurses:= + sys-libs/readline:= + crypt? ( dev-libs/openssl:= ) + snmp? ( net-analyzer/net-snmp ) + perl? ( dev-lang/perl:= ) + python? ( ${PYTHON_DEPS} ) + tcl? ( dev-lang/tcl:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-lang/swig-1.3.21 + virtual/pkgconfig +" + +# Gui is broken! +# python? ( tcl? ( tk? ( dev-lang/tk dev-tcltk/tix ) ) )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.26-tinfo.patch" # bug #501510 + "${FILESDIR}/${PN}-2.0.33-c99.patch" +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + # For tinfo patch + eautoreconf +} + +src_configure() { + local myconf=( + # These binaries are for root! + --bindir="${EPREFIX}"/usr/sbin + --with-glib + --with-glibver=2.0 + --with-swig + --without-tkinter + $(use_with snmp ucdsnmp yes) + $(use_with crypt openssl yes) + $(use_with perl perl yes) + $(use_with tcl tcl yes) + $(use_with python python yes) + ) + + # GUI is broken + #use tk && use python && use !tcl && \ + # ewarn "Not building Tk GUI because it needs both Python AND Tcl" + #if use python && use tcl; then + # myconf+=( $(use_with tk tkinter) ) + #else + # myconf+=( --without-tkinter ) + #fi + + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.vm + newdoc cmdlang/README README.cmdlang + + use python && python_optimize + + find "${ED}" -name "*.la" -delete || die + + if ! use static-libs ; then + find "${ED}" -name "*.a" -delete || die + fi +} |