aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-11-10 19:46:28 +0000
committerRene Ladan <rene@FreeBSD.org>2026-11-10 19:46:28 +0000
commitab6a4f872cf9408363bf699b248e3b8ce3d69d8a (patch)
tree1af398f07e744ba732ff8e1baa82bd53d20a75a0
parent06e18b9be7b5bf46b703efd7efbe2e0f5a1789f8 (diff)
sysutils/mapchan: Remove expired port
2026-11-10 sysutils/mapchan: Incomplete implementation and does not work as intended anymore
-rw-r--r--MOVED1
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/mapchan/Makefile44
-rw-r--r--sysutils/mapchan/distinfo2
-rw-r--r--sysutils/mapchan/files/patch-Makefile23
-rw-r--r--sysutils/mapchan/files/patch-doc__mapchan.872
-rw-r--r--sysutils/mapchan/files/patch-examples__default8
-rw-r--r--sysutils/mapchan/files/patch-mapchan.c24
-rw-r--r--sysutils/mapchan/pkg-descr10
-rw-r--r--sysutils/mapchan/pkg-plist15
10 files changed, 1 insertions, 199 deletions
diff --git a/MOVED b/MOVED
index 3b91966ff7c5..a29bfe12bf1e 100644
--- a/MOVED
+++ b/MOVED
@@ -5810,3 +5810,4 @@ mail/masqmail||2026-11-10|Has expired: Unmaintained with known parser and memory
deskutils/tasksh||2026-11-10|Has expired: No upstream activity over the last 4 years
games/polyglot||2026-11-10|Has expired: Obsolete software, original master site is no longer available
devel/p5-Device-USB||2026-11-10|Has expired: Upstream advises it as deprecated and noo longer suitable for use
+sysutils/mapchan||2026-11-10|Has expired: Incomplete implementation and does not work as intended anymore
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 5027d0489543..caa17cc6df7d 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -744,7 +744,6 @@
SUBDIR += magicrescue
SUBDIR += magika
SUBDIR += manck
- SUBDIR += mapchan
SUBDIR += mapdir
SUBDIR += massadmin
SUBDIR += mate-control-center
diff --git a/sysutils/mapchan/Makefile b/sysutils/mapchan/Makefile
deleted file mode 100644
index f423293caa60..000000000000
--- a/sysutils/mapchan/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-PORTNAME= mapchan
-DISTVERSION= 3.2
-PORTREVISION= 5
-CATEGORIES= sysutils converters
-MASTER_SITES= SF
-
-MAINTAINER= bofh@FreeBSD.org
-COMMENT= Transform the input and output of a terminal (SCO Unix alike)
-WWW= https://mapchan.sourceforge.io/
-
-LICENSE= GPLv2
-
-DEPRECATED= Incomplete implementation and does not work as intended anymore
-EXPIRATION_DATE= 2026-11-10
-
-USES= iconv tar:tgz
-
-MAKE_ENV= MAPDIR=${STAGEDIR}${PREFIX}/etc/${PORTNAME} \
- STAGEDIR=${STAGEDIR}
-
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-OPTIONS_DEFINE= DOCS
-
-post-extract:
- @${CP} ${WRKSRC}/doc/mapchan.F ${WRKSRC}/doc/mapchan.8
-
-post-patch:
- @${MV} ${WRKSRC}/examples/default ${WRKSRC}/examples/default.sample
- @${RM} ${WRKSRC}/examples/default.orig
- ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/mapchan.c
- ${REINPLACE_CMD} -e "s|utmp.h|utmpx.h|" ${WRKSRC}/mapchan.c
-
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/doc/mapchan.8 ${STAGEDIR}${PREFIX}/share/man/man8
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/sysutils/mapchan/distinfo b/sysutils/mapchan/distinfo
deleted file mode 100644
index 791afa13a4a5..000000000000
--- a/sysutils/mapchan/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mapchan-3.2.tgz) = 0b67e3e55da89adf4bc07645c9ce0540c0fd1b1eb257b7f9a163fc66e266f2ea
-SIZE (mapchan-3.2.tgz) = 35601
diff --git a/sysutils/mapchan/files/patch-Makefile b/sysutils/mapchan/files/patch-Makefile
deleted file mode 100644
index ac7967c711e2..000000000000
--- a/sysutils/mapchan/files/patch-Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
---- Makefile.orig 2008-09-11 20:28:12.000000000 +0500
-+++ Makefile 2013-05-26 20:10:47.000000000 +0400
-@@ -1,6 +1,6 @@
- #
- #
--CFLAGS ?= -O2
-+CFLAGS?=$(CFLAGS)
- #CFLAGS ?= -g
- #
- # Defines:
-@@ -29,9 +29,9 @@
- DEFS+=-DESC_C_TBL
-
- DESTDIR ?= /
--BINDIR ?= $(DESTDIR)/bin
--MAPDIR ?= $(DESTDIR)/etc/mapchan
--LDFLAGS ?= -s
-+BINDIR?=${STAGEDIR}$(PREFIX)/bin
-+MAPDIR?=${STAGEDIR}$(PREFIX)/mapchan
-+LDFLAGS+=-s -lutil
- LOADLIBES = -lutil
- #--------------------------------------------------------------
- CFLAGS += $(DEFS)
diff --git a/sysutils/mapchan/files/patch-doc__mapchan.8 b/sysutils/mapchan/files/patch-doc__mapchan.8
deleted file mode 100644
index 1dd7cca2b615..000000000000
--- a/sysutils/mapchan/files/patch-doc__mapchan.8
+++ /dev/null
@@ -1,72 +0,0 @@
---- doc/mapchan.8.orig Sat Dec 23 09:47:26 2000
-+++ doc/mapchan.8 Sun Aug 31 12:41:32 2003
-@@ -1,13 +1,13 @@
-
-
-- mapchan(F) 06 January 1993 mapchan(F)
-+ mapchan(8) 06 January 1993 mapchan(8)
-
-
-- _N_a_m_e
-+ _N_A_M_E
-
- mapchan - format of tty device mapping files
-
-- _D_e_s_c_r_i_p_t_i_o_n
-+ _D_E_S_C_R_I_P_T_I_O_N
-
- mmaappcchhaann configures the mapping of information input and output.
-
-@@ -143,7 +143,7 @@
- character. This can be used to enter Space, Tab, or Hash
- characters.
-
-- _D_i_a_g_n_o_s_t_i_c_s
-+ _D_I_A_G_N_O_S_T_I_C_S
-
- mmaappcchhaann performs these error checks when processing the mapfile:
-
-@@ -170,7 +170,7 @@
- device display character set. _d_e_a_d and _c_o_m_p_o_s_e sequences are _i_n_p_u_t map-
- ping and should be going to 8859.
-
-- _W_a_r_n_i_n_g
-+ _W_A_R_N_I_N_G
-
- Use of mapping files that specify a different ``internal'' character set
- per-channel, or a set other than the 8-bit ISO 8859 set supplied by
-@@ -185,7 +185,7 @@
- Do not set IISSTTRRIIPP (see ssttttyy(C)) on channels that have mapping that
- includes 8-bit characters.
-
-- _L_i_m_i_t_a_t_i_o_n_s
-+ _L_I_M_I_T_A_T_I_O_N_S
-
- Some non-U.S. keyboards and display devices do not support characters
- commonly used by UNIX command shells and the C programming language. Do
-@@ -195,19 +195,16 @@
- represented using this utility. Refer to the device's hardware manual for
- information on the capabilities of the peripheral device.
-
-- _F_i_l_e_s
-+ _F_I_L_E_S
-
-- /_e_t_c/_d_e_f_a_u_l_t/_m_a_p_c_h_a_n
-- /_u_s_r/_l_i_b/_m_a_p_c_h_a_n/*
-+ /_u_s_r/_l_o_c_a_l/_e_t_c/_m_a_p_c_h_a_n/_d_e_f_a_u_l_t
-+ /_u_s_r/_l_o_c_a_l/_e_t_c/_m_a_p_c_h_a_n/*._m_a_p
-
-- _S_e_e _a_l_s_o
-+ _S_E_E _A_L_S_O
-
-- aasscciiii(M), kkeeyybbooaarrdd(HW), llpp(C), llppaaddmmiinn(ADM), mmaappcchhaann(M), mmaappkkeeyy(M),
-- ppaarraalllleell(HW), ssccrreeeenn(HW), sseerriiaall(HW), sseettkkeeyy(C), ttrrcchhaann(M), ttttyy(M)
-+ aasscciiii(7), kkeeyybbooaarrdd(4), llpp(1), ssccrreeeenn(4), ttttyy(1)
-
-- _S_t_a_n_d_a_r_d_s _c_o_n_f_o_r_m_a_n_c_e
-+ _S_T_A_N_D_A_R_D_S
-
- mmaappcchhaann is not part of any currently supported standard; it is an exten-
- sion of AT&T System V provided by The Santa Cruz Operation, Inc.
--
--
diff --git a/sysutils/mapchan/files/patch-examples__default b/sysutils/mapchan/files/patch-examples__default
deleted file mode 100644
index a396c03248ff..000000000000
--- a/sysutils/mapchan/files/patch-examples__default
+++ /dev/null
@@ -1,8 +0,0 @@
---- examples/default.orig 2005-09-18 08:03:13 UTC
-+++ examples/default
-@@ -1,4 +1,4 @@
--# Настройки mapchan по умолчанию
-+ttyv5 altkoi.map
- #
- # <tty> <map-file> <pty> <quiet> <debug> <logfile> <program>
- #
diff --git a/sysutils/mapchan/files/patch-mapchan.c b/sysutils/mapchan/files/patch-mapchan.c
deleted file mode 100644
index 8992e7d662e1..000000000000
--- a/sysutils/mapchan/files/patch-mapchan.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- mapchan.c.orig 2008-09-12 01:47:59.000000000 +0500
-+++ mapchan.c 2013-05-26 14:55:43.000000000 +0400
-@@ -15,7 +15,12 @@
- #include <stdlib.h>
- #include <signal.h>
- #include <libgen.h>
-+#ifdef __FreeBSD__
-+#include <libutil.h>
-+#include <sys/ioctl.h>
-+#else
- #include <pty.h>
-+#endif
- #include <utmp.h>
- #ifdef SYSLOG
- #include <syslog.h>
-@@ -50,7 +55,7 @@ char *DEFAULT_LOGFILE = "mapchan.log";
- #endif
-
- #ifndef CPATH
-- #define CPATH "/etc/mapchan"
-+ #define CPATH "/usr/local/etc/mapchan"
- #endif
-
- #define BUFSIZE 32*1024
diff --git a/sysutils/mapchan/pkg-descr b/sysutils/mapchan/pkg-descr
deleted file mode 100644
index 626bc627812a..000000000000
--- a/sysutils/mapchan/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-mapchan - A program which allows you to transform the input and output
-of a terminal (including a serial port terminal). It is useful when:
-
- * You need to work with various encodings on various virtual
- terminals
- * You have an assortment of terminals, not one of which supports
- your favorite encoding.
-
-This software is an incomplete implementation of the functionality of
-the utility "mapchan" of SCO Unix.
diff --git a/sysutils/mapchan/pkg-plist b/sysutils/mapchan/pkg-plist
deleted file mode 100644
index 851212f38397..000000000000
--- a/sysutils/mapchan/pkg-plist
+++ /dev/null
@@ -1,15 +0,0 @@
-bin/mapchan
-%%ETCDIR%%/altkoi.map
-@sample %%ETCDIR%%/default.sample
-%%ETCDIR%%/dos2koi-kbd.map
-%%ETCDIR%%/dos2koi.map
-%%ETCDIR%%/k180.map
-%%ETCDIR%%/koi2win.map
-%%ETCDIR%%/koiualt.map
-%%ETCDIR%%/koiumain.map
-%%ETCDIR%%/msm.map
-%%ETCDIR%%/sm7238.map
-%%ETCDIR%%/trivial.map
-%%ETCDIR%%/win2koi.map
-share/man/man8/mapchan.8.gz
-%%PORTDOCS%%%%DOCSDIR%%/README