FreeBSD Bugzilla – Attachment 158939 Details for
Bug 201673
new port: science/orthanc-postgresql: PostgreSQL storage backend plugin for orthanc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shell archive
orthanc-postgresql.shar (text/plain), 5.30 KB, created by
mp39590
on 2015-07-18 13:16:32 UTC
(
hide
)
Description:
shell archive
Filename:
MIME Type:
Creator:
mp39590
Created:
2015-07-18 13:16:32 UTC
Size:
5.30 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-postgresql/ ># orthanc-postgresql/Makefile ># orthanc-postgresql/pkg-descr ># orthanc-postgresql/distinfo ># orthanc-postgresql/files ># orthanc-postgresql/files/patch-CMakeLists.txt ># >echo c - orthanc-postgresql/ >mkdir -p orthanc-postgresql/ > /dev/null 2>&1 >echo x - orthanc-postgresql/Makefile >sed 's/^X//' >orthanc-postgresql/Makefile << '5f975f5765c481986a0a0cc6c6280f9f' >X# Created by: mp39590@gmail.com >X# $FreeBSD$ >X >XPORTNAME= orthanc-portgresql >XPORTVERSION= 1.1 >XCATEGORIES= science graphics >XMASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-postgresql/ >XDISTNAME= OrthancPostgreSQL-${PORTVERSION} >XDIST_SUBDIR= orthanc >X >XMAINTAINER= mp39590@gmail.com >XCOMMENT= PostgreSQL plugin for Orthanc >X >XLICENSE= AGPLv3 >X >XBUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:${PORTSDIR}/science/orthanc >XLIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs \ >X libjsoncpp.so:${PORTSDIR}/devel/jsoncpp >X >X## UnitTests require running PostgreSQL server, so it's pointless to build/run them >XCMAKE_ARGS= -DBUILD_UNIT_TESTS=OFF >X >XCXXFLAGS+= -I${LOCALBASE}/include >XLDFLAGS+= -L${LOCALBASE}/lib >X >XUSES= cmake:outsource pgsql python:build >XWRKSRC= ${WRKDIR}/OrthancPostgreSQL-${PORTVERSION} >X >XPLIST_FILES= share/orthanc/plugins/libOrthancPostgreSQLIndex.so \ >X share/orthanc/plugins/libOrthancPostgreSQLIndex.so.${PORTVERSION} \ >X share/orthanc/plugins/libOrthancPostgreSQLStorage.so \ >X share/orthanc/plugins/libOrthancPostgreSQLStorage.so.${PORTVERSION} >X >Xpost-extract: >X # Orthanc hardcodes /usr/local paths for libs and includes. >X ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/Compiler.cmake >X ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/FindPostgreSQL.cmake >X ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/JsonCppConfiguration.cmake >X >X.include <bsd.port.mk> >5f975f5765c481986a0a0cc6c6280f9f >echo x - orthanc-postgresql/pkg-descr >sed 's/^X//' >orthanc-postgresql/pkg-descr << '64053f0fbc61f9359e342b6272095049' >XThe plugin replaces the default SQLite engine of Orthanc with a PostgreSQL back-end. >X >XWWW: http://www.orthanc-server.com/ >64053f0fbc61f9359e342b6272095049 >echo x - orthanc-postgresql/distinfo >sed 's/^X//' >orthanc-postgresql/distinfo << '09be478cf3c436d24a44f738a45df907' >XSHA256 (orthanc/OrthancPostgreSQL-1.1.tar.gz) = f68d98a1f282ad31ac3fde2ff11449db840a5daf8a9605f3a9d5678691bd9b84 >XSIZE (orthanc/OrthancPostgreSQL-1.1.tar.gz) = 56750 >09be478cf3c436d24a44f738a45df907 >echo c - orthanc-postgresql/files >mkdir -p orthanc-postgresql/files > /dev/null 2>&1 >echo x - orthanc-postgresql/files/patch-CMakeLists.txt >sed 's/^X//' >orthanc-postgresql/files/patch-CMakeLists.txt << 'd7ef1df17b36c9189b40cd5d5057ff3c' >X--- CMakeLists.txt.orig 2015-07-03 09:22:49 UTC >X+++ CMakeLists.txt >X@@ -32,6 +32,7 @@ set(USE_SYSTEM_JSONCPP ON CACHE BOOL "Us >X set(USE_SYSTEM_BOOST ON CACHE BOOL "Use the system version of Boost") >X set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") >X set(USE_SYSTEM_LIBPQ ON CACHE BOOL "Use the system version of the PostgreSQL client library") >X+set(BUILD_UNIT_TESTS ON CACHE BOOL "Build UnitTests") >X >X # Distribution-specific settings >X set(USE_GTEST_DEBIAN_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") >X@@ -47,7 +48,10 @@ include(${CMAKE_SOURCE_DIR}/Resources/CM >X include(${CMAKE_SOURCE_DIR}/Resources/CMake/BoostConfiguration.cmake) >X include(${CMAKE_SOURCE_DIR}/Resources/CMake/PostgreSQLConfiguration.cmake) >X include(${CMAKE_SOURCE_DIR}/Resources/CMake/JsonCppConfiguration.cmake) >X-include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake) >X+ >X+if (BUILD_UNIT_TESTS) >X+ include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake) >X+endif() >X >X >X # Check that the Orthanc SDK headers are available or download them >X@@ -123,14 +127,21 @@ set_target_properties(OrthancPostgreSQLI >X SOVERSION ${ORTHANC_POSTGRESQL_VERSION} >X ) >X >X+install( >X+ TARGETS OrthancPostgreSQLStorage OrthancPostgreSQLIndex >X+ RUNTIME DESTINATION lib # Destination for Windows >X+ LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux >X+) >X >X-add_executable(UnitTests >X- ${CORE_SOURCES} >X- ${GTEST_SOURCES} >X- ${AUTOGENERATED_SOURCES} >X- ${CMAKE_SOURCE_DIR}/IndexPlugin/PostgreSQLWrapper.cpp >X- ${CMAKE_SOURCE_DIR}/StoragePlugin/PostgreSQLStorageArea.cpp >X- ${CMAKE_SOURCE_DIR}/UnitTestsSources/UnitTestsMain.cpp >X- ${CMAKE_SOURCE_DIR}/UnitTestsSources/PostgreSQLTests.cpp >X- ${CMAKE_SOURCE_DIR}/UnitTestsSources/PostgreSQLWrapperTests.cpp >X- ) >X+if (BUILD_UNIT_TESTS) >X+ add_executable(UnitTests >X+ ${CORE_SOURCES} >X+ ${GTEST_SOURCES} >X+ ${AUTOGENERATED_SOURCES} >X+ ${CMAKE_SOURCE_DIR}/IndexPlugin/PostgreSQLWrapper.cpp >X+ ${CMAKE_SOURCE_DIR}/StoragePlugin/PostgreSQLStorageArea.cpp >X+ ${CMAKE_SOURCE_DIR}/UnitTestsSources/UnitTestsMain.cpp >X+ ${CMAKE_SOURCE_DIR}/UnitTestsSources/PostgreSQLTests.cpp >X+ ${CMAKE_SOURCE_DIR}/UnitTestsSources/PostgreSQLWrapperTests.cpp >X+ ) >X+endif() >d7ef1df17b36c9189b40cd5d5057ff3c >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 201673
: 158939 |
158940