diff --git a/net-p2p/amule-devel/Makefile b/net-p2p/amule-devel/Makefile index ff20ab0f6f3a..dbb37e8490e4 100644 --- a/net-p2p/amule-devel/Makefile +++ b/net-p2p/amule-devel/Makefile @@ -1,116 +1,114 @@ -# Created by: Ganael LAPLANCHE - PORTNAME= amule PORTVERSION= 11065 PORTREVISION= 2 CATEGORIES= net-p2p MASTER_SITES= http://amule.sourceforge.net/tarballs/ PKGNAMESUFFIX= -devel DISTNAME= aMule-SVN-r${PORTVERSION} MAINTAINER= bar@FreeBSD.org COMMENT= All-platform eMule p2p client LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/COPYING LIB_DEPENDS= libcryptopp.so:security/cryptopp CONFLICTS= amule USES= bison compiler:c++11-lang cpe desktop-file-utils desktop-file-utils \ gmake localbase:ldflags perl5 pkgconfig shebangfix tar:bzip2 USE_PERL5= build USE_WX= 2.8 WX_CONF_ARGS= absolute SHEBANG_FILES= src/utils/scripts/*.pl src/utils/xas/*.pl src/libs/ec/*.pl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-denoise-level=0 CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \ docdir='$${prefix}/${DOCSDIR_REL}' CXXFLAGS+= `pkgconf --cflags-only-other libcryptopp` LDFLAGS+= -lpthread OPTIONS_DEFINE= ALC ALCC AMULECMD AMULEDAEMON AMULEGUI BOOST CAS DEBUG DOCS \ ED2K FILEVIEW MMAP MONOLITHIC NLS OPTIMIZED_CFLAGS UPNP \ WEBSERVER WXCAS XAS ALC_DESC= Compile aMule Link Creator for GUI ALCC_DESC= Compile aMule Link Creator for console AMULECMD_DESC= Compile aMule command line client AMULEDAEMON_DESC= Compile aMule daemon version AMULEGUI_DESC= Compile aMule remote GUI CAS_DESC= Compile aMule Statistics for console ED2K_DESC= Compile aMule ed2k links handler FILEVIEW_DESC= Compile file viewer for console MMAP_DESC= Use mapped memory MONOLITHIC_DESC= Compile monolithic aMule WXCAS_DESC= Compile aMule Statistics for GUI XAS_DESC= Install XChat2 plugin OPTIONS_DEFAULT=ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS ED2K \ FILEVIEW MONOLITHIC WEBSERVER WXCAS XAS OPTIONS_SUB= yes DEBUG_CONFIGURE_ON= --enable-debug NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls ALC_CONFIGURE_ON= --enable-alc ALCC_CONFIGURE_ON= --enable-alcc AMULECMD_CONFIGURE_ON= --enable-amulecmd AMULECMD_USES= readline AMULEDAEMON_CONFIGURE_ON= --enable-amule-daemon AMULEDAEMON_USE= RC_SUBR=amuled AMULEGUI_CONFIGURE_ON= --enable-amule-gui BOOST_CONFIGURE_ON= --with-boost BOOST_LIB_DEPENDS+= libboost_system.so:devel/boost-libs CAS_CONFIGURE_ON= --enable-cas CAS_LIB_DEPENDS= libgd.so:graphics/gd ED2K_CONFIGURE_OFF= --disable-ed2k ED2K_CONFLICTS= ed2k-hash* FILEVIEW_CONFIGURE_ON= --enable-fileview MMAP_CONFIGURE_ON= --enable-mmap MONOLITHIC_CONFIGURE_OFF= --disable-monolithic UPNP_LIB_DEPENDS= libupnp.so:devel/upnp UPNP_CONFIGURE_OFF= --disable-upnp WEBSERVER_CONFIGURE_ON= --enable-webserver WEBSERVER_LIB_DEPENDS= libpng.so:graphics/png WEBSERVER_USES= readline WXCAS_CONFIGURE_ON= --enable-wxcas XAS_CONFIGURE_ON= --enable-xas XAS_USE= PERL5+=run OPTIMIZED_CFLAGS_CONFIGURE_ON= --enable-optimize post-patch: @${REINPLACE_CMD} -e 's/test.*-print-file-name.*`/true/' \ -e '/if.*test/s/==/=/' \ ${WRKSRC}/configure post-patch-DOCS-off: @${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \ ${WRKSRC}/docs/Makefile.in post-install-FILEVIEW-on: ${INSTALL_PROGRAM} ${WRKSRC}/src/utils/fileview/mulefileview ${STAGEDIR}${PREFIX}/bin .include diff --git a/net-p2p/amule/Makefile b/net-p2p/amule/Makefile index f653795ee967..928a882ecc32 100644 --- a/net-p2p/amule/Makefile +++ b/net-p2p/amule/Makefile @@ -1,119 +1,117 @@ -# Created by: Ganael LAPLANCHE - PORTNAME= amule PORTVERSION= 2.3.3 PORTREVISION= 3 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/aMule/${PORTVERSION} DISTNAME= aMule-${PORTVERSION} MAINTAINER= bar@FreeBSD.org COMMENT= All-platform eMule p2p client LICENSE= GPLv2+ LICENSE_FILE_GPLv2+ = ${WRKSRC}/docs/COPYING LIB_DEPENDS= libcryptopp.so:security/cryptopp USES= bison compiler:c++11-lang cpe desktop-file-utils gmake \ localbase:ldflags perl5 pkgconfig shebangfix tar:xz USE_PERL5= build USE_WX= 3.0 WX_CONF_ARGS= absolute GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-denoise-level=0 CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \ docdir='$${prefix}/${DOCSDIR_REL}' CXXFLAGS+= `pkgconf --cflags-only-other libcryptopp` LDFLAGS+= -lpthread SHEBANG_FILES= src/utils/scripts/*.pl src/utils/xas/*.pl src/libs/ec/*.pl CONFLICTS_INSTALL= amule-devel OPTIONS_DEFINE= ALC ALCC AMULECMD AMULEDAEMON AMULEGUI BOOST CAS DEBUG \ DOCS ED2K FILEVIEW MMAP MONOLITHIC NLS UPNP WEBSERVER WXCAS XAS ALC_DESC= Compile aMule Link Creator for GUI ALCC_DESC= Compile aMule Link Creator for console AMULECMD_DESC= Compile aMule command line client AMULEDAEMON_DESC= Compile aMule daemon version AMULEGUI_DESC= Compile aMule remote GUI CAS_DESC= Compile aMule Statistics for console ED2K_DESC= Compile aMule ed2k links handler FILEVIEW_DESC= Compile file viewer for console (EXPERIMENTAL) MMAP_DESC= Use mapped memory MONOLITHIC_DESC= Compile monolithic aMule WXCAS_DESC= Compile aMule Statistics for GUI XAS_DESC= Install XChat2 plugin OPTIONS_DEFAULT=ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS ED2K \ FILEVIEW MONOLITHIC WEBSERVER WXCAS XAS OPTIONS_SUB= yes DEBUG_CONFIGURE_OFF= --disable-debug NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls ALC_CONFIGURE_ON= --enable-alc ALCC_CONFIGURE_ON= --enable-alcc AMULECMD_CONFIGURE_ON= --enable-amulecmd AMULECMD_USES= readline AMULEDAEMON_CONFIGURE_ON= --enable-amule-daemon AMULEDAEMON_USE= RC_SUBR=amuled AMULEGUI_CONFIGURE_ON= --enable-amule-gui BOOST_CONFIGURE_ON= --with-boost BOOST_LIB_DEPENDS+= libboost_system.so:devel/boost-libs CAS_CONFIGURE_ON= --enable-cas CAS_LIB_DEPENDS= libgd.so:graphics/gd ED2K_CONFIGURE_OFF= --disable-ed2k ED2K_CONFLICTS= ed2k-hash* FILEVIEW_CONFIGURE_ON= --enable-fileview MMAP_CONFIGURE_ON= --enable-mmap MONOLITHIC_CONFIGURE_OFF= --disable-monolithic UPNP_LIB_DEPENDS= libupnp.so:devel/upnp UPNP_CONFIGURE_OFF= --disable-upnp WEBSERVER_CONFIGURE_ON= --enable-webserver WEBSERVER_LIB_DEPENDS= libpng.so:graphics/png WEBSERVER_USES= readline WXCAS_CONFIGURE_ON= --enable-wxcas XAS_CONFIGURE_ON= --enable-xas XAS_USE= PERL5+=run .include .if ${PORT_OPTIONS:MAMULEGUI} || ${PORT_OPTIONS:MMONOLITHIC} PLIST_SUB+= AMULESKIN="" .else PLIST_SUB+= AMULESKIN="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's/test.*-print-file-name.*`/true/' \ -e '/if.*test/s/==/=/' \ ${WRKSRC}/configure post-patch-DOCS-off: @${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \ ${WRKSRC}/docs/Makefile.in post-install-FILEVIEW-on: ${INSTALL_PROGRAM} ${WRKSRC}/src/utils/fileview/mulefileview ${STAGEDIR}${PREFIX}/bin .include diff --git a/net-p2p/bitcoin/Makefile b/net-p2p/bitcoin/Makefile index 2157c495b9f1..bc62d2e36521 100644 --- a/net-p2p/bitcoin/Makefile +++ b/net-p2p/bitcoin/Makefile @@ -1,117 +1,115 @@ -# Created by: Shaun Amott - PORTNAME= bitcoin PORTVERSION= 23.0 PORTREVISION?= 1 CATEGORIES= net-p2p finance MASTER_SITES= https://bitcoincore.org/bin/bitcoin-core-${PORTVERSION}/ \ LOCAL/swills:icon DISTFILES= ${DISTNAME}${EXTRACT_SUFX} bitcoin128.png:icon DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${_DISTFILES:N*.png} MAINTAINER= kbowling@FreeBSD.org COMMENT?= Virtual Peer-to-Peer Currency Client (QT) LICENSE= MIT LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libevent.so:devel/libevent USES= autoreconf compiler:c++11-lib cpe gmake libtool pkgconfig qt:5 shebangfix GNU_CONFIGURE= yes 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_bitcoin-qt \ bin/test_bitcoin .endif OPTIONS_DEFINE?= DBUS DEBUG HARDENING QRCODES TESTS UPNP WALLET ZMQ OPTIONS_DEFAULT?= DBUS HARDENING QRCODES UPNP WALLET 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_DESC= Wallet Management Support 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_bitcoin .endif TESTS_PLIST_FILES+= bin/bench_bitcoin UPNP_CONFIGURE_WITH= miniupnpc UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc UPNP_CPPFLAGS= -I${LOCALBASE}/include UPNP_LIBS= -L${LOCALBASE}/lib QRCODES_CONFIGURE_WITH= qrencode QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode WALLET_CONFIGURE_OFF= --disable-wallet WALLET_CONFIGURE_ON= --enable-wallet \ --with-incompatible-bdb \ --with-sqlite=yes \ 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+ sqlite:3 ZMQ_CONFIGURE_ENABLE= zmq ZMQ_BUILD_DEPENDS= libzmq4>0:net/libzmq4 ZMQ_RUN_DEPENDS= libzmq4>0:net/libzmq4 GH_ACCOUNT= bitcoin CONFIGURE_ARGS?= --without-libs \ --with-gui=qt5 \ --without-daemon \ --without-utils CONFIGURE_ENV= OBJCXX="${CXX}" OBJCXXFLAGS="${CXXFLAGS}" MAKE_ENV+= V=1 PLIST_FILES?= bin/bitcoin-qt man/man1/bitcoin-qt.1.gz \ share/applications/bitcoin-qt.desktop share/pixmaps/bitcoin128.png .include .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no" post-install: ${INSTALL} ${FILESDIR}/bitcoin-qt.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL} ${DISTDIR}/${DIST_SUBDIR}/bitcoin128.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .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/bitflu/Makefile b/net-p2p/bitflu/Makefile index a806a1d2068b..290e916813c3 100644 --- a/net-p2p/bitflu/Makefile +++ b/net-p2p/bitflu/Makefile @@ -1,51 +1,49 @@ -# Created by: Andrew Pantyukhin - PORTNAME= bitflu PORTVERSION= 1.52 CATEGORIES= net-p2p MASTER_SITES= http://bitflu.workaround.ch/bitflu/ MAINTAINER= ports@FreeBSD.org COMMENT= BitTorrent client written in Perl LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/Documentation/artistic-2_0.txt RUN_DEPENDS= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \ p5-Danga-Socket>=0:devel/p5-Danga-Socket USES= cpe perl5 shebangfix tar:tgz NO_BUILD= yes NO_ARCH= yes SHEBANG_FILES= bitflu.pl SUB_FILES= pkg-message PORTDOCS= ChangeLog.txt README.txt README_IPv6.txt OPTIONS_DEFINE= DOCS EXAMPLES IPV6 IPV6_RUN_DEPENDS= p5-IO-Socket-INET6>=0:net/p5-IO-Socket-INET6 post-patch: @${REINPLACE_CMD} -e 's|'\''.bitflu.config'\''|"$$ENV{HOME}/.bitflu.config"|; \ s|\./plugins|${DATADIR}/plugins|; \ s|\./workdir|$$ENV{HOME}/.bitflu.workdir|' \ ${WRKSRC}/bitflu.pl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/Bitflu ${INSTALL_DATA} ${WRKSRC}/plugins/Bitflu/*.pm ${STAGEDIR}${DATADIR}/plugins/Bitflu do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.config.example \ ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}.config do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/net-p2p/btcheck/Makefile b/net-p2p/btcheck/Makefile index e3f024ef8395..62d512092b0e 100644 --- a/net-p2p/btcheck/Makefile +++ b/net-p2p/btcheck/Makefile @@ -1,65 +1,63 @@ -# Created by: Alexey Dokuchaev - PORTNAME= btcheck PORTVERSION= 2.1 PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= BitTorrent data checker and torrent file content viewer LICENSE= GPLv3 GNU_CONFIGURE= yes CONFLICTS_INSTALL= libbt # bin/btcheck PLIST_FILES= bin/btcheck man/man1/btcheck.1.gz PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS OPTIONS_RADIO= SHA1 SHA1_DESC= Optimized SHA-1 calculation OPTIONS_RADIO_SHA1= BEECRYPT GCRYPT GNUTLS MBEDTLS NETTLE OPENSSL TOMCRYPT OPTIONS_DEFAULT= OPENSSL BEECRYPT_DESC= Use SHA-1 implementation from BeeCrypt BEECRYPT_LIB_DEPENDS= libbeecrypt.so:security/beecrypt BEECRYPT_USES= localbase BEECRYPT_CONFIGURE_ON= --with-beecrypt GCRYPT_DESC= Use SHA-1 implementation from GNU crypt GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_USES= localbase GCRYPT_CONFIGURE_ON= --with-gcrypt GNUTLS_DESC= Use SHA-1 implementation from GnuTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_USES= localbase GNUTLS_CONFIGURE_ON= --with-gnutls MBEDTLS_DESC= Use SHA-1 implementation from mbedTLS/PolarSSL MBEDTLS_LIB_DEPENDS= libmbedcrypto.so:security/mbedtls MBEDTLS_USES= localbase MBEDTLS_CONFIGURE_ON= --with-polarssl NETTLE_DESC= Use SHA-1 implementation from Nettle NETTLE_LIB_DEPENDS= libnettle.so:security/nettle NETTLE_USES= localbase NETTLE_CONFIGURE_ON= --with-nettle OPENSSL_DESC= Use SHA-1 implementation from OpenSSL OPENSSL_USES= ssl OPENSSL_CONFIGURE_ON= --with-openssl TOMCRYPT_DESC= Use SHA-1 implementation from LibTomCrypt TOMCRYPT_LIB_DEPENDS= libtomcrypt.so:security/libtomcrypt TOMCRYPT_USES= localbase TOMCRYPT_CONFIGURE_ON= --with-tomcrypt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/net-p2p/c-lightning/Makefile b/net-p2p/c-lightning/Makefile index 97d15156b634..e84588ed319f 100644 --- a/net-p2p/c-lightning/Makefile +++ b/net-p2p/c-lightning/Makefile @@ -1,77 +1,75 @@ -# Created by: Vasil Dimov - PORTNAME= c-lightning # To build from an arbitrary git commit comment PORTVERSION and PORTREVISION (if present) PORTVERSION= 0.11.2 DISTVERSIONPREFIX= v # and uncomment the following two lines (use for example -git-HEAD or -git-f8d8348c) #PORTVERSION= 0 #PKGNAMESUFFIX= -git-f8d8348c CATEGORIES= net-p2p finance MAINTAINER= vd@FreeBSD.org COMMENT= Lightning Network implementation in C LICENSE= MIT BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}mako>=1.0.14:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mrkd>=0.2.0_1:devel/py-mrkd@${PY_FLAVOR} LIB_DEPENDS= libgmp.so:math/gmp \ libsodium.so:security/libsodium \ libsqlite3.so:databases/sqlite3 RUN_DEPENDS= bitcoin-cli:net-p2p/bitcoin-utils USES= autoreconf:build compiler:c11 cpe gettext gmake libtool \ python:3.5+,build CPE_VENDOR= elementsproject BINARY_ALIAS= python=${PYTHON_CMD} python3=${PYTHON_CMD} ALL_TARGET= default OPTIONS_DEFINE= COMPATIBILITY DEVELOPER EXPERIMENTAL OPTIONS_RADIO= TESTING OPTIONS_RADIO_TESTING= ASAN VALGRIND COMPATIBILITY_CONFIGURE_ENABLE= compat COMPATIBILITY_DESC= Compatibility mode, good to disable to see if your software breaks DEVELOPER_CONFIGURE_ENABLE= developer DEVELOPER_DESC= Developer mode, good for testing EXPERIMENTAL_CONFIGURE_ENABLE= experimental-features EXPERIMENTAL_DESC= Enable experimental features ASAN_CONFIGURE_ENABLE= address-sanitizer ASAN_DESC= Compile with address-sanitizer VALGRIND_CONFIGURE_ENABLE= valgrind VALGRIND_DESC= Run tests with Valgrind OPTIONS_DEFAULT=COMPATIBILITY HAS_CONFIGURE= yes USE_GITHUB= yes .if defined(PKGNAMESUFFIX) GIT_COMMIT= ${PKGNAMESUFFIX:C/-git-//} .else GIT_COMMIT= ${DISTVERSIONPREFIX}${PORTVERSION} .endif GH_TUPLE= ElementsProject:lightning:${GIT_COMMIT} \ ElementsProject:libwally-core:f7c0824e56a06:ext1/external/libwally-core \ ElementsProject:secp256k1-zkp:6c0aecf72b1f4:ext2/external/libwally-core/src/secp256k1 \ ianlancetaylor:libbacktrace:2446c66076480ce:ext3/external/libbacktrace \ zserge:jsmn:18e9fe42cbfe21d65076f5c77ae2be3:ext4/external/jsmn \ valyala:gheap:67fc83bc953324f4759e52951921d:ext5/external/gheap USERS= c-lightning GROUPS= c-lightning USE_RC_SUBR= lightningd SUB_FILES= lightningd-bitcoin.conf.sample pkg-message SUB_LIST= U="${USERS}" G="${GROUPS}" LIGHTNINGD_BASE_DIR="${DESTDIR}/var/db/c-lightning" PLIST_SUB= U="${USERS}" G="${GROUPS}" post-install: ${INSTALL_DATA} \ ${WRKDIR}/lightningd-bitcoin.conf.sample \ ${STAGEDIR}${PREFIX}/etc/lightningd-bitcoin.conf.sample .include diff --git a/net-p2p/cpuminer/Makefile b/net-p2p/cpuminer/Makefile index 1bee25276597..dd8f398a82f6 100644 --- a/net-p2p/cpuminer/Makefile +++ b/net-p2p/cpuminer/Makefile @@ -1,40 +1,38 @@ -# Created by: Martin Matuska - PORTNAME= cpuminer PORTVERSION= 2.5.0 PORTREVISION= 5 CATEGORIES= net-p2p math MASTER_SITES= SF/cpuminer DISTNAME= pooler-${PORTNAME}-${PORTVERSION} MAINTAINER= mm@FreeBSD.org COMMENT= CPU miner for Litecoin and Bitcoin LICENSE= GPLv2 LIB_DEPENDS= libcurl.so:ftp/curl \ libjansson.so:devel/jansson OPTIONS_DEFINE= GCC DOCS OPTIONS_DEFAULT=GCC USES= autoreconf cpe GNU_CONFIGURE= yes CPE_VENDOR= cpuminer_project WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/minerd man/man1/minerd.1.gz PORTDOCS= NEWS README .include .if ${PORT_OPTIONS:MGCC} # gcc yields higher hashrates on newer CPUs USE_GCC?= yes .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/net-p2p/createtorrent/Makefile b/net-p2p/createtorrent/Makefile index 0a78c9d1b784..b1cf1a5a8ae6 100644 --- a/net-p2p/createtorrent/Makefile +++ b/net-p2p/createtorrent/Makefile @@ -1,26 +1,24 @@ -# Created by: Emanuel Haupt - PORTNAME= createtorrent PORTVERSION= 1.1.4 CATEGORIES= net-p2p MASTER_SITES= LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Create BitTorrent files from the command line LICENSE= GPLv2 USES= ssl GNU_CONFIGURE= yes CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} PLIST_FILES= bin/createtorrent post-patch: @${REINPLACE_CMD} 's/-lssl/-lcrypto/' ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/net-p2p/ctcs/Makefile b/net-p2p/ctcs/Makefile index b0973b9c6dd3..a59541f62240 100644 --- a/net-p2p/ctcs/Makefile +++ b/net-p2p/ctcs/Makefile @@ -1,30 +1,28 @@ -# Created by: Dereckson - PORTNAME= ctcs PORTVERSION= 1.4.1 PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/dtorrent/${PORTNAME}/${PORTVERSION} MAINTAINER= dereckson@gmail.com COMMENT= CTorrent monitoring and managing interface USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= ctcs NO_ARCH= yes NO_BUILD= yes PORTDOCS= readme.txt PLIST_FILES= bin/ctcs OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ctcs ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/net-p2p/ctorrent/Makefile b/net-p2p/ctorrent/Makefile index 985d1309c8e5..544c4b493393 100644 --- a/net-p2p/ctorrent/Makefile +++ b/net-p2p/ctorrent/Makefile @@ -1,32 +1,30 @@ -# Created by: Florent Thoumie - PORTNAME= ctorrent PORTVERSION= 3.3.2 PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= SF/dtorrent/dtorrent/${PORTVERSION} \ http://www.rahul.net/dholmes/ctorrent/ DISTNAME= ${PORTNAME}-dnh${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= BitTorrent Client written in C for FreeBSD and Linux LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= ssl GNU_CONFIGURE= yes PLIST_FILES= bin/ctorrent PORTDOCS= README-DNH.TXT UserGuide OPTIONS_DEFINE= DOCS post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile index fdd9a5eeeefb..08c6bd5e4223 100644 --- a/net-p2p/dclib/Makefile +++ b/net-p2p/dclib/Makefile @@ -1,30 +1,28 @@ -# Created by: Sverrir Valgeirsson and - PORTNAME= dclib PORTVERSION= 0.3.23 PORTREVISION= 7 CATEGORIES= net-p2p MASTER_SITES= SF/wxdcgui/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Direct connect interface library for valknut LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${DISTNAME} USES= gnome jpeg libtool localbase pathfix ssl tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= libxml2 INSTALL_TARGET= install-strip USE_LDCONFIG= yes post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|dclib-0.3/||g' @${REINPLACE_CMD} -e 's|-0.3||g' ${WRKSRC}/dclib.pc.in @${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=500||g; \ s|-D_BSD_SOURCE||g' ${WRKSRC}/configure .include diff --git a/net-p2p/edonkey-tool-hash/Makefile b/net-p2p/edonkey-tool-hash/Makefile index c6135cdafd67..9c3c9a272de8 100644 --- a/net-p2p/edonkey-tool-hash/Makefile +++ b/net-p2p/edonkey-tool-hash/Makefile @@ -1,32 +1,30 @@ -# Created by: Mario Sergio Fujikawa Ferreira - PORTNAME= edonkey PORTVERSION= 0.4.0 CATEGORIES= net-p2p MASTER_SITES= SF/ed2k-tools/ed2k_hash/${PORTVERSION} PKGNAMESUFFIX= -tool-hash DISTNAME= ed2k_hash-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Both calculates 'eDonkey/Overnet hashes' producing ed2k:// file links LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING PLIST_FILES= bin/edonkey-tool-hash GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/ed2k_hash-${PORTVERSION} post-patch: # respect CFLAGS @${REINPLACE_CMD} -E -e \ 's|-O2||' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} do-install: # uphold POLA, do not change binary name @${INSTALL_PROGRAM} ${WRKSRC}/ed2k_hash/ed2k_hash \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} .include diff --git a/net-p2p/eiskaltdcpp-cli/Makefile b/net-p2p/eiskaltdcpp-cli/Makefile index 033b89b9c145..4e9d4f47bdfe 100644 --- a/net-p2p/eiskaltdcpp-cli/Makefile +++ b/net-p2p/eiskaltdcpp-cli/Makefile @@ -1,40 +1,38 @@ -# Created by: Maxim Ignatenko - PORTNAME= eiskaltdcpp PORTREVISION= 20 CATEGORIES= net-p2p PKGNAMESUFFIX= -cli MAINTAINER= ports@FreeBSD.org COMMENT= EiskaltDC++ client command-line interface LICENSE= GPLv3 RUN_DEPENDS= p5-RPC-XML>=0:net/p5-RPC-XML \ p5-JSON-RPC>=0:devel/p5-JSON-RPC \ p5-Term-ShellUI>=0:shells/p5-Term-ShellUI MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib NO_BUILD= yes NO_ARCH= yes USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= eiskaltdcpp-cli/*.pl do-install: @${INSTALL_SCRIPT} "${WRKSRC}/eiskaltdcpp-cli/cli-jsonrpc.pl" \ "${STAGEDIR}${PREFIX}/bin/eiskaltdcpp-cli-jsonrpc" @${INSTALL_SCRIPT} "${WRKSRC}/eiskaltdcpp-cli/cli-xmlrpc.pl" \ "${STAGEDIR}${PREFIX}/bin/eiskaltdcpp-cli-xmlrpc" @${INSTALL_MAN} "${WRKSRC}/eiskaltdcpp-cli/eiskaltdcpp-cli-jsonrpc.1" \ "${STAGEDIR}${PREFIX}/man/man1/" @${INSTALL_MAN} "${WRKSRC}/eiskaltdcpp-cli/eiskaltdcpp-cli-xmlrpc.1" \ "${STAGEDIR}${PREFIX}/man/man1/" @${MKDIR} "${STAGEDIR}${PREFIX}/etc/eiskaltdcpp" || true @${INSTALL_DATA} "${WRKSRC}/eiskaltdcpp-cli/cli-jsonrpc-config.pl" \ "${STAGEDIR}${PREFIX}/etc/eiskaltdcpp/cli-jsonrpc-config.pl.sample" @${INSTALL_DATA} "${WRKSRC}/eiskaltdcpp-cli/cli-xmlrpc-config.pl" \ "${STAGEDIR}${PREFIX}/etc/eiskaltdcpp/cli-xmlrpc-config.pl.sample" .include "${MASTERDIR}/Makefile" diff --git a/net-p2p/eiskaltdcpp-daemon/Makefile b/net-p2p/eiskaltdcpp-daemon/Makefile index 75e8520ed74c..304dd8a3fed6 100644 --- a/net-p2p/eiskaltdcpp-daemon/Makefile +++ b/net-p2p/eiskaltdcpp-daemon/Makefile @@ -1,46 +1,44 @@ -# Created by: Stas Timokhin - PORTNAME= eiskaltdcpp PORTREVISION= 17 CATEGORIES= net-p2p PKGNAMESUFFIX= -daemon MAINTAINER= ports@FreeBSD.org COMMENT= EiskaltDC++ client daemon LICENSE= GPLv3 LIB_DEPENDS= libeiskaltdcpp.so:net-p2p/eiskaltdcpp-lib MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib USES= cmake:insource gettext compiler:c++11-lib ssl OPTIONS_SINGLE= UI OPTIONS_SINGLE_UI= NOUI XMLRPC JSONRPC OPTIONS_DEFAULT= JSONRPC UI_DESC= Daemon user interface NOUI_DESC= Daemon without any UI XMLRPC_DESC= XMLRPC interface support (deprecated) JSONRPC_DESC= JSONRPC interface support PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX} \ man/man1/${PORTNAME}${PKGNAMESUFFIX}.1.gz CMAKE_ARGS+= -DUSE_QT:BOOL=OFF CMAKE_ARGS+= -DUSE_GTK:BOOL=OFF CMAKE_ARGS+= -DCREATE_MO:BOOL=OFF BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} XMLRPC_BROKEN= xmlrpcserver.h:624:38: error: no member named 'getMethodList' in 'ServerThread' XMLRPC_LIB_DEPENDS= libxmlrpc++.so:net/xmlrpc-c XMLRPC_CMAKE_ON= -DXMLRPC_DAEMON:BOOL=ON -DJSONRPC_DAEMON:BOOL=OFF -DNO_UI_DAEMON:BOOL=OFF JSONRPC_LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp JSONRPC_CMAKE_ON= -DXMLRPC_DAEMON:BOOL=OFF -DJSONRPC_DAEMON:BOOL=ON -DNO_UI_DAEMON:BOOL=OFF -DLOCAL_JSONCPP:BOOL=OFF NOUI_CMAKE_ON= -DXMLRPC_DAEMON:BOOL=OFF -DJSONRPC_DAEMON:BOOL=OFF -DNO_UI_DAEMON:BOOL=ON .include "${MASTERDIR}/Makefile" diff --git a/net-p2p/eiskaltdcpp-data/Makefile b/net-p2p/eiskaltdcpp-data/Makefile index 590ef76ac4b5..3407b903cbfe 100644 --- a/net-p2p/eiskaltdcpp-data/Makefile +++ b/net-p2p/eiskaltdcpp-data/Makefile @@ -1,46 +1,44 @@ -# Created by: Stas Timokhin - PORTNAME= eiskaltdcpp CATEGORIES= net-p2p PKGNAMESUFFIX= -data PORTREVISION= 20 MAINTAINER= ports@FreeBSD.org COMMENT= Shared data for EiskaltDC++ client GUIs LICENSE= GPLv3 MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib USES= cmake gnome shebangfix SHEBANG_FILES= data/examples/commands.ru_RU.UTF-8.php \ data/examples/deadbeef.ru_RU.UTF-8.sh \ data/examples/mod.amarok.sh \ data/examples/mpris_now_playing.en_US.sh \ data/examples/xmms2_audacious2.ru_RU.UTF-8.php \ data/update_geoip php_OLD_CMD= /usr/bin/php5 NO_ARCH= yes NO_BUILD= yes CMAKE_SOURCE_PATH= ${WRKSRC}/data OPTIONS_DEFINE= EMOTICONS EXAMPLES LUASCRIPTS SOUNDS OPTIONS_DEFAULT= EMOTICONS SOUNDS OPTIONS_SUB= yes EMOTICONS_DESC= Install emoticons EXAMPLES_DESC= Install script examples LUASCRIPTS_DESC= Install lua script examples SOUNDS_DESC= Install sound files CMAKE_ARGS= -Wno-dev \ -DUSE_GTK:BOOL=ON \ -DCLIENT_DATA_DIR=${DATADIR} \ -DSHARE_DIR=${LOCALBASE}/share EMOTICONS_CMAKE_BOOL= WITH_EMOTICONS EXAMPLES_CMAKE_BOOL= WITH_EXAMPLES LUASCRIPTS_CMAKE_BOOL= WITH_LUASCRIPTS LUA_SCRIPT SOUNDS_CMAKE_BOOL= WITH_SOUNDS .include "${MASTERDIR}/Makefile" diff --git a/net-p2p/eiskaltdcpp-gtk/Makefile b/net-p2p/eiskaltdcpp-gtk/Makefile index c3f921b1c922..5e9b660f018c 100644 --- a/net-p2p/eiskaltdcpp-gtk/Makefile +++ b/net-p2p/eiskaltdcpp-gtk/Makefile @@ -1,54 +1,52 @@ -# Created by: Stas Timokhin - PORTNAME= eiskaltdcpp PORTREVISION= 20 CATEGORIES= net-p2p PKGNAMESUFFIX= -gtk MAINTAINER= ports@FreeBSD.org COMMENT= EiskaltDC++ client GTK graphic interface LICENSE= GPLv3 RUN_DEPENDS= eiskaltdcpp-data>=0:net-p2p/eiskaltdcpp-data LIB_DEPENDS= libeiskaltdcpp.so:net-p2p/eiskaltdcpp-lib MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib USES= cmake compiler:c++11-lib desktop-file-utils gettext gnome ssl USE_GNOME= pango glib20 OPTIONS_DEFINE= LIBNOTIFY FREE_SPACE OPTIONS_DEFAULT= LIBNOTIFY FREE_SPACE GTK2 NOSOUND OPTIONS_SINGLE= GTK SOUND OPTIONS_SINGLE_GTK= GTK2 GTK3 OPTIONS_SINGLE_SOUND= NOSOUND LIBCANBERRA NOSOUND_DESC= Disable sound notification support LIBCANBERRA_DESC= Sound notification support via libcanberra LIBNOTIFY_DESC= Popup notification support FREE_SPACE_DESC=Free space bar in status panel GTK_DESC= GTK GUI toolkit version CMAKE_ARGS+= -DUSE_QT:BOOL=OFF CMAKE_ARGS+= -DCREATE_MO:BOOL=ON CMAKE_ARGS+= -DINSTALL_DATA:BOOL=OFF NOSOUND_CMAKE_ON= -DUSE_LIBGNOME2:BOOL=OFF -DUSE_LIBCANBERRA:BOOL=OFF LIBCANBERRA_LIB_DEPENDS=libcanberra-gtk.so:audio/libcanberra LIBCANBERRA_CMAKE_ON= -DUSE_LIBGNOME2:BOOL=OFF -DUSE_LIBCANBERRA:BOOL=ON LIBNOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify LIBNOTIFY_CMAKE_BOOL= USE_LIBNOTIFY GTK2_USE= gnome=gtk20 GTK2_CMAKE_BOOL= USE_GTK GTK2_CMAKE_BOOL_OFF= USE_GTK3 GTK3_USE= gnome=gtk30 GTK3_CMAKE_BOOL= USE_GTK3 GTK3_CMAKE_BOOL_OFF= USE_GTK FREE_SPACE_CMAKE_BOOL= FREE_SPACE_BAR_C .include "${MASTERDIR}/Makefile" diff --git a/net-p2p/eiskaltdcpp-lib/Makefile b/net-p2p/eiskaltdcpp-lib/Makefile index 297512f86d94..4e3993f86586 100644 --- a/net-p2p/eiskaltdcpp-lib/Makefile +++ b/net-p2p/eiskaltdcpp-lib/Makefile @@ -1,78 +1,76 @@ -# Created by: Stas Timokhin - PORTNAME= eiskaltdcpp PORTVERSION= 2.2.10 DISTVERSIONPREFIX= v PORTREVISION?= 21 CATEGORIES= net-p2p PKGNAMESUFFIX?= -lib MAINTAINER?= ports@FreeBSD.org COMMENT?= EiskaltDC++ shared library and header files LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE GENTOO_PATCHES_PREFIX= ${FILESDIR}/gentoo/${PORTNAME}-${PORTVERSION} EXTRA_PATCHES= ${GENTOO_PATCHES_PREFIX}-ipv6_upnp.patch:-p1 \ ${GENTOO_PATCHES_PREFIX}-miniupnpc1.patch:-p1 \ ${GENTOO_PATCHES_PREFIX}-miniupnpc2.patch:-p1 \ ${GENTOO_PATCHES_PREFIX}-openssl-1.1.patch:-p1 \ ${GENTOO_PATCHES_PREFIX}-tray-close.patch:-p1 USE_GITHUB= yes .if !defined (MASTERDIR) LIB_DEPENDS= libboost_system.so:devel/boost-libs USES= cmake gettext compiler:c++11-lib ssl USE_LDCONFIG= yes OPTIONS_DEFINE= LUA PCRE IDN DHT MINIUPNP OPTIONS_DEFAULT= IDN DHT DHT_DESC= DHT support MINIUPNP_DESC= UPnP support CMAKE_ARGS+= -DBUILD_LIB:BOOL=ON CMAKE_ARGS+= -DWITH_DEV_FILES:BOOL=ON CMAKE_ARGS+= -DUSE_QT:BOOL=OFF CMAKE_ARGS+= -DUSE_GTK:BOOL=OFF CMAKE_ARGS+= -DUSE_GTK3:BOOL=OFF CMAKE_ARGS+= -DUSE_ASPELL:BOOL=OFF LUA_USES= lua:51 LUA_CMAKE_ON= -DLUA_SCRIPT:BOOL=ON LUA_CMAKE_OFF= -DLUA_SCRIPT:BOOL=OFF PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_CMAKE_ON= -DPERL_REGEX:BOOL=ON PCRE_CMAKE_OFF= -DPERL_REGEX:BOOL=OFF IDN_LIB_DEPENDS= libidn.so:dns/libidn IDN_CMAKE_ON= -DUSE_IDNA:BOOL=ON IDN_CMAKE_OFF= -DUSE_IDNA:BOOL=OFF DHT_CMAKE_ON= -DWITH_DHT:BOOL=ON DHT_CMAKE_OFF= -DWITH_DHT:BOOL=OFF #MINIUPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc MINIUPNP_CMAKE_ON= -DUSE_MINIUPNP:BOOL=ON -DLOCAL_MINIUPNP:BOOL=ON MINIUPNP_CMAKE_OFF= -DUSE_MINIUPNP:BOOL=OFF .endif USES+= tar:xz PLIST= ${.CURDIR}/pkg-plist .if defined (MASTERDIR) && !defined (NO_BUILD) CMAKE_ARGS+= -DBUILD_LIB:BOOL=OFF CMAKE_ARGS+= -DEISKALTDCPP_INCLUDE_DIR:STRING="${LOCALBASE}/include/eiskaltdcpp" CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" # these slave ports options have to be in sync with master library CMAKE_ARGS+= -DUSE_IDNA:BOOL=`${PKG_QUERY} '%Ok %Ov' ${PORTNAME}-lib | ${GREP} '^IDN ' | ${CUT} -f 2 -d ' '` CMAKE_ARGS+= -DWITH_DHT:BOOL=`${PKG_QUERY} '%Ok %Ov' ${PORTNAME}-lib | ${GREP} '^DHT ' | ${CUT} -f 2 -d ' '` CMAKE_ARGS+= -DLUA_SCRIPT:BOOL=`${PKG_QUERY} '%Ok %Ov' ${PORTNAME}-lib | ${GREP} '^LUA ' | ${CUT} -f 2 -d ' '` CMAKE_ARGS+= -DUSE_MINIUPNP:BOOL=`${PKG_QUERY} '%Ok %Ov' ${PORTNAME}-lib | ${GREP} '^MINIUPNP ' | ${CUT} -f 2 -d ' '` CMAKE_ARGS+= -DLOCAL_MINIUPNP:BOOL=`${PKG_QUERY} '%Ok %Ov' ${PORTNAME}-lib | ${GREP} '^MINIUPNP ' | ${CUT} -f 2 -d ' '` .endif .include diff --git a/net-p2p/frost/Makefile b/net-p2p/frost/Makefile index 63d41755274f..179425265baf 100644 --- a/net-p2p/frost/Makefile +++ b/net-p2p/frost/Makefile @@ -1,86 +1,84 @@ -# Created by: Mario Sergio Fujikawa Ferreira - PORTNAME= frost PORTVERSION= 1.2.0.20090314 PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= net-p2p java MASTER_SITES= SF/jtc${PORTNAME}/${PORTNAME}/14-Mar-2009 DISTNAME= ${PORTNAME}-14-Mar-2009 MAINTAINER= peter.thoenen@yahoo.com COMMENT= Freenet client that provides messenger and file services USES= zip USE_JAVA= yes JAVA_RUN= yes NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_SUB= JAR_DIR=${JAR_DIR} DATADIR= ${JAVASHAREDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS JAVAVM= ${LOCALBASE}/bin/java JAR_DIR= ${JAVAJARDIR:S,^${PREFIX}/,,}/${PORTNAME} JAR_FILE= frost.jar JAR_FILES= frost.jar lib/fecImpl.jar \ lib/BCastle.jar lib/datechooser.jar \ lib/fec-native.jar \ lib/genChkImpl.jar lib/gnu-regexp-1.1.4.jar \ lib/xercesImpl.jar \ lib/joda-time.jar \ lib/perst15.jar \ lib/xml-apis.jar DOC_FILES= doc/Frost.tex doc/authors.txt doc/gpl.txt \ doc/SkinLFLicense.txt PORTDOCS= ${DOC_FILES:C,^.*/,,} DATA_FILES= config/boards.xml.default07 \ jtc.ico \ PLIST_FILES= bin/${PORTNAME} .for jar in ${JAR_FILES:C,^.*/,,} PLIST_FILES+= %%JAR_DIR%%/${jar} .endfor .for file in ${DATA_FILES:C,^.*/,,} PLIST_FILES+= %%DATADIR%%/${file} .endfor DESKTOP_ENTRIES= "Frost" "Freenet Client" \ "${JAVASHAREDIR}/${PORTNAME}/jtc.ico" \ "frost" "P2P;Network;Java;" \ false post-patch: @${SED} -e "s|%%PREFIX%%|${PREFIX}|; \ s|%%JAVAVM%%|${JAVAVM}|; \ s|%%JAR_DIR%%|${JAR_DIR}|; \ s|%%JAR_FILE%%|${JAR_FILE}|; \ s|%%DATADIR%%|${DATADIR:S,^${PREFIX}/,,}|" \ ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh do-install: # docs @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor # jars @${MKDIR} ${STAGEDIR}${PREFIX}/${JAR_DIR} .for jar in ${JAR_FILES} @${INSTALL_DATA} ${WRKSRC}/${jar} ${STAGEDIR}${PREFIX}/${JAR_DIR} .endfor # default boards @${MKDIR} ${STAGEDIR}${DATADIR} .for file in ${DATA_FILES} @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DATADIR} .endfor # wrapper @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME:tl} .include diff --git a/net-p2p/go-prysm/Makefile b/net-p2p/go-prysm/Makefile index 46d72511b99a..8d78b2374716 100644 --- a/net-p2p/go-prysm/Makefile +++ b/net-p2p/go-prysm/Makefile @@ -1,278 +1,276 @@ -# Created by: Ryan Steinmetz - PORTNAME= go-prysm DISTVERSIONPREFIX= v DISTVERSION= 1.3.7 PORTREVISION= 3 CATEGORIES= net-p2p MAINTAINER= zi@FreeBSD.org COMMENT= Go implementation of the Ethereum 2.0 LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md ONLY_FOR_ARCHS= aarch64 amd64 BUILD_DEPENDS= nasm>0:devel/nasm USES= gmake go:modules GO_BUILDFLAGS= -tags blst_enabled GO_TARGET= ./cmd/beacon-chain ./cmd/slasher ./cmd/validator USE_GITHUB= yes GH_ACCOUNT= prysmaticlabs GH_PROJECT= prysm GH_TUPLE= \ herumi:bls:ffbd615dcd:herumi_bls/vendor/github.com/herumi/bls \ herumi:mcl:f4afd32e2f:herumi_mcl/vendor/github.com/herumi/mcl \ BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \ StackExchange:wmi:5d049714c4a6:stackexchange_wmi/vendor/github.com/StackExchange/wmi \ VictoriaMetrics:fastcache:v1.5.7:victoriametrics_fastcache/vendor/github.com/VictoriaMetrics/fastcache \ allegro:bigcache:v1.2.1:allegro_bigcache/vendor/github.com/allegro/bigcache \ aristanetworks:goarista:6c3304613b30:aristanetworks_goarista/vendor/github.com/aristanetworks/goarista \ bazelbuild:buildtools:f4e8394f069d:bazelbuild_buildtools/vendor/github.com/bazelbuild/buildtools \ bazelbuild:rules_go:v0.23.2:bazelbuild_rules_go/vendor/github.com/bazelbuild/rules_go \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ btcsuite:btcd:v0.21.0-beta:btcsuite_btcd/vendor/github.com/btcsuite/btcd \ census-ecosystem:opencensus-go-exporter-jaeger:v0.2.1:census_ecosystem_opencensus_go_exporter_jaeger/vendor/contrib.go.opencensus.io/exporter/jaeger \ census-instrumentation:opencensus-go:v0.22.5:census_instrumentation_opencensus_go/vendor/go.opencensus.io \ cespare:cp:v1.1.1:cespare_cp/vendor/github.com/cespare/cp \ cespare:xxhash:v1.1.0:cespare_xxhash/vendor/github.com/cespare/xxhash \ cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/readline \ confluentinc:confluent-kafka-go:v1.4.2:confluentinc_confluent_kafka_go/vendor/github.com/confluentinc/confluent-kafka-go \ confluentinc:confluent-kafka-go:v1.4.2:confluentinc_confluent_kafka_go_1/vendor/gopkg.in/confluentinc/confluent-kafka-go.v1 \ coreos:go-systemd:d3cd4ed1dbcf:coreos_go_systemd/vendor/github.com/coreos/go-systemd \ cpuguy83:go-md2man:f79a8a8ca69d:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ d4l3k:messagediff:v1.2.1:d4l3k_messagediff/vendor/github.com/d4l3k/messagediff \ d4l3k:messagediff:v1.2.1:d4l3k_messagediff_1/vendor/gopkg.in/d4l3k/messagediff.v1 \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ davidlazar:go-crypto:b73af7476f6c:davidlazar_go_crypto/vendor/github.com/davidlazar/go-crypto \ deckarep:golang-set:v1.7.1:deckarep_golang_set/vendor/github.com/deckarep/golang-set \ dgraph-io:ristretto:74754f61e018:dgraph_io_ristretto/vendor/github.com/dgraph-io/ristretto \ dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \ dlclark:regexp2:v1.2.0:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \ dop251:goja:a695b0cdd498:dop251_goja/vendor/github.com/dop251/goja \ dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ edsrzf:mmap-go:v1.0.0:edsrzf_mmap_go/vendor/github.com/edsrzf/mmap-go \ emicklei:dot:v0.11.0:emicklei_dot/vendor/github.com/emicklei/dot \ etcd-io:bbolt:v1.3.5:etcd_io_bbolt/vendor/go.etcd.io/bbolt \ fatih:color:v1.9.0:fatih_color/vendor/github.com/fatih/color \ ferranbt:fastssz:11b9eff30ea9:ferranbt_fastssz/vendor/github.com/ferranbt/fastssz \ fjl:memsize:bcb5799ab5e5:fjl_memsize/vendor/github.com/fjl/memsize \ flynn:noise:2492fe189ae6:flynn_noise/vendor/github.com/flynn/noise \ fsnotify:fsnotify:v1.4.9:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ gballet:go-libpcsclite:4678299bea08:gballet_go_libpcsclite/vendor/github.com/gballet/go-libpcsclite \ ghodss:yaml:v1.0.0:ghodss_yaml/vendor/github.com/ghodss/yaml \ go-errgo:errgo:v2.1.0:go_errgo_errgo/vendor/gopkg.in/errgo.v2 \ go-inf:inf:v0.9.1:go_inf_inf/vendor/gopkg.in/inf.v0 \ go-logr:logr:v0.2.1:go_logr_logr/vendor/github.com/go-logr/logr \ go-ole:go-ole:v1.2.1:go_ole_go_ole/vendor/github.com/go-ole/go-ole \ go-sourcemap:sourcemap:v2.1.2:go_sourcemap_sourcemap/vendor/github.com/go-sourcemap/sourcemap \ go-stack:stack:v1.8.0:go_stack_stack/vendor/github.com/go-stack/stack \ go-yaml:yaml:9f266ea9e77c:go_yaml_yaml_2/vendor/gopkg.in/yaml.v3 \ go-yaml:yaml:v2.1.0:go_yaml_yaml/vendor/github.com/go-yaml/yaml \ go-yaml:yaml:v2.4.0:go_yaml_yaml_1/vendor/gopkg.in/yaml.v2 \ gogo:protobuf:v1.3.2:gogo_protobuf/vendor/github.com/gogo/protobuf \ golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:eec23a3978ad:golang_crypto/vendor/golang.org/x/crypto \ golang:exp:00229845015e:golang_exp/vendor/golang.org/x/exp \ golang:gddo:8d077c1d8f4c:golang_gddo/vendor/github.com/golang/gddo \ golang:groupcache:8c9f03a8e57e:golang_groupcache/vendor/github.com/golang/groupcache \ golang:mock:v1.4.4:golang_mock/vendor/github.com/golang/mock \ golang:mod:v0.3.0:golang_mod/vendor/golang.org/x/mod \ golang:net:ac852fbbde11:golang_net/vendor/golang.org/x/net \ golang:oauth2:5d25da1a8d43:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \ golang:snappy:v0.0.3:golang_snappy/vendor/github.com/golang/snappy \ golang:sync:67f06af15bc9:golang_sync/vendor/golang.org/x/sync \ golang:sys:22da62e12c0c:golang_sys/vendor/golang.org/x/sys \ golang:term:7de9c90e9dd1:golang_term/vendor/golang.org/x/term \ golang:text:v0.3.5:golang_text/vendor/golang.org/x/text \ golang:time:3af7569d3a1e:golang_time/vendor/golang.org/x/time \ golang:tools:113979e3529a:golang_tools/vendor/golang.org/x/tools \ golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \ google:go-cmp:v0.5.2:google_go_cmp/vendor/github.com/google/go-cmp \ google:go-genproto:d4b8fe4fd877:google_go_genproto/vendor/google.golang.org/genproto \ google:gofuzz:v1.2.0:google_gofuzz/vendor/github.com/google/gofuzz \ google:gopacket:v1.1.19:google_gopacket/vendor/github.com/google/gopacket \ google:uuid:v1.2.0:google_uuid/vendor/github.com/google/uuid \ googleapis:gnostic:v0.1.0:googleapis_gnostic/vendor/github.com/googleapis/gnostic \ googleapis:google-api-go-client:v0.34.0:googleapis_google_api_go_client/vendor/google.golang.org/api \ gorilla:websocket:v1.4.2:gorilla_websocket/vendor/github.com/gorilla/websocket \ graph-gophers:graphql-go:dae41bde9ef9:graph_gophers_graphql_go/vendor/github.com/graph-gophers/graphql-go \ grpc-ecosystem:go-grpc-middleware:v1.2.2:grpc_ecosystem_go_grpc_middleware/vendor/github.com/grpc-ecosystem/go-grpc-middleware \ grpc-ecosystem:go-grpc-prometheus:v1.2.0:grpc_ecosystem_go_grpc_prometheus/vendor/github.com/grpc-ecosystem/go-grpc-prometheus \ grpc-ecosystem:grpc-gateway:v1.16.0:grpc_ecosystem_grpc_gateway/vendor/github.com/grpc-ecosystem/grpc-gateway \ grpc:grpc-go:v1.36.0:grpc_grpc_go/vendor/google.golang.org/grpc \ hashicorp:golang-lru:v0.5.4:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \ herumi:bls-eth-go-binary:57372fb27371:herumi_bls_eth_go_binary/vendor/github.com/herumi/bls-eth-go-binary \ holiman:uint256:v1.1.1:holiman_uint256/vendor/github.com/holiman/uint256 \ huin:goupnp:v1.0.0:huin_goupnp/vendor/github.com/huin/goupnp \ ianlancetaylor:cgosymbolizer:be1b05b0b279:ianlancetaylor_cgosymbolizer/vendor/github.com/ianlancetaylor/cgosymbolizer \ influxdata:influxdb:v1.8.0:influxdata_influxdb/vendor/github.com/influxdata/influxdb \ ipfs:go-cid:v0.0.7:ipfs_go_cid/vendor/github.com/ipfs/go-cid \ ipfs:go-ipfs-addr:v0.0.1:ipfs_go_ipfs_addr/vendor/github.com/ipfs/go-ipfs-addr \ ipfs:go-ipfs-util:v0.0.2:ipfs_go_ipfs_util/vendor/github.com/ipfs/go-ipfs-util \ ipfs:go-log:v1.0.4:ipfs_go_log/vendor/github.com/ipfs/go-log \ ipfs:go-log:v2.1.1:ipfs_go_log_v2/vendor/github.com/ipfs/go-log/v2 \ jackpal:go-nat-pmp:v1.0.2:jackpal_go_nat_pmp/vendor/github.com/jackpal/go-nat-pmp \ jbenet:go-temp-err-catcher:v0.1.0:jbenet_go_temp_err_catcher/vendor/github.com/jbenet/go-temp-err-catcher \ jbenet:goprocess:v0.1.4:jbenet_goprocess/vendor/github.com/jbenet/goprocess \ joonix:log:9c1d2ceb5f1d:joonix_log/vendor/github.com/joonix/log \ juju:ansiterm:720a0952cc2a:juju_ansiterm/vendor/github.com/juju/ansiterm \ k0kubun:go-ansi:3bf9e2903213:k0kubun_go_ansi/vendor/github.com/k0kubun/go-ansi \ karalabe:usb:911d15fe12a9:karalabe_usb/vendor/github.com/karalabe/usb \ kevinms:leakybucket-go:082473db97ca:kevinms_leakybucket_go/vendor/github.com/kevinms/leakybucket-go \ konsorten:go-windows-terminal-sequences:v1.0.3:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \ koron:go-ssdp:v0.0.2:koron_go_ssdp/vendor/github.com/koron/go-ssdp \ kr:pretty:v0.2.1:kr_pretty/vendor/github.com/kr/pretty \ kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \ kubernetes-sigs:structured-merge-diff:v3.0.0:kubernetes_sigs_structured_merge_diff/vendor/sigs.k8s.io/structured-merge-diff/v3 \ kubernetes-sigs:yaml:v1.2.0:kubernetes_sigs_yaml/vendor/sigs.k8s.io/yaml \ kubernetes:api:v0.18.3:kubernetes_api/vendor/k8s.io/api \ kubernetes:apimachinery:v0.18.3:kubernetes_apimachinery/vendor/k8s.io/apimachinery \ kubernetes:client-go:v0.18.3:kubernetes_client_go/vendor/k8s.io/client-go \ kubernetes:klog:v1.0.0:kubernetes_klog/vendor/k8s.io/klog \ kubernetes:klog:v2.3.0:kubernetes_klog_1/vendor/k8s.io/klog/v2 \ kubernetes:utils:278ece378a50:kubernetes_utils/vendor/k8s.io/utils \ libp2p:go-addr-util:v0.0.2:libp2p_go_addr_util/vendor/github.com/libp2p/go-addr-util \ libp2p:go-buffer-pool:v0.0.2:libp2p_go_buffer_pool/vendor/github.com/libp2p/go-buffer-pool \ libp2p:go-conn-security-multistream:v0.2.0:libp2p_go_conn_security_multistream/vendor/github.com/libp2p/go-conn-security-multistream \ libp2p:go-eventbus:v0.2.1:libp2p_go_eventbus/vendor/github.com/libp2p/go-eventbus \ libp2p:go-flow-metrics:v0.0.3:libp2p_go_flow_metrics/vendor/github.com/libp2p/go-flow-metrics \ libp2p:go-libp2p-autonat:v0.4.0:libp2p_go_libp2p_autonat/vendor/github.com/libp2p/go-libp2p-autonat \ libp2p:go-libp2p-blankhost:v0.2.0:libp2p_go_libp2p_blankhost/vendor/github.com/libp2p/go-libp2p-blankhost \ libp2p:go-libp2p-circuit:v0.4.0:libp2p_go_libp2p_circuit/vendor/github.com/libp2p/go-libp2p-circuit \ libp2p:go-libp2p-core:v0.7.0:libp2p_go_libp2p_core/vendor/github.com/libp2p/go-libp2p-core \ libp2p:go-libp2p-crypto:v0.1.0:libp2p_go_libp2p_crypto/vendor/github.com/libp2p/go-libp2p-crypto \ libp2p:go-libp2p-discovery:v0.5.0:libp2p_go_libp2p_discovery/vendor/github.com/libp2p/go-libp2p-discovery \ libp2p:go-libp2p-loggables:v0.1.0:libp2p_go_libp2p_loggables/vendor/github.com/libp2p/go-libp2p-loggables \ libp2p:go-libp2p-mplex:v0.3.0:libp2p_go_libp2p_mplex/vendor/github.com/libp2p/go-libp2p-mplex \ libp2p:go-libp2p-nat:v0.0.6:libp2p_go_libp2p_nat/vendor/github.com/libp2p/go-libp2p-nat \ libp2p:go-libp2p-noise:v0.1.2:libp2p_go_libp2p_noise/vendor/github.com/libp2p/go-libp2p-noise \ libp2p:go-libp2p-peer:v0.2.0:libp2p_go_libp2p_peer/vendor/github.com/libp2p/go-libp2p-peer \ libp2p:go-libp2p-peerstore:v0.2.6:libp2p_go_libp2p_peerstore/vendor/github.com/libp2p/go-libp2p-peerstore \ libp2p:go-libp2p-pnet:v0.2.0:libp2p_go_libp2p_pnet/vendor/github.com/libp2p/go-libp2p-pnet \ libp2p:go-libp2p-pubsub:v0.4.0:libp2p_go_libp2p_pubsub/vendor/github.com/libp2p/go-libp2p-pubsub \ libp2p:go-libp2p-swarm:v0.3.1:libp2p_go_libp2p_swarm/vendor/github.com/libp2p/go-libp2p-swarm \ libp2p:go-libp2p-testing:v0.3.0:libp2p_go_libp2p_testing/vendor/github.com/libp2p/go-libp2p-testing \ libp2p:go-libp2p-tls:8a8ad624a291:libp2p_go_libp2p_tls/vendor/github.com/libp2p/go-libp2p-tls \ libp2p:go-libp2p-transport-upgrader:v0.3.0:libp2p_go_libp2p_transport_upgrader/vendor/github.com/libp2p/go-libp2p-transport-upgrader \ libp2p:go-libp2p-yamux:v0.4.1:libp2p_go_libp2p_yamux/vendor/github.com/libp2p/go-libp2p-yamux \ libp2p:go-libp2p:3155ff3089c0:libp2p_go_libp2p/vendor/github.com/libp2p/go-libp2p \ libp2p:go-mplex:v0.2.0:libp2p_go_mplex/vendor/github.com/libp2p/go-mplex \ libp2p:go-msgio:v0.0.6:libp2p_go_msgio/vendor/github.com/libp2p/go-msgio \ libp2p:go-nat:v0.0.5:libp2p_go_nat/vendor/github.com/libp2p/go-nat \ libp2p:go-netroute:v0.1.4:libp2p_go_netroute/vendor/github.com/libp2p/go-netroute \ libp2p:go-openssl:v0.0.7:libp2p_go_openssl/vendor/github.com/libp2p/go-openssl \ libp2p:go-reuseport-transport:v0.0.4:libp2p_go_reuseport_transport/vendor/github.com/libp2p/go-reuseport-transport \ libp2p:go-reuseport:v0.0.2:libp2p_go_reuseport/vendor/github.com/libp2p/go-reuseport \ libp2p:go-sockaddr:v0.1.0:libp2p_go_sockaddr/vendor/github.com/libp2p/go-sockaddr \ libp2p:go-stream-muxer-multistream:v0.3.0:libp2p_go_stream_muxer_multistream/vendor/github.com/libp2p/go-stream-muxer-multistream \ libp2p:go-tcp-transport:v0.2.1:libp2p_go_tcp_transport/vendor/github.com/libp2p/go-tcp-transport \ libp2p:go-ws-transport:v0.3.1:libp2p_go_ws_transport/vendor/github.com/libp2p/go-ws-transport \ libp2p:go-yamux:v1.4.1:libp2p_go_yamux/vendor/github.com/libp2p/go-yamux \ logrusorgru:aurora:v2.0.3:logrusorgru_aurora/vendor/github.com/logrusorgru/aurora \ lunixbochs:vtclean:v1.0.0:lunixbochs_vtclean/vendor/github.com/lunixbochs/vtclean \ manifoldco:promptui:v0.7.0:manifoldco_promptui/vendor/github.com/manifoldco/promptui \ mattn:go-colorable:v0.1.4:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ mgutz:ansi:9520e82c474b:mgutz_ansi/vendor/github.com/mgutz/ansi \ minio:blake2b-simd:3f5f724cb5b1:minio_blake2b_simd/vendor/github.com/minio/blake2b-simd \ minio:highwayhash:v1.0.1:minio_highwayhash/vendor/github.com/minio/highwayhash \ minio:sha256-simd:v0.1.1:minio_sha256_simd/vendor/github.com/minio/sha256-simd \ mitchellh:colorstring:d06e56a500db:mitchellh_colorstring/vendor/github.com/mitchellh/colorstring \ mitchellh:mapstructure:v1.4.1:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \ modern-go:reflect2:v1.0.1:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \ mohae:deepcopy:c48cc78d4826:mohae_deepcopy/vendor/github.com/mohae/deepcopy \ mr-tron:base58:v1.2.0:mr_tron_base58/vendor/github.com/mr-tron/base58 \ multiformats:go-base32:v0.0.3:multiformats_go_base32/vendor/github.com/multiformats/go-base32 \ multiformats:go-base36:v0.1.0:multiformats_go_base36/vendor/github.com/multiformats/go-base36 \ multiformats:go-multiaddr-dns:v0.2.0:multiformats_go_multiaddr_dns/vendor/github.com/multiformats/go-multiaddr-dns \ multiformats:go-multiaddr-fmt:v0.1.0:multiformats_go_multiaddr_fmt/vendor/github.com/multiformats/go-multiaddr-fmt \ multiformats:go-multiaddr-net:v0.2.0:multiformats_go_multiaddr_net/vendor/github.com/multiformats/go-multiaddr-net \ multiformats:go-multiaddr:v0.3.1:multiformats_go_multiaddr/vendor/github.com/multiformats/go-multiaddr \ multiformats:go-multibase:v0.0.3:multiformats_go_multibase/vendor/github.com/multiformats/go-multibase \ multiformats:go-multihash:v0.0.14:multiformats_go_multihash/vendor/github.com/multiformats/go-multihash \ multiformats:go-multistream:v0.2.0:multiformats_go_multistream/vendor/github.com/multiformats/go-multistream \ multiformats:go-varint:v0.0.6:multiformats_go_varint/vendor/github.com/multiformats/go-varint \ natefinch:npipe:c1b8fa8bdcce:natefinch_npipe/vendor/gopkg.in/natefinch/npipe.v2 \ nbutton23:zxcvbn-go:ae427f1e4c1d:nbutton23_zxcvbn_go/vendor/github.com/nbutton23/zxcvbn-go \ olebedev:go-duktape:60c24ae608a6:olebedev_go_duktape/vendor/gopkg.in/olebedev/go-duktape.v3 \ olekukonko:tablewriter:v0.0.4:olekukonko_tablewriter/vendor/github.com/olekukonko/tablewriter \ opentracing:opentracing-go:v1.2.0:opentracing_opentracing_go/vendor/github.com/opentracing/opentracing-go \ patrickmn:go-cache:v2.1.0:patrickmn_go_cache/vendor/github.com/patrickmn/go-cache \ paulbellamy:ratecounter:v0.2.0:paulbellamy_ratecounter/vendor/github.com/paulbellamy/ratecounter \ pborman:uuid:v1.2.1:pborman_uuid/vendor/github.com/pborman/uuid \ peterh:liner:v1.2.0:peterh_liner/vendor/github.com/peterh/liner \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ prestonvanloon:go-recaptcha:0834cef6e8bd:prestonvanloon_go_recaptcha/vendor/github.com/prestonvanloon/go-recaptcha \ prestonvanloon:go:4f2e55fcf87b:prestonvanloon_go/vendor/github.com/json-iterator/go \ prometheus:client_golang:v1.9.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.15.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.3.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ prometheus:tsdb:v0.10.0:prometheus_tsdb/vendor/github.com/prometheus/tsdb \ protocolbuffers:protobuf-go:v1.25.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ prysmaticlabs:bazel-go-ethereum:b9c0d847ae7b:prysmaticlabs_bazel_go_ethereum/vendor/github.com/ethereum/go-ethereum \ prysmaticlabs:eth2-types:1da477c09a06:prysmaticlabs_eth2_types/vendor/github.com/prysmaticlabs/eth2-types \ prysmaticlabs:ethereumapis:cf9f64632dd4:prysmaticlabs_ethereumapis/vendor/github.com/prysmaticlabs/ethereumapis \ prysmaticlabs:go-bitfield:7fcea7c45dc8:prysmaticlabs_go_bitfield/vendor/github.com/prysmaticlabs/go-bitfield \ prysmaticlabs:prombbolt:9b7adba6db7c:prysmaticlabs_prombbolt/vendor/github.com/prysmaticlabs/prombbolt \ rs:cors:v1.7.0:rs_cors/vendor/github.com/rs/cors \ russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ schollz:progressbar:v3.3.4:schollz_progressbar_v3/vendor/github.com/schollz/progressbar/v3 \ shirou:gopsutil:v2.20.5:shirou_gopsutil/vendor/github.com/shirou/gopsutil \ shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \ sirupsen:logrus:v1.6.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ spacemonkeygo:spacelog:2296661a0572:spacemonkeygo_spacelog/vendor/github.com/spacemonkeygo/spacelog \ spaolacci:murmur3:v1.1.0:spaolacci_murmur3/vendor/github.com/spaolacci/murmur3 \ status-im:keycard-go:957c09536969:status_im_keycard_go/vendor/github.com/status-im/keycard-go \ steakknife:bloomfilter:6819c0d2a570:steakknife_bloomfilter/vendor/github.com/steakknife/bloomfilter \ steakknife:hamming:c99c65617cd3:steakknife_hamming/vendor/github.com/steakknife/hamming \ stretchr:testify:v1.6.1:stretchr_testify/vendor/github.com/stretchr/testify \ supranational:blst:v0.3.4:supranational_blst/vendor/github.com/supranational/blst \ syndtr:goleveldb:5c35d600f0ca:syndtr_goleveldb/vendor/github.com/syndtr/goleveldb \ trailofbits:go-mutexasserts:19999e7d3cef:trailofbits_go_mutexasserts/vendor/github.com/trailofbits/go-mutexasserts \ tyler-smith:go-bip39:v1.0.2:tyler_smith_go_bip39/vendor/github.com/tyler-smith/go-bip39 \ uber-go:atomic:v1.7.0:uber_go_atomic/vendor/go.uber.org/atomic \ uber-go:automaxprocs:v1.3.0:uber_go_automaxprocs/vendor/go.uber.org/automaxprocs \ uber-go:multierr:v1.6.0:uber_go_multierr/vendor/go.uber.org/multierr \ uber-go:zap:v1.16.0:uber_go_zap/vendor/go.uber.org/zap \ uber:jaeger-client-go:v2.25.0:uber_jaeger_client_go/vendor/github.com/uber/jaeger-client-go \ urfave:cli:v1.20.0:urfave_cli/vendor/gopkg.in/urfave/cli.v1 \ urfave:cli:v2.2.0:urfave_cli_v2/vendor/github.com/urfave/cli/v2 \ wealdtech:go-bytesutil:v1.1.1:wealdtech_go_bytesutil/vendor/github.com/wealdtech/go-bytesutil \ wealdtech:go-eth2-types:v2.5.2:wealdtech_go_eth2_types_v2/vendor/github.com/wealdtech/go-eth2-types/v2 \ wealdtech:go-eth2-util:v1.6.3:wealdtech_go_eth2_util/vendor/github.com/wealdtech/go-eth2-util \ wealdtech:go-eth2-wallet-encryptor-keystorev4:v1.1.3:wealdtech_go_eth2_wallet_encryptor_keystorev4/vendor/github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4 \ wercker:journalhook:5d0a5ae867b3:wercker_journalhook/vendor/github.com/wercker/journalhook \ whyrusleeping:multiaddr-filter:e903e4adabd7:whyrusleeping_multiaddr_filter/vendor/github.com/whyrusleeping/multiaddr-filter \ whyrusleeping:timecache:cfcb2f1abfee:whyrusleeping_timecache/vendor/github.com/whyrusleeping/timecache \ wsddn:go-ecdh:48726bab9208:wsddn_go_ecdh/vendor/github.com/wsddn/go-ecdh \ x-cray:logrus-prefixed-formatter:v0.5.2:x_cray_logrus_prefixed_formatter/vendor/github.com/x-cray/logrus-prefixed-formatter PLIST_FILES= bin/beacon-chain bin/slasher bin/validator post-extract: (${MKDIR} ${WRKDIR}/prysm-${PORTVERSION}/vendor/github.com/herumi/bls-eth-go-binary/src) (${LN} -sf ${WRKDIR}/prysm-${PORTVERSION}/vendor/github.com/herumi/bls \ ${WRKDIR}/prysm-${PORTVERSION}/vendor/github.com/herumi/bls-eth-go-binary/src/) (${LN} -sf ${WRKDIR}/prysm-${PORTVERSION}/vendor/github.com/herumi/mcl \ ${WRKDIR}/prysm-${PORTVERSION}/vendor/github.com/herumi/bls-eth-go-binary/src/) post-patch: (cd ${WRKDIR}/prysm-${PORTVERSION}/shared/bls/blst && ${REINPLACE_CMD} \ -e '/build linux/d' *.go) pre-build: (cd ${WRKDIR}/prysm-${PORTVERSION}/vendor/github.com/herumi/bls-eth-go-binary && gmake) .include diff --git a/net-p2p/gtk-gnutella/Makefile b/net-p2p/gtk-gnutella/Makefile index 30d331bd6ec3..a9bd88dd93dc 100644 --- a/net-p2p/gtk-gnutella/Makefile +++ b/net-p2p/gtk-gnutella/Makefile @@ -1,79 +1,77 @@ -# Created by: Rod Taylor - PORTNAME= gtk-gnutella PORTVERSION= 1.2.2 PORTREVISION= 2 CATEGORIES= net-p2p MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= GTK based Gnutella client LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= gmake gnome iconv localbase:ldflags pkgconfig tar:xz USE_GNOME= glib20 libxml2 HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= -O -Dyacc='byacc' \ -Dprefix='${PREFIX}' \ -Dprivlib='${DATADIR}' \ -Dmansrc='${MANPREFIX}/man/man1' \ -Dlocale='${PREFIX}/share/locale' \ -Dcc='${CC}' -Doptimize='${CFLAGS}' \ -Dccflags='${CPPFLAGS}' -Dldflags='${LDFLAGS}' \ -Dusemymalloc='n' MAKE_ARGS= INSTALL_PREFIX="${STAGEDIR}" INSTALL_TARGET= install install.man PLIST_SUB= ARCH="${ARCH:C/powerpc.*/powerpc/:C/armv./arm/}" OPSYS="${OPSYS:tl}" OPTIONS_DEFINE= DBUS DEBUG GUI IPV6 NLS PORTABILITY TLS OPTIONS_DEFAULT= GUI TLS OPTIONS_SUB= yes DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_OFF= -Ud_dbus DEBUG_CONFIGURE_ON= -Ud_official GUI_USE= gnome=gtk20,cairo GUI_CONFIGURE_OFF= -Dd_headless GUI_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 IPV6_CONFIGURE_OFF= -Ud_ipv6 NLS_USES= gettext NLS_CONFIGURE_OFF= -Ud_nls PORTABILITY_DESC= Use the PATH variable at run-time PORTABILITY_CONFIGURE_ON= -Dd_portable TLS_LIB_DEPENDS= libgnutls.so:security/gnutls TLS_CONFIGURE_OFF= -Ud_gnutls .if !defined(INTERACTIVE_CONFIGURE) CONFIGURE_ARGS+= -ders .endif post-patch: @${FIND} ${WRKSRC} -name "Makefile.SH" | ${XARGS} ${REINPLACE_CMD} -e \ 's|@exit 0|@echo done|' # Use memory alignment constraints as in version 1.1.15 to unbreak the # build on 32-bit architectures @${REINPLACE_CMD} -e 's,^#ifdef XMALLOC_IS_MALLOC,#if __SIZE_WIDTH__\ == 32,' ${WRKSRC}/src/lib/xmalloc.h post-patch-DEBUG-off: @${REINPLACE_CMD} 's/(INSTALL) -c -m 555/(INSTALL) -c -s -m 555/g' \ ${WRKSRC}/src/Makefile.SH post-install-GUI-on: .for i in 16 32 128 256 512 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps (cd ${WRKSRC}/extra_files && ${INSTALL_DATA} gtk-gnutella.${i}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/gtk-gnutella.png) .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps (cd ${WRKSRC}/extra_files && ${INSTALL_DATA} gtk-gnutella.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/gtk-gnutella.svg) .include diff --git a/net-p2p/gtorrentviewer/Makefile b/net-p2p/gtorrentviewer/Makefile index b5050e71f5bb..8236efaefa12 100644 --- a/net-p2p/gtorrentviewer/Makefile +++ b/net-p2p/gtorrentviewer/Makefile @@ -1,32 +1,31 @@ -# Created by: Michael Johnson # $MCom: ports/net-p2p/gtorrentviewer/Makefile,v 1.4 2007/08/06 17:16:29 mezz Exp $ PORTNAME= gtorrentviewer PORTVERSION= 0.2b PORTREVISION= 19 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/GTorrentViewer/${PORTVERSION} DISTNAME= GTorrentViewer-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= GTK+2 viewer and editor for BitTorrent meta files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl USES= desktop-file-utils gmake gnome pkgconfig USE_GNOME= gtk20 intlhack GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pixmapsdir=${PREFIX}/share/pixmaps \ --with-desktopdir=${PREFIX}/share/applications CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lm PORTSCOUT= skipv:0.2 # older than current version post-patch: @${REINPLACE_CMD} -e '//d' ${WRKSRC}/src/main.c .include diff --git a/net-p2p/jigdo/Makefile b/net-p2p/jigdo/Makefile index a01195f18f73..52e45f3a1fdc 100644 --- a/net-p2p/jigdo/Makefile +++ b/net-p2p/jigdo/Makefile @@ -1,45 +1,43 @@ -# Created by: Attila Nagy - PORTNAME= jigdo PORTVERSION= 0.7.3 PORTREVISION= 8 CATEGORIES= net-p2p MASTER_SITES= http://atterer.org/sites/atterer/files/2009-08/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Utility used to retrieve large files over the Internet RUN_DEPENDS= ${LOCALBASE}/bin/wget:ftp/wget USES= gmake tar:bzip2 USE_CXXSTD= c++98 USE_SUBMAKE= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= GUI BDB NLS OPTIONS_DEFAULT= BDB OPTIONS_SUB= yes GUI_DESC= GTK2 Graphical User Interface BDB_DESC= Berkeley DB support (for jigdo-file cache) GUI_CONFIGURE_WITH= gui GUI_LIB_DEPENDS= libgtk-x11-2.0.so:x11-toolkits/gtk20 \ libcurl.so:ftp/curl GUI_USES= pkgconfig BDB_CONFIGURE_ON= --with-libdb=-l${BDB_LIB_CXX_NAME} BDB_CONFIGURE_OFF= --without-libdb BDB_CPPFLAGS= -I${BDB_INCLUDE_DIR} BDB_LIBS= -L${BDB_LIB_DIR} BDB_USES= bdb NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/jigdo-file .include diff --git a/net-p2p/libbt/Makefile b/net-p2p/libbt/Makefile index 779169c7f80f..b50f11fc72c3 100644 --- a/net-p2p/libbt/Makefile +++ b/net-p2p/libbt/Makefile @@ -1,44 +1,42 @@ -# Created by: Florent Thoumie - PORTNAME= libbt DISTVERSION= 1.06 CATEGORIES= net-p2p devel MASTER_SITES= SF MAINTAINER= egypcio@FreeBSD.org COMMENT= C library implementing the core BitTorrent protocol LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libcurl.so:ftp/curl \ libuuid.so:misc/e2fsprogs-libuuid USES= gmake localbase ssl GNU_CONFIGURE= yes CONFLICTS_INSTALL= btcheck # bin/btcheck DOCS= docs/protocol.txt docs/protocol-ext.txt \ CHANGELOG CREDITS README OPTIONS_DEFINE= DOCS PORTDOCS= * post-patch: @${REINPLACE_CMD} -e 's|depend||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|-lssl|-lcrypto|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ \@CPPFLAGS\@ |' ${WRKSRC}/src/Makefile.in do-install: ${INSTALL_DATA} ${WRKSRC}/src/libbt.a ${STAGEDIR}${PREFIX}/lib @${MKDIR} ${STAGEDIR}${PREFIX}/include/libbt cd ${WRKSRC}/src && ${INSTALL_PROGRAM} btcheck btget btlist ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/include && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/libbt do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/net-p2p/liberator/Makefile b/net-p2p/liberator/Makefile index 878315ec09d5..0b0672eb221c 100644 --- a/net-p2p/liberator/Makefile +++ b/net-p2p/liberator/Makefile @@ -1,57 +1,55 @@ -# Created by: Mario Sergio Fujikawa Ferreira - PORTNAME= liberator PORTVERSION= 2.0.2 PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/ofcp/ofcp-${PORTVERSION} DISTNAME= ofcp-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Command line client to FreeNet Network LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= tar:bzip2 USE_OCAML= yes USE_OCAML_CAMLP4=yes ALL_TARGET= all opt MAKE_JOBS_UNSAFE=yes DATA_FILES= liber_mimetypes DOC_FILES= COPYING FREESITE-HOWTO README TODO LIB_FILES= fcp.cma hlfi.cma asfi.cma fcp.cmxa hlfi.cmxa asfi.cmxa \ fcp.mli hlfreenet.mli asfreenet.mli fieldset.mli \ fstream.mli \ fcp.cmi hlfreenet.cmi asfreenet.cmi fieldset.cmi \ fstream.cmi OPTIONS_DEFINE= DOCS post-patch: @${SED} -e 's|%%PREFIX%%|${PREFIX}|; \ s|%%DATADIR%%|${DATADIR:S,^${PREFIX}/,,}|' \ ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh do-configure: @${REINPLACE_CMD} -E \ -e 's|^(PREFIX).*$$|\1=${PREFIX}|; \ s|^(OCAML_PREFIX).*$$|\1=${PREFIX}/lib/ocaml|' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/liber ${STAGEDIR}${PREFIX}/bin/liber-real ${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/liber @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DATA_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/ocaml ${INSTALL_DATA} ${LIB_FILES:S|^|${WRKSRC}/|} \ ${STAGEDIR}${PREFIX}/lib/ocaml do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include diff --git a/net-p2p/libswift/Makefile b/net-p2p/libswift/Makefile index c9b741a52748..25473bae841d 100644 --- a/net-p2p/libswift/Makefile +++ b/net-p2p/libswift/Makefile @@ -1,55 +1,53 @@ -# Created by: Dave Cottlehuber - PORTNAME= libswift PORTVERSION= 20190302 PORTREVISION= 1 CATEGORIES= net-p2p MAINTAINER= dch@FreeBSD.org COMMENT= IETF Peer-to-Peer Streaming Peer Protocol implementation LICENSE= LGPL21 LIB_DEPENDS= libevent.so:devel/libevent USES= compiler:c++11-lang gmake ssl USE_GITHUB= yes GH_ACCOUNT= skunkwerks GH_TAGNAME= dc0cbcc PORTDOCS= README.md SUB_FILES= ${PORTNAME} SUB_LIST+= SWIFT_USER=${SWIFT_USER} \ SWIFT_GROUP=${SWIFT_GROUP} \ SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \ SWIFT_PIDDIR=${SWIFT_PIDDIR} PLIST_SUB= SWIFT_USER=${SWIFT_USER} \ SWIFT_GROUP=${SWIFT_GROUP} \ SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \ SWIFT_PIDDIR=${SWIFT_PIDDIR} SWIFT_USER?= www SWIFT_GROUP?= www SWIFT_SHAREDIR= /var/db/${PORTNAME}/ SWIFT_PIDDIR= /var/run/${PORTNAME}/ USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= DOCS .include post-patch: ${REINPLACE_CMD} -e 's/CXX=clang++/CXX?=clang++/' ${WRKSRC}/Makefile do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${SWIFT_SHAREDIR} \ ${STAGEDIR}${SWIFT_PIDDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_PROGRAM} ${WRKSRC}/swift ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile index 6a7b1916887d..9250c0272d58 100644 --- a/net-p2p/libtorrent-rasterbar/Makefile +++ b/net-p2p/libtorrent-rasterbar/Makefile @@ -1,75 +1,73 @@ -# Created by: Doug Barton - PORTNAME= libtorrent-rasterbar DISTVERSION= 1.2.16 # 2.x is unusable until memory problems are resolved, see https://github.com/arvidn/libtorrent/issues/6781 PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= net-p2p MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library implementing a BitTorrent client LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_chrono.so:devel/boost-libs \ libboost_random.so:devel/boost-libs \ libboost_system.so:devel/boost-libs USES= cmake compiler:c++11-lib iconv:wchar_t libtool localbase:ldflags pathfix pkgconfig python:test shebangfix ssl SHEBANG_FILES= test/socks.py test/web_server.py USE_LDCONFIG= yes USE_CXXSTD= c++17 # prevent boost-related SEGV, see bug#264278 LDFLAGS+= ${ICONV_LIB} SHLIB_VER= 10 PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" SO_VER="${DISTVERSION}" DOCFILES= AUTHORS ChangeLog PORTDOCS= ${DOCFILES} docs/* PORTEXAMPLES= *.cpp OPTIONS_DEFINE= DOCS EXAMPLES LOGGING OPTIONS_DEFAULT= LOGGING OPTIONS_SUB= yes LOGGING_DESC= Enable logging to disk EXAMPLES_CMAKE_BOOL= build_examples LOGGING_CMAKE_BOOL= logging PORTSCOUT= limit:^1.* # 2.x is WIP and we don't accept it before qBittorrent does post-patch: @${REINPLACE_CMD} -e 's|return "python3";|return "${PYTHON_CMD}";|' \ ${WRKSRC}/test/setup_transfer.cpp post-install: @${RM} ${STAGEDIR}${PREFIX}/include/libtorrent/Makefile* # Workaround for -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES being set in # Mk/Uses/cmake.mk # References: https://mariadb.atlassian.net/browse/MDEV-9388 # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206169 @${REINPLACE_CMD} 's/-l-pthread/-lpthread/' \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libtorrent-rasterbar.pc post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR} ${RM} ${STAGEDIR}${DOCSDIR}/docs/._* post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dbuild_tests:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include diff --git a/net-p2p/microdc2/Makefile b/net-p2p/microdc2/Makefile index 6ffdf136c00f..dead438d0225 100644 --- a/net-p2p/microdc2/Makefile +++ b/net-p2p/microdc2/Makefile @@ -1,26 +1,24 @@ -# Created by: Pankov Pavel - PORTNAME= microdc2 PORTVERSION= 0.15.6 PORTREVISION= 10 CATEGORIES= net-p2p MASTER_SITES= http://corsair626.no-ip.org/microdc/ MAINTAINER= pankov_p@mail.ru COMMENT= Command-line based Direct Connect client LICENSE= GPLv2 CONFLICTS= tthsum USES= gnome iconv readline GNU_CONFIGURE= yes USE_GNOME= libxml2 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls .include diff --git a/net-p2p/minder/Makefile b/net-p2p/minder/Makefile index bbc60c81e3c1..9404657c5235 100644 --- a/net-p2p/minder/Makefile +++ b/net-p2p/minder/Makefile @@ -1,48 +1,46 @@ -# Created by: Mario Sergio Fujikawa Ferreira - PORTNAME= minder PORTVERSION= 2.0.2 PORTREVISION= 3 CATEGORIES= net-p2p MASTER_SITES= http://www.alhem.net/project/minder/ MAINTAINER= ports@FreeBSD.org COMMENT= Small network application for automatic maintenance of peer lists LICENSE= GPLv2+ LIB_DEPENDS= libSockets.so:net/Sockets USES= gmake gnome pkgconfig ssl USE_GNOME= libxml2 CFLAGS+= -DHAVE_OPENSSL CPPFLAGS+= $$(pkg-config --cflags libxml-2.0) \ -I${LOCALBASE}/include/Sockets -I${LOCALBASE}/include LDFLAGS+= $$(pkg-config --libs libxml-2.0) \ -L${LOCALBASE}/lib PORTEXAMPLES= minder.cfg PLIST_FILES= bin/minder OPTIONS_DEFINE= EXAMPLES post-patch: @${REINPLACE_CMD} -e \ 's|^CFLAGS|#CFLAGS| ; \ s|^CPPFLAGS =|CPPFLAGS +=| ; \ s|-L/usr/local/lib|$$(LDFLAGS)| ; \ s|-luuid|| ; \ s|-lpthread|-pthread| ; \ s|g++|$$(CXX)|' ${BUILD_WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e \ 's|(__sighandler_t)||' ${WRKSRC}/minder.cpp do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} minder \ ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${FILESDIR} && ${INSTALL_DATA} minder.cfg.sample \ ${STAGEDIR}${EXAMPLESDIR}/minder.cfg) .include diff --git a/net-p2p/mktorrent/Makefile b/net-p2p/mktorrent/Makefile index baec1d10d659..1f3b8632ad13 100644 --- a/net-p2p/mktorrent/Makefile +++ b/net-p2p/mktorrent/Makefile @@ -1,40 +1,38 @@ -# Created by: Damian Gerow - PORTNAME= mktorrent PORTVERSION= 1.1 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= net-p2p MAINTAINER= ports@FreeBSD.org COMMENT= Command-line utility for creating BitTorrent metainfo files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= Rudde MAKEFILE= BSDmakefile MAKE_ARGS= USE_LONG_OPTIONS=1 PLIST_FILES= bin/mktorrent OPTIONS_DEFINE= THREADS OPENSSL HASHCHECK OPTIONS_DEFAULT= THREADS OPENSSL HASHCHECK OPENSSL_DESC= Use OpenSSL for hashing HASHCHECK_DESC= Verify file hashes OPENSSL_USES= ssl OPENSSL_CFLAGS= -I${OPENSSLINC} OPENSSL_LDFLAGS= -L${OPENSSLLIB} THREADS_MAKE_ARGS= USE_PTHREADS=1 OPENSSL_MAKE_ARGS= USE_OPENSSL=1 HASHCHECK_MAKE_ARGS= NO_HASH_CHECK=1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/net-p2p/mldonkey-core/Makefile b/net-p2p/mldonkey-core/Makefile index f59826d33381..d8383d39a757 100644 --- a/net-p2p/mldonkey-core/Makefile +++ b/net-p2p/mldonkey-core/Makefile @@ -1,9 +1,7 @@ -# Created by: Holger Lamm and Mario S F Ferreira - OPTIONS_EXCLUDE=GUI COMMENT= Client 'core' for the MLDonkey peer-to-peer network MASTERDIR= ${.CURDIR}/../mldonkey .include "${MASTERDIR}/Makefile" diff --git a/net-p2p/mldonkey-gui/Makefile b/net-p2p/mldonkey-gui/Makefile index 1fae0c3ff10a..c5480668f470 100644 --- a/net-p2p/mldonkey-gui/Makefile +++ b/net-p2p/mldonkey-gui/Makefile @@ -1,9 +1,7 @@ -# Created by: Holger Lamm - OPTIONS_EXCLUDE=CORE COMMENT= OCAML/GTK GUI for the MLdonkey peer-to-peer network client MASTERDIR= ${.CURDIR}/../mldonkey .include "${MASTERDIR}/Makefile" diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile index 3f7943df30b3..6f0f0d7bdcaa 100644 --- a/net-p2p/mldonkey/Makefile +++ b/net-p2p/mldonkey/Makefile @@ -1,168 +1,166 @@ -# Created by: Holger Lamm - PORTNAME= mldonkey PORTVERSION= 3.1.5 PORTREVISION= 4 CATEGORIES+= net-p2p MASTER_SITES= SF EXTRA_PATCHES= ${FILESDIR}/git-30e77e2:-p1 MAINTAINER?= danfe@FreeBSD.org COMMENT?= Multi-protocol peer-to-peer client written in OCaml LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/Copying.txt CONFLICTS= mldonkey{-{core,gui},}-devel BUILD_DEPENDS= ${LOCALBASE}/lib/ocaml/nums.cma:math/ocaml-num USES= compiler:c++11-lang cpe gmake iconv pkgconfig tar:bzip2 USE_OCAML= yes USE_OCAML_CAMLP4=yes GNU_CONFIGURE= yes CONFIGURE_ARGS= ac_cv_lib_charset_locale_charset=no ALL_TARGET= opt MAKE_ENV+= OCAMLRUNPARAM="l=256M" MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message ### ## Options activation ### OPTIONS_DEFINE= GD DOCS EXAMPLES OPTIONS_DEFAULT=CORE GD GUI OPTIONS_MULTI= CLIENT OPTIONS_MULTI_CLIENT=CORE GUI CORE_DESC= Client 'core' support .include .if ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MCORE} CONFLICTS+= mldonkey-core-[0.9]* CONFLICTS+= mldonkey-gui-[0.9]* PLIST_SUB+= CORE="" GUI="" GUICORE="" .else # (${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MCORE}) . if !${PORT_OPTIONS:MGUI} PKGNAMESUFFIX= -core CONFLICTS+= mldonkey-gui-[0.9]* CONFIGURE_ARGS+=--disable-gui PLIST_SUB+= CORE="" GUI="@comment " GUICORE="@comment " . endif # !${PORT_OPTIONS:MGUI} . if !${PORT_OPTIONS:MCORE} PKGNAMESUFFIX= -gui CONFLICTS+= mldonkey-core-[0.9]* PLIST_SUB+= CORE="@comment " GUI="" GUICORE="@comment " . endif # !${PORT_OPTIONS:MCORE} .endif # ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MCORE} .if ${PORT_OPTIONS:MGUI} BUILD_DEPENDS+= ${LOCALBASE}/lib/ocaml/site-lib/lablgtk2/lablrsvg.cma:x11-toolkits/ocaml-lablgtk2 CONFIGURE_ARGS+=--enable-gui=newgui2 # we don't need lablgtk as RUN dependency, but we need gtk+glib USES+= gnome USE_GNOME= gtk20 librsvg2 .endif # ${PORT_OPTIONS:MGUI} .if ${PORT_OPTIONS:MCORE} USE_RC_SUBR= mlnet SUB_LIST+= SH=${SH:Q} . if ${PORT_OPTIONS:MGD} LIB_DEPENDS+= libgd.so:graphics/gd . else CONFIGURE_ARGS+=--disable-gd . endif .endif PORTDOCS= Authors.txt Bugs.txt ChangeLog Developers.txt \ Install.txt Todo.txt ed2k_links.txt # build additional tools ALL_TARGET+= \ mld_hash .include .if ${ARCH:Mpowerpc64*} LLD_UNSAFE= yes .endif post-patch: @${SED} \ -e "s|%%PREFIX%%|${PREFIX}|" \ -e "s|%%SH%%|${SH}|" \ ${FILESDIR}/wrapper.sh > \ ${WRKDIR}/wrapper.sh @${REINPLACE_CMD} \ -e 's|$$OCAMLLIB/$$LABLGTK_NAME|$$OCAMLLIB/site-lib/$$LABLGTK_NAME|' \ -e 's|^DEVFLAGS=|&-unsafe-string|' \ ${WRKSRC}/config/configure @${REINPLACE_CMD} \ -e 's|+labl|+site-lib/labl|' \ -e '/BITSTRING/s|OCAMLC)|& -unsafe-string|' \ ${WRKSRC}/config/Makefile.in @${REINPLACE_CMD} -E \ -e 's@(#include <)(lablgtk2/)@\1site-lib/\2@' \ ${WRKSRC}/src/gtk2/gui/x11/systraystubs.c # update server.met provider @${REINPLACE_CMD} -E \ -e 's|http://www.gruk.org/server.met.gz|http://www.jd2k.com/server.met|' \ -e 's|http://www.bluetack.co.uk/config/antip2p.txt|http://www.bluetack.co.uk/config/level1.gz|' \ ${WRKSRC}/src/daemon/common/commonOptions.ml \ ${WRKSRC}/src/networks/donkey/donkeyServers.ml @${REINPLACE_CMD} \ -e 's/[u(]int32/&_t/' ${WRKSRC}/src/utils/cdk/zlibstubs.c \ ${WRKSRC}/src/utils/cdk/gdstubs.c @${REINPLACE_CMD} \ -e 's/int64/&_t/' ${WRKSRC}/src/config/unix/os_stubs_c.c \ ${WRKSRC}/src/utils/lib/os_stubs.h \ ${WRKSRC}/src/utils/lib/fst_hash.c do-install: .if ${PORT_OPTIONS:MCORE} ${INSTALL_PROGRAM} ${WRKSRC}/mld_hash ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mlnet ${STAGEDIR}${PREFIX}/bin/mlnet-real ${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/mlnet .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${FILESDIR}/kill_mldonkey ${STAGEDIR}${EXAMPLESDIR} .endif .endif .if ${PORT_OPTIONS:MGUI} ${INSTALL_PROGRAM} ${WRKSRC}/mlgui ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MCORE} ${INSTALL_SCRIPT} ${WRKSRC}/distrib/mldonkey_previewer ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mlguistarter ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for _file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/distrib/${_file} ${STAGEDIR}${DOCSDIR} .endfor .endif install-user: extract .if !defined(LANGUAGE) @${ECHO_MSG} "Please call as: make install-user LANGUAGE=" @${ECHO_MSG} "with one of en,de,fr,fr.noaccents,sp !" .else @${CP} ${WRKSRC}/distrib/i18n/gui_messages.ini.${LANGUAGE}\ ${HOME}/.mldonkey_gui_messages.ini .endif .include diff --git a/net-p2p/monero-cli/Makefile b/net-p2p/monero-cli/Makefile index 9855bed3ff90..9a577fc75f3f 100644 --- a/net-p2p/monero-cli/Makefile +++ b/net-p2p/monero-cli/Makefile @@ -1,110 +1,108 @@ -# Created by: Vasil Dimov - PORTNAME= monero-cli # To build from an arbitrary git commit comment PORTVERSION and PORTREVISION (if present) PORTVERSION= 0.17.3.2 DISTVERSIONPREFIX= v # and uncomment the following two lines (use for example -git-HEAD or -git-b6420e1) #PORTVERSION= 0 #PKGNAMESUFFIX= -git-HEAD CATEGORIES= net-p2p finance MAINTAINER= vd@FreeBSD.org COMMENT= Private, secure, untraceable, decentralised digital currency (CLI) LICENSE= BSD3CLAUSE BROKEN_i386= fails to compile: register r15d is only available in 64-bit mode BROKEN_aarch64= fails to compile: uses unavailable HWCAP_AES and getauxval LIB_DEPENDS= \ libboost_chrono.so:devel/boost-libs \ libboost_date_time.so:devel/boost-libs \ libboost_filesystem.so:devel/boost-libs \ libboost_program_options.so:devel/boost-libs \ libboost_regex.so:devel/boost-libs \ libboost_serialization.so:devel/boost-libs \ libboost_system.so:devel/boost-libs \ libboost_thread.so:devel/boost-libs \ libminiupnpc.so:net/miniupnpc \ libnorm.so:net/norm \ libpgm.so:net/openpgm \ libsodium.so:security/libsodium \ libunbound.so:dns/unbound \ libzmq.so:net/libzmq4 BUILD_DEPENDS= ${LOCALBASE}/include/rapidjson/document.h:devel/rapidjson \ ${LOCALBASE}/include/zmq.hpp:net/cppzmq USES= cmake compiler:c++11-lib pkgconfig readline ssl USE_GITHUB= yes .if defined(PKGNAMESUFFIX) GIT_COMMIT= ${PKGNAMESUFFIX:C/-git-//} .else GIT_COMMIT= ${DISTVERSIONPREFIX}${PORTVERSION} .endif GH_TUPLE= monero-project:monero:${GIT_COMMIT} \ monero-project:supercop:633500ad8c875999:ext1/external/supercop \ tevador:RandomX:9efc398c196ef1c50d8e6f5e:ext2/external/randomx \ trezor:trezor-common:bff7fdfe436c727982c:ext3/external/trezor-common CFLAGS+= -D_WANT_SEMUN OPTIONS_DEFINE= DOXYGEN DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \ doxygen:devel/doxygen DOXYGEN_CMAKE_BOOL= BUILD_DOCUMENTATION .include # On FreeBSD 12.x the default ld(1) is LLVM's ld which needs an explicit -m option # when linking without any input .o on the command line, like: # /usr/bin/ld -melf_amd64 -r -b binary -o blocksdat.o blocks.dat # See Bug 226996 - net-p2p/monero-cli: fails to link with lld as the system linker # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226996 .if ${ARCH} == aarch64 LD_EMULATION= aarch64elf .elif ${ARCH} == amd64 LD_EMULATION= elf_amd64 .elif ${ARCH} == i386 LD_EMULATION= elf_i386_fbsd .elif ${ARCH} == powerpc LD_EMULATION= elf32ppc .elif ${ARCH} == powerpc64 LD_EMULATION= elf64ppc .elif ${ARCH} == powerpc64le LD_EMULATION= elf64lppc .endif CMAKE_ARGS+= -DLD_RAW_FLAGS:STRING=-m${LD_EMULATION} # keep in sync with all platforms where libunwind is available .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le LIB_DEPENDS+= libunwind.so:devel/libunwind .else CMAKE_ARGS+= -DSTACK_TRACE:BOOL=OFF .endif CMAKE_ARGS+= -DMANUAL_SUBMODULES:BOOL=ON USE_RC_SUBR= monerod USERS= monero GROUPS= monero PLIST_FILES= \ bin/monero-blockchain-ancestry \ bin/monero-blockchain-depth \ bin/monero-blockchain-export \ bin/monero-blockchain-import \ bin/monero-blockchain-mark-spent-outputs \ bin/monero-blockchain-prune \ bin/monero-blockchain-prune-known-spent-data \ bin/monero-blockchain-stats \ bin/monero-blockchain-usage \ bin/monero-gen-ssl-cert \ bin/monero-gen-trusted-multisig \ bin/monero-wallet-cli \ bin/monero-wallet-rpc \ bin/monerod .include diff --git a/net-p2p/namecoin/Makefile b/net-p2p/namecoin/Makefile index b3b75ffe3732..2c128d1db8de 100644 --- a/net-p2p/namecoin/Makefile +++ b/net-p2p/namecoin/Makefile @@ -1,118 +1,116 @@ -# Created by: Chad J. Milios - PORTNAME= namecoin PORTVERSION= 0.21.0.1 DISTVERSIONPREFIX= nc PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= net-p2p dns MAINTAINER= milios@ccsys.com COMMENT?= Decentralized, open DNS and general purpose key/value store LICENSE= MIT LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libevent.so:devel/libevent USES= autoreconf compiler:c++11-lib gmake libtool pkgconfig ssl GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= indolering:graphics GH_PROJECT= namecoin-core namecoin-graphics:graphics GH_TAGNAME= a13a73b:graphics 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 \ svg2png:graphics/svg2png 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_CPPFLAGS= -I${LOCALBASE}/include UPNP_LIBS= -L${LOCALBASE}/lib QRCODES_CONFIGURE_WITH= qrencode QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode WALLET_CONFIGURE_OFF= --disable-wallet WALLET_CONFIGURE_ON= --enable-wallet \ --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/ ${LOCALBASE}/bin/svg2png -w128 -h128 ${WRKSRC_graphics}/svg/namecoin-logo.svg \ ${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/ncdc/Makefile b/net-p2p/ncdc/Makefile index 1ae122cfb118..980be7667086 100644 --- a/net-p2p/ncdc/Makefile +++ b/net-p2p/ncdc/Makefile @@ -1,39 +1,37 @@ -# Created by: Dmitriy Limonov - PORTNAME= ncdc PORTVERSION= 1.22.1 PORTREVISION= 3 CATEGORIES= net-p2p MASTER_SITES= http://dev.yorhel.nl/download/ MAINTAINER= earl1k@mail.ru COMMENT= Lightweight direct connect client with ncurses interface LICENSE= MIT LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ libpcre.so:devel/pcre \ libgmp.so:math/gmp \ libgnutls.so:security/gnutls \ libgcrypt.so:security/libgcrypt \ libnettle.so:security/nettle \ libp11-kit.so:security/p11-kit USES= compiler:c11 gmake gnome pkgconfig ncurses USE_GNOME= glib20 GNU_CONFIGURE= yes PLIST_FILES= bin/ncdc \ man/man1/ncdc.1.gz CONFIGURE_ENV= NCURSES_CFLAGS="-L${NCURSESLIB}" NCURSES_LIBS="-lncursesw" CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= GEOIP OPTIONS_DEFAULT= GEOIP GEOIP_CONFIGURE_WITH= geoip GEOIP_CONFIGURE_ENV= GEOIP_LIBS="-L${LOCALBASE}/lib -lmaxminddb" GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb .include diff --git a/net-p2p/opendchub/Makefile b/net-p2p/opendchub/Makefile index cd4e5c6f7081..ac94984e570b 100644 --- a/net-p2p/opendchub/Makefile +++ b/net-p2p/opendchub/Makefile @@ -1,32 +1,30 @@ -# Created by: Munish Chopra - PORTNAME= opendchub PORTVERSION= 0.8.3 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/Open%20DC%20Hub/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Unofficial Unix version of the Direct Connect Hub software LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= perl5 gmake localbase ssl GNU_CONFIGURE= yes # Fix build with clang 11 CFLAGS+= -fcommon OPTIONS_DEFINE= DOCS PORTDOCS= README configfiles general scriptdoc PLIST_FILES= bin/${PORTNAME} pre-install: @${CHMOD} a+rx ${WRKSRC}/install-sh post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Documentation/* ${STAGEDIR}${DOCSDIR} .include diff --git a/net-p2p/p5-Net-BitTorrent-File/Makefile b/net-p2p/p5-Net-BitTorrent-File/Makefile index 54717c36df81..874731848fe9 100644 --- a/net-p2p/p5-Net-BitTorrent-File/Makefile +++ b/net-p2p/p5-Net-BitTorrent-File/Makefile @@ -1,26 +1,24 @@ -# Created by: Oleg R. Muhutdinov - PORTNAME= Net-BitTorrent-File PORTVERSION= 1.02 DISTVERSIONSUFFIX= -fix PORTREVISION= 1 CATEGORIES= net-p2p perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module for handles loading and saving of .torrent file LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Convert-Bencode>=0:converters/p5-Convert-Bencode \ p5-Digest-SHA1>=0:security/p5-Digest-SHA1 NO_ARCH= yes USE_PERL5= configure USES= perl5 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/net-p2p/p5-Net-BitTorrent-PeerPacket/Makefile b/net-p2p/p5-Net-BitTorrent-PeerPacket/Makefile index 9c8a24dbe4ec..533b4630ad45 100644 --- a/net-p2p/p5-Net-BitTorrent-PeerPacket/Makefile +++ b/net-p2p/p5-Net-BitTorrent-PeerPacket/Makefile @@ -1,16 +1,14 @@ -# Created by: Gea-Suan Lin - PORTNAME= Net-BitTorrent-PeerPacket PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= net-p2p perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Parse/Build Peer Packets from BitTorrent USES= perl5 USE_PERL5= modbuild .include diff --git a/net-p2p/p5-Net-BitTorrent/Makefile b/net-p2p/p5-Net-BitTorrent/Makefile index b8dd6c66e750..815eadf229ae 100644 --- a/net-p2p/p5-Net-BitTorrent/Makefile +++ b/net-p2p/p5-Net-BitTorrent/Makefile @@ -1,24 +1,22 @@ -# Created by: Gea-Suan Lin - PORTNAME= Net-BitTorrent PORTVERSION= 0.052 PORTREVISION= 5 CATEGORIES= net-p2p perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:SANKO PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= BitTorrent peer-to-peer protocol class LICENSE= ART20 PORTSCOUT= limit:^[0-9\.]*$$ CONFIGURE_ARGS= diff --git a/net-p2p/p5-Net-DirectConnect/Makefile b/net-p2p/p5-Net-DirectConnect/Makefile index a57085c10c68..af347dbf7a54 100644 --- a/net-p2p/p5-Net-DirectConnect/Makefile +++ b/net-p2p/p5-Net-DirectConnect/Makefile @@ -1,30 +1,28 @@ -# Created by: Oleg Alexeenkov - PORTNAME= Net-DirectConnect PORTVERSION= 0.14 PORTREVISION= 1 CATEGORIES= net-p2p net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= proler@gmail.com COMMENT= Perl Direct Connect lib and client LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite \ p5-DBI>=0:databases/p5-DBI \ p5-IO-Socket-INET6>=0:net/p5-IO-Socket-INET6 \ p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \ p5-Crypt-RHash>=0:security/p5-Crypt-RHash \ p5-Socket6>=0:net/p5-Socket6 \ p5-lib-abs>=0:devel/p5-lib-abs \ p5-MIME-Base32>=0:converters/p5-MIME-Base32 \ p5-Sys-Sendfile-FreeBSD>=0:devel/p5-Sys-Sendfile-FreeBSD USES= perl5 USE_PERL5= configure .include diff --git a/net-p2p/p5-WWW-BitTorrent/Makefile b/net-p2p/p5-WWW-BitTorrent/Makefile index a9428fa64b15..616f7d3d1489 100644 --- a/net-p2p/p5-WWW-BitTorrent/Makefile +++ b/net-p2p/p5-WWW-BitTorrent/Makefile @@ -1,21 +1,19 @@ -# Created by: Tsung-Han Yeh - PORTNAME= WWW-BitTorrent PORTVERSION= 0.01 PORTREVISION= 2 CATEGORIES= net-p2p perl5 www MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= snowfly@yuntech.edu.tw COMMENT= Search and Download .torrent(s) files from BitTorrents boards BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-libwww>=0:www/p5-libwww USES= perl5 shebangfix SHEBANG_FILES= bittorrent.pl USE_PERL5= configure NO_ARCH= yes .include diff --git a/net-p2p/phex/Makefile b/net-p2p/phex/Makefile index e1829da35bc5..882565cdb31c 100644 --- a/net-p2p/phex/Makefile +++ b/net-p2p/phex/Makefile @@ -1,34 +1,32 @@ -# Created by: Mario Sergio Fujikawa Ferreira - PORTNAME= phex PORTVERSION= 3.4.2.116 PORTREVISION= 1 CATEGORIES= net-p2p java MASTER_SITES= SF/${PORTNAME}/Phex%20Final%20Releases/Phex%20${PORTVERSION:R} DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= Multi-platform and spyware-free Gnutella client LICENSE= GPLv2 USES= zip USE_JAVA= yes NO_BUILD= yes SUB_FILES= ${PORTNAME}.sh DATADIR= ${JAVASHAREDIR}/${PORTNAME} PORTDOCS= Phex_other.htm \ Undocumented.htm OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/readme/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/net-p2p/py-libtorrent-rasterbar/Makefile b/net-p2p/py-libtorrent-rasterbar/Makefile index 6bc3960af9bb..de3b197849bb 100644 --- a/net-p2p/py-libtorrent-rasterbar/Makefile +++ b/net-p2p/py-libtorrent-rasterbar/Makefile @@ -1,44 +1,42 @@ -# Created by: Doug Barton - PORTNAME= libtorrent-rasterbar DISTVERSIONPREFIX= v DISTVERSION= 1.2.16 PORTEPOCH= 2 CATEGORIES= net-p2p python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python bindings for libtorrent-rasterbar LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../../COPYING BROKEN= can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment, see https://github.com/arvidn/libtorrent/issues/6890 BUILD_DEPENDS= b2:devel/boost_build LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \ ${PY_BOOST} USES= compiler:c11 iconv localbase:ldflags python:3.6+ USE_GITHUB= yes GH_ACCOUNT= arvidn GH_PROJECT= libtorrent USE_PYTHON= distutils autoplist BINARY_ALIAS= b2=${FILESDIR}/b2 CFLAGS+= -DTORRENT_DISABLE_LOGGING # undefined symbol: https://github.com/arvidn/libtorrent/issues/3331 LDFLAGS+= ${LOCALBASE}/lib/libboost_python${PYTHON_SUFFIX}.so ${LOCALBASE}/lib/libiconv.so # fails to link libs: https://github.com/arvidn/libtorrent/issues/3330 WRKSRC_SUBDIR= bindings/python # ensure python paths are correctly identified CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \ PYTHON_VERSION="${PYTHON_VERSION}" PORTSCOUT= limit:^1.* # 2.x is WIP and we don't accept it before qBittorrent does post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libtorrent*.so .include diff --git a/net-p2p/py-vertex/Makefile b/net-p2p/py-vertex/Makefile index d9bca832b8b7..a72372bbf542 100644 --- a/net-p2p/py-vertex/Makefile +++ b/net-p2p/py-vertex/Makefile @@ -1,26 +1,24 @@ -# Created by: Alexander Botero-Lowry - PORTNAME= vertex PORTVERSION= 0.3.1 PORTREVISION= 3 CATEGORIES= net-p2p python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Vertex-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implementation of Q2Q protocol LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}epsilon>=0:devel/py-epsilon@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile index 91f793932992..14c288e85122 100644 --- a/net-p2p/qbittorrent/Makefile +++ b/net-p2p/qbittorrent/Makefile @@ -1,73 +1,71 @@ -# Created by: Doug Barton - PORTNAME= qbittorrent DISTVERSION= 4.4.3.1 PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Bittorrent client using Qt5 and libtorrent-rasterbar LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_12_powerpc64= fails to build: ./base/tristatebool.h:44:5: 'constexpr' constructor does not have empty body LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \ libboost_system.so:devel/boost-libs FLAVORS= default nox FLAVOR?= ${FLAVORS:[1]} nox_PKGNAMESUFFIX= -nox nox_PLIST= ${MASTERDIR}/pkg-plist-nox USES= compiler:c++14-lang cpe pkgconfig qmake:no_env qt:5 ssl tar:xz GNU_CONFIGURE= yes USE_QT= core network sql xml buildtools_build linguisttools_build qmake_build DESTDIRNAME= INSTALL_ROOT CONFIGURE_ENV+= openssl_CFLAGS="-I${OPENSSLINC}" openssl_LIBS="-L${OPENSSLLIB} -lssl" USE_CXXSTD= c++17 # prevent boost-related SEGV, see bug#264278 .if ${FLAVOR} == default USES+= desktop-file-utils gl USE_QT+= concurrent gui svg widgets USE_GL= gl .endif .if ${FLAVOR} == nox SUFFIX= -nox COMMENT+= (web UI version) CONFIGURE_ARGS= --disable-gui USERS= qbittorrent GROUPS= qbittorrent USE_RC_SUBR= qbittorrent SUB_LIST= USER=${USERS} GROUP=${GROUPS} PLIST_SUB= USER=${USERS} GROUP=${GROUPS} OPTIONS_EXCLUDE= DBUS .endif OPTIONS_DEFINE= DBUS PYTHON DEBUG OPTIONS_DEFAULT= DBUS DEBUG_CONFIGURE_ENABLE= debug DBUS_CONFIGURE_ENABLE= qt-dbus DBUS_USE= qt=dbus PYTHON_DESC= Install Python to support some plugin functionality PYTHON_USES= python:3.6+,run post-patch-PYTHON-on: @${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_CMD}"|' ${WRKSRC}/src/base/utils/foreignapps.cpp post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbittorrent${SUFFIX} ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent${SUFFIX}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ @${RM} -r ${STAGEDIR}${PREFIX}/share/man .if ${FLAVOR} == nox @${MKDIR} ${STAGEDIR}/var/db/qbittorrent/conf ${STAGEDIR}/var/db/qbittorrent/Downloads .endif .include diff --git a/net-p2p/qtum/Makefile b/net-p2p/qtum/Makefile index 9c0636eb5c1f..160919845482 100644 --- a/net-p2p/qtum/Makefile +++ b/net-p2p/qtum/Makefile @@ -1,67 +1,65 @@ -# Created by: Vasil Dimov - PORTNAME= qtum PORTVERSION= 0.20.3 DISTVERSIONPREFIX= mainnet-fastlane-v PORTREVISION= 3 CATEGORIES= net-p2p finance MAINTAINER= ports@FreeBSD.org COMMENT= PoS cryptocurrency that can execute smart contract as part of an UTXO LICENSE= GPLv3 BROKEN_i386= does not compile: invalid operand for instruction ... ASJ(jnz, 0, b) ... "jnz" BROKEN= does not compile: error: expected ';' after expression BUILD_DEPENDS= libzmq4>0:net/libzmq4 RUN_DEPENDS= libzmq4>0:net/libzmq4 LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libevent.so:devel/libevent \ libgmp.so:math/gmp \ libminiupnpc.so:net/miniupnpc \ libprotobuf.so:devel/protobuf \ libqrencode.so:graphics/libqrencode USES= autoreconf bdb:5+ compiler:c++14-lang cpe gmake libtool pkgconfig qt:5 ssl GNU_CONFIGURE= yes CONFIGURE_ENV+= BDB_CFLAGS="-I${BDB_INCLUDE_DIR}" \ BDB_LIBS="-L${BDB_LIB_DIR} -l${BDB_LIB_CXX_NAME}" \ LDFLAGS="-L${LOCALBASE}/lib" \ CPPFLAGS="-I${LOCALBASE}/include" # * Man pages have not been adjusted after cloning the Bitcoin code base. # They are the old Bitcoin man pages, so do not install them. # * --with-incompatible-bdb is required in order to use bdb-5. # * Do not install unneeded include/bitcoinconsensus.h and # lib/libbitcoinconsensus.* (--without-libs) CONFIGURE_ARGS= --disable-man \ --with-gui=qt5 \ --with-incompatible-bdb \ --with-miniupnpc=${LOCALBASE} \ --with-qrencode \ --without-libs USE_QT= buildtools core dbus gui linguisttools network testlib widgets USE_GITHUB= yes GH_TUPLE= qtumproject:qtum:${DISTVERSIONPREFIX}${PORTVERSION} \ qtumproject:cpp-eth-qtum:3f8e2fa7a3b97:cppeth1/src/cpp-ethereum \ ethereum:cable:3fc90c6eed80a2cbe81e968:cppeth2/src/cpp-ethereum/cmake/cable \ chfast:ethash:67a3216a5494834f7c221df9:cppeth3/src/cpp-ethereum/ethash \ ethereum:evmc:1de783316a95fccb4fe7c24f:cppeth4/src/cpp-ethereum/evmc .include # The ./configure script tries to use pkg-config to derive the SSL CFLAGS and # libraries, but pkg-config requires libssl.pc which is only installed by the # ports' security/openssl and not present in the base system. So if we are to # use the base's SSL, then we trick ./configure to not use pkg-config by # setting some related environment variables. .if ${SSL_DEFAULT} == base CONFIGURE_ENV+= CRYPTO_CFLAGS="-I${OPENSSLINC}" \ CRYPTO_LIBS="-lcrypto" \ SSL_CFLAGS="-I${OPENSSLINC}" \ SSL_LIBS="-lssl" .endif .include diff --git a/net-p2p/retroshare/Makefile b/net-p2p/retroshare/Makefile index def69f5ca3ad..41040a12a13e 100644 --- a/net-p2p/retroshare/Makefile +++ b/net-p2p/retroshare/Makefile @@ -1,75 +1,73 @@ -# Created by: glocke@bsdstammtisch.at - PORTNAME= retroshare DISTVERSIONPREFIX= v DISTVERSION= 0.6.4 PORTREVISION= 11 CATEGORIES= net-p2p PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 428b331d8efe.patch:-p1 MAINTAINER= peter@netkey.at COMMENT= Private and secure decentralised communication platform LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libsqlcipher.so:databases/sqlcipher \ libgnome-keyring.so:security/libgnome-keyring \ libgpgme.so:security/gpgme \ libcurl.so:ftp/curl \ libminiupnpc.so:net/miniupnpc USES= compiler:features desktop-file-utils dos2unix \ gl gnome pkgconfig qmake qt:5 ssl USE_GITHUB= yes GH_ACCOUNT= RetroShare GH_PROJECT= RetroShare RS_REVISION= 0e6d27a USE_GNOME= libxml2 libxslt USE_GL= gl USE_QT= core gui multimedia printsupport network widgets xml \ buildtools_build uitools_build DOS2UNIX_FILES= retroshare-nogui/src/retroshare-nogui.pro \ retroshare-gui/src/gui/elastic/node.cpp OPTIONS_DEFINE= VOIP WEBUI OPTIONS_SUB= yes VOIP_DESC= Build with VoIP plugin (requires OpenCV) VOIP_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libopencv_highgui.so:graphics/opencv \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp VOIP_BROKEN= gui/QVideoDevice.cpp:1:10: fatal error: 'opencv/cv.h' file not found WEBUI_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd WEBUI_QMAKE_OFF= CONFIG+=no_libresapihttpserver WEBUI_BROKEN= api/ApiServerMHD.cpp:376:5: error: no matching function for call to 'MHD_get_connection_values' .include post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare.pri @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/libretroshare/src/libretroshare.pro @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/libretroshare/src/rsserver/rsaccounts.cc @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare-gui/src/retroshare-gui.pro @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare-nogui/src/retroshare-nogui.pro @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/data/retroshare.desktop @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/data/retroshare.desktop @${REINPLACE_CMD} -e 's|RS_REVISION_NUMBER.*|RS_REVISION_NUMBER 0x${RS_REVISION}|' \ ${WRKSRC}/libretroshare/src/retroshare/rsversion.h post-patch-VOIP-off: # VoIP plugin does not build against modern `graphics/opencv' port @${REINPLACE_CMD} -e '/VOIP/d' ${WRKSRC}/plugins/plugins.pro .include diff --git a/net-p2p/shx/Makefile b/net-p2p/shx/Makefile index 9d10841a98eb..794699b16640 100644 --- a/net-p2p/shx/Makefile +++ b/net-p2p/shx/Makefile @@ -1,61 +1,59 @@ -# Created by: Devin Teske - PORTNAME= shx PORTVERSION= 0.2.4 PORTREVISION= 2 CATEGORIES= net-p2p MASTER_SITES= http://synhxd.sourceforge.net/releases/ PATCH_SITES= ${MASTER_SITES} PATCHFILES= ${DISTNAME}.diff.gz MAINTAINER= ports@FreeBSD.org COMMENT= Text based Hotline Communications client for Unix LICENSE= GPLv1 OPTIONS_DEFINE= WARNINGS HTXF_PTHREAD HFS HOPE CIPHER COMPRESS HAL XMMS NOIPV4 OPTIONS_DEFAULT=HTXF_PTHREAD HFS HOPE CIPHER COMPRESS XMMS WARNINGS_DESC= Show compiler warnings HTXF_PTHREAD_DESC= Use pthread instead of fork or clone for htxf HFS_DESC= Enable HFS file system emulation HOPE_DESC= Enable HOPE (required by Cipher/Compress) CIPHER_DESC= Enable Cipher (HOPE required) COMPRESS_DESC= Enable Compress (HOPE required) HAL_DESC= Compile MegaHAL (enables hal command) XMMS_DESC= Enable trackname command NOIPV4_DESC= IPv6 support (disables IPv4 support) USES= readline ssl tar:tgz MAKEFILE= makefile GNU_CONFIGURE= yes CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} CONFLICTS_INSTALL= helix # bin/hx CIPHER_IMPLIES= HOPE COMPRESS_IMPLIES= HOPE CIPHER_CONFIGURE_ENABLE= cipher COMPRESS_CONFIGURE_ENABLE= compress HAL_CONFIGURE_ENABLE= hal HFS_CONFIGURE_ENABLE= hfs HOPE_CONFIGURE_ENABLE= hope HTXF_PTHREAD_CONFIGURE_ENABLE= htxf-pthread NOIPV4_CONFIGURE_ENABLE= ipv6 XMMS_CONFIGURE_ENABLE= xmms WARNINGS_CONFIGURE_ENABLE= warnings PLIST_FILES= bin/hx \ share/examples/shx/hxrc \ share/examples/shx/hxvars do-install: ${CP} -fv ${WRKSRC}/run/hx ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME} ${CP} -fv ${WRKSRC}/run/hxrc ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/ ${CP} -fv ${WRKSRC}/run/hxvars ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/ .include diff --git a/net-p2p/torrent-file-editor/Makefile b/net-p2p/torrent-file-editor/Makefile index e28baa699bab..a3a6a10a6a91 100644 --- a/net-p2p/torrent-file-editor/Makefile +++ b/net-p2p/torrent-file-editor/Makefile @@ -1,34 +1,32 @@ -# Created by: Alexey Dokuchaev - PORTNAME= torrent-file-editor PORTVERSION= 0.3.17 DISTVERSIONPREFIX= v CATEGORIES= net-p2p MAINTAINER= danfe@FreeBSD.org COMMENT= GUI tool for creating and editing .torrent files LICENSE= GPLv3+ USES= cmake compiler:c++11-lang desktop-file-utils qt:5 USE_GITHUB= yes USE_QT= buildtools_build linguisttools_build qmake_build \ core gui widgets CMAKE_ARGS= -DQT5_BUILD:BOOL=ON \ -DENABLE_PCH:BOOL=OFF OPTIONS_DEFINE= DONATION OPTIONS_DEFAULT= DONATION DONATION_DESC= Show donation text in the About dialog DONATION_CMAKE_OFF= -DDISABLE_DONATION:BOOL=ON post-patch: @${REINPLACE_CMD} -e 's,const auto file,const auto \&file,' \ ${WRKSRC}/bencodemodel.cpp ${WRKSRC}/mainwindow.cpp # Avoid conflict with C++20 by adding .txt suffix @${REINPLACE_CMD} -i .c++20 '/file/s/version/&.txt/' \ ${WRKSRC}/cmake/Dmg.cmake ${WRKSRC}/cmake/Version.cmake .include diff --git a/net-p2p/torrentcheck/Makefile b/net-p2p/torrentcheck/Makefile index 0c70f4994c70..e4a88d134ca6 100644 --- a/net-p2p/torrentcheck/Makefile +++ b/net-p2p/torrentcheck/Makefile @@ -1,41 +1,39 @@ -# Created by: Alexey Dokuchaev - PORTNAME= torrentcheck PORTVERSION= 1.00 PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} readme.txt DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${_DISTFILES:N*.txt} MAINTAINER= danfe@FreeBSD.org COMMENT= Command-line torrent viewer and hash checker LICENSE= PD USES= zip NO_WRKSUBDIR= yes PLIST_FILES= bin/${PORTNAME} PORTDOCS= README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/malloc\.h/d' ${WRKSRC}/torrentcheck.c do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -DUSE_FTELLO \ -o ${PORTNAME} sha1.c torrentcheck.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} # Convert to Unix line-endings and trim useless compile-related information ${TR} -d \\r < ${_DISTDIR}/readme.txt | ${SED} '126,$$d' > \ ${STAGEDIR}${DOCSDIR}/README .include diff --git a/net-p2p/torrentsniff/Makefile b/net-p2p/torrentsniff/Makefile index 7d088d1acc91..7e0c80f332d3 100644 --- a/net-p2p/torrentsniff/Makefile +++ b/net-p2p/torrentsniff/Makefile @@ -1,24 +1,22 @@ -# Created by: Pav Lucistnik - PORTNAME= torrentsniff PORTVERSION= 0.3.0 PORTREVISION= 1 CATEGORIES= net-p2p perl5 MASTER_SITES= http://www.highprogrammer.com/alan/perl/ MAINTAINER= jharris@widomaker.com COMMENT= Command-line tool for getting status of torrent RUN_DEPENDS= p5-libwww>=0:www/p5-libwww \ p5-Digest-SHA1>=0:security/p5-Digest-SHA1 NO_BUILD= yes USES= dos2unix shebangfix perl5 SHEBANG_FILES= torrentsniff do-install: ${INSTALL_SCRIPT} ${WRKSRC}/torrentsniff ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/BitTorrent ${INSTALL_DATA} ${WRKSRC}/BitTorrent/BDecode.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/BitTorrent .include diff --git a/net-p2p/udpt/Makefile b/net-p2p/udpt/Makefile index a7c9dffd5ee5..e55930d0e323 100644 --- a/net-p2p/udpt/Makefile +++ b/net-p2p/udpt/Makefile @@ -1,39 +1,37 @@ -# Created by: Alexey Dokuchaev - PORTNAME= udpt DISTVERSION= g20200202 CATEGORIES= net-p2p MAINTAINER= danfe@FreeBSD.org COMMENT= Lightweight UDP torrent tracker LICENSE= GPLv3+ USES= gmake localbase:ldflags sqlite:3 USE_GITHUB= yes GH_ACCOUNT= troydm GH_TAGNAME= 6a7bf22 CXXFLAGS+= -Dlinux # easier than patch a dozen places PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/VERSION/ { s,beta,&-g${GH_TAGNAME},; \ s,Linux,${OPSYS},; }' ${WRKSRC}/src/multiplatform.h post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include # Alternative to DOS2UNIX_FILES that preserves original timestamps, # to be used together with `-l' switch added to PATCH_ARGS below. fixpatches: @${FIND} ${FILESDIR} -name patch-* | ${XARGS} ${SED} -i '' \ -E 's,[[:cntrl:]]*$$,,' PATCH_ARGS+= -l diff --git a/net-p2p/uhub/Makefile b/net-p2p/uhub/Makefile index fdb677ce6e16..3d4cc16761b9 100644 --- a/net-p2p/uhub/Makefile +++ b/net-p2p/uhub/Makefile @@ -1,58 +1,56 @@ -# Created by: Yashin Dmitry - PORTNAME= uhub PORTVERSION= 0.5.1 CATEGORIES= net-p2p MAINTAINER= ports@FreeBSD.org COMMENT= High performance peer-to-peer hub for the ADC network LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= fails to compile: CPUINFO not defined USES= cmake:insource perl5 sqlite USE_PERL5= build USE_GITHUB= yes GH_ACCOUNT= janvidar GH_TAGNAME= a8ee6e7 USE_RC_SUBR= uhub USERS= uhub GROUPS= uhub CFLAGS+= -fPIC OPTIONS_DEFINE= OPENSSL OPTIONS_DEFAULT= OPENSSL SQLITE OPTIONS_SUB= yes OPENSSL_USES= ssl OPENSSL_CMAKE_BOOL= SSL_SUPPORT .include post-patch: @${REINPLACE_CMD} -e \ '/DESTINATION/s|^|#|' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's| /usr/lib/| ${PREFIX}/lib/|g ; \ s|=/etc/uhub/|=${ETCDIR}/|g' ${WRKSRC}/doc/uhub.conf @${REINPLACE_CMD} -e \ 's|"/etc/uhub/|"${ETCDIR}/|' ${WRKSRC}/src/uhub.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/uhub ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/uhub-passwd ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/uhub ${INSTALL_LIB} ${WRKSRC}/mod_*.so ${STAGEDIR}${PREFIX}/lib/uhub @${MKDIR} ${STAGEDIR}${ETCDIR} .for i in uhub.conf users.conf ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${ETCDIR}/${i}.sample .endfor .for i in motd.txt rules.txt @${ECHO_CMD} -n > ${STAGEDIR}${ETCDIR}/${i}.sample .endfor .include diff --git a/net-p2p/vuze/Makefile b/net-p2p/vuze/Makefile index 41e0a8c06124..4b899af63206 100644 --- a/net-p2p/vuze/Makefile +++ b/net-p2p/vuze/Makefile @@ -1,71 +1,69 @@ -# Created by: Jeremy Faulkner - PORTNAME= vuze PORTVERSION= 5.7.4.0 PORTREVISION= 2 CATEGORIES= net-p2p java MASTER_SITES= SF/azureus/vuze/Vuze_${PORTVERSION:S/.//g} DISTNAME= Vuze_${PORTVERSION:S/.//g}_source MAINTAINER= ports@FreeBSD.org COMMENT= BitTorrent client written in Java LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/GPL.txt BUILD_DEPENDS= ${JAVALIBDIR}/log4j.jar:devel/log4j \ ${JAVALIBDIR}/commons-cli.jar:java/apache-commons-cli \ ${JAVALIBDIR}/junit.jar:java/junit \ ${JAVALIBDIR}/swt.jar:x11-toolkits/swt RUN_DEPENDS= ${JAVALIBDIR}/swt.jar:x11-toolkits/swt USES= cpe gnome zip USE_JAVA= yes JAVA_OS= native USE_ANT= yes NO_WRKSUBDIR= yes NO_ARCH= yes JARFILE= ${PORTNAME}.jar # build classpath from BUILD_DEPENDS CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar:T} PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} \ bin/${PORTNAME} \ share/icons/hicolor/16x16/apps/${PORTNAME}.png \ share/icons/hicolor/32x32/apps/${PORTNAME}.png \ share/icons/hicolor/64x64/apps/${PORTNAME}.png SUB_FILES= ${PORTNAME} SUB_LIST= LIBDIR="${LOCALBASE}/lib" JARFILE="${JARFILE}" \ SWTJAR="${JAVALIBDIR}/swt.jar" JAVA="${LOCALBASE}/bin/java" DESKTOP_ENTRIES= "Vuze" \ "BitTorrent client" \ "${PORTNAME}" \ "${PORTNAME}" \ "Network;P2P;Java;" \ true CLASSPATH=. .for jar in ${CLASSPATH_JARS} CLASSPATH:=${CLASSPATH}:${JAVALIBDIR}/${jar} .endfor post-patch: ${RM} -r ${WRKSRC}/org/eclipse @${SED} -E -e 's|%%CLASSPATH%%|${CLASSPATH}|' \ ${FILESDIR}/build.xml > ${WRKSRC}/build.xml do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/dist/lib/${JARFILE} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .for s in 16 32 64 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/org/gudy/azureus2/ui/icons/a${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/${PORTNAME}.png .endfor .include diff --git a/net-p2p/xmrig/Makefile b/net-p2p/xmrig/Makefile index df981fc33df6..f1d4c38c4c5c 100644 --- a/net-p2p/xmrig/Makefile +++ b/net-p2p/xmrig/Makefile @@ -1,48 +1,46 @@ -# Created by: Emanuel Haupt - PORTNAME= xmrig PORTVERSION= 6.18.0 DISTVERSIONPREFIX= v CATEGORIES= net-p2p MAINTAINER= ehaupt@FreeBSD.org COMMENT= High performance Monero (XMR) CPU miner LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= fails to compile: g++9: error: unrecognized command line option '-maes'; did you mean '-mads'? BROKEN_riscv64= fails to compile: /nxb-bin/usr/lib/clang/11.0.0/include/cpuid.h:11:2: error: this header is for x86 only USES= cmake compiler:c++11-lang ssl USE_GITHUB= yes USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message SUB_LIST= PORTNAME=${PORTNAME} \ USERS=${USERS} USERS= xmrig OPTIONS_DEFINE= HWLOC MICROHTTPD STATIC OPTIONS_DEFAULT= HWLOC MICROHTTPD HWLOC_DESC= Portable hardware locality MICROHTTPD_DESC= Build with libmicrohttpd support HWLOC_LIB_DEPENDS+= libhwloc.so.15:devel/hwloc2 HWLOC_CMAKE_OFF= -DWITH_HWLOC=OFF MICROHTTPD_LIB_DEPENDS+= libmicrohttpd.so:www/libmicrohttpd \ libuv.so:devel/libuv MICROHTTPD_CMAKE_OFF= -DWITH_HTTPD=OFF STATIC_PREVENTS= HWLOC MICROHTTPD STATIC_PREVENTS_MSG= hwloc and libmicrohttpd support cannot be built static STATIC_BUILD_DEPENDS+= ${LOCALBASE}/lib/libuv.a:devel/libuv STATIC_CMAKE_ON= -DBUILD_STATIC=ON do-install: ${INSTALL_PROGRAM} ${WRKDIR}/.build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/src/config.json ${STAGEDIR}${ETCDIR}/config.json.sample .include diff --git a/net-p2p/zetacoin-daemon/Makefile b/net-p2p/zetacoin-daemon/Makefile index adece92d8584..b8db2bb4291d 100644 --- a/net-p2p/zetacoin-daemon/Makefile +++ b/net-p2p/zetacoin-daemon/Makefile @@ -1,37 +1,35 @@ -# Created by: Daniel Morante - MASTERDIR= ${.CURDIR}/../zetacoin PORTREVISION= 1 PKGNAMESUFFIX= -daemon COMMENT= Peer-to-Peer crypto currency with quick transactions (Daemon) SLAVE_PORT= yes RUN_DEPENDS+= zetacoin-cli:net-p2p/zetacoin-utils OPTIONS_DEFINE= DEBUG HARDENING TESTS UPNP ZMQ # WALLET_BDBMODERN is a choice for WALLET, introduced via OPTIONS_RADIO=WALLET # from ${MASTERDIR}/Makefile OPTIONS_DEFAULT= HARDENING UPNP WALLET_BDBMODERN ZMQ USERS= ${PORTNAME} GROUPS= ${PORTNAME} CONFIGURE_ARGS= --with-daemon \ --without-gui \ --without-libs \ --without-qrencode \ --without-utils PLIST_FILES= bin/${PORTNAME}d \ "@sample %%ETCDIR%%.conf.sample" USE_RC_SUBR= ${PORTNAME} SUB_LIST+= PORTNAME=${PORTNAME} SUB_FILES= pkg-message post-install: ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include "${MASTERDIR}/Makefile" diff --git a/net-p2p/zetacoin/Makefile b/net-p2p/zetacoin/Makefile index 76470df269f2..486dfbf24260 100644 --- a/net-p2p/zetacoin/Makefile +++ b/net-p2p/zetacoin/Makefile @@ -1,123 +1,121 @@ -# Created by: Daniel Morante - PORTNAME= zetacoin PORTVERSION= 0.13.2.1 DISTVERSIONPREFIX= v PORTREVISION= 8 CATEGORIES= net-p2p finance MAINTAINER= daniel@morante.net COMMENT= Peer-to-Peer crypto currency with quick transactions LICENSE= MIT LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libevent.so:devel/libevent BROKEN= error: use of undeclared identifier '_1' USES= autoreconf compiler:c++11-lib gmake libtool pkgconfig shebangfix ssl USE_GITHUB= yes GNU_CONFIGURE= yes SLAVE_PORT?= no .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no" USES+= desktop-file-utils qt:5 USE_QT= core gui network widgets \ buildtools_build linguisttools_build qmake_build BUILD_DEPENDS+= protoc:devel/protobuf LIB_DEPENDS+= libprotobuf.so:devel/protobuf TESTS_USES= qt:5 TESTS_USE= QT=testlib TESTS_PLIST_FILES= bin/test_${PORTNAME}-qt \ bin/test_${PORTNAME} .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 5.x or 6.x ZMQ_DESC= Block and transaction broadcasting with ZeroMQ DBUS_CONFIGURE_WITH= dbus 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_${PORTNAME} .endif TESTS_PLIST_FILES+= bin/bench_${PORTNAME} UPNP_CONFIGURE_WITH= miniupnpc UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc UPNP_CPPFLAGS= -I${LOCALBASE}/include UPNP_LIBS= -L${LOCALBASE}/lib QRCODES_CONFIGURE_WITH= qrencode QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode 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 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/${PORTNAME}-qt share/applications/${PORTNAME}-qt.desktop \ share/pixmaps/${PORTNAME}256.png .include .if ${PORT_OPTIONS:MWALLET_BDBMODERN} CONFIGURE_ARGS+= --enable-wallet --with-incompatible-bdb USES+= bdb:5+ .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}/${PORTNAME}-qt.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}256.png .endif regression-test: build # To use this sucessfully, remove --without-daemon and --without-utils # from CONFIGURE_ARGS above. @cd ${WRKSRC} && ${GMAKE} check .include