From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 12 14:20:16 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B21716A4CE for ; Fri, 12 Nov 2004 14:20:16 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31CA643D39 for ; Fri, 12 Nov 2004 14:20:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iACEKGcS075743 for ; Fri, 12 Nov 2004 14:20:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iACEKGVS075740; Fri, 12 Nov 2004 14:20:16 GMT (envelope-from gnats) Resent-Date: Fri, 12 Nov 2004 14:20:16 GMT Resent-Message-Id: <200411121420.iACEKGVS075740@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "J.R. Oldroyd" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B1D016A4CE for ; Fri, 12 Nov 2004 14:11:24 +0000 (GMT) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEAB243D1D for ; Fri, 12 Nov 2004 14:11:22 +0000 (GMT) (envelope-from jr@opal.com) Received: from linwhf.opal.com (126.79.171.66.subscriber.vzavenue.net [66.171.79.126]) by smtp.vzavenue.net (MOS 3.4.3-CR) with ESMTP id BJU18946; Fri, 12 Nov 2004 09:09:02 -0500 (EST) Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.1/8.13.1) with ESMTP id iACE92GK058118 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Fri, 12 Nov 2004 09:09:02 -0500 (EST) (envelope-from jr@linwhf.opal.com) Received: (from jr@localhost) by linwhf.opal.com (8.13.1/8.13.1/Submit) id iACE9233058117; Fri, 12 Nov 2004 09:09:02 -0500 (EST) (envelope-from jr) Message-Id: <200411121409.iACE9233058117@linwhf.opal.com> Date: Fri, 12 Nov 2004 09:09:02 -0500 (EST) From: "J.R. Oldroyd" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/73869: Update port: astro/boinc-setiathome update to 4.07 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "J.R. Oldroyd" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 14:20:16 -0000 >Number: 73869 >Category: ports >Synopsis: Update port: astro/boinc-setiathome update to 4.07 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 12 14:20:15 GMT 2004 >Closed-Date: >Last-Modified: >Originator: J.R. Oldroyd >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD linwhf.opal.com 6.0-CURRENT FreeBSD 6.0-CURRENT #67: Fri Oct 8 14:11:54 EDT 2004 jr@linwhf.opal.com:/usr/src-current/sys/i386/compile/LINWHF i386 >Description: Update of port to version 4.07 from Berkeley. Port files deleted: files/patch-db::db_table.h files/patch-db::schema_to_class.awk files/patch-db::sqlblob.h files/patch-db::xml_util.h all deleted because those changes have now been incorporated into the distributed source. New version includes other changes also, as documented on the Seti website. >How-To-Repeat: >Fix: diff -ruN boinc-setiathome-4.03/Makefile boinc-setiathome/Makefile --- boinc-setiathome-4.03/Makefile Sun Oct 17 18:47:46 2004 +++ boinc-setiathome/Makefile Tue Nov 9 14:12:05 2004 @@ -6,10 +6,10 @@ # PORTNAME= boinc-setiathome -PORTVERSION= 4.03 +PORTVERSION= 4.07 CATEGORIES= astro MASTER_SITES= http://boinc.berkeley.edu/seti_source/nightly/ -DISTNAME= seti_boinc-client-cvs-2004-10-01 +DISTNAME= seti_boinc-client-cvs-2004-11-09 MAINTAINER= fbsd@opal.com COMMENT= Setiathome for boinc diff -ruN boinc-setiathome-4.03/distinfo boinc-setiathome/distinfo --- boinc-setiathome-4.03/distinfo Fri Oct 1 11:53:51 2004 +++ boinc-setiathome/distinfo Tue Nov 9 14:11:44 2004 @@ -1,2 +1,2 @@ -MD5 (seti_boinc-client-cvs-2004-10-01.tar.gz) = 9e4f91cf0bb468da09350da54b98aa7b -SIZE (seti_boinc-client-cvs-2004-10-01.tar.gz) = 1202532 +MD5 (seti_boinc-client-cvs-2004-11-09.tar.gz) = 4120f1701484b78e099c51adfe31653b +SIZE (seti_boinc-client-cvs-2004-10-01.tar.gz) = 1214124 diff -ruN boinc-setiathome-4.03/files/app_info.xml boinc-setiathome/files/app_info.xml --- boinc-setiathome-4.03/files/app_info.xml Sun Oct 10 19:18:25 2004 +++ boinc-setiathome/files/app_info.xml Tue Nov 9 14:18:59 2004 @@ -7,7 +7,7 @@ setiathome - 403 + 407 %%SETI_BINARY%% diff -ruN boinc-setiathome-4.03/files/patch-db::db_table.h boinc-setiathome/files/patch-db::db_table.h --- boinc-setiathome-4.03/files/patch-db::db_table.h Sat Oct 2 15:41:54 2004 +++ boinc-setiathome/files/patch-db::db_table.h Wed Dec 31 19:00:00 1969 @@ -1,119 +0,0 @@ ---- ../db/db_table.h.orig Mon Apr 5 16:03:33 2004 -+++ ../db/db_table.h Sun Oct 3 15:41:31 2004 -@@ -53,6 +53,52 @@ - }; - - template -+class db_table; -+ -+template -+std::ostream &operator <<(std::ostream &o, const db_type &a) { -+ o << a.print_xml(); -+ return o; -+} -+ -+template -+std::ostream &operator <<(std::ostream &o, const db_table &a) { -+ o << a.me->print_xml(); -+ return o; -+} -+ -+template -+std::istream &operator >>(std::istream &i, db_table &a) { -+ std::string s; -+ std::string s_tag("<"); -+ std::string e_tag("> s; -+ if (xml_match_tag(s,s_tag.c_str())) { -+ found=true; -+ } -+ if (found) buffer+=(s+' '); -+ if (xml_match_tag(s,e_tag.c_str())) { -+ found=false; -+ done=true; -+ } -+ } -+ a.me->parse_xml(buffer); -+ std::string::size_type p=buffer.find(e_tag); -+ if (p != std::string::npos) { -+ p=buffer.find('>',p+1); -+ if (p != std::string::npos) { -+ i.seekg(p-buffer.size(),std::ios::cur); -+ } -+ } -+ return i; -+} -+ -+template - class db_table { - public: - db_table(T &t, SQL_CURSOR c); -@@ -332,12 +378,6 @@ - - #endif - --template --std::ostream &operator <<(std::ostream &o, const db_type &a) { -- o << a.print_xml(); -- return o; --} -- - template - std::ostream &operator <<(std::ostream &o, const db_reference &a) { - o << a.print_xml(); -@@ -345,12 +385,6 @@ - } - - template --std::ostream &operator <<(std::ostream &o, const db_table &a) { -- o << a.me->print_xml(); -- return o; --} -- --template - const char *db_type::search_tag(const char *s) { - if (s) { - _search_tag=s; -@@ -368,37 +402,6 @@ - _search_tag=table_name; - } - return _search_tag; --} -- --template --std::istream &operator >>(std::istream &i, db_table &a) { -- std::string s; -- std::string s_tag("<"); -- std::string e_tag("> s; -- if (xml_match_tag(s,s_tag.c_str())) { -- found=true; -- } -- if (found) buffer+=(s+' '); -- if (xml_match_tag(s,e_tag.c_str())) { -- found=false; -- done=true; -- } -- } -- a.me->parse_xml(buffer); -- std::string::size_type p=buffer.find(e_tag); -- if (p != std::string::npos) { -- p=buffer.find('>',p+1); -- if (p != std::string::npos) { -- i.seekg(p-buffer.size(),std::ios::cur); -- } -- } -- return i; - } - - template diff -ruN boinc-setiathome-4.03/files/patch-db::schema_to_class.awk boinc-setiathome/files/patch-db::schema_to_class.awk --- boinc-setiathome-4.03/files/patch-db::schema_to_class.awk Sun Oct 3 23:00:48 2004 +++ boinc-setiathome/files/patch-db::schema_to_class.awk Wed Dec 31 19:00:00 1969 @@ -1,35 +0,0 @@ ---- ../db/schema_to_class.awk.orig Thu Sep 30 21:58:31 2004 -+++ ../db/schema_to_class.awk Sun Oct 3 21:45:08 2004 -@@ -344,15 +344,15 @@ - print "\tvoid parse_xml(const std::string &s,const char *tag=\""table"\");" >headerfile - print " private:\n};\n\n" >headerfile - if (is_typedef) { -- print "const char * const db_type<"table">::type_name=\""table"\";" >sourcefile -- print "const char * db_type<"table">::_search_tag=type_name;" >sourcefile -- print "const int db_type<"table">::_nfields="nfields-1";" >sourcefile -- printf("const char * const db_type<%s>::column_names[%d]={",table,nfields-1) >sourcefile -+ print "template <> const char * const db_type<"table">::type_name=\""table"\";" >sourcefile -+ print "template <> const char * db_type<"table">::_search_tag=type_name;" >sourcefile -+ print "template <> const int db_type<"table">::_nfields="nfields-1";" >sourcefile -+ printf("template <> const char * const db_type<%s>::column_names[%d]={",table,nfields-1) >sourcefile - } else { -- print "const char * const db_table<"table">::table_name=\""table"\";" >sourcefile -- print "const char * db_table<"table">::_search_tag=table_name;" >sourcefile -- print "const int db_table<"table">::_nfields="nfields-1";" >sourcefile -- printf("const char * const db_table<%s>::column_names[%d]={",table,nfields-1) >sourcefile -+ print "template <> const char * const db_table<"table">::table_name=\""table"\";" >sourcefile -+ print "template <> const char * db_table<"table">::_search_tag=table_name;" >sourcefile -+ print "template <> const int db_table<"table">::_nfields="nfields-1";" >sourcefile -+ printf("template <> const char * const db_table<%s>::column_names[%d]={",table,nfields-1) >sourcefile - } - for (i=1;isourcefile - print "};\n" >sourcefile -@@ -618,7 +618,7 @@ - if (sis_deftype) print "\trv << xml_indent(-2);" > sourcefile - print "\trv << \"\\n\"; " >sourcefile - } else if (type[i]=="s") { -- print "\t{\n\t std::string enc_field=xml_encode_string("fields[i]",std::min(strlen("fields[i]"),sizeof("fields[i]")));" > sourcefile -+ print "\t{\n\t std::string enc_field=xml_encode_string("fields[i]",std::min(strlen("fields[i]"),sizeof("fields[i]")));" > sourcefile - print "\t rv << xml_indent() << \"<"fields[i]">\";" > sourcefile - print "\t rv << enc_field << \"\\n\";" >sourcefile - print "\t}" >> sourcefile diff -ruN boinc-setiathome-4.03/files/patch-db::sqlblob.h boinc-setiathome/files/patch-db::sqlblob.h --- boinc-setiathome-4.03/files/patch-db::sqlblob.h Sun Oct 3 17:17:58 2004 +++ boinc-setiathome/files/patch-db::sqlblob.h Wed Dec 31 19:00:00 1969 @@ -1,28 +0,0 @@ ---- ../db/sqlblob.h.orig Thu Jul 1 13:55:37 2004 -+++ ../db/sqlblob.h Sun Oct 3 17:01:17 2004 -@@ -73,6 +73,12 @@ - } - - -+template -+inline std::string xml_encode_string(const sqlblob &input, -+ xml_encoding encoding=_x_xml_entity) { -+ return xml_encode_string(static_cast(input),input.size(),encoding); -+} -+ - - template - class sqlblob { -@@ -123,12 +129,6 @@ - template - std::string sqlblob::print_raw() const { - return std::string(reinterpret_cast(&(*begin())),size()); --} -- --template --inline std::string xml_encode_string(const sqlblob &input, -- xml_encoding encoding=_x_xml_entity) { -- return xml_encode_string(static_cast(input),input.size(),encoding); - } - - diff -ruN boinc-setiathome-4.03/files/patch-db::xml_util.h boinc-setiathome/files/patch-db::xml_util.h --- boinc-setiathome-4.03/files/patch-db::xml_util.h Sun Oct 3 21:16:41 2004 +++ boinc-setiathome/files/patch-db::xml_util.h Wed Dec 31 19:00:00 1969 @@ -1,11 +0,0 @@ ---- ../db/xml_util.h.orig Wed Jun 30 16:52:29 2004 -+++ ../db/xml_util.h Sun Oct 3 21:16:22 2004 -@@ -223,7 +223,7 @@ - template - inline std::string xml_encode_string(const std::vector &input, - xml_encoding encoding=_x_xml_entity) { -- return xml_encode_string(&(*(input.begin())),input.size(),encoding); -+ return xml_encode_string(&(*(input.begin())),input.size(),encoding); - } - - #include >Release-Note: >Audit-Trail: >Unformatted: