Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2024 20:02:43 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 22d0c883078f - main - emulators/cpmemu: Remove expired port
Message-ID:  <202403192002.42JK2hWi056479@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

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

commit 22d0c883078fb919237a07bf7a39dc02563d3a01
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-03-19 20:02:21 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-03-19 20:02:21 +0000

    emulators/cpmemu: Remove expired port
    
    2024-03-18 emulators/cpmemu: BROKEN on all versions since last year
---
 MOVED                                 |  1 +
 emulators/Makefile                    |  1 -
 emulators/cpmemu/Makefile             | 28 ------------------
 emulators/cpmemu/distinfo             |  4 ---
 emulators/cpmemu/files/patch-Makefile | 53 -----------------------------------
 emulators/cpmemu/files/patch-bios.c   | 11 --------
 emulators/cpmemu/files/patch-io.c     | 11 --------
 emulators/cpmemu/files/patch-low.c    | 26 -----------------
 emulators/cpmemu/pkg-descr            |  7 -----
 emulators/cpmemu/pkg-plist            |  6 ----
 10 files changed, 1 insertion(+), 147 deletions(-)

diff --git a/MOVED b/MOVED
index ff2a4afe4504..ba5d6999d6c8 100644
--- a/MOVED
+++ b/MOVED
@@ -3053,3 +3053,4 @@ net-im/telegram-purple||2024-03-17|Has expired: No longer works, migrate to net-
 multimedia/gstreamer1-plugins-rtmp||2024-03-17|Support for legacy library librtmp has been removed in tree
 lang/swi-pl|lang/swipl|2024-03-17|Port renamed on request
 devel/rubygem-with_advisory_lock|devel/rubygem-with_advisory_lock61|2024-03-18|Port renamed to follow naming convention
+emulators/cpmemu||2024-03-19|Has expired: BROKEN on all versions since last year
diff --git a/emulators/Makefile b/emulators/Makefile
index 64d7b630bc9e..6021b7822370 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -15,7 +15,6 @@
     SUBDIR += cingb
     SUBDIR += citra
     SUBDIR += citra-qt5
-    SUBDIR += cpmemu
     SUBDIR += cpmtools
     SUBDIR += cpmtools2
     SUBDIR += darcnes
