summaryrefslogtreecommitdiff
path: root/avahi
diff options
context:
space:
mode:
authorTimB87 <tbier@posteo.de>2019-06-11 23:45:44 +0200
committerTimB87 <tbier@posteo.de>2019-06-11 23:45:44 +0200
commited1e6cbd7237a6b088ec5c969766fb7af4df5e2d (patch)
treeb374fae94f27b746c83ac93b983be2f96d8fb656 /avahi
parent447f1d43543763d47de7606cb1b36f47858fde05 (diff)
downloadcontrib-ed1e6cbd7237a6b088ec5c969766fb7af4df5e2d.tar.gz
contrib-ed1e6cbd7237a6b088ec5c969766fb7af4df5e2d.tar.xz
avahi: initial commit
Diffstat (limited to 'avahi')
-rw-r--r--avahi/.footprint157
-rw-r--r--avahi/.signature6
-rw-r--r--avahi/Pkgfile33
-rw-r--r--avahi/avahi-daemon.rc36
-rw-r--r--avahi/pre-install10
5 files changed, 242 insertions, 0 deletions
diff --git a/avahi/.footprint b/avahi/.footprint
new file mode 100644
index 000000000..1d6fec083
--- /dev/null
+++ b/avahi/.footprint
@@ -0,0 +1,157 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+-rwxr-xr-x root/root etc/rc.d/avahi-daemon
+drwxr-xr-x root/root run/
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/avahi-browse
+lrwxrwxrwx root/root usr/bin/avahi-browse-domains -> avahi-browse
+-rwxr-xr-x root/root usr/bin/avahi-publish
+lrwxrwxrwx root/root usr/bin/avahi-publish-address -> avahi-publish
+lrwxrwxrwx root/root usr/bin/avahi-publish-service -> avahi-publish
+-rwxr-xr-x root/root usr/bin/avahi-resolve
+lrwxrwxrwx root/root usr/bin/avahi-resolve-address -> avahi-resolve
+lrwxrwxrwx root/root usr/bin/avahi-resolve-host-name -> avahi-resolve
+-rwxr-xr-x root/root usr/bin/avahi-set-host-name
+drwxr-xr-x root/root usr/etc/
+drwxr-xr-x root/root usr/etc/avahi/
+-rwxr-xr-x root/root usr/etc/avahi/avahi-autoipd.action
+-rw-r--r-- root/root usr/etc/avahi/avahi-daemon.conf
+-rwxr-xr-x root/root usr/etc/avahi/avahi-dnsconfd.action
+-rw-r--r-- root/root usr/etc/avahi/hosts
+drwxr-xr-x root/root usr/etc/avahi/services/
+-rw-r--r-- root/root usr/etc/avahi/services/sftp-ssh.service
+-rw-r--r-- root/root usr/etc/avahi/services/ssh.service
+drwxr-xr-x root/root usr/etc/dbus-1/
+drwxr-xr-x root/root usr/etc/dbus-1/system.d/
+-rw-r--r-- root/root usr/etc/dbus-1/system.d/avahi-dbus.conf
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/avahi-client/
+-rw-r--r-- root/root usr/include/avahi-client/client.h
+-rw-r--r-- root/root usr/include/avahi-client/lookup.h
+-rw-r--r-- root/root usr/include/avahi-client/publish.h
+drwxr-xr-x root/root usr/include/avahi-common/
+-rw-r--r-- root/root usr/include/avahi-common/address.h
+-rw-r--r-- root/root usr/include/avahi-common/alternative.h
+-rw-r--r-- root/root usr/include/avahi-common/cdecl.h
+-rw-r--r-- root/root usr/include/avahi-common/defs.h
+-rw-r--r-- root/root usr/include/avahi-common/domain.h
+-rw-r--r-- root/root usr/include/avahi-common/error.h
+-rw-r--r-- root/root usr/include/avahi-common/gccmacro.h
+-rw-r--r-- root/root usr/include/avahi-common/llist.h
+-rw-r--r-- root/root usr/include/avahi-common/malloc.h
+-rw-r--r-- root/root usr/include/avahi-common/rlist.h
+-rw-r--r-- root/root usr/include/avahi-common/simple-watch.h
+-rw-r--r-- root/root usr/include/avahi-common/strlst.h
+-rw-r--r-- root/root usr/include/avahi-common/thread-watch.h
+-rw-r--r-- root/root usr/include/avahi-common/timeval.h
+-rw-r--r-- root/root usr/include/avahi-common/watch.h
+drwxr-xr-x root/root usr/include/avahi-compat-libdns_sd/
+-rw-r--r-- root/root usr/include/avahi-compat-libdns_sd/dns_sd.h
+drwxr-xr-x root/root usr/include/avahi-core/
+-rw-r--r-- root/root usr/include/avahi-core/core.h
+-rw-r--r-- root/root usr/include/avahi-core/log.h
+-rw-r--r-- root/root usr/include/avahi-core/lookup.h
+-rw-r--r-- root/root usr/include/avahi-core/publish.h
+-rw-r--r-- root/root usr/include/avahi-core/rr.h
+drwxr-xr-x root/root usr/include/avahi-glib/
+-rw-r--r-- root/root usr/include/avahi-glib/glib-malloc.h
+-rw-r--r-- root/root usr/include/avahi-glib/glib-watch.h
+drwxr-xr-x root/root usr/include/avahi-gobject/
+-rw-r--r-- root/root usr/include/avahi-gobject/ga-client.h
+-rw-r--r-- root/root usr/include/avahi-gobject/ga-entry-group.h
+-rw-r--r-- root/root usr/include/avahi-gobject/ga-enums.h
+-rw-r--r-- root/root usr/include/avahi-gobject/ga-error.h
+-rw-r--r-- root/root usr/include/avahi-gobject/ga-record-browser.h
+-rw-r--r-- root/root usr/include/avahi-gobject/ga-service-browser.h
+-rw-r--r-- root/root usr/include/avahi-gobject/ga-service-resolver.h
+lrwxrwxrwx root/root usr/include/dns_sd.h -> avahi-compat-libdns_sd/dns_sd.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/avahi/
+-rw-r--r-- root/root usr/lib/avahi/service-types.db
+drwxr-xr-x root/root usr/lib/girepository-1.0/
+-rw-r--r-- root/root usr/lib/girepository-1.0/Avahi-0.6.typelib
+-rw-r--r-- root/root usr/lib/girepository-1.0/AvahiCore-0.6.typelib
+-rw-r--r-- root/root usr/lib/libavahi-client.a
+-rwxr-xr-x root/root usr/lib/libavahi-client.la
+lrwxrwxrwx root/root usr/lib/libavahi-client.so -> libavahi-client.so.3.2.9
+lrwxrwxrwx root/root usr/lib/libavahi-client.so.3 -> libavahi-client.so.3.2.9
+-rwxr-xr-x root/root usr/lib/libavahi-client.so.3.2.9
+-rw-r--r-- root/root usr/lib/libavahi-common.a
+-rwxr-xr-x root/root usr/lib/libavahi-common.la
+lrwxrwxrwx root/root usr/lib/libavahi-common.so -> libavahi-common.so.3.5.3
+lrwxrwxrwx root/root usr/lib/libavahi-common.so.3 -> libavahi-common.so.3.5.3
+-rwxr-xr-x root/root usr/lib/libavahi-common.so.3.5.3
+-rw-r--r-- root/root usr/lib/libavahi-core.a
+-rwxr-xr-x root/root usr/lib/libavahi-core.la
+lrwxrwxrwx root/root usr/lib/libavahi-core.so -> libavahi-core.so.7.0.2
+lrwxrwxrwx root/root usr/lib/libavahi-core.so.7 -> libavahi-core.so.7.0.2
+-rwxr-xr-x root/root usr/lib/libavahi-core.so.7.0.2
+-rw-r--r-- root/root usr/lib/libavahi-glib.a
+-rwxr-xr-x root/root usr/lib/libavahi-glib.la
+lrwxrwxrwx root/root usr/lib/libavahi-glib.so -> libavahi-glib.so.1.0.2
+lrwxrwxrwx root/root usr/lib/libavahi-glib.so.1 -> libavahi-glib.so.1.0.2
+-rwxr-xr-x root/root usr/lib/libavahi-glib.so.1.0.2
+-rw-r--r-- root/root usr/lib/libavahi-gobject.a
+-rwxr-xr-x root/root usr/lib/libavahi-gobject.la
+lrwxrwxrwx root/root usr/lib/libavahi-gobject.so -> libavahi-gobject.so.0.0.5
+lrwxrwxrwx root/root usr/lib/libavahi-gobject.so.0 -> libavahi-gobject.so.0.0.5
+-rwxr-xr-x root/root usr/lib/libavahi-gobject.so.0.0.5
+-rw-r--r-- root/root usr/lib/libdns_sd.a
+-rwxr-xr-x root/root usr/lib/libdns_sd.la
+lrwxrwxrwx root/root usr/lib/libdns_sd.so -> libdns_sd.so.1.0.0
+lrwxrwxrwx root/root usr/lib/libdns_sd.so.1 -> libdns_sd.so.1.0.0
+-rwxr-xr-x root/root usr/lib/libdns_sd.so.1.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/avahi-client.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/avahi-compat-libdns_sd.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/avahi-core.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/avahi-glib.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/avahi-gobject.pc
+drwxr-xr-x root/root usr/lib/python2.7/
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/avahi/
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/avahi/ServiceTypeDatabase.py
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/avahi-autoipd
+-rwxr-xr-x root/root usr/sbin/avahi-daemon
+-rwxr-xr-x root/root usr/sbin/avahi-dnsconfd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/avahi/
+-rw-r--r-- root/root usr/share/avahi/avahi-service.dtd
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/interfaces/
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Avahi.HostNameResolver.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Avahi.RecordBrowser.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceResolver.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
+drwxr-xr-x root/root usr/share/gir-1.0/
+-rw-r--r-- root/root usr/share/gir-1.0/Avahi-0.6.gir
+-rw-r--r-- root/root usr/share/gir-1.0/AvahiCore-0.6.gir
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/avahi-bookmarks.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/avahi-browse-domains.1.gz -> avahi-browse.1.gz
+-rw-r--r-- root/root usr/share/man/man1/avahi-browse.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/avahi-publish-address.1.gz -> avahi-publish.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/avahi-publish-service.1.gz -> avahi-publish.1.gz
+-rw-r--r-- root/root usr/share/man/man1/avahi-publish.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/avahi-resolve-address.1.gz -> avahi-resolve.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/avahi-resolve-host-name.1.gz -> avahi-resolve.1.gz
+-rw-r--r-- root/root usr/share/man/man1/avahi-resolve.1.gz
+-rw-r--r-- root/root usr/share/man/man1/avahi-set-host-name.1.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/avahi-daemon.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/avahi.hosts.5.gz
+-rw-r--r-- root/root usr/share/man/man5/avahi.service.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/avahi-autoipd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/avahi-autoipd.action.8.gz
+-rw-r--r-- root/root usr/share/man/man8/avahi-daemon.8.gz
+-rw-r--r-- root/root usr/share/man/man8/avahi-dnsconfd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/avahi-dnsconfd.action.8.gz
diff --git a/avahi/.signature b/avahi/.signature
new file mode 100644
index 000000000..cec50ecf5
--- /dev/null
+++ b/avahi/.signature
@@ -0,0 +1,6 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF35YIQVSW0+JwZvuj+bEsLcsXdLGIlOcAsLciS8K1qjqS31W2dPgi7joi5gLje9rZH/vG0gwbsrBJC+K/Uzq2JQc=
+SHA256 (Pkgfile) = 3ef26446020612cab3f15b74a114c3109dee2dd01929c0e5c55402719188e69d
+SHA256 (.footprint) = 7429c157b692c16996179b5a772451911ce61fba6d84c720c8c7d296d1e87ed9
+SHA256 (avahi-0.7.tar.gz) = 57a99b5dfe7fdae794e3d1ee7a62973a368e91e414bd0dfa5d84434de5b14804
+SHA256 (avahi-daemon.rc) = 464b62bee01b221b052ff6e72b24251381761c6fe55942faa4c509060943ffee
diff --git a/avahi/Pkgfile b/avahi/Pkgfile
new file mode 100644
index 000000000..a2f6bb60c
--- /dev/null
+++ b/avahi/Pkgfile
@@ -0,0 +1,33 @@
+# Description: A system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite
+# URL: http://www.avahi.org/
+# Maintainer: crux libreoffice team, tbier at posteo dot de
+# Packager: Matt Housh, jaeger at crux dot ninja
+# Depends on: libdaemon dbus gobject-introspection intltool
+
+name=avahi
+version=0.7
+release=1
+source=(http://avahi.org/download/$name-$version.tar.gz \
+ avahi-daemon.rc)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --with-distro=none \
+ --disable-gtk \
+ --disable-gtk3 \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-pygobject \
+ --disable-python-dbus \
+ --disable-mono \
+ --disable-monodoc \
+ --disable-nls \
+ --enable-compat-libdns_sd
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share/locale
+
+ ln -s avahi-compat-libdns_sd/dns_sd.h $PKG/usr/include/dns_sd.h
+ install -D -m 0755 $SRC/avahi-daemon.rc $PKG/etc/rc.d/avahi-daemon
+}
diff --git a/avahi/avahi-daemon.rc b/avahi/avahi-daemon.rc
new file mode 100644
index 000000000..7abe1118e
--- /dev/null
+++ b/avahi/avahi-daemon.rc
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# /etc/rc.d/avahi-daemon: start/stop avahi daemon
+#
+
+SSD=/sbin/start-stop-daemon
+PROG=/usr/sbin/avahi-daemon
+PID=/var/run/avahi-daemon/pid
+OPTS="-D"
+
+case $1 in
+ start)
+ $SSD --start --pidfile $PID --exec $PROG -- $OPTS
+ ;;
+ stop)
+ $SSD --stop --retry 10 --pidfile $PID
+ ;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ status)
+ $SSD --status --pidfile $PID
+ case $? in
+ 0) echo "$PROG is running with pid $(cat $PID)" ;;
+ 1) echo "$PROG is not running but the pid file $PID exists" ;;
+ 3) echo "$PROG is not running" ;;
+ 4) echo "Unable to determine the program status" ;;
+ esac
+ ;;
+ *)
+ echo "usage: $0 [start|stop|restart|status]"
+ ;;
+esac
+
+# End of file
diff --git a/avahi/pre-install b/avahi/pre-install
new file mode 100644
index 000000000..6d6004ee5
--- /dev/null
+++ b/avahi/pre-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ -z "`getent group avahi`" ]; then
+ /usr/sbin/groupadd --system avahi
+fi
+
+if [ -z "`getent passwd avahi`" ]; then
+ /usr/sbin/useradd -r -g avahi -d /etc/avahi -s /bin/false -c "avahi daemon" avahi
+ /usr/bin/passwd -l avahi
+fi

Generated by cgit