From owner-freebsd-ports@FreeBSD.ORG Sat Sep 22 11:46:50 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3B1A16A418 for ; Sat, 22 Sep 2007 11:46:49 +0000 (UTC) (envelope-from a.heider@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 2939D13C4B0 for ; Sat, 22 Sep 2007 11:46:48 +0000 (UTC) (envelope-from a.heider@gmail.com) Received: by ug-out-1314.google.com with SMTP id a2so753932ugf for ; Sat, 22 Sep 2007 04:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type; bh=+fbi4firT/qVLfOwHQtwYAscdQk267xGBoc9Yruzvlg=; b=L52H3rBp0+QJa5s+yFQzq/8gxU48f9aXfGZ1OJUHVbxhpkWQ6vUbAhFDzRIMwWzAWxdkx2wCV+JbW/nz9ZmAFXMRzmWcPBUBkTovrALckBk7tlZzX5xKFb0mszuRHQnKgsavEVexDmZgkwC24k8jgTGcSWAJ0T420a7TbBX82pU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type; b=kGPvQ8fU+Jg2K64bBqe+5rDABVIo7Axuz/aMxrWdZzNeGGVdOXZt8PTcxOg91IirY6g5uC62O9h24gaL1mwDoWazkHuanhzZc2CjFMAtieQ79w8ZoOtGlw0i0R710zDWC1E/1H6kTZFZKDt8VrG8e/XDc9x+HDXUgwdJXhcVcX8= Received: by 10.66.216.8 with SMTP id o8mr3517910ugg.1190460143014; Sat, 22 Sep 2007 04:22:23 -0700 (PDT) Received: from ?192.168.0.40? ( [82.83.252.17]) by mx.google.com with ESMTPS id z40sm1544655ugc.2007.09.22.04.22.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 22 Sep 2007 04:22:22 -0700 (PDT) Message-ID: <46F4FAEF.7090709@gmail.com> Date: Sat, 22 Sep 2007 13:22:23 +0200 From: Andre Heider User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Simon Barner References: <499c70c0708151506w319c7b49sb0b814ba3221ae13@mail.gmail.com> <20070816113252.GA77089@dose.local.invalid> <499c70c0708160441p1adf5d66paa35e7f71e264363@mail.gmail.com> <20070816130149.GA89725@dose.local.invalid> In-Reply-To: <20070816130149.GA89725@dose.local.invalid> Content-Type: multipart/mixed; boundary="------------020108030505010908030804" Cc: ports@freebsd.org, Abdullah Ibn Hamad Al-Marri Subject: Re: FreeBSD Port: net/xmlrpc-c update please? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2007 11:46:50 -0000 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--