git: b79e6e4c82aa - main - net/opentracker: Remove expired port:

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 00:02:17 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b79e6e4c82aad8a9de21a0bd18aec79950cd92d5

commit b79e6e4c82aad8a9de21a0bd18aec79950cd92d5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-20 23:40:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-21 00:01:44 +0000

    net/opentracker: Remove expired port:
    
    2023-03-21 net/opentracker: Broken since 2021
---
 MOVED                                     |  1 +
 net/Makefile                              |  1 -
 net/opentracker/Makefile                  | 80 -------------------------------
 net/opentracker/distinfo                  |  3 --
 net/opentracker/files/opentracker-ipv6.in | 31 ------------
 net/opentracker/files/opentracker.in      | 31 ------------
 net/opentracker/files/patch-Makefile      | 43 -----------------
 net/opentracker/pkg-descr                 |  4 --
 net/opentracker/pkg-message               | 28 -----------
 net/opentracker/pkg-plist                 |  4 --
 10 files changed, 1 insertion(+), 225 deletions(-)

diff --git a/MOVED b/MOVED
index 35a37552c160..9dcadfee5923 100644
--- a/MOVED
+++ b/MOVED
@@ -17813,3 +17813,4 @@ sysutils/geomWatch||2023-03-20|Has expired: Broken since 2021
 lang/visualworks||2023-03-20|Has expired: Broken since 2021
 lang/J||2023-03-20|Has expired: Broken since 2021
 net/rsocket-cpp||2023-03-20|Has expired: Broken since 2021
+net/opentracker||2023-03-20|Has expired: Broken since 2021
diff --git a/net/Makefile b/net/Makefile
index d66e4de1e96a..d20865669d0d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -580,7 +580,6 @@
     SUBDIR += openrsync
     SUBDIR += opensips31
     SUBDIR += openslp
-    SUBDIR += opentracker
     SUBDIR += openvswitch
     SUBDIR += ortp
     SUBDIR += osrtspproxy
