git: 3de19db219bf - main - comms/mlan3: Remove expired port

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

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

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

    comms/mlan3: Remove expired port
    
    2023-12-31 comms/mlan3: BROKEN on all supported versions for more than 2 years after the EOL of 12
---
 MOVED                             |   1 +
 comms/Makefile                    |   1 -
 comms/mlan3/Makefile              |  29 ----
 comms/mlan3/distinfo              |   2 -
 comms/mlan3/files/patch-Makefiles | 301 --------------------------------------
 comms/mlan3/pkg-descr             |   2 -
 comms/mlan3/pkg-plist             |  13 --
 7 files changed, 1 insertion(+), 348 deletions(-)

diff --git a/MOVED b/MOVED
index 19d8f3fd904e..abd444dbe47b 100644
--- a/MOVED
+++ b/MOVED
@@ -8246,3 +8246,4 @@ graphics/xfpovray||2023-12-31|Has expired: BROKEN for more than 2 years on all s
 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
+comms/mlan3||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 1e6ef5c2c4e0..d809e24217d6 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -94,7 +94,6 @@
     SUBDIR += mbelib
     SUBDIR += mgetty+sendfax
     SUBDIR += minicom
-    SUBDIR += mlan3
     SUBDIR += morse
     SUBDIR += multimon-ng
     SUBDIR += nanovna-saver
