git: c554328672a0 - main - comms/uartlirc: Remove expired port

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

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

commit c554328672a04c52ce5ac373fe927a6d91a6996e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-30 04:14:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-31 00:06:27 +0000

    comms/uartlirc: Remove expired port
    
    2023-12-31 comms/uartlirc: BROKEN on all supported versions for more than 2 years after the EOL of 12
---
 MOVED                                         |  1 +
 comms/Makefile                                |  1 -
 comms/uartlirc/Makefile                       | 40 ---------------------------
 comms/uartlirc/distinfo                       |  2 --
 comms/uartlirc/files/patch-Makefile           | 23 ---------------
 comms/uartlirc/files/patch-uartlirc_lircdev.c | 20 --------------
 comms/uartlirc/files/patch-uartlirc_subr.c    | 20 --------------
 comms/uartlirc/files/patch-uartlirc_tty.c     | 20 --------------
 comms/uartlirc/pkg-descr                      | 20 --------------
 9 files changed, 1 insertion(+), 146 deletions(-)

diff --git a/MOVED b/MOVED
index 26fb29f8b525..19d8f3fd904e 100644
--- a/MOVED
+++ b/MOVED
@@ -8245,3 +8245,4 @@ java/wildfly10||2023-12-31|Has expired: End of life upstream
 graphics/xfpovray||2023-12-31|Has expired: BROKEN for more than 2 years on all supported versions after the EOL of 12
 audio/mp3splt-gtk||2023-12-31|Has expired: BROKEN on all supported versions for more than 2 years after the EOL of 12
 audio/mp3info||2023-12-31|Has expired: Last release in 2006 and lacks support for ID3v2
+comms/uartlirc||2023-12-31|Has expired: BROKEN on all supported versions for more than 2 years after the EOL of 12
diff --git a/comms/Makefile b/comms/Makefile
index 571d24c0d217..1e6ef5c2c4e0 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -199,7 +199,6 @@
     SUBDIR += trustedqsl
     SUBDIR += twpsk
     SUBDIR += uarduno
-    SUBDIR += uartlirc
     SUBDIR += uhd
     SUBDIR += uird
     SUBDIR += ujprog
