diff --git a/astro/kosmindoormap/Makefile b/astro/kosmindoormap/Makefile index a964d2a5ab4e..1a64337a9fdf 100644 --- a/astro/kosmindoormap/Makefile +++ b/astro/kosmindoormap/Makefile @@ -1,19 +1,20 @@ PORTNAME= kosmindoormap DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= astro kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Library and QML component for rendering multi-level OSM indoor maps WWW= https://marble.kde.org/ LIB_DEPENDS= libprotobuf.so:devel/protobuf \ libKOpeningHours.so:devel/kopeninghours USES= bison cmake compiler:c++11-lang gettext kde:6 qt:6 tar:xz USE_KDE= coreaddons i18n kirigami2 kpublictransport service \ ecm:build USE_QT= base OPTIONS_DEFINE= DOCS .include diff --git a/astro/libosmpbf/Makefile b/astro/libosmpbf/Makefile index 1628bc130cdd..afd8689b9cd8 100644 --- a/astro/libosmpbf/Makefile +++ b/astro/libosmpbf/Makefile @@ -1,20 +1,21 @@ PORTNAME= libosmpbf PORTVERSION= 1.6.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= astro geography devel MAINTAINER= amdmi3@FreeBSD.org COMMENT= Library for handling binary OpenStreetMap data WWW= https://github.com/openstreetmap/OSM-binary LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= cmake compiler:c++17-lang USE_GITHUB= yes GH_ACCOUNT= openstreetmap GH_PROJECT= OSM-binary .include diff --git a/astro/marble/Makefile b/astro/marble/Makefile index 0a5581a3f433..8609ce55ef28 100644 --- a/astro/marble/Makefile +++ b/astro/marble/Makefile @@ -1,45 +1,46 @@ PORTNAME= marble DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= astro education kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Virtual globe and world atlas for KDE WWW= https://marble.kde.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= cmake compiler:c++11-lang desktop-file-utils gettext \ kde:6 qt:6 shared-mime-info tar:xz xorg USE_KDE= auth codecs completion config configwidgets coreaddons \ crash doctools i18n jobwidgets kio kirigami-addons package \ parts phonon plasma-workspace-wallpapers runner service solid \ sonnet textwidgets widgetsaddons windowsystem xmlgui \ ecm:build USE_LDCONFIG= yes USE_QT= base declarative positioning svg USE_XORG= x11 CMAKE_OFF= MOBILE # Override shared library version KDE_APPLICATIONS_SHLIB_VER= ${KDE_APPLICATIONS_SHLIB_G_VER} OPTIONS_DEFINE= DOCS GPS WEBENGINE OPTIONS_DEFAULT= GPS OPTIONS_DEFAULT_amd64= WEBENGINE OPTIONS_DEFAULT_i386= WEBENGINE OPTIONS_SUB= yes GPS_DESC= Support for GPS position provider GPS_USE= QT=location GPS_LIB_DEPENDS= libgps.so:astro/gpsd GPS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_libgps WEBENGINE_DESC= Build various plugins that require qt6-webengine WEBENGINE_USE= QT=location,webchannel,webengine WEBENGINE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineWidgets .include diff --git a/astro/merkaartor/Makefile b/astro/merkaartor/Makefile index 9a64b2de4004..722eda3ee0c5 100644 --- a/astro/merkaartor/Makefile +++ b/astro/merkaartor/Makefile @@ -1,63 +1,63 @@ PORTNAME= merkaartor PORTVERSION= 0.19.0 -PORTREVISION= 31 +PORTREVISION= 32 CATEGORIES= astro MAINTAINER= dev2@heesakkers.info COMMENT= Openstreetmap mapping program WWW= http://merkaartor.be/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgdal.so:graphics/gdal \ libproj.so:graphics/proj \ libquazip1-qt5.so:archivers/quazip@qt5 USES= compiler:c++11-lang gnome pkgconfig qmake qt:5 sqlite:3 USE_GITHUB= yes GH_ACCOUNT= openstreetmap USE_LDCONFIG= yes QMAKE_ARGS= SYSTEM_QUAZIP=1 USE_QT= buildtools:build \ concurrent core gui imageformats network printsupport svg \ webengine widgets xml OPTIONS_DEFINE= DEBUG GEOIMAGE NLS PROTOBUF ZBAR OPTIONS_DEFAULT= GEOIMAGE GEOIMAGE_DESC= Enable geotagged images (needs exiv2) GEOIMAGE_QMAKE_ON= GEOIMAGE=1 GEOIMAGE_LIB_DEPENDS= libexiv2.so:graphics/exiv2 PROTOBUF_DESC= Protobuf Binary Format support PROTOBUF_QMAKE_ON= PROTOBUF=1 PROTOBUF_LIB_DEPENDS= libprotobuf.so:devel/protobuf ZBAR_DESC= Read barcodes from walking papers (BROKEN) ZBAR_QMAKE_ON= ZBAR=1 ZBAR_LIB_DEPENDS= libzbar.so:graphics/zbar # graphics/zbar needs to be built with Qt support (and needs a Qt5 version) ZBAR_BROKEN= Does not build with option ZBAR selected DEBUG_QMAKE_OFF= NODEBUG=1 RELEASE=1 NLS_USES= qt:5 NLS_USE= QT=linguisttools:build OPTIONS_SUB= yes pre-build-NLS-on: @cd ${WRKSRC}/translations && ${LRELEASE} ../src/src.pro pre-build-PROTOBUF-on: @cd ${WRKSRC}/src/ImportExport && ${LOCALBASE}/bin/protoc --cpp_out=. \ fileformat.proto osmformat.proto post-install-NLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/translations @(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} "merkaartor_*.qm" \ ${STAGEDIR}${DATADIR}/translations) .include diff --git a/audio/mixxx/Makefile b/audio/mixxx/Makefile index 6ee5c2d4e011..312cff227269 100644 --- a/audio/mixxx/Makefile +++ b/audio/mixxx/Makefile @@ -1,104 +1,104 @@ PORTNAME= mixxx DISTVERSION= 2.5.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= acm@FreeBSD.org COMMENT= DJ mixing application WWW= https://mixxx.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= benchmark>0:devel/benchmark \ googletest>0:devel/googletest \ lv2>=1.14.0:audio/lv2 \ microsoft-gsl>0:devel/microsoft-gsl LIB_DEPENDS= libabsl_base.so:devel/abseil \ libchromaprint.so:audio/chromaprint \ libFLAC.so:audio/flac \ libfftw3.so:math/fftw3 \ libhidapi.so:comms/hidapi \ libid3tag.so:audio/libid3tag \ libmad.so:audio/libmad \ libmodplug.so:audio/libmodplug \ libportaudio.so:audio/portaudio \ libSoundTouch.so:audio/soundtouch \ librubberband.so:audio/rubberband \ libsndfile.so:audio/libsndfile \ libogg.so:audio/libogg \ libvorbisfile.so:audio/libvorbis \ libtag.so:audio/taglib \ libprotobuf.so:devel/protobuf \ liblilv-0.so:audio/lilv \ libportmidi.so:audio/portmidi \ libupower-glib.so:sysutils/upower \ libkeyfinder.so:audio/libkeyfinder \ libmp3lame.so:audio/lame \ libxkbcommon.so:x11/libxkbcommon USES= cmake:testing compiler:c++20-lang ebur128 gl iconv ninja pkgconfig \ qt:6 sqlite ssl xorg USE_QT= 5compat base declarative shadertools sqldriver-sqlite:run svg \ tools:build USE_XORG= ice sm x11 xext USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= mixxxdj CMAKE_ARGS+= -DINSTALL_USER_UDEV_RULES:BOOL=OFF \ -DOPTIMIZE:STRING=portable \ -DBATTERY:BOOL=OFF \ -DMODPLUG:BOOL=ON \ -DMAD:BOOL=ON \ -DQT6=ON PORTDOCS= * OPTIONS_DEFINE= AAC BROADCAST DOCS ENGINEPRIME FFMPEG GPERFTOOLS HID OPUS \ QTKEYCHAIN WAVPACK OPTIONS_DEFAULT= BROADCAST FFMPEG HID OPUS QTKEYCHAIN WAVPACK OPTIONS_SUB= yes AAC_DESC= AAC (m4a and mp4) support AAC_CMAKE_BOOL= FAAD AAC_LIB_DEPENDS= libfaad.so:audio/faad \ libmp4v2.so:multimedia/mp4v2 BROADCAST_DESC= Live Broadcasting (Shoutcast) support #BROADCAST_LIB_DEPENDS= libshout-idjc.so:audio/shout-idjc BROADCAST_CMAKE_BOOL= BROADCAST ENGINEPRIME_DESC= Denon Engine Prime library export support ENGINEPRIME_LIB_DEPENDS= libdjinterop.so:audio/libdjinterop ENGINEPRIME_CMAKE_BOOL= ENGINEPRIME FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= FFMPEG GPERFTOOLS_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools GPERFTOOLS_CMAKE_BOOL= GPERFTOOLS HID_DESC= USB HID controllers support HID_CMAKE_BOOL= HID OPUS_LIB_DEPENDS= libopus.so:audio/opus \ libopusfile.so:audio/opusfile OPUS_CMAKE_BOOL= OPUS QTKEYCHAIN_DESC= Secure credentials storage for Live Broadcasting profiles QTKEYCHAIN_CMAKE_BOOL= QTKEYCHAIN QTKEYCHAIN_LIB_DEPENDS= libqt6keychain.so:security/qtkeychain@qt6 WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CMAKE_BOOL= WAVPACK post-patch: @${REINPLACE_CMD} -e "s|^Exec=.*|Exec=mixxx|" \ ${WRKSRC}/res/linux/org.mixxx.Mixxx.desktop @${REINPLACE_CMD} -e "s,(Q_OS_LINUX),(Q_OS_LINUX) || defined(Q_OS_FREEBSD),g" \ ${WRKSRC}/src/util/screensaver.h .for i in midi/midimessage.h @${ECHO_CMD} >> ${WRKSRC}/src/controllers/${i} .endfor .include diff --git a/audio/mumble-server/Makefile b/audio/mumble-server/Makefile index 64d553b22231..18b7089c4d58 100644 --- a/audio/mumble-server/Makefile +++ b/audio/mumble-server/Makefile @@ -1,73 +1,73 @@ PORTNAME= mumble DISTVERSION= 1.5.857 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio net MASTER_SITES= https://github.com/${PORTNAME}-voip/${PORTNAME}/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= -server MAINTAINER= vvd@FreeBSD.org COMMENT= Server component of Mumble WWW= https://www.mumble.info/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= boost-libs>0:devel/boost-libs LIB_DEPENDS= libabsl_base.so:devel/abseil \ libprotobuf.so:devel/protobuf USES= cmake compiler:c++17-lang pkgconfig python:build qt:5 ssl USE_CXXSTD= c++17 USE_QT= buildtools:build core dbus network qmake:build sql xml USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX:S|-|_|} CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 CMAKE_ON= server CMAKE_OFF= client CXXFLAGS+= -Wno-deprecated-declarations SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}" USERS= ${PORTNAME}${PKGNAMESUFFIX} GROUPS= ${USERS} PLIST_SUB= GROUPS=${GROUPS} PORTDOCS= README.md README.static.linux SECURITY.md OPTIONS_DEFINE= AVAHI DOCS ICE LTO OPTIONS_DEFAULT= AVAHI LTO MYSQL SQLITE OPTIONS_MULTI= SQL OPTIONS_MULTI_SQL= MYSQL PGSQL SQLITE ICE_DESC= Ice Support AVAHI_LIB_DEPENDS= libdns_sd.so:net/avahi-libdns AVAHI_CMAKE_BOOL= zeroconf ICE_LIB_DEPENDS= libIce.so:devel/ice37 ICE_CMAKE_BOOL= ice LTO_CMAKE_BOOL= lto MYSQL_USE= QT=sql-mysql:run PGSQL_USE= QT=sql-pgsql:run SQLITE_USE= QT=sql-sqlite3:run do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${WRKSRC}/docs/additional-readmes/README.static.linux ${WRKSRC} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install: ${REINPLACE_CMD} -e '\ s|database=.*|database=/var/db/mumble-server/mumble-server.sqlite| ; \ s|;pidfile=.*|pidfile=/var/run/mumble-server/mumble-server.pid| ; \ s|;logfile=.*|logfile=/var/log/mumble-server/mumble-server.log|' \ ${STAGEDIR}${ETCDIR}/mumble-server.ini ${MV} ${STAGEDIR}${ETCDIR}/mumble-server.ini \ ${STAGEDIR}${ETCDIR}/mumble-server.ini.sample ${RM} ${STAGEDIR}${PREFIX}/bin/mumble-server-user-wrapper \ ${STAGEDIR}${PREFIX}/share/man/man1/mumble-server-user-wrapper.1 .include diff --git a/audio/mumble/Makefile b/audio/mumble/Makefile index 9112286edbf4..2678c8046770 100644 --- a/audio/mumble/Makefile +++ b/audio/mumble/Makefile @@ -1,111 +1,112 @@ PORTNAME= mumble DISTVERSION= 1.5.857 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://github.com/${PORTNAME}-voip/${PORTNAME}/releases/download/v${DISTVERSION}/ PATCH_SITES= https://github.com/${PORTNAME}-voip/${PORTNAME}/commit/ # Disable overlay xcompile on ARM64: # https://github.com/mumble-voip/mumble/issues/6971 # https://github.com/mumble-voip/mumble/pull/6978 PATCHFILES+= 3265e3e20728387f3bc81c82bbc6ed483f1f37eb.patch:-p1 MAINTAINER= vvd@FreeBSD.org COMMENT= Voice chat software primarily intended for use while gaming WWW= https://www.mumble.info/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ microsoft-gsl>=3.0.0:devel/microsoft-gsl \ ${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libopus.so:audio/opus \ libspeexdsp.so:audio/speexdsp \ libabsl_base.so:devel/abseil \ libpcre2-8.so:devel/pcre2 \ libPocoXML.so:devel/poco \ libPocoZip.so:devel/poco \ libprotobuf.so:devel/protobuf \ libexpat.so:textproc/expat2 USES= cmake compiler:c++17-lang cpe desktop-file-utils \ pkgconfig python:build qt:5 ssl xorg USE_CXXSTD= c++17 USE_LDCONFIG= yes USE_QT= buildtools:build concurrent core dbus gui l10n linguist:build network \ qmake:build sql sql-sqlite3:run svg widgets xml USE_XORG= x11 xext xi CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 CMAKE_ON= client oss overlay plugins translations xinput2 CMAKE_OFF= bundled-gsl bundled-json bundle-qt-translations bundled-speex \ crash-report g15 server tracy update CONFIGURE_ENV= MUMBLE_PYTHON=${PYTHON_CMD} CXXFLAGS+= -Wno-deprecated-declarations PLIST_SUB= MUMBLE_VERSION="${DISTVERSION:R}" OPTIONS_DEFINE= ALSA AVAHI JACK LTO PIPEWIRE PORTAUDIO PULSEAUDIO RENAMENOISE OPTIONS_DEFINE_amd64= OVERLAY_32BIT OPTIONS_DEFINE_powerpc64le= OVERLAY_32BIT OPTIONS_DEFAULT= RENAMENOISE OPTIONS_DEFAULT_amd64= OVERLAY_32BIT OPTIONS_RADIO= SPEECH OPTIONS_RADIO_SPEECH= QTSPEECH SPEECHD OVERLAY_32BIT_DESC= Build and install 32bit overlay module QTSPEECH_DESC= Use Qt's text-to-speech system RENAMENOISE_DESC= Use ReNameNoise for machine learning noise reduction SPEECHD_DESC= Support for Speech Dispatcher SPEECH_DESC= Support text-to-speech ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= alsa AVAHI_LIB_DEPENDS= libdns_sd.so:net/avahi-libdns AVAHI_CMAKE_BOOL= zeroconf JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= jackaudio LTO_BROKEN= "QWidget: Cannot create a QWidget without QApplication": \ https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273078 LTO_CMAKE_BOOL= lto OVERLAY_32BIT_CMAKE_BOOL= overlay-xcompile PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= pipewire PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= portaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= pulseaudio QTSPEECH_USE= QT=speech QTSPEECH_CMAKE_BOOL= qtspeech RENAMENOISE_CMAKE_BOOL= bundled-renamenoise renamenoise SPEECHD_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher SPEECHD_USES= gettext-runtime gnome SPEECHD_USE= GNOME=glib20 SPEECHD_CMAKE_BOOL= speechd .include .if ${PORT_OPTIONS:MOVERLAY_32BIT} . if ${ARCH} == amd64 PLIST_SUB+= OVERLAY_32BIT="" PLIST_SUB+= OVERLAY_32BIT_SUFFIX=.x86 PLIST_SUB+= OVERLAY_NATIVE_SUFFIX=.x86_64 . endif .else PLIST_SUB+= OVERLAY_32BIT="@comment " PLIST_SUB+= OVERLAY_NATIVE_SUFFIX="" .endif .include diff --git a/audio/murmur/Makefile b/audio/murmur/Makefile index 766775b565dc..ca6995b6c616 100644 --- a/audio/murmur/Makefile +++ b/audio/murmur/Makefile @@ -1,95 +1,95 @@ PORTNAME= murmur DISTVERSION= 1.3.4 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= audio net MAINTAINER= vvd@FreeBSD.org COMMENT= Server component of Mumble WWW= https://www.mumble.info/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= 1.3 is deprecated by upstream and renamed - use audio/mumble-server instead EXPIRATION_DATE= 2026-06-30 BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:devel/boost-libs LIB_DEPENDS= libabsl_base.so:devel/abseil \ libprotobuf.so:devel/protobuf USES= compiler:c++11-lang qmake pkgconfig python:build qt:5 ssl BROKEN_SSL= openssl openssl31 BROKEN_SSL_REASON= Requires OpenSSL 3.0.0 deprecated CRYPTO_MEM_CHECK_ON USE_CXXSTD= c++11 USE_GITHUB= YES GH_ACCOUNT= mumble-voip GH_PROJECT= mumble USE_QT= buildtools:build core network sql xml USE_RC_SUBR= murmur CONFIG= no-client QMAKE_ARGS= "CONFIG+=${CONFIG}" QMAKE_ENV+= "MUMBLE_PYTHON=${PYTHON_CMD}" PORTSCOUT= limit:^1\.3\. SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}" USERS= murmur GROUPS= murmur OPTIONS_DEFINE= BONJOUR DBUS DOCS ICE OPTIONS_DEFAULT= BONJOUR MYSQL SQLITE OPTIONS_MULTI= SQL OPTIONS_MULTI_SQL= MYSQL SQLITE BONJOUR_DESC= Bonjour Support ICE_DESC= Ice Support BONJOUR_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder BONJOUR_VARS_OFF= CONFIG+=no-bonjour DBUS_USE= QT=dbus DBUS_VARS_OFF= CONFIG+=no-dbus ICE_LIB_DEPENDS= libIce.so:devel/ice37 ICE_VARS_OFF= CONFIG+=no-ice MYSQL_USE= QT=sql-mysql MYSQL_VARS_OFF= CONFIG+=no-sql-mysql SQLITE_USE= QT=sql-sqlite3:run SQLITE_VARS_OFF= CONFIG+=no-sqlite3_run .include # PCH is broken on GCC .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIG+= no-pch .endif post-patch: @${REINPLACE_CMD} -e 's|--no-add-needed|--no-copy-dt-needed-entries|' ${WRKSRC}/qmake/compiler.pri @${ECHO_CMD} 'QMAKE_LFLAGS += -fstack-protector' >> ${WRKSRC}/src/murmur/murmur.pro pre-install: ${SED} -i '' -e 's|database=.*|database=/var/db/murmur/murmur.sqlite|' ${WRKSRC}/scripts/murmur.ini ${SED} -i '' -e 's|;pidfile=.*|pidfile=/var/run/murmur/murmur.pid|' ${WRKSRC}/scripts/murmur.ini ${SED} -i '' -e 's|;logfile=.*|logfile=/var/log/murmur/murmur.log|' ${WRKSRC}/scripts/murmur.ini ${SED} -i '' -e 's|;host=.*|host=0.0.0.0|' ${WRKSRC}/scripts/murmur.ini do-install: ${INSTALL_PROGRAM} ${WRKSRC}/release/murmurd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/scripts/murmur.ini ${STAGEDIR}${PREFIX}/etc/murmur.ini.sample ${CP} ${WRKSRC}/man/murmurd.1 ${STAGEDIR}${PREFIX}/share/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in CHANGES INSTALL README README.Linux ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor post-install: ${MKDIR} ${STAGEDIR}/var/db/murmur ${MKDIR} ${STAGEDIR}/var/log/murmur ${MKDIR} ${STAGEDIR}/var/run/murmur .include diff --git a/audio/py-torchaudio/Makefile b/audio/py-torchaudio/Makefile index 2eec77ac2f37..6b82cf039ad3 100644 --- a/audio/py-torchaudio/Makefile +++ b/audio/py-torchaudio/Makefile @@ -1,43 +1,44 @@ PORTNAME= torchaudio DISTVERSIONPREFIX= v DISTVERSION= 2.10.0 +PORTREVISION= 1 CATEGORIES= audio python # machine-learning MASTER_SITES= https://downloads.sourceforge.net/project/sox/sox/14.4.2/:sox PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= sox-14.4.2.tar.bz2:sox EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${DISTVERSIONFULL}_GH0.tar.gz MAINTAINER= yuri@FreeBSD.org COMMENT= PyTorch-based audio signal processing and machine learning library WWW= https://pytorch.org/audio/stable/index.html \ https://github.com/pytorch/audio LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ cmake:devel/cmake-core \ ninja:devel/ninja \ pybind11>0:devel/pybind11 LIB_DEPENDS= libabsl_symbolize.so:devel/abseil \ libprotobuf.so:devel/protobuf RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}SoundFile>0:audio/py-SoundFile@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}torchcodec>0:multimedia/py-torchcodec@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist pytest MAKE_ENV= USE_FFMPEG=0 # ffmpeg integration is broken or unavailable, see https://github.com/pytorch/audio/issues/3716 USE_GITHUB= yes GH_ACCOUNT= pytorch GH_PROJECT= audio TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # tests as of 2.10.0: 8 failed, 37 passed, 2 skipped, 75 errors in 308.41s (0:05:08) .include diff --git a/cad/cura-engine/Makefile b/cad/cura-engine/Makefile index 8860a246c5d4..afaf0a62ce33 100644 --- a/cad/cura-engine/Makefile +++ b/cad/cura-engine/Makefile @@ -1,60 +1,60 @@ PORTNAME= CuraEngine PORTVERSION= 5.7.0 -PORTREVISION= 7 +PORTREVISION= 8 PORTEPOCH= 1 CATEGORIES= cad DIST_SUBDIR= Ultimaker MAINTAINER= db@FreeBSD.org COMMENT= Engine of slicing solution for RepRap 3D printers WWW= http://wiki.ultimaker.com/Cura LICENSE= AGPLv3 BUILD_DEPENDS= ${LOCALBASE}/include/boost/uuid/uuid.hpp:devel/boost-libs \ ${LOCALBASE}/include/fmt/format.h:devel/libfmt \ ${LOCALBASE}/include/range/v3/range.hpp:devel/range-v3 \ ${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson LIB_DEPENDS= libabsl_log_internal_message.so:devel/abseil \ libArcus.so:net/libarcus \ libfmt.so:devel/libfmt \ libpolyclipping.so:graphics/polyclipping \ libprotobuf.so:devel/protobuf \ libspdlog.so:devel/spdlog USES= compiler:c++20-lang cmake pkgconfig STB_TAG= beebb24 SCRIPTA_TAG= c378c83 GEOMETRYHPP_TAG=3b1a10e WAGYU_TAG= 0.5.0 USE_GITHUB= yes GH_ACCOUNT= Ultimaker GH_PROJECT= CuraEngine GH_TUPLE= mapbox:geometry.hpp:${GEOMETRYHPP_TAG}:geometryhpp \ mapbox:wagyu:${WAGYU_TAG}:wagyu \ nothings:stb:${STB_TAG}:stb/include/stb \ Ultimaker:Scripta_public:${SCRIPTA_TAG}:Scripta_public CMAKE_ARGS+= -DUSE_SYSTEM_LIBS:BOOL=ON \ -DStb_FOUND:BOOL=ON \ -DStb_INCLUDE_DIRS=${WRKSRC}/include/stb LDFLAGS+= -L${LOCALBASE}/lib #WITH_DEBUGINFO= 1 # Will segfault if Release PLIST_FILES= bin/CuraEngine post-extract: @${MKDIR} ${WRKSRC}/cmake @for f in FindGMock.cmake FindPolyclipping.cmake FindStb.cmake; do \ ${CP} ${FILESDIR}/$$f ${WRKSRC}/cmake; \ done @for f in CMakeLists.txt CPackConfig.cmake; do \ ${CP} ${FILESDIR}/$$f ${WRKSRC}; \ done @${MV} ${WRKDIR}/Scripta_public-${SCRIPTA_TAG}/include/scripta ${WRKSRC}/include @${MV} ${WRKDIR}/geometry.hpp-${GEOMETRYHPP_TAG}/include/mapbox ${WRKSRC}/include @${MV} ${WRKDIR}/wagyu-${WAGYU_TAG}/include/mapbox/geometry/wagyu ${WRKSRC}/include/mapbox/geometry .include diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile index e244e872e863..a87886f9a4e3 100644 --- a/cad/kicad-devel/Makefile +++ b/cad/kicad-devel/Makefile @@ -1,182 +1,182 @@ PORTNAME= kicad DISTVERSION= r${GIT_SRC_DATE} -PORTREVISION= 2 +PORTREVISION= 3 #PORTREVISION= 1 CATEGORIES= cad PKGNAMESUFFIX= -devel DIST_SUBDIR= ${PORTNAME} MAINTAINER= mr@FreeBSD.org COMMENT= Schematic and PCB editing software WWW= http://kicad-pcb.org/ LICENSE= GPLv3 BROKEN_i386= doesn't buld on pkg builder BUILD_DEPENDS= ${LOCALBASE}/bin/git:devel/git \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/bin/swig:devel/swig LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libgit2.so:devel/libgit2 \ libharfbuzz.so:print/harfbuzz \ libngspice.so:cad/ngspice_rework@shlib \ libTKernel.so:cad/opencascade \ libpixman-1.so:x11/pixman \ libpng.so:graphics/png \ libprotobuf.so:devel/protobuf \ libcurl.so:ftp/curl \ libGLEW-wayland.so:graphics/glew-wayland \ libnng.so:net/nng \ libpoppler-glib.so:graphics/poppler-glib \ libspnav.so:misc/libspnav \ libodbc.so:databases/unixODBC CONFLICTS_INSTALL= kicad # bin/_cvpcb.kiface BROKEN_aarch64= Fails to compile: use of undeclared identifier builtin_ia32_emms OPTIONS_DEFINE= DOCS PLIST_SUB= OPSYS=${OPSYS} \ DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} USES= cmake:noninja compiler:c++20-lang desktop-file-utils gl \ gettext gnome pkgconfig python shared-mime-info shebangfix ssl \ tar:bzip2 xorg USE_GITLAB= yes GL_ACCOUNT= kicad/code GL_PROJECT= kicad GL_TAGNAME= ${GIT_SRC_HASH} USE_GL= egl gl glu glut opengl USE_WX= 3.2 WX_COMPS= wx python:lib USE_GNOME= atk cairo gtk30 gdkpixbuf pango USE_XORG+= ice pixman x11 xext BINS= cvpcb eeschema gerbview kicad pcbnew EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \ contrib_makefiles.txt running_kicad_under_W98.txt SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py #CXXFLAGS+= --std=c++14 -I${WRKSRC} -I${WRKSRC}/include -I${LOCALBASE}/include CXXFLAGS+= -g -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED # error: "Boost.Stacktrace requires `_Unwind_Backtrace` function. Define `_GNU_SOURCE` macro or `BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED` if _Unwind_Backtrace is available without `_GNU_SOURCE`." # -undefined dynamic_lookup CXXFLAGS_powerpc= -O0 CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \ -DCMAKE_BUILD_TYPE="Debug" \ -DKICAD_BUILD_I18N=ON \ -DKICAD_TESTING_VERSION=ON \ -DKICAD_VERSION=${DISTVERSION} \ -DCMAKE_INCLUDE_PATH="${WRKSRC}/include ${LOCALBASE}/include" \ -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DwxWidgets_USE_DEBUG=ON \ -DwxWidgets_USE_USE_UNICODE=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} \ -DKICAD_SCRIPTING=ON \ -DKICAD_SCRIPTING_MODULES=ON \ -DKICAD_SCRIPTING_PYTHON3=ON \ -DKICAD_SCRIPTING_WXPYTHON=ON \ -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \ -DKICAD_SPICE=ON \ -DKICAD_USE_OCE=OFF \ -DKICAD_USE_OCC=ON \ -DKICAD_USE_EGL=ON \ -DKICAD_USE_BUNDLED_GLEW=ON \ -DNANODBC_ENABLE_BOOST=ON \ -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE USE_LDCONFIG= yes .include "Makefile.git_rev" showversions: @${ECHO} "GIT_SRC_HASH: ${GIT_SRC_HASH}" @${ECHO} "GIT_SRC_DATE: ${GIT_SRC_DATE}" @${ECHO} "DISTDIR: ${DISTDIR}" @${ECHO} "DIST_SUBDIR: ${DIST_SUBDIR}" @${ECHO} "DISTNAME: ${DISTNAME}" @${ECHO} "DISTVERSION: ${DISTVERSION}" # Updating to new rev: # sh files/newVersion.sh # make makesum && make clean # make install #breaks probably due to plist differences # make makeplist > pkg-plist #One has to edit/review the generated plist # make generate-plist && make check-plist # < Check PLIST_FILE_LIST below > tmp: echo "${DATADIR} ${DATADIR:H}" # The CheckCXXSymbolExists module has been shipped with CMake since 3.0 times. # The ancient implementation that this bundled module uses, no longer works # because it uses CMake internals that have gone away in 3.11. post-extract: ${RM} ${WRKSRC}/CMakeModules/CheckCXXSymbolExists.cmake pre-configure: ${REINPLACE_CMD} -e 's|/usr/share/kicad|${DATADIR}|' \ -e 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/common/gestfich.cpp ${REINPLACE_CMD} -e 's|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp post-configure: # ${REINPLACE_CMD} -e 's|#define HAVE_ISO646_H|//#define HAVE_ISO646_H|' \ # ${WRKSRC}/config.h for f in `${FIND} ${WRKSRC} -name \*.make -o -name link.txt` ; do \ ${REINPLACE_CMD} \ -e 's|CC = gcc|#CC = gcc|' \ -e 's|LD = gcc|LD = ${CC}|' \ -e 's|LD = g++|LD = ${CXX}|' \ -e 's|wx-config|${WX_CONFIG}|' \ -e 's|CXX_FLAGS =|CXX_FLAGS = ${WRKSRC}/include -I${LOCALBASE}/include|' \ -e 's|C_FLAGS =|C_FLAGS = ${WRKSRC}/include -I${LOCALBASE}/include|' \ -e 's|LDFLAGS =|LDFLAGS += -L${LOCALBASE}/lib|' \ -e 's|gcc -D|${CC} -D|' \ -e 's/-pthread;-D_THREAD_SAFE/-pthread -D_THREAD_SAFE/g' \ $$f ; \ done ${REINPLACE_CMD} -e 's|/usr/local/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp pre-install: @echo "${DATADIR}, ${DOCSDIR}" #post-install: #.for subdir in library modules template # ${CP} -Rp ${WRKDIR}/kicad-library-master/${subdir} ${STAGEDIR}${DATADIR} #.endfor #.for subdir in internat # ${CP} -Rp ${WRKDIR}/kicad-doc/${subdir} ${STAGEDIR}${DOCSDIR} #.endfor PLIST_FILE_LIST= bin/freeroute.jnlp \ bin/cvpcb \ bin/eeschema \ bin/gerbview \ bin/kicad \ bin/pcbnew \ bin/pl_editor \ bin/bitmap2component \ bin/pcb_calculator \ share/mimelnk/application/x-kicad-schematic.desktop \ share/mimelnk/application/x-kicad-project.desktop \ share/icons/hicolor/24x24/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/48x48/apps/kicad.png \ share/icons/hicolor/48x48/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/scalable/apps/kicad.svg \ share/icons/hicolor/scalable/mimetypes/application-x-kicad-project.svg \ share/icons/hicolor/16x16/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/32x32/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/22x22/mimetypes/application-x-kicad-project.png \ share/mime/packages/kicad.xml \ share/applications/kicad.desktop \ share/applications/eeschema.desktop PLIST_DIR_LIST= lib/kicad PLIST_SHAREDDIR_LIST= share/mimelnk/application \ share/mimelnk .include diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile index 4199ec1b59dc..816b3bbd917c 100644 --- a/cad/kicad/Makefile +++ b/cad/kicad/Makefile @@ -1,83 +1,84 @@ PORTNAME= kicad DISTVERSION= 9.0.8 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= cad MAINTAINER= cmt@FreeBSD.org COMMENT= Schematic and PCB editing software WWW= https://kicad.org/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm \ swig:devel/swig LIB_DEPENDS= libboost_locale.so:devel/boost-libs \ libabsl_log_internal_check_op.so:devel/abseil \ libgit2.so:devel/libgit2 \ libprotobuf.so:devel/protobuf \ libnng.so:net/nng \ libharfbuzz.so:print/harfbuzz \ libngspice.so:cad/ngspice_rework@shlib \ libTKernel.so:cad/opencascade \ libpixman-1.so:x11/pixman \ libzstd.so:archivers/zstd \ libcurl.so:ftp/curl \ libwayland-client.so:graphics/wayland \ libfreetype.so:print/freetype2 \ libsecret-1.so:security/libsecret \ libfontconfig.so:x11-fonts/fontconfig \ libodbc.so:databases/unixODBC USES= cmake:noninja compiler:c++20-lang desktop-file-utils \ gnome pkgconfig python shared-mime-info shebangfix \ tar:bz2 xorg SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py USE_XORG= ice x11 xext USE_GL= egl gl glu glut opengl USE_WX= 3.2 WX_COMPS= python:lib wx USE_GNOME= atk cairo gdkpixbuf gtk30 pango USE_GITLAB= yes GL_ACCOUNT= kicad/code GL_PROJECT= kicad CXXFLAGS+= -I${WRKSRC}/include -I${LOCALBASE}/include CXXFLAGS_powerpc= -O0 # not using "bundled glew" breaks the 3d viewer CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} \ -DwxWidgets_USE_UNICODE=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} \ -DKICAD_SPICE_QA=ON \ -DKICAD_USE_SENTRY=OFF \ -DKICAD_SIGNAL_INTEGRITY=ON \ -DKICAD_BUILD_QA_TESTS=ON \ -DKICAD_SCRIPTING_WXPYTHON=ON \ -DKICAD_UPDATE_CHECK=OFF \ -DKICAD_USE_EGL=ON \ -DKICAD_USE_BUNDLED_GLEW=ON \ -DKICAD_WAYLAND=ON \ -DKICAD_INSTALL_DEMOS=ON \ -DNANODBC_ENABLE_BOOST=ON \ -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE CMAKE_ENV+= DODBC_PATH=${LOCALBASE} USE_LDCONFIG= yes # SOVERSION helps testing rc packages PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} \ SOVERSION=${PORTVERSION:C/.r[0-9]*//} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_BOOL= KICAD_BUILD_I18N CONFLICTS_INSTALL= kicad-devel # bin/_cvpcb.kiface pre-configure: ${REINPLACE_CMD} -e 's|/usr/local/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp .include diff --git a/cad/openroad/Makefile b/cad/openroad/Makefile index 1c3f71657b4e..9d0681f2b301 100644 --- a/cad/openroad/Makefile +++ b/cad/openroad/Makefile @@ -1,92 +1,92 @@ PORTNAME= openroad DISTVERSIONPREFIX= v DISTVERSION= 2.0-20250216 -PORTREVISION= 8 +PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org COMMENT= ASIC physical design tool WWW= https://theopenroadproject.org \ https://github.com/The-OpenROAD-Project LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= C++ issue on i386, should be resolved in the next update .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= base64:converters/base64 \ bash:shells/bash \ boost-libs>0:devel/boost-libs \ coin-or-lemon>0:math/lemon \ gmake:devel/gmake \ swig:devel/swig LIB_DEPENDS= libabsl_flags_parse.so:devel/abseil \ libCbc.so:math/cbc \ libCgl.so:math/cgl \ libClpSolver.so:math/clp \ libcoinasl.so:math/asl \ libcoinmumps.so:math/coin-or-mumps \ libCoinUtils.so:math/coinutils \ libcudd.so:math/cudd \ libfmt.so:devel/libfmt \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libortools.so:math/or-tools \ libOsi.so:math/osi \ libprotobuf.so:devel/protobuf \ libre2.so:devel/re2 \ libspdlog.so:devel/spdlog LIB_DEPENDS+= libgtest.so:devel/googletest # because third-party/abc looks for it USES= bison compiler:c++17-lang cmake eigen:3 qt:5 \ localbase:ldflags pkgconfig python:build readline tcl:86 # the code asks for tcl-87, but build fails: https://github.com/The-OpenROAD-Project/OpenROAD/issues/508 USE_QT= core gui widgets buildtools:build qmake:build USE_GITHUB= yes GH_ACCOUNT= The-OpenROAD-Project GH_PROJECT= OpenROAD GH_TAGNAME= 888a3207a GH_TUPLE= The-OpenROAD-Project:OpenSTA:6e95d93:The_OpenROAD_Project_OpenSTA/src/sta \ The-OpenROAD-Project:abc:5c9448c:abc/third-party/abc CMAKE_OFF= BUILD_PYTHON \ ENABLE_TESTS CMAKE_ON= BUILD_TCL CMAKE_ARGS= -DFREEBSD_TCL_VER=${TCL_VER:S/.//} -DFREEBSD_TCL_INCLUDEDIR=${TCL_INCLUDEDIR} CXXFLAGS+= -I${LOCALBASE}/include/eigen3 \ -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED BINARY_ALIAS= python3=${PYTHON_CMD} tclsh=${TCLSH} make=${GMAKE} PLIST_FILES= bin/openroad \ bin/sta PORTSCOUT= limit:^[0-9]\. # prevent 2021_* post-patch: # override the TCL version to be the same as USES=tcl sets @${FIND} ${WRKSRC} -name FindTCL.cmake \ | ${XARGS} ${REINPLACE_CMD} -e ' \ s|set(TCL_POSSIBLE_NAMES |set(TCL_POSSIBLE_NAMES tcl$${FREEBSD_TCL_VER} |; \ s|PATHS $${TCL_LIB_PARENT1}|PATHS $${FREEBSD_TCL_INCLUDEDIR} $${TCL_LIB_PARENT1}|' @${REINPLACE_CMD} \ -e '/^find_package(Boost /s| system||' \ -e '/Boost::system/d' \ ${WRKSRC}/src/dst/CMakeLists.txt post-install: # unnecessarily installs bundled OpenSTA project: https://github.com/The-OpenROAD-Project/OpenROAD/issues/597 ${RM} -r ${STAGEDIR}${PREFIX}/include/sta ${STAGEDIR}${PREFIX}/lib/libOpenSTA.a do-test: # some tests are known to fail @${MKDIR} ${WRKSRC}/build/src @[ -f ${WRKSRC}/build/src/openroad ] || ${LN} ${STAGEDIR}${PREFIX}/bin/openroad ${WRKSRC}/build/src/openroad @${ECHO} "==> Unit tests" @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} test/regression @${ECHO} "==> Flow tests" @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} test/regression flow .include diff --git a/databases/arrow/Makefile b/databases/arrow/Makefile index 5e0735c0a2f2..c191287caf7f 100644 --- a/databases/arrow/Makefile +++ b/databases/arrow/Makefile @@ -1,241 +1,241 @@ PORTNAME= arrow DISTVERSION= 21.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= databases MASTER_SITES= APACHE/${PORTNAME}/${PORTNAME}-${DISTVERSION} \ https://github.com/apache/orc/archive/rel/:orc DISTNAME= apache-${PORTNAME}-${DISTVERSION} DISTFILES= apache-${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} release-1.6.6${EXTRACT_SUFX}:orc EXTRACT_ONLY= apache-${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Columnar in-memory analytics layer for big data WWW= https://arrow.apache.org \ https://github.com/apache/arrow LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/../LICENSE.txt LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= cmake compiler:c++17-lang localbase pkgconfig python:build,test USE_LDCONFIG= yes USE_GITHUB= nodefault GH_ACCOUNT= apache #GH_TUPLE= apache:arrow-testing:d2a1371:arrow_testing/testing \ apache:parquet-testing:c7cf137:parquet_testing/cpp/submodules/parquet-testing WRKSRC_SUBDIR= cpp PLIST_SUB= LIBVERSION=2100 CMAKE_ARGS= -DARROW_RUNTIME_SIMD_LEVEL=NONE -DARROW_SIMD_LEVEL=NONE -DCMAKE_CXX_STANDARD=17 CMAKE_OFF= ARROW_BUILD_BENCHMARKS ARROW_BUILD_STATIC ARROW_BUILD_TESTS ARROW_WITH_BACKTRACE BINARY_ALIAS= python=${PYTHON_CMD} # only for tests OPTIONS_GROUP= COMPONENTS COMPRESSION # components are listed in cpp/cmake_modules/DefineOptions.cmake OPTIONS_GROUP_COMPONENTS= ACERO COMPUTE CSV DATASET FILESYSTEM FLIGHT FLIGHT_SQL GANDIVA HDFS IPC JSON MIMALLOC PARQUET ORC S3 SKYHOOK SUBSTRAIT BUILD_UTILITIES TENSORFLOW TESTING OPTIONS_GROUP_COMPRESSION= BROTLI BZ2 LZ4 SNAPPY ZLIB ZSTD OPTIONS_SUB= yes ## DESCs COMPRESSION_DESC= Compression support: COMPONENTS_DESC= Build components: ## Compression options BROTLI_CMAKE_BOOL= ARROW_WITH_BROTLI BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli BZ2_DESC= bz2 compression support BZ2_CMAKE_BOOL= ARROW_WITH_BZ2 LZ4_CMAKE_BOOL= ARROW_WITH_LZ4 LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 SNAPPY_CMAKE_BOOL= ARROW_WITH_SNAPPY SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy ZLIB_CMAKE_BOOL= ARROW_WITH_ZLIB ZSTD_DESC= zstd compression support ZSTD_CMAKE_BOOL= ARROW_WITH_ZSTD ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ## Component options ACERO_DESC= Arrow Acero Engine Module ACERO_CMAKE_BOOL= ARROW_ACERO ACERO_IMPLIES= COMPUTE IPC COMPUTE_DESC= Arrow Compute Modules COMPUTE_CMAKE_BOOL= ARROW_COMPUTE COMPUTE_CMAKE_ON= -DARROW_WITH_UTF8PROC=ON COMPUTE_LIB_DEPENDS= libre2.so:devel/re2 \ libutf8proc.so:textproc/utf8proc CSV_DESC= Arrow CSV Parser Module CSV_CMAKE_BOOL= ARROW_CSV DATASET_DESC= Arrow Dataset Modules DATASET_CMAKE_BOOL= ARROW_DATASET DATASET_IMPLIES= ACERO FILESYSTEM FILESYSTEM_DESC= Arrow Filesystem Layer FILESYSTEM_CMAKE_BOOL= ARROW_FILESYSTEM FLIGHT_DESC= Arrow Flight RPC System FLIGHT_USES= ssl FLIGHT_CMAKE_BOOL= ARROW_FLIGHT FLIGHT_LIB_DEPENDS= libgflags.so:devel/gflags \ libprotobuf.so:devel/protobuf \ libabsl_base.so:devel/abseil \ libcares.so:dns/c-ares \ libgrpc.so:devel/grpc \ libre2.so:devel/re2 FLIGHT_IMPLIES= IPC COMPUTE # see https://github.com/apache/arrow/issues/40766 FLIGHT_SQL_DESC= Arrow Flight SQL FLIGHT_SQL_CMAKE_BOOL= ARROW_FLIGHT_SQL FLIGHT_SQL_IMPLIES= FLIGHT GANDIVA_DESC= Gandiva libraries GANDIVA_USES= llvm:17,lib ssl GANDIVA_CMAKE_BOOL= ARROW_GANDIVA GANDIVA_CMAKE_ON= -DARROW_WITH_UTF8PROC=ON GANDIVA_LIB_DEPENDS= libgrpc.so:devel/grpc \ libprotobuf.so:devel/protobuf \ libre2.so:devel/re2 \ libutf8proc.so:textproc/utf8proc HDFS_DESC= Arrow HDFS bridge HDFS_CMAKE_BOOL= ARROW_HDFS IPC_DESC= Arrow IPC extensions IPC_CMAKE_BOOL= ARROW_IPC JSON_DESC= JSON support JSON_CMAKE_BOOL= ARROW_JSON JSON_BUILD_DEPENDS= ${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson MIMALLOC_DESC= Arrow mimalloc-based allocato MIMALLOC_CMAKE_BOOL= ARROW_MIMALLOC MIMALLOC_LIB_DEPENDS= libmimalloc.so:devel/mimalloc MIMALLOC_BROKEN= Pending paths fix in bug#255537 PARQUET_DESC= Parquet libraries PARQUET_CMAKE_BOOL= ARROW_PARQUET PARQUET_REQUIRE_ENCRYPTION PARQUET_USES= ssl PARQUET_LIB_DEPENDS= libthrift.so:devel/thrift-cpp PARQUET_IMPLIES= IPC ORC_DESC= Arrow ORC adapter ORC_CMAKE_BOOL= ARROW_ORC ORC_LIB_DEPENDS= libprotobuf.so:devel/protobuf ORC_CONFIGURE_ENV= ARROW_ORC_URL=file://${DISTDIR}/${DIST_SUBDIR}/release-1.6.6${EXTRACT_SUFX} ORC_IMPLIES= LZ4 SNAPPY ZLIB ZSTD # cpp/CMakeLists.txt ORC_BROKEN= fatal error: 'orc/OrcFile.hh' file not found: https://issues.apache.org/jira/browse/ARROW-12624 BUILD_UTILITIES_DESC= build Arrow commandline utilities BUILD_UTILITIES_CMAKE_BOOL= ARROW_BUILD_UTILITIES #PYTHON_DESC= Build python extension support #PYTHON_CMAKE_BOOL= ARROW_PYTHON #PYTHON_USES= python #PYTHON_BUILD_DEPENDS= ${PYNUMPY} # see https://issues.apache.org/jira/browse/ARROW-16820 #PYTHON_RUN_DEPENDS= ${PYNUMPY} #PYTHON_IMPLIES= COMPUTE CSV DATASET FILESYSTEM HDFS JSON #PYTHON_VARS= PLIST_SUB+=PYTHON_SUFFIX=${PYTHON_SUFFIX} S3_DESC= S3 support S3_CMAKE_BOOL= ARROW_S3 S3_USES= ssl S3_LIB_DEPENDS= \ libaws-c-auth.so:security/aws-c-auth \ libaws-c-cal.so:security/aws-c-cal \ libaws-c-common.so:devel/aws-c-common \ libaws-c-compression.so:devel/aws-c-compression \ libaws-c-event-stream.so:devel/aws-c-event-stream \ libaws-c-http.so:devel/aws-c-http \ libaws-c-io.so:devel/aws-c-io \ libaws-c-mqtt.so:devel/aws-c-mqtt \ libaws-c-s3.so:devel/aws-c-s3 \ libaws-c-sdkutils.so:devel/aws-c-sdkutils \ libaws-checksums.so:devel/aws-checksums \ libaws-crt-cpp.so:devel/aws-crt-cpp \ libaws-cpp-sdk-s3.so:devel/aws-sdk-cpp \ libs2n.so:security/s2n-tls SKYHOOK_DESC= Build the Skyhook libraries SKYHOOK_CMAKE_BOOL= ARROW_SKYHOOK SKYHOOK_IMPLIES= DATASET PARQUET SKYHOOK_BROKEN= could NOT find librados SUBSTRAIT_DESC= Build the Arrow Substrait Consumer Module SUBSTRAIT_CMAKE_BOOL= ARROW_SUBSTRAIT SUBSTRAIT_IMPLIES= DATASET IPC PARQUET SUBSTRAIT_BROKEN= needs investigation TENSORFLOW_DESC= TensorFlow support TENSORFLOW_CMAKE_BOOL= ARROW_TENSORFLOW TENSORFLOW_BROKEN= needs testing TESTING_DESC= Arrow testing libraries TESTING_CMAKE_BOOL= ARROW_TESTING TESTING_LIB_DEPENDS= libgtest.so:devel/googletest # form OPTIONS_DEFAULT .for opt in ${OPTIONS_GROUP_COMPONENTS} ${OPTIONS_GROUP_COMPRESSION} . if "${${opt}_BROKEN}" == "" OPTIONS_DEFAULT+= ${opt} . endif .endfor .include .if ${PORT_OPTIONS:MCOMPUTE} || ${PORT_OPTIONS:MFLIGHT} || ${PORT_OPTIONS:MGANDIVA} PLIST_FILES+= lib/cmake/Arrow/Findre2Alt.cmake .endif .if ${PORT_OPTIONS:MIPC} && ${PORT_OPTIONS:MBUILD_UTILITIES} PLIST_FILES+= bin/arrow-file-to-stream \ bin/arrow-stream-to-file .endif .if ${PORT_OPTIONS:MGANDIVA} || ${PORT_OPTIONS:MCOMPUTE} PLIST_FILES+= lib/cmake/Arrow/Findutf8proc.cmake .endif .if ${PORT_OPTIONS:MGANDIVA} || ${PORT_OPTIONS:MZSTD} PLIST_FILES+= lib/cmake/Gandiva/FindzstdAlt.cmake .endif .if ${PORT_OPTIONS:MPYTHON} == "PYTHON" && ${PORT_OPTIONS:MFLIGHT} == "FLIGHT" PLIST_SUB+= PYTHONFLIGHT="" .else PLIST_SUB+= PYTHONFLIGHT="@comment " .endif .if ${PORT_OPTIONS:MTESTING} && ${PORT_OPTIONS:MFLIGHT} == "FLIGHT" PLIST_SUB+= TESTINGFLIGHT="" .else PLIST_SUB+= TESTINGFLIGHT="@comment " .endif post-install: # based on the user's report on 2024-04-12, the R extension expects only "ON" and "OFF" values in lib/cmake/Arrow/ArrowOptions.cmake # other values confuse the R extension build, so we adjust these values to "ON" and "OFF" as a workaround ${REINPLACE_CMD} -i '' \ -e 's|"true"|"ON"|; s|"false"|"OFF"|' \ ${STAGEDIR}${PREFIX}/lib/cmake/Arrow/ArrowOptions.cmake do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DARROW_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test # tests as of : 89% tests passed, 10 tests failed out of 90, see https://github.com/apache/arrow/issues/45604 .include diff --git a/databases/mysql-connector-c++/Makefile b/databases/mysql-connector-c++/Makefile index 5435d702e180..e0cd7e47ce80 100644 --- a/databases/mysql-connector-c++/Makefile +++ b/databases/mysql-connector-c++/Makefile @@ -1,62 +1,62 @@ PORTNAME= mysql-connector-c++ DISTVERSION= 9.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= MYSQL/Connector-C++ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= bofh@FreeBSD.org COMMENT= MySQL database connector for C++ WWW= https://dev.mysql.com/doc/relnotes/connector-cpp/en/index.html LICENSE= GPLv2 # only LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ liblz4.so:archivers/liblz4 \ libprotobuf.so:devel/protobuf \ libzstd.so:archivers/zstd USES= cmake:noninja compiler:c++17-lang cpe gmake mysql ssl IGNORE_WITH_MYSQL= 105m 106m 1011m CPE_VENDOR= oracle USE_CXXSTD= c++17 USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_ENABLE_C++17=ON \ -DWITH_LZ4=system \ -DWITH_PROTOBUF=system \ -DWITH_SYSTEM_LIBS=1 \ -DWITH_ZLIB=system \ -DWITH_ZSTD=system PLIST_SUB= PORTVERSION=${DISTVERSION} PORTDOCS= * OPTIONS_DEFINE= DOCS JDBC OPTIONS_DEFAULT= JDBC OPTIONS_SUB= yes JDBC_DESC= Build JDBC Interface DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CMAKE_ON= -DDOC_DESTINATION="${DOCSDIR}" \ -DWITH_DOC=ON JDBC_LIB_DEPENDS= libunwind.so:devel/libunwind JDBC_CMAKE_ON= -DWITH_JDBC=ON post-install: @${RM} ${STAGEDIR}${PREFIX}/INFO_BIN @${RM} ${STAGEDIR}${PREFIX}/INFO_SRC @${MKDIR} ${STAGEDIR}${PREFIX}/lib/cmake @${MV} ${STAGEDIR}${PREFIX}/mysql-*.cmake \ ${STAGEDIR}${PREFIX}/lib/cmake/ post-install-DOCS-on: @${RM} ${STAGEDIR}${DOCSDIR}/INSTALL \ ${STAGEDIR}${DOCSDIR}/LICENSE.txt ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${BUILD_WRKSRC}/doc && \ ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/android-tools/Makefile b/devel/android-tools/Makefile index 9796f2940f01..c676cd38125c 100644 --- a/devel/android-tools/Makefile +++ b/devel/android-tools/Makefile @@ -1,40 +1,40 @@ PORTNAME= android-tools PORTVERSION= 31.0.3p2.0 -PORTREVISION= 45 +PORTREVISION= 46 CATEGORIES= devel MASTER_SITES= GH MAINTAINER= nc@FreeBSD.org COMMENT= Android debugging tools WWW= https://github.com/neelchauhan/freebsd-android-tools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_aarch64= ld: error: undefined symbol: OPENSSL_cpuid_setup LIB_DEPENDS= libbrotlicommon.so:archivers/brotli \ libgmock.so:devel/googletest \ liblz4.so:archivers/liblz4 \ libpcre2-8.so:devel/pcre2 \ libprotobuf.so:devel/protobuf \ libzstd.so:archivers/zstd USES= cmake compiler:c++17-lang go:no_targets localbase:ldflags perl5 python shebangfix USE_GITHUB= yes GH_ACCOUNT= neelchauhan GH_PROJECT= freebsd-${PORTNAME} GH_TAGNAME= 271d7a26c8daf4b9fe412d360a2edfaca327efdd SHEBANG_FILES= vendor/mkbootimg/repack_bootimg.py \ vendor/mkbootimg/mkbootimg.py \ vendor/mkbootimg/unpack_bootimg.py MAKE_ENV+= GOFLAGS=-mod=vendor \ GOPATH=${WRKSRC}/vendor/boringssl/vendor \ GOPROXY=off LDFLAGS+= -labsl_status .include diff --git a/devel/apache-orc/Makefile b/devel/apache-orc/Makefile index 6cab4a902c24..0611be021b71 100644 --- a/devel/apache-orc/Makefile +++ b/devel/apache-orc/Makefile @@ -1,40 +1,41 @@ PORTNAME= orc DISTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://dlcdn.apache.org/orc/orc-2.2.0/:orc \ https://archive.apache.org/dist/orc/orc-format-1.1.0/:orc_format PKGNAMEPREFIX= apache- DISTFILES= ${PORTNAME}-${DISTVERSION}.tar.gz:orc \ orc-format-1.1.0.tar.gz:orc_format MAINTAINER= wen@FreeBSD.org COMMENT= Smallest, fastest columnar storage for Hadoop workloads WWW= https://orc.apache.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/libgtest.so:devel/googletest \ ${LOCALBASE}/lib/libzstd.so:archivers/zstd LIB_DEPENDS= libsnappy.so:archivers/snappy \ liblz4.so:archivers/liblz4 \ libprotobuf.so:devel/protobuf \ libabsl_demangle_internal.so:devel/abseil USES= cmake CMAKE_ARGS+= -DBUILD_JAVA=OFF \ -DZLIB_HOME="/usr" \ -DSNAPPY_HOME=${LOCALBASE} \ -DLZ4_HOME=${LOCALBASE} \ -DGTEST_HOME=${LOCALBASE} \ -DPROTOBUF_HOME=${LOCALBASE} \ -DZSTD_HOME=${LOCALBASE} CFLAGS+= -fPIC -Wno-error=unused-parameter CPPFLAGS+= -fPIC post-patch: @${REINPLACE_CMD} "s#%%MYSITE%%#${DISTDIR}#g" \ ${WRKSRC}/cmake_modules/ThirdpartyToolchain.cmake .include diff --git a/devel/bloaty/Makefile b/devel/bloaty/Makefile index 450cd5c9c7e5..316e9c251f0c 100644 --- a/devel/bloaty/Makefile +++ b/devel/bloaty/Makefile @@ -1,28 +1,28 @@ PORTNAME= bloaty PORTVERSION= 1.1 DISTVERSIONPREFIX= v -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= devel MAINTAINER= bofh@FreeBSD.org COMMENT= Size profiler for binaries WWW= https://github.com/google/bloaty LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libre2.so:devel/re2 \ libcapstone.so:devel/capstone \ libprotobuf.so:devel/protobuf USES= cmake compiler:c++17-lang pkgconfig USE_GITHUB= yes GH_ACCOUNT= google GH_TUPLE= nico:demumble:01098ea:demumble/third_party/demumble CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 CMAKE_OFF= BLOATY_ENABLE_CMAKETARGETS BLOATY_ENABLE_BUILDID PLIST_FILES= bin/bloaty .include diff --git a/devel/google-cloud-cpp/Makefile b/devel/google-cloud-cpp/Makefile index 974bdcdf29a6..f7fe380cf474 100644 --- a/devel/google-cloud-cpp/Makefile +++ b/devel/google-cloud-cpp/Makefile @@ -1,51 +1,51 @@ PORTNAME= google-cloud-cpp DISTVERSIONPREFIX= v DISTVERSION= 2.27.0 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= devel DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= amzo1337@gmail.com COMMENT= C++ Idiomatic Clients for Google Cloud Platform services WWW= https://github.com/googleapis/google-cloud-cpp LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= i386 powerpc BUILD_DEPENDS= grpc>=1.19.1:devel/grpc \ nlohmann-json>0:devel/nlohmann-json \ protobuf>=3.7.1:devel/protobuf LIB_DEPENDS= libabsl_strings.so:devel/abseil \ libcares.so:dns/c-ares \ libcrc32c.so:devel/crc32c \ libcurl.so:ftp/curl \ libgrpc.so:devel/grpc \ libprotobuf.so:devel/protobuf \ libre2.so:devel/re2 USES= cmake compiler:c++17-lang pathfix pkgconfig ssl PATHFIX_CMAKELISTSTXT= AddPkgConfig.cmake CMakeLists.txt CompileProtos.cmake USE_CXXSTD= c++17 USE_GITHUB= yes GH_ACCOUNT= googleapis GH_TUPLE= googleapis:googleapis:${GOOGLEAPI_GH_TAG}:googleapis USE_LDCONFIG= yes CMAKE_ARGS= -DGOOGLE_CLOUD_CPP_CXX_STANDARD=17 \ -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTING \ GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS \ GOOGLE_CLOUD_CPP_WITH_MOCKS GOOGLEAPI_GH_TAG= e3838fbf057c3b69efc1e0b8e1a5a288ee91a00d post-extract: ${MKDIR} ${BUILD_WRKSRC}/external/googleapis/src/ ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_googleapis} \ ${BUILD_WRKSRC}/external/googleapis/src/${GOOGLEAPI_GH_TAG}.tar.gz .include diff --git a/devel/grpc/Makefile b/devel/grpc/Makefile index 224ba8b1c6a9..9a5a2147f64c 100644 --- a/devel/grpc/Makefile +++ b/devel/grpc/Makefile @@ -1,97 +1,98 @@ PORTNAME= grpc PORTVERSION= 1.78.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v PORTEPOCH= 2 CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= HTTP/2-based RPC framework WWW= https://grpc.io/ \ https://github.com/grpc/grpc LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= abseil>=20240116.0:devel/abseil \ xxhash>=0:devel/xxhash LIB_DEPENDS= libabsl_base.so:devel/abseil \ libbenchmark.so:devel/benchmark \ libcares.so:dns/c-ares \ libprotobuf.so:devel/protobuf \ libre2.so:devel/re2 USES= cmake compiler:c++17-lang cpe localbase:ldflags pkgconfig ssl CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 \ -DgRPC_ABSL_PROVIDER=package \ -DgRPC_BENCHMARK_PROVIDER=package \ -DgRPC_CARES_PROVIDER=package \ -DgRPC_OPENTELEMETRY_PROVIDER=package \ -DgRPC_PROTOBUF_PROVIDER=package \ -DgRPC_RE2_PROVIDER=package \ -DgRPC_SSL_PROVIDER=package \ -DgRPC_ZLIB_PROVIDER=package CMAKE_OFF= CMAKE_CXX_EXTENSIONS \ gRPC_BUILD_TESTS \ gRPC_DOWNLOAD_ARCHIVES CMAKE_ON= BUILD_SHARED_LIBS \ gRPC_BUILD_CODEGEN \ gRPC_BUILD_GRPC_CPP_PLUGIN \ gRPC_BUILD_GRPC_CSHARP_PLUGIN \ gRPC_BUILD_GRPC_NODE_PLUGIN \ gRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN \ gRPC_BUILD_GRPC_PHP_PLUGIN \ gRPC_BUILD_GRPC_PYTHON_PLUGIN \ gRPC_BUILD_GRPC_RUBY_PLUGIN \ gRPC_INSTALL USE_CSTD= c11 USE_CXXSTD= c++17 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} \ SHLIB_VER=${PORTVERSION:R} CONFLICTS_INSTALL= grpc[0-9][0-9][0-9] USE_GITHUB= yes GH_TUPLE= envoyproxy:data-plane-api:84e8436:envoyproxy_data_plane_api/third_party/envoy-api \ googleapis:googleapis:4ed62e4:googleapis_googleapis/third_party/googleapis \ census-instrumentation:opencensus-proto:1664cc9:census_instrumentation_opencensus_proto/third_party/opencensus-proto \ bufbuild:protoc-gen-validate:v1.3.0:bufbuild_protoc_gen_validate/third_party/protoc-gen-validate \ cncf:xds:dba9d58:cncf_xds/third_party/xds OPTIONS_DEFINE= OPENTELEMETRY OPTIONS_SUB= yes OPENTELEMETRY_DESC= Build grpcpp_otel_plugin OPENTELEMETRY_CMAKE_BOOL= gRPC_BUILD_GRPCPP_OTEL_PLUGIN OPENTELEMETRY_LIB_DEPENDS= libopentelemetry_common.so:devel/opentelemetry-cpp # Clean up bundled libraries .if !defined(MAINTAINER_MODE) EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/third_party/abseil-cpp/ \ --exclude ${DISTNAME}/third_party/benchmark/ \ --exclude ${DISTNAME}/third_party/boringssl-with-bazel/ \ --exclude ${DISTNAME}/third_party/cares/ \ --exclude ${DISTNAME}/third_party/protobuf/ \ --exclude ${DISTNAME}/third_party/re2/ \ --exclude ${DISTNAME}/third_party/upb/ \ --exclude ${DISTNAME}/third_party/utf8_range/ \ --exclude ${DISTNAME}/third_party/xxhash/ \ --exclude ${DISTNAME}/third_party/zlib/ \ --no-same-owner --no-same-permissions .else post-patch: @${RM} -r ${WRKSRC}/third_party/abseil-cpp/ @${RM} -r ${WRKSRC}/third_party/benchmark/ @${RM} -r ${WRKSRC}/third_party/boringssl-with-bazel/ @${RM} -r ${WRKSRC}/third_party/cares/ @${RM} -r ${WRKSRC}/third_party/protobuf/ @${RM} -r ${WRKSRC}/third_party/re2/ @${RM} -r ${WRKSRC}/third_party/upb/ @${RM} -r ${WRKSRC}/third_party/utf8_range/ @${RM} -r ${WRKSRC}/third_party/xxhash/ @${RM} -r ${WRKSRC}/third_party/zlib/ .endif .include diff --git a/devel/ignition-msgs/Makefile b/devel/ignition-msgs/Makefile index 4fee112bf4a5..cd0e91024796 100644 --- a/devel/ignition-msgs/Makefile +++ b/devel/ignition-msgs/Makefile @@ -1,31 +1,31 @@ PORTNAME= ignition-msgs DISTVERSION= 3.0.0 -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= devel MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/ MAINTAINER= yuri@FreeBSD.org COMMENT= Protobuf messages and functions for robot applications WWW= https://ignitionrobotics.org/home LICENSE= APACHE20 BUILD_DEPENDS= ignition-cmake==2:devel/ignition-cmake \ ignition-tools>0:devel/ignition-tools LIB_DEPENDS= libprotobuf.so:devel/protobuf \ libignition-math6.so:math/ignition-math USES= compiler:c++17-lang cmake localbase:ldflags ruby USE_LDCONFIG= yes BB_ACCOUNT= ignitionrobotics BB_PROJECT= ign-msgs BB_COMMIT= 4a1cbcabff7d LDFLAGS+= -labsl_city -labsl_hash -labsl_log_internal_message -labsl_log_internal_nullguard -labsl_raw_hash_set USE_CXXSTD= c++17 WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT} PLIST_SUB= MSGS_IGN_VER=msgs${DISTVERSION:R:R} .include diff --git a/devel/kpublictransport/Makefile b/devel/kpublictransport/Makefile index d011b11f0746..2ac3823b718a 100644 --- a/devel/kpublictransport/Makefile +++ b/devel/kpublictransport/Makefile @@ -1,22 +1,23 @@ PORTNAME= kpublictransport DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= devel kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Access realtime public transport data LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= cmake compiler:c++11-lang gettext kde:6 qt:6 tar:xz USE_KDE= kirigami-addons ecm:build USE_QT= base location OPTIONS_DEFINE= DOCS CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_KF6NetworkManagerQt CXXFLAGS= -DPROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII=0 # Override shared library version #KDE_APPLICATIONS_SHLIB_VER= ${KDE_APPLICATIONS_VERSION} .include diff --git a/devel/libphonenumber/Makefile b/devel/libphonenumber/Makefile index f28d79fa7cb9..a92598a6b7cc 100644 --- a/devel/libphonenumber/Makefile +++ b/devel/libphonenumber/Makefile @@ -1,32 +1,33 @@ PORTNAME= libphonenumber DISTVERSIONPREFIX= v DISTVERSION= 9.0.25 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= kde@FreeBSD.org COMMENT= Library for parsing, formatting, and validating phone numbers WWW= https://github.com/google/libphonenumber LICENSE= APACHE20 LIB_DEPENDS= libabsl_strings.so:devel/abseil \ libboost_atomic.so:devel/boost-libs \ libicui18n.so:devel/icu \ libprotobuf.so:devel/protobuf TEST_DEPENDS= googletest>=0:devel/googletest USES= cmake:testing compiler:c++17-lang pkgconfig USE_GITHUB= yes GH_ACCOUNT= google CMAKE_ON= USE_STD_MAP CMAKE_OFF= REGENERATE_METADATA \ BUILD_TESTING CMAKE_TESTING_TARGET= tests WRKSRC_SUBDIR= cpp PLIST_SUB= SHLIB_FULL="${DISTVERSION:R}" \ SHLIB_SHORT="${DISTVERSION:R:R}" .include diff --git a/devel/libprotobuf-mutator/Makefile b/devel/libprotobuf-mutator/Makefile index 70ba753aaaf4..0089bbe0f70c 100644 --- a/devel/libprotobuf-mutator/Makefile +++ b/devel/libprotobuf-mutator/Makefile @@ -1,35 +1,35 @@ PORTNAME= libprotobuf-mutator PORTVERSION= 1.5 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for structured fuzzing with protobuffers WWW= https://github.com/google/libprotobuf-mutator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= cmake:testing localbase:ldflags CMAKE_ARGS= -DLOCALBASE=${LOCALBASE} \ -DPKG_CONFIG_PATH=libdata/pkgconfig CMAKE_OFF= LIB_PROTO_MUTATOR_DOWNLOAD_PROTOBUF \ LIB_PROTO_MUTATOR_EXAMPLES \ LIB_PROTO_MUTATOR_EXAMPLES_USE_LATEST \ LIB_PROTO_MUTATOR_MSVC_STATIC_RUNTIME \ LIB_PROTO_MUTATOR_TESTING \ LIB_PROTO_MUTATOR_WITH_ASAN CMAKE_ON= BUILD_SHARED_LIBS CMAKE_TESTING_ON= LIB_PROTO_MUTATOR_TESTING LDFLAGS+= -labsl_hash \ -labsl_log_internal_message \ -labsl_log_internal_nullguard USE_GITHUB= yes GH_ACCOUNT= google .include diff --git a/devel/protobuf-c/Makefile b/devel/protobuf-c/Makefile index 2fd1ca29ef29..80ffb2fda665 100644 --- a/devel/protobuf-c/Makefile +++ b/devel/protobuf-c/Makefile @@ -1,42 +1,42 @@ PORTNAME= protobuf-c DISTVERSION= 1.5.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= https://github.com/protobuf-c/protobuf-c/releases/download/v${DISTVERSION}/ MAINTAINER= truckman@FreeBSD.org COMMENT= Code generator and libraries to use Protocol Buffers from pure C WWW= https://github.com/protobuf-c/protobuf-c LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \ libprotobuf.so:devel/protobuf USES= compiler:c++17-lang gmake libtool pkgconfig USE_CXXSTD= c++17 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip TEST_TARGET= check HAS_SYMBOL_VERSION= ${PREFIX}/lib/libprotobuf-c.so.1.0.0 PORTDOCS= * OPTIONS_DEFINE= DOXYGEN DOCS OPTIONS_DEFAULT= DOXYGEN DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= html-local post-install-DOXYGEN-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html .include diff --git a/devel/protobuf/Makefile b/devel/protobuf/Makefile index 4c0f6cb73997..37b00d61260d 100644 --- a/devel/protobuf/Makefile +++ b/devel/protobuf/Makefile @@ -1,55 +1,56 @@ PORTNAME= protobuf +# Be sure to bump consumers when updating PORTVERSION= 29.6 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= https://github.com/protocolbuffers/protobuf/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Data interchange format library WWW= https://protobuf.dev/ \ https://github.com/protocolbuffers/protobuf LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= abseil>=20230802.2:devel/abseil LIB_DEPENDS= libabsl_base.so:devel/abseil \ libjsoncpp.so:devel/jsoncpp TEST_DEPENDS= googletest>=0:devel/googletest USES= cmake:testing compiler:c++17-lang cpe localbase pkgconfig CMAKE_ARGS= -Dprotobuf_ABSL_PROVIDER=package \ -Dprotobuf_JSONCPP_PROVIDER=package CMAKE_OFF= protobuf_BUILD_CONFORMANCE \ protobuf_BUILD_EXAMPLES \ protobuf_BUILD_EXAMPLES_MULTITEST \ protobuf_BUILD_TESTS \ protobuf_DISABLE_RTTI \ protobuf_INSTALL_EXAMPLES \ protobuf_INSTALL_TESTS \ protobuf_MODULE_COMPATIBLE \ protobuf_MSVC_STATIC_RUNTIME \ protobuf_REMOVE_INSTALLED_HEADERS \ protobuf_USE_UNITY_BUILD CMAKE_ON= protobuf_ABSOLUTE_TEST_PLUGIN_PATH \ protobuf_ALLOW_CCACHE \ protobuf_BUILD_LIBPROTOC \ protobuf_BUILD_LIBUPB \ protobuf_BUILD_PROTOBUF_BINARIES \ protobuf_BUILD_PROTOC_BINARIES \ protobuf_BUILD_SHARED_LIBS \ protobuf_INSTALL \ protobuf_USE_EXTERNAL_GTEST \ protobuf_VERBOSE \ protobuf_WITH_ZLIB \ utf8_range_ENABLE_INSTALL CMAKE_TESTING_ON= protobuf_BUILD_TESTS USE_CXXSTD= c++17 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} CPE_VENDOR= google .include diff --git a/devel/pybind11_protobuf/Makefile b/devel/pybind11_protobuf/Makefile index 03c8fa3ebdcb..c03aecb0d1fb 100644 --- a/devel/pybind11_protobuf/Makefile +++ b/devel/pybind11_protobuf/Makefile @@ -1,32 +1,32 @@ PORTNAME= pybind11_protobuf PORTVERSION= 0.0.0.20240809 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pybind11 bindings for Google's Protocol Buffers WWW= https://github.com/pybind/pybind11_protobuf LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= abseil>=20230125:devel/abseil \ pybind11>=2.11.1:devel/pybind11 LIB_DEPENDS= libabsl_base.so:devel/abseil \ libprotobuf.so:devel/protobuf TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}absl-py>=0:devel/py-absl-py@${PY_FLAVOR} USES= cmake:testing compiler:c++17-lang localbase python CFLAGS+= -I${WRKSRC} CMAKE_ARGS= -DCMAKE_INSTALL_PYDIR=${PYTHON_SITELIBDIR} CMAKE_OFF= BUILD_TESTING CMAKE_ON= USE_SYSTEM_ABSEIL \ USE_SYSTEM_PROTOBUF \ USE_SYSTEM_PYBIND USE_GITHUB= yes GH_ACCOUNT= pybind GH_TAGNAME= f1b2459 .include diff --git a/devel/qt6-grpc/Makefile b/devel/qt6-grpc/Makefile index 75095af4897b..5d883aec70ee 100644 --- a/devel/qt6-grpc/Makefile +++ b/devel/qt6-grpc/Makefile @@ -1,17 +1,18 @@ PORTNAME= grpc DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 gRPC module LIB_DEPENDS= libabsl_base.so:devel/abseil \ libprotobuf.so:devel/protobuf USES= cmake compiler:c++17-lang gl pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/dns/knot-resolver/Makefile b/dns/knot-resolver/Makefile index f5484155986b..25836d49973a 100644 --- a/dns/knot-resolver/Makefile +++ b/dns/knot-resolver/Makefile @@ -1,144 +1,144 @@ PORTNAME= knot-resolver DISTVERSION= 5.7.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MASTER_SITES= https://knot-resolver.nic.cz/release/ \ https://dns.company/downloads/knot-resolver/ MAINTAINER= freebsd@dns.company COMMENT= Caching full resolver implementation WWW= https://www.knot-resolver.cz/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash \ flake8:devel/py-flake8@${PY_FLAVOR} \ lua51-cqueues>=20200726_1:devel/lua-cqueues@lua51 \ luacheck:devel/lua-luacheck LIB_DEPENDS= libdnssec.so:dns/knot3 \ libgnutls.so:security/gnutls \ libknot.so:dns/knot3 \ liblmdb.so:databases/lmdb \ libnghttp2.so:www/libnghttp2 \ libuv.so:devel/libuv \ libzscanner.so:dns/knot3 RUN_DEPENDS= lua51-cqueues>=20200726_1:devel/lua-cqueues@lua51 USES= cmake:indirect compiler:c11 libedit luajit meson ncurses ninja \ pkgconfig python:build shebangfix tar:xz USE_CXXSTD= c++11 USE_RC_SUBR= krescachegc kresd SHEBANG_FILES= scripts/bench.sh \ scripts/build-in-obs.sh \ scripts/coverage_c_combine.sh \ scripts/coverage_env.sh \ scripts/enable-repo-cznic-labs.sh \ scripts/gen-cdefs.sh \ scripts/gen-pgp-keyblock.sh \ scripts/get-date.sh \ scripts/luacov_gen_empty.sh \ scripts/make-archive.sh \ scripts/make-doc.sh \ scripts/make-obs.sh \ scripts/run-scanbuild-with-args.sh \ scripts/test-config.sh \ scripts/test-integration-prepare.sh \ scripts/update-authors.sh \ scripts/update-root-hints.sh \ scripts/upstream-version.sh MESON_ARGS= --buildtype=release \ --default-library=static \ --libdir=${PREFIX}/lib \ --pkg-config-path=${PREFIX}/libdata/pkgconfig \ --prefix=${LOCALBASE} \ -Dclient=enabled \ -Dgroup=${GROUPS} \ -Dinstall_kresd_conf=enabled \ -Dkeyfile_default=${ETCDIR}/root.keys \ -Droot_hints=${ETCDIR}/root.hints \ -Duser=${USERS} \ -Dutils=enabled LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS= knot-1.* knot1-[0-6].* SUB_FILES= pkg-message KRESD_USER= kresd KRESD_GROUP= kresd KRESD_RUNDIR= /var/run/kresd SUB_LIST= GROUPS=${GROUPS} \ RUNDIR=${RUNDIR} \ USERS=${USERS} USERS= ${KRESD_USER} GROUPS= ${KRESD_GROUP} RUNDIR= ${KRESD_RUNDIR} PLIST_SUB= GROUPS=${GROUPS} \ RUNDIR=${RUNDIR} \ USERS=${USERS} PORTDOCS= AUTHORS COPYING CodingStyle NEWS README.md PORTEXAMPLES= config.cluster config.docker config.internal config.isp \ config.personal config.privacy config.splitview OPTIONS_DEFINE= DOCS EXAMPLES DNSTAP ROOTKEYS TRUSTANCHOR TESTUNIT OPTIONS_DEFAULT= ROOTKEYS TRUSTANCHOR DNSTAP_DESC= dnstap support ROOTKEYS_DESC= Install root.keys TESTUNIT_DESC= Build unit tests TRUSTANCHOR_DESC= Trust anchor bootstrapping, management and stats DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ libprotobuf-c.so:devel/protobuf-c \ libprotobuf.so:devel/protobuf DNSTAP_MESON_ON= -Ddnstap=enabled DNSTAP_MESON_OFF= -Ddnstap=disabled DNSTAP_PLIST_FILES= lib/knot-resolver/kres_modules/dnstap.so ROOTKEYS_MESON_ON= -Dinstall_root_keys=enabled ROOTKEYS_MESON_OFF= -Dinstall_root_keys=disabled ROOTKEYS_PLIST_FILES= ${ETCDIR}/root.keys TESTUNIT_BUILD_DEPENDS= cmocka>=1.1.1:sysutils/cmocka TESTUNIT_MESON_ON= -Dunit_tests=enabled TESTUNIT_MESON_OFF= -Dunit_tests=disabled TRUSTANCHOR_MESON_ON= -Dmanaged_ta=enabled TRUSTANCHOR_MESON_OFF= -Dmanaged_ta=disabled STRIP_TARGETS= sbin/kres-cache-gc \ sbin/kresc \ sbin/kresd \ lib/knot-resolver/ahocorasick.so \ lib/knot-resolver/debug_opensslkeylog.so \ lib/knot-resolver/kres_modules/bogus_log.so \ lib/knot-resolver/kres_modules/dnstap.so \ lib/knot-resolver/kres_modules/edns_keepalive.so \ lib/knot-resolver/kres_modules/extended_error.so \ lib/knot-resolver/kres_modules/hints.so \ lib/knot-resolver/kres_modules/nsid.so \ lib/knot-resolver/kres_modules/refuse_nord.so \ lib/knot-resolver/kres_modules/stats.so pre-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${RUNDIR} post-install: ${MV} ${STAGEDIR}${ETCDIR}/kresd.conf ${STAGEDIR}${ETCDIR}/kresd.conf.sample ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .for STRIP_TGT in ${STRIP_TARGETS} if [ -f ${STAGEDIR}${PREFIX}/${STRIP_TGT} ]; then \ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${STRIP_TGT}; \ fi .endfor .include diff --git a/dns/knot-resolver6/Makefile b/dns/knot-resolver6/Makefile index 194ff3244636..648e681935a1 100644 --- a/dns/knot-resolver6/Makefile +++ b/dns/knot-resolver6/Makefile @@ -1,96 +1,97 @@ PORTNAME= knot-resolver DISTVERSION= 6.1.0 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= https://knot-resolver.nic.cz/release/ \ https://dns.company/downloads/knot-resolver/ PKGNAMESUFFIX?= 6 MAINTAINER= freebsd@dns.company COMMENT= Caching full resolver implementation WWW= https://www.knot-resolver.cz/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash \ flake8:devel/py-flake8@${PY_FLAVOR} \ ${LUA_FLAVOR}-cqueues>=20200726_1:devel/lua-cqueues@${LUA_FLAVOR} \ luacheck:devel/lua-luacheck LIB_DEPENDS= libdnssec.so:dns/knot3 \ libgnutls.so:security/gnutls \ libknot.so:dns/knot3 \ liblmdb.so:databases/lmdb \ libnghttp2.so:www/libnghttp2 \ libuv.so:devel/libuv \ libzscanner.so:dns/knot3 RUN_DEPENDS= ${LUA_FLAVOR}-cqueues>=20200726_1:devel/lua-cqueues@${LUA_FLAVOR} USES= cmake:indirect compiler:c11 lua:build,run luajit meson ncurses \ ninja pkgconfig python:build tar:xz USE_CXXSTD= c++11 USE_RC_SUBR= krescachegc kresd CMAKE_ARGS+= -DCLANG_TIDY=${LOCALBASE}/bin/clang-tidy${COMPILER_VERSION:C/.$//} \ -DRUN_CLANG_TIDY=${LOCALBASE}/llvm${COMPILER_VERSION:C/.$//}/bin/run-clang-tidy MESON_ARGS= --buildtype=release \ --default-library=static \ --libdir=${PREFIX}/lib \ --pkg-config-path=${PREFIX}/libdata/pkgconfig \ --prefix=${LOCALBASE} \ --strip \ -Dgroup=${GROUPS} \ -Dinstall_kresd_conf=enabled \ -Dkeyfile_default=${ETCDIR}/root.keys \ -Dmalloc=auto \ -Droot_hints=${ETCDIR}/root.hints \ -Duser=${USERS} \ -Dutils=enabled CONFLICTS= knot-resolver-[0-5].* SUB_FILES= pkg-message KRESD_USER= kresd KRESD_GROUP= kresd KRESD_RUNDIR= /var/run/kresd SUB_LIST= GROUPS=${GROUPS} \ RUNDIR=${RUNDIR} \ USERS=${USERS} USERS= ${KRESD_USER} GROUPS= ${KRESD_GROUP} RUNDIR= ${KRESD_RUNDIR} PLIST_SUB= GROUPS=${GROUPS} \ RUNDIR=${RUNDIR} \ USERS=${USERS} PORTDOCS= AUTHORS COPYING CodingStyle NEWS README.md PORTEXAMPLES= config.cluster config.docker config.internal config.isp \ config.personal config.privacy config.splitview OPTIONS_DEFINE= DOCS EXAMPLES DNSTAP TESTUNIT DNSTAP_DESC= dnstap support TESTUNIT_DESC= Build unit tests DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ libprotobuf-c.so:devel/protobuf-c \ libprotobuf.so:devel/protobuf DNSTAP_MESON_ON= -Ddnstap=enabled DNSTAP_MESON_OFF= -Ddnstap=disabled DNSTAP_PLIST_FILES= lib/knot-resolver/kres_modules/dnstap.so TESTUNIT_BUILD_DEPENDS= cmocka>=1.1.1:sysutils/cmocka TESTUNIT_MESON_ON= -Dunit_tests=enabled TESTUNIT_MESON_OFF= -Dunit_tests=disabled TESTUNIT_LDFLAGS= -pthread post-install: ${MKDIR} ${STAGEDIR}${RUNDIR} ${MV} ${STAGEDIR}${ETCDIR}/kresd.conf ${STAGEDIR}${ETCDIR}/kresd.conf.sample ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/filesystems/securefs/Makefile b/filesystems/securefs/Makefile index 1122ae03f63f..c7166b6fce69 100644 --- a/filesystems/securefs/Makefile +++ b/filesystems/securefs/Makefile @@ -1,38 +1,39 @@ PORTNAME= securefs PORTVERSION= 2.0.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= filesystems PKGNAMEPREFIX= fusefs- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Filesystem in userspace with transparent encryption and decryption WWW= https://github.com/netheril96/securefs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${LOCALBASE}/include/tclap/TCLAPConfig.h:devel/tclap LIB_DEPENDS= libabsl_strings.so:devel/abseil \ libargon2.so:security/libargon2 \ libcryptopp.so:security/cryptopp \ libfruit.so:devel/fruit \ libprotobuf.so:devel/protobuf \ libuni-algo.so:textproc/uni-algo USES= cmake compiler:c++17-lang fuse pkgconfig sqlite CMAKE_OFF= SECUREFS_ADDRESS_SANITIZE \ SECUREFS_ENABLE_INTEGRATION_TEST \ SECUREFS_ENABLE_JEMALLOC \ SECUREFS_ENABLE_MIMALLOC \ SECUREFS_ENABLE_UNIT_TEST \ SECUREFS_LINK_PROFILER \ SECUREFS_USE_FUSET \ SECUREFS_USE_VCPKG PLIST_FILES= bin/securefs USE_GITHUB= yes GH_ACCOUNT= netheril96 .include diff --git a/filesystems/zerofs/Makefile b/filesystems/zerofs/Makefile index ffbdc7c87b79..5c6ed16a8ded 100644 --- a/filesystems/zerofs/Makefile +++ b/filesystems/zerofs/Makefile @@ -1,38 +1,39 @@ PORTNAME= zerofs DISTVERSIONPREFIX= v DISTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= filesystems sysutils MAINTAINER= stephan@lichtenauer.co.za COMMENT= ZeroFS is 9P/NFS/NBD on top of S3 WWW= https://github.com/Barre/ZeroFS LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC:H}/LICENSE NOT_FOR_ARCHS= armv6 armv7 i386 powerpc NOT_FOR_ARCHS_REASON= 32-bit compilation is not supported BUILD_DEPENDS+= protoc:devel/protobuf LIB_DEPENDS+= libprotobuf.so:devel/protobuf \ libzstd.so:archivers/zstd USES= cargo gmake USE_GITHUB= yes GH_ACCOUNT= Barre GH_PROJECT= ZeroFS CARGO_ENV+= PROTOC=${LOCALBASE}/bin/protoc CARGO_BUILD_ARGS= --no-default-features --features "" RUSTFLAGS+= --cfg tokio_unstable WRKSRC_SUBDIR= zerofs PLIST_FILES= bin/zerofs post-extract: @cd ${WRKDIR} && \ ${MV} zerofs_arrow-rs-object-store-01b0349f126c9eda8e7ad8767c7e4868debe3602 arrow-rs-object-store-01b0349f126c9eda8e7ad8767c7e4868debe3602 .include diff --git a/games/pink-pony/Makefile b/games/pink-pony/Makefile index ca18837e373c..19e13e5da067 100644 --- a/games/pink-pony/Makefile +++ b/games/pink-pony/Makefile @@ -1,54 +1,54 @@ PORTNAME= pink-pony PORTVERSION= 1.4.1 -PORTREVISION= 50 +PORTREVISION= 51 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tron-like multiplayer racing game WWW= https://github.com/ginkgo/pink-pony LICENSE= GPLv3+ LIB_DEPENDS= libIL.so:graphics/devil \ libprotobuf.so:devel/protobuf \ libglfw.so.0:graphics/glfw2 \ libftgl.so:graphics/ftgl \ libsigc-2.0.so:devel/libsigc++20 \ libImath.so:math/Imath USE_GITHUB= yes GH_ACCOUNT= ginkgo USES= pkgconfig scons compiler:c++17-lang gl sdl USE_CXXSTD= c++17 USE_GL= gl glu USE_SDL= mixer SUB_FILES= pink-pony.sh LDFLAGS+= -labsl_log_internal_check_op \ -labsl_log_internal_message \ -labsl_log_internal_nullguard PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -Ee 's,resources/,${DATADIR}/,' \ ${WRKSRC}/pony.options ${WRKSRC}/src/Config.cc @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/install/pink-pony.desktop do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Pony ${STAGEDIR}${PREFIX}/libexec/ cd ${WRKSRC}/resources && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/pony.options ${STAGEDIR}${DATADIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/pink-pony.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/install/pink-pony.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/install/pink-pony.desktop ${STAGEDIR}${PREFIX}/share/applications/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile index 718845adf031..aec9f86196ec 100644 --- a/games/warzone2100/Makefile +++ b/games/warzone2100/Makefile @@ -1,77 +1,78 @@ PORTNAME= warzone2100 DISTVERSION= 4.6.3 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://github.com/Warzone2100/warzone2100/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}_src DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Innovative 3D real-time strategy game WWW= https://wz2100.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= 7zz:archivers/7-zip \ a2x:textproc/asciidoc LIB_DEPENDS= libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libminiupnpc.so:net/miniupnpc \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libopusfile.so:audio/opusfile \ libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libprotobuf.so:devel/protobuf \ libsodium.so:security/libsodium \ libtheoradec.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis \ libzip.so:archivers/libzip RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu USES= cmake bison compiler:c++11-lib gl openal:al pkgconfig \ sdl sqlite tar:xz USE_GL= gl USE_SDL= sdl3 CMAKE_ON= WZ_DISABLE_FETCHCONTENT_GIT_CLONE \ CMAKE_DISABLE_FIND_PACKAGE_Asciidoctor \ CMAKE_DISABLE_FIND_PACKAGE_Git \ FETCHCONTENT_FULLY_DISCONNECTED CMAKE_OFF= FMT_INSTALL \ WZ_DOWNLOAD_PREBUILT_PACKAGES \ WZ_ENABLE_WARNINGS_AS_ERRORS \ WZ_FORCE_MINIMAL_OPUSFILE CMAKE_ARGS= -DWZ_DISTRIBUTOR="FreeBSD ports" WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= VULKAN FRIBIDI DOCS NLS OPTIONS_DEFAULT=VULKAN FRIBIDI OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_BOOL= ENABLE_NLS VULKAN_DESC= Enable Vulkan backend VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers \ ${LOCALBASE}/bin/glslc:graphics/shaderc VULKAN_CMAKE_BOOL= WZ_ENABLE_BACKEND_VULKAN FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Fribidi=TRUE post-patch: @${FIND} ${WRKSRC} -type f -iname "*cmake*" -exec \ ${REINPLACE_CMD} -i '' -e '/find_package(Git/d' {} \; post-extract: .for bundled in miniupnp SQLiteCpp/sqlite3 @${RM} -rf ${WRKSRC}/3rdparty/${bundled} .endfor @${RM} -rf ${WRKSRC}/lib/sound/3rdparty .include diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile index ab223ab6cd42..324d35ceebe9 100644 --- a/japanese/mozc-server/Makefile +++ b/japanese/mozc-server/Makefile @@ -1,409 +1,409 @@ PORTNAME= mozc PORTVERSION= 2.23.2815.102.01 DISTVERSIONPREFIX= v -PORTREVISION?= 31 +PORTREVISION?= 32 CATEGORIES= japanese MAINTAINER= hrs@FreeBSD.org COMMENT?= Mozc Japanese Input Method, Server WWW= https://github.com/google/mozc BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gyp>=20200512:devel/py-gyp@${PY_FLAVOR} EXTRACT_DEPENDS=${PYTHON_CMD}:${PYTHON_PORTSDIR} LIB_DEPENDS= libprotobuf.so:devel/protobuf \ libzinnia.so:japanese/zinnia RUN_DEPENDS= xdg-open:devel/xdg-utils BROKEN_FreeBSD_13_powerpc64= fails to build: ERROR: ninja -v -C out_linux/Release mozc_server: Error code 1 BROKEN_powerpc= fails to compile: segfault USE_GITHUB= yes GH_ACCOUNT= hrs-allbsd GH_TUPLE= hiroyuki-komatsu:japanese-usage-dictionary:e5b3425:udic USES= compiler:c++17-lang gmake ninja:build pkgconfig \ python:build shebangfix tar:bzip2 SHEBANG_FILES= src/build_mozc.py BUILD_WRKSRC= ${WRKSRC}/src LDFLAGS+= -labsl_spinlock_wait USE_CXXSTD= c++17 BUILD_MOZC_LIST?= mozc_server .if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" PKGNAMEPREFIX= ja- PKGNAMESUFFIX= -server LICENSE= BSD3CLAUSE NAISTL LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE LICENSE_DISTFILES_BSD3CLAUSE= ${DISTNAME}${EXTRACT_SUFX} LICENSE_NAME_NAISTL= Nara Institute of Science and Technology License LICENSE_PERMS_NAISTL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_FILE_NAISTL= ${WRKSRC}/src/data/dictionary_oss/README.txt LICENSE_DISTFILES_NAISTL=${DISTNAME}${EXTRACT_SUFX} .elif ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" USES+= qt:5 gnome USE_GNOME= glib20 gtk20 USE_QT= buildtools core gui widgets .elif ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" USES+= gettext-runtime gnome xorg USE_XORG= xcb USE_GNOME= cairo gdkpixbuf glib20 gtk20 LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 .elif ${BUILD_MOZC_LIST:Mmozc_el} == "mozc_el" USES+= emacs .elif ${BUILD_MOZC_LIST:Mfcitx_mozc} USES+= gettext-tools .endif # Use GCC only when the stock clang does not have libc++.so. .if exists(/usr/bin/clang) && exists(/usr/lib/libc++.so) _CCTYPE= clang .else USE_GCC= yes _CCTYPE= gcc .endif .include GYP_DEFINES= use_libprotobuf=1 \ channel_dev=0 \ enable_unittest=0 \ compiler_host='${_CCTYPE}' \ compiler_target='${_CCTYPE}' \ use_libzinnia=1 \ zinnia_model_file='${LOCALBASE}/share/tegaki/models/zinnia/handwriting-ja.model' \ ibus_mozc_icon_path='${LOCALBASE}/share/ibus-mozc/icons/product_icon.png' \ ibus_mozc_path='${PREFIX}/libexec/ibus-engine-mozc' BUILD_MODE= Release BUILD_CMD= ${SETENV} ${MAKE_ENV} PATH=/bin:/usr/bin:${PATH} ${MAKE_CMD} BUILD_MOZC_CMD= cd ${BUILD_WRKSRC} && \ ${SETENV} BUILD_COMMAND="${BUILD_WRKSRC}/mozcmake" \ PATH="${PATH}" \ GYP_DEFINES="${GYP_DEFINES}" \ PYTHONPATH=${PYTHON_SITELIBDIR}/gyp \ CC_host="${CC}" \ CC_target="${CC}" \ CXX_host="${CXX}" \ CXX_target="${CXX}" \ LD_host="${CXX}" \ AR_host="${AR}" \ ${MAKE_ENV} \ ${PYTHON_CMD} build_mozc.py BUILD_MOZC_CMD_BUILD= ${BUILD_MOZC_CMD} build -c ${BUILD_MODE} ${_MAKE_JOBS} BUILD_GYP_CMD= ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/gyp post-extract: # XXX: do not activate fcitx5 ${RM} -r ${WRKSRC}/src/unix/fcitx5 post-patch: ${FIND} ${BUILD_WRKSRC} \( -name '*.gyp' -o -name '*.gypi' \) -exec \ ${REINPLACE_CMD} "s,'python','${PYTHON_CMD}',g" {} \; .if ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc" ${REINPLACE_CMD} 's,/po/mo},%po}mo,g' \ ${BUILD_WRKSRC}/unix/fcitx/gen_fcitx_mozc_i18n.sh ${REINPLACE_CMD} \ "s,IconName=.*,IconName=${LOCALBASE:Q}/share/fcitx/mozc/icon/mozc.png," \ ${BUILD_WRKSRC}/unix/fcitx/mozc.conf .endif .if !${BUILD_MOZC_LIST:Mmozc_el} ${BUILD_WRKSRC}/mozcmake: ${PRINTF} "%s\n\n%s\n" "#!/bin/sh" 'exec ${BUILD_CMD} "$$@"' \ > ${BUILD_WRKSRC}/mozcmake ${CHMOD} +x ${BUILD_WRKSRC}/mozcmake post-configure: ${BUILD_WRKSRC}/mozcmake ${BUILD_MOZC_CMD} gyp \ --gypdir=${LOCALBASE}/bin \ --server_dir="${PREFIX}/bin" \ --tool_dir="${PREFIX}/libexec" \ --renderer_dir="${PREFIX}/libexec" \ --localbase="${LOCALBASE}" \ --ldflags="${LDFLAGS} -fstack-protector -L${LOCALBASE}/lib" \ --cflags="${CFLAGS:Q}" \ --cflags_cc="${CXXFLAGS:Q}" \ --include_dirs="${LOCALBASE}/include" \ ${GYP_OPTIONS} .endif # mozc_server .if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" || make(makesum) GYP_OPTIONS+= --noqt GYP_DEFINES+= use_libibus=0 \ enable_gtk_renderer=0 MASTER_SITES+= LOCAL/hrs:zipcode DISTFILES+= \ ken_all-20221228.zip:zipcode \ jigyosyo-20221228.zip:zipcode PLIST_FILES+= bin/mozc \ bin/mozc_server \ libexec/mozc_emacs_helper SUB_FILES+= mozc post-patch-mozc_server: @for F in ${DISTFILES:M*\:zipcode:C/\:zipcode//}; do \ ${UNZIP_NATIVE_CMD} -L -d ${BUILD_WRKSRC}/data/dictionary_oss \ ${DISTDIR}/$$F; \ done cd ${BUILD_WRKSRC}/data/dictionary_oss && \ ${SETENV} PYTHONPATH=${BUILD_WRKSRC} \ ${PYTHON_CMD} ${BUILD_WRKSRC}/dictionary/gen_zip_code_seed.py \ --zip_code=ken_all.csv --jigyosyo=jigyosyo.csv \ >> dictionary09.txt ${MV} ${WRKSRC_udic}/usage_dict.txt \ ${BUILD_WRKSRC}/third_party/japanese_usage_dictionary post-patch: post-patch-mozc_server do-build-mozc_server: ${BUILD_MOZC_CMD_BUILD} server/server.gyp:mozc_server ${BUILD_MOZC_CMD_BUILD} unix/emacs/emacs.gyp:mozc_emacs_helper do-install-mozc_server: ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/mozc_server \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/mozc_emacs_helper \ ${STAGEDIR}${PREFIX}/libexec ${INSTALL_SCRIPT} \ ${WRKDIR}/mozc ${STAGEDIR}/${PREFIX}/bin .endif # mozc_tool .if ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" GYP_DEFINES+= use_libibus=0 \ enable_gtk_renderer=1 RUN_DEPENDS+= ${LOCALBASE}/share/tegaki/models/zinnia/handwriting-ja.model:japanese/tegaki-zinnia-japanese PLIST_FILES+= libexec/mozc_tool \ bin/mozc_tool \ %%DATADIR%%/icons/product_logo.png \ %%DATADIR%%/icons/update_uptodate.png SUB_FILES+= mozc_tool do-build-mozc_tool: ${BUILD_MOZC_CMD_BUILD} gui/gui.gyp:mozc_tool do-install-mozc_tool: ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/mozc_tool \ ${STAGEDIR}${PREFIX}/libexec ${INSTALL_SCRIPT} ${WRKDIR}/mozc_tool ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/icons ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/ime_product_icon_opensource-32.png \ ${STAGEDIR}${DATADIR}/icons/product_logo.png ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/ime_product_icon_opensource-32.png \ ${STAGEDIR}${DATADIR}/icons/update_uptodate.png .endif # ibus_mozc .if ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" GYP_OPTIONS+= --noqt GYP_DEFINES+= use_libibus=1 \ enable_gtk_renderer=1 LIB_DEPENDS+= libibus-1.0.so:textproc/ibus RUN_DEPENDS+= mozc_server:japanese/mozc-server \ mozc_tool:japanese/mozc-tool PLIST_FILES+= libexec/mozc_renderer \ libexec/ibus-engine-mozc \ %%DATADIR%%/icons/alpha_full.png \ %%DATADIR%%/icons/alpha_half.png \ %%DATADIR%%/icons/dictionary.png \ %%DATADIR%%/icons/direct.png \ %%DATADIR%%/icons/hiragana.png \ %%DATADIR%%/icons/katakana_full.png \ %%DATADIR%%/icons/katakana_half.png \ %%DATADIR%%/icons/product_icon.png \ %%DATADIR%%/icons/properties.png \ %%DATADIR%%/icons/tool.png \ share/ibus/component/mozc.xml PLIST_DIRS+= %%DATADIR%%/icons ${DATADIR_REL} do-build-ibus_mozc: ${BUILD_MOZC_CMD_BUILD} \ unix/ibus/ibus.gyp:ibus_mozc \ renderer/renderer.gyp:mozc_renderer do-install-ibus_mozc: ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/mozc_renderer \ ${STAGEDIR}${PREFIX}/libexec/mozc_renderer ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/ibus_mozc \ ${STAGEDIR}${PREFIX}/libexec/ibus-engine-mozc ${MKDIR} ${STAGEDIR}${PREFIX}/share/ibus/component ${INSTALL_DATA} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/gen/unix/ibus/mozc.xml \ ${STAGEDIR}${PREFIX}/share/ibus/component/mozc.xml @${MKDIR} ${STAGEDIR}${DATADIR}/icons .for F in ui-alpha_full ui-alpha_half ui-dictionary ui-direct \ ui-hiragana ui-katakana_full ui-katakana_half ui-properties ui-tool ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/${F}.png \ ${STAGEDIR}${DATADIR}/icons/${F:S/^ui-//}.png .endfor ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/ime_product_icon_opensource-32.png \ ${STAGEDIR}${DATADIR}/icons/product_icon.png .endif # uim_mozc .if ${BUILD_MOZC_LIST:Muim_mozc} == "uim_mozc" || make(makesum) GH_TUPLE+= e-kato:macuim:v0.6.16.2.1:MU LIB_DEPENDS+= libuim.so:textproc/uim RUN_DEPENDS+= mozc_server:japanese/mozc-server \ mozc_tool:japanese/mozc-tool EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-unix-uim-mozc.cc \ ${PATCHDIR}/extra-patch-src-unix-uim-uim.gyp \ ${PATCHDIR}/extra-patch-src-unix-uim-key_translator.h \ ${PATCHDIR}/extra-patch-src-unix-uim-key_translator.cc PLIST_FILES+= lib/uim/plugin/libuim-mozc.so \ %%DATADIR%%/mozc.scm \ %%DATADIR%%/mozc-custom.scm \ %%DATADIR%%/mozc-key-custom.scm \ %%DATADIR%%/pixmaps/mozc.png \ "@postexec ${SETENV} MOZC_NOLOG=true ${LOCALBASE}/bin/uim-module-manager --register mozc" \ "@preunexec ${LOCALBASE}/bin/uim-module-manager --unregister mozc" GYP_OPTIONS+= --noqt GYP_DEFINES+= use_libibus=0 \ enable_gtk_renderer=0 post-extract-uim_mozc: ${MV} ${WRKSRC_MU}/Mozc/uim ${BUILD_WRKSRC}/unix ${REINPLACE_CMD} -e "s,/usr/lib/mozc,${LOCALBASE}/libexec," \ ${WRKSRC_MU}/Mozc/scm/mozc-custom.scm post-extract: post-extract-uim_mozc do-build-uim_mozc: ${BUILD_MOZC_CMD_BUILD} \ unix/uim/uim.gyp:uim-mozc do-install-uim_mozc: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/uim/plugin ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/libuim-mozc.so \ ${STAGEDIR}${PREFIX}/lib/uim/plugin ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC_MU}/Mozc/scm && \ ${INSTALL_DATA} mozc.scm mozc-custom.scm mozc-key-custom.scm \ ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}/pixmaps ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/product_icon_32bpp-128.png \ ${STAGEDIR}${DATADIR}/pixmaps/mozc.png .endif # fcitx_mozc .if ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc" GYP_OPTIONS+= --noqt GYP_DEFINES+= use_libibus=0 \ enable_gtk_renderer=0 \ use_fcitx="YES" LIB_DEPENDS+= libfcitx-core.so:chinese/fcitx RUN_DEPENDS+= mozc_server:japanese/mozc-server \ mozc_tool:japanese/mozc-tool PLIST_FILES+= lib/fcitx/fcitx-mozc.so \ share/fcitx/addon/fcitx-mozc.conf \ share/fcitx/inputmethod/mozc.conf \ %%DATADIR%%/icon/mozc.png \ %%DATADIR%%/icon/mozc-alpha_full.png \ %%DATADIR%%/icon/mozc-alpha_half.png \ %%DATADIR%%/icon/mozc-direct.png \ %%DATADIR%%/icon/mozc-hiragana.png \ %%DATADIR%%/icon/mozc-katakana_full.png \ %%DATADIR%%/icon/mozc-katakana_half.png \ %%DATADIR%%/icon/mozc-dictionary.png \ %%DATADIR%%/icon/mozc-properties.png \ %%DATADIR%%/icon/mozc-tool.png \ share/locale/ja/LC_MESSAGES/fcitx-mozc.mo \ share/locale/zh_CN/LC_MESSAGES/fcitx-mozc.mo \ share/locale/zh_TW/LC_MESSAGES/fcitx-mozc.mo PLIST_DIRS+= %%DATADIR%%/icon ${DATADIR_REL} do-build-fcitx_mozc: ${BUILD_MOZC_CMD_BUILD} unix/fcitx/fcitx.gyp:fcitx-mozc do-install-fcitx_mozc: @${MKDIR} \ ${STAGEDIR}${PREFIX}/lib/fcitx \ ${STAGEDIR}${PREFIX}/share/fcitx/addon \ ${STAGEDIR}${PREFIX}/share/fcitx/inputmethod ${INSTALL_LIB} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/fcitx-mozc.so \ ${STAGEDIR}${PREFIX}/lib/fcitx/fcitx-mozc.so ${INSTALL_DATA} \ ${BUILD_WRKSRC}/unix/fcitx/fcitx-mozc.conf \ ${STAGEDIR}${PREFIX}/share/fcitx/addon/fcitx-mozc.conf ${INSTALL_DATA} \ ${BUILD_WRKSRC}/unix/fcitx/mozc.conf \ ${STAGEDIR}${PREFIX}/share/fcitx/inputmethod/mozc.conf @${MKDIR} ${STAGEDIR}${DATADIR}/icon .for F in ui-alpha_full ui-alpha_half ui-dictionary ui-direct \ ui-hiragana ui-katakana_full ui-katakana_half ui-properties ui-tool ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/${F}.png \ ${STAGEDIR}${DATADIR}/icon/${F:S,^ui-,mozc-,}.png .endfor ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/product_icon_32bpp-128.png \ ${STAGEDIR}${DATADIR}/icon/mozc.png .for L in ja zh_CN zh_TW ${INSTALL_DATA} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/gen/unix/fcitx/po/${L}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${L}/LC_MESSAGES/fcitx-mozc.mo .endfor .endif # mozc_el .if ${BUILD_MOZC_LIST:Mmozc_el} == "mozc_el" CATEGORIES+= elisp RUN_DEPENDS+= mozc_server:japanese/mozc-server NO_ARCH= yes PLIST_FILES+= ${EMACS_VERSION_SITE_LISPDIR}/mozc/mozc.elc \ ${EMACS_VERSION_SITE_LISPDIR}/mozc/mozc.el.gz \ ${EMACS_VERSION_SITE_LISPDIR}/mozc/leim-list.el PLIST_DIRS+= ${EMACS_VERSION_SITE_LISPDIR}/mozc post-patch-mozc_el: ${REINPLACE_CMD} "s,%%PREFIX%%,${PREFIX}," \ ${BUILD_WRKSRC}/unix/emacs/mozc.el post-patch: post-patch-mozc_el do-build-mozc_el: cd ${BUILD_WRKSRC}/unix/emacs && \ ${EMACS_CMD} -batch -q -no-site-file -no-init-file \ -f batch-byte-compile mozc.el && \ ${GZIP_CMD} mozc.el do-install-mozc_el: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/mozc ${INSTALL_DATA} \ ${BUILD_WRKSRC}/unix/emacs/mozc.el.gz \ ${BUILD_WRKSRC}/unix/emacs/mozc.elc \ ${FILESDIR}/leim-list.el \ ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/mozc/ .endif do-build: ${BUILD_MOZC_LIST:S/^/do-build-/} do-install: ${BUILD_MOZC_LIST:S/^/do-install-/} .include diff --git a/mail/astroid/Makefile b/mail/astroid/Makefile index c70f709326ba..9947597aecef 100644 --- a/mail/astroid/Makefile +++ b/mail/astroid/Makefile @@ -1,38 +1,38 @@ PORTNAME= astroid DISTVERSIONPREFIX= v DISTVERSION= 0.17 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MAINTAINER= mylan.connolly@gmail.com COMMENT= Graphical email client for notmuch, inspired by sup and others WWW= https://astroidmail.github.io/ LICENSE= GPLv3+ LGPL21+ LICENSE_COMB= dual LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.GPL-3.0+ LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LGPL-2.1+ BUILD_DEPENDS= scdoc:textproc/scdoc \ notmuch>0:mail/notmuch LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libjavascriptcoregtk-4.1.so:www/webkit2-gtk@41 \ libgmime-3.0.so:mail/gmime30 \ libgnutls.so:security/gnutls \ libpcre2-8.so:devel/pcre2 \ libpeas-1.0.so:devel/libpeas1 \ libprotobuf.so:devel/protobuf \ libsass.so:textproc/libsass \ libsoup-2.4.so:devel/libsoup RUN_DEPENDS= notmuch:mail/notmuch USES= cmake compiler:c++17-lang desktop-file-utils gettext-runtime gnome \ pkgconfig USE_GITHUB= yes GH_ACCOUNT= astroidmail USE_GNOME= atk atkmm cairo cairomm gdkpixbuf glib20 glibmm gtk30 \ gtkmm30 introspection libsigc++20 pango pangomm vte3 USE_CXXSTD= c++17 .include diff --git a/math/or-tools/Makefile b/math/or-tools/Makefile index 198720a543f3..127fd1d299cd 100644 --- a/math/or-tools/Makefile +++ b/math/or-tools/Makefile @@ -1,75 +1,75 @@ PORTNAME= or-tools DISTVERSIONPREFIX= v DISTVERSION= 9.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Google's Operations Research tools WWW= https://github.com/google/or-tools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE PATCH_DEPENDS= gsed:textproc/gsed xBUILD_DEPENDS= benchmark>0:devel/benchmark \ googletest>0:devel/googletest LIB_DEPENDS= libabsl_base.so:devel/abseil \ libbzip2.so:misc/vxl \ libCbc.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libcoinmumps.so:math/coin-or-mumps \ libCoinUtils.so:math/coinutils \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libhighs.so:math/highs \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libOsiClp.so:math/clp \ libprotobuf.so:devel/protobuf \ libre2.so:devel/re2 TEST_DEPENDS= googletest>0:devel/googletest USES= blaslapack cmake:testing compiler:c++17-lang eigen:3 pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= google CMAKE_OFF= BUILD_PYTHON BUILD_DEPS INSTALL_BUILD_DEPS \ BUILD_TESTING BUILD_EXAMPLES BUILD_SAMPLES CMAKE_ON= BUILD_CXX \ USE_PDLP CMAKE_TESTING_ON= BUILD_TESTING BUILD_EXAMPLES BUILD_CXX_EXAMPLES CONFIGURE_ENV= UNIX_CBC_DIR=${LOCALBASE} UNIX_CLP_DIR=${LOCALBASE} OPTIONS_DEFINE= DOCS FLATZINC SCIP OPTIONS_DEFAULT= FLATZINC # SCIP OPTIONS_SUB= yes FLATZINC_DESC= Build FlatZinc - MiniZinc interface FLATZINC_CMAKE_BOOL= BUILD_FLATZINC SCIP_DESC= Use the SCIP solver # SCIP package isn't built because of licensing restrictions SCIP_CMAKE_BOOL= USE_SCIP SCIP_LIB_DEPENDS= libscip.so:math/SCIP SCIP_BROKN= configure fails, see https://github.com/google/or-tools/issues/4912 DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/-//} PORTDOCS= * post-patch: @${REINPLACE_CMD} -e '17,19d' ${WRKSRC}/ortools/base/logging.h post-install: @${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete # tests as of 9.12-20250219: 97% tests passed, 5 tests failed out of 163: # Tests cxx_cpp_linear_programming and cxx_cpp_integer_programming abort: https://github.com/google/or-tools/issues/4555 # 13 tests fail whuke running the math_opt_solvers_cp_sat_solver_test test executable: https://github.com/google/or-tools/issues/4556 # The test SimpleMaxFlowTest.ProblematicProblemWithMaxCapacity (graph_max_flow_test) fails to find test data when it is built outsource: https://github.com/google/or-tools/issues/4557 .include diff --git a/math/py-or-tools/Makefile b/math/py-or-tools/Makefile index d31420eef0f4..10b21956a76c 100644 --- a/math/py-or-tools/Makefile +++ b/math/py-or-tools/Makefile @@ -1,89 +1,89 @@ PORTNAME= or-tools DISTVERSIONPREFIX= v DISTVERSION= 9.6 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= math PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Google's Operations Research tools (Python binding) WWW= https://github.com/google/or-tools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32 BROKEN_i386= SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32 # see https://github.com/google/or-tools/issues/2130 PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}absl-py>0:devel/py-absl-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} \ ${PY_SETUPTOOLS} \ pybind11>0:devel/pybind11 \ protoc-gen-mypy:devel/py-mypy-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}virtualenv>0:devel/py-virtualenv@${PY_FLAVOR} \ swig:devel/swig LIB_DEPENDS= libabsl_base.so:devel/abseil \ libCbc.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libcoinmumps.so:math/coin-or-mumps \ libCoinUtils.so:math/coinutils \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libOsiClp.so:math/clp \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libprotobuf.so:devel/protobuf \ libre2.so:devel/re2 RUN_DEPENDS= ${PY_DEPENDS} USES= blaslapack cmake:insource compiler:c++17-lang eigen:3 pkgconfig python USE_PYTHON= flavors pytest # tests fail, see https://github.com/google/or-tools/issues/3464 USE_GITHUB= yes GH_ACCOUNT= google CMAKE_OFF= BUILD_DEPS BUILD_pybind11 INSTALL_BUILD_DEPS BUILD_TESTING BUILD_EXAMPLES CMAKE_ON= BUILD_PYTHON CMAKE_ARGS= -DSWIG_EXECUTABLE=${LOCALBASE}/bin/swig -DFREEBSD_PYTHON_VER=${PYTHON_VER} CONFIGURE_ENV= UNIX_CBC_DIR=${LOCALBASE} UNIX_CLP_DIR=${LOCALBASE} BUILD_ENV= UNIX_CBC_DIR=${LOCALBASE} UNIX_CLP_DIR=${LOCALBASE} TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} OPTIONS_DEFINE= SCIP SCIP_DESC= Use the SCIP solver # SCIP package isn't built because of licensing restrictions SCIP_CMAKE_BOOL= USE_SCIP SCIP_LIB_DEPENDS= libscip.so:math/SCIP post-patch: @${REINPLACE_CMD} -e '/absl::container/s,^,#,' \ ${WRKSRC}/ortools/constraint_solver/CMakeLists.txt \ ${WRKSRC}/ortools/glop/CMakeLists.txt \ ${WRKSRC}/ortools/linear_solver/CMakeLists.txt \ ${WRKSRC}/ortools/sat/CMakeLists.txt @${REINPLACE_CMD} -e '17,19d ; /AbslStringify/,+10d' \ ${WRKSRC}/ortools/base/logging.h do-install: # by default cmake installs the whole or-tools project without the python part, so extract the wheel and install python files manually here ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && \ unzip ${BUILD_WRKSRC}/python/dist/ortools-${DISTVERSION}*.whl && \ ${RM} -rf ortools-*.dist-info ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name "*.so" -o -name "*.so.*" | ${XARGS} ${STRIP_CMD} run-examples: # one of the examples fail: https://github.com/google/or-tools/issues/3463 .for e in arc_flow_cutting_stock_sat.py bus_driver_scheduling_sat.py cover_rectangle_sat.py cvrptw_plot.py qubo_sat.py # list is from examples/python/CMakeLists.txt @cd ${WRKSRC}/examples/python && \ ${ECHO} "==> Running ${PORTNAME} test ${e} ..." && \ ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${e} && \ ${ECHO} "... test ${e} succeeded" .endfor .include diff --git a/misc/caffe/Makefile b/misc/caffe/Makefile index f9a89838058d..075c6d38ce01 100644 --- a/misc/caffe/Makefile +++ b/misc/caffe/Makefile @@ -1,54 +1,54 @@ PORTNAME= caffe DISTVERSION= 1.0-136 DISTVERSIONSUFFIX= -g9b891540 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= misc # machine-learning PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 7f503bd9a19758a173064e299ab9d4cac65ed60f.patch:-p1 # opencv4 fix PATCHFILES+= 1b317bab3f6413a1b5d87c9d3a300d785a4173f9.patch:-p1 # protobuf3 fix MAINTAINER= yuri@FreeBSD.org COMMENT= Fast open framework for deep learning WWW= https://caffe.berkeleyvision.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bash:shells/bash \ ${PYNUMPY} LIB_DEPENDS= libsnappy.so:archivers/snappy \ libleveldb.so:databases/leveldb \ liblmdb.so:databases/lmdb \ libboost_thread.so:devel/boost-libs \ ${PY_BOOST} \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libprotobuf.so:devel/protobuf \ libopencv_highgui.so:graphics/opencv \ libopenblas.so:math/openblas \ libhdf5.so:science/hdf5 RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydot>0:graphics/py-pydot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydotplus>0:graphics/py-pydotplus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>0:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} USES= cmake compiler:c++17-lang fortran localbase:ldflags pkgconfig python USE_CXXSTD= c++17 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= BVLC CMAKE_ARGS= -DBLAS=Open \ -DPYTHON_EXECUTABLE=${PYTHON_CMD} \ -DFREEBSD_PYTHONPREFIX_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR} CXXFLAGS+= -DGLOG_USE_GLOG_EXPORT LDFLAGS+= -lpython${PYTHON_VER} PORTSCOUT= limit:^[0-9].*[0-9]$$ # should begin and end with a digit to prevent tags like rcnn-release and rc5 .include diff --git a/misc/lbann/Makefile b/misc/lbann/Makefile index 2767e9e0adef..82dde8802671 100644 --- a/misc/lbann/Makefile +++ b/misc/lbann/Makefile @@ -1,60 +1,60 @@ PORTNAME= lbann DISTVERSIONPREFIX= v DISTVERSION= 0.102-254 DISTVERSIONSUFFIX= -g2e3012a9a -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Livermore Big Artificial Neural Network toolkit WWW= https://github.com/LLNL/lbann LICENSE= APACHE20 BROKEN= many C++ errors, broken until the upstream would help, see https://github.com/LLNL/lbann/issues/2407 BUILD_DEPENDS= cereal>0:devel/cereal \ dihydrogen>0:math/dihydrogen \ zstr>0:archivers/zstr LIB_DEPENDS= libconduit.so:science/conduit \ libhdf5.so:science/hdf5 \ libHydrogen_CXX.so:math/hydrogen \ libopenblas.so:math/openblas \ libprotobuf.so:devel/protobuf \ libsiloh5.so:science/silo USES= cmake:testing compiler:c++17-lang localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= LLNL GH_TUPLE= KIwabuchi:havoqgt:100f63b:havoqgt/applications/graph/node2vec/havoqgt \ samadejacobs:moses:28932ce:moses/applications/ATOM/moses \ snap-stanford:snap:58a1e6a:snap/applications/graph/node2vec/snap \ catchorg:Clara:2bfd8b2:clara CMAKE_ARGS= -DCLARA_INCLUDE_PATH=${WRKSRC_clara}/include CMAKE_OFF= LBANN_WITH_CNPY \ LBANN_WITH_CUDNN \ LBANN_WITH_HWLOC \ LBANN_WITH_PYTHON_FRONTEND \ LBANN_WITH_EMBEDDED_PYTHON \ LBANN_WITH_VISION \ LBANN_WITH_TBINF CMAKE_ON= LBANN_USE_PROTOBUF_MODULE CMAKE_TESTING_ON= LBANN_WITH_UNIT_TESTING # requires MPI cluster LDFLAGS+= -labsl_hash -labsl_log_internal_message -labsl_log_internal_nullguard -labsl_spinlock_wait -lexecinfo USE_CXXSTD= c++17 OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= MPICH OPENMPI OPTIONS_DEFAULT= MPICH # should be same as in conduit, hydrogen, dihydrogen MPICH_USES= mpi:mpich OPENMPI_USES= mpi:openmpi post-install: # remove unnecessary files @${RM} -r ${STAGEDIR}${PREFIX}/share/doc .include diff --git a/misc/mnn/Makefile b/misc/mnn/Makefile index 43e544fe5a95..91a452f62cfc 100644 --- a/misc/mnn/Makefile +++ b/misc/mnn/Makefile @@ -1,79 +1,79 @@ PORTNAME= mnn DISTVERSION= 2.9.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight deep neural network inference engine WWW= https://github.com/alibaba/MNN LICENSE= APACHE20 BROKEN_i386= always_inline function '_mm_set1_ps' requires target feature 'sse', but would be inlined into function 'Vec4' that is compiled without support for 'sse' BUILD_DEPENDS= bash:shells/bash USES= cmake:testing compiler:c++11-lang localbase shebangfix USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= alibaba GH_PROJECT= MNN SHEBANG_GLOB= *.sh CMAKE_TESTING_ON= MNN_BUILD_TEST CMAKE_TESTING_TARGET= CXXFLAGS+= -pthread LDFLAGS+= -pthread CFLAGS+= -fPIC # workaround for https://github.com/alibaba/MNN/issues/553 CXXFLAGS+= -fPIC OPTIONS_DEFINE= APPS CONVERTER HARD_FP OPTIONS_DEFAULT= APPS CONVERTER HARD_FP OPTIONS_SUB= yes APPS_DESC= Build ML training, quantization tools APPS_CMAKE_BOOL= MNN_BUILD_QUANTOOLS MNN_BUILD_TOOLS MNN_BUILD_TRAIN CONVERTER_DESC= Build the model converter tool CONVERTER_CMAKE_BOOL= MNN_BUILD_CONVERTER CONVERTER_LIB_DEPENDS= libprotobuf.so:devel/protobuf HARD_FP_DESC= Hard floating point numbers HARD_FP_CMAKE_BOOL= MNN_BUILD_HARD .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DMNN_USE_AVX:BOOL=OFF \ -DMNN_USE_SSE:BOOL=OFF .endif do-install-APPS-on: .for f in extractForInfer fuseTest \ MNNDump2Json MNNRevert2Buffer MNNV2Basic.out \ ModuleBasic.out \ mobilenetTest.out backendTest.out testModel.out getPerformance.out checkInvalidValue.out \ mobilenetTest.out \ OnnxClip \ SequenceModuleTest.out \ timeProfile.out quantized.out \ runTrainDemo.out \ testModel_expr.out testModelWithDescribe.out testTrain.out timeProfile.out transformer winogradExample.out ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor do-install-CONVERTER-on: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/MNNConvert ${STAGEDIR}${PREFIX}/bin ${INSTALL_LIB} ${BUILD_WRKSRC}/tools/converter/libMNNConvertDeps.so ${STAGEDIR}${PREFIX}/lib post-test: @cd ${BUILD_WRKSRC} && \ cd ${BUILD_WRKSRC} && ./run_test.out # 5 tests fail, see https://github.com/alibaba/MNN/issues/2358 .include diff --git a/misc/ncnn/Makefile b/misc/ncnn/Makefile index 31bd52064077..a3a544fa72e4 100644 --- a/misc/ncnn/Makefile +++ b/misc/ncnn/Makefile @@ -1,33 +1,34 @@ PORTNAME= ncnn DISTVERSION= 20260113 +PORTREVISION= 1 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= High-performance neural network inference framework WWW= https://github.com/Tencent/ncnn LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libabsl_flags_program_name.so:devel/abseil \ libprotobuf.so:devel/protobuf USES= cmake:testing USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= Tencent CMAKE_ON= NCNN_SYSTEM_GLSLANG CMAKE_TESTING_ON= NCNN_BUILD_TESTS OPTIONS_DEFINE= VULKAN OPTIONS_DEFAULT= VULKAN VULKAN_DESC= Vulkan compute support VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \ glslangValidator:graphics/glslang VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= NCNN_VULKAN .include diff --git a/misc/ola/Makefile b/misc/ola/Makefile index b62a7e2b874b..98aa32514f32 100644 --- a/misc/ola/Makefile +++ b/misc/ola/Makefile @@ -1,44 +1,44 @@ PORTNAME= ola DISTVERSION= 0.10.9 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= misc MASTER_SITES= https://github.com/OpenLightingProject/ola/releases/download/${DISTVERSION}/ PATCH_SITES= https://github.com/OpenLightingProject/${PORTNAME}/commit/ PATCHFILES+= 321731ce73be4ea79adb2174591ce94695d3e85b.patch:-p1 PATCHFILES+= 4006f2129f0a6061d59fe5892a2a17c53699a31a.patch:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= Open Lighting Architecture: framework for lighting control information WWW= https://www.openlighting.org/ola/ \ https://github.com/OpenLightingProject/ola LICENSE= GPLv2+ LIB_DEPENDS= libavahi-common.so:net/avahi-app \ libftdi1.so:devel/libftdi1 \ libmicrohttpd.so:www/libmicrohttpd \ libprotobuf.so:devel/protobuf3 \ libuuid.so:misc/libuuid TEST_DEPENDS= cppunit>0:devel/cppunit USES= bison gmake libtool localbase pkgconfig USE_LDCONFIG= yes LDFLAGS+= -lprotobuf # workaround for https://github.com/OpenLightingProject/ola/issues/1871 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-unittests --disable-examples CONFIGURE_ARGS+= --disable-fatal-warnings # see https://github.com/OpenLightingProject/ola/issues/1962 TEST_TARGET= check INSTALL_TARGET= install-strip TESTING_UNSAFE= 1 test fails, see https://github.com/OpenLightingProject/ola/issues/1872 do-test: @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ./configure ${CONFIGURE_ARGS} --enable-unittests && \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${TEST_TARGET} .include diff --git a/misc/onnx/Makefile b/misc/onnx/Makefile index 3087145e8f7d..0d6b22b6c0f0 100644 --- a/misc/onnx/Makefile +++ b/misc/onnx/Makefile @@ -1,40 +1,40 @@ PORTNAME= onnx DISTVERSIONPREFIX= v DISTVERSION= 1.19.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Open Neural Network eXchange WWW= https://onnx.ai \ https://github.com/onnx/onnx LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE #BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libabsl_base.so:devel/abseil \ libprotobuf.so:devel/protobuf USES= cmake:testing compiler:c++17-lang python:build USE_GITHUB= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= ONNX_BUILD_PYTHON CMAKE_TESTING_ON= ONNX_BUILD_TESTS CMAKE_TESTING_TARGET= CXXFLAGS+= -Dstat64=stat post-install: @${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete post-test: cd ${BUILD_WRKSRC} && ./onnx_gtests # tests as of 1.19.1: (NOTE: tests require static build, so the CMAKE_ON=BUILD_SHARED_LIBS needs to be commented out) # [==========] 95 tests from 13 test suites ran. (18 ms total) # [ PASSED ] 95 tests. .include diff --git a/misc/py-onnx/Makefile b/misc/py-onnx/Makefile index a91926c18c3c..90e2305bac4a 100644 --- a/misc/py-onnx/Makefile +++ b/misc/py-onnx/Makefile @@ -1,65 +1,65 @@ PORTNAME= onnx DISTVERSION= 1.17.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc # machine-learning MASTER_SITES= PYPI \ https://github.com/abseil/abseil-cpp/archive/refs/tags/:abseil \ https://github.com/protocolbuffers/protobuf/releases/download/v22.3/:protobuf # use downloaded protobuf-22.3 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ 20230125.3.tar.gz:abseil \ protobuf-22.3.tar.gz:protobuf # use downloaded protobuf-22.3 DIST_SUBDIR= onnx EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Open Neural Network eXchange WWW= https://onnx.ai \ https://github.com/onnx/onnx LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bash:shells/bash \ cmake:devel/cmake-core \ protoc-gen-mypy:devel/py-mypy-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} #LIB_DEPENDS= libabsl_base.so:devel/abseil \ libprotobuf.so:devel/protobuf # disable packaged protobuf RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-re2>0:devel/py-google-re2@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.2:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.2.1:devel/py-typing-extensions@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} USES= compiler:c++17-lang python shebangfix USE_PYTHON= pep517 concurrent autoplist pytest CXXFLAGS+= -Dstat64=stat SHEBANG_FILES= tools/protoc-gen-mypy.sh.in CONFLICTS_BUILD= protobuf # use downloaded protobuf-22.3 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/onnx/test BINARY_ALIAS= python=${PYTHON_CMD} post-patch: # replace protobuf-24+ with protobuf-lite-22.3 @${REINPLACE_CMD} \ -e ' \ s|set(ProtobufURL https://github.com/protocolbuffers/protobuf/releases/download/v22.3/|set(ProtobufURL file://${DISTDIR}/${DIST_SUBDIR}/|; \ s|set(AbseilURL https://github.com/abseil/abseil-cpp/archive/refs/tags/|set(AbseilURL file://${DISTDIR}/${DIST_SUBDIR}/| \ ' \ ${WRKSRC}/CMakeLists.txt post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/onnx/onnx_cpp2py_export*.so # tests as of 1.17.0: 4 failed, 4564 passed, 3044 skipped, 26 warnings in 60.66s (0:01:00), see https://github.com/onnx/onnx/issues/6733 .include diff --git a/misc/py-pytorch/Makefile b/misc/py-pytorch/Makefile index e82e34b3196d..235dba6a7100 100644 --- a/misc/py-pytorch/Makefile +++ b/misc/py-pytorch/Makefile @@ -1,130 +1,130 @@ PORTNAME= pytorch DISTVERSIONPREFIX= v DISTVERSION= 2.10.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc # machine-learning MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${PORTNAME}-${DISTVERSIONFULL}${EXTRACT_SUFX} # the main tarball disappears when GH_xx tags are added w/out this line DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= PyTorch: Tensors and dynamic neural networks in Python WWW= https://pytorch.org/ \ https://github.com/pytorch/pytorch LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_aarch64= build fails: CMake Error at third_party/QNNPACK/CMakeLists.txt:47 (MESSAGE): Unrecognized CMAKE_SYSTEM_NAME = FreeBSD, see https://github.com/pytorch/pytorch/issues/144608 BROKEN_armv7= build fails: CMake Error at third_party/QNNPACK/CMakeLists.txt:47 (MESSAGE): Unrecognized CMAKE_SYSTEM_NAME = FreeBSD, see https://github.com/pytorch/pytorch/issues/144608 BROKEN_i386= build fails: DispatchStub.cpp:162:29: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'AVX2'[0m BUILD_DEPENDS= ${PY_SETUPTOOLS} \ cmake:devel/cmake-core \ gmake:devel/gmake \ pybind11>0:devel/pybind11 \ ${PYNUMPY} \ ${LOCALBASE}/include/fxdiv.h:devel/fxdiv \ ${PYTHON_PKGNAMEPREFIX}filelock>0:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fsspec>0:filesystems/py-fsspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}optree>0:devel/py-optree@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sympy>=1.13.3:math/py-sympy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libabsl_base.so:devel/abseil \ libblis.so:math/blis \ libonnx.so:misc/onnx \ libopenblas.so:math/openblas \ libpthreadpool.so:devel/pthreadpool \ libprotobuf.so:devel/protobuf \ libsleef.so:math/sleef RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}filelock>0:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fsspec>0:filesystems/py-fsspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}sympy>=1.13.3:math/py-sympy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.10.0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}astunparse>0:devel/py-astunparse@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dill>0:devel/py-dill@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} # optional dependencies USES= compiler:c++17-lang localbase:ldflags mpi:openmpi python USE_PYTHON= pep517 autoplist USE_LDCONFIG= ${PYTHON_SITELIBDIR}/torch/lib # The Python package is named "torch" not "pytorch" PYDISTUTILS_PKGNAME= torch PEP517_INSTALL_CMD= ${PYTHON_CMD} -m installer --destdir ${STAGEDIR} --prefix ${PREFIX} ${BUILD_WRKSRC}/dist/torch-${DISTVERSION}*.whl USE_GITHUB= nodefault GH_TUPLE= pytorch:cpuinfo:1e83a2f:cpuinfo/cpuinfo-with-freebsd-support # https://github.com/pytorch/cpuinfo/pull/230/commits MAKE_ENV= USE_NINJA=no # ninja breaks for some reason MAKE_ENV+= BUILD_TEST=0 # ninja breaks for some reason MAKE_ENV+= USE_MKLDNN=0 # disable MKLDNN that doesn't exist, see https://github.com/pytorch/pytorch/issues/100957 MAKE_ENV+= USE_CUDNN=0 MAKE_ENV+= USE_LAPACK=1 # needed on FreeBSD to run w/out GPU MAKE_ENV+= USE_QNNPACK=0 MAKE_ENV+= USE_DISTRIBUTED=1 LDFLAGS+= -lexecinfo LDFLAGS_powerpc64le= -pthread BINARY_ALIAS= make=${GMAKE} POST_PLIST= fix-plist TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/test OPTIONS_DEFINE= VULKAN OPTIONS_DEFAULT= VULKAN # VULKAN is experimental in PyTorch and only simple computations work VULKAN_MAKE_ENV= USE_VULKAN=1 USE_VULKAN_SHADERC_RUNTIME=1 USE_VULKAN_WRAPPER=0 # see https://docs.pytorch.org/tutorials/unstable/vulkan_workflow.html VULKAN_BUILD_DEPENDS= glslc:graphics/shaderc \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader .include post-patch: @cd ${WRKSRC} && \ ${RM} -r third_party/cpuinfo third_party/fbgemm/external/cpuinfo && \ ${CP} -r cpuinfo-with-freebsd-support third_party/cpuinfo && \ ${CP} -r cpuinfo-with-freebsd-support third_party/fbgemm/external/cpuinfo do-install: # port should be moved to 'torch', but keep this for now with the hardcoded 'torch' name @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} @cd ${INSTALL_WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${PEP517_INSTALL_CMD} @${PYTHON_CMD} -B ${PORTSDIR}/Mk/Scripts/strip_RECORD.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/torch-${DISTVERSION}*.dist-info/RECORD >> ${_PYTHONPKGLIST} @${REINPLACE_CMD} \ -e '/\.pyc$$/d' \ -e 's|^|${PYTHONPREFIX_SITELIBDIR}/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../etc/|etc/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../bin/|bin/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../include/|include/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../lib/|lib/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libdata/|libdata/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libexec/|libexec/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../man/|man/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../sbin/|sbin/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../share/|share/|' \ ${_PYTHONPKGLIST} @cd ${STAGEDIR}${PREFIX} && ${FIND} lib -name '*.pyc' >> ${_PYTHONPKGLIST} fix-plist: # remove the stray %%PYTHON_SITELIBDIR%%/caffe2 file @${REINPLACE_CMD} -e "s|.*/caffe2$$||" ${TMPPLIST} do-test: cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_test.py .include diff --git a/misc/pytorch/Makefile b/misc/pytorch/Makefile index ddfd964a8a1f..9bf6a646cc79 100644 --- a/misc/pytorch/Makefile +++ b/misc/pytorch/Makefile @@ -1,82 +1,82 @@ PORTNAME= pytorch DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc # machine-learning MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/ DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= Tensors and dynamic neural networks in Python (C++ library) WWW= https://pytorch.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= compilation fails: error: use of undeclared identifier 'AVX2' BUILD_DEPENDS= gmake:devel/gmake \ ${LOCALBASE}/include/fxdiv.h:devel/fxdiv \ ${PY_SETUPTOOLS} LIB_DEPENDS= libabsl_base.so:devel/abseil \ libblis.so:math/blis \ libopenblas.so:math/openblas \ libmpi_cxx.so:net/openmpi4 \ libonnx.so:misc/onnx \ libpthreadpool.so:devel/pthreadpool \ libprotobuf.so:devel/protobuf \ libsleef.so:math/sleef USES= compiler:c++17-lang cmake localbase:ldflags python # requires python even with PYTHON=off CMAKE_OFF= BUILD_CUSTOM_PROTOBUF USE_CUDA USE_ROCM USE_NNPACK USE_QNNPACK USE_PYTORCH_QNNPACK \ USE_FBGEMM # workaround recommended by the upstream here: https://github.com/pytorch/pytorch/issues/28337 CMAKE_ON= USE_SYSTEM_PYBIND11 \ USE_SYSTEM_SLEEF \ USE_SYSTEM_ONNX # see other USE_SYSTEM_xx in CMakeLists.txt CMAKE_ON+= ONNX_USE_LITE_PROTO # workaround for the protobuf-related failure described here: https://github.com/onnx/optimizer/issues/38 CMAKE_ARGS= -DPSIMD_SOURCE_DIR=${WRKSRC}/third_party/psimd \ -DPYTHON_EXECUTABLE=${PYTHON_CMD} MAKE_ENV= USE_NINJA=no # ninja breaks for some reason LDFLAGS+= -lexecinfo \ -pthread BINARY_ALIAS= make=${GMAKE} git=true OPTIONS_DEFINE= PYTHON # PYTHON only provides python support for the py-PyTorch port - it's not a python binding OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= BUILD_PYTHON PYTHON_PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} PYTHON_BUILD_DEPENDS= ${PYTHON_PY_DEPENDS} \ ${PY_SETUPTOOLS} \ pybind11>0:devel/pybind11 PYTHON_RUN_DEPENDS= ${PYTHON_PY_DEPENDS} .include .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" .else PLIST_SUB+= AMD64="@comment " .endif post-patch: # replace malloc.h -> stdlib.h in many places @cd ${WRKSRC} && for f in $$(${GREP} -rl "include " * | ${GREP} -E "\.(c|cpp|h|hpp)$$"); do \ ${REINPLACE_CMD} -i'' -E "s|include |include |" $$f; \ done # remove bundled fmt @${RM} -r ${WRKSRC}/third_party/fmt post-install: # functorch.so is installed back into the source directory, see https://github.com/pytorch/pytorch/issues/91524 @${RM} $$(${FIND} ${STAGEDIR} -name functorch.so) # https://github.com/pytorch/pytorch/issues/24417 @${FIND} ${STAGEDIR} -type d -empty -delete .include diff --git a/multimedia/libopenshot/Makefile b/multimedia/libopenshot/Makefile index 96cae6038d19..63a0e53bb50e 100644 --- a/multimedia/libopenshot/Makefile +++ b/multimedia/libopenshot/Makefile @@ -1,74 +1,75 @@ PORTNAME= libopenshot DISTVERSIONPREFIX= v DISTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= multimedia PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tatsuki_makino@hotmail.com COMMENT= OpenShot Video Library WWW= https://www.openshot.org/ LICENSE= BSD3CLAUSE LGPL3+ LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSES/BSD-3-Clause.txt LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING BUILD_DEPENDS= ${PY_SETUPTOOLS} \ swig:devel/swig \ ${LOCALBASE}/include/zmq.hpp:net/cppzmq LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libbabl-0.1.so:x11/babl \ libjsoncpp.so:devel/jsoncpp \ libopenshot-audio.so:audio/libopenshot-audio \ libzmq.so:net/libzmq4 USES= cmake pkgconfig python qt:5 USE_GITHUB= yes GH_ACCOUNT= OpenShot USE_LDCONFIG= yes USE_PYTHON= flavors USE_QT= core gui widgets buildtools:build qmake:build CMAKE_ON= USE_SYSTEM_JSONCPP DISABLE_BUNDLED_JSONCPP\ USE_HW_ACCEL ENABLE_PYTHON\ CMAKE_DISABLE_FIND_PACKAGE_Catch2 CMAKE_OFF= ENABLE_PARALLEL_CTEST VERBOSE_TESTS ENABLE_COVERAGE\ APPIMAGE_BUILD BUILD_TESTING ENABLE_JAVA ENABLE_TESTS DEBUG_FLAGS?= -g DEBUG_FLAGS+= -D_DEBUG -DJUCE_FORCE_DEBUG=1 PLIST_SUB= VERSION=${DISTVERSION} OPTIONS_DEFINE= DOCS DOXYGEN IMAGEMAGICK OPENCV RESVG RUBY OPTIONS_DEFAULT= IMAGEMAGICK OPENCV OPTIONS_SUB= yes RESVG_DESC?= SVG vector graphics support via resvg DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:PATH=${DOCSDIR_REL:Q} DOCS_PORTDOCS= * DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CMAKE_BOOL= ENABLE_LIB_DOCS DOXYGEN_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Doxygen IMAGEMAGICK_USES= magick IMAGEMAGICK_CMAKE_BOOL= ENABLE_MAGICK IMAGEMAGICK_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ImageMagick OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv \ libprotobuf.so:devel/protobuf OPENCV_CMAKE_BOOL= ENABLE_OPENCV OPENCV_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenCV\ CMAKE_DISABLE_FIND_PACKAGE_Protobuf OPENCV_CMAKE_ON= -DOpenCV_DIR:STRING=${LOCALBASE:Q}/cmake/opencv4 RESVG_LIB_DEPENDS= libresvg.so:graphics/resvg-capi RESVG_USE_OFF= QT=svg RESVG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Resvg RESVG_CMAKE_ON= -DRESVGDIR:STRING=${LOCALBASE:Q} RUBY_LIB_DEPENDS= libruby${RUBY_SUFFIX}.so:lang/ruby${RUBY_SUFFIX} RUBY_USES= ruby:build RUBY_CMAKE_BOOL= ENABLE_RUBY RUBY_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Ruby .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++17-lib .else USES+= compiler:c++17-lang .endif .include diff --git a/multimedia/py-torchcodec/Makefile b/multimedia/py-torchcodec/Makefile index b043dba285c1..cc9cdf47f75d 100644 --- a/multimedia/py-torchcodec/Makefile +++ b/multimedia/py-torchcodec/Makefile @@ -1,41 +1,42 @@ PORTNAME= torchcodec DISTVERSIONPREFIX= v DISTVERSION= 0.10.0 +PORTREVISION= 1 CATEGORIES= multimedia python #MASTER_SITES= PYPI # no tarball PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 906a2753082f6591df841331c7713a8c30e1f7f4.patch:-p1 # https://github.com/meta-pytorch/torchcodec/pull/1193 MAINTAINER= yuri@FreeBSD.org COMMENT= PyTorch media decoding and encoding WWW= https://github.com/pytorch/torchcodec LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ pybind11>0:devel/pybind11 LIB_DEPENDS= libabsl_base.so:devel/abseil \ libavformat.so:multimedia/ffmpeg \ libprotobuf.so:devel/protobuf RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}torchvision>0:misc/py-torchvision@${PY_FLAVOR} TEST_DEPENDS= ${PYNUMPY} USES= cmake:indirect compiler:c++17-lang python USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes GH_ACCOUNT= meta-pytorch #MAKE_ENV= BUILD_AGAINST_ALL_FFMPEG_FROM_S3=1 # downloads binaries with this choice, see https://github.com/meta-pytorch/torchcodec/issues/1194 MAKE_ENV= I_CONFIRM_THIS_IS_NOT_A_LICENSE_VIOLATION=1 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # tests as of 0.10.0: 290 failed, 910 passed, 546 skipped in 357.51s (0:05:57), see https://github.com/meta-pytorch/torchcodec/issues/1192 .include diff --git a/net-im/ricochet/Makefile b/net-im/ricochet/Makefile index f73008a1db03..2cbfac94ae30 100644 --- a/net-im/ricochet/Makefile +++ b/net-im/ricochet/Makefile @@ -1,43 +1,43 @@ PORTNAME= ricochet PORTVERSION= 1.1.4 DISTVERSIONPREFIX= v -PORTREVISION= 37 +PORTREVISION= 38 CATEGORIES= net-im net-p2p MAINTAINER= yuri@FreeBSD.org COMMENT= Anonymous peer-to-peer instant messenger WWW= https://github.com/ricochet-im/ricochet LICENSE= RICOCHET LICENSE_NAME= Ricochet LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= compiler:c++17-lang gl gmake pkgconfig qmake qt:5 ssl USE_GITHUB= yes GH_ACCOUNT= ricochet-im USE_QT= core declarative gui multimedia network quickcontrols widgets \ buildtools:build linguisttools:build USE_GL= gl USE_CXXSTD= c++17 QMAKE_ARGS+= DEFINES+=RICOCHET_NO_PORTABLE OPENSSLDIR=${OPENSSLBASE} OPTIONS_DEFINE= TOR OPTIONS_DEFAULT= TOR TOR_DESC= Install Tor: it is required for ${PORTNAME} to run TOR_RUN_DEPENDS= tor:security/tor PLIST_FILES= bin/ricochet \ share/applications/ricochet.desktop \ share/icons/hicolor/48x48/apps/ricochet.png \ share/icons/hicolor/scalable/apps/ricochet.svg post-patch: @${REINPLACE_CMD} -E 's| -fsanitize=[a-z-]+| |g' \ ${WRKSRC}/hardened.pri .include diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile index 9e94872470e2..56957fe382be 100644 --- a/net-im/tg_owt/Makefile +++ b/net-im/tg_owt/Makefile @@ -1,67 +1,67 @@ PORTNAME= tg_owt PORTVERSION= 0.0.20251212 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im MAINTAINER= osa@FreeBSD.org COMMENT= Webrtc library used by telegram-desktop WWW= https://github.com/desktop-app/tg_owt LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat \ yasm:devel/yasm LIB_DEPENDS= libabsl_base.so:devel/abseil \ libavformat.so:multimedia/ffmpeg \ libcrc32c.so:devel/crc32c \ libjpeg.so:graphics/jpeg-turbo \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpipewire-0.3.so:multimedia/pipewire \ libprotobuf.so:devel/protobuf \ libsrtp2.so:net/libsrtp2 \ libvpx.so:multimedia/libvpx USES= cmake gl gnome pkgconfig xorg USE_XORG= x11 xcomposite xdamage xrender xrandr xtst USE_GL= gbm gl USE_GITHUB= yes USE_GNOME= glib20 GH_ACCOUNT= desktop-app GH_TAGNAME= d888bc3 CMAME_ON= TG_OWT_PACKAGED_BUILD # libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv # when updating port check if hash tag in the submodule was updated GH_TUPLE= osokin:libyuv:04821d1:libyuv/src/third_party/libyuv post-extract: ${RM} -rf \ ${WRKSRC}/src/sdk/android \ ${WRKSRC}/src/sdk/objc \ ${WRKSRC}/src/third_party/abseil-cpp \ ${WRKSRC}/src/third_party/crc32c \ ${WRKSRC}/src/third_party/libsrtp \ ${WRKSRC}/src/third_party/libsrtp_config \ ${WRKSRC}/src/third_party/libvpx \ ${WRKSRC}/src/third_party/openh264 \ ${WRKSRC}/src/third_party/yasm # remove more sources not needed to build telegram-desktop, they are however # required at tg_owt configure-time even though they are not built, see # nice_target_sources()/remove_target_sources() calls in CMakeLists.txt post-configure: ${RM} -rf \ ${WRKSRC}/src/modules/audio_device/android \ ${WRKSRC}/src/modules/audio_device/mac \ ${WRKSRC}/src/modules/audio_device/win \ ${WRKSRC}/src/modules/desktop_capture/mac \ ${WRKSRC}/src/modules/desktop_capture/wayland \ ${WRKSRC}/src/modules/desktop_capture/win \ ${WRKSRC}/src/modules/video_capture/windows \ ${WRKSRC}/src/rtc_base/win \ ${WRKSRC}/src/rtc_base/win32*.h .include diff --git a/net-mgmt/fastnetmon/Makefile b/net-mgmt/fastnetmon/Makefile index 4ee014134682..9a2479475e22 100644 --- a/net-mgmt/fastnetmon/Makefile +++ b/net-mgmt/fastnetmon/Makefile @@ -1,63 +1,63 @@ PORTNAME= fastnetmon DISTVERSIONPREFIX= v DISTVERSION= 1.2.8 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= net-mgmt security MAINTAINER= farrokhi@FreeBSD.org COMMENT= Very fast DDoS analyzer with sflow/netflow/mirror support WWW= https://fastnetmon.com LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../LICENSE BROKEN_armv6= does not build: invokes x86 assembler BROKEN_armv7= does not build: invokes x86 assembler LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ liblog4cpp.so:devel/log4cpp \ libmongoc-1.0.so:devel/mongo-c-driver \ libbson-1.0.so:devel/libbson \ libcapnp.so:devel/capnproto \ libgrpc.so:devel/grpc \ libprotobuf.so:devel/protobuf \ libabsl_base.so:devel/abseil \ libhiredis.so:databases/hiredis USES= cmake compiler:c++20-lang localbase:ldflags pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= pavel-odintsov WRKSRC_SUBDIR= src USE_RC_SUBR= ${PORTNAME} USERS= ${PORTNAME} GROUPS= ${PORTNAME} PORTDOCS= * CFLAGS_i386= -march=i586 CXXFLAGS+= -D_GNU_SOURCE CMAKE_OFF= SET_ABSOLUTE_INSTALL_PATH CMAKE_ON= ENABLE_NETMAP_SUPPORT \ LINK_WITH_ABSL OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/etc/networks|${PREFIX}/etc/networks|g' \ -e 's|/var/run|/var/run/${PORTNAME}|g' ${WRKSRC}/fastnetmon.conf @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/man/fastnetmon.8 post-install: ${INSTALL_DATA} ${WRKSRC}/fastnetmon.conf ${STAGEDIR}${PREFIX}/etc/fastnetmon.conf.sample ${INSTALL_DATA} ${WRKSRC}/networks_list ${STAGEDIR}${PREFIX}/etc/networks_list.sample ${INSTALL_DATA} ${WRKSRC}/networks_whitelist ${STAGEDIR}${PREFIX}/etc/networks_whitelist.sample ${MKDIR} ${STAGEDIR}/var/run/fastnetmon ${STAGEDIR}/var/log/fastnetmon ${STAGEDIR}/var/log/fastnetmon_attacks ${INSTALL_SCRIPT} ${WRKSRC}/notify_about_attack.sh ${STAGEDIR}${PREFIX}/bin/notify_about_attack.sh.sample post-install-DOCS-on: cd ${WRKSRC}/../ && ${COPYTREE_SHARE} "README.md docs" ${STAGEDIR}${DOCSDIR} .include diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile index 4ac60af16b95..acd334b37f82 100644 --- a/net-mgmt/netdata/Makefile +++ b/net-mgmt/netdata/Makefile @@ -1,176 +1,176 @@ PORTNAME= netdata DISTVERSIONPREFIX= v DISTVERSION= 2.8.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-mgmt MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/:netdata \ https://raw.githubusercontent.com/netdata/netdata/refs/tags/v${DISTVERSION}/src/go/:goplugin \ https://dl.nkeor.me/freebsd/netdata/:nkeor DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:netdata DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= nk@nkeor.me COMMENT= Scalable distributed realtime performance and health monitoring WWW= https://github.com/netdata/netdata LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/libbacktrace.a:devel/libbacktrace LIB_DEPENDS= libabsl_base.so:devel/abseil \ libbrotlicommon.so:archivers/brotli \ libcurl.so:ftp/curl \ libjson-c.so:devel/json-c \ liblz4.so:archivers/liblz4 \ libpcre2-8.so:devel/pcre2 \ libprotobuf.so:devel/protobuf \ libuuid.so:misc/libuuid \ libuv.so:devel/libuv \ libyaml.so:textproc/libyaml \ libzstd.so:archivers/zstd RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \ bash:shells/bash USES= cmake compiler:c++17-lang cpe localbase:ldflags \ pathfix pkgconfig:both python shebangfix ssl USE_GITHUB= nodefault USE_RC_SUBR= ${PORTNAME} SHEBANG_GLOB= * CMAKE_ON= DISABLE_HARDENING ENABLE_DASHBOARD ENABLE_LIBBACKTRACE # DebugFS and below are Linux exclusive CMAKE_OFF= ENABLE_PLUGIN_EBPF \ ENABLE_PLUGIN_NFACCT \ ENABLE_PLUGIN_XENSTAT \ ENABLE_PLUGIN_DEBUGFS \ ENABLE_PLUGIN_PERF \ ENABLE_PLUGIN_SLABINFO \ ENABLE_PLUGIN_SYSTEMD_JOURNAL \ ENABLE_PLUGIN_CGROUP_NETWORK \ ENABLE_PLUGIN_LOCAL_LISTENERS \ ENABLE_PLUGIN_NETWORK_VIEWER \ ENABLE_NETDATA_JOURNAL_FILE_READER CFLAGS+= -D_WANT_VMMETER # Libs that you can't unbundle... # SQLite3, --exclude database/sqlite/sqlite3* # (lib)judy, --exclude libnetdata/libjudy EXTRACT_AFTER_ARGS= --exclude ml/dlib \ --exclude collectors/python.d.plugin/python_modules/pyyaml2 \ --exclude collectors/python.d.plugin/python_modules/pyyaml3 \ --exclude collectors/python.d.plugin/python_modules/urllib3 \ --no-same-owner --no-same-permissions SUB_FILES= ${PORTNAME}.conf.sample SUB_LIST= NETDATA_CACHE=${NETDATA_CACHE} \ NETDATA_LOG=${NETDATA_LOG} \ NETDATA_PERST=${NETDATA_PERST} \ NETDATA_RUN=${NETDATA_RUN} USERS= netdata GROUPS= netdata NETDATA_CACHE= /var/cache/${PORTNAME} NETDATA_LOG= /var/log/${PORTNAME} NETDATA_PERST= /var/db/${PORTNAME} NETDATA_RUN= /var/run/${PORTNAME} NETDATA_DASHBOARD_VERSION= 20260115 PLIST_SUB= NETDATA_CACHE=${NETDATA_CACHE} \ NETDATA_LOG=${NETDATA_LOG} \ NETDATA_PERST=${NETDATA_PERST} \ NETDATA_RUN=${NETDATA_RUN} OPTIONS_DEFINE= CUPS DASHBOARD FREEIPMI GOPLUGIN ML OPENTELEMETRY \ PROMETHEUS OPTIONS_DEFAULT= DASHBOARD GOPLUGIN ML OPTIONS_SUB= yes CUPS_DESC= Enable support for cups DASHBOARD_DESC= Enable agent dashboard FREEIPMI_DESC= Enable support for freeipmi GOPLUGIN_DESC= Enable the go collector plugin ML_DESC= Enable anomaly detection via dlib OPENTELEMETRY_DESC= Enable collection of OpenTelemetry metrics and logs PROMETHEUS_DESC= Enable prometheus remote write exporter CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CMAKE_BOOL= ENABLE_PLUGIN_CUPS DASHBOARD_DISTFILES= agent_${NETDATA_DASHBOARD_VERSION}.tar.gz:nkeor DASHBOARD_EXTRACT_ONLY= agent_${NETDATA_DASHBOARD_VERSION}.tar.gz FREEIPMI_LIB_DEPENDS= libfreeipmi.so:sysutils/freeipmi FREEIPMI_CMAKE_BOOL= ENABLE_PLUGIN_FREEIPMI GOPLUGIN_DISTFILES= go.mod:goplugin GOPLUGIN_FETCH_DEPENDS= go${GO_SUFFIX}:lang/go${GO_SUFFIX} GOPLUGIN_USES= go:no_targets,modules GOPLUGIN_CMAKE_BOOL= ENABLE_PLUGIN_GO ML_BUILD_DEPENDS= ${LOCALBASE}/include/dlib/matrix.h:science/dlib-cpp ML_CMAKE_BOOL= ENABLE_ML OPENTELEMETRY_BROKEN= when using a proxy and in poudriere - download during build OPENTELEMETRY_BUILD_DEPENDS= ${LOCALBASE}/share/cmake/Corrosion.cmake:devel/corrosion OPENTELEMETRY_CMAKE_BOOL= ENABLE_PLUGIN_OTEL PROMETHEUS_LIB_DEPENDS= libsnappy.so:archivers/snappy \ libabsl_base.so:devel/abseil \ libprotobuf.so:devel/protobuf PROMETHEUS_CMAKE_BOOL= ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE post-fetch-GOPLUGIN-on: @(cd ${DISTDIR}/${DIST_SUBDIR}; \ ${SETENVI} ${WRK_ENV} \ ${HTTP_PROXY:DHTTP_PROXY=${HTTP_PROXY:Q}} \ ${http_proxy:Dhttp_proxy=${http_proxy:Q}} \ ${HTTPS_PROXY:DHTTPS_PROXY=${HTTPS_PROXY:Q}} \ ${https_proxy:Dhttps_proxy=${https_proxy:Q}} \ ${NO_PROXY:DNO_PROXY=${NO_PROXY:Q}} \ ${no_proxy:Dno_proxy=${no_proxy:Q}} \ ${GO_ENV} GOPROXY=${GO_GOPROXY} ${GO_CMD} mod download -x all) post-extract-GOPLUGIN-on: @${ECHO_MSG} "===> Tidying god.plugin dependencies"; @(cd ${WRKSRC}/src/go; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=${GO_MODCACHE} ${GO_CMD} mod tidy -e) @${ECHO_MSG} "===> Vendoring god.plugin dependencies"; @(cd ${WRKSRC}/src/go; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=${GO_MODCACHE} ${GO_CMD} mod vendor -e) pre-patch: @${REINPLACE_CMD} -e '\ s|usr/lib/|lib/|g; \ s|usr/libexec/|libexec/|g; \ s|usr/share/|share/|g' \ ${WRKSRC}/CMakeLists.txt post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/packaging/cmake/Modules/NetdataBacktrace.cmake @${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|g' \ ${PATCH_WRKSRC}/packaging/cmake/Modules/NetdataVersion.cmake @${REINPLACE_CMD} -e '\ s|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g; \ s|%%NETDATA_LOG%%|${NETDATA_LOG}|g; \ s|%%NETDATA_PERST%%|${NETDATA_PERST}|g; \ s|%%NETDATA_RUN%%|${NETDATA_RUN}|g; \ s|%%ETCDIR%%|${ETCDIR}|g' \ ${PATCH_WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g' \ ${PATCH_WRKSRC}/src/collectors/python.d.plugin/python.d.plugin.in post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d \ ${STAGEDIR}${NETDATA_CACHE} \ ${STAGEDIR}${NETDATA_LOG} \ ${STAGEDIR}${NETDATA_PERST} ${INSTALL_DATA} ${WRKDIR}/netdata.conf.sample ${STAGEDIR}${ETCDIR}/netdata.conf.sample ${INSTALL_DATA} ${FILESDIR}/netdata.newsyslog.conf.sample ${STAGEDIR}${ETCDIR}/netdata.newsyslog.conf.sample ${INSTALL_SCRIPT} ${FILESDIR}/netdata_required.sample ${STAGEDIR}${PREFIX}/etc/rc.d ${TOUCH} ${STAGEDIR}${ETCDIR}/.opt-out-from-anonymous-statistics ${RM} -r ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/netdata-updater.sh \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/conf.d/netdata-updater.conf \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/system ${FIND} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} -type f -name "*.conf" -exec ${MV} {} {}.sample \; post-install-DASHBOARD-on: @(cd ${WRKDIR}/dist/agent && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/web) .include diff --git a/net-p2p/litecoin/Makefile b/net-p2p/litecoin/Makefile index 0a66e2041541..aa92dbd7c35d 100644 --- a/net-p2p/litecoin/Makefile +++ b/net-p2p/litecoin/Makefile @@ -1,121 +1,121 @@ PORTNAME= litecoin DISTVERSIONPREFIX= v DISTVERSION= 0.21.4 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= net-p2p finance MAINTAINER= hsw@bitmark.com COMMENT?= Virtual Peer-to-Peer Currency Client (QT) WWW= https://www.litecoin.org/ LICENSE= MIT LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libevent.so:devel/libevent USES= autoreconf compiler:c++11-lib cpe gmake libtool localbase pkgconfig qt:5 shebangfix ssl USE_GITHUB= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share SLAVE_PORT?= no .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no" USES+= desktop-file-utils USE_QT= core gui network widgets \ buildtools:build linguisttools:build qmake:build BUILD_DEPENDS+= protoc:devel/protobuf LIB_DEPENDS+= libprotobuf.so:devel/protobuf TESTS_USE= QT=testlib TESTS_PLIST_FILES= bin/test_litecoin-qt \ bin/test_litecoin .endif OPTIONS_DEFINE?= DBUS DEBUG HARDENING QRCODES TESTS UPNP WALLET_BDBMODERN ZMQ OPTIONS_DEFAULT?= DBUS HARDENING QRCODES UPNP WALLET_BDBMODERN ZMQ OPTIONS_SUB= yes HARDENING_DESC= Attempt to harden binaries (PIE for ASLR, NX Stack) QRCODES_DESC= Display QR Codes TESTS_DESC= Build test binary and unit tests WALLET_BDBMODERN_DESC= Wallet using modern BDB 18.x ZMQ_DESC= Block and transaction broadcasting with ZeroMQ DBUS_CONFIGURE_WITH= dbus DBUS_USE= QT=dbus DEBUG_CONFIGURE_ENABLE= debug DEBUG_INSTALL_TARGET_OFF= install-strip HARDENING_CONFIGURE_ENABLE= hardening TESTS_CONFIGURE_ENABLE= tests bench .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "yes" TESTS_PLIST_FILES= bin/test_litecoin .endif TESTS_PLIST_FILES+= bin/bench_litecoin UPNP_CONFIGURE_WITH= miniupnpc UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc QRCODES_CONFIGURE_WITH= qrencode QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode ZMQ_CONFIGURE_ENABLE= zmq ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 GH_ACCOUNT= litecoin-project CONFIGURE_ARGS?= --without-libs \ --with-gui=qt5 \ --without-daemon \ --without-utils CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \ SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl" \ OBJCXX="${CXX}" OBJCXXFLAGS="${CXXFLAGS}" MAKE_ENV+= V=1 PLIST_FILES?= bin/litecoin-qt share/man/man1/litecoin-qt.1.gz \ share/applications/litecoin-qt.desktop share/pixmaps/litecoin.png .include .if ${PORT_OPTIONS:MWALLET_BDBMODERN} CONFIGURE_ARGS+= --enable-wallet --with-incompatible-bdb USES+= bdb:18 .else CONFIGURE_ARGS+= --disable-wallet .endif .include .if ${PORT_OPTIONS:MWALLET_BDBMODERN} CPPFLAGS+= -I${BDB_INCLUDE_DIR} LIBS+= -L${BDB_LIB_DIR} .endif .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no" post-install: ${INSTALL} ${FILESDIR}/litecoin-qt.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL} ${WRKSRC}/share/pixmaps/bitcoin128.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/litecoin.png .endif post-patch: @${REINPLACE_CMD} -e '/AX_BOOST_SYSTEM/d' ${WRKSRC}/configure.ac regression-test: build # To use this sucessfully, remove --without-daemon and --without-utils # from CONFIGURE_ARGS above. @cd ${WRKSRC} && ${GMAKE} check .include diff --git a/net-p2p/namecoin/Makefile b/net-p2p/namecoin/Makefile index 528fea73a336..474b814f7352 100644 --- a/net-p2p/namecoin/Makefile +++ b/net-p2p/namecoin/Makefile @@ -1,116 +1,116 @@ PORTNAME= namecoin DISTVERSIONPREFIX= nc DISTVERSION= 24.0 -PORTREVISION= 19 +PORTREVISION= 20 PORTEPOCH= 1 CATEGORIES= net-p2p dns MASTER_SITES+= https://same.name/static/:icon DISTFILES+= namecoin128.c99d628dd26b.png:icon EXTRACT_ONLY= ${DISTFILE_DEFAULT} MAINTAINER= milios@ccsys.com COMMENT?= Decentralized, open DNS and general purpose key/value store WWW= https://namecoin.org/ LICENSE= MIT LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libevent.so:devel/libevent USES= autoreconf compiler:c++17-lang gmake libtool pkgconfig ssl GNU_CONFIGURE= yes USE_GITHUB= yes GH_PROJECT= namecoin-core SLAVE_PORT?= no .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no" USES+= desktop-file-utils qt:5 USE_QT= core buildtools gui linguisttools:build network qmake:build xml widgets BUILD_DEPENDS+= protoc:devel/protobuf LIB_DEPENDS+= libprotobuf.so:devel/protobuf TESTS_USES= qt:5 TESTS_USE= QT=testlib TESTS_PLIST_FILES= bin/test_namecoin-qt \ bin/test_namecoin .endif OPTIONS_DEFINE?= DBUS DEBUG HARDENING QRCODES TESTS UPNP WALLET ZMQ OPTIONS_DEFAULT?= DBUS HARDENING QRCODES UPNP WALLET OPTIONS_SUB= yes HARDENING_DESC= Attempt to harden binaries (PIE for ASLR, NX Stack) QRCODES_DESC= Display QR Codes TESTS_DESC= Build test binary and unit tests WALLET_DESC= Wallet Management Support ZMQ_DESC= Block and transaction broadcasting with ZeroMQ DBUS_CONFIGURE_WITH= qtdbus DBUS_USES= qt:5 DBUS_USE= QT=dbus DEBUG_CONFIGURE_ENABLE= debug DEBUG_INSTALL_TARGET_OFF= install-strip HARDENING_CONFIGURE_ENABLE= hardening TESTS_CONFIGURE_ENABLE= tests bench .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "yes" TESTS_PLIST_FILES= bin/test_namecoin .endif TESTS_PLIST_FILES+= bin/bench_namecoin UPNP_CONFIGURE_WITH= miniupnpc UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc UPNP_USES= localbase QRCODES_CONFIGURE_WITH= qrencode QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode WALLET_CONFIGURE_OFF= --disable-wallet WALLET_CONFIGURE_ON= --enable-wallet \ --with-sqlite=no \ --with-incompatible-bdb \ BDB_CFLAGS=-I${BDB_INCLUDE_DIR} \ BDB_LIBS="-L${BDB_LIB_DIR} \ -Wl,-rpath=${BDB_LIB_DIR} -l${BDB_LIB_CXX_NAME}" WALLET_USES= bdb:5+ ZMQ_CONFIGURE_ENABLE= zmq ZMQ_BUILD_DEPENDS= libzmq4>0:net/libzmq4 ZMQ_RUN_DEPENDS= libzmq4>0:net/libzmq4 CONFIGURE_ARGS?= --without-libs \ --with-gui=qt5 \ --without-daemon \ --without-utils \ --disable-man CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \ SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl" \ OBJCXX="${CXX}" OBJCXXFLAGS="${CXXFLAGS}" MAKE_ENV+= V=1 PLIST_FILES?= bin/namecoin-qt share/applications/namecoin-qt.desktop \ share/pixmaps/namecoin128.png .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no" post-install: ${INSTALL_DATA} ${FILESDIR}/namecoin-qt.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${DISTDIR}/namecoin128.c99d628dd26b.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/namecoin128.png .endif regression-test: build # To use this sucessfully, remove --without-daemon and --without-utils # from CONFIGURE_ARGS above. @cd ${WRKSRC} && ${GMAKE} check .include diff --git a/net-p2p/pulsar-client-cpp/Makefile b/net-p2p/pulsar-client-cpp/Makefile index 0ad04bf3f848..cbc0de2f52ad 100644 --- a/net-p2p/pulsar-client-cpp/Makefile +++ b/net-p2p/pulsar-client-cpp/Makefile @@ -1,36 +1,36 @@ PORTNAME= pulsar-client-cpp # this port requires instruction sets crc32, pclmul above the default sse2 DISTVERSIONPREFIX= v DISTVERSION= 3.7.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-p2p MAINTAINER= yuri@FreeBSD.org COMMENT= Apache Pulsar C++ client library WWW= https://pulsar.apache.org/ \ https://github.com/apache/pulsar-client-cpp LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 # due to requirement of instruction sets crc32, pclmul BROKEN_i386= compilation fails due to overflow, see https://github.com/apache/pulsar-client-cpp/issues/449 BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string.hpp:devel/boost-libs LIB_DEPENDS= libcurl.so:ftp/curl \ libprotobuf.so:devel/protobuf \ libsnappy.so:archivers/snappy \ libzstd.so:archivers/zstd USES= cmake:testing ssl USE_GITHUB= yes GH_ACCOUNT= apache CMAKE_OFF= BUILD_TESTS CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 \ -DOPENSSL_ROOT_DIR=/usr CMAKE_TESTING_ON= BUILD_TESTS # tests fail to compile, see https://github.com/apache/pulsar-client-cpp/issues/472 CXXFLAGS+= -mcrc32 -mpclmul .include diff --git a/net/ecal/Makefile b/net/ecal/Makefile index c76404dfa3bb..3630fb325d71 100644 --- a/net/ecal/Makefile +++ b/net/ecal/Makefile @@ -1,71 +1,71 @@ PORTNAME= ecal DISTVERSIONPREFIX= v DISTVERSION= 6.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net devel MAINTAINER= yuri@FreeBSD.org COMMENT= Enhanced Communication Abstraction Layer WWW= https://eclipse-ecal.github.io/ecal/index.html \ https://github.com/eclipse-ecal/ecal LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_armv7= link fails: undefined reference due to --no-allow-shlib-undefined: absl::lts_20230125::hash_internal::CityHash32(char const*, unsigned int) BROKEN_i386= link fails: undefined reference due to --no-allow-shlib-undefined: absl::lts_20230125::hash_internal::CityHash32(char const*, unsigned int) BROKEN_powerpc= link fails: undefined reference due to --no-allow-shlib-undefined: absl::lts_20230125::hash_internal::CityHash32(char const*, unsigned int) BUILD_DEPENDS= asio>0:net/asio \ termcolor>0:devel/termcolor LIB_DEPENDS= libabsl_hash.so:devel/abseil \ libcurl.so:ftp/curl \ libfmt.so:devel/libfmt \ libfineftp-server.so:ftp/fineftp-server \ libftxui-component.so:devel/ftxui \ libhdf5.so:science/hdf5 \ libprotobuf.so:devel/protobuf \ libqwt.so:x11-toolkits/qwt6@qt5 \ libspdlog.so:devel/spdlog \ libsysinfo.so:devel/libsysinfo \ libtinyxml2.so:textproc/tinyxml2 \ libyaml-cpp.so:devel/yaml-cpp # binaries aren't linked with libfineftp-server.so, see https://github.com/continental/ecal/issues/381; same with libcurl.so USES= cmake compiler:c++17-lang desktop-file-utils localbase:ldflags pkgconfig qt:5 shared-mime-info USE_QT= concurrent core gui widgets buildtools:build qmake:build USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= eclipse-ecal GH_TUPLE= eclipse-ecal:tcp_pubsub:352e711:tcp_pubsub/thirdparty/tcp_pubsub/tcp_pubsub \ brofield:simpleini:9b3ed7e:simpleini/thirdparty/simpleini/simpleini \ steinwurf:recycle:3f3d27e:recycle/thirdparty/recycle/recycle \ xguerin:tclap:349170a:tclap/thirdparty/tclap/tclap \ eclipse-ecal:ecaludp:96e29b8:ecaludp/thirdparty/ecaludp/ecaludp \ wjakob:nanobind:9b3afa9:nanobind/thirdparty/nanobind/nanobind \ Tessil:robin-map:4ec1bf1:robin_map/thirdparty/tsl-robin-map/tsl-robin-map CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_SAMPLES \ ECAL_THIRDPARTY_BUILD_SPDLOG ECAL_THIRDPARTY_BUILD_TINYXML2 ECAL_THIRDPARTY_BUILD_FINEFTP ECAL_THIRDPARTY_BUILD_TERMCOLOR \ ECAL_THIRDPARTY_BUILD_FTXUI ECAL_THIRDPARTY_BUILD_GTEST ECAL_THIRDPARTY_BUILD_PROTOBUF \ ECAL_THIRDPARTY_BUILD_CURL ECAL_THIRDPARTY_BUILD_HDF5 ECAL_THIRDPARTY_BUILD_YAML-CPP ECAL_THIRDPARTY_BUILD_UDPCAP \ CPACK_PACK_WITH_INNOSETUP CMAKE_ARGS= -DGIT_REVISION_MAJOR=${DISTVERSION:R:R} \ -DGIT_REVISION_MINOR=${DISTVERSION:R:E} \ -DGIT_REVISION_PATCH=${DISTVERSION:E} \ -Dasio_INCLUDE_DIR=${LOCALBASE}/include \ -Dqwt_INCLUDE_DIR=${LOCALBASE}/include/qt5/qwt6 \ -Dqwt_LIBRARY=${LOCALBASE}/lib/qt5/libqwt.so \ -Dtclap_INCLUDE_DIR=${WRKSRC}/thirdparty/tclap/tclap/include CXXFLAGS+= -pthread # see https://github.com/eclipse-ecal/ecal/issues/933 LDFLAGS+= -labsl_hash -labsl_log_internal_message -labsl_log_internal_nullguard -labsl_spinlock_wait USE_CXXSTD= c++17 PLIST_SUB= VERSION=${DISTVERSION} CONFLICTS_BUILD= tclap simpleini # epub isn't compatible with tclap-1.4rc1, epub isn't compatible with simpleini, because some header isn't installed .include diff --git a/net/eternalterminal/Makefile b/net/eternalterminal/Makefile index d5a0756eb639..b364268b2cef 100644 --- a/net/eternalterminal/Makefile +++ b/net/eternalterminal/Makefile @@ -1,42 +1,42 @@ PORTNAME= eternalterminal DISTVERSIONPREFIX= et-v DISTVERSION= 6.2.11 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MAINTAINER= eduardo@FreeBSD.org COMMENT= Remote shell that reconnects without interrupting session WWW= https://eternalterminal.dev/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_FreeBSD_13= OpenSSL versions prior to 3.0.0 are not supported LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \ libprotobuf.so:devel/protobuf \ libsodium.so:security/libsodium \ libunwind.so:devel/libunwind USES= cmake:testing ssl USE_GITHUB= yes GH_ACCOUNT= MisterTea GH_PROJECT= EternalTerminal CMAKE_ON= DISABLE_VCPKG CMAKE_OFF= BUILD_TESTING CMAKE_TESTING_ON= BUILD_TESTING CONFLICTS_INSTALL= linux-enemyterritory # bin/et post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/rc.d/etserver post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/etserver ${INSTALL_DATA} ${WRKSRC}/etc/et.cfg \ ${STAGEDIR}${PREFIX}/etc/etserver/et.cfg.sample ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/etserver \ ${STAGEDIR}${PREFIX}/etc/rc.d .include diff --git a/net/gamenetworkingsockets/Makefile b/net/gamenetworkingsockets/Makefile index cec5175234af..2dab46b2d67d 100644 --- a/net/gamenetworkingsockets/Makefile +++ b/net/gamenetworkingsockets/Makefile @@ -1,25 +1,25 @@ PORTNAME= gamenetworkingsockets PORTVERSION= 1.3.0 DISTVERSIONPREFIX= v -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= net MAINTAINER= kpedersen@disroot.org COMMENT= GameNetworkingSockets is a basic transport layer for games WWW= https://github.com/ValveSoftware/GameNetworkingSockets LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= cmake compiler:c++17-lang USE_GITHUB= yes GH_ACCOUNT= ValveSoftware GH_PROJECT= GameNetworkingSockets CMAKE_ARGS= -DGAMENETWORKINGSOCKETS_BUILD_EXAMPLES=OFF \ -DGAMENETWORKINGSOCKETS_BUILD_TESTS=OFF .include diff --git a/net/libarcus/Makefile b/net/libarcus/Makefile index 9a1a08b669ec..b7af26e46173 100644 --- a/net/libarcus/Makefile +++ b/net/libarcus/Makefile @@ -1,41 +1,41 @@ PORTNAME= libArcus PORTVERSION= 5.3.0 -PORTREVISION= 6 +PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= net cad DIST_SUBDIR= Ultimaker MAINTAINER= db@FreeBSD.org COMMENT= Communication library between internal components for Ultimaker WWW= https://github.com/Ultimaker/libArcus LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>=0:devel/py-sip@${PY_FLAVOR} LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= cmake compiler:c++17-lang python pyqt:6 USE_PYQT= pysip USE_GITHUB= yes GH_ACCOUNT= Ultimaker GH_TUPLE= Ultimaker:pyArcus:${PORTVERSION}:pyArcus USE_LDCONFIG= yes CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=OFF \ -DPYTHON_EXECUTABLE:STRING=${PYTHON_CMD} \ -DPYTHON_INCLUDEDIR:STRING=${PYTHON_INCLUDEDIR} post-extract: @${MKDIR} ${WRKSRC}/cmake @for f in COPYING-CMAKE-SCRIPTS FindSIP.cmake FindSIP.py SIPMacros.cmake; do \ ${CP} ${FILESDIR}/$$f ${WRKSRC}/cmake; \ done @for f in CMakeLists.txt CPackConfig.cmake ArcusConfig.cmake.in; do \ ${CP} ${FILESDIR}/$$f ${WRKSRC}; \ done @${MV} ${WRKSRC_pyArcus}/python ${WRKSRC} @${MV} ${WRKSRC_pyArcus}/include/pyArcus ${WRKSRC}/include @${MV} ${WRKSRC_pyArcus}/src/PythonMessage.cpp ${WRKSRC}/python .include diff --git a/net/mosh/Makefile b/net/mosh/Makefile index b7c8d4f5d6c5..49aa1c481ffe 100644 --- a/net/mosh/Makefile +++ b/net/mosh/Makefile @@ -1,36 +1,36 @@ PORTNAME= mosh PORTVERSION= 1.4.0 DISTVERSIONPREFIX= ${PORTNAME}- -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= net MAINTAINER= zi@FreeBSD.org COMMENT= Mobile terminal that supports intermittent connectivity WWW= https://mosh.org/ LICENSE= GPLv3 LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= autoreconf compiler:c++17-lang ncurses perl5 pkgconfig ssl USE_PERL5= run GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-utempter --without-ncurses CONFIGURE_ENV+= OpenSSL_CFLAGS="-I${OPENSSLINC}" OpenSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ TINFO_CFLAGS="-I/usr/include" ac_cv_have_decl_bswap64=yes \ ac_cv_have_decl___builtin_bswap64=yes INSTALL_TARGET= install-strip USE_CXXSTD= c++17 USE_GITHUB= yes GH_ACCOUNT= mobile-shell CONFLICTS_INSTALL= mosh-0.[2-9].* PLIST_FILES= bin/mosh bin/mosh-server bin/mosh-client \ share/man/man1/mosh-client.1.gz \ share/man/man1/mosh-server.1.gz \ share/man/man1/mosh.1.gz .include diff --git a/science/orthanc-mysql/Makefile b/science/orthanc-mysql/Makefile index 7365fb5e0cc3..ce158ff9f0ed 100644 --- a/science/orthanc-mysql/Makefile +++ b/science/orthanc-mysql/Makefile @@ -1,52 +1,52 @@ PORTNAME= orthanc-mysql DISTVERSION= 5.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= https://orthanc.uclouvain.be/downloads/sources/orthanc-mysql/:mysql \ https://orthanc.uclouvain.be/downloads/sources/orthanc/:orthanc \ https://orthanc.uclouvain.be/downloads/third-party-downloads/:thirdparty DISTFILES= OrthancMySQL-${PORTVERSION}.tar.gz:mysql \ Orthanc-${ORTHANC_VER}.tar.gz:orthanc \ e2fsprogs-1.44.5.tar.gz:thirdparty DIST_SUBDIR= orthanc EXTRACT_ONLY= OrthancMySQL-${PORTVERSION}.tar.gz MAINTAINER= jwb@FreeBSD.org COMMENT= Orthanc plugin to use MySQL/MariaDB for indexing or storage WWW= https://www.orthanc-server.com/static.php?page=mysql LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCDatabasePlugin.h:science/orthanc \ googletest>0:devel/googletest LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libcurl.so:ftp/curl \ libjsoncpp.so:devel/jsoncpp \ libprotobuf.so:devel/protobuf RUN_DEPENDS= Orthanc:science/orthanc USES= cmake localbase mysql:client python:build ssl USE_LDCONFIG= ${DATADIR}/plugins WRKSRC= ${WRKDIR}/OrthancMySQL-${PORTVERSION} CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/MySQL/ThirdPartyDownloads/Orthanc-${ORTHANC_VER}/OrthancFramework/Sources \ -DORTHANC_FRAMEWORK_SOURCE=path CMAKE_OFF= DBUILD_UNIT_TESTS USE_SYSTEM_ORTHANC_SDK USE_SYSTEM_UUID CMAKE_SOURCE_PATH= ${WRKSRC}/MySQL CFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG CXXFLAGS+= -I${LOCALBASE}/include -DNDEBUG PLIST_SUB= DISTVERSION=${DISTVERSION} .include "${.CURDIR}/../../science/orthanc/version.mk" post-extract: ${MKDIR} ${WRKSRC}/MySQL/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/MySQL/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-${ORTHANC_VER}.tar.gz ${WRKSRC}/MySQL/ThirdPartyDownloads ${TAR} -C ${WRKSRC}/MySQL/ThirdPartyDownloads -xf ${WRKSRC}/MySQL/ThirdPartyDownloads/Orthanc-${ORTHANC_VER}.tar.gz .include diff --git a/science/orthanc-postgresql/Makefile b/science/orthanc-postgresql/Makefile index efdb2d2eb7c9..597085cdda27 100644 --- a/science/orthanc-postgresql/Makefile +++ b/science/orthanc-postgresql/Makefile @@ -1,50 +1,51 @@ PORTNAME= orthanc-postgresql DISTVERSION= 10.0 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://orthanc.uclouvain.be/downloads/sources/orthanc-postgresql/:pgsql \ https://orthanc.uclouvain.be/downloads/sources/orthanc/:orthanc \ https://orthanc.uclouvain.be/downloads/third-party-downloads/:thirdparty DISTFILES= OrthancPostgreSQL-${PORTVERSION}.tar.gz:pgsql \ Orthanc-${ORTHANC_VER}.tar.gz:orthanc \ e2fsprogs-1.44.5.tar.gz:thirdparty DIST_SUBDIR= orthanc EXTRACT_ONLY= OrthancPostgreSQL-${PORTVERSION}.tar.gz MAINTAINER= jwb@FreeBSD.org COMMENT= Orthanc plugin to use PostgreSQL for indexing or storage WWW= https://www.orthanc-server.com/static.php?page=postgresql LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCDatabasePlugin.h:science/orthanc \ googletest>0:devel/googletest LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libjsoncpp.so:devel/jsoncpp \ libprotobuf.so:devel/protobuf RUN_DEPENDS= Orthanc:science/orthanc USES= cmake localbase pgsql:11+ python:build ssl USE_LDCONFIG= ${DATADIR}/plugins WRKSRC= ${WRKDIR}/OrthancPostgreSQL-${PORTVERSION} CMAKE_SOURCE_PATH= ${WRKSRC}/PostgreSQL CMAKE_OFF= BUILD_UNIT_TESTS USE_SYSTEM_ORTHANC_SDK USE_SYSTEM_UUID CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-${ORTHANC_VER}/OrthancFramework/Sources \ -DORTHANC_FRAMEWORK_SOURCE=path CXXFLAGS+= -I${LOCALBASE}/include -DNDEBUG LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG PLIST_SUB= DISTVERSION=${DISTVERSION} .include "${.CURDIR}/../../science/orthanc/version.mk" post-extract: ${MKDIR} ${WRKSRC}/PostgreSQL/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-${ORTHANC_VER}.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads ${TAR} -C ${WRKSRC}/PostgreSQL/ThirdPartyDownloads -xf ${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-${ORTHANC_VER}.tar.gz .include diff --git a/science/orthanc/Makefile b/science/orthanc/Makefile index 9eebf16d56bb..32097e8ad898 100644 --- a/science/orthanc/Makefile +++ b/science/orthanc/Makefile @@ -1,59 +1,59 @@ PORTNAME= orthanc DISTVERSION= ${ORTHANC_VER} # version.mk -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= https://orthanc.uclouvain.be/downloads/sources/orthanc/ DISTNAME= Orthanc-${PORTVERSION} MAINTAINER= jwb@FreeBSD.org COMMENT= Lightweight DICOM server for healthcare and medical research WWW= https://www.orthanc-server.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= protoc:devel/protobuf \ googletest>0:devel/googletest LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ libcivetweb.so:www/civetweb \ libcurl.so:ftp/curl \ libdcmtkcharls.so:graphics/dcmtk \ libjsoncpp.so:devel/jsoncpp \ libpng16.so:graphics/png \ libprotobuf.so:devel/protobuf \ libpugixml.so:textproc/pugixml \ libuuid.so:misc/libuuid USES= cmake gnome iconv jpeg lua python:build sqlite ssl USE_RC_SUBR= orthanc # Keep in sync with graphics/dcmtk version CMAKE_ARGS= -DDCMTK_DICTIONARY_DIR:STRING=${LOCALBASE}/share/dcmtk-3.6.9 CMAKE_ON= USE_SYSTEM_BOOST USE_SYSTEM_CIVETWEB USE_SYSTEM_DCMTK \ USE_SYSTEM_GOOGLE_TEST USE_SYSTEM_JSONCPP USE_SYSTEM_LIBICONV \ USE_SYSTEM_LIBJPEG USE_SYSTEM_LIBPNG USE_SYSTEM_LUA \ USE_SYSTEM_OPENSSL USE_SYSTEM_PUGIXML USE_SYSTEM_SQLITE \ USE_SYSTEM_UUID USE_SYSTEM_ZLIB CMAKE_OFF= BUILD_CONNECTIVITY_CHECKS UNIT_TESTS_WITH_HTTP_CONNEXIONS CMAKE_SOURCE_PATH= ${WRKSRC}/OrthancServer CFLAGS+= -DNDEBUG CXXFLAGS+= -DNDEBUG WRKSRC= ${WRKDIR}/Orthanc-${PORTVERSION} USERS= orthanc GROUPS= orthanc PLIST_SUB+= DISTVERSION=${DISTVERSION} post-install: ${MKDIR} ${STAGEDIR}/var/db/orthanc/db/db-v5 ${MKDIR} ${STAGEDIR}${DATADIR}/plugins ${MKDIR} ${STAGEDIR}${ETCDIR} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${CMAKE_SOURCE_PATH}/Resources/Configuration.json ${CP} ${CMAKE_SOURCE_PATH}/Resources/Configuration.json ${STAGEDIR}${ETCDIR}/orthanc.json.sample .include "${.CURDIR}/version.mk" .include diff --git a/science/paraview/Makefile b/science/paraview/Makefile index 3026ee59fdc5..23211bbb4df7 100644 --- a/science/paraview/Makefile +++ b/science/paraview/Makefile @@ -1,184 +1,184 @@ PORTNAME= paraview DISTVERSION= ${PARAVIEW_VER}.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science graphics MASTER_SITES= http://www.paraview.org/files/v${PARAVIEW_VER}/ DISTNAME= ParaView-v${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Powerful scientific data visualization application WWW= https://www.paraview.org/ # See https://www.paraview.org/license/ LICENSE= BSD3CLAUSE #BROKEN_i386= no matching member function for call to 'getArrayType' BUILD_DEPENDS= ${PYNUMPY} \ cli11>0:devel/cli11 \ utf8cpp>0:devel/utf8cpp \ fast_float>0:math/fast_float \ nlohmann-json>0:devel/nlohmann-json \ vulkan-headers>0:graphics/vulkan-headers \ ${LOCALBASE}/include/exprtk.hpp:math/exprtk \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} LIB_DEPENDS= libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libjbig.so:graphics/jbigkit \ liborc-0.4.so:devel/orc \ libpcre.so:devel/pcre \ libicuuc.so:devel/icu \ libffi.so:devel/libffi \ libtbb.so:devel/onetbb \ libogg.so:audio/libogg \ libgl2ps.so:print/gl2ps \ libOT.so:math/openturns \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libhpdf.so:print/libharu \ libproj.so:graphics/proj \ libpdalcpp.so:math/pdal \ libdrm.so:graphics/libdrm \ libcgns.so:science/cgnslib \ liblz4.so:archivers/liblz4 \ libverdict.so:math/verdict \ libnetcdf.so:science/netcdf \ libjsoncpp.so:devel/jsoncpp \ libprotobuf.so:devel/protobuf \ libpugixml.so:textproc/pugixml \ libavutil.so:multimedia/ffmpeg \ libcgraph.so:graphics/graphviz \ libxkbcommon.so:x11/libxkbcommon \ libtheora.so:multimedia/libtheora \ libgeotiff.so:graphics/libgeotiff \ libboost_thread.so:devel/boost-libs \ libfontconfig.so:x11-fonts/fontconfig \ libdouble-conversion.so:devel/double-conversion RUN_DEPENDS= ${PYNUMPY} \ bash:shells/bash \ vtk${VTK_VER:R}>0:math/vtk${VTK_VER:R} \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} USES= cmake compiler:c++17-lang desktop-file-utils eigen:3 fortran gl gnome \ jpeg localbase pkgconfig python qt:6 shebangfix sqlite tar:xz xorg USE_GL= glew opengl USE_GNOME= libxml2 USE_QT= 5compat base svg tools webengine #buildtools:build core gui help network opengl qmake:build sql svg \ # webengine widgets x11extras glew xmlpatterns USE_XORG= ice sm x11 xau xcb xcursor xdamage xdmcp xext xfixes xorgproto xrender \ xxf86vm USE_LDCONFIG= yes CFLAGS+= -Wno-missing-template-arg-list-after-template-kw \ -I${WRKSRC}/Clients/ParaView/Documentation CMAKE_ARGS+= -DPARAVIEW_BUILD_SHARED_LIBS=ON \ -DPARAVIEW_BUILD_WITH_EXTERNAL=ON \ -DCMAKE_CXX_STANDARD=17 \ -DPARAVIEW_USE_PYTHON:BOOL=ON \ -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ -DPARAVIEW_ENABLE_LAS:BOOL=OFF \ -DPARAVIEW_ENABLE_WEB:BOOL=ON \ -DPARAVIEW_ENABLE_GDAL:BOOL=ON \ -DPARAVIEW_ENABLE_PDAL:BOOL=ON \ -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON \ -DPARAVIEW_ENABLE_MOTIONFX:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF2:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF3:BOOL=ON \ -DPARAVIEW_USE_QT:BOOL=ON \ -DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION:BOOL=OFF \ -DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION:BOOL=OFF \ -DVTK_FORBID_DOWNLOADS:BOOL=OFF \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1 \ -DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF \ -DExternalData_OBJECT_STORES="${WRKDIR}/VTK/ExternalData/MD5" \ -DFREETYPE_INCLUDE_DIRS="${LOCALBASE}/include/freetype2" # TODO: port Viskores - https://viskores.org/ CMAKE_ARGS+= -DPARAVIEW_USE_VISKORES:BOOL=OFF # To enable external VTK, it should be configured with several modules # -DVTK_MODULE_ENABLE_VTK_xxx=WANT CMAKE_ARGS+= -DPARAVIEW_USE_EXTERNAL_VTK:BOOL=OFF .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -DVTK_FORBID_DOWNLOADS:BOOL=ON .endif MAKE_ENV= XDG_CONFIG_HOME=${WRKDIR} USE_CXXSTD= c++17 SHEBANG_GLOB= *.py SHEBANG_FILES= VTK/Examples/SearchScript.sh \ VTK/Utilities/Maintenance/*.sh \ Clients/CommandLineExecutables/paraview-config.in OPTIONS_DEFINE= DOCS EXAMPLES OMPI OSMESA TEST OPTIONS_SUB= yes OMPI_DESC= OpenMPI (Message Passing Interface) support OSMESA_DESC= Use Mesa for off-screen rendering # mpi4py and other programs must be compiled against the same MPI provider OMPI_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>=0:net/py-mpi4py@${PY_FLAVOR} OMPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>=0:net/py-mpi4py@${PY_FLAVOR} OMPI_USES= mpi:openmpi OMPI_CMAKE_ON= -DPARAVIEW_USE_MPI:BOOL=ON OMPI_CMAKE_OFF= -DPARAVIEW_USE_MPI:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa OSMESA_USES_OFF= desktop-file-utils OSMESA_CMAKE_BOOL= VTK_OPENGL_HAS_OSMESA OSMESA_CMAKE_ON= -DVTK_USE_X:BOOL="OFF" \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so OSMESA_CMAKE_OFF= -DVTK_USE_X:BOOL="ON" EXAMPLES_CMAKE_BOOL= PARAVIEW_ENABLE_EXAMPLES PORTEXAMPLES= * TEST_CMAKE_ON= -DPARAVIEW_BUILD_TESTING=WANT # PARAVIEW_BUILD_VTK_TESTING requires SCN https://pypi.org/project/scn/ # -DPARAVIEW_BUILD_VTK_TESTING=WANT # ADIOS2 requires MPICH, not OpenMPI #LIB_DEPENDS+= libadios2_c.so:misc/adios2 #CMAKE_ARGS+= -DPARAVIEW_ENABLE_ADIOS2:BOOL=ON # Missing GenericIO for CosmoTools #CMAKE_ARGS+= -DPARAVIEW_ENABLE_COSMOTOOLS:BOOL=ON # Errors with VisItBridge / VisItLib #CMAKE_ARGS+= -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=ON # MomentInvariants needs to download a module #CMAKE_ARGS+= -DPARAVIEW_ENABLE_MOMENTINVARIANTS:BOOL=ON # No package for graphics/ospray #LIB_DEPENDS+= libospray.so:graphics/ospray #CMAKE_ARGS+= -DPARAVIEW_ENABLE_RAYTRACING PLIST_SUB+= VERMAJORMINOR=${PARAVIEW_VER} VTK9_CONFLICTS= vtk.py vtkmodules/__init__.py vtkmodules/all.py \ vtkmodules/gtk vtkmodules/numpy_interface \ vtkmodules/qt vtkmodules/test vtkmodules/tk \ vtkmodules/util vtkmodules/wx vtkmodules/generate_pyi.py \ vtkmodules/web/errors.py pre-configure: ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${PATCH_WRKSRC}/VTK/IO/Image/vtkPNGReader.cxx ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${PATCH_WRKSRC}/VTK/Utilities/Maintenance/vtk_site_history.py post-install: # vtk9 is not a real run dependency, but it installs several common files .for py in ${VTK9_CONFLICTS} ${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/${py} .endfor post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/Examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include <./Makefile.version> .include <../../math/vtk9/Makefile.version> .include diff --git a/science/py-chainer/Makefile b/science/py-chainer/Makefile index 64fcb8ec3e5d..89389f30e427 100644 --- a/science/py-chainer/Makefile +++ b/science/py-chainer/Makefile @@ -1,26 +1,26 @@ PORTNAME= chainer DISTVERSION= 7.8.1 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= science # machine-learning MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Deep learning framework WWW= https://chainer.org/ LICENSE= MIT LIB_DEPENDS= libprotobuf.so:devel/protobuf RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}filelock>0:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.0.0:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes .include diff --git a/science/py-tensorflow/Makefile b/science/py-tensorflow/Makefile index 15489d182e8c..5c770bbf4611 100644 --- a/science/py-tensorflow/Makefile +++ b/science/py-tensorflow/Makefile @@ -1,204 +1,205 @@ PORTNAME= tensorflow DISTVERSIONPREFIX= v DISTVERSION= 2.13.1 +PORTREVISION= 1 CATEGORIES= science python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}.tar.gz PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= ba7501696cc.patch:-p1 667cf3ed2d7.patch:-p1 MAINTAINER= amzo1337@gmail.com COMMENT= Computation using data flow graphs for scalable machine learning WWW= https://www.tensorflow.org LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}grpcio-tools>=1.22.0:devel/py-grpcio-tools@${PY_FLAVOR} \ bash:shells/bash \ bazel:devel/bazel5 \ cython:lang/cython \ git:devel/git \ patchelf:sysutils/patchelf \ swig:devel/swig LIB_DEPENDS= libnsync.so:devel/nsync \ libgpr.so:devel/grpc \ libpng.so:graphics/png \ libsnappy.so:archivers/snappy \ libabsl_base.so:devel/abseil \ libsqlite3.so:databases/sqlite3 \ libicuio.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libprotobuf.so:devel/protobuf \ libgif.so:graphics/giflib \ libcurl.so:ftp/curl \ libdouble-conversion.so:devel/double-conversion RUN_DEPENDS= pybind11>=2.6.2:devel/pybind11 \ ${PYTHON_PKGNAMEPREFIX}absl-py>=1.0.0:devel/py-absl-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}astunparse>=1.6.0:devel/py-astunparse@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flatbuffers>=23.1.21:devel/py-flatbuffers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gast>=0.2.1:devel/py-gast@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}google-pasta>=0.1.1:devel/py-google-pasta@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}h5py>=2.9.0:science/py-h5py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.22.0:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opt-einsum>=2.3.2:math/py-opt-einsum@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.3:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.6:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wrapt>=1.11.0:devel/py-wrapt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}grpcio>=1.24.3:devel/py-grpcio@${PY_FLAVOR} USES= jpeg perl5 python shebangfix ssl USE_CXXSTD= c++17 USE_GITHUB= yes USE_LDCONFIG= yes USE_PERL5= build USE_PYTHON= distutils SHEBANG_GLOB= *.py BINARY_ALIAS= python3=${PYTHON_CMD} PLIST_SUB= TF_PORT_VERSION=${PORTVERSION} OPTIONS_DEFINE= CPU_OPTS XLA OPTIONS_RADIO= PARALLEL_JOBS OPTIONS_RADIO_PARALLEL_JOBS= JOBS_1 JOBS_HALF JOBS_ALL PARALLEL_JOBS_DESC= How many jobs to run during build? OPTIONS_DEFAULT= JOBS_HALF JOBS_1_DESC= Run one job JOBS_1_VARS= TF_JOBS_NUMBER=1 JOBS_HALF_DESC= Run half jobs JOBS_HALF_VARS= TF_JOBS_NUMBER="`expr \( ${MAKE_JOBS_NUMBER} + 1 \) / 2`" JOBS_ALL_DESC= Run all jobs JOBS_ALL_VARS= TF_JOBS_NUMBER=${MAKE_JOBS_NUMBER} CPU_OPTS_DESC= Enable optimisations using features available on your CPU CPU_OPTS_VARS= CPU_TARGET=native BAZEL_COPT="-c opt --copt=-march=native --copt=-mfpmath=sse" CPU_OPTS_VARS_OFF= CPU_TARGET=x86-64 XLA_DESC= Accelerated Linear Algebra XLA_VARS= XLA_OPT="1" XLA_VARS_OFF= XLA_OPT="0" .include "Makefile.MASTER_SITES" BAZEL_BOOT= --output_user_root=${WRKDIR}/bazel_out .if !defined(WITH_DEBUG) # For the reason why the linker is used for the strip, see PR 280234. BAZEL_LINKOPT= --linkopt=-Wl,--strip-all .endif post-patch: # Set up a local repository with our pre-downloaded packages # This prevents bazel downloading the files without modifying # the bzl files. @${MKDIR} ${WRKDIR}/bazel-dist .for file in ${DISTFILES:C/\:(.*)//} @${ECHO} "Moving ${file} to ${WRKDIR}/bazel-dist" @${CP} ${DISTDIR}/${DIST_SUBDIR}/${file} ${WRKDIR}/bazel-dist .endfor @${CP} ${PATCHDIR}/bazelrc ${WRKDIR}/bazelrc @${CP} -R ${PATCHDIR}/bazel/* \ ${WRKSRC}/third_party/ @${REINPLACE_CMD} "s#%%BAZEL_DIR%%#${WRKDIR}#" ${WRKDIR}/bazelrc @${REINPLACE_CMD} "s#%%BAZEL_DIST%%#${WRKDIR}#" ${WRKDIR}/bazelrc # copy the toolchain over @${CP} -R ${PATCHDIR}/freebsd \ ${WRKSRC}/ @${REINPLACE_CMD} "s#%%PATH%%#${PATH}#" ${WRKDIR}/bazelrc @${REINPLACE_CMD} -e "s#%%LOCALBASE%%#${LOCALBASE}#" \ ${WRKDIR}/bazelrc \ ${WRKSRC}/freebsd/cc_toolchain_config.bzl \ ${WRKSRC}/.bazelrc do-configure: @cd ${WRKSRC} && ${SETENV} \ PYTHON_BIN_PATH=${PYTHON_CMD} \ PYTHON_LIB_PATH="${PYTHON_SITELIBDIR}" \ KERAS_HOME="${WRKDIR}/.keras" \ TF_NEED_OPENCL_SYCL=0 \ TF_ENABLE_XLA=${XLA_OPT} \ TF_NEED_OPENCL=0 \ TF_NEED_MPI=0 \ TF_NEED_TENSORRT=0 \ TF_NEED_NGRAPH=0 \ TF_NEED_IGNITE=0 \ TF_NEED_ROCM=0 \ TF_NEED_CUDA=0 \ TF_SET_ANDROID_WORKSPACE=0 \ TF_DOWNLOAD_CLANG=0 \ TF_NEED_NCCL=0 \ TF_IGNORE_MAX_BAZEL_VERSION=1 \ CC_OPT_FLAGS="-march=${CPU_TARGET} -I${LOCALBASE}/include" \ PREFIX="${LOCALBASE}" \ TF_SYSTEM_LIBS="absl_py astor_archive astunparse_archive boringssl com_github_googlecloudplatform_google_cloud_cpp com_github_grpc_grpc \ com_google_absl com_google_protobuf curl cython dill_archive double_conversion functools32_archive gast_archive \ gif hwloc icu jsoncpp_git libjpeg_turbo nasm nsync opt_einsum_archive org_sqlite pasta png pybind11 six_archive snappy \ tblib_archive termcolor_archive typing_extensions_archive wrapt zlib" \ ./configure do-build: @cd ${WRKSRC} && \ bazel --bazelrc="${WRKDIR}/bazelrc" ${BAZEL_BOOT} build --jobs ${TF_JOBS_NUMBER} ${BAZEL_COPT} --host_copt="-I${LOCALBASE}/include" \ --host_linkopt="-L${LOCALBASE}/lib -lexecinfo" ${BAZEL_LINKOPT} --copt="-I${LOCALBASE}/include" \ --verbose_failures -s \ --distdir=${WRKDIR}/bazel-dist \ //tensorflow:libtensorflow_framework.so \ //tensorflow:libtensorflow.so \ //tensorflow:libtensorflow_cc.so \ //tensorflow:install_headers \ //tensorflow/tools/pip_package:build_pip_package @cd ${WRKSRC} && ${SETENV} TMPDIR=${WRKDIR} \ bazel-bin/tensorflow/tools/pip_package/build_pip_package \ ${WRKDIR}/whl do-install: @${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR} @${MKDIR} ${STAGEDIR}/${LOCALBASE}/include/tensorflow @${UNZIP_NATIVE_CMD} -d ${STAGEDIR}/${PYTHON_SITELIBDIR} ${WRKDIR}/whl/${PORTNAME}-${PORTVERSION}-*.whl # put headers in the right folder ${CP} -R ${WRKSRC}/bazel-bin/tensorflow/include/tensorflow \ ${STAGEDIR}/${LOCALBASE}/include/ # pc files and libraries ${INSTALL_DATA} ${PATCHDIR}/tensorflow.pc ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/ ${INSTALL_DATA} ${PATCHDIR}/tensorflow_cc.pc ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/ @${REINPLACE_CMD} "s#%%LOCALBASE%%#${LOCALBASE}#" \ ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow.pc \ ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow_cc.pc @${REINPLACE_CMD} "s#%%VERSION%%#${PORTVERSION}#" \ ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow.pc #cleanup ${RM} ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/*.bak # install the libraries and strip @${FIND} ${WRKSRC}/bazel-bin/tensorflow/ -depth 1 -name "*.so*" | ${XARGS} -I{} \ ${INSTALL_LIB} {} ${STAGEDIR}/${LOCALBASE}/lib/ post-install: # autoplist: thousands of files, all under ${PYTHON_SITELIBDIR} @cd ${STAGEDIR}${PREFIX} && \ ${FIND} ${PYTHON_SITELIBDIR:C|^${LOCALBASE}/||} -type f -or -type l | ${GREP} -v "egg-info/" >> ${TMPPLIST} .include diff --git a/sysutils/bsdsensors/Makefile b/sysutils/bsdsensors/Makefile index 702dcc336915..2754345d927f 100644 --- a/sysutils/bsdsensors/Makefile +++ b/sysutils/bsdsensors/Makefile @@ -1,21 +1,21 @@ PORTNAME= bsdsensors DISTVERSION= 0.1.20250325 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= henry.hu.sh@gmail.com COMMENT= Tool to read sensors and control fan speed WWW= https://github.com/henryhu/bsdsensors LICENSE= BSD3CLAUSE LIB_DEPENDS= libglog.so:devel/glog \ libprotobuf.so:devel/protobuf \ libgflags.so:devel/gflags \ libabsl_base.so:devel/abseil USES= cmake USE_GITHUB= yes GH_ACCOUNT= henryhu .include diff --git a/sysutils/zbackup/Makefile b/sysutils/zbackup/Makefile index 852d699a033b..0b7e31bce2c9 100644 --- a/sysutils/zbackup/Makefile +++ b/sysutils/zbackup/Makefile @@ -1,34 +1,34 @@ PORTNAME= zbackup PORTVERSION= 1.4.4 -PORTREVISION= 30 +PORTREVISION= 31 CATEGORIES= sysutils MAINTAINER= ports@FreeBSD.org COMMENT= Versatile deduplicating backup tool WWW= http://zbackup.org/ LICENSE= GPLv2 LIB_DEPENDS= libprotobuf.so:devel/protobuf \ liblzo2.so:archivers/lzo2 USES= cmake:insource compiler:c++17-lang ssl USE_GITHUB= yes CXXFLAGS+= -Wno-dynamic-exception-spec USE_CXXSTD= c++17 OPTIONS_DEFINE= DOCS PLIST_FILES= bin/zbackup PORTDOCS= README.md post-patch: @${REINPLACE_CMD} -e 's| CHECK(| ZBACKUP_CHECK(|' ${WRKSRC}/*.cc ${WRKSRC}/*.hh ${WRKSRC}/tests/*/*.cc do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_PROGRAM} ${WRKSRC}/zbackup ${STAGEDIR}${PREFIX}/bin .include diff --git a/www/envoy/Makefile b/www/envoy/Makefile index 0c73f051b220..e021f5e4b3f3 100644 --- a/www/envoy/Makefile +++ b/www/envoy/Makefile @@ -1,115 +1,115 @@ PORTNAME= envoy PORTVERSION= 1.26.1 DISTVERSIONPREFIX= v -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= www MASTER_SITES= https://storage.googleapis.com/quiche-envoy-integration/:gurl DISTFILES= dd4080fec0b443296c0ed0036e1e776df8813aa7${EXTRACT_SUFX}:gurl MAINTAINER= danfe@FreeBSD.org COMMENT= Edge and service proxy for cloud-native applications WWW= https://www.envoyproxy.io/ LICENSE= APACHE20 BROKEN_SSL= base openssl libressl libressl-devel BROKEN_SSL_REASON= requires BoringSSL BUILD_DEPENDS= ${NONEXISTENT}:devel/grpc:patch \ ${NONEXISTENT}:devel/protobuf:patch \ ${LOCALBASE}/include/flatbuffers/reflection.h:devel/flatbuffers \ ${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json \ ${LOCALBASE}/include/spdlog/spdlog.h:devel/spdlog \ ${LOCALBASE}/include/tclap/CmdLine.h:devel/tclap12 LIB_DEPENDS= libabsl_base.so:devel/abseil \ libbrotlidec.so:archivers/brotli \ libcares.so:dns/c-ares \ libcircllhist.so:devel/libcircllhist \ libcurl.so:ftp/curl \ libevent.so:devel/libevent-devel \ libfmt.so:devel/libfmt \ libgpr.so:devel/grpc \ libicuuc.so:devel/icu \ libnghttp2.so:www/libnghttp2 \ libprotobuf.so:devel/protobuf \ libre2.so:devel/re2 \ libxxhash.so:devel/xxhash \ libyaml-cpp.so:devel/yaml-cpp \ libzstd.so:archivers/zstd USES= compiler:c++17-lang cpe gmake python:build shebangfix ssl CPE_VENDOR= ${PORTNAME}proxy SHEBANG_FILES= examples/*/verify.sh examples/grpc-bridge/client/client.py \ examples/shared/postgres/docker-healthcheck.sh USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}proxy bufbuild:pgv cncf:xds googleapis:gapis \ census-instrumentation:ocp prometheus:pcm google:quiche \ open-telemetry:otp google:cel GH_PROJECT= protoc-gen-validate:pgv xds:xds googleapis:gapis \ opencensus-proto:ocp client_model:pcm quiche:quiche \ opentelemetry-proto:otp cel-cpp:cel GH_TAGNAME= v0.10.1:pgv 46e39c7:xds 114a745:gapis v0.4.1:ocp 147c58e:pcm \ 37de4f7:quiche v0.19.0:otp 11f9d66:cel _GRPC_WRKSRC= ${MAKE} -C ${PORTSDIR}/devel/grpc -V WRKSRC _PROTOBUF_WRKSRC= ${MAKE} -C ${PORTSDIR}/devel/protobuf -V WRKSRC PLIST_FILES= bin/envoy PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES post-extract: ${LN} -s \ ../../client_model-147c58e/io \ ../../googleapis-114a745/google \ ../../opencensus-proto-0.4.1/src/opencensus \ ../../opentelemetry-proto-0.19.0/opentelemetry \ ../../protoc-gen-validate-0.10.1/validate \ ../../xds-46e39c7/udpa ../../xds-46e39c7/xds \ ${_GRPC_WRKSRC:sh}/src ${WRKSRC}/api post-patch: @${REINPLACE_CMD} -e 's,__APPLE__,__${OPSYS}__,' \ ${WRKSRC}/source/common/network/address_impl.cc @${REINPLACE_CMD} -e 's,O_SYMLINK,O_NOFOLLOW,' \ ${WRKSRC}/source/common/filesystem/kqueue/watcher_impl.cc @${REINPLACE_CMD} -e '/opentracing::v/s,v2,v3,' \ ${WRKSRC}/source/extensions/tracers/common/ot/opentracing_driver_impl.cc @${REINPLACE_CMD} -e '23s,^,#include "absl/status/status.h",' \ ${WRKDIR}/cel-cpp-11f9d66/eval/public/ast_traverse.cc @${REINPLACE_CMD} -e '/^#include "eval\/testutil\/test_message/d' \ ${WRKDIR}/cel-cpp-11f9d66/eval/public/structs/cel_proto_wrap_util.cc do-configure: ${ECHO_CMD} '#define BUILD_VERSION_NUMBER "${PORTVERSION}"' \ > ${WRKSRC}/source/common/version/version_number.h cd ${WRKSRC} && PYTHONPATH=. ${PYTHON_CMD} \ tools/api_versioning/generate_api_version_header.py \ API_VERSION.txt > \ ${WRKSRC}/source/common/version/api_version_number.h ${LN} -s kqueue/watcher_impl.h posix/filesystem_impl.h \ posix/directory_iterator_impl.h \ ${WRKSRC}/source/common/filesystem ${LN} -s posix/os_sys_calls_impl.h ${WRKSRC}/source/common/api ${LN} -s posix/signal_impl.h ${WRKSRC}/source/common/event ${LN} -s posix/thread_impl.h ${WRKSRC}/source/common/common ${LN} -s standard/logger_impl.h ${WRKSRC}/source/common/common ${LN} -s ../../quiche-37de4f7/quiche ${WRKSRC}/source ${LN} -s source/common/quic/platform ${WRKSRC}/quiche_platform_impl ${LN} -s ${_PROTOBUF_WRKSRC:sh}/src/google ${WRKDIR} do-build: ${MAKE_CMD} -C ${WRKSRC} -f ${FILESDIR}/makefile-genproto ${MAKE_CMD} ${_MAKE_JOBS} -C ${WRKSRC}/source \ -f ${FILESDIR}/makefile-main all do-install: ${INSTALL_PROGRAM} ${WRKSRC}/source/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -a ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR} .include