Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2024 13:30:36 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: 650dda96cf90 - main - net/iaxmodem: Remove expired port
Message-ID:  <202405291330.44TDUao1088407@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=650dda96cf9079d2a6b4aa19ccd79d5d8972beb2

commit 650dda96cf9079d2a6b4aa19ccd79d5d8972beb2
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-05-29 13:29:56 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-05-29 13:30:34 +0000

    net/iaxmodem: Remove expired port
    
    2024-05-28 net/iaxmodem: outdated and uses end-of-life version of GCC
---
 MOVED                                              |  1 +
 net/Makefile                                       |  1 -
 net/iaxmodem/Makefile                              | 52 -----------------
 net/iaxmodem/distinfo                              |  2 -
 net/iaxmodem/files/iaxmodem.in                     | 25 --------
 net/iaxmodem/files/patch-iaxmodem.c                | 68 ----------------------
 net/iaxmodem/files/patch-lib_libiax2_src_iax.c     | 31 ----------
 .../files/patch-lib_spandsp_src_spandsp_t4.h       | 11 ----
 net/iaxmodem/files/patch-lib_spandsp_src_t31.c     | 11 ----
 .../files/patch-lib_spandsp_src_t38_terminal.c     | 11 ----
 net/iaxmodem/files/pkg-message.in                  | 19 ------
 net/iaxmodem/pkg-descr                             |  3 -
 12 files changed, 1 insertion(+), 234 deletions(-)

diff --git a/MOVED b/MOVED
index a498069f15cf..f2983e7a2fe8 100644
--- a/MOVED
+++ b/MOVED
@@ -3268,3 +3268,4 @@ databases/rubygem-flipper-active_record-rails61|databases/rubygem-flipper-active
 devel/rubygem-flipper-active_support_cache_store-rails61|devel/rubygem-flipper-active_support_cache_store|2024-05-28|Remove obsoleted port. Use devel/rubygem-flipper-active_support_cache_store instead
 devel/rubygem-flipper025|devel/rubygem-flipper|2024-05-28|Remove obsoleted port. Use devel/rubygem-flipper instead
 www/rubygem-rqrcode2|www/rubygem-rqrcode|2024-05-28|Remove obsoleted port. Use www/rubygem-rqrcode instead
+net/iaxmodem||2024-05-29|Has expired: outdated and uses end-of-life version of GCC
diff --git a/net/Makefile b/net/Makefile
index bc5a74f36c40..da15599fa71a 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -256,7 +256,6 @@
     SUBDIR += http_ping
     SUBDIR += httping
     SUBDIR += httpry
-    SUBDIR += iaxmodem
     SUBDIR += icmpinfo
     SUBDIR += icpld
     SUBDIR += ifdepd
