pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/xmlrpc-c
Module Name: pkgsrc
Committed By: he
Date: Sun Oct 13 21:48:58 UTC 2019
Modified Files:
pkgsrc/textproc/xmlrpc-c: Makefile PLIST distinfo
pkgsrc/textproc/xmlrpc-c/patches: patch-GNUmakefile patch-config.mk.in
Added Files:
pkgsrc/textproc/xmlrpc-c/patches: patch-common.mk
patch-src_cpp_server__pstream.cpp
patch-tools_xml-rpc-api2cpp_Makefile patch-tools_xmlrpc_Makefile
patch-tools_xmlrpc__transport_Makefile
Removed Files:
pkgsrc/textproc/xmlrpc-c/patches: patch-aa patch-ae patch-ai patch-aj
patch-ak patch-src_cpp_server_pstream.cpp
Log Message:
Update xmlrpc-c to new "super stable" version 1.51.04.
Pkgsrc changes:
* Renamed patches to follow new pkgsrc conventions.
* Oddly, the .tgz distfile isn't actually compressed. Compensate.
Upstream changes:
Release 1.51
============
Released 17.12.26.
Subversion directory release_number/10.51.00.
* Build: Add --disable-abyss-openssl for build environments that
appear to have Openssl but don't really. (A Pkg-config design
flaw makes that happen sometimes - you can't control what
directories it searches for .pc files).
* Windows build: add Visual Studio 2017 project files, fix various
things broken for Windows in recent updates. Thanks to Maksym
Veremeyenko.
Release 1.50
============
Released 17.09.28.
Subversion directory release_number/10.50.00.
* Build: fix installation of programs. Introduced in Xmlrpc-c
1.47 (September 2016).
* Windows build: fix ChanSwitchUnixGetListenName not found.
* Windows build: Add current VS2010express project files.
* Windows build: various fixes. Doesn't necessarily work yet.
Release 1.49
============
Released 17.03.26.
Subversion directory release_number/10.49.00.
* Add program xmlrpc_dumpserver.
Release 1.48
============
Released 16.12.27.
Subversion directory release_number/10.48.00.
* Disable 10M restriction on document size in Libxml2 XML parser.
* Build: Recognize additional Linux "host OS" environments. E.g.
"linux-uclibc".
* Build: replace BUILDTOOL_CC and BUILDTOOL_CCLD with more
conventional CC_FOR_BUILD. Add CFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD.
* Build: Don't attempt to build C++ internal utility module
cmdline_parser_cpp if we aren't building the C++ libraries. In
that case, 1) it isn't needed, and 2) the environment probably
is incapable of compiling C++.
* Build: Use AC_CHECK_TOOL to determine 'ar' command and
AC_PROG_RANLIB to determine 'ranlib' command to use.
* Build: fix compile failure in build for a system that does not
have Unicode wide characters (wchar_t).
Release 1.47
============
Released 16.09.25.
Subversion directory release_number/10.47.00.
* Install: fix bug: xmlrpc_expat.pc not installed.
* Install: Add 'uninstall' make target
Release 1.46
============
Released 16.06.29.
Subversion directory release_number/01.46.00.
* Packet stream client: Add option to throw a BrokenConnEx
exception when transport fails because the server hung up or
network broke, instead of throwing error.
* Add ServerAbyss::getListenName method, ChanSwitchUnixGetListeName:
ability to find out on what port your server is listening.
* Packet stream server ('serverPstreamConn'): fix bug: runOnce()
fails with indication that it was interrupted when the server
hangs up. Always broken (interruptible RunOnce() was new in
Xmlrpc-c 1.14 (March 2008).
* Fix compile failure with old OpenSSL that doesn't have
SSL_ERROR_WANT_ACCEPT. Introduced in Xmlrpc-c 1.45.
Release 1.45
============
Released 16.03.27.
Subversion directory release_number/01.45.00.
* Add SSL/TLS capability via OpenSSL to Abyss server.
* Fix xmlrpc_mem_block accidentally made private in 1.44.
* Build: Remove example and test program usage of XML parser
facility (<xmlrpc-c/xmlparser.h>), which was made private in
1.44, so the examples and tools no longer build.
Release 1.44
============
Released 15.12.31.
Subversion directory release_number/01.44.00.
* C++: Add 'toValue' and 'fromValue' for 64-bit integer
(xmlrpc_c::value_i8).
* Memory block utility: Remove xmlrpc_mem_block_init and
xmlrpc_mem_block_clean. These complicate forward compatibility
and probably were never used. xmlrpc_mem_block_new and
xmlrpc_mem_block_free remain to fulfill the same purpose.
* Remove XML parser (<xmlrpc-c/xmlparser.h>) from external API.
This is not specific to XML-RPC, so has no business being a
service of Xmlrpc-c. It is just an abstraction to allow us to
use various XML parsing libraries (to wit, Expat and Libxml2).
We don't think it was ever used externally.
* Build: make install does not create empty man page directory.
Release 1.43
============
Released 15.09.27.
Subversion directory release_number/01.43.00.
* Add xmlrpc_value_new(): deep copy of xmlrpc_value.
* Abyss C++: Add 'terminate' and 'resetTerminate' methods,
analogous to C Abyss 'ServerTerminate' and 'ServerResetTerminate'.
* Fix bug: infinite recursion if you try to format a floating
point value that was created from something other than a finite
number. Creation of a floating point XML-RPC value from something
other than a number now fails. Introduced in Xmlrpc-c 1.15
(June 2008).
* Curl client: fix garbage in message where explanation from Curl
library belongs. Always there, with some Curl libraries.
* Curl client: fix instantaneous timeout with some Curl libraries.
Introduced in Xmlrpc-c 1.41 (March 2015).
* Curl client: fix 'connect_timeout' transport parameter interpreted
as 'timeout'. Always broken ('connect_timeout' was new in
Xmlrpc-c 1.41 (March 2015)).
Release 1.42
============
Released 15.06.28.
Subversion directory release_number/01.42.00.
* AbysssServer: add 'Session::headerValue' and 'Session::getHeaderValue'.
* Fix crash in 'xmlrpc' program under most circumstances. Broken
in Xmlrpc-c 1.40 (December 2014).
* Packet socket: fix missing parenthesis in error message. Broken
in Xmlrpc-c 1.25 (December 2010).
Release 1.41
============
Released 15.03.26.
Subversion directory release_number/01.41.00.
* Fix crash: multithreaded client program that uses the Curl XML
transport and does not specify a Curl timeout transport parameter
crashes because of signal use inside the Curl library, unless
the Curl library is one that does DNS lookups with the ARES
library.
* Make a client that uses the Curl XML transport and does not
specify a Curl timeout transport parameter wait indefinitely
for a DNS lookup, or at least until the OS DNS lookup service
gives up, unless the Curl library is one that does DNS lookups
with the ARES library. In previous releases, the RPC failed
after waiting 5 minutes. This was not intended as an enhancement,
but rather is a side effect of fixing the crash described above.
But it also adds consistency, since the wait for the DNS lookup
was always indefinite, ironically, in the case that the program
specified timeout.
* Add connect_timeout curl transport parameter.
* Packet stream socket: fix: sends corrupted packet when the
packet contains an ESC character. Always broken. (packet stream
sockets were new in Xmlrpc-c 1.11 - June 2007).
* Add XMLRPC_TRACE_PACKETSOCKET environment variable: a means of
tracing communication at the packet socket level.
* Build: Use -pthread on compile and link instead of just linking
libpthread if compiler is GNU.
* Build: Don't rely on <features.h> to define __BEGIN_DECLS
* Build: don't ignore LDFLAGS in build of Gennmtab. Broken since
Xmlrpc-c 1.32 (September 2012).
* Many changes to accomodate Mingw. May not work completely yet.
* Build: fix a "recompile with -fPIC" failure in parallel make.
* Build: fix failure with configure --disable-abyss-threads.
Introduced in Xmlrpc-c 1.38 (March 2014).
Release 1.40
============
Released 14.12.28.
Subversion directory release_number/01.40.00.
* Fix AbyssServer::readRequestBody for chunked bodies. Always
broken (AbyssServer was new in Netpbm 1.39 (September 2014).
* Add pkg-config files (e.g. xmlrpc.pc)
* Build: fix 'make distclean' so it doesn't leave src/cpp/srcdir
and src/cpp/blddir.
Release 1.39
============
Released 14.09.27.
Subversion directory release_number/01.39.00.
* Add C++ Abyss server classes. Not documented yet.
* Abyss: with access control, send Access-Control-Allow-Headers
headers for Content-Type and Content-Length.
* Curl client: Fix bogus "please call curl_muti_perform()" error
with very old Curl library.
* Abyss: fix bug: RequestAuth() always says not authenticated.
Broken in 1.10 (March 2007).
* Abyss: fix missing prototype for RequestAuth(). Always broken.
* Install: fix bug: <xmlrpc-c/base64.hpp> not installed.
Release 1.38
============
Released 14.03.25.
Subversion directory release_number/01.38.00.
* Fix bug: When serializing a very large floating point number,
sender of an XML-RPC message adds some junk after the decimal
point. With assertion checking enabled, it just crashes. Broken
in 1.15 (June 2008).
* xmlrpc program: add ability to specify a struct or array RPC
parameter (struct/ and array/).
* Abyss: fix parsing of URI with %HH escape sequence - always
said invalid URI. Broken in 1.31 (June 2012).
* Abyss: Fail ServerRun() and ServerRunOnce() if user hasn't done
ServerInit() instead of trying to make the channel switch accept
a connection even though it isn't in listening state. Combined
with the two problems below, this caused POSIX socket servers
to go into an infinite loop if the user called ServerRun()
without a prior ServerInit().
* Abyss: Fail ChanSwitchAccept() if user hasn't done ChanSwitchListen()
instead of trying to make the OS do the accept.
* Abyss: Unix socket: Fix bug: POLLHUP and POLLERR state on
listening or interrupt socket caused accept function to return
as if the wait had simply been interrupted.
* Abyss: fix error HTTP response for invalid request line - showed
wrong request line. Always broken. (The request line in that
message was new in Xmlrpc-c 1.19 (June 2009).
* Abyss: add details to invalid request line error HTTP response.
* xmlrpc-c-config: add "abyss" target to get just the Abyss
library - no XML-RPC stuff.
Release 1.37
============
Released 13.12.31.
Subversion directory release_number/01.37.00.
* Abyss server: Fix bug: reported HTTP status 408 (Request timed
out) for all problems getting the request from the client. Also
add text detail of problems getting the request from the client
to the HTTP error response.
* Fix pervasive wild pointer dereference when memory allocation
of small string fails. Introduced in 1.01 (January 2005).
* Fixes for Windows build problems introduced in 1.33.
Release 1.36
============
Released 13.09.29.
Subversion directory release_number/01.36.00.
* C++ server: add versions of 'xmlrpc_c::registry::addMethod'
that takes a simple pointer to the method object, so you can
use it with automatic and static method objects. Same for
'xmlrpc_c::registry::setDefaultMethod'.
* Remove 128M limit on certain memory allocations.
* Change strategy for overallocating memory - grow blocks no more
than a megabyte at a time; shrink blocks sometimes.
* Fix interpretation of dateTime.iso8601 variant with timezone
information. As broken, it would add up to a second to the
correct datetime or reject the message claiming that it has
invalid syntax. Always broken (recognition of the timezone
variant was introduced in Xmlrpc-c 1.20 (September 2009).
* 'xmlrpc', 'xmlrpc_pstream', 'xmlrpc_parsecall': add ability to
display dateTime.iso8601.
* AIX build: various fixes.
* Windows build: fix reference to _snprintf; broke in Xmlrpc-c 1.34.
* Windows build: fix lock_windows.c so it compiles. File was new
in Xmlrpc-c 1.33 and never compiled. Fix girmem.cpp to use
lock_platform, etc. instead of pthreadx, which was removed in
Xmlrpc-c 1.33.
Release 1.35
============
Released 13.06.27.
Subversion directory release_number/01.35.00.
* Abyss: fix wrong peer address with Unix socket channel made
with ChannelUnixCreateFd(). Always broken (ability to get peer
address was added in Release 1.07 (October 2006)).
* JSON value formatting: Fix buffer overrun.
* Build: build 'configure' with Autoconf 2.69 (previously built
with 2.67).
Release 1.34
============
Released 13.03.30.
Subversion directory release_number/01.34.00
* Build: fix libpthread dependency bug introduced in 1.33.00.
* Test program build: include <unistd.h> instead of <sys/unistd.h>.
Release 1.33
============
Released 12.12.27.
Subversion directory release_number/01.33.00.
* Make xmlrpc_value thread-safe (after construction, when the
only modification allowed is to the reference count).
* Client with Curl transport: fix bug which disables interruption
unless you register a progress function for the transport.
Introduced in 1.24 (September 2010).
* Add xmlrpc_init(), xmlrpc_term().
* Server: fix method add failure when signature string contains
"I" (for 64 bit integer). Always broken (64 bit integer type
was new in Xmlrpc-c 1.07 (October 2006)).
* libxml2: fix memory leaks. Always broken (ability to use libxml2
was added in Release 1.00 (October 2004)).
* Abyss: Fix memory read through wild pointer upon interruption
of server. Probably harmless.
* Windows build: rename DLL configurations to avoid ambiguity
between DLL and static library builds.
Release 1.32
============
Released 12.09.28.
Subversion directory release_number/01.32.00.
* Abyss server: terminate sooner when the HTTP request handler
requests shutdown. Formerly, after e.g. a 'system.shutdown'
RPC, the server waited for the persistent TCP connections,
including the one in which the RPC transaction was transported,
to end (typically 15 seconds later). Now, it interrupts channel
reads and writes on all connections so they will notice they
are supposed to wind up and do so.
* Abyss server: add basic server operation tracing with
ABYSS_TRACE_SERVER environment variable.
* Abyss server, XML-RPC Abyss server: add control of number of
simultaneous connections and OS connection backlog.
* Use random salt in hash values in built-in XML parser. Without
this, a malicious user can create a putative XML-RPC call or
response that takes a long time to parse, thus using excessive
CPU resources. This code is adapted from true Expat's fix for
CVE-2012-0876 to XML-RPC's fork of Expat, by Tyler Hicks
<tyhicks%canonical.com@localhost>.
* Server: Fix crash when string value in parameter list contains
invalid UTF-8. Broken in 1.18 (March 2006). Diagnosed by Stephen
Hansen, Programmer <stephen%tlo.com@localhost>.
* Fix crash in built-in XML parser which causes a memory leak
when it can't get additional memory (re-allocation fails). This
code is adapted from true Expat's fix for CVE-2012-1148 to
XML-RPC's fork of Expat, by Tyler Hicks <tyhicks%canonical.com@localhost>.
* Build: fix build tree != source tree bug: no transport_config.mk.
Broken in 1.10 (March 2007).
* Windows build: properly export client class in xmlrpc-c_client++.dll.
By Maksym Veremeyenko <verem%m1stereo.tv@localhost>
* Build: don't build tools by default. Broken in 1.30 (March 2012).
* Build: fix up how LDFLAGS, CFLAGS, and CXXFLAGS (make variables)
are used. Deprecate LADD and CADD, which were meant for the
same thing.
* Build: fix make clean so it cleans src/cpp.
* Build: fix so build of test programs does not fail if you didn't
build client facilities.
* Build: fix 'check'. By Tyler Hicks <tyhicks%canonical.com@localhost>.
Release 1.31
============
Released 12.06.30.
Subversion directory release_number/01.31.00.
* Abyss XML-RPC server: make xmlrpc_server_abyss() fail instead
of exiting program when it can't bind and listen.
* Abyss server: Add ServerInit2() - fails instead of exiting
program if it can't bind and listen.
* Curl client XML transport: when server sends garbage instead
of valid HTTP response, put the garbage (which is often an
error message) in the error message.
* Add xmlrpc_read_datetime_8601(),
xmlrpc_c::value_datetime::iso8601Value().
* xmlrpc_c::value_datetime: add ability to construct from and
cast to xmlrpc_datetime.
* Fix crash due to bogus memory free when xmlrpc_parse_value()
fails. Broken in 1.07 (October 2006).
* Abyss server: Fix bug: rejects request with colons in the host
name (e.g. IPv6 address form "[::1]") as invalid.
* Curl client XML transport: Fix error message when servers
responds with non-HTTP garbage. Used to say HTTP response code
is zero.
* Curl client XML transport: fix occasional crash with modern
Curl introduced in 1.28.
* Abyss server: Fix crash when client doesn't specify access
control. Broken in 1.25 (December 2011).
* Abyss server: Improved formatting of IPv6 addresses for Abyss
"channel info.". Also no more build-time dependency on nonstandard
s6_addr16, introduced in 1.29.
* Windows: Remove #include <windows.h> from public header file
to avoid conflicts with other inclusions in user's program that
include other variations of <windows.h>. By Maksym Veremeyenko
<verem%m1stereo.tv@localhost>
* Install: fix install of man pages to wrong directory. Broken
in 1.18 (March 2009).
* Windows build: Fix winsock2 conflict.
Release 1.30
============
Released 12.03.31.
Subversion directory release_number/01.30.00.
* Add ability for Abyss and XML-RPC Abyss server to listen on a
particular interface (IP address).
* Abyss XML-RPC server: Fix bug in access control expiration.
* xmlrpc, xmlrpc_pstream client programs: fix bug in display of
unprintable ASCII as \xHH: shows \xff where it should be
something else.
* Windows Abyss: fix 16 byte per thread memory leak. Thanks Angelo Masci.
* Build: add missing include of <ostream> to base.hpp. Broken in 1.26.
* Build: remove --enable-tools option added in 1.18. User can
just do 'make -C tools ' or 'make all' to get that.
Release 1.29
============
Released 11.12.31.
Subversion directory release_number/01.29.00.
* Abyss: Add ChanSwitchUnixCreateIpV6Port: ability to listen for
client connections on an IP Version 6 TCP port.
* Curl client XML transport: Add 'referer' option.
* Improved invalid UTF-8 error message.
* xmlrpc client program: fix bug: doesn't accept b/f to mean
boolean false. Broken since 1.07.
* Fix crash when sending structure with a member value too large.
Introduced in 1.21.
* Fix Windows build, undefined macro XMLRPC_S_IWUSR introduced in 1.28.
Release 1.28
============
Released 11.09.27.
Subversion directory release_number/1.28.00.
* Curl client: add "gssapi_delegation" option. Needed in some
cases with newer Curl libraries to get back old function.
* Fix bug: infinite loop parsing XML when a string or character
data is longer than 1K in UTF-8. Introduced in 1.12.
* Curl client: fix libcurl version in user-agent header. Always
broken (user-agent function added in Release 1.03).
* Client curl transport: fix bug: multiple authentication methods
doesn't work; only one of them takes effect. Always broken.
* C++ Curl client: fix bug: ignores proxy Curl transport options.
Always broken.
* Windows: Add VS2008 64 bit static library building. Remove MSVC
6 project files. From now on, VS2008 will be the standard. The
single set of project files build static and DLL, 32 bit and
64.
* Accomodate newer libcurl, which does not have <curl/types.h>.
* Fix per-connection memory leak in libwww client XML transport.
Present since the beginning.
* Build: fix some parallel make forced ordering.
* Build with --disable-abyss-threads: include <sys/wait.h> instead
of <wait.h> in Abyss thread_fork.c.
* Build of test programs: Fix "struct sockaddr_in" not defined
in server_pstream.cpp.
* Build: fix undeclared struct timespec.
* Build: Work with systems that don't define S_IREAD in <sys/stat.h>.
* C++: Reorder arrayValueSlice() and arrayValueAvrray() definitions
in <xmlrpc-c/base.hpp> to please Clang.
Release 1.27
============
Released 11.06.27.
Subversion directory release_number/1.27.00.
* Many changes to accomodate Mingw. May not work completely yet.
By Maksym Veremeyenko <verem%m1stereo.tv@localhost>.
* Windows build: update non-DLL project files to accomodate recent
changes to tree. By Maksym Veremeyenko <verem%m1stereo.tv@localhost>.
* Windows build: add missing DLLEXPORT to some class declarations
so user programs build. By Maksym Veremeyenko <verem%m1stereo.tv@localhost>.
* Build: Fix detection of libwww, broken in 1.24.
* Build: Don't use trailing comma in enum; not accepted by some
C++ compilers.
* Build: Add a user-defined default constructor for class callInfo
to avoid compilation failure with recent GNU compilers.
* Mac OS X build: include -install_name on library link so
dependents can find it automatically. Thanks Joshua Root
(jmr%macports.org@localhost).
Release 1.26
============
Released 11.03.26.
Subversion directory release_number/1.26.00.
* Add output operator (operator<<) for xmlrpc-c::value::type_t.
* JSON serializer: eliminate trailing commas that Internet Explorer
doesn't like. Thanks Bo Lorentzen <bl%lue.dk@localhost>.
* JSON serializer: improve human readability of JSON. Thanks Bo
Lorentzen <bl%lue.dk@localhost>.
* Fix JSON integer parsing and formatting broken in 1.25.
* Build: Fix prototype/definition mismatch in libwww.cpp with
some compilers (e.g. Solaris).
* Build: Fix linking of xml-rpc-api2cpp with some linkers (e.g. Solaris).
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/textproc/xmlrpc-c/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/xmlrpc-c/PLIST
cvs rdiff -u -r1.33 -r1.34 pkgsrc/textproc/xmlrpc-c/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/xmlrpc-c/patches/patch-GNUmakefile
cvs rdiff -u -r1.6 -r0 pkgsrc/textproc/xmlrpc-c/patches/patch-aa
cvs rdiff -u -r1.3 -r0 pkgsrc/textproc/xmlrpc-c/patches/patch-ae \
pkgsrc/textproc/xmlrpc-c/patches/patch-ai \
pkgsrc/textproc/xmlrpc-c/patches/patch-aj \
pkgsrc/textproc/xmlrpc-c/patches/patch-ak
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/xmlrpc-c/patches/patch-common.mk \
pkgsrc/textproc/xmlrpc-c/patches/patch-src_cpp_server__pstream.cpp \
pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xml-rpc-api2cpp_Makefile \
pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xmlrpc_Makefile \
pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xmlrpc__transport_Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/xmlrpc-c/patches/patch-config.mk.in
cvs rdiff -u -r1.1 -r0 \
pkgsrc/textproc/xmlrpc-c/patches/patch-src_cpp_server_pstream.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/xmlrpc-c/Makefile
diff -u pkgsrc/textproc/xmlrpc-c/Makefile:1.52 pkgsrc/textproc/xmlrpc-c/Makefile:1.53
--- pkgsrc/textproc/xmlrpc-c/Makefile:1.52 Sat Oct 12 22:57:08 2019
+++ pkgsrc/textproc/xmlrpc-c/Makefile Sun Oct 13 21:48:57 2019
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.52 2019/10/12 22:57:08 he Exp $
+# $NetBSD: Makefile,v 1.53 2019/10/13 21:48:57 he Exp $
-DISTNAME= xmlrpc-c-1.25.26
+DISTNAME= xmlrpc-c-1.51.04
# the "super stable" branch
PKGNAME= ${DISTNAME:S/-c-/-c-ss-/}
-PKGREVISION= 14
CATEGORIES= textproc devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-c/}
EXTRACT_SUFX= .tgz
+# It's actually not a compressed tar file
+EXTRACT_OPTS+= -c none
#/usr/bin/ld: ./libxmlrpc_server++.a(registry.o): relocation R_X86_64_32S against `_ZTVN8xmlrpc_c8callInfoE' can not be used when making a shared object; recompile with -fPIC
#./libxmlrpc_server++.a: could not read symbols: Bad value
@@ -62,5 +63,6 @@ LDFLAGS.MirBSD+= ${PTHREAD_LINKFLAGS}
.include "../../www/curl/buildlink3.mk"
.include "../../www/libwww/buildlink3.mk"
.include "../../devel/libidn2/buildlink3.mk"
+.include "../../devel/libidn2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/xmlrpc-c/PLIST
diff -u pkgsrc/textproc/xmlrpc-c/PLIST:1.5 pkgsrc/textproc/xmlrpc-c/PLIST:1.6
--- pkgsrc/textproc/xmlrpc-c/PLIST:1.5 Thu Sep 12 18:52:54 2013
+++ pkgsrc/textproc/xmlrpc-c/PLIST Sun Oct 13 21:48:57 2019
@@ -1,11 +1,17 @@
-@comment $NetBSD: PLIST,v 1.5 2013/09/12 18:52:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/10/13 21:48:57 he Exp $
bin/xmlrpc-c-config
include/XmlRpcCpp.h
+include/xmlrpc-c/AbyssChanSwitch.hpp
+include/xmlrpc-c/AbyssChanSwitchUnix.hpp
+include/xmlrpc-c/AbyssEnvironment.hpp
+include/xmlrpc-c/AbyssServer.hpp
include/xmlrpc-c/abyss.h
+include/xmlrpc-c/abyss_reqhandler_xmlrpc.hpp
include/xmlrpc-c/abyss_unixsock.h
include/xmlrpc-c/abyss_winsock.h
include/xmlrpc-c/base.h
include/xmlrpc-c/base.hpp
+include/xmlrpc-c/base64.hpp
include/xmlrpc-c/c_util.h
include/xmlrpc-c/client.h
include/xmlrpc-c/client.hpp
@@ -39,69 +45,91 @@ include/xmlrpc_server.h
include/xmlrpc_server_w32httpsys.h
lib/libxmlrpc++.a
lib/libxmlrpc++.so
-lib/libxmlrpc++.so.7
-lib/libxmlrpc++.so.7.25
+lib/libxmlrpc++.so.8
+lib/libxmlrpc++.so.8.51
lib/libxmlrpc.a
lib/libxmlrpc.so
lib/libxmlrpc.so.3
-lib/libxmlrpc.so.3.25
+lib/libxmlrpc.so.3.51
+lib/libxmlrpc_abyss++.a
+lib/libxmlrpc_abyss++.so
+lib/libxmlrpc_abyss++.so.8
+lib/libxmlrpc_abyss++.so.8.51
lib/libxmlrpc_abyss.a
lib/libxmlrpc_abyss.so
lib/libxmlrpc_abyss.so.3
-lib/libxmlrpc_abyss.so.3.25
+lib/libxmlrpc_abyss.so.3.51
lib/libxmlrpc_client++.a
lib/libxmlrpc_client++.so
-lib/libxmlrpc_client++.so.7
-lib/libxmlrpc_client++.so.7.25
+lib/libxmlrpc_client++.so.8
+lib/libxmlrpc_client++.so.8.51
lib/libxmlrpc_client.a
lib/libxmlrpc_client.so
lib/libxmlrpc_client.so.3
-lib/libxmlrpc_client.so.3.25
+lib/libxmlrpc_client.so.3.51
lib/libxmlrpc_cpp.a
lib/libxmlrpc_cpp.so
-lib/libxmlrpc_cpp.so.7
-lib/libxmlrpc_cpp.so.7.25
+lib/libxmlrpc_cpp.so.8
+lib/libxmlrpc_cpp.so.8.51
lib/libxmlrpc_packetsocket.a
lib/libxmlrpc_packetsocket.so
-lib/libxmlrpc_packetsocket.so.7
-lib/libxmlrpc_packetsocket.so.7.25
+lib/libxmlrpc_packetsocket.so.8
+lib/libxmlrpc_packetsocket.so.8.51
lib/libxmlrpc_server++.a
lib/libxmlrpc_server++.so
-lib/libxmlrpc_server++.so.7
-lib/libxmlrpc_server++.so.7.25
+lib/libxmlrpc_server++.so.8
+lib/libxmlrpc_server++.so.8.51
lib/libxmlrpc_server.a
lib/libxmlrpc_server.so
lib/libxmlrpc_server.so.3
-lib/libxmlrpc_server.so.3.25
+lib/libxmlrpc_server.so.3.51
lib/libxmlrpc_server_abyss++.a
lib/libxmlrpc_server_abyss++.so
-lib/libxmlrpc_server_abyss++.so.7
-lib/libxmlrpc_server_abyss++.so.7.25
+lib/libxmlrpc_server_abyss++.so.8
+lib/libxmlrpc_server_abyss++.so.8.51
lib/libxmlrpc_server_abyss.a
lib/libxmlrpc_server_abyss.so
lib/libxmlrpc_server_abyss.so.3
-lib/libxmlrpc_server_abyss.so.3.25
+lib/libxmlrpc_server_abyss.so.3.51
lib/libxmlrpc_server_cgi++.a
lib/libxmlrpc_server_cgi++.so
-lib/libxmlrpc_server_cgi++.so.7
-lib/libxmlrpc_server_cgi++.so.7.25
+lib/libxmlrpc_server_cgi++.so.8
+lib/libxmlrpc_server_cgi++.so.8.51
lib/libxmlrpc_server_cgi.a
lib/libxmlrpc_server_cgi.so
lib/libxmlrpc_server_cgi.so.3
-lib/libxmlrpc_server_cgi.so.3.25
+lib/libxmlrpc_server_cgi.so.3.51
lib/libxmlrpc_server_pstream++.a
lib/libxmlrpc_server_pstream++.so
-lib/libxmlrpc_server_pstream++.so.7
-lib/libxmlrpc_server_pstream++.so.7.25
+lib/libxmlrpc_server_pstream++.so.8
+lib/libxmlrpc_server_pstream++.so.8.51
+lib/libxmlrpc_util++.a
+lib/libxmlrpc_util++.so
+lib/libxmlrpc_util++.so.8
+lib/libxmlrpc_util++.so.8.51
lib/libxmlrpc_util.a
lib/libxmlrpc_util.so
-lib/libxmlrpc_util.so.3
-lib/libxmlrpc_util.so.3.25
+lib/libxmlrpc_util.so.4
+lib/libxmlrpc_util.so.4.51
lib/libxmlrpc_xmlparse.a
lib/libxmlrpc_xmlparse.so
lib/libxmlrpc_xmlparse.so.3
-lib/libxmlrpc_xmlparse.so.3.25
+lib/libxmlrpc_xmlparse.so.3.51
lib/libxmlrpc_xmltok.a
lib/libxmlrpc_xmltok.so
lib/libxmlrpc_xmltok.so.3
-lib/libxmlrpc_xmltok.so.3.25
+lib/libxmlrpc_xmltok.so.3.51
+lib/pkgconfig/xmlrpc++.pc
+lib/pkgconfig/xmlrpc.pc
+lib/pkgconfig/xmlrpc_abyss++.pc
+lib/pkgconfig/xmlrpc_abyss.pc
+lib/pkgconfig/xmlrpc_client++.pc
+lib/pkgconfig/xmlrpc_client.pc
+lib/pkgconfig/xmlrpc_expat.pc
+lib/pkgconfig/xmlrpc_server++.pc
+lib/pkgconfig/xmlrpc_server.pc
+lib/pkgconfig/xmlrpc_server_abyss.pc
+lib/pkgconfig/xmlrpc_server_cgi.pc
+lib/pkgconfig/xmlrpc_server_pstream++.pc
+lib/pkgconfig/xmlrpc_util++.pc
+lib/pkgconfig/xmlrpc_util.pc
Index: pkgsrc/textproc/xmlrpc-c/distinfo
diff -u pkgsrc/textproc/xmlrpc-c/distinfo:1.33 pkgsrc/textproc/xmlrpc-c/distinfo:1.34
--- pkgsrc/textproc/xmlrpc-c/distinfo:1.33 Sat Oct 12 22:57:08 2019
+++ pkgsrc/textproc/xmlrpc-c/distinfo Sun Oct 13 21:48:57 2019
@@ -1,15 +1,14 @@
-$NetBSD: distinfo,v 1.33 2019/10/12 22:57:08 he Exp $
+$NetBSD: distinfo,v 1.34 2019/10/13 21:48:57 he Exp $
-SHA1 (xmlrpc-c-1.25.26.tgz) = 62b8b7b76b2937b2f3d51be045cbf17476302d39
-RMD160 (xmlrpc-c-1.25.26.tgz) = 86096117f8e26321c38539eff83cdf0f64055e47
-SHA512 (xmlrpc-c-1.25.26.tgz) = 664ecf5099a109f90130d8794c41d21cc8adfc3e990b63a658b04ccfd73278437c13c54f24336442ea1d8d9f38f248471474912b8647754a15e9eeb3a6ab5e96
-Size (xmlrpc-c-1.25.26.tgz) = 779351 bytes
-SHA1 (patch-GNUmakefile) = e4c6b18adaec74257ae174f64ac680aaf63d31a5
-SHA1 (patch-aa) = 96ca1b0f8550b04e7292d07b4204b5bed841a417
-SHA1 (patch-ae) = 52f826d292869be44886881c48aa7707a4af2df3
-SHA1 (patch-ai) = 8d7ddc541779129de1e03a3cee81505ffbfb4171
-SHA1 (patch-aj) = e65acd3d49be3486f70cda935a8b2aae3f8af3e8
-SHA1 (patch-ak) = 4525977b51a25f115c1266dccf0e2cc754dc80d3
-SHA1 (patch-config.mk.in) = e3eef60ab28b92d1e903ac84997617dfafe1689c
+SHA1 (xmlrpc-c-1.51.04.tgz) = 0c085e210d07b2e2d8ce877e24c370a7b3df2074
+RMD160 (xmlrpc-c-1.51.04.tgz) = c85a1ec7bdf5bb4a49b8d0445b7ab1a94b53bd66
+SHA512 (xmlrpc-c-1.51.04.tgz) = 93ba49606b651d69ba5cc85a62a96fad550e98fb38efcaf6aed316933d875921e0a0885261aa9f417311d35797e8d0a0e5a6281359d28026fc2ff5712563a274
+Size (xmlrpc-c-1.51.04.tgz) = 6656000 bytes
+SHA1 (patch-GNUmakefile) = eb669cc4d9290afe095dedb92faf3064929ecdda
+SHA1 (patch-common.mk) = c11a9a69b45d28d79b2baac681a6e3c077664683
+SHA1 (patch-config.mk.in) = 0456837827c71824aa39914086e466a494038dc8
SHA1 (patch-src_cpp_base64.cpp) = a51ad8cc8f41d724310eaaea86ebaaa8de610498
-SHA1 (patch-src_cpp_server_pstream.cpp) = 2a6b2f30ab5f9df1953f874ede41b91bd60a005a
+SHA1 (patch-src_cpp_server__pstream.cpp) = 0b28182c56bb326bf24ac031874521b1bb6d5ef5
+SHA1 (patch-tools_xml-rpc-api2cpp_Makefile) = 6b6b3f24a247856d61284cdbb4ecc21eb436d3a0
+SHA1 (patch-tools_xmlrpc_Makefile) = 92428282885a2b66ce89d629a0a7a9167715a334
+SHA1 (patch-tools_xmlrpc__transport_Makefile) = a5fd2fd98acceae4832d0dbfc9849f16401975e4
Index: pkgsrc/textproc/xmlrpc-c/patches/patch-GNUmakefile
diff -u pkgsrc/textproc/xmlrpc-c/patches/patch-GNUmakefile:1.2 pkgsrc/textproc/xmlrpc-c/patches/patch-GNUmakefile:1.3
--- pkgsrc/textproc/xmlrpc-c/patches/patch-GNUmakefile:1.2 Thu Sep 12 18:52:54 2013
+++ pkgsrc/textproc/xmlrpc-c/patches/patch-GNUmakefile Sun Oct 13 21:48:57 2019
@@ -1,9 +1,9 @@
-$NetBSD: patch-GNUmakefile,v 1.2 2013/09/12 18:52:54 adam Exp $
+$NetBSD: patch-GNUmakefile,v 1.3 2019/10/13 21:48:57 he Exp $
Make this build with symlinked pkgsrc directory.
Don't build examples: they are not installed, and give error with libc++.
---- GNUmakefile.orig 2011-03-25 16:27:18.000000000 +0000
+--- GNUmakefile.orig 2019-03-29 03:33:33.000000000 +0000
+++ GNUmakefile
@@ -1,6 +1,6 @@
include srcdir.mk
@@ -17,8 +17,8 @@ Don't build examples: they are not insta
include $(BLDDIR)/config.mk
--SUBDIRS = include lib src tools examples
-+SUBDIRS = include lib src tools
+-SUBDIRS = include lib src test examples
++SUBDIRS = include lib src test
- # The reason we don't build tools and examples by default is that they
- # contain executables, which require significantly more from the
+ ifeq ($(BUILD_TOOLS),yes)
+ SUBDIRS += tools
Index: pkgsrc/textproc/xmlrpc-c/patches/patch-config.mk.in
diff -u pkgsrc/textproc/xmlrpc-c/patches/patch-config.mk.in:1.4 pkgsrc/textproc/xmlrpc-c/patches/patch-config.mk.in:1.5
--- pkgsrc/textproc/xmlrpc-c/patches/patch-config.mk.in:1.4 Sun Dec 1 23:25:31 2013
+++ pkgsrc/textproc/xmlrpc-c/patches/patch-config.mk.in Sun Oct 13 21:48:58 2019
@@ -1,13 +1,13 @@
-$NetBSD: patch-config.mk.in,v 1.4 2013/12/01 23:25:31 bsiegert Exp $
+$NetBSD: patch-config.mk.in,v 1.5 2019/10/13 21:48:58 he Exp $
Do not use -Bdynamic -G when using GCC on Solaris, it creates non-PIC
libraries.
Support for shared libraries on OpenBSD and MirBSD.
---- config.mk.in.orig Fri Mar 29 06:38:11 2013
+--- config.mk.in.orig 2019-10-13 08:16:50.256467031 +0000
+++ config.mk.in
-@@ -193,10 +193,15 @@ ifeq ($(patsubst solaris%,solaris,$(HOST
+@@ -194,10 +194,15 @@ ifeq ($(patsubst solaris%,solaris,$(HOST
# linker, it's even more complicated: we need an rpath option of the
# form -Wl,-R .
@@ -27,10 +27,11 @@ Support for shared libraries on OpenBSD
NEED_RPATH=yes
endif
-@@ -231,6 +236,30 @@ ifeq ($(patsubst osf%,osf,$(HOST_OS)),os
+@@ -256,6 +261,30 @@ ifeq ($(patsubst netbsd%,netbsd,$(HOST_O
+ NEED_WL_RPATH=yes
endif
- ifeq ($(patsubst netbsd%,netbsd,$(HOST_OS)),netbsd)
++ifeq ($(patsubst openbsd%,openbsd,$(HOST_OS)),openbsd)
+ SHARED_LIB_TYPE = unix
+ SHLIB_SUFFIX = so
+ MUST_BUILD_SHLIB = Y
@@ -42,7 +43,7 @@ Support for shared libraries on OpenBSD
+ NEED_WL_RPATH=yes
+endif
+
-+ifeq ($(patsubst openbsd%,openbsd,$(HOST_OS)),openbsd)
++ifeq ($(patsubst mirbsd%,mirbsd,$(HOST_OS)),mirbsd)
+ SHARED_LIB_TYPE = unix
+ SHLIB_SUFFIX = so
+ MUST_BUILD_SHLIB = Y
@@ -54,7 +55,6 @@ Support for shared libraries on OpenBSD
+ NEED_WL_RPATH=yes
+endif
+
-+ifeq ($(patsubst mirbsd%,mirbsd,$(HOST_OS)),mirbsd)
+ ifeq ($(patsubst freebsd%,freebsd,$(HOST_OS)),freebsd)
SHARED_LIB_TYPE = unix
SHLIB_SUFFIX = so
- MUST_BUILD_SHLIB = Y
Added files:
Index: pkgsrc/textproc/xmlrpc-c/patches/patch-common.mk
diff -u /dev/null pkgsrc/textproc/xmlrpc-c/patches/patch-common.mk:1.1
--- /dev/null Sun Oct 13 21:48:58 2019
+++ pkgsrc/textproc/xmlrpc-c/patches/patch-common.mk Sun Oct 13 21:48:58 2019
@@ -0,0 +1,36 @@
+$NetBSD: patch-common.mk,v 1.1 2019/10/13 21:48:58 he Exp $
+
+Add to CFLAGS_COMMON and CXXFLAGS_COMMON, omit debug and optimize flags.
+Use libtool to install.
+
+--- common.mk.orig 2019-09-25 23:16:12.000000000 +0000
++++ common.mk
+@@ -48,15 +48,15 @@ GCC_CXX_WARNINGS = $(GCC_WARNINGS) -Wsy
+ # assertion and crash the program if it isn't really true. You can add
+ # -UNDEBUG (in any of various ways) to override this.
+ #
+-CFLAGS_COMMON = -DNDEBUG $(CFLAGS_PTHREAD)
+-CXXFLAGS_COMMON = -DNDEBUG $(CFLAGS_PTHREAD)
++CFLAGS_COMMON += -DNDEBUG $(CFLAGS_PTHREAD)
++CXXFLAGS_COMMON += -DNDEBUG $(CFLAGS_PTHREAD)
+
+ ifeq ($(C_COMPILER_GNU),yes)
+- CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common -g -O3
++ CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common
+ endif
+
+ ifeq ($(CXX_COMPILER_GNU),yes)
+- CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -g
++ CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS)
+ endif
+
+ # -qrtti tell the IBM compilers to allow dynamic type casting. Without it,
+@@ -629,7 +629,7 @@ install-headers: $(HEADERS_TO_INSTALL)
+ $(INSTALL_HDR_CMD); \
+ done
+
+-INSTALL_PROGRAM_CMD = $(INSTALL_PROGRAM) $$p $(PROGRAMDESTDIR)/$$p
++INSTALL_PROGRAM_CMD = libtool --mode=install $(INSTALL_PROGRAM) $$p $(PROGRAMDESTDIR)/$$p
+
+ install-bin: $(PROGRAMS_TO_INSTALL) $(DESTDIR)$(PROGRAMINST_DIR)
+ @list='$(PROGRAMS_TO_INSTALL)'; \
Index: pkgsrc/textproc/xmlrpc-c/patches/patch-src_cpp_server__pstream.cpp
diff -u /dev/null pkgsrc/textproc/xmlrpc-c/patches/patch-src_cpp_server__pstream.cpp:1.1
--- /dev/null Sun Oct 13 21:48:58 2019
+++ pkgsrc/textproc/xmlrpc-c/patches/patch-src_cpp_server__pstream.cpp Sun Oct 13 21:48:58 2019
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_cpp_server__pstream.cpp,v 1.1 2019/10/13 21:48:58 he Exp $
+
+Socket functions need sys/types.h on MirBSD.
+
+--- src/cpp/server_pstream.cpp.orig 2014-12-28 18:55:09.000000000 +0000
++++ src/cpp/server_pstream.cpp
+@@ -22,6 +22,7 @@
+ #include <winsock2.h>
+ typedef int socklen_t;
+ #else
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #endif
+ #include <errno.h>
Index: pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xml-rpc-api2cpp_Makefile
diff -u /dev/null pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xml-rpc-api2cpp_Makefile:1.1
--- /dev/null Sun Oct 13 21:48:58 2019
+++ pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xml-rpc-api2cpp_Makefile Sun Oct 13 21:48:58 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-tools_xml-rpc-api2cpp_Makefile,v 1.1 2019/10/13 21:48:58 he Exp $
+
+Use libtool when linking.
+
+--- tools/xml-rpc-api2cpp/Makefile.orig 2019-03-29 03:33:33.000000000 +0000
++++ tools/xml-rpc-api2cpp/Makefile
+@@ -44,7 +44,7 @@ xml-rpc-api2cpp: \
+ $(LIBXMLRPC) \
+ $(LIBXMLRPC_XML) \
+ $(LIBXMLRPC_UTIL)
+- $(CXXLD) -o $@ $(LDFLAGS_ALL) $(OBJECTS) $(LDLIBS)
++ libtool --mode=link $(CXXLD) -o $@ $(LDFLAGS_ALL) $(OBJECTS) $(LDLIBS)
+
+ %.o:%.cpp
+ $(CXX) -c $(CXXFLAGS_ALL) $<
Index: pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xmlrpc_Makefile
diff -u /dev/null pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xmlrpc_Makefile:1.1
--- /dev/null Sun Oct 13 21:48:58 2019
+++ pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xmlrpc_Makefile Sun Oct 13 21:48:58 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-tools_xmlrpc_Makefile,v 1.1 2019/10/13 21:48:58 he Exp $
+
+Use libtool when linking.
+
+--- tools/xmlrpc/Makefile.orig 2019-03-29 03:33:33.000000000 +0000
++++ tools/xmlrpc/Makefile
+@@ -39,7 +39,7 @@ XMLRPC_OBJS = xmlrpc.o $(DUMPVALUE)
+ CLIENT_LDLIBS += $(SOCKETLIBOPT) $(THREAD_LIBS)
+
+ xmlrpc: $(XMLRPC_OBJS) $(CLIENT_LIBS_DEP) $(UTILS)
+- $(CCLD) -o $@ $(LDFLAGS_ALL) $(XMLRPC_OBJS) $(UTILS) $(CLIENT_LDLIBS)
++ libtool --mode=link $(CCLD) -o $@ $(LDFLAGS_ALL) $(XMLRPC_OBJS) $(UTILS) $(CLIENT_LDLIBS)
+
+ %.o:%.c $(BLDDIR)/include/xmlrpc-c/config.h
+ $(CC) -c $(CFLAGS_ALL) $<
Index: pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xmlrpc__transport_Makefile
diff -u /dev/null pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xmlrpc__transport_Makefile:1.1
--- /dev/null Sun Oct 13 21:48:58 2019
+++ pkgsrc/textproc/xmlrpc-c/patches/patch-tools_xmlrpc__transport_Makefile Sun Oct 13 21:48:58 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-tools_xmlrpc__transport_Makefile,v 1.1 2019/10/13 21:48:58 he Exp $
+
+Use libtool when linking.
+
+--- tools/xmlrpc_transport/Makefile.orig 2019-03-29 03:33:33.000000000 +0000
++++ tools/xmlrpc_transport/Makefile
+@@ -34,7 +34,7 @@ UTIL_OBJS = \
+ UTILS = $(UTIL_OBJS:%=$(UTIL_DIR)/%)
+
+ xmlrpc_transport:%:%.o $(CLIENT_LIBS_DEP) $(UTILS)
+- $(CCLD) -o $@ $(LDFLAGS_ALL) $< $(CLIENT_LDLIBS) $(UTILS)
++ libtool --mode=link $(CCLD) -o $@ $(LDFLAGS_ALL) $< $(CLIENT_LDLIBS) $(UTILS)
+
+ %.o:%.c
+ $(CC) -c $(CFLAGS_ALL) $<
Home |
Main Index |
Thread Index |
Old Index