pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mbone/rtptools Updated mbone/rtptools to 1.21



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c4a85cc3ee5
branches:  trunk
changeset: 362149:3c4a85cc3ee5
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat May 06 08:22:23 2017 +0000

description:
Updated mbone/rtptools to 1.21
------------------------------
1.21 (July 2016)
    Yann E. MORIN (yann.morin.1998%free.fr@localhost): 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:

 mbone/rtptools/Makefile         |   5 +++--
 mbone/rtptools/distinfo         |  12 ++++++------
 mbone/rtptools/patches/patch-aa |  12 +++++++-----
 3 files changed, 16 insertions(+), 13 deletions(-)

diffs (64 lines):

diff -r 41421b717b5e -r 3c4a85cc3ee5 mbone/rtptools/Makefile
--- a/mbone/rtptools/Makefile   Sat May 06 04:39:43 2017 +0000
+++ b/mbone/rtptools/Makefile   Sat May 06 08:22:23 2017 +0000
@@ -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@localhost
 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 -r 41421b717b5e -r 3c4a85cc3ee5 mbone/rtptools/distinfo
--- a/mbone/rtptools/distinfo   Sat May 06 04:39:43 2017 +0000
+++ b/mbone/rtptools/distinfo   Sat May 06 08:22:23 2017 +0000
@@ -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 -r 41421b717b5e -r 3c4a85cc3ee5 mbone/rtptools/patches/patch-aa
--- a/mbone/rtptools/patches/patch-aa   Sat May 06 04:39:43 2017 +0000
+++ b/mbone/rtptools/patches/patch-aa   Sat May 06 08:22:23 2017 +0000
@@ -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 @@
          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



Home | Main Index | Thread Index | Old Index