notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Server is being updated to FreeBSD 14.3 as you read this... and it is done.
Commit processing is stalled - it is a jail issue. I will work on it later today. 2025-09-17 12:17 UTC - It has been fixed. Sometime before 17:27 UTC.
Port details on branch 2023Q3
soci C++ Database Access Library
4.0.3_12 databases on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.0.3_12Version of this port present on the latest quarterly branch.
Maintainer: nc@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2010-09-15 13:27:22
Last Update: 2025-06-02 00:40:43
Commit Hash: 18632db
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
License: BSL
WWW:
https://soci.sourceforge.net/
Description:
SOCI is a database access library for C++ that makes the illusion of embedding SQL queries in the regular C++ code, staying entirely within the Standard C++. The idea is to provide C++ programmers a way to access SQL databases in the most natural and intuitive way. If you find existing libraries too difficult for your needs or just distracting, SOCI can be a good alternative.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (93 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/soci-4.0.3_12/catalog.mk
  3. /usr/local/share/licenses/soci-4.0.3_12/LICENSE
  4. /usr/local/share/licenses/soci-4.0.3_12/BSL
  5. include/soci/backend-loader.h
  6. include/soci/bind-values.h
  7. include/soci/blob-exchange.h
  8. include/soci/blob.h
  9. include/soci/boost-fusion.h
  10. include/soci/boost-gregorian-date.h
  11. include/soci/boost-optional.h
  12. include/soci/boost-tuple.h
  13. include/soci/callbacks.h
  14. include/soci/column-info.h
  15. include/soci/connection-parameters.h
  16. include/soci/connection-pool.h
  17. include/soci/empty/soci-empty.h
  18. include/soci/error.h
  19. include/soci/exchange-traits.h
  20. include/soci/firebird/soci-firebird.h
  21. include/soci/into-type.h
  22. include/soci/into.h
  23. include/soci/logger.h
  24. include/soci/mysql/soci-mysql.h
  25. include/soci/noreturn.h
  26. include/soci/odbc/soci-odbc.h
  27. include/soci/once-temp-type.h
  28. include/soci/postgresql/soci-postgresql.h
  29. include/soci/prepare-temp-type.h
  30. include/soci/procedure.h
  31. include/soci/query_transformation.h
  32. include/soci/ref-counted-prepare-info.h
  33. include/soci/ref-counted-statement.h
  34. include/soci/row-exchange.h
  35. include/soci/row.h
  36. include/soci/rowid-exchange.h
  37. include/soci/rowid.h
  38. include/soci/rowset.h
  39. include/soci/session.h
  40. include/soci/soci-backend.h
  41. include/soci/soci-config.h
  42. include/soci/soci-platform.h
  43. include/soci/soci-simple.h
  44. include/soci/soci.h
  45. include/soci/sqlite3/soci-sqlite3.h
  46. include/soci/statement.h
  47. include/soci/transaction.h
  48. include/soci/type-conversion-traits.h
  49. include/soci/type-conversion.h
  50. include/soci/type-holder.h
  51. include/soci/type-ptr.h
  52. include/soci/type-wrappers.h
  53. include/soci/unsigned-types.h
  54. include/soci/use-type.h
  55. include/soci/use.h
  56. include/soci/values-exchange.h
  57. include/soci/values.h
  58. include/soci/version.h
  59. lib/cmake/SOCI/SOCIConfig.cmake
  60. lib/cmake/SOCI/SOCIConfigVersion.cmake
  61. lib/cmake/SOCI/SOCITargets-release.cmake
  62. lib/cmake/SOCI/SOCITargets.cmake
  63. lib/libsoci_core.a
  64. lib/libsoci_core.so
  65. lib/libsoci_core.so.4.0
  66. lib/libsoci_core.so.4.0.3
  67. lib/libsoci_empty.a
  68. lib/libsoci_empty.so
  69. lib/libsoci_empty.so.4.0
  70. lib/libsoci_empty.so.4.0.3
  71. lib/libsoci_firebird.a
  72. lib/libsoci_firebird.so
  73. lib/libsoci_firebird.so.4.0
  74. lib/libsoci_firebird.so.4.0.3
  75. lib/libsoci_mysql.a
  76. lib/libsoci_mysql.so
  77. lib/libsoci_mysql.so.4.0
  78. lib/libsoci_mysql.so.4.0.3
  79. lib/libsoci_odbc.a
  80. lib/libsoci_odbc.so
  81. lib/libsoci_odbc.so.4.0
  82. lib/libsoci_odbc.so.4.0.3
  83. lib/libsoci_postgresql.a
  84. lib/libsoci_postgresql.so
  85. lib/libsoci_postgresql.so.4.0
  86. lib/libsoci_postgresql.so.4.0.3
  87. lib/libsoci_sqlite3.a
  88. lib/libsoci_sqlite3.so
  89. lib/libsoci_sqlite3.so.4.0
  90. lib/libsoci_sqlite3.so.4.0.3
  91. @owner
  92. @group
  93. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • soci>0:databases/soci
To install the port:
cd /usr/ports/databases/soci/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/soci
  • pkg install soci
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: soci
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1644601909 SHA256 (SOCI-soci-v4.0.3_GH0.tar.gz) = 4b1ff9c8545c5d802fbe06ee6cd2886630e5c03bf740e269bb625b45cf934928 SIZE (SOCI-soci-v4.0.3_GH0.tar.gz) = 508750

Packages (timestamps in pop-ups are UTC):
soci
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.0.3_124.0.3_123.2.2_184.0.3_124.0.3_12-3.2.2_18-
FreeBSD:13:quarterly4.0.3_124.0.3_124.0.3_54.0.3_124.0.3_12-4.0.3_64.0.3_6
FreeBSD:14:latest4.0.3_124.0.3_124.0.3_34.0.3_124.0.3_12--4.0.3_5
FreeBSD:14:quarterly4.0.3_124.0.3_12-4.0.3_124.0.3_12-4.0.3_64.0.3_6
FreeBSD:15:latest4.0.3_124.0.3_12n/a4.0.3_12n/a-4.0.3_74.0.3_8
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Library dependencies:
  1. libboost_date_time.so : devel/boost-libs
  2. libodbc.so : databases/unixODBC
  3. libfbclient.so : databases/firebird30-client
  4. libmysqlclient.so.21 : databases/mysql80-client
  5. libpq.so.5 : databases/postgresql17-client
  6. libsqlite3.so : databases/sqlite3
This port is required by:
for Libraries
  1. devel/RStudio
  2. net/liblinphone
  3. security/lime

Configuration Options:
===> The following configuration options are available for soci-4.0.3_12: BOOST=on: Enable support for additional types using Boost FIREBIRD=on: Firebird (Interbase) database support MYSQL=on: MySQL database support ODBC=on: ODBC database backend PGSQL=on: PostgreSQL database support SQLITE=on: SQLite database support ===> Use 'make config' to modify these settings
Options name:
databases_soci
USES:
cmake compiler:c++11-lang firebird mysql pgsql sqlite
pkg-message:
For install:
If you use dynamically loaded backends, you have to set the environment variable SOCI_BACKENDS_PATH to /usr/local/lib
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/SOCI/soci/tar.gz/v4.0.3?dummy=/
Collapse this list.

There are no commits on branch 2023Q3 for this port