git: c0463bab7e51 - main - devel/asmutils: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 02 Mar 2025 11:45:06 UTC
The branch main has been updated by rene:

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

commit c0463bab7e51c9802e1db3f7fd947750d0d8d2a5
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-03-02 11:45:01 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-03-02 11:45:01 +0000

    devel/asmutils: Remove expired port
    
    2025-03-02 devel/asmutils: latest upstream release is 19 years ago, replaced by a-Linux, does not build with GCC 14
---
 MOVED                                  |  1 +
 devel/Makefile                         |  1 -
 devel/asmutils/Makefile                | 85 ----------------------------------
 devel/asmutils/distinfo                |  2 -
 devel/asmutils/files/patch-lib_testm.c | 21 ---------
 devel/asmutils/pkg-descr               |  5 --
 6 files changed, 1 insertion(+), 114 deletions(-)

diff --git a/MOVED b/MOVED
index a91f510b64ec..99e5552c3442 100644
--- a/MOVED
+++ b/MOVED
@@ -4188,3 +4188,4 @@ textproc/py-pyjade||2025-03-01|Has expired: Upstream is inactive for almost 8.5
 math/parmetis||2025-03-01|Has expired: Fails to fetch, unmaintained for years in tree
 math/pspp||2025-03-01|Has expired: Listed as broken for more than 5 months
 games/shaaft||2025-03-02|Has expired: Unmaintained upstream for ages, breaks with modern toolchains
+devel/asmutils||2025-03-02|Has expired: latest upstream release is 19 years ago, replaced by a-Linux, does not build with GCC 14
diff --git a/devel/Makefile b/devel/Makefile
index e0fd6ba157b8..f9fdfc1fda0e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -243,7 +243,6 @@
     SUBDIR += asfml
     SUBDIR += asl
     SUBDIR += asmjit
-    SUBDIR += asmutils
     SUBDIR += asmx
     SUBDIR += astyle
     SUBDIR += asyncplusplus
