diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-22 03:03:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-22 03:03:01 +0000 |
commit | c7a7ec40cf928d8fc6a8241aa208272c008c7b4d (patch) | |
tree | 72e31c496e32182b70cfe385fbf03517b43bdddb /dev-libs/xmlrpc-c | |
parent | 9db1279f804d62da2c61cfb39fc2e62b9faf56dd (diff) |
gentoo auto-resync : 22:11:2024 - 03:03:01
Diffstat (limited to 'dev-libs/xmlrpc-c')
-rw-r--r-- | dev-libs/xmlrpc-c/Manifest | 10 | ||||
-rw-r--r-- | dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-libxml2.patch | 119 | ||||
-rw-r--r-- | dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-openssl.patch | 24 | ||||
-rw-r--r-- | dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r3.ebuild (renamed from dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r2.ebuild) | 3 | ||||
-rw-r--r-- | dev-libs/xmlrpc-c/xmlrpc-c-1.54.06-r1.ebuild (renamed from dev-libs/xmlrpc-c/xmlrpc-c-1.54.06.ebuild) | 3 | ||||
-rw-r--r-- | dev-libs/xmlrpc-c/xmlrpc-c-1.59.03.ebuild | 80 |
6 files changed, 101 insertions, 138 deletions
diff --git a/dev-libs/xmlrpc-c/Manifest b/dev-libs/xmlrpc-c/Manifest index 657fc199bc68..746c1eb4505b 100644 --- a/dev-libs/xmlrpc-c/Manifest +++ b/dev-libs/xmlrpc-c/Manifest @@ -1,8 +1,10 @@ -AUX xmlrpc-c-1.51.06-pkg-config-libxml2.patch 7240 BLAKE2B 472b313f8b815c1235cc72b56e9081d855277de21e066a1f2db5acb650d4fc4daedca2e82c05116b353b340c1359bfd8e480b19bd1cc5f4f36627f7ccf66760a SHA512 478af29becba5ee415f0b92f15af1cd8273daf14bc4b5fee4deca83197f11a975a40c94c9400050eac5030eb840d55a54282aaed403f105ab0752b1eec398c08 -AUX xmlrpc-c-1.51.06-pkg-config-openssl.patch 1244 BLAKE2B be5e48daa409cb67ae5f75fec54c25ee160e476ef03e5814917f81c887622e8acb5456af29e976ffec761ce4e16c3d5c5b14b75151c594afdc6e8dd48b4dd596 SHA512 73b983c6e0fa97ba0dbceb8bbc7699a51f4e625c05cdfc5a27bf973bf039e9224eb1ec7f21e94ae70d8e32b4f9a1b1dbb04959f639e558b32270a467a72a87e3 +AUX xmlrpc-c-1.51.06-pkg-config-libxml2.patch 3488 BLAKE2B 498c4654bf5733b2457d5c156f46504dcadaa1befa4e4ff51bd014c4a529f2d3ea76ccc3dc5f0b30f7b6ff32f827148ae9827eca4041c07d8a8b71316cecae27 SHA512 3990ef576e1ce313efaeb0829b72decf94a97e4390b74bbc23a680727d451d64a1b7ca55210f9b2df980bf4ab110e0f091d3f33fabd4a1f61b5ee0e54cdec6b9 +AUX xmlrpc-c-1.51.06-pkg-config-openssl.patch 1264 BLAKE2B 035b1635abe42ce91a5c8ea277067e1fb935644186dfc5775c579e98b973f88714a63a4543e1373060a98bdc485f76957361fee0e22bbc8a74a5bf541349375d SHA512 a2a5a65dbf84b0494b3e204b438a149db65a2aeb62baeee5564c8f2373f67690b783fd48c2219c66fe88444fd0c9c6ecf1f8447cfe61f7078eb678619f025366 AUX xmlrpc-c-1.54.06-wformat-security.patch 1107 BLAKE2B 4572a031c01f018af7fe8281429d8a43c93a07f9af0cae47d1f5c2e1b4cf0aac98c0a3d00bce7ff4964b61d9f1c4b2a265379f5efcf49ccb60c4207bcccafd34 SHA512 5ecaea4f875261b9c108840779554505fead02011b5fbf6387a01335cbcd5169e2f76b491806efabdb418c0dee9977f15856470099e3464ec039bf8dada9b9ec DIST xmlrpc-c-1.54.05.tgz 933228 BLAKE2B 50d73fe22454f04ffebf11d4b88986eaac571d107abce4e04244ad0b74469fc5233178967e3dd832a8525514912e4f835fa1ce13c439caf918a2b2d0c05021a0 SHA512 81bf8f398e9cb73b421907d8e304b9a6dc8da931f573f7296457486ade432f4a00a94b6850391690f7b229928f785522e5852db8aca68cb462c71d139e4f27b1 DIST xmlrpc-c-1.54.06.tgz 933199 BLAKE2B 1286323b59aa4d77fe2f8b04fef18d9a448d29a7fa23aad143418e62c92ac6a5156bb61ee58e0df4b0667e73a9170663b02b42fac94b38df71fc789d13e929e0 SHA512 0e8c920ccf04c78947bc66f7210b62c153ba185183c181461584772885690a3bb09dcf63d69c5b0f1f76a96f162a2a0eba6268e7210dda42561f59bec8008733 -EBUILD xmlrpc-c-1.54.05-r2.ebuild 1994 BLAKE2B b01b595251847d8d7d2ce0aaa7e840b03220d5eba55bb7e60bf179acf3b84088f9aa4b53456596a5a22e74de597b3139601d6494f2242b38c5785c48a984a0d0 SHA512 17a3d687c283edd77e3de2590756ffedc090967f1a5d4c96b5cd2c62dea525b1d8d91f29c4f294fdcba69632372e23abd55fbc5dfc7f8f0bc9ccd739d836aece -EBUILD xmlrpc-c-1.54.06.ebuild 2073 BLAKE2B ff2141840397a008328fdb0c0732e81b234d81db48bf03178f8254a47b93e94a82ac4c180226dd0060dca365b09038fe00ea682227fb4809f4942b2a3891ca87 SHA512 6b66ff976427a1e0b6b64f8881a6582d65d3d7e4932d96b95d18e613044f8bcd6c20d28327040c8b5503ab66ed964799bb1deccfe8afef101af7c65372668ada +DIST xmlrpc-c-1.59.03.tgz 935404 BLAKE2B 7a8d2ea19fe698538747d8b5735eb3247dec0c0ef87204cdec3a2aa051581e2d23b1a7b41673ff422c69474c5a4f24243945d5474c30beafc59235bc60c2cad5 SHA512 10b984421e7f4a7c1434b03f542ba1c9f9027ae72ed6022aca5efee55fc630b0f630f1ca5193fd2477c743ffd994c199064b15b73d1b019004f1f8e36cbd6921 +EBUILD xmlrpc-c-1.54.05-r3.ebuild 2015 BLAKE2B 5af107e13e4a7f3b6f2808173f1b91139104287cc28711083ad8650b0ddd796540515b06af4ac565144b512a801f528b8179bec4b58dbb9094b012efdea92ff4 SHA512 c47e08a2cdd9e47d777ee487502d78b67b19afeb83e413944941ccd34a04b0c54ece5c8ec817ec2b5c6a75f12c2b4e1331d6673ffdab7c855cbde750fc5bcf48 +EBUILD xmlrpc-c-1.54.06-r1.ebuild 2094 BLAKE2B 07b13626edfdb7532790191440c5914be524a623473e3721e4f94284ca524bfed9e33ff47e3625829399bfb77b88ab3f93e771c8cae11ba142737ef04c5de937 SHA512 cd1331cf200849e3b35263d2f841c591bde917fd71c3da26fe4c4f055ea0c4267cb12dfc7fd24cf7156fef92cf09401baeffaee7b3083bb0a7ead8f3134da721 +EBUILD xmlrpc-c-1.59.03.ebuild 2042 BLAKE2B b17109ed57e2c568b24ffb9ae9581353a918809c509b34174fabfaa13a2c86f234e36ec6d2bfd9b851991a16af0bc140d2fd6e0d75448d8a450cdf8acb7ceb74 SHA512 b0693054b07c83e87b4f0a6da78013685cd4ab9b56e0194b7bb12ad6916ae501211a45c34fb57d8d11309d9dae05186a070f34faf9f158d6abba58e20baf3938 MISC metadata.xml 548 BLAKE2B c471932a7dc9bfd7557572a122f5715bd3dab51a3c4d3510dd110077e94f7f03cfcdbd063f5241f3920c5cd871ab9b7b8b6b9beba0d9eedd8d75356095b8191d SHA512 180c83cc1781b2631a10a71e3bd6d99fda2d3e07fcf53aa1b17176b3d935f0f91bb41b3b7f9455ba5eef8d517cc4a6c8f4a87aaaabe58d1d93bf59823d4cc078 diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-libxml2.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-libxml2.patch index df8d992c62d8..a62a729ec22a 100644 --- a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-libxml2.patch +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-libxml2.patch @@ -11,125 +11,6 @@ https://bugs.gentoo.org/870253 endif # LIBXMLRPC_UTIL_LIBDEP is the string of linker options you need on the link ---- a/configure -+++ b/configure -@@ -628,9 +628,8 @@ - CC_WARN_FLAGS - CXX_COMPILER_GNU - C_COMPILER_GNU -+HAVE_LIBWWW_SSL_DEFINE - ENABLE_LIBXML2_BACKEND --have_xml2_config --HAVE_LIBWWW_SSL_DEFINE - HAVE_ABYSS_OPENSSL_DEFINE - MUST_BUILD_ABYSS_OPENSSL - HAVE_OPENSSL -@@ -781,8 +780,8 @@ - enable_cplusplus - enable_abyss_threads - enable_abyss_openssl -+enable_libxml2_backend - with_libwww_ssl --enable_libxml2_backend - ' - ac_precious_vars='build_alias - host_alias -@@ -6053,62 +6053,39 @@ - fi - - -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Libxml2 library" >&5 -+$as_echo_n "checking for Libxml2 library... " >&6; } -+ -+if ${PKG_CONFIG} libxml-2.0; then -+ HAVE_LIBXML2=yes -+else -+ HAVE_LIBXML2=no -+fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_LIBXML2" >&5 -+$as_echo "$HAVE_LIBXML2" >&6; } -+ -+# Check whether --enable-libxml2-backend was given. -+if test "${enable_libxml2_backend+set}" = set; then : -+ enableval=$enable_libxml2_backend; -+else -+ enable_libxml2_backend=no -+fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the libxml2 backend" >&5 -+$as_echo_n "checking whether to build the libxml2 backend... " >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libxml2_backend" >&5 -+$as_echo "$enable_libxml2_backend" >&6; } -+ -+if test $enable_libxml2_backend = yes; then -+ if test $HAVE_LIBXML2 = no; then -+ as_fn_error $? "You specified --enable-libxml2_backend, but don't appear to have libxml2 installed (no pkg-config file for it in your pkg-config search path), so we cannot not build for libxml2" "$LINENO" 5 -+ fi -+fi -+ -+ENABLE_LIBXML2_BACKEND=$enable_libxml2_backend -+ -+ --# Check whether --enable-libxml2-backend was given. --if test "${enable_libxml2_backend+set}" = set; then : -- enableval=$enable_libxml2_backend; --else -- enable_libxml2_backend=no --fi -- --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the libxml2 backend" >&5 --$as_echo_n "checking whether to build the libxml2 backend... " >&6; } --{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libxml2_backend" >&5 --$as_echo "$enable_libxml2_backend" >&6; } -- --if test $enable_libxml2_backend = yes; then -- # Extract the first word of "xml2-config", so it can be a program name with args. --set dummy xml2-config; ac_word=$2 --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 --$as_echo_n "checking for $ac_word... " >&6; } --if ${ac_cv_prog_have_xml2_config+:} false; then : -- $as_echo_n "(cached) " >&6 --else -- if test -n "$have_xml2_config"; then -- ac_cv_prog_have_xml2_config="$have_xml2_config" # Let the user override the test. --else --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -- ac_cv_prog_have_xml2_config="yes" -- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -- fi --done -- done --IFS=$as_save_IFS -- -- test -z "$ac_cv_prog_have_xml2_config" && ac_cv_prog_have_xml2_config="no" --fi --fi --have_xml2_config=$ac_cv_prog_have_xml2_config --if test -n "$have_xml2_config"; then -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xml2_config" >&5 --$as_echo "$have_xml2_config" >&6; } --else -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 --$as_echo "no" >&6; } --fi -- -- -- if test $have_xml2_config = no; then -- as_fn_error $? "You specified --enable-libxml2_backend, but don't appear to have libxml2 installed (no working xml2-config in your command search path), so we cannot not build for libxml2" "$LINENO" 5 -- fi --fi --ENABLE_LIBXML2_BACKEND=$enable_libxml2_backend - - - C_COMPILER_GNU=$ac_cv_c_compiler_gnu --- a/configure.in +++ b/configure.in @@ -742,6 +742,36 @@ diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-openssl.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-openssl.patch index b39ae428f29b..d893b8ee25b9 100644 --- a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-openssl.patch +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-openssl.patch @@ -1,22 +1,20 @@ https://sourceforge.net/p/xmlrpc-c/code/3152 https://bugs.gentoo.org/870253 ---- a/configure -+++ b/configure -@@ -5974,11 +5974,11 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL library" >&5 - $as_echo_n "checking for OpenSSL library... " >&6; } - +--- a/configure.in ++++ b/configure.in +@@ -696,11 +696,11 @@ dnl ======================================================================= + + AC_MSG_CHECKING(for OpenSSL library) + -if pkg-config openssl; then -- HAVE_OPENSSL=yes -- OPENSSL_LDADD=$(pkg-config openssl --libs) -- -- OPENSSL_CFLAGS=$(pkg-config openssl --cflags) +if ${PKG_CONFIG} openssl; then -+ HAVE_OPENSSL=yes + HAVE_OPENSSL=yes +- OPENSSL_LDADD=$(pkg-config openssl --libs) + OPENSSL_LDADD=$(${PKG_CONFIG} openssl --libs) -+ + AC_SUBST(OPENSSL_LDADD) +- OPENSSL_CFLAGS=$(pkg-config openssl --cflags) + OPENSSL_CFLAGS=$(${PKG_CONFIG} openssl --cflags) - + AC_SUBST(OPENSSL_CFLAGS) else HAVE_OPENSSL=no diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r2.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r3.ebuild index 0bbedf6a1ee3..b3e2ddbb2651 100644 --- a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r2.ebuild +++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit autotools toolchain-funcs # Upstream maintains 3 release channels: https://xmlrpc-c.sourceforge.net/release.html # 1. Only the "Super Stable" series is released as a tarball @@ -46,6 +46,7 @@ src_prepare() { -e "/CFLAGS_COMMON/s|-g -O3$||" \ -e "/CXXFLAGS_COMMON/s|-g$||" \ common.mk || die + eautoconf } src_configure() { diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.06.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.06-r1.ebuild index a224c3c1a99f..184e48e2243a 100644 --- a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.06.ebuild +++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.06-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit autotools toolchain-funcs # Upstream maintains 3 release channels: https://xmlrpc-c.sourceforge.net/release.html # 1. Only the "Super Stable" series is released as a tarball @@ -48,6 +48,7 @@ src_prepare() { -e "/CFLAGS_COMMON/s|-g -O3$||" \ -e "/CXXFLAGS_COMMON/s|-g$||" \ common.mk || die + eautoconf } src_configure() { diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.59.03.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.59.03.ebuild new file mode 100644 index 000000000000..4d3950ce61ef --- /dev/null +++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.59.03.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +# Upstream maintains 3 release channels: https://xmlrpc-c.sourceforge.net/release.html +# 1. Only the "Super Stable" series is released as a tarball +# 2. SVN tagging of releases seems spotty: https://svn.code.sf.net/p/xmlrpc-c/code/release_number/ +# Because of this, we are following the "Super Stable" release channel + +DESCRIPTION="A lightweight RPC library based on XML and HTTP" +HOMEPAGE="https://xmlrpc-c.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tgz" + +LICENSE="BSD" +SLOT="0/4.59" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" +IUSE="abyss +cgi +curl +cxx +libxml2 threads test" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( abyss curl cxx )" + +RDEPEND=" + dev-libs/openssl:= + sys-libs/ncurses:= + sys-libs/readline:= + curl? ( net-misc/curl ) + libxml2? ( dev-libs/libxml2 ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.51.06-pkg-config-libxml2.patch + "${FILESDIR}"/${PN}-1.51.06-pkg-config-openssl.patch +) + +pkg_setup() { + use curl || ewarn "Curl support disabled: No client library will be built" +} + +src_prepare() { + default + + sed -i \ + -e "/CFLAGS_COMMON/s|-g -O3$||" \ + -e "/CXXFLAGS_COMMON/s|-g$||" \ + common.mk || die + eautoconf +} + +src_configure() { + tc-export PKG_CONFIG + + econf \ + --disable-libwww-client \ + --disable-wininet-client \ + --without-libwww-ssl \ + $(use_enable abyss abyss-server) \ + $(use_enable cgi cgi-server) \ + $(use_enable curl curl-client) \ + $(use_enable cxx cplusplus) \ + $(use_enable libxml2 libxml2-backend) \ + $(use_enable threads abyss-threads) +} + +src_compile() { + default + + # Tools building is broken in this release + #use tools && emake -rC "${S}"/tools +} + +src_install() { + default + + # Tools building is broken in this release + #use tools && emake DESTDIR="${D}" -rC "${S}"/tools install +} |