summaryrefslogtreecommitdiff
path: root/openwrt/package/avahi
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-07 11:57:20 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-07 11:57:20 +0000
commit725611a466f2edf12f809d22339b22223af4afe7 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openwrt/package/avahi
parentf4dd5a6d7c4ebea48cd6292744cb9def6037de80 (diff)
move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/avahi')
-rw-r--r--openwrt/package/avahi/Config.in64
-rw-r--r--openwrt/package/avahi/Makefile155
-rw-r--r--openwrt/package/avahi/files/avahi-daemon.conf29
-rw-r--r--openwrt/package/avahi/files/avahi-daemon.init25
-rw-r--r--openwrt/package/avahi/files/service-http10
-rw-r--r--openwrt/package/avahi/files/service-ssh9
-rw-r--r--openwrt/package/avahi/ipkg/avahi-daemon.conffiles3
-rw-r--r--openwrt/package/avahi/ipkg/avahi-daemon.control5
-rw-r--r--openwrt/package/avahi/ipkg/avahi-dnsconfd.control5
-rw-r--r--openwrt/package/avahi/ipkg/libavahi.control4
10 files changed, 0 insertions, 309 deletions
diff --git a/openwrt/package/avahi/Config.in b/openwrt/package/avahi/Config.in
deleted file mode 100644
index 69461a58ea..0000000000
--- a/openwrt/package/avahi/Config.in
+++ /dev/null
@@ -1,64 +0,0 @@
-menu "avahi............................. An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation"
-
-config BR2_COMPILE_AVAHI
- tristate
- default n
- depends BR2_PACKAGE_AVAHI_DAEMON || BR2_PACKAGE_AVAHI_DNSCONFD || BR2_PACKAGE_LIBAVAHI
-
-config BR2_PACKAGE_AVAHI_DAEMON
- prompt "avahi-daemon.................... An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (daemon)"
- tristate
- default m if CONFIG_DEVEL
- select BR2_COMPILE_AVAHI
- select BR2_PACKAGE_LIBAVAHI
- select BR2_PACKAGE_LIBDAEMON
- help
- Avahi is a system which facilitates 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.
-
- http://www.freedesktop.org/Software/Avahi
-
- This package contains an mDNS/DNS-SD daemon.
-
-config BR2_PACKAGE_AVAHI_DNSCONFD
- prompt "avahi-dnsconfd................ An Unicast DNS server from mDNS/DNS-SD configuration daemon"
- tristate
- default m if CONFIG_DEVEL
- select BR2_COMPILE_AVAHI
- depends BR2_PACKAGE_AVAHI_DAEMON
- help
- Avahi is a system which facilitates 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.
-
- http://www.freedesktop.org/Software/Avahi
-
- This package contains an Unicast DNS server from mDNS/DNS-SD configuration
- daemon, which may be used to configure conventional DNS servers using mDNS
- in a DHCP-like fashion. Especially useful on IPv6.
-
-config BR2_PACKAGE_LIBAVAHI
- prompt "libavahi........................ An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (library)"
- tristate
- default m if CONFIG_DEVEL
- select BR2_COMPILE_AVAHI
- help
- Avahi is a system which facilitates 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.
-
- http://www.freedesktop.org/Software/Avahi
-
- This package contains the mDNS/DNS-SD shared libraries, used by other programs.
-
-endmenu
diff --git a/openwrt/package/avahi/Makefile b/openwrt/package/avahi/Makefile
deleted file mode 100644
index b77a9c35ee..0000000000
--- a/openwrt/package/avahi/Makefile
+++ /dev/null
@@ -1,155 +0,0 @@
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=avahi
-PKG_VERSION:=0.6.10
-PKG_RELEASE:=1
-PKG_MD5SUM:=cfb9e05c138dff4c430a35eee6229e8a
-
-PKG_SOURCE_URL:=http://avahi.org/download/
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_CAT:=zcat
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
-include $(TOPDIR)/package/rules.mk
-
-$(eval $(call PKG_template,AVAHI_DAEMON,avahi-daemon,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,AVAHI_DNSCONFD,avahi-dnsconfd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIBAVAHI,libavahi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-
-$(PKG_BUILD_DIR)/.configured:
- (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS) -DNDEBUG" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
- PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
- ac_cv_func_malloc_0_nonnull=yes \
- ac_cv_func_realloc_0_nonnull=yes \
- ac_cv_func_memcmp_working=yes \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- $(DISABLE_LARGEFILE) \
- $(DISABLE_NLS) \
- --enable-shared \
- --enable-static \
- --disable-rpath \
- --with-gnu-ld \
- --disable-glib \
- --disable-qt3 \
- --disable-qt4 \
- --disable-gtk \
- --disable-dbus \
- --enable-expat \
- --enable-libdaemon \
- --disable-python \
- --disable-pygtk \
- --disable-python-dbus \
- --disable-mono \
- --disable-monodoc \
- --disable-doxygen-doc \
- --disable-doxygen-dot \
- --disable-doxygen-man \
- --disable-doxygen-rtf \
- --disable-doxygen-xml \
- --disable-doxygen-chm \
- --disable-doxygen-chi \
- --disable-doxygen-html \
- --disable-doxygen-ps \
- --disable-doxygen-pdf \
- --disable-xmltoman \
- --with-distro=none \
- --with-avahi-user=nobody \
- --with-avahi-group=nogroup \
- );
- touch $@
-
-$(PKG_BUILD_DIR)/.built:
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
- touch $@
-
-$(IPKG_AVAHI_DAEMON):
- install -d -m0755 $(IDIR_AVAHI_DAEMON)/etc/avahi
- install -m0644 ./files/avahi-daemon.conf $(IDIR_AVAHI_DAEMON)/etc/avahi/
- install -d -m0755 $(IDIR_AVAHI_DAEMON)/etc/avahi/services
- install -m0644 ./files/service-http $(IDIR_AVAHI_DAEMON)/etc/avahi/services/http.service
- install -m0644 ./files/service-ssh $(IDIR_AVAHI_DAEMON)/etc/avahi/services/ssh.service
- install -d -m0755 $(IDIR_AVAHI_DAEMON)/etc/init.d
- install -m0755 ./files/avahi-daemon.init $(IDIR_AVAHI_DAEMON)/etc/init.d/avahi-daemon
- install -d -m0755 $(IDIR_AVAHI_DAEMON)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/avahi-daemon $(IDIR_AVAHI_DAEMON)/usr/sbin/
- $(RSTRIP) $(IDIR_AVAHI_DAEMON)
- $(IPKG_BUILD) $(IDIR_AVAHI_DAEMON) $(PACKAGE_DIR)
-
-$(IPKG_AVAHI_DNSCONFD):
- install -d -m0755 $(IDIR_AVAHI_DNSCONFD)/etc/avahi
- $(CP) $(PKG_INSTALL_DIR)/etc/avahi/avahi-dnsconfd.action $(IDIR_AVAHI_DNSCONFD)/etc/avahi/
- install -d -m0755 $(IDIR_AVAHI_DNSCONFD)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/avahi-dnsconfd $(IDIR_AVAHI_DNSCONFD)/usr/sbin/
- $(RSTRIP) $(IDIR_AVAHI_DNSCONFD)
- $(IPKG_BUILD) $(IDIR_AVAHI_DNSCONFD) $(PACKAGE_DIR)
-
-$(IPKG_LIBAVAHI):
- install -d -m0755 $(IDIR_LIBAVAHI)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-common.so.* $(IDIR_LIBAVAHI)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-core.so.* $(IDIR_LIBAVAHI)/usr/lib/
- $(RSTRIP) $(IDIR_LIBAVAHI)
- $(IPKG_BUILD) $(IDIR_LIBAVAHI) $(PACKAGE_DIR)
-
-$(STAGING_DIR)/usr/lib/avahi.so: $(PKG_BUILD_DIR)/.built
- mkdir -p $(STAGING_DIR)/usr/include
- $(CP) $(PKG_INSTALL_DIR)/usr/include/avahi-common $(STAGING_DIR)/usr/include/
- $(CP) $(PKG_INSTALL_DIR)/usr/include/avahi-core $(STAGING_DIR)/usr/include/
- mkdir -p $(STAGING_DIR)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-common.a $(STAGING_DIR)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-common.so* $(STAGING_DIR)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-core.a $(STAGING_DIR)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-core.so* $(STAGING_DIR)/usr/lib/
- mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/avahi-core.pc $(STAGING_DIR)/usr/lib/pkgconfig/
- $(SED) 's,-I$${includedir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/avahi-core.pc
- $(SED) 's,-L$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/avahi-core.pc
- touch $@
-
-install-dev: $(STAGING_DIR)/usr/lib/avahi.so
-
-uninstall-dev:
- rm -rf \
- $(STAGING_DIR)/usr/include/avahi-common \
- $(STAGING_DIR)/usr/include/avahi-core \
- $(STAGING_DIR)/usr/lib/libavahi-common.a \
- $(STAGING_DIR)/usr/lib/libavahi-common.so* \
- $(STAGING_DIR)/usr/lib/libavahi-core.a \
- $(STAGING_DIR)/usr/lib/libavahi-core.so* \
- $(STAGING_DIR)/usr/lib/pkgconfig/avahi-core.pc \
-
-compile-targets: install-dev
-clean-targets: uninstall-dev
-
-mostlyclean:
- -$(MAKE) -C $(PKG_BUILD_DIR) clean
- rm -f $(PKG_BUILD_DIR)/.built
-
diff --git a/openwrt/package/avahi/files/avahi-daemon.conf b/openwrt/package/avahi/files/avahi-daemon.conf
deleted file mode 100644
index a5ff886195..0000000000
--- a/openwrt/package/avahi/files/avahi-daemon.conf
+++ /dev/null
@@ -1,29 +0,0 @@
-[server]
-#host-name=foo
-#domain-name=local
-use-ipv4=yes
-use-ipv6=no
-check-response-ttl=no
-use-iff-running=no
-enable-dbus=no
-
-[publish]
-publish-addresses=yes
-publish-hinfo=yes
-publish-workstation=no
-publish-domain=yes
-#publish-dns-servers=192.168.1.1
-#publish-resolv-conf-dns-servers=yes
-
-[reflector]
-enable-reflector=no
-reflect-ipv=no
-
-[rlimits]
-#rlimit-as=
-rlimit-core=0
-rlimit-data=4194304
-rlimit-fsize=0
-rlimit-nofile=30
-rlimit-stack=4194304
-rlimit-nproc=1
diff --git a/openwrt/package/avahi/files/avahi-daemon.init b/openwrt/package/avahi/files/avahi-daemon.init
deleted file mode 100644
index 20f0a2e064..0000000000
--- a/openwrt/package/avahi/files/avahi-daemon.init
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-BIN=avahi-daemon
-DEFAULT=/etc/default/$BIN
-OPTIONS="-D"
-RUN_D=/var/run/$BIN
-[ -f $DEFAULT ] && . $DEFAULT
-
-case $1 in
- start)
- mkdir -p $RUN_D
- $BIN $OPTIONS
- ;;
- stop)
- $BIN -k
- ;;
- reload)
- $BIN -r
- ;;
- *)
- echo "usage: $0 (start|stop|reload)"
- exit 1
-esac
-
-exit $?
diff --git a/openwrt/package/avahi/files/service-http b/openwrt/package/avahi/files/service-http
deleted file mode 100644
index 8e0d3a5136..0000000000
--- a/openwrt/package/avahi/files/service-http
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
-<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
-<service-group>
- <name replace-wildcards="yes">Web Server on %h</name>
- <service>
- <type>_http._tcp</type>
- <port>80</port>
- <txt-record>path=/index.html</txt-record>
- </service>
-</service-group>
diff --git a/openwrt/package/avahi/files/service-ssh b/openwrt/package/avahi/files/service-ssh
deleted file mode 100644
index b415803784..0000000000
--- a/openwrt/package/avahi/files/service-ssh
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
-<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
-<service-group>
- <name replace-wildcards="yes">Secure Shell on %h</name>
- <service>
- <type>_ssh._tcp</type>
- <port>22</port>
- </service>
-</service-group>
diff --git a/openwrt/package/avahi/ipkg/avahi-daemon.conffiles b/openwrt/package/avahi/ipkg/avahi-daemon.conffiles
deleted file mode 100644
index 46379ed96f..0000000000
--- a/openwrt/package/avahi/ipkg/avahi-daemon.conffiles
+++ /dev/null
@@ -1,3 +0,0 @@
-/etc/avahi/avahi-daemon.conf
-/etc/avahi/services/http.service
-/etc/avahi/services/ssh.service
diff --git a/openwrt/package/avahi/ipkg/avahi-daemon.control b/openwrt/package/avahi/ipkg/avahi-daemon.control
deleted file mode 100644
index f68a690fe6..0000000000
--- a/openwrt/package/avahi/ipkg/avahi-daemon.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: avahi-daemon
-Priority: optional
-Section: net
-Depends: libavahi, libdaemon, libexpat
-Description: an mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (daemon)
diff --git a/openwrt/package/avahi/ipkg/avahi-dnsconfd.control b/openwrt/package/avahi/ipkg/avahi-dnsconfd.control
deleted file mode 100644
index 1213a0e7bb..0000000000
--- a/openwrt/package/avahi/ipkg/avahi-dnsconfd.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: avahi-dnsconfd
-Priority: optional
-Section: net
-Depends: libavahi, libdaemon, avahi-daemon
-Description: an Unicast DNS server from mDNS/DNS-SD configuration daemon
diff --git a/openwrt/package/avahi/ipkg/libavahi.control b/openwrt/package/avahi/ipkg/libavahi.control
deleted file mode 100644
index 4912296bc7..0000000000
--- a/openwrt/package/avahi/ipkg/libavahi.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: libavahi
-Priority: optional
-Section: libs
-Description: an DNS-SD over mDNS (aka RendezVous/Bonjour/ZeroConf) implementation (library)