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

Collapse All | Expand All

(-)b/science/orthanc-mysql/Makefile (+46 lines)
Added Link Here
1
# Created by: maintainer.freebsd@xpoundit.com
2
3
PORTNAME=	orthanc-mysql
4
DISTVERSION=	4.0
5
CATEGORIES=	science
6
MASTER_SITES=	https://www.orthanc-server.com/downloads/get.php?path=/plugin-mysql/:main \
7
		https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \
8
		https://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty
9
DISTFILES=	OrthancMySQL-${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=	OrthancMySQL-${PORTVERSION}.tar.gz
14
15
MAINTAINER=	maintainer.freebsd@xpoundit.com
16
COMMENT=	Orthanc plugin to use MySQL or MariaDB 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
		libcurl.so:ftp/curl \
24
		libgdcmCommon.so:devel/gdcm \
25
		libjsoncpp.so:devel/jsoncpp \
26
		libpugixml.so:textproc/pugixml
27
RUN_DEPENDS=	Orthanc:science/orthanc
28
29
USES=		cmake localbase mysql:client python:build ssl
30
USE_LDCONFIG=	yes
31
32
WRKSRC=		${WRKDIR}/OrthancMySQL-${PORTVERSION}
33
CMAKE_SOURCE_PATH=	${WRKSRC}/MySQL
34
CMAKE_OFF=	DBUILD_UNIT_TESTS USE_SYSTEM_ORTHANC_SDK USE_SYSTEM_UUID
35
CMAKE_ARGS=	-DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/MySQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources \
36
		-DORTHANC_FRAMEWORK_SOURCE=path
37
CXXFLAGS+=	-I${LOCALBASE}/include -DNDEBUG
38
CFLAGS+=	-DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG
39
40
post-extract:
41
		${MKDIR} ${WRKSRC}/MySQL/ThirdPartyDownloads
42
		${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/MySQL/ThirdPartyDownloads
43
		${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.9.3.tar.gz ${WRKSRC}/MySQL/ThirdPartyDownloads
44
		${TAR} -C ${WRKSRC}/MySQL/ThirdPartyDownloads -xf ${WRKSRC}/MySQL/ThirdPartyDownloads/Orthanc-1.9.3.tar.gz
45
46
.include <bsd.port.mk>
(-)b/science/orthanc-mysql/distinfo (+7 lines)
Added Link Here
1
TIMESTAMP = 1620905033
2
SHA256 (orthanc/OrthancMySQL-4.0.tar.gz) = 9420b7d3293768778fc4f60cc7d72c0e15c1287bead98f6c3a9beddf6865a09a
3
SIZE (orthanc/OrthancMySQL-4.0.tar.gz) = 318342
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-mysql/pkg-descr (+5 lines)
Added Link Here
1
Orthanc can be extended with two plugins that replace the default SQLite
2
engine of Orthanc with a MySQL back-end. These plugins are compatible with
3
MariaDB as well.
4
5
WWW: https://www.orthanc-server.com/static.php?page=mysql
(-)b/science/orthanc-mysql/pkg-plist (+4 lines)
Added Link Here
1
share/orthanc/plugins/libOrthancMySQLIndex.so
2
share/orthanc/plugins/libOrthancMySQLIndex.so.4.0
3
share/orthanc/plugins/libOrthancMySQLStorage.so
4
share/orthanc/plugins/libOrthancMySQLStorage.so.4.0

Return to bug 242552