pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/soci Add soci-3.2.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1efcbb618b4
branches:  trunk
changeset: 621178:c1efcbb618b4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jul 05 21:04:45 2013 +0000

description:
Add soci-3.2.1:

SOCI is a database access libary for C++.  It provides a natural
interface with extensive STL integration.  A number of major database
servers are accessable.

diffstat:

 databases/soci/DESCR                                         |   3 +
 databases/soci/Makefile                                      |  20 +++
 databases/soci/PLIST                                         |  64 ++++++++++++
 databases/soci/distinfo                                      |   7 +
 databases/soci/patches/patch-CMakeLists.txt                  |  19 +++
 databases/soci/patches/patch-backends_sqlite3_soci-sqlite3.h |  15 ++
 6 files changed, 128 insertions(+), 0 deletions(-)

diffs (152 lines):

diff -r 14e57bde5ee7 -r c1efcbb618b4 databases/soci/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/soci/DESCR      Fri Jul 05 21:04:45 2013 +0000
@@ -0,0 +1,3 @@
+SOCI is a database access libary for C++.  It provides a natural
+interface with extensive STL integration.  A number of major database
+servers are accessable.
diff -r 14e57bde5ee7 -r c1efcbb618b4 databases/soci/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/soci/Makefile   Fri Jul 05 21:04:45 2013 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2013/07/05 21:04:45 joerg Exp $
+#
+
+DISTNAME=      soci-3.2.1
+CATEGORIES=    databases
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=soci/}
+
+MAINTAINER=    joerg%NetBSD.org@localhost
+HOMEPAGE=      http://soci.sourceforge.net/
+COMMENT=       C++ database access library
+LICENSE=       boost-license
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+=   -DSOCI_LIBDIR=lib
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 14e57bde5ee7 -r c1efcbb618b4 databases/soci/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/soci/PLIST      Fri Jul 05 21:04:45 2013 +0000
@@ -0,0 +1,64 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/05 21:04:45 joerg Exp $
+include/soci/backend-loader.h
+include/soci/blob-exchange.h
+include/soci/blob.h
+include/soci/boost-fusion.h
+include/soci/boost-gregorian-date.h
+include/soci/boost-optional.h
+include/soci/boost-tuple.h
+include/soci/connection-parameters.h
+include/soci/connection-pool.h
+include/soci/empty/soci-empty.h
+include/soci/error.h
+include/soci/exchange-traits.h
+include/soci/into-type.h
+include/soci/into.h
+include/soci/once-temp-type.h
+include/soci/postgresql/common.h
+include/soci/postgresql/soci-postgresql.h
+include/soci/prepare-temp-type.h
+include/soci/procedure.h
+include/soci/query_transformation.h
+include/soci/ref-counted-prepare-info.h
+include/soci/ref-counted-statement.h
+include/soci/row-exchange.h
+include/soci/row.h
+include/soci/rowid-exchange.h
+include/soci/rowid.h
+include/soci/rowset.h
+include/soci/session.h
+include/soci/soci-backend.h
+include/soci/soci-config.h
+include/soci/soci-platform.h
+include/soci/soci-simple.h
+include/soci/soci.h
+include/soci/sqlite3/common.h
+include/soci/sqlite3/soci-sqlite3.h
+include/soci/statement.h
+include/soci/transaction.h
+include/soci/type-conversion-traits.h
+include/soci/type-conversion.h
+include/soci/type-holder.h
+include/soci/type-ptr.h
+include/soci/unsigned-types.h
+include/soci/use-type.h
+include/soci/use.h
+include/soci/values-exchange.h
+include/soci/values.h
+include/soci/version.h
+lib/libsoci_core.a
+lib/libsoci_core.so
+lib/libsoci_core.so.3.2
+lib/libsoci_core.so.${PKGVERSION}
+lib/libsoci_empty.a
+lib/libsoci_empty.so
+lib/libsoci_empty.so.3.2
+lib/libsoci_empty.so.${PKGVERSION}
+lib/libsoci_postgresql.a
+lib/libsoci_postgresql.so
+lib/libsoci_postgresql.so.3.2
+lib/libsoci_postgresql.so.${PKGVERSION}
+lib/libsoci_sqlite3.a
+lib/libsoci_sqlite3.so
+lib/libsoci_sqlite3.so.3.2
+lib/libsoci_sqlite3.so.${PKGVERSION}
diff -r 14e57bde5ee7 -r c1efcbb618b4 databases/soci/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/soci/distinfo   Fri Jul 05 21:04:45 2013 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2013/07/05 21:04:45 joerg Exp $
+
+SHA1 (soci-3.2.1.tar.gz) = 38f602ec8d61c4563df8ea4d4ed318dc378e7096
+RMD160 (soci-3.2.1.tar.gz) = 3e98139aa904c62dbf7cc6a1fae5fc73042a6364
+Size (soci-3.2.1.tar.gz) = 343358 bytes
+SHA1 (patch-CMakeLists.txt) = c66f0b8fd3ca0fedaebedd6943ae0471f7c6ba35
+SHA1 (patch-backends_sqlite3_soci-sqlite3.h) = 688260116f0e35f37f7de8d61366a3397259dc0c
diff -r 14e57bde5ee7 -r c1efcbb618b4 databases/soci/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/soci/patches/patch-CMakeLists.txt       Fri Jul 05 21:04:45 2013 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2013/07/05 21:04:45 joerg Exp $
+
+Use consistent behavior on all platforms.
+
+--- CMakeLists.txt.orig        2013-07-05 18:10:32.000000000 +0000
++++ CMakeLists.txt
+@@ -70,11 +70,7 @@ include(SociDependencies)
+ # Installation
+ ###############################################################################
+ 
+-if(APPLE OR CMAKE_SIZEOF_VOID_P EQUAL 4)
+-  set(SOCI_LIBDIR "lib")
+-else()
+-  set(SOCI_LIBDIR "lib64")
+-endif()
++set(SOCI_LIBDIR "lib")
+ 
+ set(BINDIR "bin" CACHE PATH "The directory to install binaries into.")
+ set(LIBDIR ${SOCI_LIBDIR} CACHE PATH "The directory to install libraries into.")
diff -r 14e57bde5ee7 -r c1efcbb618b4 databases/soci/patches/patch-backends_sqlite3_soci-sqlite3.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/soci/patches/patch-backends_sqlite3_soci-sqlite3.h      Fri Jul 05 21:04:45 2013 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-backends_sqlite3_soci-sqlite3.h,v 1.1 2013/07/05 21:04:45 joerg Exp $
+
+sqlite.h is included inside a namespace, so make sure that
+the content of stdarg.h is in the default namespace.
+
+--- backends/sqlite3/soci-sqlite3.h.orig       2013-03-22 00:48:38.000000000 +0000
++++ backends/sqlite3/soci-sqlite3.h
+@@ -23,6 +23,7 @@
+ # define SOCI_SQLITE3_DECL
+ #endif
+ 
++#include <stdarg.h>
+ #include <vector>
+ #include "soci-backend.h"
+ 



Home | Main Index | Thread Index | Old Index