Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 14:47:19 -0600 (CST)
From:      Michael Schout <mschout@gkg.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        mschout@gkg.net
Subject:   ports/175168: restore databases/postgresql-libpqxx port
Message-ID:  <201301092047.r09KlJvY022949@bsdjail-1.gkg.net>
Resent-Message-ID: <201301092050.r09Ko0XW030493@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175168
>Category:       ports
>Synopsis:       restore databases/postgresql-libpqxx port
>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:   Wed Jan 09 20:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Michael Schout
>Release:        FreeBSD 9.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD bsdjail-1 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


>Description:

The port databases/postgresql-libpqxx was removed on 2012-11-28 with reason "No
more public distfiles".  I presume this to mean that a tarball of sources was
not pulicly available.  Either this is a mistake, or the pqxx folks have fixed
the problem, becuase the distfile *IS* available, at the same place as it was
before.  If there is some other reason this port was removed, it is not clear
at all from the entry in MOVED.

I've restored the port from the version as it was before deletion, and the port
builds successfully (including downloading the distfiles).

>How-To-Repeat:

n/a

>Fix:

restore the databases/postgresql-libpqxx port.  shar restoring the port, and
patch removing the entry from MOVED also follows.

diff --git a/MOVED b/MOVED
index 69e3820..4516ba3 100644
--- a/MOVED
+++ b/MOVED
@@ -3932,7 +3932,6 @@ www/p5-Sledge-Template-Expr||2012-11-28|Removed depends on mod_perl 1 which is g
 mail/vchkuser|mail/qmail-spamcontrol|2012-11-28|Has expired: mail/qmail-spamcontrol replaces this port
 chinese/pyDict||2012-11-28|Removed: Depends on the expired gtkglarea through py-gtk
 x11-toolkits/py-gtk||2012-11-28|Has expired: Depends on the expired gtkglarea
