summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-01-15 15:55:45 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-01-15 15:55:45 +0800
commit40497a5ff81d13b95202294fc125caf6bc830b81 (patch)
tree947a4dd3a1bbd78cda300614fa3a92d45a17184f /net
parent1a5dab64dfa55fc3111800eab866e20db9baeabf (diff)
downloadmarcuscom-ports-40497a5ff81d13b95202294fc125caf6bc830b81.tar
marcuscom-ports-40497a5ff81d13b95202294fc125caf6bc830b81.tar.gz
marcuscom-ports-40497a5ff81d13b95202294fc125caf6bc830b81.tar.bz2
marcuscom-ports-40497a5ff81d13b95202294fc125caf6bc830b81.tar.lz
marcuscom-ports-40497a5ff81d13b95202294fc125caf6bc830b81.tar.xz
marcuscom-ports-40497a5ff81d13b95202294fc125caf6bc830b81.tar.zst
marcuscom-ports-40497a5ff81d13b95202294fc125caf6bc830b81.zip
- Add avahi with howl & libdns_sd compat libs, now conflicts with howl
and mDNSResponder git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5379 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r--net/avahi/Makefile70
-rw-r--r--net/avahi/distinfo3
-rw-r--r--net/avahi/pkg-descr7
-rw-r--r--net/avahi/pkg-install36
-rw-r--r--net/avahi/pkg-plist111
5 files changed, 227 insertions, 0 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile
new file mode 100644
index 000000000..258f02fdc
--- /dev/null
+++ b/net/avahi/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for: avahi
+# Date created: 18 November 2005
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= avahi
+PORTVERSION= 0.6.3
+CATEGORIES= net dns
+MASTER_SITES= http://www.avahi.org/download/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Service discovery on a local network
+
+LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \
+ daemon.2:${PORTSDIR}/devel/libdaemon \
+ dbus-1.2:${PORTSDIR}/devel/dbus \
+ gdbm.3:${PORTSDIR}/databases/gdbm
+
+USE_GNOME= gnomehack ltverhack glib20
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --with-distro=freebsd \
+ --with-dbus-system-address=unix:path=/var/run/dbus \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-python \
+ --disable-mono \
+ --disable-monodoc \
+ --disable-doxygen-doc \
+ --disable-doxygen-dot \
+ --localstatedir=/var \
+ --enable-compat-howl \
+ --enable-compat-libdns_sd
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+CONFLICTS= howl-[0-9]* mDNSResponder-[0-9]*
+USE_RC_SUBR= yes
+
+MAN1= avahi-browse-domains.1 avahi-browse.1 avahi-publish-address.1 \
+ avahi-publish-service.1 avahi-publish.1 avahi-resolve-address.1 \
+ avahi-resolve-host-name.1 avahi-resolve.1
+MAN5= avahi-daemon.conf.5 avahi.service.5
+MAN8= avahi-daemon.8 avahi-dnsconfd.8 avahi-dnsconfd.action.8
+
+OPTIONS= GTK2 "Build a GTK+ 2 browser utility" off
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+IGNORE= does not work on FreeBSD 4.X
+.endif
+
+.if defined(WITH_GTK2)
+USE_GNOME+= libglade2
+PLIST_SUB+= GTK=""
+.else
+CONFIGURE_ARGS+=--disable-gtk
+PLIST_SUB+= GTK="@comment "
+.endif
+
+post-install:
+.if !defined(PACKAGE_BUILDING)
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/avahi/distinfo b/net/avahi/distinfo
new file mode 100644
index 000000000..3d1f42564
--- /dev/null
+++ b/net/avahi/distinfo
@@ -0,0 +1,3 @@
+MD5 (avahi-0.6.3.tar.gz) = 0203f7fdd8d16914594f5c7ab2ec8e71
+SHA256 (avahi-0.6.3.tar.gz) = 47de53a6f68503f6ec5ba22f9a1ee9154df74136b32a549c24ceb1912127812e
+SIZE (avahi-0.6.3.tar.gz) = 854272
diff --git a/net/avahi/pkg-descr b/net/avahi/pkg-descr
new file mode 100644
index 000000000..fb85b6205
--- /dev/null
+++ b/net/avahi/pkg-descr
@@ -0,0 +1,7 @@
+Service discovery on a local network -- this means that you can plug your
+laptop or computer into a network and instantly be able to view other people
+who you can chat with, find printers to print to or find files being shared.
+This kind of technology is already found in MacOS X (branded 'Rendezvous',
+'Bonjour' and sometimes 'ZeroConf') and is very convenient.
+
+WWW: http://www.avahi.org/
diff --git a/net/avahi/pkg-install b/net/avahi/pkg-install
new file mode 100644
index 000000000..9bbd14bce
--- /dev/null
+++ b/net/avahi/pkg-install
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+case $2 in
+POST-INSTALL)
+ USER=avahi
+ GROUP=${USER}
+ UID=558
+ GID=${UID}
+ PW=/usr/sbin/pw
+
+ if ${PW} group show "${GROUP}" 2>/dev/null; then
+ echo "You already have a group \"${GROUP}\", so I will use it."
+ else
+ if ${PW} groupadd ${GROUP} -g ${GID}; then
+ echo "Added group \"${GROUP}\"."
+ else
+ echo "Adding group \"${GROUP}\" failed..."
+ exit 1
+ fi
+ fi
+
+ if ${PW} user show "${USER}" 2>/dev/null; then
+ echo "You already have a user \"${USER}\", so I will use it."
+ else
+ if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \
+ -d "/nonexistent" -s /sbin/nologin -c "Avahi Daemon User"
+ then
+ echo "Added user \"${USER}\"."
+ else
+ echo "Adding user \"${USER}\" failed..."
+ exit 1
+ fi
+ fi
+ exit 0
+ ;;
+esac
diff --git a/net/avahi/pkg-plist b/net/avahi/pkg-plist
new file mode 100644
index 000000000..3c691ee05
--- /dev/null
+++ b/net/avahi/pkg-plist
@@ -0,0 +1,111 @@
+bin/avahi-browse
+bin/avahi-browse-domains
+bin/avahi-discover-standalone
+bin/avahi-publish
+bin/avahi-publish-address
+bin/avahi-publish-service
+bin/avahi-resolve
+bin/avahi-resolve-address
+bin/avahi-resolve-host-name
+etc/avahi/avahi-daemon.conf
+etc/avahi/avahi-dnsconfd.action
+etc/avahi/services/ssh.service
+etc/dbus-1/system.d/avahi-dbus.conf
+etc/rc.d/avahi-daemon.sh
+etc/rc.d/avahi-dnsconfd.sh
+include/avahi-client/client.h
+include/avahi-client/lookup.h
+include/avahi-client/publish.h
+include/avahi-common/address.h
+include/avahi-common/alternative.h
+include/avahi-common/cdecl.h
+include/avahi-common/defs.h
+include/avahi-common/domain.h
+include/avahi-common/error.h
+include/avahi-common/gccmacro.h
+include/avahi-common/llist.h
+include/avahi-common/malloc.h
+include/avahi-common/rlist.h
+include/avahi-common/simple-watch.h
+include/avahi-common/strlst.h
+include/avahi-common/timeval.h
+include/avahi-common/watch.h
+include/avahi-compat-howl/corby/buffer.h
+include/avahi-compat-howl/corby/channel.h
+include/avahi-compat-howl/corby/corby.h
+include/avahi-compat-howl/corby/message.h
+include/avahi-compat-howl/corby/object.h
+include/avahi-compat-howl/corby/orb.h
+include/avahi-compat-howl/discovery/discovery.h
+include/avahi-compat-howl/discovery/text_record.h
+include/avahi-compat-howl/howl.h
+include/avahi-compat-howl/rendezvous/rendezvous.h
+include/avahi-compat-howl/rendezvous/text_record.h
+include/avahi-compat-howl/salt/address.h
+include/avahi-compat-howl/salt/debug.h
+include/avahi-compat-howl/salt/interface.h
+include/avahi-compat-howl/salt/platform.h
+include/avahi-compat-howl/salt/salt.h
+include/avahi-compat-howl/salt/signal.h
+include/avahi-compat-howl/salt/socket.h
+include/avahi-compat-howl/salt/time.h
+include/avahi-compat-libdns_sd/dns_sd.h
+include/avahi-core/core.h
+include/avahi-core/log.h
+include/avahi-core/lookup.h
+include/avahi-core/publish.h
+include/avahi-core/rr.h
+include/avahi-glib/glib-malloc.h
+include/avahi-glib/glib-watch.h
+lib/libavahi-client.a
+lib/libavahi-client.so
+lib/libavahi-client.so.3
+lib/libavahi-common.a
+lib/libavahi-common.so
+lib/libavahi-common.so.3
+lib/libavahi-core.a
+lib/libavahi-core.so
+lib/libavahi-core.so.3
+lib/libavahi-glib.a
+lib/libavahi-glib.so
+lib/libavahi-glib.so.1
+lib/libdns_sd.a
+lib/libdns_sd.so
+lib/libdns_sd.so.1
+lib/libhowl.a
+lib/libhowl.so
+lib/libhowl.so.0
+libdata/pkgconfig/avahi-client.pc
+libdata/pkgconfig/avahi-compat-howl.pc
+libdata/pkgconfig/avahi-compat-libdns_sd.pc
+libdata/pkgconfig/avahi-core.pc
+libdata/pkgconfig/avahi-glib.pc
+sbin/avahi-daemon
+sbin/avahi-dnsconfd
+%%DATADIR%%/avahi-service.dtd
+%%GTK%%%%DATADIR%%/interfaces/avahi-discover.glade
+%%DATADIR%%/introspection/AddressResolver.introspect
+%%DATADIR%%/introspection/DomainBrowser.introspect
+%%DATADIR%%/introspection/EntryGroup.introspect
+%%DATADIR%%/introspection/HostNameResolver.introspect
+%%DATADIR%%/introspection/RecordBrowser.introspect
+%%DATADIR%%/introspection/Server.introspect
+%%DATADIR%%/introspection/ServiceBrowser.introspect
+%%DATADIR%%/introspection/ServiceResolver.introspect
+%%DATADIR%%/introspection/ServiceTypeBrowser.introspect
+%%DATADIR%%/service-types
+@dirrm %%DATADIR%%/introspection
+%%GTK%%@dirrm %%DATADIR%%/interfaces
+@dirrm %%DATADIR%%
+@dirrm include/avahi-glib
+@dirrm include/avahi-core
+@dirrm include/avahi-compat-libdns_sd
+@dirrm include/avahi-compat-howl/salt
+@dirrm include/avahi-compat-howl/rendezvous
+@dirrm include/avahi-compat-howl/discovery
+@dirrm include/avahi-compat-howl/corby
+@dirrm include/avahi-compat-howl
+@dirrm include/avahi-common
+@dirrm include/avahi-client
+@dirrm etc/avahi/services
+@dirrm etc/avahi