Commit da865ce7 authored by Rene Ladan's avatar Rene Ladan
Browse files

cleanup: Remove expired zetacoin ports:

2023-06-01 net-p2p/zetacoin: Broken for nearly a year
2023-06-01 net-p2p/zetacoin-daemon: Broken for nearly a year
2023-06-01 net-p2p/zetacoin-utils: Broken for nearly a year
parent af014457
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7597,3 +7597,6 @@ net-mgmt/zabbix62-proxy|net-mgmt/zabbix64-proxy|2023-05-31|Has expired: Will rea
net-mgmt/zabbix62-server|net-mgmt/zabbix64-server|2023-05-31|Has expired: Will reach end of life on 2023-05-31
mail/esmtp||2023-05-31|Has expired: Upstream announced that this project is no longer being maintained. See https://esmtp.sourceforge.net/links.html for alternatives
ftp/ftpmirror||2023-05-31|Has expired: Abandonware
net-p2p/zetacoin||2023-06-01|Has expired: Broken for nearly a year
net-p2p/zetacoin-daemon||2023-06-01|Has expired: Broken for nearly a year
net-p2p/zetacoin-utils||2023-06-01|Has expired: Broken for nearly a year
+0 −3
Original line number Diff line number Diff line
@@ -109,8 +109,5 @@
    SUBDIR += vuze
    SUBDIR += xbt
    SUBDIR += xmrig
    SUBDIR += zetacoin
    SUBDIR += zetacoin-daemon
    SUBDIR += zetacoin-utils

.include <bsd.port.subdir.mk>

net-p2p/zetacoin-daemon/Makefile

deleted100644 → 0
+0 −35
Original line number Diff line number Diff line
MASTERDIR=	${.CURDIR}/../zetacoin
PORTREVISION=	2
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"

net-p2p/zetacoin-utils/Makefile

deleted100644 → 0
+0 −24
Original line number Diff line number Diff line
MASTERDIR=	${.CURDIR}/../zetacoin
PORTREVISION=	2
PKGNAMESUFFIX=	-utils

COMMENT=	Peer-to-Peer crypto currency with quick transactions (CLI and Utilities)
SLAVE_PORT=	yes

OPTIONS_DEFINE=		DEBUG HARDENING TESTS
OPTIONS_RADIO=
OPTIONS_DEFAULT=	HARDENING

PKGHELP=	${NONEXISTENT}

CONFIGURE_ARGS=	--without-daemon \
		--without-gui \
		--without-libs \
		--without-qrencode \
		--without-miniupnpc \
		--with-utils \
		--disable-wallet

PLIST_FILES=	bin/${PORTNAME}-cli bin/${PORTNAME}-tx

.include "${MASTERDIR}/Makefile"

net-p2p/zetacoin/Makefile

deleted100644 → 0
+0 −124
Original line number Diff line number Diff line
PORTNAME=	zetacoin
PORTVERSION=	0.13.2.1
DISTVERSIONPREFIX=	v
PORTREVISION=	9
CATEGORIES=	net-p2p finance

MAINTAINER=	daniel@morante.net
COMMENT=	Peer-to-Peer crypto currency with quick transactions
WWW=		https://github.com/zetacoin/zetacoin

LICENSE=	MIT

BROKEN=		error: use of undeclared identifier '_1'
DEPRECATED=	Broken for nearly a year
EXPIRATION_DATE=	2023-06-01

LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs \
		libevent.so:devel/libevent

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 <bsd.port.options.mk>

.if ${PORT_OPTIONS:MWALLET_BDBMODERN}
CONFIGURE_ARGS+=	--enable-wallet --with-incompatible-bdb
USES+=			bdb:5+
.else
CONFIGURE_ARGS+=	--disable-wallet
.endif

.include <bsd.port.pre.mk>

.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 <bsd.port.post.mk>
Loading