split libnice into two pkgs, to get dependencies sorted and stop abuse of the options framework being here, update to 0.0.13 changes: - Add support for IPv6 - Fix crc32 function conflict with libz.so - Various bug fixing and code cleaning - Validate the remote candidate address before adding itdiff -r1.847 -r1.848 pkgsrc/net/Makefile
(drochner)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.847 2010/08/04 21:33:16 seb Exp $ | 1 | # $NetBSD: Makefile,v 1.848 2010/08/09 09:53:30 drochner Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | COMMENT= Networking tools | 4 | COMMENT= Networking tools | |
5 | 5 | |||
6 | SUBDIR+= 3proxy | 6 | SUBDIR+= 3proxy | |
7 | SUBDIR+= 6tunnel | 7 | SUBDIR+= 6tunnel | |
8 | SUBDIR+= DarwinStreamingServer | 8 | SUBDIR+= DarwinStreamingServer | |
9 | SUBDIR+= GeoIP | 9 | SUBDIR+= GeoIP | |
10 | SUBDIR+= Geomyidae | 10 | SUBDIR+= Geomyidae | |
11 | SUBDIR+= IglooFTP | 11 | SUBDIR+= IglooFTP | |
12 | SUBDIR+= LaBrea | 12 | SUBDIR+= LaBrea | |
13 | SUBDIR+= ORBit | 13 | SUBDIR+= ORBit | |
14 | SUBDIR+= ORBit2 | 14 | SUBDIR+= ORBit2 | |
@@ -138,26 +138,27 @@ SUBDIR+= gkrellm-snmp | @@ -138,26 +138,27 @@ SUBDIR+= gkrellm-snmp | |||
138 | SUBDIR+= gkrellm-wireless | 138 | SUBDIR+= gkrellm-wireless | |
139 | SUBDIR+= gnapfetch | 139 | SUBDIR+= gnapfetch | |
140 | SUBDIR+= gnet | 140 | SUBDIR+= gnet | |
141 | SUBDIR+= gnet1 | 141 | SUBDIR+= gnet1 | |
142 | SUBDIR+= gnetcat | 142 | SUBDIR+= gnetcat | |
143 | SUBDIR+= gnome-netstatus | 143 | SUBDIR+= gnome-netstatus | |
144 | SUBDIR+= gnome-nettool | 144 | SUBDIR+= gnome-nettool | |
145 | SUBDIR+= gnome-vfs-smb | 145 | SUBDIR+= gnome-vfs-smb | |
146 | SUBDIR+= gnugk | 146 | SUBDIR+= gnugk | |
147 | SUBDIR+= gofish | 147 | SUBDIR+= gofish | |
148 | SUBDIR+= gopher | 148 | SUBDIR+= gopher | |
149 | SUBDIR+= gsnmp | 149 | SUBDIR+= gsnmp | |
150 | SUBDIR+= gssdp | 150 | SUBDIR+= gssdp | |
151 | SUBDIR+= gst-plugins0.10-libnice | |||
151 | SUBDIR+= gst-plugins0.10-mms | 152 | SUBDIR+= gst-plugins0.10-mms | |
152 | SUBDIR+= gst-plugins0.10-soup | 153 | SUBDIR+= gst-plugins0.10-soup | |
153 | SUBDIR+= gt-itm | 154 | SUBDIR+= gt-itm | |
154 | SUBDIR+= gtk-gnutella | 155 | SUBDIR+= gtk-gnutella | |
155 | SUBDIR+= gtk-vnc | 156 | SUBDIR+= gtk-vnc | |
156 | SUBDIR+= gtk_wicontrol | 157 | SUBDIR+= gtk_wicontrol | |
157 | SUBDIR+= gupnp | 158 | SUBDIR+= gupnp | |
158 | SUBDIR+= gupnp-av | 159 | SUBDIR+= gupnp-av | |
159 | SUBDIR+= gupnp-igd | 160 | SUBDIR+= gupnp-igd | |
160 | SUBDIR+= gupnp-tools | 161 | SUBDIR+= gupnp-tools | |
161 | SUBDIR+= hesiod | 162 | SUBDIR+= hesiod | |
162 | SUBDIR+= hf6to4 | 163 | SUBDIR+= hf6to4 | |
163 | SUBDIR+= hlfl | 164 | SUBDIR+= hlfl |
GLib ICE library
- only implements ICE Lite
- no support for RTCP
- no support for IPv6
# $NetBSD: Makefile,v 1.1 2010/08/09 09:53:30 drochner Exp $
#
DISTNAME= libnice-0.0.13
PKGNAME= gst-plugins0.10-libnice-0.0.13
CATEGORIES= net devel
MASTER_SITES= http://nice.freedesktop.org/releases/
CONFLICTS+= libnice<0.0.13
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://nice.freedesktop.org/wiki/
COMMENT= IETF's draft Interactice Connectivity Establishment standard implementation
LICENSE= gnu-lgpl-v2.1 OR mpl-1.1
PATCHDIR= ${.CURDIR}/../../net/libnice/patches
DISTINFO_FILE= ${.CURDIR}/../../net/libnice/distinfo
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --with-gstreamer
BUILD_DIRS= gst
INSTALL_DIRS= gst
.include "../../devel/glib2/buildlink3.mk"
.include "../../net/gupnp-igd/buildlink3.mk"
.include "../../net/libnice/buildlink3.mk"
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2010/08/09 09:53:30 drochner Exp $
lib/gstreamer-0.10/libgstnice.la
@@ -1,26 +1,24 @@ | @@ -1,26 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2010/06/13 22:45:11 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2010/08/09 09:53:30 drochner Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= libnice-0.0.11 | 4 | DISTNAME= libnice-0.0.13 | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= net devel | 5 | CATEGORIES= net devel | |
7 | MASTER_SITES= http://nice.freedesktop.org/releases/ | 6 | MASTER_SITES= http://nice.freedesktop.org/releases/ | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://nice.freedesktop.org/wiki/ | 9 | HOMEPAGE= http://nice.freedesktop.org/wiki/ | |
11 | COMMENT= IETF's draft Interactice Connectivity Establishment standard implementation | 10 | COMMENT= IETF's draft Interactice Connectivity Establishment standard implementation | |
12 | LICENSE= gnu-lgpl-v2.1 OR mpl-1.1 | 11 | LICENSE= gnu-lgpl-v2.1 OR mpl-1.1 | |
13 | 12 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 14 | |||
16 | .include "options.mk" | |||
17 | ||||
18 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
19 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
20 | USE_TOOLS+= pkg-config | 17 | USE_TOOLS+= pkg-config | |
18 | CONFIGURE_ARGS+= --without-gstreamer | |||
21 | 19 | |||
22 | PKGCONFIG_OVERRIDE+= nice/nice.pc.in | 20 | PKGCONFIG_OVERRIDE+= nice/nice.pc.in | |
23 | 21 | |||
24 | .include "../../devel/glib2/buildlink3.mk" | 22 | .include "../../devel/glib2/buildlink3.mk" | |
25 | .include "../../net/gupnp-igd/buildlink3.mk" | 23 | .include "../../net/gupnp-igd/buildlink3.mk" | |
26 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,33 +1,32 @@ | @@ -1,33 +1,32 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2010/05/02 11:45:35 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2010/08/09 09:53:30 drochner Exp $ | |
2 | bin/stunbdc | 2 | bin/stunbdc | |
3 | bin/stund | 3 | bin/stund | |
4 | include/nice/address.h | 4 | include/nice/address.h | |
5 | include/nice/agent.h | 5 | include/nice/agent.h | |
6 | include/nice/candidate.h | 6 | include/nice/candidate.h | |
7 | include/nice/debug.h | 7 | include/nice/debug.h | |
8 | include/nice/interfaces.h | 8 | include/nice/interfaces.h | |
9 | include/nice/nice.h | 9 | include/nice/nice.h | |
10 | include/nice/pseudotcp.h | 10 | include/nice/pseudotcp.h | |
11 | include/stun/constants.h | 11 | include/stun/constants.h | |
12 | include/stun/debug.h | 12 | include/stun/debug.h | |
13 | include/stun/stunagent.h | 13 | include/stun/stunagent.h | |
14 | include/stun/stunmessage.h | 14 | include/stun/stunmessage.h | |
15 | include/stun/usages/bind.h | 15 | include/stun/usages/bind.h | |
16 | include/stun/usages/ice.h | 16 | include/stun/usages/ice.h | |
17 | include/stun/usages/timer.h | 17 | include/stun/usages/timer.h | |
18 | include/stun/usages/turn.h | 18 | include/stun/usages/turn.h | |
19 | include/stun/win32_common.h | 19 | include/stun/win32_common.h | |
20 | ${PLIST.gstreamer}lib/gstreamer-0.10/libgstnice.la | |||
21 | lib/libnice.la | 20 | lib/libnice.la | |
22 | lib/pkgconfig/nice.pc | 21 | lib/pkgconfig/nice.pc | |
23 | share/gtk-doc/html/libnice/NiceAgent.html | 22 | share/gtk-doc/html/libnice/NiceAgent.html | |
24 | share/gtk-doc/html/libnice/ch01.html | 23 | share/gtk-doc/html/libnice/ch01.html | |
25 | share/gtk-doc/html/libnice/ch02.html | 24 | share/gtk-doc/html/libnice/ch02.html | |
26 | share/gtk-doc/html/libnice/ch03.html | 25 | share/gtk-doc/html/libnice/ch03.html | |
27 | share/gtk-doc/html/libnice/ch04.html | 26 | share/gtk-doc/html/libnice/ch04.html | |
28 | share/gtk-doc/html/libnice/ch05.html | 27 | share/gtk-doc/html/libnice/ch05.html | |
29 | share/gtk-doc/html/libnice/home.png | 28 | share/gtk-doc/html/libnice/home.png | |
30 | share/gtk-doc/html/libnice/index.html | 29 | share/gtk-doc/html/libnice/index.html | |
31 | share/gtk-doc/html/libnice/index.sgml | 30 | share/gtk-doc/html/libnice/index.sgml | |
32 | share/gtk-doc/html/libnice/left.png | 31 | share/gtk-doc/html/libnice/left.png | |
33 | share/gtk-doc/html/libnice/libnice-Bind.html | 32 | share/gtk-doc/html/libnice/libnice-Bind.html |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2010/05/02 11:45:35 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.5 2010/08/09 09:53:30 drochner Exp $ | |
2 | 2 | |||
3 | SHA1 (libnice-0.0.11.tar.gz) = 357ce736c106b0b11fd37c13675640a884f42413 | 3 | SHA1 (libnice-0.0.13.tar.gz) = 703b03fbb20da693c057d3fe5074b182a17c7364 | |
4 | RMD160 (libnice-0.0.11.tar.gz) = 02c6949c7cb09fc92db89a3c0f221acfe3f9a6c5 | 4 | RMD160 (libnice-0.0.13.tar.gz) = 0a20d03c4ed0fb1677149b2d9595a6111e958a15 | |
5 | Size (libnice-0.0.11.tar.gz) = 636299 bytes | 5 | Size (libnice-0.0.13.tar.gz) = 635783 bytes | |
6 | SHA1 (patch-ac) = 1dd3664f86b331067eddecf82bedfc56bd62ff1b | 6 | SHA1 (patch-ac) = 908988e65c637db9bf6ca35f912a841055369e07 | |
7 | SHA1 (patch-ad) = bb8161468e0875b6ca69d699c4119821a26d4532 |
@@ -1,12 +1,21 @@ | @@ -1,12 +1,21 @@ | |||
1 | $NetBSD: patch-ac,v 1.2 2010/05/02 11:45:35 wiz Exp $ | 1 | $NetBSD: patch-ac,v 1.3 2010/08/09 09:53:30 drochner Exp $ | |
2 | 2 | |||
3 | --- agent/interfaces.c.orig 2010-03-18 20:57:10.000000000 +0000 | 3 | --- agent/interfaces.c.orig 2010-07-20 21:54:40.000000000 +0000 | |
4 | +++ agent/interfaces.c | 4 | +++ agent/interfaces.c | |
5 | @@ -49,6 +49,7 @@ | 5 | @@ -49,6 +49,7 @@ | |
6 | #include <net/if.h> | 6 | #include <net/if.h> | |
7 | #include <net/if_arp.h> | 7 | #include <net/if_arp.h> | |
8 | #include <arpa/inet.h> | 8 | #include <arpa/inet.h> | |
9 | +#include <netinet/in.h> | 9 | +#include <netinet/in.h> | |
10 | 10 | |||
11 | #ifdef HAVE_GETIFADDRS | 11 | #ifdef HAVE_GETIFADDRS | |
12 | 12 | |||
13 | @@ -198,7 +199,7 @@ nice_interfaces_get_local_ips (gboolean | |||
14 | struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *)ifa->ifa_addr; | |||
15 | ||||
16 | /* Skip link-local addresses, they require a scope */ | |||
17 | - if (IN6_IS_ADDR_LINKLOCAL (sa6->sin6_addr.s6_addr)) | |||
18 | + if (IN6_IS_ADDR_LINKLOCAL (&sa6->sin6_addr)) | |||
19 | continue; | |||
20 | ||||
21 | if (inet_ntop (AF_INET6, &sa6->sin6_addr, addr_as_string, |
$NetBSD: patch-ad,v 1.1 2010/08/09 09:53:30 drochner Exp $
--- gst/Makefile.in.orig 2010-07-20 21:57:29.000000000 +0000
+++ gst/Makefile.in
@@ -76,8 +76,7 @@ am__base_list = \
am__installdirs = "$(DESTDIR)$(gstplugindir)"
LTLIBRARIES = $(gstplugin_LTLIBRARIES)
am__DEPENDENCIES_1 =
-am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) \
- $(top_builddir)/nice/libnice.la
+am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
libgstnice_la_DEPENDENCIES = $(am__DEPENDENCIES_2)
am_libgstnice_la_OBJECTS = gstnicesrc.lo gstnicesink.lo gstnice.lo
libgstnice_la_OBJECTS = $(am_libgstnice_la_OBJECTS)
@@ -242,7 +241,7 @@ AM_CFLAGS = $(LIBNICE_CFLAGS) \
COMMON_LDADD = \
$(GST_LIBS) \
- $(top_builddir)/nice/libnice.la
+ $(prefix)/lib/libnice.la
# libgstnice