Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2007 13:22:23 +0200
From:      Andre Heider <a.heider@gmail.com>
To:        Simon Barner <barner@FreeBSD.org>
Cc:        ports@freebsd.org, Abdullah Ibn Hamad Al-Marri <almarrie@gmail.com>
Subject:   Re: FreeBSD Port: net/xmlrpc-c update please?
Message-ID:  <46F4FAEF.7090709@gmail.com>
In-Reply-To: <20070816130149.GA89725@dose.local.invalid>
References:  <499c70c0708151506w319c7b49sb0b814ba3221ae13@mail.gmail.com>	<20070816113252.GA77089@dose.local.invalid>	<499c70c0708160441p1adf5d66paa35e7f71e264363@mail.gmail.com> <20070816130149.GA89725@dose.local.invalid>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020108030505010908030804
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

hi there,

i wanted to try the new version too, so i followed your steps. attached 
you'll find a diff for the port. i did not submit via send-pr because 
i've never done a port myself and i think it's in a bad shape:

- did not check redundant or additinal dependencies
- missing man pages in the pkg
- never fiddled with automake tools, and the vanilla tgz did not build 
on fbsd 6.2. it failed with the default patch-autotools target. it would 
only build with the ./ltmain.sh (sed $basename issue). i would guess 
that this is not a recommended and even problematic way (eg. `cc` 
instead of `gcc`, some `expr` errors)
- removed all patches in files/

it works for me, and i can build rtorrent with --with-xmlrpc-c.
rtorrent itself successfully registered its functions and `xmlrpc 
localhost system.listMethods` works fine.

maybe someone finds it useful.

regards,
andre

Simon Barner wrote:
> Abdullah Ibn Hamad Al-Marri wrote:
>> I hope you are doing well today.
> 
> Yes, I am, thanks. Maybe my first message sounded a bit harsh (apologies
> if it did). All I wanted to do is to encourage you to try and update the
> port on your own.
> 
>> I wish I'm a coder to be able to do it, and enhance FreeBSD ports :)
> 
> Ok.
> 
> Quick start guide:
> 
> 1.) Create a copy of the original port directory
> 2.) In Makefile, set PORTVERSION to the latest version, remove
>     PORTREVISION
> 3.) run make makesum to update distinfo
> 4.) Try to build the port
> 5.) Check it's plist (list of installed files):
>     make package PREFIX=/tmp/pref (must not complain about missing files)
>     pkg_delete the_pkg
>     find /tmp/pref -type f (must not report any remaining files)
>     check /tmp/pref for new directories (not likely when you update a port)
> 6.) diff -ruN portdir.orig port > the.patch
> 7.) run portlint -A on your port and try to fix the warnings it emits (you
>     can ignore warnings the apply to new ports only).
> 8.) Submit the.patch via send-pr
> 
> If you are lucky, step 4.) goes well immediately, and you need no
> programming experience at all to update the port.
> 
> Again, if you have questions, refer to the material from my first email,
> or ask this mailing list.
> 
> Certainly, your first port update will take some time, but after all,
> it's fun to do it, isn't it? ;-)
> 


--------------020108030505010908030804
Content-Type: text/plain;
 name="xmlrpc-c.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="xmlrpc-c.diff"

diff -ur /usr/ports/net/xmlrpc-c/Makefile xmlrpc-c/Makefile
--- /usr/ports/net/xmlrpc-c/Makefile	Sat Mar  3 20:44:24 2007
+++ xmlrpc-c/Makefile	Sat Sep 22 12:39:20 2007
@@ -7,28 +7,27 @@
 #
 
 PORTNAME=	xmlrpc-c
-PORTVERSION=	0.9.10
-PORTREVISION=	2
+PORTVERSION=	1.06.18
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
+EXTRACT_SUFX=   .tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	XML-RPC library for C and C++
 
 LIB_DEPENDS=	wwwcore.1:${PORTSDIR}/www/libwww
-RUN_DEPENDS=	${SITE_PERL}/Frontier/Client.pm:${PORTSDIR}/net/p5-Frontier-RPC
 
 USE_AUTOTOOLS=	libtool:15
 USE_GMAKE=	yes
