freebsd-ports/net-p2p/btcheck/Makefile
Stefan Eßer bcaf25a8c8 Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.

This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.

Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
cannot conflict with itself (due to logic in bsd.port.mk that
supresses the pattern match result in that case).

A few ports that set the conflicts variables depending on complex
conditions (e.g. port options), have been left unmodified, despite
probably containing outdated package names.

These changes should only affect the installation of locally built
ports, not the package building with poudriere. They should give an
early indication of the install conflict in cases where currently
the pkg command aborts an installation when it detects that an
existing file would be overwritten,

Approved by:	portmgr (implicit)
2022-01-10 16:15:39 +01:00

64 lines
1.8 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= btcheck
PORTVERSION= 2.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 <bsd.port.mk>