summaryrefslogtreecommitdiffstats
path: root/avahi-server
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-04-30 16:52:35 +0200
committerpiernov <piernov@piernov.org>2012-04-30 16:52:35 +0200
commit288cac3cc004a8db5c72cbf3bba4a89d4312f9a5 (patch)
treefb247760c4ebf85db7eb1aa269961a8010f9c5f4 /avahi-server
parenteed2883089d081daa599dff1dad1b97ad2f47fde (diff)
downloadnutyx-extra-288cac3cc004a8db5c72cbf3bba4a89d4312f9a5.tar.gz
nutyx-extra-288cac3cc004a8db5c72cbf3bba4a89d4312f9a5.tar.bz2
nutyx-extra-288cac3cc004a8db5c72cbf3bba4a89d4312f9a5.tar.xz
nutyx-extra-288cac3cc004a8db5c72cbf3bba4a89d4312f9a5.zip
Revert "avahi dans base"
This reverts commit 2da6170d865a0add71b5fb8344233e17ceb74e7c.
Diffstat (limited to 'avahi-server')
-rw-r--r--avahi-server/.footprint.i68642
-rw-r--r--avahi-server/.footprint.x86_6442
-rw-r--r--avahi-server/.md5sum.i6862
-rw-r--r--avahi-server/.md5sum.x86_642
-rw-r--r--avahi-server/Pkgfile55
-rw-r--r--avahi-server/avahid47
6 files changed, 190 insertions, 0 deletions
diff --git a/avahi-server/.footprint.i686 b/avahi-server/.footprint.i686
new file mode 100644
index 000000000..37c10e0dc
--- /dev/null
+++ b/avahi-server/.footprint.i686
@@ -0,0 +1,42 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/avahi/
+-rwxr-xr-x root/root etc/avahi/avahi-autoipd.action
+-rw-r--r-- root/root etc/avahi/avahi-daemon.conf
+-rwxr-xr-x root/root etc/avahi/avahi-dnsconfd.action
+-rw-r--r-- root/root etc/avahi/hosts
+drwxr-xr-x root/root etc/avahi/services/
+-rw-r--r-- root/root etc/avahi/services/sftp-ssh.service
+-rw-r--r-- root/root etc/avahi/services/ssh.service
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-x root/root etc/rc.d/init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K13avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K13avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K13avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S43avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S43avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S43avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K13avahid -> ../init.d/avahid
+drwxr-xr-x root/root usr/
+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/man/
+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
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/run/
diff --git a/avahi-server/.footprint.x86_64 b/avahi-server/.footprint.x86_64
new file mode 100644
index 000000000..37c10e0dc
--- /dev/null
+++ b/avahi-server/.footprint.x86_64
@@ -0,0 +1,42 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/avahi/
+-rwxr-xr-x root/root etc/avahi/avahi-autoipd.action
+-rw-r--r-- root/root etc/avahi/avahi-daemon.conf
+-rwxr-xr-x root/root etc/avahi/avahi-dnsconfd.action
+-rw-r--r-- root/root etc/avahi/hosts
+drwxr-xr-x root/root etc/avahi/services/
+-rw-r--r-- root/root etc/avahi/services/sftp-ssh.service
+-rw-r--r-- root/root etc/avahi/services/ssh.service
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-x root/root etc/rc.d/init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K13avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K13avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K13avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S43avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S43avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S43avahid -> ../init.d/avahid
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K13avahid -> ../init.d/avahid
+drwxr-xr-x root/root usr/
+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/man/
+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
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/run/
diff --git a/avahi-server/.md5sum.i686 b/avahi-server/.md5sum.i686
new file mode 100644
index 000000000..fd08362a3
--- /dev/null
+++ b/avahi-server/.md5sum.i686
@@ -0,0 +1,2 @@
+e4db89a2a403ff4c47d66ac66fad1f43 avahi-0.6.30.tar.gz
+09877d8619de924d02bc018bcef21150 avahid
diff --git a/avahi-server/.md5sum.x86_64 b/avahi-server/.md5sum.x86_64
new file mode 100644
index 000000000..fd08362a3
--- /dev/null
+++ b/avahi-server/.md5sum.x86_64
@@ -0,0 +1,2 @@
+e4db89a2a403ff4c47d66ac66fad1f43 avahi-0.6.30.tar.gz
+09877d8619de924d02bc018bcef21150 avahid
diff --git a/avahi-server/Pkgfile b/avahi-server/Pkgfile
new file mode 100644
index 000000000..b35710acb
--- /dev/null
+++ b/avahi-server/Pkgfile
@@ -0,0 +1,55 @@
+# Description: Service de DNS
+# URL: http://www.avahi.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libdaemon,intltool,dbus,dbus-python
+# Run on: libdaemon,dbus,dbus-python
+
+name=avahi-server
+version=0.6.30
+release=3
+source=(http://www.avahi.org/download/avahi-$version.tar.gz
+ avahid)
+
+build() {
+ cd avahi-$version
+ PYTHON=python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --enable-autoipd \
+ --disable-gtk3 \
+ --disable-gtk \
+ --disable-pygtk \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-monodoc \
+ --disable-doxygen-doc \
+ --disable-xmltoman \
+ --disable-mono \
+ --enable-compat-libdns_sd \
+ --enable-compat-howl \
+ --with-distro=lfs \
+ --with-avahi-priv-access-group=network \
+ --with-autoipd-user=avahi \
+ --with-autoipd-group=avahi \
+ --with-systemdsystemunitdir=/lib/systemd/system
+ for i in avahi-common avahi-core; do
+ make -C $i
+ done
+ for i in avahi-autoipd avahi-daemon avahi-dnsconfd man; do
+ make -C $i
+ make -C $i DESTDIR=$PKG install
+ done
+
+ mkdir -p $PKG/etc/rc.d/{init.d,rc{0,1,2,3,4,5,6}.d}
+ install -D -m755 ../avahid $PKG/etc/rc.d/init.d/avahid
+
+ for i in 3 4 5; do
+ ln -svf ../init.d/avahid $PKG/etc/rc.d/rc$i.d/S43avahid
+ done
+ for i in 0 1 2 6; do
+ ln -svf ../init.d/avahid $PKG/etc/rc.d/rc$i.d/K13avahid
+ done
+ rm -rf $PKG/{lib,etc/dbus-1,usr/share/{avahi,dbus-1,man/man{1,5}}}
+}
diff --git a/avahi-server/avahid b/avahi-server/avahid
new file mode 100644
index 000000000..3ab580e5f
--- /dev/null
+++ b/avahi-server/avahid
@@ -0,0 +1,47 @@
+#!/bin/sh
+# Begin $rc_base/init.d/avahid
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
+# Add create user and Groups - thierryn1@hispeed.ch
+
+# $Id: $
+
+. /etc/sysconfig/rc
+. $rc_functions
+newgroup=avahi
+newuser=avahi
+newid=85
+getent group $newgroup > /dev/null || /usr/sbin/groupadd -g $newid $newgroup
+getent passwd $newuser > /dev/null || /usr/sbin/useradd -g $newgroup \
+-u $newid -s /bin/false -c "Avahi Daemon" $newuser
+
+
+case "$1" in
+ start)
+ boot_mesg "Starting Avahi Daemon..."
+ loadproc /usr/sbin/avahi-daemon -D
+ ;;
+
+ stop)
+ boot_mesg "Stopping Avahi Daemon..."
+ killproc /usr/sbin/avahi-daemon
+ ;;
+
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+
+ status)
+ statusproc /usr/sbin/avahi-daemon
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop|restart|status}"
+ exit 1
+ ;;
+esac
+
+# End $rc_base/init.d/avahid