git: e1b0975c8fe1 - main - sysutils/atitvout: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 30 Apr 2024 20:31:42 UTC
The branch main has been updated by rene:

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

commit e1b0975c8fe1d2f4b534a761e20d9152169961da
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-04-30 20:31:36 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-04-30 20:31:36 +0000

    sysutils/atitvout: Remove expired port
    
    2024-04-30 sysutils/atitvout: Obsolete, utility for hardware released over 20 years ago
---
 MOVED                                      |  1 +
 sysutils/Makefile                          |  1 -
 sysutils/atitvout/Makefile                 | 25 --------------
 sysutils/atitvout/distinfo                 |  2 --
 sysutils/atitvout/files/patch-Makefile.bsd | 25 --------------
 sysutils/atitvout/files/patch-atitvout.c   | 52 ------------------------------
 sysutils/atitvout/files/patch-test.sh      |  8 -----
 sysutils/atitvout/pkg-descr                |  3 --
 8 files changed, 1 insertion(+), 116 deletions(-)

diff --git a/MOVED b/MOVED
index be5b978c7d0c..16892a35059b 100644
--- a/MOVED
+++ b/MOVED
@@ -3213,3 +3213,4 @@ misc/firestring||2024-04-30|Has expired: Upstream is gone and last release in 20
 dns/firedns||2024-04-30|Has expired: Abandonware, upstream is gone and last release in 2004 and it also depends on unfetchable misc/firestring. Consider dns/c-ares
 sysutils/libretto-config||2024-04-30|Has expired: Utility for obsolete hardware released 20 years ago
 sysutils/dolly||2024-04-30|Has expired: Abandonware, upstream is gone
+sysutils/atitvout||2024-04-30|Has expired: Obsolete, utility for hardware released over 20 years ago
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 70819b03fc0c..0b609f588692 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -72,7 +72,6 @@
     SUBDIR += atf-rk3399
     SUBDIR += atf-sun50i_a64
     SUBDIR += atf-sun50i_h6
-    SUBDIR += atitvout
     SUBDIR += atop
     SUBDIR += auto-admin
     SUBDIR += autojump