diff --git a/devel/asmutils/Makefile b/devel/asmutils/Makefile
deleted file mode 100644
index 231910b8b0dc..000000000000
--- a/devel/asmutils/Makefile
+++ /dev/null
@@ -1,85 +0,0 @@
-PORTNAME=	asmutils
-PORTVERSION=	0.18
-PORTREVISION=	11
-CATEGORIES=	devel
-MASTER_SITES=	http://asm.sourceforge.net/asmutils/
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Set of Unix utilities written in x86 assembly language
-WWW=		https://asm.sourceforge.net/
-
-LICENSE=	GPLv2
-
-DEPRECATED=		latest upstream release is 19 years ago, replaced by a-Linux, does not build with GCC 14
-EXPIRATION_DATE=	2025-03-02
-ONLY_FOR_ARCHS=	i386
-
-BUILD_DEPENDS=	nasm:devel/nasm
-
-USES=		gmake
-USE_GCC=	13
-MAKE_ARGS=	OS="${OPSYS:tu}" KERNEL="${OSREL:S/.//g}" CC="${CC}" LD="${LD}"
-MAKE_JOBS_UNSAFE=yes
-
-# This will play merry hell with portlint(1)
-BINARIES=	bonus/asmutils basename cal cat chmod chown chroot cmp cp \
-		cpuinfo cut date dc dd deflate dirname du echo env \
-		bonus/execve extname factor fromdos ftpd getty grep head \
-		hexdump host hostname httpd id idea init kill kldload less \
-		ln ls lzss m_inetd md5 md5sum mkdir mknod mount mv nc \
-		netstat nice nm nohup od paste ping pop3d proxy pwd rc6crypt \
-		readelf readkey readlink reboot renice bonus/report rm \
-		rmdsum rot13 scan scons sh sha1sum sleep strings sync tail \
-		tar tee telnet telnetd test touch tr true uname uuencode \
-		watch wc wget which whoami write yes
-
-LINKS=		arch cpuspeed domainname false halt inflate kldstat kldunload \
-		mkfifo more poweroff regs rmdir size sln todos umount usleep
-
-LIBRARIES=	libc.so.0 libcrypto.so.0 libm.so.0
-
-PLIST_FILES=	${BINARIES:S/^/bin\/asmutils\//:S/bonus\///} \
-		${LINKS:S/^/bin\/asmutils\//} ${LIBRARIES:S/^/lib\/asmutils\//}
-PORTDOCS=	*
-
-OPTIONS_DEFINE=	DOCS
-
-post-patch:
-	@${REINPLACE_CMD} -e 's,^static ,,' ${WRKSRC}/lib/libm.c
-
-# Stripping binaries will break installation
-STRIP=	#
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/bin/asmutils \
-		${STAGEDIR}${PREFIX}/lib/asmutils
-	${INSTALL_PROGRAM} ${BINARIES:S,^,${WRKSRC}/src/,} \
-		${STAGEDIR}${PREFIX}/bin/asmutils
-	${INSTALL_PROGRAM} ${LIBRARIES:S,^,${WRKSRC}/lib/,} \
-		${STAGEDIR}${PREFIX}/lib/asmutils
-	(cd ${STAGEDIR}${PREFIX}/bin/asmutils && \
-		${LN} -sf uname arch && \
-		${LN} -sf cpuinfo cpuspeed && \
-		${LN} -sf hostname domainname && \
-		${LN} -sf true false && \
-		${LN} -sf reboot halt && \
-		${LN} -sf deflate inflate && \
-		${LN} -sf kldload kldstat && \
-		${LN} -sf kldload kldunload && \
-		${LN} -sf mknod mkfifo && \
-		${LN} -sf less more && \
-		${LN} -sf reboot poweroff && \
-		${LN} -sf execve regs && \
-		${LN} -sf mkdir rmdir && \
-		${LN} -sf nm size && \
-		${LN} -sf ln sln && \
-		${LN} -sf fromdos todos && \
-		${LN} -sf mount umount && \
-		${LN} -sf sleep usleep)
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/[^i]* ${STAGEDIR}${DOCSDIR}
-	${LN} -sf Asmutils-HOWTO.html ${STAGEDIR}/${DOCSDIR}/index.html
-
-.include <bsd.port.mk>
diff --git a/devel/asmutils/distinfo b/devel/asmutils/distinfo
deleted file mode 100644
index d81fa70e5417..000000000000
--- a/devel/asmutils/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (asmutils-0.18.tar.gz) = 905e58521c9c85ae64a243ff8a05503ddaed3d808a99aa6db8737d0bfb16d38a
-SIZE (asmutils-0.18.tar.gz) = 361157
diff --git a/devel/asmutils/files/patch-lib_testm.c b/devel/asmutils/files/patch-lib_testm.c
deleted file mode 100644
index 5a44e80ee674..000000000000
--- a/devel/asmutils/files/patch-lib_testm.c
+++ /dev/null
@@ -1,21 +0,0 @@
---- lib/testm.c.orig	Fri Jul 20 14:02:56 2001
-+++ lib/testm.c	Wed Jan 26 15:35:47 2005
-@@ -16,10 +16,17 @@
- # define __USE_BSD 1
- # define __USE_XOPEN 1
- # define __USE_SVID 1
--#include <math.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <assert.h>
-+
-+#define	M_LOG2E		1.4426950408889634074	/* log 2e */
-+#define	M_LOG10E	0.43429448190325182765	/* log 10e */
-+#define	M_LN2		0.69314718055994530942	/* log e2 */
-+#define	M_LN10		2.30258509299404568402	/* log e10 */
-+#define	M_E		2.7182818284590452354	/* e */
-+#define	M_PI		3.14159265358979323846	/* pi */
-+#define	HUGE_VAL	__builtin_huge_val()
- 
- #ifndef NAN
- #define NAN (0./0.)
diff --git a/devel/asmutils/pkg-descr b/devel/asmutils/pkg-descr
deleted file mode 100644
index 2781050f7c87..000000000000
--- a/devel/asmutils/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-asmutils is a set of miscellaneous utilities written in assembly language,
-targeted for x86 embedded systems and small distributions (like rescue or
-installation disks); it also contains small libc and crypto libraries.  It
-features the smallest possible size and memory requirements, the fastest
-speed (with few exceptions), and good functionality.