diff --git a/emulators/cpmemu/Makefile b/emulators/cpmemu/Makefile
deleted file mode 100644
index d04484694881..000000000000
--- a/emulators/cpmemu/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-PORTNAME=	cpmemu
-PORTVERSION=	0.2.1.1
-CATEGORIES=	emulators
-MASTER_SITES=	SUNSITE/system/emulators
-DISTNAME=	cpm-0.2.1
-
-PATCH_SITES=	SUNSITE/system/emulators
-PATCHFILES=	cpm-0.2.1-glibc-rjm.patch.gz
-PATCH_DIST_STRIP=	-p1
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Cpm emulator
-
-DEPRECATED=	BROKEN on all versions since last year
-EXPIRATION_DATE=	2024-03-18
-BROKEN=	incorrect register `%esi' used with `w' suffix
-ONLY_FOR_ARCHS=	i386
-
-USES=		compiler
-
-.include <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == "clang"
-USE_BINUTILS=	yes
-CPPFLAGS+=	-no-integrated-as
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/emulators/cpmemu/distinfo b/emulators/cpmemu/distinfo
deleted file mode 100644
index 8d4805c3ef71..000000000000
--- a/emulators/cpmemu/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (cpm-0.2.1.tar.gz) = ba98d4453d5444011fbfca127d6beed685b41ee9ede04b0f4799a30a7f588b2c
-SIZE (cpm-0.2.1.tar.gz) = 103797
-SHA256 (cpm-0.2.1-glibc-rjm.patch.gz) = 1b22d2de75706571fdedab0fda417c6571b46e6e113777df8a6112274660a682
-SIZE (cpm-0.2.1-glibc-rjm.patch.gz) = 6348
diff --git a/emulators/cpmemu/files/patch-Makefile b/emulators/cpmemu/files/patch-Makefile
deleted file mode 100644
index c7efc6fabcd8..000000000000
--- a/emulators/cpmemu/files/patch-Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
---- Makefile.orig	Mon Nov 15 06:49:52 1999
-+++ Makefile	Mon Nov 15 06:54:21 1999
-@@ -2,26 +2,26 @@
- 
- 
- # basic prefix for installation
--PREFIX = /usr/local
-+PREFIX ?= /usr/local
- 
- # where to install `cpm' executable.
- BINDIR = $(PREFIX)/bin
- 
- # where `cpm' looks for its files (cpm.sys and .com files).
--CPMLIBDIR = $(PREFIX)/lib/cpm
-+CPMLIBDIR = $(PREFIX)/share/cpm
- 
- 
- # You shouldn't need to edit below this line.
- 
--CC = gcc
-+CC ?= gcc
- 
--CFLAGS = -O2 -pipe -ansi -Wall \
-+CFLAGS += $(CPPFLAGS) -ansi -Wall \
- 	-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
- 	-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \
- 	-Wnested-externs -Wwrite-strings \
- 	-DCPMLIBDIR=\"$(CPMLIBDIR)\"
- 
--LDFLAGS = -s
-+#LDFLAGS = -s
- 
- OBJS = single.o z80emu.o em.o io.o bios.o \
- 	commands.o running.o main.o disneu.o disz80.o low.o
-@@ -42,11 +42,14 @@
- cpm: $(OBJS)
- 	$(CC) $(LDFLAGS) -o cpm $(OBJS)
- 
-+format: format.o
-+	$(CC) $(LDFLAGS) -o format format.o
-+
- clean:
- 	rm -f *~ loads.s makeloads *.o $(TARGETS)
- 
- install: all
--	install -m 511 cpm $(BINDIR)
--	-mkdir $(CPMLIBDIR)
--	chmod 755 $(CPMLIBDIR)
--	install -m 444 z80-binaries/* $(CPMLIBDIR)
-+	${BSD_INSTALL_PROGRAM} cpm $(DESTDIR)$(BINDIR)/cpmemu
-+	${BSD_INSTALL_PROGRAM} format $(DESTDIR)$(BINDIR)/cpmformat
-+	-mkdir $(DESTDIR)$(CPMLIBDIR)
-+	${BSD_INSTALL_DATA} z80-binaries/* $(DESTDIR)$(CPMLIBDIR)
diff --git a/emulators/cpmemu/files/patch-bios.c b/emulators/cpmemu/files/patch-bios.c
deleted file mode 100644
index ba9053544fd9..000000000000
--- a/emulators/cpmemu/files/patch-bios.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- bios.c.orig	Mon Nov 15 06:33:54 1999
-+++ bios.c	Mon Nov 15 06:39:55 1999
-@@ -227,7 +227,7 @@
- 	case BIOS:      /* System Reset (coldboot) */
- 	case DIRBUF-20:
- 	    if (!silent_exit)
--		printf("\nCp/M BIOS COLDBOOT takes you back to Linux\n");
-+		printf("\nCp/M BIOS COLDBOOT takes you back to FreeBSD\n");
- 	    exit(0);
- 	case BIOS+3:    /* System Reset (warmboot) */
- 	case DIRBUF-19:
diff --git a/emulators/cpmemu/files/patch-io.c b/emulators/cpmemu/files/patch-io.c
deleted file mode 100644
index c655ccbcf663..000000000000
--- a/emulators/cpmemu/files/patch-io.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- io.c.orig	Wed Jun 22 03:25:46 1994
-+++ io.c	Mon Nov 15 06:31:36 1999
-@@ -13,7 +13,7 @@
- /*****************************************************************************/
- #include "cpmemu.h"
- 
--#define HAVE_RAW_IO
-+#undef HAVE_RAW_IO
- 
- /* magic for character I/O */
- #include <unistd.h>
diff --git a/emulators/cpmemu/files/patch-low.c b/emulators/cpmemu/files/patch-low.c
deleted file mode 100644
index 01cb47a00c27..000000000000
--- a/emulators/cpmemu/files/patch-low.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- low.c.orig	Wed Dec 11 22:44:43 2002
-+++ low.c	Wed Dec 11 22:44:56 2002
-@@ -18,11 +18,10 @@
-  * space-invaders-type game working, I think it was. :-)	-rjm
-  */
- 
-+#include <sys/types.h>
- #include "cpmemu.h"
- #include <ctype.h>
- #include <unistd.h>
--#include <sys/perm.h>		/* needed for ioperm() -rjm */
--#include <sys/types.h>
- #include <sys/time.h>
- #include <signal.h>
- #include <sys/mman.h>
-@@ -88,10 +87,8 @@
- 
-     /* get access to sound port */
-     cptr = NULL;
--    if (ioperm(0x61, 1, 1)) {
- 	hardware_access = 0;	/* no access to speaker port */
- 	return;
--    }
- 
-     /* install signal handler */
-     sa.sa_handler = tickerint;
diff --git a/emulators/cpmemu/pkg-descr b/emulators/cpmemu/pkg-descr
deleted file mode 100644
index 63eea9037104..000000000000
--- a/emulators/cpmemu/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-A CPM emulator.
-
-Type 'UNIX' at the CCP prompt to leave the emulator.
-(Or ctrl-@, followed by 'q' any time the keyboard is polled)
-
-WARNING! This software runs only on 386 compatible processors
-and systems which allow nonaligned word/dword memory access.
diff --git a/emulators/cpmemu/pkg-plist b/emulators/cpmemu/pkg-plist
deleted file mode 100644
index 3083730f29ad..000000000000
--- a/emulators/cpmemu/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/cpmemu
-bin/cpmformat
-share/cpm/cpm.sys
-share/cpm/cd.com
-share/cpm/link.com
-share/cpm/xccp.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403192002.42JK2hWi056479>