FreeBSD Bugzilla – Attachment 214830 Details for
Bug 242546
[REVIVE] science/orthanc: Orthanc is a DICOM server for healthcare and medical research
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
orthanc-1.6.1
orthanc.shar (text/plain), 11.75 KB, created by
Frank Scholl
on 2020-05-25 06:08:40 UTC
(
hide
)
Description:
orthanc-1.6.1
Filename:
MIME Type:
Creator:
Frank Scholl
Created:
2020-05-25 06:08:40 UTC
Size:
11.75 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># orthanc ># orthanc/pkg-descr ># orthanc/pkg-plist ># orthanc/files ># orthanc/files/orthanc.in ># orthanc/files/patch-Resources_Configuration.json ># orthanc/files/patch-CMakeLists.txt ># orthanc/Makefile ># orthanc/distinfo ># >echo c - orthanc >mkdir -p orthanc > /dev/null 2>&1 >echo x - orthanc/pkg-descr >sed 's/^X//' >orthanc/pkg-descr << '032a5e628b4bf82a0ccfdb5e40185fd1' >XOrthanc aims at providing a simple, yet powerful standalone DICOM server. It >Xis designed to improve the DICOM flows in hospitals and to support research >Xabout the automated analysis of medical images. Orthanc lets its users focus >Xon the content of the DICOM files, hiding the complexity of the DICOM format >Xand of the DICOM protocol. >X >XOrthanc can turn any computer running Windows, Linux, FreeBSD or OS X into a >XDICOM store (in other words, a mini-PACS system). Its architecture is >Xlightweight and standalone, meaning that no complex database administration >Xis required, nor the installation of third-party dependencies. >X >XWhat makes Orthanc unique is the fact that it provides a RESTful API. Thanks >Xto this major feature, it is possible to drive Orthanc from any computer >Xlanguage. The DICOM tags of the stored medical images can be downloaded in >Xthe JSON file format. Furthermore, standard PNG images can be generated >Xon-the-fly from the DICOM instances by Orthanc. >X >XOrthanc also features a plugin mechanism to add new modules that extends the >Xcore capabilities of its REST API. A Web viewer, a PostgreSQL database >Xback-end, a MySQL database back-end, and a reference implementation of >XDICOMweb are currently freely available as plugins. >X >XWWW: https://www.orthanc-server.com/ >032a5e628b4bf82a0ccfdb5e40185fd1 >echo x - orthanc/pkg-plist >sed 's/^X//' >orthanc/pkg-plist << 'f55fa2a6da50a58c71d054925b57ab3b' >X@owner orthanc >X@group orthanc >X@mode 700 >X@dir %%DATADIR%%/plugins >X@dir /var/db/orthanc/db/db-v5 >X@dir /var/db/orthanc/db >X@dir /var/db/orthanc >X@mode 600 >X@sample %%ETCDIR%%/orthanc.json.sample >X@mode >Xinclude/orthanc/OrthancCDatabasePlugin.h >Xinclude/orthanc/OrthancCPlugin.h >Xbin/OrthancRecoverCompressedFile >Xsbin/Orthanc >Xetc/rc.d/orthanc >X%%DATADIR%%/plugins/%%LUA_LIBDIR%%ConnectivityChecks.so >X%%DATADIR%%/plugins/%%LUA_LIBDIR%%ConnectivityChecks.so.%%PORTVERSION%% >X%%DATADIR%%/plugins/%%LUA_LIBDIR%%ModalityWorklists.so >X%%DATADIR%%/plugins/%%LUA_LIBDIR%%ModalityWorklists.so.%%PORTVERSION%% >X%%DATADIR%%/plugins/%%LUA_LIBDIR%%ServeFolders.so >X%%DATADIR%%/plugins/%%LUA_LIBDIR%%ServeFolders.so.%%PORTVERSION%% >f55fa2a6da50a58c71d054925b57ab3b >echo c - orthanc/files >mkdir -p orthanc/files > /dev/null 2>&1 >echo x - orthanc/files/orthanc.in >sed 's/^X//' >orthanc/files/orthanc.in << '542f8b85dde137c99eef239bb81f6c33' >X#!/bin/sh >X >X# $FreeBSD$ >X# >X# PROVIDE: orthanc >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X# >X# Add these lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# orthanc_enable (bool): Set to NO by default. >X# Set it to YES to enable Orthanc. >X# orthanc_flags (str): Set to %%ETCDIR%%/orthanc.json >X# by default. >X >X. /etc/rc.subr >X >Xname=orthanc >Xrcvar=orthanc_enable >Xdesc="RESTful DICOM server for healthcare and medical research" >X >Xload_rc_config $name >X >X: ${orthanc_enable:=NO} >X: ${orthanc_flags="%%ETCDIR%%/orthanc.json"} >X >Xstart_precmd=orthanc_prestart >Xpidfile=/var/run/orthanc.pid >Xprocname=%%PREFIX%%/sbin/Orthanc >Xcommand=/usr/sbin/daemon >Xcommand_args=" -f -p ${pidfile} -u orthanc ${procname} ${orthanc_flags}" >X >Xorthanc_prestart() >X{ >X # Have to empty rc_flags so they don't get passed to daemon(8) >X rc_flags="" >X} >X >Xrun_rc_command "$1" >542f8b85dde137c99eef239bb81f6c33 >echo x - orthanc/files/patch-Resources_Configuration.json >sed 's/^X//' >orthanc/files/patch-Resources_Configuration.json << '386dabba8d1f60f59f2dacbedd21e854' >X--- Resources/Configuration.json.orig 2020-03-18 12:12:46 UTC >X+++ Resources/Configuration.json >X@@ -10,12 +10,12 @@ >X // Path to the directory that holds the heavyweight files (i.e. the >X // raw DICOM instances). Backslashes must be either escaped by >X // doubling them, or replaced by forward slashes "/". >X- "StorageDirectory" : "OrthancStorage", >X+ "StorageDirectory" : "/var/db/orthanc/db-v5", >X >X // Path to the directory that holds the SQLite index (if unset, the >X // value of StorageDirectory is used). This index could be stored on >X // a RAM-drive or a SSD device for performance reasons. >X- "IndexDirectory" : "OrthancStorage", >X+ "IndexDirectory" : "/var/db/orthanc/db-v5", >X >X // Path to the directory where Orthanc stores its large temporary >X // files. The content of this folder can be safely deleted if >X@@ -53,6 +53,7 @@ >X // find shared libraries. Backslashes must be either escaped by >X // doubling them, or replaced by forward slashes "/". >X "Plugins" : [ >X+ "%%PREFIX%%/share/orthanc/plugins/" >X ], >X >X // Maximum number of processing jobs that are simultaneously running >386dabba8d1f60f59f2dacbedd21e854 >echo x - orthanc/files/patch-CMakeLists.txt >sed 's/^X//' >orthanc/files/patch-CMakeLists.txt << '569a43c1e3e0c4fbd905ea19cc72ac75' >X--- CMakeLists.txt.orig 2020-04-01 15:55:47 UTC >X+++ CMakeLists.txt >X@@ -519,8 +519,8 @@ if (ENABLE_PLUGINS AND BUILD_CONNECTIVITY_CHECKS) >X list(GET CMAKE_FIND_LIBRARY_PREFIXES 0 Prefix) >X list(GET CMAKE_FIND_LIBRARY_SUFFIXES 0 Suffix) >X install(FILES >X- ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix} >X- ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix}.${ORTHANC_VERSION} >X+ ${CMAKE_CURRENT_BINARY_DIR}/ConnectivityChecks-build/${Prefix}ConnectivityChecks${Suffix} >X+ ${CMAKE_CURRENT_BINARY_DIR}/ConnectivityChecks-build/${Prefix}ConnectivityChecks${Suffix}.${ORTHANC_VERSION} >X DESTINATION "share/orthanc/plugins") >X endif() >X endif() >569a43c1e3e0c4fbd905ea19cc72ac75 >echo x - orthanc/Makefile >sed 's/^X//' >orthanc/Makefile << 'bf1a1e0ee6e4db7a3b78b6b48849190d' >X# Created by: maintainer.freebsd@xpoundit.com >X# $FreeBSD$ >X >XPORTNAME= orthanc >XPORTVERSION= 1.6.1 >XPORTREVISION= 0 >XCATEGORIES= science >XMASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/orthanc/:main \ >X http://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty >XDISTFILES= Orthanc-${PORTVERSION}.tar.gz:main \ >X civetweb-1.12-fixed.tar.gz:thirdparty \ >X e2fsprogs-1.44.5.tar.gz:thirdparty \ >X dicom-web/bootstrap-4.3.1.zip:thirdparty \ >X dicom-web/vuejs-2.6.10.tar.gz:thirdparty \ >X dicom-web/axios-0.19.0.tar.gz:thirdparty \ >X jquery-3.4.1.min.js:thirdparty >XDIST_SUBDIR= ${PORTNAME} >XEXTRACT_ONLY= Orthanc-${PORTVERSION}.tar.gz >X >XMAINTAINER= maintainer.freebsd@xpoundit.com >XCOMMENT= Orthanc is a DICOM server for healthcare and medical research >X >XLICENSE= GPLv3 >XLICENSE_FILE= ${WRKSRC}/COPYING >X >XLIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ >X libboost_chrono.so:devel/boost-libs \ >X libboost_date_time.so:devel/boost-libs \ >X libboost_filesystem.so:devel/boost-libs \ >X libboost_locale.so:devel/boost-libs \ >X libboost_regex.so:devel/boost-libs \ >X libboost_system.so:devel/boost-libs \ >X libboost_thread.so:devel/boost-libs \ >X libcharls.so:graphics/dcmtk \ >X libcmr.so:graphics/dcmtk \ >X libcurl.so:ftp/curl \ >X libdcmdata.so:graphics/dcmtk \ >X libdcmdsig.so:graphics/dcmtk \ >X libdcmfg.so:graphics/dcmtk \ >X libdcmimage.so:graphics/dcmtk \ >X libdcmimgle.so:graphics/dcmtk \ >X libdcmiod.so:graphics/dcmtk \ >X libdcmjpeg.so:graphics/dcmtk \ >X libdcmjpls.so:graphics/dcmtk \ >X libdcmnet.so:graphics/dcmtk \ >X libdcmpmap.so:graphics/dcmtk \ >X libdcmpstat.so:graphics/dcmtk \ >X libdcmqrdb.so:graphics/dcmtk \ >X libdcmrt.so:graphics/dcmtk \ >X libdcmseg.so:graphics/dcmtk \ >X libdcmsr.so:graphics/dcmtk \ >X libdcmtls.so:graphics/dcmtk \ >X libdcmtract.so:graphics/dcmtk \ >X libdcmwlm.so:graphics/dcmtk \ >X libgtest.so:devel/googletest \ >X libgtest_main.so:devel/googletest \ >X libi2d.so:graphics/dcmtk \ >X libicudata.so:devel/icu \ >X libicui18n.so:devel/icu \ >X libicuuc.so:devel/icu \ >X libijg12.so:graphics/dcmtk \ >X libijg16.so:graphics/dcmtk \ >X libijg8.so:graphics/dcmtk \ >X libjbig.so:graphics/jbigkit \ >X libjpeg.so:graphics/jpeg-turbo \ >X libjsoncpp.so:devel/jsoncpp \ >X libnghttp2.so:www/libnghttp2 \ >X liboflog.so:graphics/dcmtk \ >X libofstd.so:graphics/dcmtk \ >X libpng16.so:graphics/png \ >X libpugixml.so:textproc/pugixml \ >X libsqlite3.so:databases/sqlite3 \ >X libtiff.so:graphics/tiff \ >X libuuid.so:misc/e2fsprogs-libuuid \ >X libxml2.so:textproc/libxml2 >X >XUSES= cmake dos2unix jpeg lua:51 python:build ssl >X >XWRKSRC= ${WRKDIR}/Orthanc-${PORTVERSION} >XCMAKE_ARGS= -DDCMTK_LIBRARIES="dcmdsig;charls;dcmjpls" \ >X -DDCMTK_DIR="${LOCALBASE}" \ >X -DDCMTK_DICTIONARY_DIR="${LOCALBASE}/share/dcmtk" \ >X -DUSE_SYSTEM_CIVETWEB=OFF \ >X -DUSE_SYSTEM_UUID=OFF \ >X -DUNIT_TESTS_WITH_HTTP_CONNEXIONS=OFF >XCFLAGS+= -I${LOCALBASE}/include \ >X -DNDEBUG >XCXXFLAGS+= -DNDEBUG >XDOS2UNIX_FILES= CMakeLists.txt >XUSE_LDCONFIG= yes >XUSE_RC_SUBR= orthanc >XUSERS= orthanc >XGROUPS= orthanc >XPLIST_SUB+= PORTVERSION=${PORTVERSION} >X >Xpost-patch: >X ${MKDIR} ${WRKSRC}/ThirdPartyDownloads >X ${MKDIR} ${WRKSRC}/Plugins/Samples/ConnectivityChecks/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/civetweb-1.12-fixed.tar.gz ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/dicom-web/bootstrap-4.3.1.zip ${WRKSRC}/Plugins/Samples/ConnectivityChecks/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/dicom-web/vuejs-2.6.10.tar.gz ${WRKSRC}/Plugins/Samples/ConnectivityChecks/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/dicom-web/axios-0.19.0.tar.gz ${WRKSRC}/Plugins/Samples/ConnectivityChecks/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/jquery-3.4.1.min.js ${WRKSRC}/Plugins/Samples/ConnectivityChecks/ThirdPartyDownloads >X # Orthanc hardcodes /usr/local paths for libs and includes. >X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/*.cmake >X >Xpost-install: >X ${MKDIR} ${STAGEDIR}/var/db/orthanc/db/db-v5 >X ${MKDIR} ${STAGEDIR}${DATADIR}/plugins >X ${MKDIR} ${STAGEDIR}${ETCDIR} >X ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Resources/Configuration.json >X ${CP} ${WRKSRC}/Resources/Configuration.json ${STAGEDIR}${ETCDIR}/orthanc.json.sample >X ${STRIP_CMD} ${STAGEDIR}${DATADIR}/plugins/libServeFolders.so.${PORTVERSION} >X >X.include <bsd.port.mk> >bf1a1e0ee6e4db7a3b78b6b48849190d >echo x - orthanc/distinfo >sed 's/^X//' >orthanc/distinfo << '5841c696afd33aad8b05426dbef4f5ab' >XTIMESTAMP = 1588925141 >XSHA256 (orthanc/Orthanc-1.6.1.tar.gz) = 86f6e1a79bc93f082fd5243dd4daaf5a2ea05fcdf515cf35f100829c5fe5c4df >XSIZE (orthanc/Orthanc-1.6.1.tar.gz) = 1633929 >XSHA256 (orthanc/civetweb-1.12-fixed.tar.gz) = 0e81fc252166302a33abd68e98936fb24d9b008b5816fe50edd6b12256768e41 >XSIZE (orthanc/civetweb-1.12-fixed.tar.gz) = 3035855 >XSHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc >XSIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237 >XSHA256 (orthanc/dicom-web/bootstrap-4.3.1.zip) = c7fcae50c070250e4e1ae36a670e5ee8fe9d529eb3f1a03c527f8223ce3f61bc >XSIZE (orthanc/dicom-web/bootstrap-4.3.1.zip) = 2705432 >XSHA256 (orthanc/dicom-web/vuejs-2.6.10.tar.gz) = e3d900cd9266b5bed9bb6d575fc9ab6787e79e7ad21c01ee1277bff5453121f2 >XSIZE (orthanc/dicom-web/vuejs-2.6.10.tar.gz) = 1576461 >XSHA256 (orthanc/dicom-web/axios-0.19.0.tar.gz) = 29577c6085b090b4e4a99392fcdd582fb6bbcb49b2aaf2cc7b7fa3874529b380 >XSIZE (orthanc/dicom-web/axios-0.19.0.tar.gz) = 125193 >XSHA256 (orthanc/jquery-3.4.1.min.js) = 0925e8ad7bd971391a8b1e98be8e87a6971919eb5b60c196485941c3c1df089a >XSIZE (orthanc/jquery-3.4.1.min.js) = 88145 >5841c696afd33aad8b05426dbef4f5ab >exit >
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 Raw
Actions:
View
Attachments on
bug 242546
:
209831
|
214830
|
215799
|
215907
|
217005
|
217069
|
217125
|
217126
|
217732
|
225062
|
225335
|
225590
|
225634