git: a747f1875481 - main - net/spread4: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 31 Dec 2023 00:07:19 UTC
The branch main has been updated by bofh:

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

commit a747f1875481115f54b8241173aebd6f1e936298
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-29 21:01:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-31 00:06:13 +0000

    net/spread4: Remove expired port
    
    2023-12-31 net/spread4: BROKEN on all supported versions after the EOL of 12
---
 MOVED                                            |  1 +
 net/Makefile                                     |  1 -
 net/spread4/Makefile                             | 57 ------------------------
 net/spread4/distinfo                             |  2 -
 net/spread4/files/patch-daemon__Makefile.in      | 11 -----
 net/spread4/files/patch-daemon__monitor.c        | 10 -----
 net/spread4/files/patch-docs__sample.spread.conf | 18 --------
 net/spread4/files/patch-docs__spmonitor.1        | 18 --------
 net/spread4/files/patch-docs__spread.1           | 18 --------
 net/spread4/files/patch-examples__Makefile.in    | 11 -----
 net/spread4/files/spread.in                      | 44 ------------------
 net/spread4/pkg-descr                            | 12 -----
 net/spread4/pkg-plist                            | 52 ---------------------
 13 files changed, 1 insertion(+), 254 deletions(-)

diff --git a/MOVED b/MOVED
index e390004c56a5..ec4389d385c9 100644
--- a/MOVED
+++ b/MOVED
@@ -8195,3 +8195,4 @@ cad/jspice3||2023-12-31|Has expired: BROKEN for more than 2 years on all support
 emulators/rtc||2023-12-31|Has expired: Driver doesn't actually work with current FreeBSD versions
 emulators/gngeo||2023-12-31|Has expired: BROKEN for more that 2 years after the EOL of 12
 net/rp-pppoe||2023-12-31|Has expired: Upstream restricting future OS support to Linux. Use net/mpd5 or pppoed instead. https://dianne.skoll.ca/pipermail/rp-pppoe/2023q2/000639.html
+net/spread4||2023-12-31|Has expired: BROKEN on all supported versions after the EOL of 12
diff --git a/net/Makefile b/net/Makefile
index acc7cb60053c..dc354fe5bbcc 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1493,7 +1493,6 @@
     SUBDIR += spoofer
     SUBDIR += spread
     SUBDIR += spread-j
-    SUBDIR += spread4
     SUBDIR += sqtop
     SUBDIR += srelay
     SUBDIR += ss5