diff --git a/sysutils/atitvout/Makefile b/sysutils/atitvout/Makefile
deleted file mode 100644
index ebd4cdbaf962..000000000000
--- a/sysutils/atitvout/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-PORTNAME=	atitvout
-PORTVERSION=	0.4
-CATEGORIES=	sysutils
-MASTER_SITES=	http://0pointer.de/lennart/projects/atitvout/ \
-		http://am-productions.biz/docs/
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Toggle TV Out on Mach64 graphics cards
-WWW=		https://0pointer.de/lennart/projects/atitvout/
-
-LICENSE=	GPLv2
-
-DEPRECATED=	Obsolete, utility for hardware released over 20 years ago
-EXPIRATION_DATE=2024-04-30
-
-ONLY_FOR_ARCHS=	i386
-
-LIB_DEPENDS=	liblrmi.so:devel/lrmi
-
-WRKSRC=		${WRKDIR}/atitvout
-MAKEFILE=	Makefile.bsd
-
-PLIST_FILES+=	sbin/atitvout
-
-.include <bsd.port.mk>
diff --git a/sysutils/atitvout/distinfo b/sysutils/atitvout/distinfo
deleted file mode 100644
index 7701ee633bbc..000000000000
--- a/sysutils/atitvout/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (atitvout-0.4.tar.gz) = 0c4021f44cd74f59e6a13b177d09be8eef4be4375b98a0967d8b5990126c0487
-SIZE (atitvout-0.4.tar.gz) = 27163
diff --git a/sysutils/atitvout/files/patch-Makefile.bsd b/sysutils/atitvout/files/patch-Makefile.bsd
deleted file mode 100644
index 97357dcc9eec..000000000000
--- a/sysutils/atitvout/files/patch-Makefile.bsd
+++ /dev/null
@@ -1,25 +0,0 @@
---- Makefile.bsd.orig	Tue Jan 31 12:52:42 2006
-+++ Makefile.bsd	Tue Jan 31 14:18:23 2006
-@@ -0,0 +1,22 @@
-+VERSION=	0.4-bsd2
-+PREFIX?=	/usr/local
-+CFLAGS+=	-DVERSION=\"${VERSION}\" ${INC}
-+LIBS+=	-L${LOCALBASE}/lib -llrmi
-+OS!=	uname -s
-+.if ${OS}=="NetBSD" || ${OS}=="OpenBSD"
-+LIBS+=	-li386
-+.endif
-+OBJS+=	atitvout.o ati.o vbeinfo.o vbecall.o mach64.o radeon.o
-+INC+=	-I${LOCALBASE}/include/lrmi
-+PROG=	atitvout
-+
-+all: ${PROG}
-+
-+${PROG}: ${OBJS}
-+	${CC} ${LDFLAGS} ${OBJS} -o ${PROG} ${LIBS}
-+
-+install:
-+	install -m 555 ${PROG} ${DESTDIR}${PREFIX}/sbin
-+
-+clean:
-+	rm -rf ${OBJS} ${PROG}
diff --git a/sysutils/atitvout/files/patch-atitvout.c b/sysutils/atitvout/files/patch-atitvout.c
deleted file mode 100644
index 7c9b809f7cce..000000000000
--- a/sysutils/atitvout/files/patch-atitvout.c
+++ /dev/null
@@ -1,52 +0,0 @@
---- atitvout.c	Tue Sep 17 02:37:08 2002
-+++ ./atitvout.c	Sun Sep 12 00:42:56 2004
-@@ -17,10 +17,14 @@
-  */
- 
- #include <stdio.h>
--#include <sys/io.h>
- #include <string.h>
- #include <assert.h>
- 
-+#if defined(__linux__)
-+#include <sys/io.h>
-+#elif defined(__NetBSD__) || defined(__FreeBSD__)
-+#include <machine/sysarch.h>
-+#endif
- 
- #include <lrmi.h>
- #include <vbe.h>
-@@ -92,14 +96,24 @@
-     char **c = argv+1;
-     char oem[256];
-     int vh, vl;
-+#if defined(__NetBSD__)
-+    unsigned long iomap[32];
-+#endif
- 
-     if (argc <= 1) {
-         help(argv[0]);
-         return 0;
-     }
-     
-+#if defined(__linux__)
-     ioperm(0, 1024, 1);
-     iopl(3);
-+#elif defined(__NetBSD__)
-+	memset(&iomap[0], 0xff, sizeof(iomap));
-+	i386_set_ioperm(iomap);
-+#elif defined(__FreeBSD__)
-+	i386_set_ioperm(0, 0x10000, 1);
-+#endif
- 
-     if (!LRMI_init()) {
-         fprintf(stderr, "Could not initialise LRMI.\n");
-@@ -118,6 +132,8 @@
-     } else {
-         if (strncmp(oem, "ATI MACH64", 10) == 0)
-             radeon = 0;
-+		else if (strcmp(oem, "ATI MOBILITY RADEON 9000") == 0)
-+			radeon = 0;
-         else if (strncmp(oem, "ATI RAGE128", 11) == 0)
-             radeon = 1;
-         /* Note: Also it's possible to have here 'RG6' for first radeons */
diff --git a/sysutils/atitvout/files/patch-test.sh b/sysutils/atitvout/files/patch-test.sh
deleted file mode 100644
index 6064299f60b8..000000000000
--- a/sysutils/atitvout/files/patch-test.sh
+++ /dev/null
@@ -1,8 +0,0 @@
---- test.sh	Mon Jan  7 22:05:20 2002
-+++ ./test.sh	Sun Sep 12 00:42:56 2004
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- 
- testit () {
- 	echo "TEST: Running 'atitvout $FLAG $1' ..."
diff --git a/sysutils/atitvout/pkg-descr b/sysutils/atitvout/pkg-descr
deleted file mode 100644
index e3c141c99c28..000000000000
--- a/sysutils/atitvout/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-This utility program may be used for configuring the TV Out connector
-of ATI Rage Mobility P/M graphics boards under FreeBSD on x86. Supports
-switching the used TV standard from NTSC to PAL.