diff --git a/net/iaxmodem/Makefile b/net/iaxmodem/Makefile
deleted file mode 100644
index a73f20a268b8..000000000000
--- a/net/iaxmodem/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-PORTNAME=	iaxmodem
-PORTVERSION=	1.2.0
-PORTREVISION=	12
-CATEGORIES=	net comms
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Software modem that connects to IAX channel
-WWW=		https://iaxmodem.sourceforge.net/
-
-DEPRECATED=	outdated and uses end-of-life version of GCC
-EXPIRATION_DATE=2024-05-28
-
-LIB_DEPENDS=	libtiff.so:graphics/tiff
-
-USES=		compiler:features perl5
-USE_PERL5=	patch
-HAS_CONFIGURE=	yes
-USE_RC_SUBR=	${PORTNAME}
-SUB_FILES=	pkg-message
-
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-PLIST_FILES=	sbin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
-PORTDOCS=	CHANGES FAQ README
-PORTEXAMPLES=	config.ttyIAX iaxmodem-cfg.ttyIAX
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == clang
-# gsm0610_rpe.c:81:10: error: invalid operand for instruction
-USE_GCC=	9
-.endif
-
-post-patch:
-	@${PERL} -0pi.bak -e "s|for ac_header in tgmath\.h.*?done||s" \
-		${WRKSRC}/lib/spandsp/configure
-	@${REINPLACE_CMD} -e "s|/etc/iaxmodem|${PREFIX}&|" \
-		${WRKSRC}/iaxmodem.c
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/iaxmodem ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/iaxmodem.1 ${STAGEDIR}${PREFIX}/share/man/man1
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.post.mk>
diff --git a/net/iaxmodem/distinfo b/net/iaxmodem/distinfo
deleted file mode 100644
index 7a2d488d7b1b..000000000000
--- a/net/iaxmodem/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (iaxmodem-1.2.0.tar.gz) = fa263c0df0870cb8133c4bee141146ca5db47ece6db50899a6acf508d76591ed
-SIZE (iaxmodem-1.2.0.tar.gz) = 3075769
diff --git a/net/iaxmodem/files/iaxmodem.in b/net/iaxmodem/files/iaxmodem.in
deleted file mode 100644
index 23132dde266d..000000000000
--- a/net/iaxmodem/files/iaxmodem.in
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: iaxmodem
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable iaxmodem:
-#
-# iaxmodem_enable="YES"
-#
-
-. /etc/rc.subr
-
-name=iaxmodem
-rcvar=iaxmodem_enable
-
-command=%%PREFIX%%/sbin/iaxmodem
-
-pidfile=${iaxmodem_pidfile:-"/var/run/iaxmodem.pid"}
-
-iaxmodem_enable=${iaxmodem_enable:-"NO"}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/net/iaxmodem/files/patch-iaxmodem.c b/net/iaxmodem/files/patch-iaxmodem.c
deleted file mode 100644
index 5e3485bd021a..000000000000
--- a/net/iaxmodem/files/patch-iaxmodem.c
+++ /dev/null
@@ -1,68 +0,0 @@
---- iaxmodem.c.orig	2007-10-06 12:22:04.000000000 -0400
-+++ iaxmodem.c	2007-11-06 23:54:40.000000000 -0500
-@@ -21,17 +21,18 @@
- #include <string.h>
- #include <strings.h>
- 
--#ifndef __OpenBSD__
-+#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
- # ifndef USE_UNIX98_PTY
- #  include <pty.h>
- # endif /* !USE_UNIX98_PTY */
- #else
-+#include <termios.h>
-+#if !defined(__FreeBSD__)
- # include <util.h>
- #endif
-+#endif
- 
- 
--#include <termios.h>
--
- #include <stdlib.h>
- #include <unistd.h>
- #include <dirent.h>
-@@ -53,6 +54,26 @@
- #include <math.h>
- 
- #include <stdint.h>
-+
-+#ifdef __FreeBSD__
-+#include <libutil.h>
-+char* strndup(const char* string, size_t n)
-+{
-+        char* copy_string = 0;
-+
-+        if(0 == string || 0 == n)
-+                return 0;
-+
-+        copy_string = (char*) malloc(n + 1);
-+        if(0 == copy_string)
-+                return 0;
-+
-+        memcpy(copy_string, string, n);
-+        *(copy_string + n) = '\0';
-+
-+        return copy_string;
-+}
-+#endif
- #include <tiffio.h>
- 
- #ifndef O_LARGEFILE
-@@ -1645,8 +1666,6 @@
- 	}
-       }
- 
--    closedir(cfdir);
--
-     if (pid == 0) {
-       /* Start the modem */
-       iaxmodem(config, 0);
-@@ -1654,6 +1673,8 @@
-       return 1;
-     }
- 
-+    closedir(cfdir);
-+
-     return 0;
- }
diff --git a/net/iaxmodem/files/patch-lib_libiax2_src_iax.c b/net/iaxmodem/files/patch-lib_libiax2_src_iax.c
deleted file mode 100644
index e9bb86b44bc6..000000000000
--- a/net/iaxmodem/files/patch-lib_libiax2_src_iax.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- lib/libiax2/src/iax.c.orig	Mon Jun 12 15:54:46 2006
-+++ lib/libiax2/src/iax.c	Thu Jun 15 14:22:17 2006
-@@ -44,6 +44,7 @@
- #else
- 
- #include <netdb.h>
-+#include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <sys/time.h>
-@@ -64,9 +64,9 @@
- #include <arpa/inet.h>
- #include <time.h>
- 
--#if !defined(MACOSX) && !defined(__OpenBSD__)
-+#if !defined(MACOSX) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
- #include <malloc.h>
--#if !defined(SOLARIS)
-+#if !defined(SOLARIS) && !defined(__FreeBSD__)
- #include <error.h>
- #endif
- #endif
-@@ -97,7 +97,7 @@
- #ifdef MACOSX
- #define IAX_SOCKOPTS MSG_DONTWAIT
- #else
--#if defined(SOLARIS) || defined(__OpenBSD__)
-+#if defined(SOLARIS) || defined(__OpenBSD__) || defined(__FreeBSD__)
- #define IAX_SOCKOPTS MSG_DONTWAIT
- #else  /* Linux and others */
- #define IAX_SOCKOPTS MSG_DONTWAIT | MSG_NOSIGNAL
diff --git a/net/iaxmodem/files/patch-lib_spandsp_src_spandsp_t4.h b/net/iaxmodem/files/patch-lib_spandsp_src_spandsp_t4.h
deleted file mode 100644
index d0a1d347322a..000000000000
--- a/net/iaxmodem/files/patch-lib_spandsp_src_spandsp_t4.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/spandsp/src/spandsp/t4.h.orig	2007-10-05 20:00:19.000000000 -0400
-+++ lib/spandsp/src/spandsp/t4.h	2007-11-06 23:57:56.000000000 -0500
-@@ -27,6 +27,8 @@
- 
- /*! \file */
- 
-+#include <time.h>
-+
- #if !defined(_SPANDSP_T4_H_)
- #define _SPANDSP_T4_H_
- 
diff --git a/net/iaxmodem/files/patch-lib_spandsp_src_t31.c b/net/iaxmodem/files/patch-lib_spandsp_src_t31.c
deleted file mode 100644
index f944a5e5dd6e..000000000000
--- a/net/iaxmodem/files/patch-lib_spandsp_src_t31.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/spandsp/src/t31.c  2009-03-14 05:26:02.000000000 +0100
-+++ lib/spandsp/src/t31.c  2009-03-14 05:26:28.000000000 +0100
-@@ -42,7 +42,7 @@
- #include <memory.h>
- #include <string.h>
- #include <ctype.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include "floating_fudge.h"
- #if defined(HAVE_TGMATH_H)
- #include <tgmath.h>
diff --git a/net/iaxmodem/files/patch-lib_spandsp_src_t38_terminal.c b/net/iaxmodem/files/patch-lib_spandsp_src_t38_terminal.c
deleted file mode 100644
index 248d2f7fa8a7..000000000000
--- a/net/iaxmodem/files/patch-lib_spandsp_src_t38_terminal.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/spandsp/src/t38_terminal.c 2009-03-14 05:26:02.000000000 +0100
-+++ lib/spandsp/src/t38_terminal.c 2009-03-14 05:26:40.000000000 +0100
-@@ -37,7 +37,7 @@
- #include <fcntl.h>
- #include <time.h>
- #include <string.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include "floating_fudge.h"
- #if defined(HAVE_TGMATH_H)
- #include <tgmath.h>
diff --git a/net/iaxmodem/files/pkg-message.in b/net/iaxmodem/files/pkg-message.in
deleted file mode 100644
index ec017f3b040d..000000000000
--- a/net/iaxmodem/files/pkg-message.in
+++ /dev/null
@@ -1,19 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-To use IAXmodem with Hylafax:
-
-- Install and configure Hylafax
-
-- Take a look at %%EXAMPLESDIR%%/config.ttyIAX on how to
-  configure the "virtual" modem
-
-- For accepting incoming FAX/data calls, modify /etc/ttys as shown
-  below and send SIGHUP to init process:
-
-	ttyIAX	"%%PREFIX%%/sbin/faxgetty"	dialup	on  secure
-
-Consult documentation for additional information.
-EOM
-}
-]
diff --git a/net/iaxmodem/pkg-descr b/net/iaxmodem/pkg-descr
deleted file mode 100644
index 8c5fc9d597ae..000000000000
--- a/net/iaxmodem/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-IAXmodem is a software modem written in C that uses an IAX channel (commonly
-provided by an Asterisk PBX system) instead of a traditional phone line and
-uses a DSP library instead of DSP hardware chipsets.



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