Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.45 2013/06/17 12:44:54 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.52 2014/02/12 23:18:18 tron Exp $
|
||||
|
||||
DISTNAME= avahi-0.6.31
|
||||
PKGREVISION= 12
|
||||
PKGREVISION= 18
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://avahi.org/download/
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE= http://avahi.org/
|
||||
COMMENT= Facilitate service discovery on a local network
|
||||
LICENSE= gnu-lgpl-v2.1
|
||||
|
||||
EXTRACT_USING= bsdtar
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
USE_LIBTOOL= YES
|
||||
USE_PKGINSTALL= YES
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@comment $NetBSD: PLIST,v 1.7 2013/04/21 00:58:46 rodent Exp $
|
||||
@comment $NetBSD: PLIST,v 1.8 2014/03/11 14:05:06 jperkin Exp $
|
||||
bin/avahi-browse
|
||||
bin/avahi-browse-domains
|
||||
${PLIST.ui}bin/avahi-discover-standalone
|
||||
@@ -120,7 +120,6 @@ share/examples/avahi/avahi-dnsconfd.action
|
||||
share/examples/avahi/hosts
|
||||
share/examples/avahi/services/sftp-ssh.service
|
||||
share/examples/avahi/services/ssh.service
|
||||
share/examples/rc.d/avahidaemon
|
||||
${PLIST.introspection}share/gir-1.0/Avahi-0.6.gir
|
||||
${PLIST.introspection}share/gir-1.0/AvahiCore-0.6.gir
|
||||
share/locale/bg/LC_MESSAGES/avahi.mo
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: buildlink3.mk,v 1.22 2013/06/06 12:53:42 wiz Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.26 2014/02/12 23:18:18 tron Exp $
|
||||
|
||||
BUILDLINK_TREE+= avahi
|
||||
|
||||
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= avahi
|
||||
AVAHI_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.avahi+= avahi>=0.6.23
|
||||
BUILDLINK_ABI_DEPENDS.avahi+= avahi>=0.6.31nb11
|
||||
BUILDLINK_ABI_DEPENDS.avahi+= avahi>=0.6.31nb18
|
||||
BUILDLINK_PKGSRCDIR.avahi?= ../../net/avahi
|
||||
|
||||
pkgbase := avahi
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$NetBSD: distinfo,v 1.12 2013/04/21 00:58:46 rodent Exp $
|
||||
$NetBSD: distinfo,v 1.13 2013/07/05 16:28:43 ryoon Exp $
|
||||
|
||||
SHA1 (avahi-0.6.31.tar.gz) = 7e05bd78572c9088b03b1207a0ad5aba38490684
|
||||
RMD160 (avahi-0.6.31.tar.gz) = 122f553ee2d43cdd0185540a63a8e1f587bdb08e
|
||||
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 95b883bf14dd1852cdf0ea8a364c57717eebb03f
|
||||
SHA1 (patch-ab) = e230ea9d57f40915469486faf4ffaf90ea3ebac3
|
||||
SHA1 (patch-ah) = 4b3ffdb927daef8c939527fd5c5893f9f88b3ff3
|
||||
SHA1 (patch-ai) = 48c5fca5683323a30dc646e5eafb1834e7bedaeb
|
||||
SHA1 (patch-avahi-core_socket.c) = 503f05f77d95b6f73d933810371c53242d13058c
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: options.mk,v 1.4 2013/06/17 12:44:54 wiz Exp $
|
||||
# $NetBSD: options.mk,v 1.5 2014/01/25 10:30:15 wiz Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.avahi
|
||||
PKG_SUPPORTED_OPTIONS= avahi-howl gdbm introspection gtk2 gtk3 mono python qt3
|
||||
@@ -77,8 +77,9 @@ CONFIGURE_ARGS+= --disable-qt4
|
||||
### Enable python support
|
||||
###
|
||||
.if !empty(PKG_OPTIONS:Mpython)
|
||||
. include "../../lang/python/application.mk"
|
||||
PY_PATCHPLIST= yes
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gtk2
|
||||
. include "../../lang/python/application.mk"
|
||||
REPLACE_PYTHON+= avahi-python/avahi-discover/__init__.py
|
||||
. include "../../lang/python/extension.mk"
|
||||
. include "../../sysutils/py-dbus/buildlink3.mk"
|
||||
|
||||
19
net/avahi/patches/patch-avahi-core_socket.c
Normal file
19
net/avahi/patches/patch-avahi-core_socket.c
Normal file
@@ -0,0 +1,19 @@
|
||||
$NetBSD: patch-avahi-core_socket.c,v 1.1 2013/07/05 16:28:43 ryoon Exp $
|
||||
|
||||
* Fix build on NetBSD 6.99.23.
|
||||
From martin@'s post on tech-pkg@.
|
||||
|
||||
--- avahi-core/socket.c.orig 2011-04-25 00:12:18.000000000 +0000
|
||||
+++ avahi-core/socket.c
|
||||
@@ -528,7 +528,11 @@ int avahi_send_dns_packet_ipv4(
|
||||
pkti->ipi_ifindex = interface;
|
||||
|
||||
if (src_address)
|
||||
+#ifdef __linux__
|
||||
pkti->ipi_spec_dst.s_addr = src_address->address;
|
||||
+#else
|
||||
+ pkti->ipi_addr.s_addr = src_address->address;
|
||||
+#endif
|
||||
}
|
||||
#elif defined(IP_MULTICAST_IF)
|
||||
if (src_address) {
|
||||
Reference in New Issue
Block a user