+MAKEFILE=       GNUmakefile
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
 CONFLICTS=	xmlrpc-epi-0.*
 
-MAN1=	meerkat-app-list.1 xml-rpc-api2cpp.1 xmlrpc-c-config.1 \
-	query-meerkat.1 xml-rpc-api2txt.1
-MAN7=	xmlrpc-c.7
+patch-autotools:
+	@${DO_NADA}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
diff -ur /usr/ports/net/xmlrpc-c/distinfo xmlrpc-c/distinfo
--- /usr/ports/net/xmlrpc-c/distinfo	Sat Nov 26 14:41:55 2005
+++ xmlrpc-c/distinfo	Sat Sep 22 10:32:05 2007
@@ -1,3 +1,3 @@
-MD5 (xmlrpc-c-0.9.10.tar.gz) = 847410fae881f0fb641a186db6c8c015
-SHA256 (xmlrpc-c-0.9.10.tar.gz) = fbe8c4899325edbc005807d7e6e06c8709299d7324a00a87fc8cf3d44752622b
-SIZE (xmlrpc-c-0.9.10.tar.gz) = 436181
+MD5 (xmlrpc-c-1.06.18.tgz) = dddd711a2905c03afa1fc7fd6860e445
+SHA256 (xmlrpc-c-1.06.18.tgz) = e89609055b3d858222130c7531c52767b2d4d6c7083317490dcc994c86a2ec67
+SIZE (xmlrpc-c-1.06.18.tgz) = 690590
Only in /usr/ports/net/xmlrpc-c/files: patch-examples::interop-client::InteropEchoProxy.cc
Only in /usr/ports/net/xmlrpc-c/files: patch-examples::interop-client::InteropEchoProxy.h
Only in /usr/ports/net/xmlrpc-c/files: patch-examples::interop-client::interop-client.cc
Only in /usr/ports/net/xmlrpc-c/files: patch-examples::meerkat-app-list.cc
Only in /usr/ports/net/xmlrpc-c/files: patch-lib::abyss::src::data.c
Only in /usr/ports/net/xmlrpc-c/files: patch-src::XmlRpcCpp.cc
Only in /usr/ports/net/xmlrpc-c/files: patch-src::XmlRpcCpp.h
Only in /usr/ports/net/xmlrpc-c/files: patch-src::cpptest.cc
Only in /usr/ports/net/xmlrpc-c/files: patch-src::validatee.c
Only in /usr/ports/net/xmlrpc-c/files: patch-src::xmlrpc.h
Only in /usr/ports/net/xmlrpc-c/files: patch-src::xmlrpc_abyss.c
Only in /usr/ports/net/xmlrpc-c/files: patch-src::xmlrpc_data.c
Only in /usr/ports/net/xmlrpc-c/files: patch-src::xmlrpc_support.c
Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::DataType.cc
Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::DataType.h
Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::SystemProxy.cc
Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::SystemProxy.h
Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::XmlRpcClass.cc
Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::XmlRpcClass.h
Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::XmlRpcFucntion.cc
Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::XmlRpcFucntion.h
Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::xml-rpc-api2cpp
diff -ur /usr/ports/net/xmlrpc-c/pkg-plist xmlrpc-c/pkg-plist
--- /usr/ports/net/xmlrpc-c/pkg-plist	Sun Feb 26 23:45:52 2006
+++ xmlrpc-c/pkg-plist	Sat Sep 22 12:33:31 2007
@@ -1,39 +1,74 @@
-bin/meerkat-app-list
-bin/query-meerkat
-bin/xml-rpc-api2cpp
-bin/xml-rpc-api2txt
+bin/xmlrpc
 bin/xmlrpc-c-config
+bin/xmlrpc_transport
 include/XmlRpcCpp.h
 include/xmlrpc.h
-include/xmlrpc_abyss.h
 include/xmlrpc_cgi.h
 include/xmlrpc_client.h
