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

Collapse All | Expand All

(-)b/MOVED (-1 lines)
Lines 10158-10164 audio/abcmidi||2018-06-07|Has expired: Broken for more than 6 months Link Here
10158
benchmarks/netpipe||2018-06-07|Has expired: Broken for more than 6 months
10158
benchmarks/netpipe||2018-06-07|Has expired: Broken for more than 6 months
10159
science/orthanc||2018-06-07|Has expired: Broken for more than 3 months
10159
science/orthanc||2018-06-07|Has expired: Broken for more than 3 months
10160
science/orthanc-dicomweb||2018-06-07|Removed, depends on expired science/orthanc
10160
science/orthanc-dicomweb||2018-06-07|Removed, depends on expired science/orthanc
10161
science/orthanc-postgresql||2018-06-07|Removed, depends on expired science/orthanc
10162
science/orthanc-webviewer||2018-06-07|Removed, depends on expired science/orthanc
10161
science/orthanc-webviewer||2018-06-07|Removed, depends on expired science/orthanc
10163
graphics/libkface||2018-06-09|Has expired: No longer maintained upstream
10162
graphics/libkface||2018-06-09|Has expired: No longer maintained upstream
10164
math/scilab-toolbox-sivp||2018-06-09|Has expired: Cannot build with newer opencv
10163
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 (+51 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=	libgdcmCommon.so:devel/gdcm \
23
		libboost_filesystem.so:devel/boost-libs \
24
		libjsoncpp.so:devel/jsoncpp \
25
		libpugixml.so:textproc/pugixml \
26
		libgtest.so:devel/googletest
27
RUN_DEPENDS=	Orthanc:science/orthanc
28
29
USES=		cmake compiler:c++11-lang pgsql localbase python:build ssl
30
31
WRKSRC=		${WRKDIR}/OrthancPostgreSQL-${PORTVERSION}
32
CMAKE_SOURCE_PATH=	${WRKSRC}/PostgreSQL
33
CMAKE_ARGS=	-DUSE_SYSTEM_UUID=OFF \
34
		-DUSE_SYSTEM_ORTHANC_SDK=OFF \
35
		-DORTHANC_FRAMEWORK_SOURCE=path \
36
		-DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources \
37
		-DBUILD_UNIT_TESTS=OFF
38
CXXFLAGS+=	-I${LOCALBASE}/include \
39
		-DNDEBUG
40
LDFLAGS+=	-L${LOCALBASE}/lib
41
CFLAGS+=	-DORTHANC_ENABLE_LOGGING_PLUGIN \
42
		-DNDEBUG
43
USE_LDCONFIG=	yes
44
45
post-extract:
46
		${MKDIR} ${WRKSRC}/PostgreSQL/ThirdPartyDownloads
47
		${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads
48
		${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.9.3.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads
49
		${TAR} -C ${WRKSRC}/PostgreSQL/ThirdPartyDownloads -xf ${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3.tar.gz
50
51
.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