FreeBSD Bugzilla – Attachment 225339 Details for
Bug 242548
[REVIVE] science/orthanc-postgresql: Plugins to use PostgreSQL for indexing and storage in Orthanc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
orthanc-postgresql 4.0
science_orthanc-postgresql-4.0.diff (text/plain), 5.42 KB, created by
Frank Scholl
on 2021-05-28 17:15:05 UTC
(
hide
)
Description:
orthanc-postgresql 4.0
Filename:
MIME Type:
Creator:
Frank Scholl
Created:
2021-05-28 17:15:05 UTC
Size:
5.42 KB
patch
obsolete
>diff --git a/MOVED b/MOVED >index f90b41a2e0e9..6a613c5e17ff 100644 >--- a/MOVED >+++ b/MOVED >@@ -10157,7 +10157,6 @@ audio/abcmidi||2018-06-07|Has expired: Broken for more than 6 months > benchmarks/netpipe||2018-06-07|Has expired: Broken for more than 6 months > science/orthanc||2018-06-07|Has expired: Broken for more than 3 months > science/orthanc-dicomweb||2018-06-07|Removed, depends on expired science/orthanc >-science/orthanc-postgresql||2018-06-07|Removed, depends on expired science/orthanc > science/orthanc-webviewer||2018-06-07|Removed, depends on expired science/orthanc > graphics/libkface||2018-06-09|Has expired: No longer maintained upstream > math/scilab-toolbox-sivp||2018-06-09|Has expired: Cannot build with newer opencv >diff --git a/science/Makefile b/science/Makefile >index e0c5545b0e69..4c021062f5ad 100644 >--- a/science/Makefile >+++ b/science/Makefile >@@ -175,6 +175,7 @@ > SUBDIR += opensim-core > SUBDIR += opensph > SUBDIR += opsin >+ SUBDIR += orthanc-postgresql > SUBDIR += p5-Algorithm-SVMLight > SUBDIR += p5-Chemistry-3DBuilder > SUBDIR += p5-Chemistry-Bond-Find >diff --git a/science/orthanc-postgresql/Makefile b/science/orthanc-postgresql/Makefile >new file mode 100644 >index 000000000000..68d500f8b723 >--- /dev/null >+++ b/science/orthanc-postgresql/Makefile >@@ -0,0 +1,47 @@ >+# Created by: maintainer.freebsd@xpoundit.com >+ >+PORTNAME= orthanc-postgresql >+PORTVERSION= 4.0 >+CATEGORIES= science >+MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/plugin-postgresql/:main \ >+ https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ >+ https://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty >+DISTFILES= OrthancPostgreSQL-${PORTVERSION}.tar.gz:main \ >+ Orthanc-1.9.3.tar.gz:framework \ >+ e2fsprogs-1.44.5.tar.gz:thirdparty >+DIST_SUBDIR= orthanc >+EXTRACT_ONLY= OrthancPostgreSQL-${PORTVERSION}.tar.gz >+ >+MAINTAINER= maintainer.freebsd@xpoundit.com >+COMMENT= Orthanc plugin to use PostgreSQL for indexing or storage >+ >+LICENSE= AGPLv3 >+LICENSE_FILE= ${WRKSRC}/COPYING >+ >+BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCDatabasePlugin.h:science/orthanc >+LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ >+ libgdcmCommon.so:devel/gdcm \ >+ libjsoncpp.so:devel/jsoncpp \ >+ libpugixml.so:textproc/pugixml >+RUN_DEPENDS= Orthanc:science/orthanc >+ >+USES= cmake localbase pgsql:11+ python:build ssl >+USE_LDCONFIG= yes >+ >+WRKSRC= ${WRKDIR}/OrthancPostgreSQL-${PORTVERSION} >+ >+CMAKE_SOURCE_PATH= ${WRKSRC}/PostgreSQL >+CMAKE_OFF= BUILD_UNIT_TESTS USE_SYSTEM_ORTHANC_SDK USE_SYSTEM_UUID >+CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources \ >+ -DORTHANC_FRAMEWORK_SOURCE=path >+CXXFLAGS+= -I${LOCALBASE}/include -DNDEBUG >+LDFLAGS+= -L${LOCALBASE}/lib >+CFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG >+ >+post-extract: >+ ${MKDIR} ${WRKSRC}/PostgreSQL/ThirdPartyDownloads >+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads >+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.9.3.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads >+ ${TAR} -C ${WRKSRC}/PostgreSQL/ThirdPartyDownloads -xf ${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3.tar.gz >+ >+.include <bsd.port.mk> >diff --git a/science/orthanc-postgresql/distinfo b/science/orthanc-postgresql/distinfo >new file mode 100644 >index 000000000000..a438656c3e1d >--- /dev/null >+++ b/science/orthanc-postgresql/distinfo >@@ -0,0 +1,7 @@ >+TIMESTAMP = 1620906912 >+SHA256 (orthanc/OrthancPostgreSQL-4.0.tar.gz) = a5049ed8a5d6bb8b6529636cf1d9f631d1b61f6e0bbfdc6accae45aded42bac5 >+SIZE (orthanc/OrthancPostgreSQL-4.0.tar.gz) = 318047 >+SHA256 (orthanc/Orthanc-1.9.3.tar.gz) = 41cc35a3d15ecb0d7b834e8e28a740cc4ffa1f333c019a764228d60e96608960 >+SIZE (orthanc/Orthanc-1.9.3.tar.gz) = 1818313 >+SHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc >+SIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237 >diff --git a/science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt b/science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt >new file mode 100644 >index 000000000000..389ee26f4b28 >--- /dev/null >+++ b/science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt >@@ -0,0 +1,12 @@ >+--- PostgreSQL/CMakeLists.txt.orig 2021-05-17 12:24:06 UTC >++++ PostgreSQL/CMakeLists.txt >+@@ -23,6 +23,9 @@ set(OPENSSL_STATIC_VERSION "1.1.1" CACHE STRING "Force >+ >+ include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesPluginConfiguration.cmake) >+ >++set(CMAKE_CXX_STANDARD 11) >++set(CMAKE_CXX_STANDARD_REQUIRED ON) >++set(CMAKE_CXX_EXTENSIONS OFF) >+ >+ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") >+ execute_process( >diff --git a/science/orthanc-postgresql/pkg-descr b/science/orthanc-postgresql/pkg-descr >new file mode 100644 >index 000000000000..50adcae692c8 >--- /dev/null >+++ b/science/orthanc-postgresql/pkg-descr >@@ -0,0 +1,4 @@ >+Orthanc can be extended with two plugins that replace the default SQLite >+engine of Orthanc with a PostgreSQL back-end. >+ >+WWW: https://www.orthanc-server.com/static.php?page=postgresql >diff --git a/science/orthanc-postgresql/pkg-plist b/science/orthanc-postgresql/pkg-plist >new file mode 100644 >index 000000000000..c28eabfc4d2d >--- /dev/null >+++ b/science/orthanc-postgresql/pkg-plist >@@ -0,0 +1,4 @@ >+share/orthanc/plugins/libOrthancPostgreSQLIndex.so >+share/orthanc/plugins/libOrthancPostgreSQLIndex.so.4.0 >+share/orthanc/plugins/libOrthancPostgreSQLStorage.so >+share/orthanc/plugins/libOrthancPostgreSQLStorage.so.4.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
maintainer.freebsd
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 242548
:
209833
|
214832
|
215910
|
217275
|
225064
|
225339
|
225592
|
225647
|
225707