View | Details | Raw Unified | Return to bug 242548 | Differences between
and this patch

Collapse All | Expand All

(-)b/MOVED (-1 lines)
Lines 10157-10163 audio/abcmidi||2018-06-07|Has expired: Broken for more than 6 months Link Here
10157
benchmarks/netpipe||2018-06-07|Has expired: Broken for more than 6 months
10157
benchmarks/netpipe||2018-06-07|Has expired: Broken for more than 6 months
10158
science/orthanc||2018-06-07|Has expired: Broken for more than 3 months
10158
science/orthanc||2018-06-07|Has expired: Broken for more than 3 months
10159
science/orthanc-dicomweb||2018-06-07|Removed, depends on expired science/orthanc
10159
science/orthanc-dicomweb||2018-06-07|Removed, depends on expired science/orthanc
10160
science/orthanc-postgresql||2018-06-07|Removed, depends on expired science/orthanc
10161
science/orthanc-webviewer||2018-06-07|Removed, depends on expired science/orthanc
10160
science/orthanc-webviewer||2018-06-07|Removed, depends on expired science/orthanc
10162
graphics/libkface||2018-06-09|Has expired: No longer maintained upstream
10161
graphics/libkface||2018-06-09|Has expired: No longer maintained upstream
10163
math/scilab-toolbox-sivp||2018-06-09|Has expired: Cannot build with newer opencv
10162
math/scilab-toolbox-sivp||2018-06-09|Has expired: Cannot build with newer opencv
(-)b/science/Makefile (+1 lines)
Lines 175-180 Link Here
175
    SUBDIR += opensim-core
175
    SUBDIR += opensim-core
176
    SUBDIR += opensph
176
    SUBDIR += opensph
177
    SUBDIR += opsin
177
    SUBDIR += opsin
178
    SUBDIR += orthanc-postgresql
178
    SUBDIR += p5-Algorithm-SVMLight
179
    SUBDIR += p5-Algorithm-SVMLight
179
    SUBDIR += p5-Chemistry-3DBuilder
180
    SUBDIR += p5-Chemistry-3DBuilder
180
    SUBDIR += p5-Chemistry-Bond-Find
181
    SUBDIR += p5-Chemistry-Bond-Find
(-)b/science/orthanc-postgresql/Makefile (+47 lines)
Added Link Here
1
# Created by: maintainer.freebsd@xpoundit.com
2
3
PORTNAME=	orthanc-postgresql
4
PORTVERSION=	4.0
5
CATEGORIES=	science
6
MASTER_SITES=	https://www.orthanc-server.com/downloads/get.php?path=/plugin-postgresql/:main \
7
		https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \
8
		https://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty
9
DISTFILES=	OrthancPostgreSQL-${PORTVERSION}.tar.gz:main \
10
		Orthanc-1.9.3.tar.gz:framework \
11
		e2fsprogs-1.44.5.tar.gz:thirdparty
12
DIST_SUBDIR=	orthanc
13
EXTRACT_ONLY=	OrthancPostgreSQL-${PORTVERSION}.tar.gz
14
15
MAINTAINER=	maintainer.freebsd@xpoundit.com
16
COMMENT=	Orthanc plugin to use PostgreSQL for indexing or storage
17
18
LICENSE=	AGPLv3
19
LICENSE_FILE=	${WRKSRC}/COPYING
20
21
BUILD_DEPENDS=	${LOCALBASE}/include/orthanc/OrthancCDatabasePlugin.h:science/orthanc
22
LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs \
23
		libgdcmCommon.so:devel/gdcm \
24
		libjsoncpp.so:devel/jsoncpp \
25
		libpugixml.so:textproc/pugixml
26
RUN_DEPENDS=	Orthanc:science/orthanc
27
28
USES=		cmake localbase pgsql:11+ python:build ssl
29
USE_LDCONFIG=	yes
30
31
WRKSRC=		${WRKDIR}/OrthancPostgreSQL-${PORTVERSION}
32
33
CMAKE_SOURCE_PATH=	${WRKSRC}/PostgreSQL
34
CMAKE_OFF=	BUILD_UNIT_TESTS USE_SYSTEM_ORTHANC_SDK USE_SYSTEM_UUID
35
CMAKE_ARGS=	-DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources \
36
		-DORTHANC_FRAMEWORK_SOURCE=path
37
CXXFLAGS+=	-I${LOCALBASE}/include -DNDEBUG
38
LDFLAGS+=	-L${LOCALBASE}/lib
39
CFLAGS+=	-DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG
40
41
post-extract:
42
		${MKDIR} ${WRKSRC}/PostgreSQL/ThirdPartyDownloads
43
		${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads
44
		${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.9.3.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads
45
		${TAR} -C ${WRKSRC}/PostgreSQL/ThirdPartyDownloads -xf ${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3.tar.gz
46
47
.include <bsd.port.mk>
(-)b/science/orthanc-postgresql/distinfo (+7 lines)
Added Link Here
1
TIMESTAMP = 1620906912
2
SHA256 (orthanc/OrthancPostgreSQL-4.0.tar.gz) = a5049ed8a5d6bb8b6529636cf1d9f631d1b61f6e0bbfdc6accae45aded42bac5
3
SIZE (orthanc/OrthancPostgreSQL-4.0.tar.gz) = 318047
4
SHA256 (orthanc/Orthanc-1.9.3.tar.gz) = 41cc35a3d15ecb0d7b834e8e28a740cc4ffa1f333c019a764228d60e96608960
5
SIZE (orthanc/Orthanc-1.9.3.tar.gz) = 1818313
6
SHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc
7
SIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237
(-)b/science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt (+12 lines)
Added Link Here
1
--- PostgreSQL/CMakeLists.txt.orig	2021-05-17 12:24:06 UTC
2
+++ PostgreSQL/CMakeLists.txt
3
@@ -23,6 +23,9 @@ set(OPENSSL_STATIC_VERSION "1.1.1" CACHE STRING "Force
4
 
5
 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesPluginConfiguration.cmake)
6
 
7
+set(CMAKE_CXX_STANDARD 11)
8
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
9
+set(CMAKE_CXX_EXTENSIONS OFF)
10
 
11
 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
12
   execute_process(
(-)b/science/orthanc-postgresql/pkg-descr (+4 lines)
Added Link Here
1
Orthanc can be extended with two plugins that replace the default SQLite
2
engine of Orthanc with a PostgreSQL back-end.
3
4
WWW: https://www.orthanc-server.com/static.php?page=postgresql
(-)b/science/orthanc-postgresql/pkg-plist (+4 lines)
Added Link Here
1
share/orthanc/plugins/libOrthancPostgreSQLIndex.so
2
share/orthanc/plugins/libOrthancPostgreSQLIndex.so.4.0
3
share/orthanc/plugins/libOrthancPostgreSQLStorage.so
4
share/orthanc/plugins/libOrthancPostgreSQLStorage.so.4.0

Return to bug 242548