git: f0b52dbdf09a - main - multimedia/spook: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 31 Mar 2025 14:39:10 UTC
The branch main has been updated by rene:

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

commit f0b52dbdf09a95a9e212ad3399ccfa2c5b08e5ae
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-03-31 14:39:03 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-03-31 14:39:03 +0000

    multimedia/spook: Remove expired port
    
    2025-03-31 multimedia/spook: Abandonware and obsolete, consider using multimedia/ffmpeg or multimedia/vlc
---
 MOVED                                     |  1 +
 multimedia/Makefile                       |  1 -
 multimedia/spook/Makefile                 | 61 -------------------------------
 multimedia/spook/distinfo                 |  2 -
 multimedia/spook/files/patch-bswap.h      | 14 -------
 multimedia/spook/files/patch-configure.ac | 19 ----------
 multimedia/spook/files/patch-input-oss.c  | 14 -------
 multimedia/spook/files/patch-md5.c        | 14 -------
 multimedia/spook/files/patch-tcp.c        | 11 ------
 multimedia/spook/files/pkg-message.in     | 11 ------
 multimedia/spook/pkg-descr                |  4 --
 11 files changed, 1 insertion(+), 151 deletions(-)

diff --git a/MOVED b/MOVED
index b4e449476b07..05e4c2012ab0 100644
--- a/MOVED
+++ b/MOVED
@@ -4243,3 +4243,4 @@ multimedia/gdialog||2025-03-31|Has expired: Support for a 20 year old obsolete S
 multimedia/emovix||2025-03-31|Has expired: Abandonware, uses over a decade year old software and no support for anything recent
 textproc/m17n-im-config||2025-03-31|Has expired: Upstream disapeared and distfile is no more available
 databases/pgfouine||2025-03-31|Has expired: Upstream project disappeared in 2010
+multimedia/spook||2025-03-31|Has expired: Abandonware and obsolete, consider using multimedia/ffmpeg or multimedia/vlc
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 80a902575ca6..6a5d566098d1 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -356,7 +356,6 @@
     SUBDIR += smplayer-skins
     SUBDIR += smplayer-themes
     SUBDIR += snapcast
-    SUBDIR += spook
     SUBDIR += streamlink
     SUBDIR += subtitlecomposer
     SUBDIR += subtitleoffsetmodifier
