diff --git a/net-p2p/btcheck/Makefile b/net-p2p/btcheck/Makefile index 0b3dc6350895..ad7849605903 100644 --- a/net-p2p/btcheck/Makefile +++ b/net-p2p/btcheck/Makefile @@ -1,68 +1,64 @@ PORTNAME= btcheck PORTVERSION= 2.1 PORTREVISION= 2 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= BitTorrent data checker and torrent file content viewer WWW= https://sourceforge.net/projects/btcheck/ LICENSE= GPLv3 -DEPRECATED= Abandoned upstream and missing multiple features that modern torrent files/clients utilize, consider using net-p2p/intermodal -EXPIRATION_DATE=2025-04-30 - GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFLICTS_INSTALL= libbt # bin/btcheck PLIST_FILES= bin/btcheck share/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/mbedtls2 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/mktorrent/Makefile b/net-p2p/mktorrent/Makefile index 1e36c6b2fb8a..0212a8dd042b 100644 --- a/net-p2p/mktorrent/Makefile +++ b/net-p2p/mktorrent/Makefile @@ -1,42 +1,39 @@ PORTNAME= mktorrent PORTVERSION= 1.1 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= net-p2p -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danfe@FreeBSD.org COMMENT= Command-line utility for creating BitTorrent metainfo files WWW= https://github.com/Rudde/mktorrent LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -DEPRECATED= Abandonware, new upstream which also seems to have abandoned the project. Consider using net-p2p/mkbrr -EXPIRATION_DATE=2025-03-31 - 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/Makefile b/net-p2p/mldonkey/Makefile index 6dbd5a5fdb90..8a4df97487c1 100644 --- a/net-p2p/mldonkey/Makefile +++ b/net-p2p/mldonkey/Makefile @@ -1,160 +1,157 @@ PORTNAME= mldonkey DISTVERSION= 3.1.7-2 CATEGORIES+= net-p2p MASTER_SITES= https://github.com/ygrek/${PORTNAME}/releases/download/release-3-1-7-2/ MAINTAINER?= danfe@FreeBSD.org COMMENT?= Multi-protocol peer-to-peer client written in OCaml WWW= https://mldonkey.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/Copying.txt -DEPRECATED= Outdated and unsupported upstream -EXPIRATION_DATE=2025-04-30 - CONFLICTS= mldonkey{-{core,gui},}-devel BUILD_DEPENDS= ${LOCALBASE}/lib/ocaml/nums.cma:math/ocaml-num USES= compiler:c++11-lang cpe gmake iconv ocaml:camlp4 pkgconfig tar:bzip2 ARCH!= uname -p .if ${ARCH} == i386 || ${ARCH} == powerpc # `as' is used to compile src/utils/lib/md4_i386.s USE_BINUTILS= yes .endif USE_CXXSTD= c++14 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 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 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