From vd@datamax.bg  Wed Jan 24 11:47:32 2007
Return-Path: <vd@datamax.bg>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id EE1F716A401;
	Wed, 24 Jan 2007 11:47:31 +0000 (UTC)
	(envelope-from vd@datamax.bg)
Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21])
	by mx1.freebsd.org (Postfix) with ESMTP id 6A7AF13C428;
	Wed, 24 Jan 2007 11:47:31 +0000 (UTC)
	(envelope-from vd@datamax.bg)
Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2])
	by jengal.datamax.bg (Postfix) with SMTP id 68F14B848;
	Wed, 24 Jan 2007 13:47:30 +0200 (EET)
Received: (nullmailer pid 99548 invoked by uid 1002);
	Wed, 24 Jan 2007 11:47:30 -0000
Message-Id: <20070124114730.GA99391@qlovarnika.bg.datamax>
Date: Wed, 24 Jan 2007 13:47:30 +0200
From: Vasil Dimov <vd@FreeBSD.org>
Reply-To: vd@FreeBSD.org
To: FreeBSD-gnats-submit@freebsd.org
Cc: roam@FreeBSD.org, erlavigne@wanadoo.fr, jpb@rrette.com
Subject: Update port: ftp/curlpp from 0.6.1 to 0.7.0
X-Send-Pr-Version: 3.113

>Number:         108295
>Category:       ports
>Synopsis:       Update port: ftp/curlpp from 0.6.1 to 0.7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 24 11:50:17 GMT 2007
>Closed-Date:    Fri Jan 26 13:24:30 GMT 2007
>Last-Modified:  Fri Jan 26 13:30:14 GMT 2007
>Originator:     Vasil Dimov
>Release:        FreeBSD 6.2-STABLE amd64
>Organization:
N/A
>Environment:

>Description:

Update ftp/curlpp from 0.6.1 to 0.7.0.

There is the following problem with downloading the archive:

It seems that the only way to download curlpp-0.7.0.tar.gz is to fetch
http://rrette.com/textpattern/index.php?s=file_download&id=1
Even if we manage to hack this into MASTER_SITES,DISTFILES,etc it seems
suspicious - possibly when 0.7.1 is out this link will automatically
point to it, thus breaking the port. Maybe the archive should be
mirrored to the FreeBSD cluster or the authors be contacted with a
request to give a permanent link (actually I decided to CC: both of
them right now).

>How-To-Repeat:

>Fix:

--- curlpp_0.7.0.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/ftp/curlpp/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile	14 Jan 2007 19:50:31 -0000	1.17
+++ Makefile	24 Jan 2007 11:39:46 -0000
@@ -7,9 +7,11 @@
 #
 
 PORTNAME=	curlpp
-PORTVERSION=	0.6.1
-PORTREVISION=	1
+PORTVERSION=	0.7.0
 CATEGORIES=	ftp
+# XXX manually download curlpp-0.7.0.tar.gz from
+# http://rrette.com/textpattern/index.php?s=file_download&id=1
+# see also http://rrette.com/textpattern/index.php?s=cURLpp
 MASTER_SITES=	http://rrette.com/downloads/sources/
 
 MAINTAINER=	roam@FreeBSD.org
@@ -17,7 +19,7 @@
 
 LIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl
 
-USE_GCC=	3.4
+USE_GCC=	3.4+
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/ftp/curlpp/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	26 Sep 2006 14:46:01 -0000	1.7
+++ distinfo	24 Jan 2007 11:39:46 -0000
@@ -1,3 +1,3 @@
-MD5 (curlpp-0.6.1.tar.gz) = 9f843154cc3d23fd547cc6cbfdb99e90
-SHA256 (curlpp-0.6.1.tar.gz) = 7812059a562dbd4b26b69e4c32d9a4149b4957e4a0428efed7b712fc8f704afe
-SIZE (curlpp-0.6.1.tar.gz) = 433513
+MD5 (curlpp-0.7.0.tar.gz) = 34cd0c82795b9f245930335bb5e2e764
+SHA256 (curlpp-0.7.0.tar.gz) = c211937ff8c92ab371cf08cc256340bb62bb85167443730c27fac061fcb79bbe
+SIZE (curlpp-0.7.0.tar.gz) = 457303
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/ftp/curlpp/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist	26 Sep 2006 14:46:01 -0000	1.5
+++ pkg-plist	24 Jan 2007 11:39:46 -0000
@@ -8,6 +8,7 @@
 include/curlpp/Info.hpp
 include/curlpp/Info.inl
 include/curlpp/Infos.hpp
+include/curlpp/Multi.hpp
 include/curlpp/NonCopyable.hpp
 include/curlpp/Option.hpp
 include/curlpp/Option.inl
@@ -82,5 +83,9 @@
 %%PORTDOCS%%%%EXAMPLESDIR%%/example10.cpp
 %%PORTDOCS%%%%EXAMPLESDIR%%/example11.cpp
 %%PORTDOCS%%%%EXAMPLESDIR%%/example12.cpp
+%%PORTDOCS%%%%EXAMPLESDIR%%/example13.cpp
+%%PORTDOCS%%%%EXAMPLESDIR%%/example14.cpp
+%%PORTDOCS%%%%EXAMPLESDIR%%/example15.cpp
+%%PORTDOCS%%%%EXAMPLESDIR%%/example16.cpp
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
Index: files/patch-curlpp::Info.cpp
===================================================================
RCS file: files/patch-curlpp::Info.cpp
diff -N files/patch-curlpp::Info.cpp
--- files/patch-curlpp::Info.cpp	14 Jan 2007 19:50:31 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,28 +0,0 @@
---- curlpp/Info.cpp.orig	Sun Jan 14 19:53:08 2007
-+++ curlpp/Info.cpp	Sun Jan 14 19:53:13 2007
-@@ -5,9 +5,11 @@
- #include "Info.hpp"
- 
- 
-+namespace cURLpp {
-+
- template< >
- void
--cURLpp::InfoTypeConverter< std::string >::get(cURLpp::Easy &handle, 
-+InfoTypeConverter< std::string >::get(cURLpp::Easy &handle, 
- 				              CURLINFO info,
- 				              std::string &value)
- {
-@@ -18,9 +20,11 @@
- 
- template< >
- void 
--cURLpp::InfoTypeConverter< std::list< std::string > >::get(cURLpp::Easy &,
-+InfoTypeConverter< std::list< std::string > >::get(cURLpp::Easy &,
- 			                                   CURLINFO ,
- 						           std::list< std::string > &)
- {
-   
-+}
-+
- }
--- curlpp_0.7.0.diff ends here ---


-- 
Vasil Dimov
gro.DSBeerF@dv
%
Look, that's why there's rules, understand?
So that you think before you break 'em.
    -- (Terry Pratchett, Thief of Time)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->roam 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jan 24 11:50:28 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108295 

From: Vasil Dimov <vd@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108295: Update port: ftp/curlpp from 0.6.1 to 0.7.0
Date: Thu, 25 Jan 2007 08:18:16 +0200

 After the quick reaction from Jean-Philippe Barrette-LaPierre we can
 consider the following patch (only MASTER_SITES changed):
 
 --- curlpp_0.7.0.diff begins here ---
 Index: Makefile
 ===================================================================
 RCS file: /home/pcvs/ports/ftp/curlpp/Makefile,v
 retrieving revision 1.17
 diff -u -r1.17 Makefile
 --- Makefile	14 Jan 2007 19:50:31 -0000	1.17
 +++ Makefile	25 Jan 2007 06:14:13 -0000
 @@ -7,17 +7,16 @@
  #
  
  PORTNAME=	curlpp
 -PORTVERSION=	0.6.1
 -PORTREVISION=	1
 +PORTVERSION=	0.7.0
  CATEGORIES=	ftp
 -MASTER_SITES=	http://rrette.com/downloads/sources/
 +MASTER_SITES=	http://rrette.com/files/curlpp/curlpp-${PORTVERSION:R}/
  
  MAINTAINER=	roam@FreeBSD.org
  COMMENT=	A C++ wrapper for libcurl
  
  LIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl
  
 -USE_GCC=	3.4
 +USE_GCC=	3.4+
  GNU_CONFIGURE=	yes
  CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
  CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 Index: distinfo
 ===================================================================
 RCS file: /home/pcvs/ports/ftp/curlpp/distinfo,v
 retrieving revision 1.7
 diff -u -r1.7 distinfo
 --- distinfo	26 Sep 2006 14:46:01 -0000	1.7
 +++ distinfo	25 Jan 2007 06:14:13 -0000
 @@ -1,3 +1,3 @@
 -MD5 (curlpp-0.6.1.tar.gz) = 9f843154cc3d23fd547cc6cbfdb99e90
 -SHA256 (curlpp-0.6.1.tar.gz) = 7812059a562dbd4b26b69e4c32d9a4149b4957e4a0428efed7b712fc8f704afe
 -SIZE (curlpp-0.6.1.tar.gz) = 433513
 +MD5 (curlpp-0.7.0.tar.gz) = 34cd0c82795b9f245930335bb5e2e764
 +SHA256 (curlpp-0.7.0.tar.gz) = c211937ff8c92ab371cf08cc256340bb62bb85167443730c27fac061fcb79bbe
 +SIZE (curlpp-0.7.0.tar.gz) = 457303
 Index: pkg-plist
 ===================================================================
 RCS file: /home/pcvs/ports/ftp/curlpp/pkg-plist,v
 retrieving revision 1.5
 diff -u -r1.5 pkg-plist
 --- pkg-plist	26 Sep 2006 14:46:01 -0000	1.5
 +++ pkg-plist	25 Jan 2007 06:14:13 -0000
 @@ -8,6 +8,7 @@
  include/curlpp/Info.hpp
  include/curlpp/Info.inl
  include/curlpp/Infos.hpp
 +include/curlpp/Multi.hpp
  include/curlpp/NonCopyable.hpp
  include/curlpp/Option.hpp
  include/curlpp/Option.inl
 @@ -82,5 +83,9 @@
  %%PORTDOCS%%%%EXAMPLESDIR%%/example10.cpp
  %%PORTDOCS%%%%EXAMPLESDIR%%/example11.cpp
  %%PORTDOCS%%%%EXAMPLESDIR%%/example12.cpp
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example13.cpp
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example14.cpp
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example15.cpp
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example16.cpp
  %%PORTDOCS%%@dirrm %%DOCSDIR%%
  %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
 Index: files/patch-curlpp::Info.cpp
 ===================================================================
 RCS file: files/patch-curlpp::Info.cpp
 diff -N files/patch-curlpp::Info.cpp
 --- files/patch-curlpp::Info.cpp	14 Jan 2007 19:50:31 -0000	1.1
 +++ /dev/null	1 Jan 1970 00:00:00 -0000
 @@ -1,28 +0,0 @@
 ---- curlpp/Info.cpp.orig	Sun Jan 14 19:53:08 2007
 -+++ curlpp/Info.cpp	Sun Jan 14 19:53:13 2007
 -@@ -5,9 +5,11 @@
 - #include "Info.hpp"
 - 
 - 
 -+namespace cURLpp {
 -+
 - template< >
 - void
 --cURLpp::InfoTypeConverter< std::string >::get(cURLpp::Easy &handle, 
 -+InfoTypeConverter< std::string >::get(cURLpp::Easy &handle, 
 - 				              CURLINFO info,
 - 				              std::string &value)
 - {
 -@@ -18,9 +20,11 @@
 - 
 - template< >
 - void 
 --cURLpp::InfoTypeConverter< std::list< std::string > >::get(cURLpp::Easy &,
 -+InfoTypeConverter< std::list< std::string > >::get(cURLpp::Easy &,
 - 			                                   CURLINFO ,
 - 						           std::list< std::string > &)
 - {
 -   
 -+}
 -+
 - }
 --- curlpp_0.7.0.diff ends here ---
 
 -- 
 Vasil Dimov
 gro.DSBeerF@dv
 %
 If two people love each other, there can be no happy end to it.
                 -- Ernest Hemingway
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Fri Jan 26 13:24:02 UTC 2007 
State-Changed-Why:  
I've just committed the update, thanks a lot! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108295 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108295: commit references a PR
Date: Fri, 26 Jan 2007 13:23:19 +0000 (UTC)

 roam        2007-01-26 13:23:12 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ftp/curlpp           Makefile distinfo pkg-plist 
   Removed files:
     ftp/curlpp/files     patch-curlpp::Info.cpp 
   Log:
   Update to curlpp-0.7.0.
   In addition to the patch from Vasil, also finally remove the warning
   about the incompatibility with ancient curlpp versions.
   
   PR:             108295
   Submitted by:   vd
   
   Revision  Changes    Path
   1.18      +3 -10     ports/ftp/curlpp/Makefile
   1.8       +3 -3      ports/ftp/curlpp/distinfo
   1.2       +0 -28     ports/ftp/curlpp/files/patch-curlpp::Info.cpp (dead)
   1.6       +5 -0      ports/ftp/curlpp/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