-lib/libxmlrpc.a
-lib/libxmlrpc.la
+include/xmlrpc_server.h
+include/xmlrpc_server_abyss.h
+include/xmlrpc_server_w32httpsys.h
+include/xmlrpc-c/config.h
+include/xmlrpc-c/util.h
+include/xmlrpc-c/base.h
+include/xmlrpc-c/abyss.h
+include/xmlrpc-c/server.h
+include/xmlrpc-c/server_abyss.h
+include/xmlrpc-c/server_w32httpsys.h
+include/xmlrpc-c/oldxmlrpc.h
+include/xmlrpc-c/oldcppwrapper.hpp
+include/xmlrpc-c/girerr.hpp
+include/xmlrpc-c/girmem.hpp
+include/xmlrpc-c/base.hpp
+include/xmlrpc-c/timeout.hpp
+include/xmlrpc-c/xml.hpp
+include/xmlrpc-c/registry.hpp
+include/xmlrpc-c/server_abyss.hpp
+include/xmlrpc-c/client.h
+include/xmlrpc-c/transport.h
+include/xmlrpc-c/client_global.h
+include/xmlrpc-c/client.hpp
+include/xmlrpc-c/client_transport.hpp
+include/xmlrpc-c/client_simple.hpp
+include/xmlrpc-c/server_cgi.h
 lib/libxmlrpc.so
-lib/libxmlrpc.so.7
-lib/libxmlrpc_abyss.a
-lib/libxmlrpc_abyss.la
+lib/libxmlrpc_util.so.9
+lib/libxmlrpc_util.so
+lib/libxmlrpc_util.la
+lib/libxmlrpc_util.a
+lib/libxmlrpc_abyss.so.9
 lib/libxmlrpc_abyss.so
-lib/libxmlrpc_abyss.so.7
-lib/libxmlrpc_abyss_server.a
-lib/libxmlrpc_abyss_server.la
-lib/libxmlrpc_abyss_server.so
-lib/libxmlrpc_abyss_server.so.7
-lib/libxmlrpc_cgi.a
-lib/libxmlrpc_cgi.la
-lib/libxmlrpc_cgi.so
-lib/libxmlrpc_cgi.so.7
-lib/libxmlrpc_client.a
-lib/libxmlrpc_client.la
-lib/libxmlrpc_client.so
-lib/libxmlrpc_client.so.7
-lib/libxmlrpc_cpp.a
-lib/libxmlrpc_xmlparse.a
-lib/libxmlrpc_xmlparse.la
+lib/libxmlrpc_abyss.la
+lib/libxmlrpc_abyss.a
+lib/libxmlrpc_xmlparse.so.9
 lib/libxmlrpc_xmlparse.so
-lib/libxmlrpc_xmlparse.so.7
-lib/libxmlrpc_xmltok.a
-lib/libxmlrpc_xmltok.la
+lib/libxmlrpc_xmlparse.la
+lib/libxmlrpc_xmlparse.a
+lib/libxmlrpc_xmltok.so.9
 lib/libxmlrpc_xmltok.so
-lib/libxmlrpc_xmltok.so.7
+lib/libxmlrpc_xmltok.la
+lib/libxmlrpc_xmltok.a
+lib/libxmlrpc.so.9
+lib/libxmlrpc.la
+lib/libxmlrpc.a
+lib/libxmlrpc_server.so.9
+lib/libxmlrpc_server.so
+lib/libxmlrpc_server.la
+lib/libxmlrpc_server.a
+lib/libxmlrpc_server_abyss.so.9
+lib/libxmlrpc_server_abyss.so
+lib/libxmlrpc_server_abyss.la
+lib/libxmlrpc_server_abyss.a
+lib/libxmlrpc_client.so.9
+lib/libxmlrpc_client.so
+lib/libxmlrpc_client.la
+lib/libxmlrpc_client.a
+lib/libxmlrpc_server_cgi.so.9
+lib/libxmlrpc_server_cgi.so
+lib/libxmlrpc_server_cgi.la
+lib/libxmlrpc_server_cgi.a
+lib/libxmlrpc_cpp.a
+lib/libxmlrpc++.a
+lib/libxmlrpc_server++.a
+lib/libxmlrpc_server_abyss++.a
+lib/libxmlrpc_client++.a

--------------020108030505010908030804--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46F4FAEF.7090709>