diff --git a/comms/mlan3/Makefile b/comms/mlan3/Makefile
deleted file mode 100644
index bbf3f5eb9577..000000000000
--- a/comms/mlan3/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-PORTNAME=	mlan3
-PORTVERSION=	1.00
-CATEGORIES=	comms
-MASTER_SITES=	http://files.maximintegrated.com/sia_bu/public/
-DISTNAME=	owpd300b
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Version 3.00 beta API for Dallas Semiconductors 1-wire lan devices
-WWW=		http://www.maximintegrated.com/en/products/comms/ibutton.html
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/license.txt
-
-DEPRECATED=	BROKEN on all supported versions for more than 2 years after the EOL of 12
-EXPIRATION_DATE=	2023-12-31
-BROKEN_FreeBSD_13=	ld: error: duplicate symbol: VERBOSE
-BROKEN_FreeBSD_14=	ld: error: duplicate symbol: VERBOSE
-
-NO_WRKSUBDIR=	yes
-USES=		dos2unix uidfix zip
-DOS2UNIX_GLOB=	*.c *.h
-
-CONFLICTS_INSTALL=	shells/fish
-
-post-patch:
-	@${REINPLACE_CMD} -e '/int main/s/short argc/int argc/' \
-		${WRKSRC}/apps/gethumd/gethumd.c ${WRKSRC}/apps/shaapp/shaapp.c
-
-.include <bsd.port.mk>
diff --git a/comms/mlan3/distinfo b/comms/mlan3/distinfo
deleted file mode 100644
index 6c0ad5318588..000000000000
--- a/comms/mlan3/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (owpd300b.zip) = 7d2a3f3dea65fec463bca14ac42d771ecbaf0c6dab28f9655a60f8d03bb1e873
-SIZE (owpd300b.zip) = 447423
diff --git a/comms/mlan3/files/patch-Makefiles b/comms/mlan3/files/patch-Makefiles
deleted file mode 100644
index a1dae6453a5f..000000000000
--- a/comms/mlan3/files/patch-Makefiles
+++ /dev/null
@@ -1,301 +0,0 @@
---- Makefile.orig	2016-06-20 12:38:29 UTC
-+++ Makefile
-@@ -0,0 +1,4 @@
-+
-+SUBDIR= lib apps
-+
-+.include <bsd.subdir.mk>
---- apps/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/Makefile
-@@ -0,0 +1,6 @@
-+
-+SUBDIR= atodtst counter coupler fish gethumd memutil mweather shaapp \
-+	swtsngl temp tstfind
-+
-+.include <bsd.subdir.mk>
-+
---- apps/atodtst/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/atodtst/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		atodtst
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/counter/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/counter/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		counter
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/coupler/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/coupler/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		coupler
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/fish/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/fish/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		fish
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/gethumd/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/gethumd/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		gethumd
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/memutil/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/memutil/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		memutil
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/mweather/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/mweather/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		mweather
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/shaapp/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/shaapp/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		shaapp
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/swtloop/Makefile.app.orig	2016-06-20 12:38:29 UTC
-+++ apps/swtloop/Makefile.app
-@@ -0,0 +1,8 @@
-+PROG=		tstfind
-+CFLAGS=         -I. -Wall -I ../../common
-+LDFLAGS=	-L ../../common -L ../../lib/userial
-+LDADD=		-lmlanser -lmlancom 
-+MAN=
-+SRCS=           tstfind.c
-+
-+.include	<bsd.prog.mk>
---- apps/swtsngl/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/swtsngl/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		swtsngl
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/temp/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/temp/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		temp
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- apps/thermo/Makefile.app.orig	2016-06-20 12:38:29 UTC
-+++ apps/thermo/Makefile.app
-@@ -0,0 +1,8 @@
-+PROG=		tstfind
-+CFLAGS=         -I. -Wall -I ../../common
-+LDFLAGS=	-L ../../common -L ../../lib/userial
-+LDADD=		-lmlanser -lmlancom 
-+MAN=
-+SRCS=           tstfind.c
-+
-+.include	<bsd.prog.mk>
---- apps/tstfind/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ apps/tstfind/Makefile
-@@ -0,0 +1,15 @@
-+PROG=		tstfind
-+PREFIX?=	/usr/local
-+BINDIR=		${PREFIX}/bin
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLIB=	${.CURDIR}/../../lib/userial
-+CFLAGS=         -I. -Wall -I${MLANCOM}
-+LDADD=		-L${MLANLIB} -lmlan
-+DPADD=		${MLANLIB}/libmlan.a
-+MAN=
-+SRCS=           ${PROG}.c
-+
-+test:		${PROG}
-+		./${PROG} /dev/cuaa0
-+
-+.include	<bsd.prog.mk>
---- common/ownet.h.orig	2016-06-20 12:38:29 UTC
-+++ common/ownet.h
-@@ -133,6 +133,10 @@
-          typedef unsigned short ushort;
-          typedef unsigned long  ulong;
-       #endif
-+      #if (__FreeBSD__)
-+         #include <sys/types.h>
-+         typedef unsigned long  ulong;
-+      #endif
-    #endif
-    #ifdef SDCC
-       //intent of ushort is 2 bytes unsigned.
---- lib/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ lib/Makefile
-@@ -0,0 +1,3 @@
-+SUBDIR= userial
-+
-+.include <bsd.subdir.mk>
---- lib/userial/Link/linuxlnk.c.orig	2016-06-20 12:38:29 UTC
-+++ lib/userial/Link/linuxlnk.c
-@@ -93,6 +93,7 @@
- #include <termios.h>
- #include <errno.h>
- #include <sys/time.h>
-+#include <string.h>
- 
- #include "ds2480.h"
- #include "ownet.h"
---- lib/userial/Makefile.orig	2016-06-20 12:38:29 UTC
-+++ lib/userial/Makefile
-@@ -0,0 +1,33 @@
-+MLANCOM=	${.CURDIR}/../../common
-+MLANLNK=	${.CURDIR}/Link
-+LIB=		mlan
-+CFLAGS=		-I. -Wall -I${MLANCOM}
-+MK_PROFILE=	no
-+PREFIX?=	/usr/local
-+LIBDIR=		${PREFIX}/lib
-+
-+
-+.PATH: ${MLANCOM} ${MLANLNK}
-+
-+SRCS=	ds2480ut.c owllu.c ownetu.c owsesu.c owtrnu.c 
-+
-+SRCS+=	linuxlnk.c
-+
-+SRCS+=	ad26.c atod20.c cnt1d.c \
-+	crcutil.c findtype.c ibsha33o.c \
-+	ioutil.c mbappreg.c mbee.c \
-+	mbeprom.c mbnv.c mbnvcrc.c \
-+	mbscr.c mbscrcrc.c mbscree.c \
-+	mbscrex.c mbsha.c mbshaee.c \
-+	owcache.c owerr.c owfile.c \
-+	owpgrw.c owprgm.c rawmem.c \
-+	screenio.c sha18.c sha33.c \
-+	shadebit.c shadebitvm.c shaibutton.c \
-+	swt05.c swt12.c swt1f.c \
-+	temp10.c thermo21.c weather.c
-+
-+beforeinstall:
-+	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
-+		${_INSTALLFLAGS} ${MLANCOM}/ownet.h ${DESTDIR}/${PREFIX}/include
-+
-+.include <bsd.lib.mk>
diff --git a/comms/mlan3/pkg-descr b/comms/mlan3/pkg-descr
deleted file mode 100644
index 96ff6e6a8d86..000000000000
--- a/comms/mlan3/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-A port of Dallas Semiconductors 3.00 beta API for accessing 1-wire LAN
-devices.  Only DS2480 serial port adapters are supported by this port.
diff --git a/comms/mlan3/pkg-plist b/comms/mlan3/pkg-plist
deleted file mode 100644
index 9a26e6c4001b..000000000000
--- a/comms/mlan3/pkg-plist
+++ /dev/null
@@ -1,13 +0,0 @@
-lib/libmlan.a
-include/ownet.h
-bin/atodtst
-bin/counter
-bin/coupler
-bin/fish
-bin/gethumd
-bin/memutil
-bin/mweather
-bin/shaapp
-bin/swtsngl
-bin/temp
-bin/tstfind