Changeset 12009


Ignore:
Timestamp:
2008-07-30T14:39:54+02:00 (10 years ago)
Author:
nico
Message:

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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/avahi/Makefile

    r11916 r12009  
    1212PKG_NAME:=avahi 
    1313PKG_VERSION:=0.6.23 
    14 PKG_RELEASE:=1 
     14PKG_RELEASE:=2 
    1515 
    1616PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1717PKG_SOURCE_URL:=http://avahi.org/download/ 
    1818PKG_MD5SUM:=aab1a304851d8145ea5f6a85c10af9e9 
    19  
    20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
    21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install 
    2219 
    2320PKG_BUILD_DEPENDS:=libexpat libdaemon libgdbm 
     
    3229endef 
    3330 
     31define Package/avahi/Default/description 
     32 An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (library). 
     33 Avahi is a system which facilitates service discovery on a local network -- 
     34 this means that you can plug your laptop or computer into a network and 
     35 instantly be able to view other people who you can chat with, find printers 
     36 to print to or find files being shared. This kind of technology is already 
     37 found in MacOS X (branded 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') 
     38 and is very convenient. 
     39endef 
     40 
    3441define Package/libavahi 
    3542  $(call Package/avahi/Default) 
     
    4148 
    4249define Package/libavahi/description 
    43         An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (library). 
    44         Avahi is a system which facilitates service discovery on a local network -- 
    45         this means that you can plug your laptop or computer into a network and 
    46         instantly be able to view other people who you can chat with, find printers 
    47         to print to or find files being shared. This kind of technology is already 
    48         found in MacOS X (branded 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') 
    49         and is very convenient. 
    50         This package contains the mDNS/DNS-SD shared libraries, used by other programs. 
     50$(call Package/avahi/Default/description)  
     51 . 
     52 This package contains the mDNS/DNS-SD shared libraries, used by other programs. 
    5153endef 
    5254 
     
    5860 
    5961define Package/avahi-autoipd/description 
    60         An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (library). 
    61         Avahi is a system which facilitates service discovery on a local network -- 
    62         this means that you can plug your laptop or computer into a network and 
    63         instantly be able to view other people who you can chat with, find printers 
    64         to print to or find files being shared. This kind of technology is already 
    65         found in MacOS X (branded 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') 
    66         and is very convenient. 
    67         This package implements IPv4LL, "Dynamic Configuration of 
    68         IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for 
    69         automatic IP address configuration from the link-local 
    70         169.254.0.0/16 range without the need for a central server. It 
    71         is primarily intended to be used in ad-hoc networks which lack a 
    72         DHCP server. 
     62$(call Package/avahi/Default/description) 
     63 . 
     64 This package implements IPv4LL, "Dynamic Configuration of IPv4 Link-Local  
     65 Addresses" (IETF RFC3927), a protocol for automatic IP address configuration  
     66 from the link-local 169.254.0.0/16 range without the need for a central  
     67 server. It is primarily intended to be used in ad-hoc networks which lack a 
     68 DHCP server. 
    7369endef 
    7470 
     
    8076 
    8177define Package/avahi-daemon/description 
    82         An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation (library). 
    83         Avahi is a system which facilitates service discovery on a local network -- 
    84         this means that you can plug your laptop or computer into a network and 
    85         instantly be able to view other people who you can chat with, find printers 
    86         to print to or find files being shared. This kind of technology is already 
    87         found in MacOS X (branded 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') 
    88         and is very convenient. 
    89         This package contains an mDNS/DNS-SD daemon. 
     78$(call Package/avahi/Default/description) 
     79 . 
     80 This package contains an mDNS/DNS-SD daemon. 
    9081endef 
    9182 
     
    10394 
    10495define Package/avahi-dnsconfd/description 
    105         This package contains an Unicast DNS server from mDNS/DNS-SD configuration 
    106         daemon, which may be used to configure conventional DNS servers using mDNS 
    107         in a DHCP-like fashion. Especially useful on IPv6. 
     96$(call Package/avahi/Default/description) 
     97 . 
     98 This package contains an Unicast DNS server from mDNS/DNS-SD configuration 
     99 daemon, which may be used to configure conventional DNS servers using mDNS 
     100 in a DHCP-like fashion. Especially useful on IPv6. 
    108101endef 
    109102 
    110 define Build/Configure 
    111         $(call Build/Configure/Default, \ 
    112                 --enable-shared \ 
    113                 --enable-static \ 
    114                 --disable-glib \ 
    115                 --disable-gobject \ 
    116                 --disable-qt3 \ 
    117                 --disable-qt4 \ 
    118                 --disable-gtk \ 
    119                 --disable-dbus \ 
    120                 --with-xml=expat \ 
    121                 --disable-dbm \ 
    122                 --enable-gdbm \ 
    123                 --enable-libdaemon \ 
    124                 --disable-python \ 
    125                 --disable-pygtk \ 
    126                 --disable-python-dbus \ 
    127                 --disable-mono \ 
    128                 --disable-monodoc \ 
    129                 --disable-doxygen-doc \ 
    130                 --disable-doxygen-dot \ 
    131                 --disable-doxygen-man \ 
    132                 --disable-doxygen-rtf \ 
    133                 --disable-doxygen-xml \ 
    134                 --disable-doxygen-chm \ 
    135                 --disable-doxygen-chi \ 
    136                 --disable-doxygen-html \ 
    137                 --disable-doxygen-ps \ 
    138                 --disable-doxygen-pdf \ 
    139                 --disable-xmltoman \ 
    140                 --with-distro=none \ 
    141                 --with-avahi-user=nobody \ 
    142                 --with-avahi-group=nogroup \ 
    143                 , \ 
    144                 CFLAGS="$$$$CFLAGS -DNDEBUG" \ 
    145         ) 
    146 endef 
     103CONFIGURE_ARGS+= \ 
     104        --enable-shared \ 
     105        --enable-static \ 
     106        --disable-stack-protector \ 
     107        --disable-glib \ 
     108        --disable-gobject \ 
     109        --disable-qt3 \ 
     110        --disable-qt4 \ 
     111        --disable-gtk \ 
     112        --disable-dbus \ 
     113        --with-xml=expat \ 
     114        --disable-dbm \ 
     115        --enable-gdbm \ 
     116        --enable-libdaemon \ 
     117        --disable-python \ 
     118        --disable-pygtk \ 
     119        --disable-python-dbus \ 
     120        --disable-mono \ 
     121        --disable-monodoc \ 
     122        --disable-doxygen-doc \ 
     123        --disable-doxygen-dot \ 
     124        --disable-doxygen-man \ 
     125        --disable-doxygen-rtf \ 
     126        --disable-doxygen-xml \ 
     127        --disable-doxygen-chm \ 
     128        --disable-doxygen-chi \ 
     129        --disable-doxygen-html \ 
     130        --disable-doxygen-ps \ 
     131        --disable-doxygen-pdf \ 
     132        --disable-xmltoman \ 
     133        --with-distro=none \ 
     134        --with-avahi-user=nobody \ 
     135        --with-avahi-group=nogroup \ 
     136        --with-autoipd-user=nobody \ 
     137        --with-autoipd-group=nogroup \ 
     138 
     139CONFIGURE_VARS+= \ 
     140        CFLAGS="$$$$CFLAGS -DNDEBUG" \ 
    147141 
    148142define Build/Compile 
     
    196190$(eval $(call BuildPackage,avahi-daemon)) 
    197191$(eval $(call BuildPackage,avahi-dnsconfd)) 
     192 
     193$(eval $(call RequireCommand,intltool-update, \ 
     194        $(PKG_NAME) requires intltool >= 0.35.0 \ 
     195)) 
     196 
Note: See TracChangeset for help on using the changeset viewer.