-databases/postgresql-libpqxx||2012-11-28|Has expired: No more public distfiles
 devel/portlet-api||2012-11-28|Has expired: No more public distfiles
 net/amqp08||2012-11-29|Has expired: No more public distfiles
 games/kmquake2||2012-11-29|Has expired: No more public distfiles

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	databases/postgresql-libpqxx
#	databases/postgresql-libpqxx/Makefile
#	databases/postgresql-libpqxx/distinfo
#	databases/postgresql-libpqxx/files
#	databases/postgresql-libpqxx/files/patch-Makefile.in
#	databases/postgresql-libpqxx/pkg-descr
#	databases/postgresql-libpqxx/pkg-plist
#
echo c - databases/postgresql-libpqxx
mkdir -p databases/postgresql-libpqxx > /dev/null 2>&1
echo x - databases/postgresql-libpqxx/Makefile
sed 's/^X//' >databases/postgresql-libpqxx/Makefile << 'END-of-databases/postgresql-libpqxx/Makefile'
X# Created by: Palle Girgensohn <girgen@pingpong.net>
X# $FreeBSD$
X
XPORTNAME=	libpqxx
XPORTVERSION=	4.0
XCATEGORIES=	databases
XMASTER_SITES=	http://pqxx.org/download/software/libpqxx/
XPKGNAMEPREFIX=	postgresql-
XDIST_SUBDIR=	postgresql
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	A new C++ interface for PostgreSQL
X
XDEPRECATED=	No more public distfiles
XEXPIRATION_DATE=	2012-11-26
X
XCONFLICTS=	postgresql-libpqxx-3.*
XPORTSCOUT=	limit:^2\.
X
XUSE_PGSQL=	yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XSOVERSION=	4
XPLIST_SUB=	PORTVERSION=${PORTVERSION} \
X		SOVERSION=${SOVERSION}
X
XCONFIGURE_ARGS=	--enable-shared \
X		--disable-dependency-tracking
X
Xpost-install:
X#	This is needed for ldconfig
X	${LN} -s ${PREFIX}/lib/libpqxx-${PORTVERSION}.so \
X		${PREFIX}/lib/libpqxx.so.${SOVERSION}
X
X.include <bsd.port.mk>
END-of-databases/postgresql-libpqxx/Makefile
echo x - databases/postgresql-libpqxx/distinfo
sed 's/^X//' >databases/postgresql-libpqxx/distinfo << 'END-of-databases/postgresql-libpqxx/distinfo'
XSHA256 (postgresql/libpqxx-4.0.tar.gz) = b160043289cfbf2a186d3b12f9976b6914e76d918d3d4469ff408bd199bbb8ed
XSIZE (postgresql/libpqxx-4.0.tar.gz) = 2631181
END-of-databases/postgresql-libpqxx/distinfo
echo c - databases/postgresql-libpqxx/files
mkdir -p databases/postgresql-libpqxx/files > /dev/null 2>&1
echo x - databases/postgresql-libpqxx/files/patch-Makefile.in
sed 's/^X//' >databases/postgresql-libpqxx/files/patch-Makefile.in << 'END-of-databases/postgresql-libpqxx/files/patch-Makefile.in'
X--- Makefile.in.orig	2011-09-12 11:39:56.000000000 +0200
X+++ Makefile.in	2011-09-12 11:40:48.000000000 +0200
X@@ -270,7 +270,7 @@
X MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in config.log configure \
X 	stamp-h.in
X 
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = $(prefix)/libdata/pkgconfig
X pkgconfig_DATA = libpqxx.pc
X bin_SCRIPTS = pqxx-config
X all: all-recursive
END-of-databases/postgresql-libpqxx/files/patch-Makefile.in
echo x - databases/postgresql-libpqxx/pkg-descr
sed 's/^X//' >databases/postgresql-libpqxx/pkg-descr << 'END-of-databases/postgresql-libpqxx/pkg-descr'
XWelcome to libpqxx, the official C++ API to the PostgreSQL database
Xmanagement system.
X
XThere are many similar libraries for PostgreSQL and for other
Xdatabases, some of them database-independent.  Most of these, however,
Xare fairly C-like in their programming style, and fail to take
Xadvantage of the full power of the C++ language as it has matured
Xsince the acceptance of the Standard in 1996.  What libpqxx brings you
Xis effective use of templates to reduce the inconvenience of dealing
Xwith type conversions; of standard C++ strings to keep you from having
Xto worry about buffer allocation and overflow attacks; of exceptions
Xto take the tedious and error-prone plumbing around error handling out
Xof your hands; of constructors and destructors to bring resource
Xmanagement under control; and even basic object-orientation to give
Xyou some extra reliability features that would be hard to get with
Xmost other database interfaces.
X
XWWW: http://pqxx.org/
END-of-databases/postgresql-libpqxx/pkg-descr
echo x - databases/postgresql-libpqxx/pkg-plist
sed 's/^X//' >databases/postgresql-libpqxx/pkg-plist << 'END-of-databases/postgresql-libpqxx/pkg-plist'
Xbin/pqxx-config
Xinclude/pqxx/basic_connection
Xinclude/pqxx/basic_connection.hxx
Xinclude/pqxx/binarystring
Xinclude/pqxx/binarystring.hxx
Xinclude/pqxx/compiler-internal-post.hxx
Xinclude/pqxx/compiler-internal-pre.hxx
Xinclude/pqxx/compiler-public.hxx
Xinclude/pqxx/config-public-compiler.h
Xinclude/pqxx/connection
Xinclude/pqxx/connection.hxx
Xinclude/pqxx/connection_base
Xinclude/pqxx/connection_base.hxx
Xinclude/pqxx/connectionpolicy
Xinclude/pqxx/connectionpolicy.hxx
Xinclude/pqxx/cursor
Xinclude/pqxx/cursor.hxx
Xinclude/pqxx/dbtransaction
Xinclude/pqxx/dbtransaction.hxx
Xinclude/pqxx/errorhandler
Xinclude/pqxx/errorhandler.hxx
Xinclude/pqxx/except
Xinclude/pqxx/except.hxx
Xinclude/pqxx/field
Xinclude/pqxx/field.hxx
Xinclude/pqxx/internal/callgate.hxx
Xinclude/pqxx/internal/gates/connection-dbtransaction.hxx
Xinclude/pqxx/internal/gates/connection-errorhandler.hxx
Xinclude/pqxx/internal/gates/connection-largeobject.hxx
Xinclude/pqxx/internal/gates/connection-notification_receiver.hxx
Xinclude/pqxx/internal/gates/connection-parameterized_invocation.hxx
Xinclude/pqxx/internal/gates/connection-pipeline.hxx
Xinclude/pqxx/internal/gates/connection-prepare-invocation.hxx
Xinclude/pqxx/internal/gates/connection-reactivation_avoidance_exemption.hxx
Xinclude/pqxx/internal/gates/connection-sql_cursor.hxx
Xinclude/pqxx/internal/gates/connection-transaction.hxx
Xinclude/pqxx/internal/gates/errorhandler-connection.hxx
Xinclude/pqxx/internal/gates/icursor_iterator-icursorstream.hxx
Xinclude/pqxx/internal/gates/icursorstream-icursor_iterator.hxx
Xinclude/pqxx/internal/gates/result-connection.hxx
Xinclude/pqxx/internal/gates/result-creation.hxx
Xinclude/pqxx/internal/gates/result-sql_cursor.hxx
Xinclude/pqxx/internal/gates/transaction-subtransaction.hxx
Xinclude/pqxx/internal/gates/transaction-tablereader.hxx
Xinclude/pqxx/internal/gates/transaction-tablewriter.hxx
Xinclude/pqxx/internal/gates/transaction-transactionfocus.hxx
Xinclude/pqxx/internal/libpq-forward.hxx
Xinclude/pqxx/internal/result_data.hxx
Xinclude/pqxx/internal/statement_parameters.hxx
Xinclude/pqxx/isolation
Xinclude/pqxx/isolation.hxx
Xinclude/pqxx/largeobject
Xinclude/pqxx/largeobject.hxx
Xinclude/pqxx/nontransaction
Xinclude/pqxx/nontransaction.hxx
Xinclude/pqxx/notification
Xinclude/pqxx/notification.hxx
Xinclude/pqxx/notify-listen
Xinclude/pqxx/notify-listen.hxx
Xinclude/pqxx/performance.hxx
Xinclude/pqxx/pipeline
Xinclude/pqxx/pipeline.hxx
Xinclude/pqxx/pqxx
Xinclude/pqxx/prepared_statement
Xinclude/pqxx/prepared_statement.hxx
Xinclude/pqxx/result
Xinclude/pqxx/result.hxx
Xinclude/pqxx/robusttransaction
Xinclude/pqxx/robusttransaction.hxx
Xinclude/pqxx/strconv
Xinclude/pqxx/strconv.hxx
Xinclude/pqxx/subtransaction
Xinclude/pqxx/subtransaction.hxx
Xinclude/pqxx/tablereader
Xinclude/pqxx/tablereader.hxx
Xinclude/pqxx/tablestream
Xinclude/pqxx/tablestream.hxx
Xinclude/pqxx/tablewriter
Xinclude/pqxx/tablewriter.hxx
Xinclude/pqxx/transaction
Xinclude/pqxx/transaction.hxx
Xinclude/pqxx/transaction_base
Xinclude/pqxx/transaction_base.hxx
Xinclude/pqxx/transactor
Xinclude/pqxx/transactor.hxx
Xinclude/pqxx/trigger
Xinclude/pqxx/trigger.hxx
Xinclude/pqxx/tuple
Xinclude/pqxx/tuple.hxx
Xinclude/pqxx/util
Xinclude/pqxx/util.hxx
Xinclude/pqxx/version
Xinclude/pqxx/version.hxx
Xlib/libpqxx-%%PORTVERSION%%.so
Xlib/libpqxx.a
Xlib/libpqxx.la
Xlib/libpqxx.so
Xlib/libpqxx.so.%%SOVERSION%%
Xlibdata/pkgconfig/libpqxx.pc
X@dirrm include/pqxx/internal/gates
X@dirrm include/pqxx/internal
X@dirrm include/pqxx
END-of-databases/postgresql-libpqxx/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



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