avahi fixes:

- disable stack smashing protection (closes: #3820)
 - set avahi-autoipd user & group to nobody:nogroup
 - fix package descriptions & formatting
 - add prereq on intltool-update
 - bumb release number


git-svn-id: svn://svn.openwrt.org/openwrt/packages@12009 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2008-07-30 12:39:54 +00:00
parent b9d4d6f85f
commit c37a770010

View File

@ -11,15 +11,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=avahi PKG_NAME:=avahi
PKG_VERSION:=0.6.23 PKG_VERSION:=0.6.23
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://avahi.org/download/ PKG_SOURCE_URL:=http://avahi.org/download/
PKG_MD5SUM:=aab1a304851d8145ea5f6a85c10af9e9 PKG_MD5SUM:=aab1a304851d8145ea5f6a85c10af9e9
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_BUILD_DEPENDS:=libexpat libdaemon libgdbm PKG_BUILD_DEPENDS:=libexpat libdaemon libgdbm
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -31,6 +28,16 @@ define Package/avahi/Default
URL:=http://www.avahi.org/ URL:=http://www.avahi.org/
endef endef
define Package/avahi/Default/description
An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (library).
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.
endef
define Package/libavahi define Package/libavahi
$(call Package/avahi/Default) $(call Package/avahi/Default)
SECTION:=libs SECTION:=libs
@ -40,14 +47,9 @@ define Package/libavahi
endef endef
define Package/libavahi/description define Package/libavahi/description
An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (library). $(call Package/avahi/Default/description)
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 This package contains the mDNS/DNS-SD shared libraries, used by other programs.
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.
This package contains the mDNS/DNS-SD shared libraries, used by other programs.
endef endef
define Package/avahi-autoipd define Package/avahi-autoipd
@ -57,19 +59,13 @@ define Package/avahi-autoipd
endef endef
define Package/avahi-autoipd/description define Package/avahi-autoipd/description
An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (library). $(call Package/avahi/Default/description)
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 This package implements IPv4LL, "Dynamic Configuration of IPv4 Link-Local
instantly be able to view other people who you can chat with, find printers Addresses" (IETF RFC3927), a protocol for automatic IP address configuration
to print to or find files being shared. This kind of technology is already from the link-local 169.254.0.0/16 range without the need for a central
found in MacOS X (branded 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') server. It is primarily intended to be used in ad-hoc networks which lack a
and is very convenient. DHCP server.
This package implements IPv4LL, "Dynamic Configuration of
IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for
automatic IP address configuration from the link-local
169.254.0.0/16 range without the need for a central server. It
is primarily intended to be used in ad-hoc networks which lack a
DHCP server.
endef endef
define Package/avahi-daemon define Package/avahi-daemon
@ -79,14 +75,9 @@ define Package/avahi-daemon
endef endef
define Package/avahi-daemon/description define Package/avahi-daemon/description
An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (library). $(call Package/avahi/Default/description)
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 This package contains an mDNS/DNS-SD daemon.
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.
This package contains an mDNS/DNS-SD daemon.
endef endef
define Package/avahi-daemon/conffiles define Package/avahi-daemon/conffiles
@ -102,48 +93,51 @@ define Package/avahi-dnsconfd
endef endef
define Package/avahi-dnsconfd/description define Package/avahi-dnsconfd/description
This package contains an Unicast DNS server from mDNS/DNS-SD configuration $(call Package/avahi/Default/description)
daemon, which may be used to configure conventional DNS servers using mDNS .
in a DHCP-like fashion. Especially useful on IPv6. 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.
endef endef
define Build/Configure CONFIGURE_ARGS+= \
$(call Build/Configure/Default, \ --enable-shared \
--enable-shared \ --enable-static \
--enable-static \ --disable-stack-protector \
--disable-glib \ --disable-glib \
--disable-gobject \ --disable-gobject \
--disable-qt3 \ --disable-qt3 \
--disable-qt4 \ --disable-qt4 \
--disable-gtk \ --disable-gtk \
--disable-dbus \ --disable-dbus \
--with-xml=expat \ --with-xml=expat \
--disable-dbm \ --disable-dbm \
--enable-gdbm \ --enable-gdbm \
--enable-libdaemon \ --enable-libdaemon \
--disable-python \ --disable-python \
--disable-pygtk \ --disable-pygtk \
--disable-python-dbus \ --disable-python-dbus \
--disable-mono \ --disable-mono \
--disable-monodoc \ --disable-monodoc \
--disable-doxygen-doc \ --disable-doxygen-doc \
--disable-doxygen-dot \ --disable-doxygen-dot \
--disable-doxygen-man \ --disable-doxygen-man \
--disable-doxygen-rtf \ --disable-doxygen-rtf \
--disable-doxygen-xml \ --disable-doxygen-xml \
--disable-doxygen-chm \ --disable-doxygen-chm \
--disable-doxygen-chi \ --disable-doxygen-chi \
--disable-doxygen-html \ --disable-doxygen-html \
--disable-doxygen-ps \ --disable-doxygen-ps \
--disable-doxygen-pdf \ --disable-doxygen-pdf \
--disable-xmltoman \ --disable-xmltoman \
--with-distro=none \ --with-distro=none \
--with-avahi-user=nobody \ --with-avahi-user=nobody \
--with-avahi-group=nogroup \ --with-avahi-group=nogroup \
, \ --with-autoipd-user=nobody \
CFLAGS="$$$$CFLAGS -DNDEBUG" \ --with-autoipd-group=nogroup \
)
endef CONFIGURE_VARS+= \
CFLAGS="$$$$CFLAGS -DNDEBUG" \
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
@ -195,3 +189,8 @@ $(eval $(call BuildPackage,libavahi))
$(eval $(call BuildPackage,avahi-autoipd)) $(eval $(call BuildPackage,avahi-autoipd))
$(eval $(call BuildPackage,avahi-daemon)) $(eval $(call BuildPackage,avahi-daemon))
$(eval $(call BuildPackage,avahi-dnsconfd)) $(eval $(call BuildPackage,avahi-dnsconfd))
$(eval $(call RequireCommand,intltool-update, \
$(PKG_NAME) requires intltool >= 0.35.0 \
))