diff --git a/comms/uartlirc/Makefile b/comms/uartlirc/Makefile
deleted file mode 100644
index a51fdc4b85aa..000000000000
--- a/comms/uartlirc/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-PORTNAME=	uartlirc
-PORTVERSION=	0.3
-PORTREVISION=	2
-CATEGORIES=	comms
-MASTER_SITES=	LOCAL/nox \
-		http://people.freebsd.org/~nox/tmp/
-DISTNAME=	${PORTNAME}-preliminary-003
-EXTRACT_SUFX=	.shar
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Driver for "homebrew" serial LIRC receivers
-WWW=		https://forums.freebsd.org/viewtopic.php?t=31610
-
-DEPRECATED=	BROKEN on all supported versions for more than 2 years after the EOL of 12
-EXPIRATION_DATE=	2023-12-31
-BROKEN_aarch64=		fails to compile: uartlirc_core.c:273:19: expected expression
-BROKEN_armv6=		fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
-BROKEN_powerpc64=	fails to compile: uart.h: No such file or directory
-BROKEN_powerpc64le=	fails to compile: uart.h: No such file or directory
-BROKEN_riscv64=		fails to compile: uartlirc_core.c:273:19: expected expression
-BROKEN_sparc64=		fails to build
-BROKEN_FreeBSD_13=	fails to compile: uartlirc_bus_scc.c:101:7: use of undeclared identifier 'SCC_CLASS_SAB82532'
-BROKEN_FreeBSD_14=	fails to compile: uartlirc_bus_scc.c:101:7: use of undeclared identifier 'SCC_CLASS_SAB82532'
-
-USES=		kmod
-
-CFLAGS+=	${DEBUG_FLAGS}
-
-EXTRACT_CMD=	${SH}
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS=
-
-WRKSRC=		${WRKDIR}/${PORTNAME}
-
-PLIST_FILES+=	${KMODDIR}/${PORTNAME}.ko
-
-do-install:
-	${INSTALL} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}
-
-.include <bsd.port.mk>
diff --git a/comms/uartlirc/distinfo b/comms/uartlirc/distinfo
deleted file mode 100644
index bca798e6e9f6..000000000000
--- a/comms/uartlirc/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (uartlirc-preliminary-003.shar) = 3d65bbb8448760a1cbb42d4ea9517fe06689a20b363b5fef90358cc24cb399e1
-SIZE (uartlirc-preliminary-003.shar) = 254995
diff --git a/comms/uartlirc/files/patch-Makefile b/comms/uartlirc/files/patch-Makefile
deleted file mode 100644
index 997762f06bfc..000000000000
--- a/comms/uartlirc/files/patch-Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
---- Makefile.orig
-+++ Makefile
-@@ -26,10 +26,10 @@ MFILES= dev/pccard/card_if.m dev/pccard/
- 	kern/device_if.m kern/serdev_if.m
- 
- uartlirc_if.h: uartlirc_if.m
--	${AWK} -f @/tools/makeobjops.awk uartlirc_if.m -h
-+	${AWK} -f ${SYSDIR}/tools/makeobjops.awk uartlirc_if.m -h
- 
- uartlirc_if.c: uartlirc_if.m
--	${AWK} -f @/tools/makeobjops.awk uartlirc_if.m -c
-+	${AWK} -f ${SYSDIR}/tools/makeobjops.awk uartlirc_if.m -c
- 
- devuart:
- 	mkdir -p uart
-@@ -43,6 +43,6 @@ devuart:
- 	done
- 
- clean:
--	@-rm -r uart @ machine x86 *.bak *.o *.ko* *_if.[ch] pccarddevs.h
-+	@-rm -r uart ${_ILINKS} *.bak *.orig *.o *.ko* *_if.[ch] pccarddevs.h
- 
- .include <bsd.kmod.mk>
diff --git a/comms/uartlirc/files/patch-uartlirc_lircdev.c b/comms/uartlirc/files/patch-uartlirc_lircdev.c
deleted file mode 100644
index b90f9cf7c324..000000000000
--- a/comms/uartlirc/files/patch-uartlirc_lircdev.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- uartlirc_lircdev.c.orig
-+++ uartlirc_lircdev.c
-@@ -33,6 +33,7 @@ __FBSDID("$FreeBSD: $");
- #include <sys/conf.h>
- #include <sys/cons.h>
- #include <sys/fcntl.h>
-+#include <sys/filio.h>
- #include <sys/interrupt.h>
- #include <sys/kernel.h>
- #include <sys/malloc.h>
-@@ -117,6 +118,9 @@ uartlirc_lircdev_ioctl(struct cdev *dev,
- 	case LIRC_GET_FEATURES:
- 		*arg = LIRC_CAN_REC_MODE2;
- 		return (0);
-+	case FIONBIO:
-+	case FIOASYNC:
-+		return (0);
- 	default:
- 		return ENOTTY;
- 	}
diff --git a/comms/uartlirc/files/patch-uartlirc_subr.c b/comms/uartlirc/files/patch-uartlirc_subr.c
deleted file mode 100644
index 1bcc6623d5e2..000000000000
--- a/comms/uartlirc/files/patch-uartlirc_subr.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- uartlirc_subr.c.orig
-+++ uartlirc_subr.c
-@@ -210,9 +210,17 @@ uartlirc_getenv(int devtype, struct uart
- 	 * port (resp).
- 	 */
- 	if (devtype == UARTLIRC_DEV_CONSOLE)
-+#if __FreeBSD_version >= 1100039
-+		spec = kern_getenv("hw.uart.console");
-+#else
- 		spec = getenv("hw.uart.console");
-+#endif
- 	else if (devtype == UARTLIRC_DEV_DBGPORT)
-+#if __FreeBSD_version >= 1100039
-+		spec = kern_getenv("hw.uart.dbgport");
-+#else
- 		spec = getenv("hw.uart.dbgport");
-+#endif
- 	else
- 		spec = NULL;
- 	if (spec == NULL)
diff --git a/comms/uartlirc/files/patch-uartlirc_tty.c b/comms/uartlirc/files/patch-uartlirc_tty.c
deleted file mode 100644
index 6aa24822df88..000000000000
--- a/comms/uartlirc/files/patch-uartlirc_tty.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- uartlirc_tty.c.orig
-+++ uartlirc_tty.c
-@@ -55,7 +55,7 @@ static cn_init_t uartlirc_cninit;
- static cn_term_t uartlirc_cnterm;
- static cn_getc_t uartlirc_cngetc;
- static cn_putc_t uartlirc_cnputc;
--#if __FreeBSD_version >= 1000000
-+#if __FreeBSD_version >= 900506
- static cn_grab_t uartlirc_cngrab;
- static cn_ungrab_t uartlirc_cnungrab;
- #endif
-@@ -112,7 +112,7 @@ uartlirc_cnterm(struct consdev *cp)
- 	uartlirc_term(cp->cn_arg);
- }
- 
--#if __FreeBSD_version >= 1000000
-+#if __FreeBSD_version >= 900506
- static void
- uartlirc_cngrab(struct consdev *cp)
- {
diff --git a/comms/uartlirc/pkg-descr b/comms/uartlirc/pkg-descr
deleted file mode 100644
index 43a998321d51..000000000000
--- a/comms/uartlirc/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-This is a driver for "homebrew" type serial LIRC reveivers as
-described here:
-
-	http://lirc.org/receivers.html
-
-It overrides the `normal' uart(4) driver, if you have that driver
-already loaded or statically in your kernel (like it is in GENERIC)
-then you need to load uartlirc.ko from loader.conf(5) (or manually
-via the loader prompt) for the override to work.  The driver provides
-a /dev/lircX node for each serial port in addition to the normal
-tty nodes /dev/cuauX etc, so you can still use other serial ports
-normally should you have more than one.
-
-Note: it only supports PCI/motherboard serial ports not ones connected
-via USB, for USB you can use mceusb hardware supported via webcamd,
-or FTDI hardware supported by comms/lirc natively via libftdi, see:
-
-	http://wiki.freebsd.org/WebcamCompat
-
-and the comms/lirc port's pkg-message.