diff options
author | mef <mef@pkgsrc.org> | 2017-05-06 08:22:23 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2017-05-06 08:22:23 +0000 |
commit | d326b9a40aaa05484567b040352690c9b44e8c7d (patch) | |
tree | 9a1ca62814637693a92ef214c66b7baff0294fc4 /mbone | |
parent | 6ad4a0e618d54b7537e5b974ca0bd3d8b3395e97 (diff) | |
download | pkgsrc-d326b9a40aaa05484567b040352690c9b44e8c7d.tar.gz |
Updated mbone/rtptools to 1.21
------------------------------
1.21 (July 2016)
Yann E. MORIN (yann.morin.1998@free.fr): Buildroot [1] is a build-system
targetting embedded devices. It is able to build toolchains for various
architectures, based on the traditional GNU compiler collection gcc, the GNU
binutils and various C libraries, such as GNU libc (glibc), uClibc [2] [3] or
musl [4].
glibc is a feature-full C library, which has had support for Yellow Pages
(and the rest of the SUN RPC stuff) for a long time. However, circa the 2.14
release, glibc stopped installing the RPC headers [5], on the principle that
providing the RPC implementation would be better served by a third-party
package, namely ti-rpc [6]. That did not happen in time, so installing the
RPC headers from glibc was re-instated circa 2.16.
uClibc (no longer maintained, replaced by a fork, uClibc-ng) is a fully
configurable C library for embedded systems. It entirely lacks a SUN RPC
implementation altogether.
musl is standards-conforming, lightweight C library. It also entirely lacks a
SUN RPC implementation.
TI-RPC is a stand-alone package. It may or may not be available (because the
user may not need SUN RPC stuff on an embedded device, for example). Besides,
it is not yet as feature-full as the implementation in glibc, though for all
practical means, it is totally useable.
So, there are cases where a SUN RPC implementation is not available.
This patch makes it so that the use of Yellow Pages is conditional on the
presence of a SUN RPC implementation, by checking at ./configure whether the
required header is present, and disabling the corresponding code if the
header is missing.
At the same time, the legacy, long unsupported AM_C_PROTOTYPES directive is
also removed, as it makes recent-ish autoconf fail.
Diffstat (limited to 'mbone')
-rw-r--r-- | mbone/rtptools/Makefile | 5 | ||||
-rw-r--r-- | mbone/rtptools/distinfo | 12 | ||||
-rw-r--r-- | mbone/rtptools/patches/patch-aa | 12 |
3 files changed, 16 insertions, 13 deletions
diff --git a/mbone/rtptools/Makefile b/mbone/rtptools/Makefile index ab47417c25c..9e22809ab95 100644 --- a/mbone/rtptools/Makefile +++ b/mbone/rtptools/Makefile @@ -1,13 +1,14 @@ -# $NetBSD: Makefile,v 1.10 2014/12/10 05:28:27 mef Exp $ +# $NetBSD: Makefile,v 1.11 2017/05/06 08:22:23 mef Exp $ # -DISTNAME= rtptools-1.20 +DISTNAME= rtptools-1.21 CATEGORIES= mbone MASTER_SITES= http://www.cs.columbia.edu/IRT/software/rtptools/download/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cs.columbia.edu/IRT/software/rtptools/ COMMENT= Tools for processing RTP data +# LICENSE= # See COPYRIGHT file, avoid direct commercial advantate GNU_CONFIGURE= yes CPPFLAGS+= -Dunix diff --git a/mbone/rtptools/distinfo b/mbone/rtptools/distinfo index c1510fa7ff4..74c6ceed120 100644 --- a/mbone/rtptools/distinfo +++ b/mbone/rtptools/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2015/11/02 23:54:09 agc Exp $ +$NetBSD: distinfo,v 1.5 2017/05/06 08:22:23 mef Exp $ -SHA1 (rtptools-1.20.tar.gz) = e3e7970634f8567097ae8dcd7143d2857594a5e1 -RMD160 (rtptools-1.20.tar.gz) = c1299b874741a94ddefb5009f691790136630aa8 -SHA512 (rtptools-1.20.tar.gz) = e2c62bd56737066288d997866e1ee19d1ace2ccd60a1f1acfa45e2720fd6310d86f61c6cb221f6c7b8751f82d5234c23ef763d82028f6feda046210724625194 -Size (rtptools-1.20.tar.gz) = 168950 bytes -SHA1 (patch-aa) = 152d118a104ba328789338db13fea3982efd441a +SHA1 (rtptools-1.21.tar.gz) = 443ea5a604a833f73aaccd8021febd7c2f09ef91 +RMD160 (rtptools-1.21.tar.gz) = ce64f3c1d2299c1f4d4dadd3f57e0f99a75ffdfd +SHA512 (rtptools-1.21.tar.gz) = 12ddef4ca8f668eadac772e49030584054def0a7ec16336c28b1e5b8d46da66ea93f83d9ee7aa8a92206e38561af08f5bb1eac03082eb66f39781264578183d6 +Size (rtptools-1.21.tar.gz) = 171901 bytes +SHA1 (patch-aa) = 5f661e425b39b26eb1794297ebfcf40df8d281d6 diff --git a/mbone/rtptools/patches/patch-aa b/mbone/rtptools/patches/patch-aa index 5f7d08dc75d..bf54117ba63 100644 --- a/mbone/rtptools/patches/patch-aa +++ b/mbone/rtptools/patches/patch-aa @@ -1,7 +1,9 @@ -$NetBSD: patch-aa,v 1.1.1.1 2003/05/07 20:52:44 seb Exp $ +$NetBSD: patch-aa,v 1.2 2017/05/06 08:22:23 mef Exp $ ---- rtptrans.c.orig 2002-10-08 10:18:21.000000000 +0000 -+++ rtptrans.c +Support (generic) BSD + +--- rtptrans.c.orig 2015-01-20 12:28:00.000000000 +0900 ++++ rtptrans.c 2017-05-06 17:11:55.000000000 +0900 @@ -44,6 +44,7 @@ * */ @@ -14,8 +16,8 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/05/07 20:52:44 seb Exp $ if (side[i][proto].sock != sock) { msg.msg_name = (caddr_t ) &side[i][proto].sin; msg.msg_namelen = sizeof(side[i][proto].sin); --#if defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) /* Or presumably other BSD 4.4 systems */ -+#if defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) || (defined(BSD) && BSD >= 199306) /* Or presumably other BSD 4.4 systems */ +-#if defined(__unix__) || defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) /* Or presumably other BSD 4.4 systems */ ++#if defined(__unix__) || defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) || (defined(BSD) && BSD >= 199306)/* Or presumably other BSD 4.4 systems */ msg.msg_control = 0; msg.msg_controllen = 0; #else |