howl-0.9.8, zeroconf networking implementation
This commit is contained in:
parent
d2f745c88a
commit
1b5fe0dcc2
23
net/howl/Makefile
Normal file
23
net/howl/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
|
||||
COMMENT= "zeroconf networking implementation"
|
||||
DISTNAME= howl-0.9.8
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.porchdogsoft.com/download/
|
||||
|
||||
HOMEPAGE= http://www.porchdogsoft.com/products/howl/
|
||||
|
||||
# BSD/APSL
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
||||
|
||||
WANTLIB= c pthread
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= LIBS="-pthread"
|
||||
|
||||
.include <bsd.port.mk>
|
4
net/howl/distinfo
Normal file
4
net/howl/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (howl-0.9.8.tar.gz) = 92a1c18bf9b6817ec47fc7565166eb03
|
||||
RMD160 (howl-0.9.8.tar.gz) = c93361cf48da436f629bf720171ceee274b831af
|
||||
SHA1 (howl-0.9.8.tar.gz) = dd343b8d87de28f5627aa26b24234da557a9f064
|
||||
SIZE (howl-0.9.8.tar.gz) = 540208
|
12
net/howl/patches/patch-docs_Makefile_in
Normal file
12
net/howl/patches/patch-docs_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-docs_Makefile_in,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
--- docs/Makefile.in.orig Mon Nov 22 19:12:58 2004
|
||||
+++ docs/Makefile.in Thu Jan 20 20:05:30 2005
|
||||
@@ -96,7 +96,7 @@ VERSION = @VERSION@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
-howl_helpdir = $(datadir)/howl/help
|
||||
+howl_helpdir = $(datadir)/doc/howl
|
||||
howl_help_DATA = address.html address-summary.html index.html overall.html discovery.html discovery-summary.html salt.html salt-summary.html txt_rec-summary.html txt_rec.html txt_rec_iter-summary.html txt_rec_iter.html txt_rec_str_iter-summary.html txt_rec_str_iter.html
|
||||
man8_MANS = @HOWL_MAN_PAGES@
|
||||
man_MANS =
|
12
net/howl/patches/patch-src_lib_howl_Makefile_in
Normal file
12
net/howl/patches/patch-src_lib_howl_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_lib_howl_Makefile_in,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
--- src/lib/howl/Makefile.in.orig Mon Nov 22 19:13:02 2004
|
||||
+++ src/lib/howl/Makefile.in Thu Jan 20 19:41:08 2005
|
||||
@@ -101,7 +101,7 @@ DIST_SUBDIRS = MacOSX Posix Win32 NotOSX
|
||||
sources_h = buffer_i.h channel_i.h interface_i.h ior.h message_i.h object_i.h orb_i.h profile.h discovery_i.h salt_i.h signal_i.h socket_i.h text_record_i.h time_i.h tlist.h mdns_stub.h
|
||||
sources_c = address.c buffer.c channel.c debug.c interface.c ior.c message.c object.c orb.c platform.c profile.c discovery.c salt.c signal.c socket.c text_record.c time.c
|
||||
INCLUDES = -I$(top_srcdir)/include/ -I../
|
||||
-CFLAGS = -DHOWL_KERNEL
|
||||
+CFLAGS += -DHOWL_KERNEL
|
||||
lib_LTLIBRARIES = libhowl.la
|
||||
libhowl_la_SOURCES = $(sources_h) $(sources_c)
|
||||
libhowl_la_LDFLAGS = -version-info $(HOWL_LIBRARY_VERSION)
|
12
net/howl/patches/patch-src_lib_howl_Posix_posix_interface_c
Normal file
12
net/howl/patches/patch-src_lib_howl_Posix_posix_interface_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_lib_howl_Posix_posix_interface_c,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
--- src/lib/howl/Posix/posix_interface.c.orig Thu Oct 28 15:11:19 2004
|
||||
+++ src/lib/howl/Posix/posix_interface.c Thu Jan 20 02:45:09 2005
|
||||
@@ -629,7 +629,7 @@ sw_network_interfaces(
|
||||
|
||||
ifr = (struct ifreq*) ptr;
|
||||
|
||||
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
|
||||
ptr += sizeof(ifr->ifr_name) + max(sizeof(struct sockaddr), ifr->ifr_addr.sa_len);
|
||||
|
12
net/howl/patches/patch-src_lib_howl_Posix_posix_signal_h
Normal file
12
net/howl/patches/patch-src_lib_howl_Posix_posix_signal_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_lib_howl_Posix_posix_signal_h,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
--- src/lib/howl/Posix/posix_signal.h.orig Sat Apr 17 16:51:42 2004
|
||||
+++ src/lib/howl/Posix/posix_signal.h Thu Jan 20 19:41:47 2005
|
||||
@@ -43,7 +43,7 @@ struct _sw_posix_signal
|
||||
|
||||
#if defined(__linux__)
|
||||
__sighandler_t m_original;
|
||||
-#elif defined (__sun) || defined(__NetBSD__)
|
||||
+#elif defined (__sun) || defined(__OpenBSD__)
|
||||
void * m_original;
|
||||
#else
|
||||
__sighandler_t * m_original;
|
29
net/howl/patches/patch-src_lib_howl_socket_c
Normal file
29
net/howl/patches/patch-src_lib_howl_socket_c
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD: patch-src_lib_howl_socket_c,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
--- src/lib/howl/socket.c.orig Wed Oct 27 12:39:52 2004
|
||||
+++ src/lib/howl/socket.c Thu Jan 20 02:54:06 2005
|
||||
@@ -261,7 +261,7 @@ sw_multicast_socket_super_init(
|
||||
err = sw_translate_error(self->m_desc != SW_INVALID_SOCKET, sw_socket_errno());
|
||||
sw_check_okay_log(err, exit);
|
||||
|
||||
-#if defined(__APPLE__) || defined(__VXWORKS__) || defined(__FreeBSD__)
|
||||
+#if defined(__APPLE__) || defined(__VXWORKS__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEPORT, (char*) &opt, sizeof(opt));
|
||||
#else
|
||||
res = setsockopt(self->m_desc, SOL_SOCKET, SO_REUSEADDR, (char*) &opt, sizeof(opt));
|
||||
@@ -375,6 +375,7 @@ sw_socket_join_multicast_group(
|
||||
#endif
|
||||
int res;
|
||||
sw_result err;
|
||||
+ sw_uchar mttl = (sw_uchar) ttl;
|
||||
|
||||
/*
|
||||
initialize the group membership
|
||||
@@ -425,7 +426,7 @@ sw_socket_join_multicast_group(
|
||||
err = sw_translate_error(res == 0, sw_socket_errno());
|
||||
sw_check_okay_log(err, exit);
|
||||
|
||||
- res = setsockopt(self->m_desc, IPPROTO_IP, IP_MULTICAST_TTL, (char*) &real_ttl, sizeof(real_ttl));
|
||||
+ res = setsockopt(self->m_desc, IPPROTO_IP, IP_MULTICAST_TTL, (char*) &mttl, sizeof(mttl));
|
||||
err = sw_translate_error(res == 0, sw_socket_errno());
|
||||
sw_check_okay_log(err, exit);
|
||||
|
12
net/howl/patches/patch-src_lib_howl_time_c
Normal file
12
net/howl/patches/patch-src_lib_howl_time_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_lib_howl_time_c,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
--- src/lib/howl/time.c.orig Sat Jul 31 17:26:06 2004
|
||||
+++ src/lib/howl/time.c Thu Jan 20 02:44:36 2005
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "time_i.h"
|
||||
#include <salt/debug.h>
|
||||
#include <stdio.h>
|
||||
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
# include <sys/time.h>
|
||||
#elif defined(WIN32)
|
||||
# include <time.h>
|
12
net/howl/patches/patch-src_lib_mDNSResponder_Makefile_in
Normal file
12
net/howl/patches/patch-src_lib_mDNSResponder_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_lib_mDNSResponder_Makefile_in,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
--- src/lib/mDNSResponder/Makefile.in.orig Mon Nov 22 19:13:03 2004
|
||||
+++ src/lib/mDNSResponder/Makefile.in Thu Jan 20 19:44:01 2005
|
||||
@@ -101,7 +101,7 @@ DIST_SUBDIRS = Posix Win32
|
||||
sources_h = DNSServices.h mDNSClientAPI.h mDNSDebug.h mDNSPlatformFunctions.h mDNSPlatform.h mDNSServant.h
|
||||
sources_c = DNSServices.c mDNS.c mDNSPlatform.c mDNSServant.c
|
||||
INCLUDES = -I$(top_srcdir)/include/ -I../howl
|
||||
-CFLAGS = -DHOWL_KERNEL
|
||||
+CFLAGS += -DHOWL_KERNEL
|
||||
lib_LTLIBRARIES = libmDNSResponder.la
|
||||
libmDNSResponder_la_SOURCES = $(sources_h) $(sources_c)
|
||||
libmDNSResponder_la_LDFLAGS = -version-info $(MDNSRESPONDER_LIBRARY_VERSION)
|
12
net/howl/patches/patch-src_mDNSResponder_Makefile_in
Normal file
12
net/howl/patches/patch-src_mDNSResponder_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_mDNSResponder_Makefile_in,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
--- src/mDNSResponder/Makefile.in.orig Mon Nov 22 19:13:03 2004
|
||||
+++ src/mDNSResponder/Makefile.in Thu Jan 20 19:46:27 2005
|
||||
@@ -98,7 +98,7 @@ am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
SUBDIRS = Posix Win32
|
||||
INCLUDES = -I$(top_srcdir)/include/ -I$(top_srcdir)/src/lib/howl -I$(top_srcdir)/src/lib/mDNSResponder
|
||||
-CFLAGS = -DHOWL_KERNEL
|
||||
+CFLAGS += -DHOWL_KERNEL
|
||||
LDADD = $(top_srcdir)/src/lib/mDNSResponder/libmDNSResponder.la $(top_srcdir)/src/lib/howl/libhowl.la $(PLATFORM_LIBS)
|
||||
AM_LDFLAGS = -static
|
||||
bin_PROGRAMS = mDNSResponder
|
1
net/howl/pkg/DESCR
Normal file
1
net/howl/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Howl is a cross-platform implementation of Zeroconf networking.
|
3
net/howl/pkg/PFRAG.shared
Normal file
3
net/howl/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
@lib lib/libhowl.so.0.0
|
||||
@lib lib/libmDNSResponder.so.0.0
|
54
net/howl/pkg/PLIST
Normal file
54
net/howl/pkg/PLIST
Normal file
@ -0,0 +1,54 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/01/21 02:11:57 jolan Exp $
|
||||
%%SHARED%%
|
||||
bin/mDNSBrowse
|
||||
bin/mDNSPublish
|
||||
bin/mDNSQuery
|
||||
bin/mDNSResolve
|
||||
bin/mDNSResponder
|
||||
include/howl/
|
||||
include/howl/corby/
|
||||
include/howl/corby/buffer.h
|
||||
include/howl/corby/channel.h
|
||||
include/howl/corby/corby.h
|
||||
include/howl/corby/message.h
|
||||
include/howl/corby/object.h
|
||||
include/howl/corby/orb.h
|
||||
include/howl/discovery/
|
||||
include/howl/discovery/discovery.h
|
||||
include/howl/discovery/text_record.h
|
||||
include/howl/howl.h
|
||||
include/howl/howl_config.h
|
||||
include/howl/rendezvous/
|
||||
include/howl/rendezvous/rendezvous.h
|
||||
include/howl/rendezvous/text_record.h
|
||||
include/howl/salt/
|
||||
include/howl/salt/address.h
|
||||
include/howl/salt/debug.h
|
||||
include/howl/salt/interface.h
|
||||
include/howl/salt/platform.h
|
||||
include/howl/salt/salt.h
|
||||
include/howl/salt/signal.h
|
||||
include/howl/salt/socket.h
|
||||
include/howl/salt/time.h
|
||||
lib/libhowl.a
|
||||
lib/libhowl.la
|
||||
lib/libmDNSResponder.a
|
||||
lib/libmDNSResponder.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/howl.pc
|
||||
@man man/man8/mDNSResponder.8
|
||||
share/doc/howl/
|
||||
share/doc/howl/address-summary.html
|
||||
share/doc/howl/address.html
|
||||
share/doc/howl/discovery-summary.html
|
||||
share/doc/howl/discovery.html
|
||||
share/doc/howl/index.html
|
||||
share/doc/howl/overall.html
|
||||
share/doc/howl/salt-summary.html
|
||||
share/doc/howl/salt.html
|
||||
share/doc/howl/txt_rec-summary.html
|
||||
share/doc/howl/txt_rec.html
|
||||
share/doc/howl/txt_rec_iter-summary.html
|
||||
share/doc/howl/txt_rec_iter.html
|
||||
share/doc/howl/txt_rec_str_iter-summary.html
|
||||
share/doc/howl/txt_rec_str_iter.html
|
Loading…
Reference in New Issue
Block a user