From 8feafc55c15aa1d7d106b08fe34348d9800d3e61 Mon Sep 17 00:00:00 2001 From: sthen Date: Sun, 21 Feb 2021 16:49:50 +0000 Subject: [PATCH] update to iaxmodem-1.3.2 --- telephony/iaxmodem/Makefile | 5 ++--- telephony/iaxmodem/distinfo | 4 ++-- telephony/iaxmodem/patches/patch-Makefile_in | 3 ++- telephony/iaxmodem/patches/patch-configure | 3 ++- .../iaxmodem/patches/patch-iaxmodem-cfg_ttyIAX | 3 ++- telephony/iaxmodem/patches/patch-iaxmodem_c | 9 +++++---- .../iaxmodem/patches/patch-lib_spandsp_configure | 14 -------------- 7 files changed, 15 insertions(+), 26 deletions(-) delete mode 100644 telephony/iaxmodem/patches/patch-lib_spandsp_configure diff --git a/telephony/iaxmodem/Makefile b/telephony/iaxmodem/Makefile index b224356b369..aba7c56ec54 100644 --- a/telephony/iaxmodem/Makefile +++ b/telephony/iaxmodem/Makefile @@ -1,11 +1,10 @@ -# $OpenBSD: Makefile,v 1.10 2019/07/17 14:39:43 danj Exp $ +# $OpenBSD: Makefile,v 1.11 2021/02/21 16:49:50 sthen Exp $ COMMENT= a software fax modem that uses an IAX channel -DISTNAME= iaxmodem-1.3.0 +DISTNAME= iaxmodem-1.3.2 CATEGORIES= telephony MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iaxmodem/} -REVISION= 0 HOMEPAGE= http://iaxmodem.sourceforge.net/ diff --git a/telephony/iaxmodem/distinfo b/telephony/iaxmodem/distinfo index f400592926b..78608e8f154 100644 --- a/telephony/iaxmodem/distinfo +++ b/telephony/iaxmodem/distinfo @@ -1,2 +1,2 @@ -SHA256 (iaxmodem-1.3.0.tar.gz) = nc/5C7xBhG5cORnKkmh99LF/VNjfaSlAuMZ8TpgodTU= -SIZE (iaxmodem-1.3.0.tar.gz) = 2483995 +SHA256 (iaxmodem-1.3.2.tar.gz) = ZnFQIwhwVKRTYHJm5KAy/XsdtWO1GJyV5DFuytvw1jI= +SIZE (iaxmodem-1.3.2.tar.gz) = 2479070 diff --git a/telephony/iaxmodem/patches/patch-Makefile_in b/telephony/iaxmodem/patches/patch-Makefile_in index 974ea8abf16..ecacc564328 100644 --- a/telephony/iaxmodem/patches/patch-Makefile_in +++ b/telephony/iaxmodem/patches/patch-Makefile_in @@ -1,4 +1,5 @@ -$OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/04/21 03:49:22 todd Exp $ +$OpenBSD: patch-Makefile_in,v 1.2 2021/02/21 16:49:50 sthen Exp $ + --- Makefile.in.orig Thu Feb 7 20:57:47 2008 +++ Makefile.in Thu Mar 27 21:58:54 2008 @@ -3,13 +3,13 @@ DSPVER= @DSPVER@ diff --git a/telephony/iaxmodem/patches/patch-configure b/telephony/iaxmodem/patches/patch-configure index 01a7e08c3e3..6c943876e3e 100644 --- a/telephony/iaxmodem/patches/patch-configure +++ b/telephony/iaxmodem/patches/patch-configure @@ -1,4 +1,5 @@ -$OpenBSD: patch-configure,v 1.2 2017/07/27 18:45:41 sthen Exp $ +$OpenBSD: patch-configure,v 1.3 2021/02/21 16:49:50 sthen Exp $ + Index: configure --- configure.orig +++ configure diff --git a/telephony/iaxmodem/patches/patch-iaxmodem-cfg_ttyIAX b/telephony/iaxmodem/patches/patch-iaxmodem-cfg_ttyIAX index bc9459a23aa..86e5d063f72 100644 --- a/telephony/iaxmodem/patches/patch-iaxmodem-cfg_ttyIAX +++ b/telephony/iaxmodem/patches/patch-iaxmodem-cfg_ttyIAX @@ -1,4 +1,5 @@ -$OpenBSD: patch-iaxmodem-cfg_ttyIAX,v 1.1.1.1 2008/04/21 03:49:22 todd Exp $ +$OpenBSD: patch-iaxmodem-cfg_ttyIAX,v 1.2 2021/02/21 16:49:50 sthen Exp $ + --- iaxmodem-cfg.ttyIAX.orig Sun Apr 20 22:18:51 2008 +++ iaxmodem-cfg.ttyIAX Sun Apr 20 22:19:30 2008 @@ -1,5 +1,5 @@ diff --git a/telephony/iaxmodem/patches/patch-iaxmodem_c b/telephony/iaxmodem/patches/patch-iaxmodem_c index 5926a365a2f..21d67c01611 100644 --- a/telephony/iaxmodem/patches/patch-iaxmodem_c +++ b/telephony/iaxmodem/patches/patch-iaxmodem_c @@ -1,4 +1,5 @@ -$OpenBSD: patch-iaxmodem_c,v 1.2 2017/07/27 18:45:41 sthen Exp $ +$OpenBSD: patch-iaxmodem_c,v 1.3 2021/02/21 16:49:50 sthen Exp $ + Index: iaxmodem.c --- iaxmodem.c.orig +++ iaxmodem.c @@ -36,7 +37,7 @@ Index: iaxmodem.c #ifndef MODEMVER #define MODEMVER "0.0.0" -@@ -167,6 +161,9 @@ int logmode = S_IRUSR | S_IWUSR | S_IRGRP; +@@ -168,6 +162,9 @@ int logmode = S_IRUSR | S_IWUSR | S_IRGRP; #include "compat/headers.h" #include "sys/stropts.h" #endif @@ -46,12 +47,12 @@ Index: iaxmodem.c #ifdef __FreeBSD__ #include "compat/strndup-freebsd.c" -@@ -666,7 +663,8 @@ iaxmodem(const char *config, int nondaemon) +@@ -688,7 +685,8 @@ iaxmodem(const char *config, int nondaemon) int fd; char logfile[256]; - printlog(LOG_ERROR, "Modem started\n"); -+ printlog(LOG_ERROR, "Modem %s started\n",config); ++ printlog(LOG_ERROR, "Modem %s started\n", config); + setproctitle("uucp [%s]",config); pwent = getpwnam("uucp"); diff --git a/telephony/iaxmodem/patches/patch-lib_spandsp_configure b/telephony/iaxmodem/patches/patch-lib_spandsp_configure deleted file mode 100644 index d3c69e407d2..00000000000 --- a/telephony/iaxmodem/patches/patch-lib_spandsp_configure +++ /dev/null @@ -1,14 +0,0 @@ -$OpenBSD: patch-lib_spandsp_configure,v 1.1 2017/07/27 18:45:41 sthen Exp $ - -Index: lib/spandsp/configure ---- lib/spandsp/configure.orig -+++ lib/spandsp/configure -@@ -19658,7 +19658,7 @@ fi - - case "${ax_cv_c_compiler_vendor}" in - gnu) -- COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" -+ COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" - if test "$enable_avx" = "yes" ; then - COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS" - fi