Index: head/databases/clickhouse/Makefile =================================================================== --- head/databases/clickhouse/Makefile (revision 463955) +++ head/databases/clickhouse/Makefile (revision 463956) @@ -1,91 +1,92 @@ # Created by: proler@gmail.com # $FreeBSD$ PORTNAME= clickhouse PORTVERSION= 1.1.54342 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -stable +PORTREVISION= 1 CATEGORIES= databases PATCH_SITES= https://github.com/proller/${GH_PROJECT}/commit/ PATCHFILES= 05b203574ae2.patch:-p1 MAINTAINER= proler@gmail.com COMMENT= ClickHouse is an column-oriented database management system LICENSE= APACHE20 BROKEN_FreeBSD_10= Builds but does not work ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= "Only supported on amd64" BUILD_DEPENDS= bash:shells/bash \ sparsehash>=0:devel/sparsehash \ cctz>=0:devel/cctz \ libdouble-conversion>=0:devel/libdouble-conversion LIB_DEPENDS= libtcmalloc.so:devel/google-perftools \ libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl \ libicudata.so:devel/icu \ libboost_program_options.so:devel/boost-libs \ libzookeeper_mt.so:devel/libzookeeper \ libre2.so:devel/re2 \ libzstd.so:archivers/zstd \ liblz4.so:archivers/liblz4 \ libPocoNet.so:devel/poco \ libcpuid.so:sysutils/libcpuid \ libunwind.so:devel/libunwind \ librdkafka.so:net/librdkafka \ libgtest.so:devel/googletest USES= compiler:c++14-lang cmake iconv mysql ssl readline USE_LDCONFIG= yes CMAKE_ARGS= -DUNBUNDLED=1 \ -DUSE_STATIC_LIBRARIES=0 \ -DNO_WERROR=1 \ -DENABLE_TESTS=0 \ -DCXX11_ABI= \ -DCOMPILER_FLAGS="-DLZ4_DISABLE_DEPRECATE_WARNINGS=1" USE_GITHUB= yes GH_ACCOUNT= yandex GH_PROJECT= ClickHouse USE_RC_SUBR= ${PORTNAME} USERS= clickhouse GROUPS= clickhouse SOVERSION= ${PORTVERSION} PLIST_SUB= SOVERSION=${SOVERSION} .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 BUILD_DEPENDS+= clang50:devel/llvm50 CC= clang50 CXX= clang++50 .endif post-patch: @${REINPLACE_CMD} -e 's|/var/lib/clickhouse|/var/db/clickhouse|;s|/var/log/clickhouse-server|/var/log/clickhouse|;s|/etc/clickhouse-server|${PREFIX}/etc/clickhouse-server|' ${WRKSRC}/dbms/src/Server/config.xml post-install: @${RM} ${STAGEDIR}${PREFIX}/bin/clickhouse-compressor @${RM} ${STAGEDIR}${PREFIX}/bin/config-processor @${RM} ${STAGEDIR}${PREFIX}/bin/corrector_utf8 @${RM} -r ${STAGEDIR}${PREFIX}/include/gtest @${RM} ${STAGEDIR}${PREFIX}/lib/libgtest* ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/etc/clickhouse-client/config.xml \ ${STAGEDIR}${PREFIX}/etc/clickhouse-client/config.xml.sample ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/etc/clickhouse-server/config.xml \ ${STAGEDIR}${PREFIX}/etc/clickhouse-server/config.xml.sample ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/etc/clickhouse-server/users.xml \ ${STAGEDIR}${PREFIX}/etc/clickhouse-server/users.xml.sample @${MKDIR} ${STAGEDIR}/var/db/clickhouse @${MKDIR} ${STAGEDIR}/var/log/clickhouse @${MKDIR} ${STAGEDIR}/var/run/clickhouse .include Index: head/devel/googlemock/Makefile =================================================================== --- head/devel/googlemock/Makefile (revision 463955) +++ head/devel/googlemock/Makefile (revision 463956) @@ -1,45 +1,45 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= googlemock DISTVERSIONPREFIX= release- -DISTVERSION= 1.8.0-450 -DISTVERSIONSUFFIX= -g5490beb +DISTVERSION= 1.8.0-712 +DISTVERSIONSUFFIX= -g9bda90b CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org COMMENT= Library for writing and using C++ mock classes LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/share/aclocal/ax_pthread.m4:devel/autoconf-archive \ googletest>=1.8.0:devel/googletest LIB_DEPENDS= libgtest.so:devel/googletest USE_GITHUB= yes GH_ACCOUNT= google GH_PROJECT= googletest USES= autoreconf libtool localbase python:run shebangfix SHEBANG_FILES= scripts/gmock_doctor.py WRKSRC_SUBDIR= ${PORTNAME} GNU_CONFIGURE= yes # fused-src python tests are only useful for bundling. There's no point in # running them before installing system-wide without source files. CONFIGURE_ENV= ac_cv_path_PYTHON=":" TEST_TARGET= check INSTALL_TARGET= install-strip USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} '/acx_pthread.m4/d' ${WRKSRC}/configure.ac # enable vendor make install again (revert 52277c9) @${REINPLACE_CMD} -E 's/install-(exec|data)-local/&-dummy/' \ ${WRKSRC}/Makefile.am post-install: ${INSTALL_SCRIPT} ${WRKSRC}/scripts/gmock-config ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/scripts/gmock_doctor.py ${STAGEDIR}${PREFIX}/bin .include Index: head/devel/googlemock/distinfo =================================================================== --- head/devel/googlemock/distinfo (revision 463955) +++ head/devel/googlemock/distinfo (revision 463956) @@ -1,3 +1,3 @@ -TIMESTAMP = 1513908603 -SHA256 (google-googletest-release-1.8.0-450-g5490beb_GH0.tar.gz) = d66fee8f7420048318d63342950927ce047c0030d56f0f86d3a3d87f91a91066 -SIZE (google-googletest-release-1.8.0-450-g5490beb_GH0.tar.gz) = 950107 +TIMESTAMP = 1520457288 +SHA256 (google-googletest-release-1.8.0-712-g9bda90b_GH0.tar.gz) = edddf29136d95c595ce7596ddf7aa1b402f6a6254e634b45f29116d7aaf9f937 +SIZE (google-googletest-release-1.8.0-712-g9bda90b_GH0.tar.gz) = 966266 Index: head/devel/googletest/Makefile =================================================================== --- head/devel/googletest/Makefile (revision 463955) +++ head/devel/googletest/Makefile (revision 463956) @@ -1,37 +1,37 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= googletest DISTVERSIONPREFIX= release- -DISTVERSION= 1.8.0-450 -DISTVERSIONSUFFIX= -g5490beb +DISTVERSION= 1.8.0-712 +DISTVERSIONSUFFIX= -g9bda90b CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org COMMENT= Framework for writing C++ tests on a variety of platforms LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= google USES= autoreconf libtool WRKSRC_SUBDIR= ${PORTNAME} GNU_CONFIGURE= yes # fused-src python tests are only useful for bundling. There's no point in # running them before installing system-wide without source files. CONFIGURE_ENV= ac_cv_path_PYTHON=":" TEST_TARGET= check INSTALL_TARGET= install-strip USE_LDCONFIG= yes post-patch: # enable vendor make install again (revert 661758e) @${REINPLACE_CMD} -E 's/install-(exec|data)-local/&-dummy/' \ ${WRKSRC}/Makefile.am post-install: ${INSTALL_SCRIPT} ${WRKSRC}/scripts/gtest-config ${STAGEDIR}${PREFIX}/bin .include Index: head/devel/googletest/distinfo =================================================================== --- head/devel/googletest/distinfo (revision 463955) +++ head/devel/googletest/distinfo (revision 463956) @@ -1,3 +1,3 @@ -TIMESTAMP = 1513908603 -SHA256 (google-googletest-release-1.8.0-450-g5490beb_GH0.tar.gz) = d66fee8f7420048318d63342950927ce047c0030d56f0f86d3a3d87f91a91066 -SIZE (google-googletest-release-1.8.0-450-g5490beb_GH0.tar.gz) = 950107 +TIMESTAMP = 1520457288 +SHA256 (google-googletest-release-1.8.0-712-g9bda90b_GH0.tar.gz) = edddf29136d95c595ce7596ddf7aa1b402f6a6254e634b45f29116d7aaf9f937 +SIZE (google-googletest-release-1.8.0-712-g9bda90b_GH0.tar.gz) = 966266 Index: head/devel/googletest/files/patch-bsd-defines =================================================================== --- head/devel/googletest/files/patch-bsd-defines (revision 463955) +++ head/devel/googletest/files/patch-bsd-defines (revision 463956) @@ -1,196 +1,196 @@ o Add DragonFly and GNU/kFreeBSD support o Implement GetThreadCount() for BSDs o Work around StreamingListenerTest with GCC 4.2 --- include/gtest/internal/gtest-port-arch.h.orig 2017-09-23 23:21:02 UTC +++ include/gtest/internal/gtest-port-arch.h @@ -67,6 +67,10 @@ # if TARGET_OS_IPHONE # define GTEST_OS_IOS 1 # endif +#elif defined __DragonFly__ +# define GTEST_OS_DRAGONFLY 1 +#elif defined(__GLIBC__) && defined(__FreeBSD_kernel__) +# define GTEST_OS_GNU_KFREEBSD 1 #elif defined __FreeBSD__ # define GTEST_OS_FREEBSD 1 #elif defined __Fuchsia__ --- include/gtest/internal/gtest-port.h.orig 2017-09-23 23:21:02 UTC +++ include/gtest/internal/gtest-port.h @@ -121,7 +121,9 @@ // // GTEST_OS_AIX - IBM AIX // GTEST_OS_CYGWIN - Cygwin +// GTEST_OS_DRAGONFLY - DragonFly // GTEST_OS_FREEBSD - FreeBSD +// GTEST_OS_GNU_KFREEBSD - GNU/kFreeBSD // GTEST_OS_FUCHSIA - Fuchsia // GTEST_OS_HPUX - HP-UX // GTEST_OS_LINUX - Linux -@@ -610,6 +612,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SE +@@ -623,6 +625,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SE // to your compiler flags. - #define GTEST_HAS_PTHREAD \ - (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX || GTEST_OS_QNX || \ -+ GTEST_OS_GNU_KFREEBSD || GTEST_OS_DRAGONFLY || GTEST_OS_OPENBSD || \ + #define GTEST_HAS_PTHREAD \ + (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX || GTEST_OS_QNX || \ ++ GTEST_OS_GNU_KFREEBSD || GTEST_OS_DRAGONFLY || GTEST_OS_OPENBSD || \ GTEST_OS_FREEBSD || GTEST_OS_NACL || GTEST_OS_NETBSD || GTEST_OS_FUCHSIA) #endif // GTEST_HAS_PTHREAD @@ -803,7 +806,8 @@ using ::std::tuple_size; (GTEST_OS_MAC && !GTEST_OS_IOS) || \ (GTEST_OS_WINDOWS_DESKTOP && _MSC_VER >= 1400) || \ GTEST_OS_WINDOWS_MINGW || GTEST_OS_AIX || GTEST_OS_HPUX || \ - GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD || GTEST_OS_NETBSD) + GTEST_OS_GNU_KFREEBSD || GTEST_OS_DRAGONFLY || GTEST_OS_NETBSD || \ + GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD) # define GTEST_HAS_DEATH_TEST 1 #endif @@ -835,7 +839,8 @@ using ::std::tuple_size; (GTEST_OS_WINDOWS || GTEST_OS_CYGWIN || GTEST_OS_SYMBIAN || GTEST_OS_AIX) // Determines whether test results can be streamed to a socket. -#if GTEST_OS_LINUX +#if GTEST_OS_LINUX || GTEST_OS_GNU_KFREEBSD || GTEST_OS_DRAGONFLY || \ + GTEST_OS_FREEBSD || GTEST_OS_NETBSD || GTEST_OS_OPENBSD # define GTEST_CAN_STREAM_RESULTS_ 1 #endif --- src/gtest-port.cc.orig 2017-09-23 23:21:02 UTC +++ src/gtest-port.cc @@ -52,6 +52,14 @@ # include #endif // GTEST_OS_MAC +#if GTEST_OS_DRAGONFLY || GTEST_OS_FREEBSD || GTEST_OS_GNU_KFREEBSD || \ + GTEST_OS_NETBSD || GTEST_OS_OPENBSD +# include +# if GTEST_OS_DRAGONFLY || GTEST_OS_FREEBSD || GTEST_OS_GNU_KFREEBSD +# include +# endif +#endif + #if GTEST_OS_QNX # include # include @@ -131,6 +139,80 @@ size_t GetThreadCount() { } } +#elif GTEST_OS_DRAGONFLY || GTEST_OS_FREEBSD || GTEST_OS_GNU_KFREEBSD || \ + GTEST_OS_NETBSD + +#if GTEST_OS_NETBSD +#undef KERN_PROC +#define KERN_PROC KERN_PROC2 +#define kinfo_proc kinfo_proc2 +#endif + +#if GTEST_OS_DRAGONFLY +#define KP_NLWP(kp) (kp.kp_nthreads) +#elif GTEST_OS_FREEBSD || GTEST_OS_GNU_KFREEBSD +#define KP_NLWP(kp) (kp.ki_numthreads) +#elif GTEST_OS_NETBSD +#define KP_NLWP(kp) (kp.p_nlwps) +#endif + +// Returns the number of threads running in the process, or 0 to indicate that +// we cannot detect it. +size_t GetThreadCount() { + int mib[] = { + CTL_KERN, + KERN_PROC, + KERN_PROC_PID, + getpid(), +#if GTEST_OS_NETBSD + sizeof(struct kinfo_proc), + 1, +#endif + }; + u_int miblen = sizeof(mib) / sizeof(mib[0]); + struct kinfo_proc info; + size_t size = sizeof(info); + if (sysctl(mib, miblen, &info, &size, NULL, 0)) { + return 0; + } + return KP_NLWP(info); +} +#elif GTEST_OS_OPENBSD + +// Returns the number of threads running in the process, or 0 to indicate that +// we cannot detect it. +size_t GetThreadCount() { + int mib[] = { + CTL_KERN, + KERN_PROC, + KERN_PROC_PID | KERN_PROC_SHOW_THREADS, + getpid(), + sizeof(struct kinfo_proc), + 0, + }; + u_int miblen = sizeof(mib) / sizeof(mib[0]); + + // get number of structs + size_t size; + if (sysctl(mib, miblen, NULL, &size, NULL, 0)) { + return 0; + } + mib[5] = size / mib[4]; + + // populate array of structs + struct kinfo_proc info[mib[5]]; + if (sysctl(mib, miblen, &info, &size, NULL, 0)) { + return 0; + } + + // exclude empty members + int nthreads = 0; + for (int i = 0; i < size / mib[4]; i++) { + if (info[i].p_tid != -1) + nthreads++; + } + return nthreads; +} #elif GTEST_OS_QNX // Returns the number of threads running in the process, or 0 to indicate that --- src/gtest.cc.orig 2017-09-23 23:21:02 UTC +++ src/gtest.cc @@ -127,7 +127,7 @@ #endif #if GTEST_CAN_STREAM_RESULTS_ -# include // NOLINT +# include // NOLINT # include // NOLINT # include // NOLINT # include // NOLINT --- test/gtest-port_test.cc.orig 2017-09-23 23:21:02 UTC +++ test/gtest-port_test.cc @@ -304,7 +304,8 @@ TEST(FormatCompilerIndependentFileLocationTest, Format EXPECT_EQ("unknown file", FormatCompilerIndependentFileLocation(NULL, -1)); } -#if GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_QNX +#if GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_QNX || GTEST_OS_DRAGONFLY || \ + GTEST_OS_FREEBSD || GTEST_OS_GNU_KFREEBSD || GTEST_OS_NETBSD || GTEST_OS_OPENBSD void* ThreadFunc(void* data) { internal::Mutex* mutex = static_cast(data); mutex->Lock(); --- test/gtest_unittest.cc.orig 2017-09-23 23:21:02 UTC +++ test/gtest_unittest.cc @@ -118,6 +118,7 @@ TEST_F(StreamingListenerTest, OnTestIterationEnd) { EXPECT_EQ("event=TestIterationEnd&passed=1&elapsed_time=0ms\n", *output()); } +#if GTEST_LANG_CXX11 // workaround breakage with GCC 4.2 TEST_F(StreamingListenerTest, OnTestCaseStart) { *output() = ""; streamer_.OnTestCaseStart(TestCase("FooTest", "Bar", NULL, NULL)); @@ -129,6 +130,7 @@ TEST_F(StreamingListenerTest, OnTestCaseEnd) { streamer_.OnTestCaseEnd(TestCase("FooTest", "Bar", NULL, NULL)); EXPECT_EQ("event=TestCaseEnd&passed=1&elapsed_time=0ms\n", *output()); } +#endif TEST_F(StreamingListenerTest, OnTestStart) { *output() = ""; Index: head/emulators/dolphin-emu/Makefile =================================================================== --- head/emulators/dolphin-emu/Makefile (revision 463955) +++ head/emulators/dolphin-emu/Makefile (revision 463956) @@ -1,82 +1,82 @@ # Created by: Ganael Laplanche # $FreeBSD$ PORTNAME= dolphin-emu PORTVERSION= 5.0 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Gamecube and Wii Emulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt # Notes on dependencies: # - keep enet from Externals as Dolphin's version diverges # - xxhash and SOIL are not (yet?) in ports and built from Externals # - skip ALSA (emulated), ao (buggy) and bluez support LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libportaudio.so:audio/portaudio \ liblzo2.so:archivers/lzo2 \ libpng.so:graphics/png \ libSoundTouch.so:audio/soundtouch \ libsfml-system.so:devel/sfml \ libminiupnpc.so:net/miniupnpc \ libmbedtls.so:security/mbedtls \ libcurl.so:ftp/curl \ libgtest.so:devel/googletest USES= cmake compiler:c++11-lib iconv openal pkgconfig USE_GITHUB= yes GH_PROJECT= dolphin USE_GL= gl glew glu USE_GNOME= atk cairo glib20 gdkpixbuf2 gtk20 pango USE_SDL= sdl2 USE_WX= 3.0+ USE_XORG= ice sm x11 xext xi xrandr CMAKE_ARGS+= -DTRY_X11:BOOL=ON \ -DUSE_UPNP:BOOL=ON \ -DDISABLE_WX:BOOL=OFF \ -DUSE_SHARED_GTEST:BOOL=ON \ -DENABLE_PCH:BOOL=OFF \ -DCMAKE_REQUIRED_INCLUDES:PATH="${LOCALBASE}/include" \ -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON # XXX Bypass git check (and set a dummy -unused- revision) CMAKE_ARGS+= -DDOLPHIN_WC_BRANCH:STRING="stable" \ -DDOLPHIN_WC_REVISION:STRING="1" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_ON= -DDISABLE_NLS:BOOL=OFF NLS_CMAKE_OFF= -DDISABLE_NLS:BOOL=ON .include # JIT-enabled binaries are amd64 only .if ${ARCH} != "amd64" CMAKE_ARGS+= -DENABLE_GENERIC:BOOL=ON .endif # When building with GCC, needs GCC 4.9+ .if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} < 49 USE_GCC= yes # Enable std::stoul() CXXFLAGS+= -D_GLIBCXX_USE_C99 # Enable log2f(), exp2f() and roundf() CXXFLAGS+= -D_GLIBCXX_USE_C99_MATH_TR1 # Turn on extra long double versions of math functions, needed for cmath CXXFLAGS+= -D__ISO_C_VISIBLE=1999 -D_DECLARE_C99_LDBL_MATH .endif .include Index: head/science/libkml/Makefile =================================================================== --- head/science/libkml/Makefile (revision 463955) +++ head/science/libkml/Makefile (revision 463956) @@ -1,44 +1,44 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= libkml PORTVERSION= 1.3.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= science MAINTAINER= sunpoet@FreeBSD.org COMMENT= Reference implementation of OGC KML 2.2 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= fails to compile: iomem_simple.h: redefinition of typedef 'open_file_func' BUILD_DEPENDS= boost-libs>=1.44.0:devel/boost-libs \ googletest>=1.7.0:devel/googletest \ minizip>=1.2.8:archivers/minizip LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ libgtest.so:devel/googletest \ libminizip.so:archivers/minizip \ liburiparser.so:net/uriparser OPTIONS_DEFINE= EXAMPLES CMAKE_OFF= WITH_JAVA WITH_PYTHON WITH_SWIG USE_CXXSTD= gnu++98 USE_LDCONFIG= yes USES= cmake pathfix PORTEXAMPLES= * USE_GITHUB= yes EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES INSTALL_EXAMPLES EXAMPLES_CMAKE_ON= -DKML_EXAMPLES_DIR=${EXAMPLESDIR} EXAMPLES_LIB_DEPENDS= libcurl.so:ftp/curl post-patch-EXAMPLES-on: @${REINPLACE_CMD} -e 's|DESTINATION examples/|DESTINATION $${KML_EXAMPLES_DIR}/|' ${WRKSRC}/examples/*/CMakeLists.txt .include Index: head/science/orthanc/Makefile =================================================================== --- head/science/orthanc/Makefile (revision 463955) +++ head/science/orthanc/Makefile (revision 463956) @@ -1,90 +1,90 @@ # Created by: mp39590@gmail.com # $FreeBSD$ PORTNAME= orthanc PORTVERSION= 1.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science graphics net www MASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/orthanc/:main \ http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/:mongoose DISTFILES= Orthanc-${PORTVERSION}.tar.gz:main \ mongoose-3.8.tgz:mongoose DIST_SUBDIR= ${PORTNAME} MAINTAINER= mp39590@gmail.com COMMENT= RESTful DICOM server for healthcare and medical research # GPLv3 license, with the OpenSSL exception. LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN= fails to build with boost 1.66, see bug 224177 BROKEN_powerpc64= fails to configure: CMake: Looking for C++ include pugixml.hpp - not found LIB_DEPENDS= libcurl.so:ftp/curl \ libjsoncpp.so:devel/jsoncpp \ libuuid.so:misc/e2fsprogs-libuuid \ libboost_filesystem.so:devel/boost-libs \ libboost_thread.so:devel/boost-libs \ libboost_system.so:devel/boost-libs \ libboost_date_time.so:devel/boost-libs \ libboost_regex.so:devel/boost-libs \ libboost_locale.so:devel/boost-libs \ libdcmdsig.so:devel/dcmtk \ libcharls.so:devel/dcmtk \ libdcmjpls.so:devel/dcmtk \ libsqlite3.so:databases/sqlite3 \ libpng.so:graphics/png \ libgtest.so:devel/googletest \ libpugixml.so:textproc/pugixml CMAKE_ARGS= -DDCMTK_LIBRARIES="dcmdsig;charls;dcmjpls" \ -DDCMTK_DIR="${LOCALBASE}" \ -DDCMTK_DICTIONARY_DIR="${LOCALBASE}/share/dcmtk" \ -DUSE_SYSTEM_MONGOOSE=OFF \ -DUNIT_TESTS_WITH_HTTP_CONNEXIONS=OFF USES= cmake:outsource dos2unix jpeg lua:51 python:build ssl CFLAGS+= -I${LOCALBASE}/include DOS2UNIX_FILES= CMakeLists.txt USE_LDCONFIG= yes USE_RC_SUBR= orthanc WRKSRC= ${WRKDIR}/Orthanc-${PORTVERSION} USERS= orthanc GROUPS= orthanc PLIST_SUB+= PORTVERSION=${PORTVERSION} # This is mongoose sources, downloaded from Orthanc author homepage. Orthanc # requires mongoose webserver, but after version 3.8, mongoose developers has # changed the license from MIT to GPLv2 only. This action made illegal to # combine new mongoose versions with GPLv3 only Orthanc. # We download sources manually and pass USE_SYSTEM_MONGOOSE=OFF to Orthanc # cmake variables to tell that mongoose is not presented on the host OS and # should be build together with the software instead. # https://www.mail-archive.com/mongoose-users@googlegroups.com/msg00625.html post-patch: ${MKDIR} ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/mongoose-3.8.tgz ${WRKSRC}/ThirdPartyDownloads # Orthanc hardcodes /usr/local paths for libs and includes. @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/*.cmake # There is no way to disable building of test units without a patch, on other # hand it brings only one build dependency (devel/googletest) and running it was # helpful in early bug detection in Debian. # Some tests require connections to be made to the outside world, this is # definitely unsupported behaviour and therefor those tests are disabled with # cmake variable above (-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=OFF). # # Tests run is temporary disabled: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215393 #post-build: # @cd ${BUILD_WRKSRC} && ./UnitTests post-install: ${MKDIR} ${STAGEDIR}/var/db/orthanc/db/db-v5 ${MKDIR} ${STAGEDIR}${DATADIR}/plugins ${MKDIR} ${STAGEDIR}${ETCDIR} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Resources/Configuration.json ${CP} ${WRKSRC}/Resources/Configuration.json ${STAGEDIR}${ETCDIR}/orthanc.json.sample ${STRIP_CMD} ${STAGEDIR}${DATADIR}/plugins/libServeFolders.so.${PORTVERSION} .include Index: head/science/orthanc-dicomweb/Makefile =================================================================== --- head/science/orthanc-dicomweb/Makefile (revision 463955) +++ head/science/orthanc-dicomweb/Makefile (revision 463956) @@ -1,43 +1,43 @@ # Created by: mp39590@gmail.com # $FreeBSD$ PORTNAME= orthanc-dicomweb PORTVERSION= 0.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science net MASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-dicom-web/ DISTNAME= OrthancDicomWeb-${PORTVERSION} DIST_SUBDIR= orthanc MAINTAINER= mp39590@gmail.com COMMENT= WADO and DICOMweb support for Orthanc LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc LIB_DEPENDS= libgdcmCommon.so:devel/gdcm \ libboost_filesystem.so:devel/boost-libs \ libboost_thread.so:devel/boost-libs \ libboost_system.so:devel/boost-libs \ libboost_date_time.so:devel/boost-libs \ libboost_regex.so:devel/boost-libs \ libboost_locale.so:devel/boost-libs \ libjsoncpp.so:devel/jsoncpp \ libuuid.so:misc/e2fsprogs-libuuid \ libpugixml.so:textproc/pugixml \ libgtest.so:devel/googletest USES= cmake:outsource localbase python:build WRKSRC= ${WRKDIR}/OrthancDicomWeb-${PORTVERSION} PLIST_FILES= share/orthanc/plugins/libOrthancDicomWeb.so \ share/orthanc/plugins/libOrthancDicomWeb.so.${PORTVERSION} post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Orthanc/Resources/CMake/*.cmake do-test: @cd ${BUILD_WRKSRC} && ./UnitTests .include Index: head/science/orthanc-webviewer/Makefile =================================================================== --- head/science/orthanc-webviewer/Makefile (revision 463955) +++ head/science/orthanc-webviewer/Makefile (revision 463956) @@ -1,55 +1,55 @@ # Created by: mp39590@gmail.com # $FreeBSD$ PORTNAME= orthanc-webviewer PORTVERSION= 2.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science graphics MASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-webviewer/:main \ http://www.orthanc-server.com/downloads/third-party/WebViewer/:thirdparty DISTFILES= OrthancWebViewer-${PORTVERSION}.tar.gz:main \ jsPanel-2.3.3-fixed.zip:thirdparty \ cornerstone-0.11.0.zip:thirdparty \ jquery-ui-1.11.3.zip:thirdparty \ pako-0.2.5.zip:thirdparty \ js-url-1.8.6.zip:thirdparty DIST_SUBDIR= orthanc MAINTAINER= mp39590@gmail.com COMMENT= Web viewer plugin for Orthanc LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc \ gtest-config:devel/googletest LIB_DEPENDS= libgdcmCommon.so:devel/gdcm \ libboost_system.so:devel/boost-libs \ libboost_thread.so:devel/boost-libs \ libboost_filesystem.so:devel/boost-libs \ libjsoncpp.so:devel/jsoncpp \ libsqlite3.so:databases/sqlite3 \ libuuid.so:misc/e2fsprogs-libuuid \ libgtest.so:devel/googletest USES= cmake:outsource localbase python:build WRKSRC= ${WRKDIR}/OrthancWebViewer-${PORTVERSION} PLIST_FILES= share/orthanc/plugins/libOrthancWebViewer.so \ share/orthanc/plugins/libOrthancWebViewer.so.${PORTVERSION} post-extract: ${MKDIR} ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/jsPanel-2.3.3-fixed.zip ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/cornerstone-0.11.0.zip ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/jquery-ui-1.11.3.zip ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/pako-0.2.5.zip ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/js-url-1.8.6.zip ${WRKSRC}/ThirdPartyDownloads post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Orthanc/Resources/CMake/*.cmake post-build: @cd ${BUILD_WRKSRC} && ./UnitTests .include Index: head/security/certificate-transparency/Makefile =================================================================== --- head/security/certificate-transparency/Makefile (revision 463955) +++ head/security/certificate-transparency/Makefile (revision 463956) @@ -1,40 +1,40 @@ # Created by: Edward Tomasz Napierala # $FreeBSD$ PORTNAME= certificate-transparency PORTVERSION= 20161015 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= security MAINTAINER= ports@FreeBSD.org COMMENT= Open framework for monitoring and auditing SSL certificates LICENSE= APACHE20 LIB_DEPENDS?= libevent.so:devel/libevent \ libevhtp.so:www/libevhtp \ libgtest.so:devel/googletest \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libgmock.so:devel/googlemock \ libicuuc.so:devel/icu \ libjson-c.so:devel/json-c \ libleveldb.so:databases/leveldb \ libobjecthash.so:devel/objecthash \ libprotobuf.so:devel/protobuf \ libsqlite3.so:databases/sqlite3 \ libtcmalloc.so:devel/google-perftools USES= autoreconf compiler:c++11-lib gmake pkgconfig GNU_CONFIGURE= yes CONFIGURE_ENV+= "CFLAGS+=-I${LOCALBASE}/include CXXFLAGS+=-lgtest CXXFLAGS+=-lgmock" MAKE_FLAGS+= "V=1" USE_GITHUB= yes GH_ACCOUNT= google GH_TAGNAME= 28478cb CPPFLAGS+= "-I${LOCALBASE}/include" CPPFLAGS+= "-I${LOCALBASE}/include/evhtp" LDFLAGS+= "-L${LOCALBASE}/lib" .include