FreeBSD Bugzilla – Attachment 209831 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]
.shar of the orthanc port.
orthanc.shar (text/plain), 8.07 KB, created by
Frank Scholl
on 2019-12-10 15:28:15 UTC
(
hide
)
Description:
.shar of the orthanc port.
Filename:
MIME Type:
Creator:
Frank Scholl
Created:
2019-12-10 15:28:15 UTC
Size:
8.07 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/files ># orthanc/files/orthanc.in ># orthanc/files/patch-Resources_Configuration.json ># orthanc/distinfo ># orthanc/pkg-plist ># orthanc/Makefile ># orthanc/pkg-descr ># >echo c - orthanc >mkdir -p orthanc > /dev/null 2>&1 >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 2017-07-19 11:10:48 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 // Enable the transparent compression of the DICOM instances >X "StorageCompression" : false, >X@@ -41,6 +41,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 >386dabba8d1f60f59f2dacbedd21e854 >echo x - orthanc/distinfo >sed 's/^X//' >orthanc/distinfo << '5841c696afd33aad8b05426dbef4f5ab' >XTIMESTAMP = 1573113678 >XSHA256 (orthanc/Orthanc-1.5.8.tar.gz) = da8aa4ce6e6942c8190e3910a595ee36555ed002e75c151395705bee25b73836 >XSIZE (orthanc/Orthanc-1.5.8.tar.gz) = 1561300 >XSHA256 (orthanc/civetweb-1.11.tar.gz) = de7d5e7a2d9551d325898c71e41d437d5f7b51e754b242af897f7be96e713a42 >XSIZE (orthanc/civetweb-1.11.tar.gz) = 11421650 >XSHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc >XSIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237 >5841c696afd33aad8b05426dbef4f5ab >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%%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 x - orthanc/Makefile >sed 's/^X//' >orthanc/Makefile << 'bf1a1e0ee6e4db7a3b78b6b48849190d' >X# Created by: maintainer.freebsd@xpoundit.com >X# $FreeBSD$ >X >XPORTNAME= orthanc >XPORTVERSION= 1.5.8 >XCATEGORIES= science >X >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.11.tar.gz:thirdparty \ >X e2fsprogs-1.44.5.tar.gz:thirdparty >XDIST_SUBDIR= ${PORTNAME} >X >XMAINTAINER= maintainer.freebsd@xpoundit.com >XCOMMENT= Orthanc is a Belgian, open-source, lightweight DICOM server for healthcare and medical research. >X >X# GPLv3 license, with the OpenSSL exception. >XLICENSE= GPLv3 >XLICENSE_FILE= ${WRKSRC}/COPYING >X >XLIB_DEPENDS= libcurl.so:ftp/curl \ >X libjsoncpp.so:devel/jsoncpp \ >X libboost_filesystem.so:devel/boost-libs \ >X libboost_thread.so:devel/boost-libs \ >X libboost_system.so:devel/boost-libs \ >X libboost_date_time.so:devel/boost-libs \ >X libboost_regex.so:devel/boost-libs \ >X libboost_locale.so:devel/boost-libs \ >X libdcmdsig.so:graphics/dcmtk \ >X libcharls.so:graphics/dcmtk \ >X libdcmjpls.so:graphics/dcmtk \ >X libsqlite3.so:databases/sqlite3 \ >X libpng.so:graphics/png \ >X libgtest.so:devel/googletest \ >X libpugixml.so:textproc/pugixml >X >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 >X >XUSES= cmake dos2unix jpeg lua:51 python:build ssl >XCFLAGS+= -I${LOCALBASE}/include >XDOS2UNIX_FILES= CMakeLists.txt >XUSE_LDCONFIG= yes >XUSE_RC_SUBR= orthanc >XWRKSRC= ${WRKDIR}/Orthanc-${PORTVERSION} >XUSERS= orthanc >XGROUPS= orthanc >XPLIST_SUB+= PORTVERSION=${PORTVERSION} >X >Xpost-patch: >X ${MKDIR} ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/civetweb-1.11.tar.gz ${WRKSRC}/ThirdPartyDownloads >X ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/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/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 >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