diff --git a/net/opentracker/Makefile b/net/opentracker/Makefile
deleted file mode 100644
index 63ee46f7a1a6..000000000000
--- a/net/opentracker/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-PORTNAME=	opentracker
-PORTVERSION=	0.2017.08.13
-PORTREVISION=	2
-CATEGORIES=	net
-MASTER_SITES=	http://www.bayofrum.net/dist/${PORTNAME}/
-
-MAINTAINER=	crees@FreeBSD.org
-COMMENT=	Free lightweight bittorrent tracker using libowfat
-WWW=		https://erdgeist.org/arts/software/opentracker/
-
-BROKEN=		fails to link: duplicate symbol: first_deferred, known libowfat issue
-DEPRECATED=	Broken since 2021
-EXPIRATION_DATE=	2023-03-21
-
-BUILD_DEPENDS=	${LOCALBASE}/lib/libowfat.a:devel/libowfat
-
-USES=		tar:bzip2
-USE_RC_SUBR=	${PORTNAME} ${PORTNAME}-ipv6
-
-OPTIONS_DEFINE=	COMPRESSION_GZIP DEBUG_HTTPERROR FULLSCRAPE RESTRICT_STATS
-OPTIONS_SINGLE=	ACCESSLIST
-OPTIONS_SINGLE_ACCESSLIST=	ACCESSLIST_OPEN ACCESSLIST_BLACK \
-				ACCESSLIST_WHITE
-
-OPTIONS_DEFAULT=	FULLSCRAPE RESTRICT_STATS ACCESSLIST_OPEN
-
-ACCESSLIST_OPEN_DESC=	Disable black/whitelisting
-ACCESSLIST_BLACK_DESC=	Enable client blacklisting
-ACCESSLIST_WHITE_DESC=	Enable client whitelisting
-COMPRESSION_GZIP_DESC=	Deliver gzip compressed full scrapes
-DEBUG_HTTPERROR_DESC=	Verbose HTTPERRORs
-FULLSCRAPE_DESC=	Can query tracker for all torrents
-RESTRICT_STATS_DESC=	Limit stats access based on IP
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MACCESSLIST_BLACK}
-FEATURES+=-DWANT_ACCESSLIST_BLACK
-.elif ${PORT_OPTIONS:MACCESSLIST_WHITE}
-FEATURES+=-DWANT_ACCESSLIST_WHITE
-.endif
-
-.if ${PORT_OPTIONS:MCOMPRESSION_GZIP}
-FEATURES+=-DWANT_COMPRESSION_GZIP
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG_HTTPERROR}
-FEATURES+=-D_DEBUG_HTTPERROR
-.endif
-
-.if ${PORT_OPTIONS:MFULLSCRAPE}
-FEATURES+=-DWANT_FULLSCRAPE
-.endif
-
-.if ${PORT_OPTIONS:MRESTRICT_STATS}
-FEATURES+=-DWANT_RESTRICT_STATS
-.endif
-
-MAKE_ENV+=FEATURES="${FEATURES}"
-
-post-patch:
-	@${FIND} ${WRKSRC} -name "*.orig" -delete
-	${LN} ${WRKSRC}/opentracker.c ${WRKSRC}/opentracker-ipv6.c
-
-do-build:
-	${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${BUILD_WRKSRC} -DWANT_V6 \
-		BINARY=opentracker-ipv6
-	${MAKE_CMD} -C ${BUILD_WRKSRC} clean
-	${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${BUILD_WRKSRC}
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-ipv6 ${STAGEDIR}${PREFIX}/bin/
-	${MKDIR} ${STAGEDIR}${ETCDIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample \
-		${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample \
-		${STAGEDIR}${ETCDIR}/${PORTNAME}-ipv6.conf.sample
-
-.include <bsd.port.mk>
diff --git a/net/opentracker/distinfo b/net/opentracker/distinfo
deleted file mode 100644
index fdd7b9ca9799..000000000000
--- a/net/opentracker/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1502634309
-SHA256 (opentracker-0.2017.08.13.tar.bz2) = 3795a2aebaa4abc6d100e5cb510d2646a60624fb87cf770df547c0d8b428fe3e
-SIZE (opentracker-0.2017.08.13.tar.bz2) = 277504
diff --git a/net/opentracker/files/opentracker-ipv6.in b/net/opentracker/files/opentracker-ipv6.in
deleted file mode 100644
index 628e6b7cecc9..000000000000
--- a/net/opentracker/files/opentracker-ipv6.in
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: opentracker_ipv6
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-# Add the following lines to /etc/rc.conf or /etc/rc.conf.local to
-# enable opentracker:
-# opentracker_ipv6_enable (bool):	Set to "NO" by default.
-# opentracker_ipv6_config (path):	Set to 
-#			"%%PREFIX%%/etc/opentracker/opentracker-ipv6.conf"
-#				by default
-
-. /etc/rc.subr
-
-name=opentracker_ipv6
-rcvar=opentracker_ipv6_enable
-desc="Lightweight Bittorrent tracker"
-
-load_rc_config $name
-
-: ${opentracker_ipv6_enable:=NO}
-: ${opentracker_ipv6_config:="%%PREFIX%%/etc/opentracker/opentracker-ipv6.conf"}
-
-command=/usr/sbin/daemon
-pidfile=/var/run/opentracker-ipv6.pid
-command_args="-p $pidfile %%PREFIX%%/bin/opentracker-ipv6 -f ${opentracker_ipv6_config}"
-procname="%%PREFIX%%/bin/opentracker-ipv6"
-required_files=${opentracker_ipv6_config}
-
-run_rc_command $1
diff --git a/net/opentracker/files/opentracker.in b/net/opentracker/files/opentracker.in
deleted file mode 100644
index 579913193e19..000000000000
--- a/net/opentracker/files/opentracker.in
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: opentracker
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-# Add the following lines to /etc/rc.conf or /etc/rc.conf.local to
-# enable opentracker:
-# opentracker_enable (bool):	Set to "NO" by default.
-# opentracker_config (path):	Set to 
-#			"%%PREFIX%%/etc/opentracker/opentracker.conf"
-#			by default
-
-. /etc/rc.subr
-
-name=opentracker
-rcvar=opentracker_enable
-desc="Lightweight Bittorrent tracker"
-
-load_rc_config $name
-
-: ${opentracker_enable:=NO}
-: ${opentracker_config:="%%PREFIX%%/etc/opentracker/opentracker-ipv6.conf"}
-
-command=/usr/sbin/daemon
-pidfile=/var/run/opentracker.pid
-command_args="-p $pidfile %%PREFIX%%/bin/opentracker -f ${opentracker_config}"
-procname="%%PREFIX%%/bin/opentracker"
-required_files=${opentracker_config}
-
-run_rc_command $1
diff --git a/net/opentracker/files/patch-Makefile b/net/opentracker/files/patch-Makefile
deleted file mode 100644
index 8ec3d77678fa..000000000000
--- a/net/opentracker/files/patch-Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-diff --git a/Makefile b/Makefile
-index da2c8f1..9b16f13 100644
---- Makefile
-+++ Makefile
-@@ -8,14 +8,14 @@ CC?=gcc
- # LIBOWFAT_LIBRARY=$(PREFIX)/lib
- 
- # BSD flavour
--# PREFIX?=/usr/local
--# LIBOWFAT_HEADERS=$(PREFIX)/include/libowfat
--# LIBOWFAT_LIBRARY=$(PREFIX)/lib
-+PREFIX?=/usr/local
-+LIBOWFAT_HEADERS=$(PREFIX)/include/libowfat
-+LIBOWFAT_LIBRARY=$(PREFIX)/lib
- 
- # Debug flavour
--PREFIX?=..
--LIBOWFAT_HEADERS=$(PREFIX)/libowfat
--LIBOWFAT_LIBRARY=$(PREFIX)/libowfat
-+#PREFIX?=..
-+#LIBOWFAT_HEADERS=$(PREFIX)/libowfat
-+#LIBOWFAT_LIBRARY=$(PREFIX)/libowfat
- 
- BINDIR?=$(PREFIX)/bin
- 
-@@ -37,7 +37,7 @@ BINDIR?=$(PREFIX)/bin
- #FEATURES+=-DWANT_SPOT_WOODPECKER
- #FEATURES+=-DWANT_SYSLOGS
- #FEATURES+=-DWANT_DEV_RANDOM
--FEATURES+=-DWANT_FULLSCRAPE
-+#FEATURES+=-DWANT_FULLSCRAPE
- 
- #FEATURES+=-D_DEBUG_HTTPERROR
- 
-@@ -59,7 +59,7 @@ OBJECTS_proxy_debug = $(SOURCES_proxy:%.c=%.debug.o)
- 
- .SUFFIXES: .debug.o .o .c
- 
--all: $(BINARY) $(BINARY).debug
-+all: $(BINARY)
- 
- CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES)
- CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
diff --git a/net/opentracker/pkg-descr b/net/opentracker/pkg-descr
deleted file mode 100644
index 27f46b60bb89..000000000000
--- a/net/opentracker/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-opentracker is a open and free bittorrent tracker project.
-It aims for minimal resource usage and is intended to run
-at your wlan router. Currently it is deployed as an open and
-free tracker instance.
diff --git a/net/opentracker/pkg-message b/net/opentracker/pkg-message
deleted file mode 100644
index 811b11425603..000000000000
--- a/net/opentracker/pkg-message
+++ /dev/null
@@ -1,28 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-This tracker is open in a sense that everyone announcing a torrent is welcome
-to do so and will be informed about anyone else announcing the same torrent.
-Unless -DWANT_IP_FROM_QUERY_STRING is enabled (which is meant for debugging
-purposes only), only source IPs are accepted. The tracker implements a minimal
-set of essential features only but was able respond to far more than 10000
-requests per second on a Sun Fire 2200 M2 (thats where we found no more clients
-able to fire more of our testsuite.sh script).
-
-Some tweaks you may want to try under FreeBSD:
-
-sysctl kern.ipc.somaxconn=1024
-sysctl kern.ipc.nmbclusters=32768
-sysctl net.inet.tcp.msl=10000
-sysctl kern.maxfiles=10240
-
-In order to enable opentracker at boot time;
-
-# sysrc opentracker_enable=yes
-
-Or
-
-# sysrc opentracker_ipv6_enable=yes
-EOM
-}
-]
diff --git a/net/opentracker/pkg-plist b/net/opentracker/pkg-plist
deleted file mode 100644
index 0ad006917720..000000000000
--- a/net/opentracker/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/opentracker
-bin/opentracker-ipv6
-@sample %%ETCDIR%%/opentracker.conf.sample
-@sample %%ETCDIR%%/opentracker-ipv6.conf.sample