[crux-commits] ports/contrib (refs/remotes/origin/3.6): libsoci: initial commit, version 4.0.1

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:02 UTC 2021


commit 90bd1f58b805117d4fa93bf0f80dde7010ae1bfd
Author: Tim Biermann <tbier at posteo.de>
Date:   Wed Jan 20 13:27:20 2021 +0000

    libsoci: initial commit, version 4.0.1

diff --git a/libsoci/.footprint b/libsoci/.footprint
new file mode 100644
index 000000000..a83fedd76
--- /dev/null
+++ b/libsoci/.footprint
@@ -0,0 +1,77 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/soci/
+-rw-r--r--	root/root	usr/include/soci/backend-loader.h
+-rw-r--r--	root/root	usr/include/soci/bind-values.h
+-rw-r--r--	root/root	usr/include/soci/blob-exchange.h
+-rw-r--r--	root/root	usr/include/soci/blob.h
+-rw-r--r--	root/root	usr/include/soci/boost-fusion.h
+-rw-r--r--	root/root	usr/include/soci/boost-gregorian-date.h
+-rw-r--r--	root/root	usr/include/soci/boost-optional.h
+-rw-r--r--	root/root	usr/include/soci/boost-tuple.h
+-rw-r--r--	root/root	usr/include/soci/callbacks.h
+-rw-r--r--	root/root	usr/include/soci/column-info.h
+-rw-r--r--	root/root	usr/include/soci/connection-parameters.h
+-rw-r--r--	root/root	usr/include/soci/connection-pool.h
+drwxr-xr-x	root/root	usr/include/soci/empty/
+-rw-r--r--	root/root	usr/include/soci/empty/soci-empty.h
+-rw-r--r--	root/root	usr/include/soci/error.h
+-rw-r--r--	root/root	usr/include/soci/exchange-traits.h
+-rw-r--r--	root/root	usr/include/soci/into-type.h
+-rw-r--r--	root/root	usr/include/soci/into.h
+-rw-r--r--	root/root	usr/include/soci/logger.h
+-rw-r--r--	root/root	usr/include/soci/noreturn.h
+-rw-r--r--	root/root	usr/include/soci/once-temp-type.h
+drwxr-xr-x	root/root	usr/include/soci/postgresql/
+-rw-r--r--	root/root	usr/include/soci/postgresql/soci-postgresql.h
+-rw-r--r--	root/root	usr/include/soci/prepare-temp-type.h
+-rw-r--r--	root/root	usr/include/soci/procedure.h
+-rw-r--r--	root/root	usr/include/soci/query_transformation.h
+-rw-r--r--	root/root	usr/include/soci/ref-counted-prepare-info.h
+-rw-r--r--	root/root	usr/include/soci/ref-counted-statement.h
+-rw-r--r--	root/root	usr/include/soci/row-exchange.h
+-rw-r--r--	root/root	usr/include/soci/row.h
+-rw-r--r--	root/root	usr/include/soci/rowid-exchange.h
+-rw-r--r--	root/root	usr/include/soci/rowid.h
+-rw-r--r--	root/root	usr/include/soci/rowset.h
+-rw-r--r--	root/root	usr/include/soci/session.h
+-rw-r--r--	root/root	usr/include/soci/soci-backend.h
+-rw-r--r--	root/root	usr/include/soci/soci-config.h
+-rw-r--r--	root/root	usr/include/soci/soci-platform.h
+-rw-r--r--	root/root	usr/include/soci/soci-simple.h
+-rw-r--r--	root/root	usr/include/soci/soci.h
+drwxr-xr-x	root/root	usr/include/soci/sqlite3/
+-rw-r--r--	root/root	usr/include/soci/sqlite3/soci-sqlite3.h
+-rw-r--r--	root/root	usr/include/soci/statement.h
+-rw-r--r--	root/root	usr/include/soci/transaction.h
+-rw-r--r--	root/root	usr/include/soci/type-conversion-traits.h
+-rw-r--r--	root/root	usr/include/soci/type-conversion.h
+-rw-r--r--	root/root	usr/include/soci/type-holder.h
+-rw-r--r--	root/root	usr/include/soci/type-ptr.h
+-rw-r--r--	root/root	usr/include/soci/type-wrappers.h
+-rw-r--r--	root/root	usr/include/soci/unsigned-types.h
+-rw-r--r--	root/root	usr/include/soci/use-type.h
+-rw-r--r--	root/root	usr/include/soci/use.h
+-rw-r--r--	root/root	usr/include/soci/values-exchange.h
+-rw-r--r--	root/root	usr/include/soci/values.h
+-rw-r--r--	root/root	usr/include/soci/version.h
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/cmake/
+-rw-r--r--	root/root	usr/lib/cmake/SOCI-release.cmake
+-rw-r--r--	root/root	usr/lib/cmake/SOCI.cmake
+-rw-r--r--	root/root	usr/lib/libsoci_core.a
+lrwxrwxrwx	root/root	usr/lib/libsoci_core.so -> libsoci_core.so.4.0
+lrwxrwxrwx	root/root	usr/lib/libsoci_core.so.4.0 -> libsoci_core.so.4.0.1
+-rwxr-xr-x	root/root	usr/lib/libsoci_core.so.4.0.1
+-rw-r--r--	root/root	usr/lib/libsoci_empty.a
+lrwxrwxrwx	root/root	usr/lib/libsoci_empty.so -> libsoci_empty.so.4.0
+lrwxrwxrwx	root/root	usr/lib/libsoci_empty.so.4.0 -> libsoci_empty.so.4.0.1
+-rwxr-xr-x	root/root	usr/lib/libsoci_empty.so.4.0.1
+-rw-r--r--	root/root	usr/lib/libsoci_postgresql.a
+lrwxrwxrwx	root/root	usr/lib/libsoci_postgresql.so -> libsoci_postgresql.so.4.0
+lrwxrwxrwx	root/root	usr/lib/libsoci_postgresql.so.4.0 -> libsoci_postgresql.so.4.0.1
+-rwxr-xr-x	root/root	usr/lib/libsoci_postgresql.so.4.0.1
+-rw-r--r--	root/root	usr/lib/libsoci_sqlite3.a
+lrwxrwxrwx	root/root	usr/lib/libsoci_sqlite3.so -> libsoci_sqlite3.so.4.0
+lrwxrwxrwx	root/root	usr/lib/libsoci_sqlite3.so.4.0 -> libsoci_sqlite3.so.4.0.1
+-rwxr-xr-x	root/root	usr/lib/libsoci_sqlite3.so.4.0.1
diff --git a/libsoci/.signature b/libsoci/.signature
new file mode 100644
index 000000000..16aab37c1
--- /dev/null
+++ b/libsoci/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF30dTfvUDOR5j3jWNhWsqe7t828g3rijdtFZY7OMA0TInRE+S/tobVC/HN7OCfHklZ5lcOeKEGIE/e1KYIsjNlQM=
+SHA256 (Pkgfile) = dd40e6cfec93910a1b245c3382c50bca01aaf37f1c949d7c0dab0490ac1bafac
+SHA256 (.footprint) = cf1e1ca49632709262f9362118f142db70b950f90868a1b72446dfef5606b3a1
+SHA256 (soci-4.0.1.tar.gz) = bcabd4d7d33bb02e5a88d00121bf556957fa18dc6b04a5532c107a4def7e27d3
diff --git a/libsoci/Pkgfile b/libsoci/Pkgfile
new file mode 100644
index 000000000..43a2d1120
--- /dev/null
+++ b/libsoci/Pkgfile
@@ -0,0 +1,29 @@
+# Description: a database access library for C++
+# URL: http://soci.sourceforge.net/
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: boost cmake postgresql zlib
+# Optional: mysql unixodbc
+
+name=libsoci
+version=4.0.1
+release=1
+source=(https://downloads.sourceforge.net/project/soci/soci/soci-4.0.1/soci-$version.tar.gz)
+
+build() {
+  [[ -e /usr/bin/ninja ]] && PKGMK_LIBSOCI+=' -G Ninja'
+
+  cmake -S soci-$version -B build $PKGMK_LIBSOCI \
+    -D CMAKE_INSTALL_PREFIX=/usr \
+    -D SOCI_LIBDIR=lib \
+    -D CMAKE_PREFIX_PATH=/usr/lib \
+    -D CMAKE_BUILD_TYPE=Release \
+    -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
+    -D WITH_POSTGRESQL=ON \
+    -D SOCI_CXX11=ON \
+    -Wno-dev
+  cmake --build build
+  DESTDIR=$PKG cmake --install build
+
+  # https://github.com/SOCI/soci/issues/849
+  mv $PKG/usr/cmake $PKG/usr/lib/cmake
+}


More information about the crux-commits mailing list