diff --git a/net/spread4/Makefile b/net/spread4/Makefile
deleted file mode 100644
index 763987d28b4d..000000000000
--- a/net/spread4/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-PORTNAME=	spread4
-PORTVERSION=	4.2.0
-CATEGORIES=	net perl5
-MASTER_SITES=	LOCAL/ohauer
-DISTNAME=	spread-src-${PORTVERSION}
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Spread Group Communication System, a network toolkit
-WWW=		http://www.spread.org/
-
-DEPRECATED=	BROKEN on all supported versions after the EOL of 12
-EXPIRATION_DATE=	2023-12-31
-BROKEN_FreeBSD_13=	ld: error: duplicate symbol: yyin
-BROKEN_FreeBSD_14=	ld: error: duplicate symbol: yyin
-
-GNU_CONFIGURE=	yes
-USES=		gmake
-USE_RC_SUBR=	spread
-USE_LDCONFIG=	yes
-ALL_TARGET=	all
-
-USERS=		spread
-GROUPS=		spread
-RUNDIR=		/var/run/spread
-
-PLIST_SUB+=	USERS=${USERS} GROUPS=${GROUPS} RUNDIR=${RUNDIR}
-SUB_LIST+=	USERS=${USERS} GROUPS=${GROUPS}
-
-WRKSRC=		${WRKDIR}/spread-src-${PORTVERSION}
-
-PKGMESSAGE=	${WRKSRC}/license.txt
-LICENSE_FILE=	${WRKSRC}/license.txt
-OPTIONS_DEFINE=	DOCS
-PORTDOCS=	DynamicConfiguration.txt Flush_or_SpreadAPI.txt \
-		MultithreadedClients.txt Short_Buffer_Handling.txt \
-		TODO PORTING
-
-post-extract:
-	@${REINPLACE_CMD} -e 's|INSTALLSUBDIRS=daemon docs|INSTALLSUBDIRS=daemon|' \
-		${WRKSRC}/Makefile.in
-
-post-install:
-	(cd ${STAGEDIR}${PREFIX}/lib/ && ${STRIP_CMD} libspread.so.3.0.0 \
-		libspread-core.so.3.0.0 libtspread-core.so.3.0.0)
-	${INSTALL_DATA} ${WRKSRC}/docs/sample.spread.conf \
-		${STAGEDIR}${PREFIX}/etc/spread.conf.sample
-	${INSTALL_DATA} ${WRKSRC}/docs/sample.spread.access_ip \
-		${STAGEDIR}${PREFIX}/etc/spread.access_ip.sample
-	(cd ${WRKSRC} && ${INSTALL_DATA} docs/*.1 \
-		${STAGEDIR}${MANPREFIX}/man/man1)
-	(cd ${WRKSRC} && ${INSTALL_DATA} docs/*.3 \
-		${STAGEDIR}${MANPREFIX}/man/man3)
-	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${RUNDIR}
-	(cd ${WRKSRC}/docs && \
-		${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
-
-.include <bsd.port.mk>
diff --git a/net/spread4/distinfo b/net/spread4/distinfo
deleted file mode 100644
index 826ec7cfe4a8..000000000000
--- a/net/spread4/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (spread-src-4.2.0.tar.gz) = 0f234c211eadc26002e31343bdd1e343f4956f5665edd4db92751ef1d595bb5c
-SIZE (spread-src-4.2.0.tar.gz) = 736189
diff --git a/net/spread4/files/patch-daemon__Makefile.in b/net/spread4/files/patch-daemon__Makefile.in
deleted file mode 100644
index e5d39e6a4735..000000000000
--- a/net/spread4/files/patch-daemon__Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- daemon/Makefile.in.orig	2012-03-21 00:26:01.000000000 +0100
-+++ daemon/Makefile.in	2013-01-22 12:02:35.000000000 +0100
-@@ -30,7 +30,7 @@
- LIBSPREADUTIL_DIR=../libspread-util
- LIBSPREADUTIL_PATHS=-I$(LIBSPREADUTIL_DIR)/include -I$(top_srcdir)/libspread-util/include
- LIBSPREADUTIL_LDFLAGS=-rdynamic
--LIBSPREADUTIL_LIBS=-ldl
-+LIBSPREADUTIL_LIBS=
- 
- CC=@CC@
- LD=@LD@
diff --git a/net/spread4/files/patch-daemon__monitor.c b/net/spread4/files/patch-daemon__monitor.c
deleted file mode 100644
index 7036bb0900f8..000000000000
--- a/net/spread4/files/patch-daemon__monitor.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- daemon/monitor.c.orig	2012-03-21 04:17:52.000000000 +0100
-+++ daemon/monitor.c	2013-01-22 12:21:25.000000000 +0100
-@@ -39,6 +39,7 @@
- #include <string.h>
- #include <stdlib.h>
- #include <errno.h>
-+#include <sys/stdint.h>
- 
- #include "arch.h"
- #include "mutex.h"
diff --git a/net/spread4/files/patch-docs__sample.spread.conf b/net/spread4/files/patch-docs__sample.spread.conf
deleted file mode 100644
index 469af0d85b6d..000000000000
--- a/net/spread4/files/patch-docs__sample.spread.conf
+++ /dev/null
@@ -1,18 +0,0 @@
---- docs/sample.spread.conf.orig	2008-10-24 06:06:33.000000000 +0800
-+++ docs/sample.spread.conf	2008-10-24 06:07:28.000000000 +0800
-@@ -63,6 +63,7 @@
- # "spreadlog_machine2.mydomain.com.log" respectively.
- 
- #EventLogFile = testlog.out
-+EventLogFile = /var/log/spread/spread.log
- 
- #Set whether to add a timestamp in front of all logged events or not.
- # Default is no timestamps. Default format is "[%a %d %b %Y %H:%M:%S]".
-@@ -75,6 +76,7 @@
- #EventTimeStamp
- # or
- #EventTimeStamp = "[%a %d %b %Y %H:%M:%S]"
-+EventTimeStamp = "[%a %d %b %Y %H:%M:%S]"
- 
- #Set whether to allow dangerous monitor commands 
- # like "partition, flow_control, or kill"
diff --git a/net/spread4/files/patch-docs__spmonitor.1 b/net/spread4/files/patch-docs__spmonitor.1
deleted file mode 100644
index 982d5bb32913..000000000000
--- a/net/spread4/files/patch-docs__spmonitor.1
+++ /dev/null
@@ -1,18 +0,0 @@
---- docs/spmonitor.1	Thu Dec 13 02:01:49 2001
-+++ docs/spmonitor.1	Mon Dec  8 00:00:34 2003
-@@ -27,13 +27,11 @@
- Use an alternate configuration file
- .I config-file
- instead of
--.IR ./spread.conf .
-+.IR /etc/spread.conf .
- .SH FILES
--.I ./spread.conf
-+.I /etc/spread.conf
- .RS
- The default config file location. 
--.I /etc/spread.conf 
--is also searched if a local file is not found.
- .SH BUGS
- The spmonitor works by sending UDP packets to the Spread daemon, so if network 
- losses occur, commands or status reports can be lost. It can also lose reports
diff --git a/net/spread4/files/patch-docs__spread.1 b/net/spread4/files/patch-docs__spread.1
deleted file mode 100644
index 6dca20e2b73d..000000000000
--- a/net/spread4/files/patch-docs__spread.1
+++ /dev/null
@@ -1,18 +0,0 @@
---- docs/spread.1	Thu Dec 13 02:03:19 2001
-+++ docs/spread.1	Mon Dec  8 00:00:20 2003
-@@ -20,13 +20,11 @@
- Use an alternate configuration file
- .I config-file
- instead of
--.IR ./spread.conf .
-+.IR /etc/spread.conf .
- .SH FILES
--.I ./spread.conf
-+.I /etc/spread.conf
- .RS
- The default config file location. 
--.I /etc/spread.conf 
--is also searched if a local file is not found.
- .SH DIAGNOSTICS
- The daemon will output some startup information to stdout
- and any severe errors will also be output to stdout. Redirecting
diff --git a/net/spread4/files/patch-examples__Makefile.in b/net/spread4/files/patch-examples__Makefile.in
deleted file mode 100644
index e96d51bf0065..000000000000
--- a/net/spread4/files/patch-examples__Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- examples/Makefile.in.orig	2012-03-21 00:26:01.000000000 +0100
-+++ examples/Makefile.in	2013-01-22 12:02:41.000000000 +0100
-@@ -30,7 +30,7 @@
- LIBSPREADUTIL_DIR=../libspread-util
- LIBSPREADUTIL_PATHS=-I$(LIBSPREADUTIL_DIR)/include -I$(top_srcdir)/libspread-util/include
- LIBSPREADUTIL_LDFLAGS=-rdynamic
--LIBSPREADUTIL_LIBS=-ldl
-+LIBSPREADUTIL_LIBS=
- 
- CC=@CC@
- LD=@LD@
diff --git a/net/spread4/files/spread.in b/net/spread4/files/spread.in
deleted file mode 100644
index 3cc535b954c0..000000000000
--- a/net/spread4/files/spread.in
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: spread
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable spread:
-#
-# spread_enable="YES"
-# spread_flags="<set as needed>"
-#
-# See spread(1) for flags
-
-. /etc/rc.subr
-
-name=spread
-rcvar=spread_enable
-load_rc_config ${name}
-
-# set defaults
-spread_enable=${spread_enable:-"NO"}
-spread_user=%%USERS%%
-spread_group=%%GROUPS%%
-
-command="%%PREFIX%%/sbin/spread"
-required_files=%%PREFIX%%/etc/${name}.conf
-pidfile=/var/run/${name}.pid
-
-start_cmd=spread_start
-stop_postcmd=spread_cleanup
-
-spread_start() {
-	echo "Starting spread."
-	/usr/bin/install -o ${spread_user} -g ${spread_group} -d /var/log/spread
-	/usr/bin/touch ${pidfile} && /usr/sbin/chown ${spread_user}:${spread_group} ${pidfile}
-	/usr/sbin/daemon -cf -p ${pidfile} -u ${spread_user} ${command} ${spread_flags}
-}
-
-spread_cleanup() {
-	[ -f ${pidfile} ] && rm -f ${pidfile}
-}
-
-run_rc_command "$1"
diff --git a/net/spread4/pkg-descr b/net/spread4/pkg-descr
deleted file mode 100644
index dadec892d193..000000000000
--- a/net/spread4/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-Copyright (c) 1993-2002 Spread Concepts LLC. All rights reserved.
-This product uses software developed by Spread Concepts LLC for use in the
-Spread toolkit. For more information about Spread see http://www.spread.org/
-
-Spread is a toolkit and daemon that provide multicast and group communications
-support to applications across local and wide area networks. Spread is designed
-to make it easy to write groupware, networked multimedia, reliable server, and
-collaborative work applications.
-
-Spread consists of a library that user applications are linked with, a binary
-daemon which runs on each computer that is part of the processor group, and
-various utility and demonstration programs.
diff --git a/net/spread4/pkg-plist b/net/spread4/pkg-plist
deleted file mode 100644
index 5d833e7c8c37..000000000000
--- a/net/spread4/pkg-plist
+++ /dev/null
@@ -1,52 +0,0 @@
-bin/flush_user
-bin/spflooder
-bin/spmonitor
-bin/sptuser
-bin/spuser
-@sample etc/spread.access_ip.sample
-@sample etc/spread.conf.sample
-include/fl.h
-include/sp.h
-include/sp_events.h
-include/sp_func.h
-lib/libspread.a
-lib/libspread-core.a
-lib/libtspread-core.a
-lib/libspread.so
-lib/libspread.so.3
-lib/libspread.so.3.0.0
-lib/libspread-core.so
-lib/libspread-core.so.3
-lib/libspread-core.so.3.0.0
-lib/libtspread-core.so
-lib/libtspread-core.so.3
-lib/libtspread-core.so.3.0.0
-sbin/spread
-man/man1/spflooder.1.gz
-man/man1/spmonitor.1.gz
-man/man1/spread.1.gz
-man/man1/sptuser.1.gz
-man/man1/spuser.1.gz
-man/man3/SP_connect.3.gz
-man/man3/SP_disconnect.3.gz
-man/man3/SP_equal_group_ids.3.gz
-man/man3/SP_error.3.gz
-man/man3/SP_get_memb_info.3.gz
-man/man3/SP_get_vs_set_members.3.gz
-man/man3/SP_get_vs_sets_info.3.gz
-man/man3/SP_join.3.gz
-man/man3/SP_kill.3.gz
-man/man3/SP_leave.3.gz
-man/man3/SP_multicast.3.gz
-man/man3/SP_multigroup_multicast.3.gz
-man/man3/SP_multigroup_scat_multicast.3.gz
-man/man3/SP_poll.3.gz
-man/man3/SP_receive.3.gz
-man/man3/SP_scat_get_memb_info.3.gz
-man/man3/SP_scat_get_vs_set_members.3.gz
-man/man3/SP_scat_get_vs_sets_info.3.gz
-man/man3/SP_scat_multicast.3.gz
-man/man3/SP_scat_receive.3.gz
-man/man3/SP_version.3.gz
-man/man3/libspread.3.gz
-@dir(%%USERS%%,%%GROUPS%%,750) %%RUNDIR%%