diff --git a/multimedia/spook/Makefile b/multimedia/spook/Makefile
deleted file mode 100644
index ca5c97d026e3..000000000000
--- a/multimedia/spook/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-PORTNAME=	spook
-PORTVERSION=	20050207
-PORTREVISION=	5
-CATEGORIES=	multimedia
-MASTER_SITES=	http://www.litech.org/spook/dist/
-
-MAINTAINER=	mizhka@gmail.com
-COMMENT=	Embedded RTP/RTSP/HTTP video streamer
-WWW=		http://www.litech.org/spook/
-
-LICENSE=	GPLv2
-
-DEPRECATED=	Abandonware and obsolete, consider using multimedia/ffmpeg or multimedia/vlc
-EXPIRATION_DATE=2025-03-31
-
-# TODO: FireWire IIDC support (needs libraw1394, libdc1394).
-# TODO: Test with Luigi-ified V4L input drivers e.g. pwc, etc.
-OPTIONS_DEFINE=	JPEG MPEG4 V4L DOCS
-OPTIONS_DEFAULT=	MPEG4 V4L
-
-MPEG4_DESC=	MPEG4 encoding support
-V4L_DESC=	V4L input support
-
-USES=		autoreconf tar:bzip2 gmake
-USE_CSTD=	gnu89
-GNU_CONFIGURE=	yes
-
-SUB_FILES=	pkg-message
-
-LDFLAGS+=	-L${LOCALBASE}/lib
-CFLAGS+=	-I${LOCALBASE}/include
-
-PLIST_FILES=	bin/spook bin/spookctl etc/spook.conf.dist
-PORTDOCS=	*
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MJPEG}
-USES+=		jpeg
-CONFIGURE_ARGS+=	--enable-encoder-jpeg
-.endif
-
-.if ${PORT_OPTIONS:MMPEG4}
-LIB_DEPENDS+=		libxvidcore.so:multimedia/xvid
-CONFIGURE_ARGS+=	--enable-encoder-mpeg4
-.endif
-
-.if ${PORT_OPTIONS:MV4L}
-LIB_DEPENDS+=		libv4l1.so:multimedia/libv4l
-BUILD_DEPENDS+=		${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
-CONFIGURE_ARGS+=	--enable-input-v4l2 --enable-input-v4l
-.endif
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/spook ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/spookctl ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/spook.conf.dist ${STAGEDIR}${PREFIX}/etc
-
-.include <bsd.port.mk>
diff --git a/multimedia/spook/distinfo b/multimedia/spook/distinfo
deleted file mode 100644
index 9a5d0d518ebd..000000000000
--- a/multimedia/spook/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (spook-20050207.tar.bz2) = ddc91a8034f05cfd5637026a4d0a1a0e8b039df7cdf34d54b98d5bf6615ebc1f
-SIZE (spook-20050207.tar.bz2) = 160378
diff --git a/multimedia/spook/files/patch-bswap.h b/multimedia/spook/files/patch-bswap.h
deleted file mode 100644
index 66f8cea94cb1..000000000000
--- a/multimedia/spook/files/patch-bswap.h
+++ /dev/null
@@ -1,14 +0,0 @@
---- bswap.h.orig	2005-02-08 02:20:14 UTC
-+++ bswap.h
-@@ -6,7 +6,11 @@
- #ifndef __BSWAP_H__
- #define __BSWAP_H__
- 
-+#ifdef __FreeBSD__
-+#include <sys/endian.h>
-+#else
- #include <endian.h>
-+#endif
- #if __BYTE_ORDER == __BIG_ENDIAN
- #define WORDS_BIGENDIAN
- #endif
diff --git a/multimedia/spook/files/patch-configure.ac b/multimedia/spook/files/patch-configure.ac
deleted file mode 100644
index 205d66bcf531..000000000000
--- a/multimedia/spook/files/patch-configure.ac
+++ /dev/null
@@ -1,19 +0,0 @@
---- configure.ac.orig	2005-02-08 02:23:54 UTC
-+++ configure.ac
-@@ -55,7 +55,7 @@ AC_ARG_ENABLE(encoder-jpeg,
- 	[enable_encoder_jpeg=auto])
- 
- case $host in
--	*-*-linux*)
-+	*-*-linux*|*freebsd*)
- 		if test x$enable_input_vdig = xyes; then
- 			AC_MSG_ERROR([QuickTime digitizer support is only available on Mac OS X])
- 		fi
-@@ -116,6 +116,7 @@ if test x$enable_input_v4l != xno; then
- 		]]),
- 	[
- 		AC_MSG_RESULT(yes)
-+		LIBS="-lv4l1 $LIBS"
- 		build_input_v4l=true
- 		AC_MSG_CHECKING([for pwc-ioctl.h in the kernel source tree])
- 		if test -d $linux_source/drivers/usb/media; then
diff --git a/multimedia/spook/files/patch-input-oss.c b/multimedia/spook/files/patch-input-oss.c
deleted file mode 100644
index 10910b9ce97a..000000000000
--- a/multimedia/spook/files/patch-input-oss.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- input-oss.c.orig	2004-12-06 05:58:04 UTC
-+++ input-oss.c
-@@ -28,7 +28,11 @@
- #include <errno.h>
- #include <pthread.h>
- 
-+#ifdef __FreeBSD__
-+#include <sys/soundcard.h>
-+#else
- #include <linux/soundcard.h>
-+#endif
- 
- #include <event.h>
- #include <log.h>
diff --git a/multimedia/spook/files/patch-md5.c b/multimedia/spook/files/patch-md5.c
deleted file mode 100644
index 513bbe4fe5d1..000000000000
--- a/multimedia/spook/files/patch-md5.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- md5.c.orig	2004-12-09 18:09:09 UTC
-+++ md5.c
-@@ -21,7 +21,11 @@
- #include <string.h>
- #include <sys/types.h>
- 
-+#ifdef __FreeBSD__
-+#include <machine/endian.h>
-+#else
- #include <endian.h>
-+#endif
- #if __BYTE_ORDER == __BIG_ENDIAN
- #define WORDS_BIGENDIAN
- #endif
diff --git a/multimedia/spook/files/patch-tcp.c b/multimedia/spook/files/patch-tcp.c
deleted file mode 100644
index 939f7f288c96..000000000000
--- a/multimedia/spook/files/patch-tcp.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- tcp.c.orig	2004-12-29 02:33:21 UTC
-+++ tcp.c
-@@ -454,7 +454,7 @@ static void do_accept( struct event_info
- 				strerror( errno ) );
- 
- 	i = 1;
--	if( setsockopt( fd, SOL_TCP, TCP_NODELAY, &i, sizeof( i ) ) < 0 )
-+	if( setsockopt( fd, IPPROTO_TCP, TCP_NODELAY, &i, sizeof( i ) ) < 0 )
- 		spook_log( SL_INFO, "error setting TCP_NODELAY on socket: %s",
- 				strerror( errno ) );
- 
diff --git a/multimedia/spook/files/pkg-message.in b/multimedia/spook/files/pkg-message.in
deleted file mode 100644
index db0f03f59544..000000000000
--- a/multimedia/spook/files/pkg-message.in
+++ /dev/null
@@ -1,11 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-Please copy %%PREFIX%%/etc/spook.conf.dist to %%PREFIX%%/etc/spook.conf
-and edit before running spook.
-
-There is no daemonization support or rc script for spook yet,
-please feel free to contribute patches.
-EOM
-}
-]
diff --git a/multimedia/spook/pkg-descr b/multimedia/spook/pkg-descr
deleted file mode 100644
index b5e81fed6d32..000000000000
--- a/multimedia/spook/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Spook is a Linux server application to capture live video and audio
-and stream it over an IP network. Currently, Spook supports capturing
-from a Firewire IIDC camera or Video4Linux(2) source and streaming
-MPEG4 with RTSP or JPEG stills with HTTP.