From nobody@FreeBSD.org  Thu Jan 14 09:17:27 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EC5AF1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Jan 2010 09:17:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D13678FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Jan 2010 09:17:27 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0E9HRRQ015998
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Jan 2010 09:17:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o0E9HRxZ015997;
	Thu, 14 Jan 2010 09:17:27 GMT
	(envelope-from nobody)
Message-Id: <201001140917.o0E9HRxZ015997@www.freebsd.org>
Date: Thu, 14 Jan 2010 09:17:27 GMT
From: "Eugene M. Kim" <20080111.freebsd.org@ab.ote.we.lv>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 20080111.freebsd.org@ab.ote.we.lv
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         142820
>Category:       ports
>Synopsis:       new port: databases/postgresql-libpqxx30, C++ interface for PostgreSQL
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    makc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 14 09:20:03 UTC 2010
>Closed-Date:    Sun Feb 07 19:11:21 UTC 2010
>Last-Modified:  Sun Feb 07 19:11:21 UTC 2010
>Originator:     Eugene M. Kim
>Release:        8.0-RELEASE
>Organization:
>Environment:
FreeBSD blue.the-7.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
This is a new port for libpqxx 3.0.2, submitted as a new port (rather
than an update to the existing databases/postgresql-libpqxx port) because
it is backward-incompatible with 2.x.
>How-To-Repeat:
N/A
>Fix:
Repo-copy (databases/postgresql-libpqxx -> databases/postgresql-libpqxx30),
then apply the attached patch.  A CONFLICT= line also needs to be added to
the old port.

Patch attached with submission follows:

diff -urN databases/postgresql-libpqxx/Makefile databases/postgresql-libpqxx30/Makefile
--- databases/postgresql-libpqxx/Makefile	2009-01-30 12:17:24.000000000 -0800
+++ databases/postgresql-libpqxx30/Makefile	2010-01-14 01:00:16.000000000 -0800
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libpqxx
-PORTVERSION=	2.6.9
-PORTREVISION=	1
+PORTVERSION=	3.0.2
 CATEGORIES=	databases
 MASTER_SITES=	http://pqxx.org/download/software/libpqxx/
 PKGNAMEPREFIX=	postgresql-
@@ -16,14 +15,14 @@
 MAINTAINER=	girgen@FreeBSD.org
 COMMENT=	A new C++ interface for PostgreSQL
 
+CONFLICTS=	postgresql-libpqxx-[12].*
+
 USE_PGSQL=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-PLIST_SUB=	PORTVERSION=${PORTVERSION}
+PLIST_SUB=	SHLIBVERSION=3.0
 
-CONFIGURE_ARGS=	--with-postgres=${LOCALBASE} \
-		--enable-shared \
-		--with-postgres-include=${LOCALBASE}/include/postgresql
+CONFIGURE_ARGS=	--enable-shared
 
 .include <bsd.port.mk>
diff -urN databases/postgresql-libpqxx/distinfo databases/postgresql-libpqxx30/distinfo
--- databases/postgresql-libpqxx/distinfo	2007-02-05 23:59:46.000000000 -0800
+++ databases/postgresql-libpqxx30/distinfo	2010-01-13 21:36:29.000000000 -0800
@@ -1,3 +1,3 @@
-MD5 (postgresql/libpqxx-2.6.9.tar.gz) = 0b0c64af41dfdeea8556dc359994e1cb
-SHA256 (postgresql/libpqxx-2.6.9.tar.gz) = 2b2ef5dfb852667299e50727419075cf333bbbeffadaa398d96dc93bac6f7b6a
-SIZE (postgresql/libpqxx-2.6.9.tar.gz) = 1639557
+MD5 (postgresql/libpqxx-3.0.2.tar.gz) = 3baa257e851b773fa1d693bbe185a418
+SHA256 (postgresql/libpqxx-3.0.2.tar.gz) = de265ab5d397ace7596c3b6d19a0057ce2ba58477315acf9165b0a97facab6ca
+SIZE (postgresql/libpqxx-3.0.2.tar.gz) = 1565644
diff -urN databases/postgresql-libpqxx/files/patch-Makefile.in databases/postgresql-libpqxx30/files/patch-Makefile.in
--- databases/postgresql-libpqxx/files/patch-Makefile.in	2006-05-28 09:50:24.000000000 -0700
+++ databases/postgresql-libpqxx30/files/patch-Makefile.in	2010-01-13 23:09:57.000000000 -0800
@@ -1,9 +1,9 @@
---- Makefile.in~	Sat May 27 12:46:50 2006
-+++ Makefile.in	Sun May 28 17:51:23 2006
-@@ -212,7 +212,7 @@
+--- Makefile.in	2009-08-14 10:16:35.000000000 -0700
++++ Makefile.in.new	2010-01-13 23:09:39.000000000 -0800
+@@ -226,7 +226,7 @@
+ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in config.log configure \
+ 	stamp-h.in
  
- 
- #includedir=$(prefix)/include
 -pkgconfigdir = $(libdir)/pkgconfig
 +pkgconfigdir = $(prefix)/libdata/pkgconfig
  pkgconfig_DATA = libpqxx.pc
diff -urN databases/postgresql-libpqxx/files/patch-libpqxx.spec.in databases/postgresql-libpqxx30/files/patch-libpqxx.spec.in
--- databases/postgresql-libpqxx/files/patch-libpqxx.spec.in	1969-12-31 16:00:00.000000000 -0800
+++ databases/postgresql-libpqxx30/files/patch-libpqxx.spec.in	2010-01-13 21:38:24.000000000 -0800
@@ -0,0 +1,12 @@
+diff -urN libpqxx-3.0.2.dist/libpqxx.spec.in libpqxx-3.0.2/libpqxx.spec.in
+--- libpqxx.spec.in	2009-07-03 22:38:38.000000000 -0700
++++ libpqxx.spec.in.new	2010-01-13 21:24:41.000000000 -0800
+@@ -58,7 +58,7 @@
+ %files devel
+ %defattr(-, root, root)
+ %{_libdir}/*a
+-%{_libdir}/pkgconfig/libpqxx.pc
++%{_prefix}/libdata/pkgconfig/libpqxx.pc
+ %{_includedir}/*
+ %{_bindir}/pqxx-config
+ 
diff -urN databases/postgresql-libpqxx/pkg-plist databases/postgresql-libpqxx30/pkg-plist
--- databases/postgresql-libpqxx/pkg-plist	2007-02-05 23:59:46.000000000 -0800
+++ databases/postgresql-libpqxx30/pkg-plist	2010-01-14 00:54:41.000000000 -0800
@@ -3,7 +3,6 @@
 include/pqxx/basic_connection.hxx
 include/pqxx/binarystring
 include/pqxx/binarystring.hxx
-include/pqxx/cachedresult.h
 include/pqxx/compiler-internal-post.hxx
 include/pqxx/compiler-internal-pre.hxx
 include/pqxx/compiler-public.hxx
@@ -15,7 +14,6 @@
 include/pqxx/connectionpolicy
 include/pqxx/connectionpolicy.hxx
 include/pqxx/cursor
-include/pqxx/cursor.h
 include/pqxx/cursor.hxx
 include/pqxx/dbtransaction
 include/pqxx/dbtransaction.hxx
@@ -28,6 +26,8 @@
 include/pqxx/libpq-forward.hxx
 include/pqxx/nontransaction
 include/pqxx/nontransaction.hxx
+include/pqxx/notify-listen
+include/pqxx/notify-listen.hxx
 include/pqxx/pipeline
 include/pqxx/pipeline.hxx
 include/pqxx/pqxx
@@ -55,7 +55,8 @@
 include/pqxx/trigger.hxx
 include/pqxx/util
 include/pqxx/util.hxx
-lib/libpqxx-%%PORTVERSION%%.so
+include/pqxx/version.hxx
+lib/libpqxx-%%SHLIBVERSION%%.so
 lib/libpqxx.a
 lib/libpqxx.la
 lib/libpqxx.so


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->makc 
Responsible-Changed-By: makc 
Responsible-Changed-When: Mon Jan 18 22:43:12 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142820 
State-Changed-From-To: open->repocopy 
State-Changed-By: makc 
State-Changed-When: Sun Jan 24 18:41:50 UTC 2010 
State-Changed-Why:  
Please, repocopy databases/postgresql-libpqxx to 
databases/postgresql-libpqxx30 


Responsible-Changed-From-To: makc->portmgr 
Responsible-Changed-By: makc 
Responsible-Changed-When: Sun Jan 24 18:41:50 UTC 2010 
Responsible-Changed-Why:  
Please, repocopy databases/postgresql-libpqxx to 
databases/postgresql-libpqxx30 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142820 
State-Changed-From-To: repocopy->open 
State-Changed-By: marcus 
State-Changed-When: Tue Jan 26 07:15:25 UTC 2010 
State-Changed-Why:  
Repocopy complete. 


Responsible-Changed-From-To: portmgr->makc 
Responsible-Changed-By: marcus 
Responsible-Changed-When: Tue Jan 26 07:15:25 UTC 2010 
Responsible-Changed-Why:  
Repocopy complete. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/142820: commit references a PR
Date: Sun,  7 Feb 2010 19:08:45 +0000 (UTC)

 makc        2010-02-07 19:08:32 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/postgresql-libpqxx30 Makefile distinfo pkg-plist 
     databases/postgresql-libpqxx30/files patch-Makefile.in 
   Added files:
     databases/postgresql-libpqxx30/files patch-libpqxx.spec.in 
   Log:
   Update to 3.0.2 after repocopy
   Mark conflict with databases/postgresql-libpqxx
   Pass maintainership to submitter
   
   PR:             ports/142820
   Submitted by:   Eugene M. Kim <20080111.freebsd.org at ab.ote.we.lv>
   
   Revision  Changes    Path
   1.29      +7 -7      ports/databases/postgresql-libpqxx30/Makefile
   1.15      +3 -3      ports/databases/postgresql-libpqxx30/distinfo
   1.4       +5 -5      ports/databases/postgresql-libpqxx30/files/patch-Makefile.in
   1.1       +12 -0     ports/databases/postgresql-libpqxx30/files/patch-libpqxx.spec.in (new)
   1.15      +4 -3      ports/databases/postgresql-libpqxx30/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"
 
State-Changed-From-To: open->closed 
State-Changed-By: makc 
State-Changed-When: Sun Feb 7 19:11:20 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142820 
>Unformatted:
