diff options
author | Sven Wegener <swegener@gentoo.org> | 2006-09-20 19:47:43 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2006-09-20 19:47:43 +0000 |
commit | 56a3012f257961a67d280e41fe2898d21ca7379d (patch) | |
tree | 64c9d69460e0f734b2464371cbfd7a187e35bbb8 /net-dns | |
parent | Add local use flag for net-dns/avahi (diff) | |
download | historical-56a3012f257961a67d280e41fe2898d21ca7379d.tar.gz historical-56a3012f257961a67d280e41fe2898d21ca7379d.tar.bz2 historical-56a3012f257961a67d280e41fe2898d21ca7379d.zip |
Version bump.
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/avahi/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/avahi/Manifest | 26 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.14.ebuild | 173 | ||||
-rw-r--r-- | net-dns/avahi/files/autoipd.sh | 53 | ||||
-rw-r--r-- | net-dns/avahi/files/digest-avahi-0.6.14 | 3 |
5 files changed, 255 insertions, 8 deletions
diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog index db130b418c36..eb037421d192 100644 --- a/net-dns/avahi/ChangeLog +++ b/net-dns/avahi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/avahi # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.59 2006/09/20 19:04:45 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.60 2006/09/20 19:47:43 swegener Exp $ + +*avahi-0.6.14 (20 Sep 2006) + + 20 Sep 2006; Sven Wegener <swegener@gentoo.org> +files/autoipd.sh, + +avahi-0.6.14.ebuild: + Version bump. 20 Sep 2006; Sven Wegener <swegener@gentoo.org> avahi-0.6.11.ebuild, avahi-0.6.12.ebuild, avahi-0.6.13.ebuild: diff --git a/net-dns/avahi/Manifest b/net-dns/avahi/Manifest index f164b3c73ae7..fea042e0b16d 100644 --- a/net-dns/avahi/Manifest +++ b/net-dns/avahi/Manifest @@ -5,6 +5,10 @@ AUX 0.6.13-svn-fixes.patch 1034 RMD160 fb59a184c6fd4830ed043dc1ffe003525b408f82 MD5 3f0ccefbf52f5844f7cea07a0fcb87d2 files/0.6.13-svn-fixes.patch 1034 RMD160 fb59a184c6fd4830ed043dc1ffe003525b408f82 files/0.6.13-svn-fixes.patch 1034 SHA256 1a548cd6ea608c9fd79dfeac93bdb9d89791b845531b515eeab04997a2237e86 files/0.6.13-svn-fixes.patch 1034 +AUX autoipd.sh 1266 RMD160 7fd1211b969078502469036437b013a2a97bf775 SHA1 02d69c5e7da30698c978c887a07be259e3301f1a SHA256 325188c1ab8d40fc4693cebf3c243227e6a010f3763682ae7fe48ba41c4448fe +MD5 4eafb8c817cc6409a27228f4ef909d83 files/autoipd.sh 1266 +RMD160 7fd1211b969078502469036437b013a2a97bf775 files/autoipd.sh 1266 +SHA256 325188c1ab8d40fc4693cebf3c243227e6a010f3763682ae7fe48ba41c4448fe files/autoipd.sh 1266 AUX avahi-0.6.1-no-ipv6.patch 362 RMD160 7c90e7b3fadbd880d18db23dbe54ab6824be53d1 SHA1 97126f8035616821e9dc937c9b741316e7222fe2 SHA256 e00bd75a9770acf68c0f92cb8594b62acb0d60577e7dbeb1b7680e250b4d39b4 MD5 317c28eba6516a18140aa8e2cb26d618 files/avahi-0.6.1-no-ipv6.patch 362 RMD160 7c90e7b3fadbd880d18db23dbe54ab6824be53d1 files/avahi-0.6.1-no-ipv6.patch 362 @@ -13,6 +17,7 @@ DIST avahi-0.6.10.tar.gz 879819 RMD160 59274b5314476830614fe9cb2d90e59eec3aba0f DIST avahi-0.6.11.tar.gz 885546 RMD160 fb2ac512169c519183afd6ad5f21537ce8c51c3e SHA1 126abbc5fb83a482188094b89883268b97b9876a SHA256 3eadfe63e64b3ab56b72f1a7e21106a680b9fd6f699e59ea02187a9d567df975 DIST avahi-0.6.12.tar.gz 886104 RMD160 4de072df6d6330909e0587dc2ba696c4f232f8e2 SHA1 678d9878d560dc3a1b3d641828af3c5f6cdc76a9 SHA256 3083d2aa0313e66f3b13eea39aee15578505fa98c2c8515dccfe46f8dd11bb2f DIST avahi-0.6.13.tar.gz 895380 RMD160 35e8c0e026ab32cddd345b7afdc7f9ab3f0ab098 SHA1 c902bb556810a753a9b46400526af1b7e8f606de SHA256 5e10afd1d3e98eac31ac0a4bdab63e6672b66a4bfd192eb700e6d3903be7b4b9 +DIST avahi-0.6.14.tar.gz 923556 RMD160 dfe3a51d53e34eb1ce5eabdc176e732cda6a8e44 SHA1 25aaabc2b2c381cb2c13ae5451f48655de8913ac SHA256 e599f03b2d493b492fc23f50c5fe7bbf78af90e79a0c6c8c2e6600048e71c2e6 EBUILD avahi-0.6.10.ebuild 3197 RMD160 20c62f409d9a6f51a925d8d030aae2a2e778937a SHA1 868c3425cbde3b34fa460cc568987d9ed01ccff3 SHA256 02822eef91e2d8c012b9d456836e1e45ac0bc78be0cf11321ea01b96e21862f0 MD5 6a94ea924fd350d53336c2be63109890 avahi-0.6.10.ebuild 3197 RMD160 20c62f409d9a6f51a925d8d030aae2a2e778937a avahi-0.6.10.ebuild 3197 @@ -29,10 +34,14 @@ EBUILD avahi-0.6.13.ebuild 3464 RMD160 b31c5a671e70ed52099091d407243bf9d6424c80 MD5 411d2fc0a5ddd7fe3761f1b8074b8781 avahi-0.6.13.ebuild 3464 RMD160 b31c5a671e70ed52099091d407243bf9d6424c80 avahi-0.6.13.ebuild 3464 SHA256 98411ddbfb3f95019c0f5872291e0a30ab0d54b60be999a84b0e0232013c3b34 avahi-0.6.13.ebuild 3464 -MISC ChangeLog 8002 RMD160 39710201d61735a138d8143cb6286e4170b8b5a2 SHA1 37f4b52dfe12eab5f5288d7f07c9216b593bb257 SHA256 26cb19b5c82f3c6c610e9edaab2097bd6c3654056276a785efc12e3a5904b7ea -MD5 827b4ac173ccb0ef57d45c8f14275188 ChangeLog 8002 -RMD160 39710201d61735a138d8143cb6286e4170b8b5a2 ChangeLog 8002 -SHA256 26cb19b5c82f3c6c610e9edaab2097bd6c3654056276a785efc12e3a5904b7ea ChangeLog 8002 +EBUILD avahi-0.6.14.ebuild 4047 RMD160 37c1a82e53a89becf6e31fbe3f6905c01e3a694a SHA1 97a4e057eb2ab0633114d1233859ffed6270fce8 SHA256 df78e1551b8dfc71cfec00ef2cda373b391e3af673d3faecd981bad68963d8ae +MD5 19b48001d7045a65dfe2776db80575c5 avahi-0.6.14.ebuild 4047 +RMD160 37c1a82e53a89becf6e31fbe3f6905c01e3a694a avahi-0.6.14.ebuild 4047 +SHA256 df78e1551b8dfc71cfec00ef2cda373b391e3af673d3faecd981bad68963d8ae avahi-0.6.14.ebuild 4047 +MISC ChangeLog 8141 RMD160 97357e2152f1a02553ac3127747c772a8e031b4f SHA1 bc8a60c5b8a192af74c578987f37d2fb40843999 SHA256 b6d02ec5dbcd156af13c061b9dce51e2995b3e0b6a86e1dfe1e48459d92a78f5 +MD5 91135b5a60764b08882cc8c6ac870d4b ChangeLog 8141 +RMD160 97357e2152f1a02553ac3127747c772a8e031b4f ChangeLog 8141 +SHA256 b6d02ec5dbcd156af13c061b9dce51e2995b3e0b6a86e1dfe1e48459d92a78f5 ChangeLog 8141 MISC metadata.xml 223 RMD160 93a79d3a583130d803a2a8da0052f43d102ecfc2 SHA1 bd4caecc4cecdd93cb0e935e8f4ff92272aae978 SHA256 87de3da2e3f5d81839d9e3658af1703267195984bdee92aa032f1d429acc096d MD5 b8a99a5b7fa586fe9cabbacc87d88bfe metadata.xml 223 RMD160 93a79d3a583130d803a2a8da0052f43d102ecfc2 metadata.xml 223 @@ -49,10 +58,13 @@ SHA256 d3f684b2e6e2b38f1b9cfd6eb9c1c981b0ebd9696b55e54613841fcc7eb9b31a files/di MD5 ed4234a87677542a893dfd9c83983088 files/digest-avahi-0.6.13 238 RMD160 a9e556050811bfa2b3d4378cc420044c48a7eedc files/digest-avahi-0.6.13 238 SHA256 87b11bd274b1cf12c3fbea98889f1611f65477fb495442b04b8fc02727219eb8 files/digest-avahi-0.6.13 238 +MD5 85939841394c972d85c605a7a6e289b5 files/digest-avahi-0.6.14 238 +RMD160 3341190f961bdc43b3263ee801d64847d6970480 files/digest-avahi-0.6.14 238 +SHA256 2213392942ab441f53bc099209d6404d32d2e807d82ca96c2c3a92a0fd4a1d3c files/digest-avahi-0.6.14 238 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFEZDaI1lqEGTUzyQRAlxSAJ0Z0VBTjRvGsTjJRxO912D314ZDPgCg0alV -9VB3X1I9NZ0D7rE+7og4Ejk= -=bd6H +iD8DBQFFEZrmI1lqEGTUzyQRAl3eAJ90XFHU/QRxDlKF7ZNZXW1Iea7JhACgqxKK +Y50uavMOKoDFwcacbzEZNg4= +=Q/pM -----END PGP SIGNATURE----- diff --git a/net-dns/avahi/avahi-0.6.14.ebuild b/net-dns/avahi/avahi-0.6.14.ebuild new file mode 100644 index 000000000000..df54c988aab8 --- /dev/null +++ b/net-dns/avahi/avahi-0.6.14.ebuild @@ -0,0 +1,173 @@ +# Copyright 2000-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.14.ebuild,v 1.1 2006/09/20 19:47:43 swegener Exp $ + +inherit eutils mono python qt3 qt4 + +DESCRIPTION="System which facilitates service discovery on a local network" +HOMEPAGE="http://avahi.org/" +SRC_URI="http://avahi.org/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="bookmarks howl-compat mdnsresponder-compat gdbm dbus doc mono gtk python qt3 qt4 autoipd" + +RDEPEND=">=dev-libs/libdaemon-0.5 + dev-libs/expat + >=dev-libs/glib-2 + gdbm? ( sys-libs/gdbm ) + qt3? ( $(qt_min_version 3.3.6-r2) ) + qt4? ( $(qt_min_version 4) ) + gtk? ( + >=x11-libs/gtk+-2 + >=gnome-base/libglade-2 + ) + dbus? ( + || ( + sys-apps/dbus-core + >=sys-apps/dbus-0.30 + ) + python? ( + || ( + dev-python/dbus-python + >=sys-apps/dbus-0.30 + ) + ) + ) + mono? ( + >=dev-lang/mono-1.1.10 + ) + howl-compat? ( + !net-misc/howl + ) + mdnsresponder-compat? ( + !net-misc/mDNSResponder + ) + python? ( + >=virtual/python-2.4 + gtk? ( >=dev-python/pygtk-2 ) + ) + bookmarks? ( + dev-python/twisted + dev-python/twisted-web + )" +DEPEND="${RDEPEND} + doc? ( + app-doc/doxygen + mono? ( >=dev-util/monodoc-1.1.8 ) + )" + +pkg_setup() { + if use python && ! built_with_use dev-lang/python gdbm + then + die "For python support you need dev-lang/python compiled with gdbm support!" + fi + + if use python && use dbus && ! has_version dev-python/dbus-python && ! built_with_use sys-apps/dbus python + then + die "For python and dbus support you need sys-apps/dbus compiled with python support or dev-python/dbus-python!" + fi + + if ( use mdnsresponder-compat || use howl-compat || use mono ) && ! use dbus + then + die "For *-compat or mono support you also need to enable the dbus USE flag!" + fi + + if use bookmarks && ! ( use python && use dbus && use gtk ) + then + die "For bookmarks support you also need to enable the python, dbus and gtk USE flags!" + fi +} + +pkg_preinst() { + enewgroup netdev + enewgroup avahi + enewuser avahi -1 -1 -1 avahi + + if use autoipd + then + enewgroup avahi-autoipd + enewuser avahi-autoipd -1 -1 -1 avahi-autoipd + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-0.6.1-no-ipv6.patch +} + +src_compile() { + local myconf="" + + if use python + then + use dbus && myconf="${myconf} --enable-python-dbus" + use gtk && myconf="${myconf} --enable-pygtk" + fi + + if use mono && use doc + then + myconf="${myconf} --enable-monodoc" + fi + + # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module + unset DISPLAY + + econf \ + --localstatedir=/var \ + --with-distro=gentoo \ + --disable-python-dbus \ + --disable-pygtk \ + --disable-xmltoman \ + --disable-monodoc \ + --enable-glib \ + $(use_enable autoipd) \ + $(use_enable mdnsresponder-compat compat-libdns_sd) \ + $(use_enable howl-compat compat-howl) \ + $(use_enable doc doxygen-doc) \ + $(use_enable mono) \ + $(use_enable dbus) \ + $(use_enable python) \ + $(use_enable gtk) \ + $(use_enable qt3) \ + $(use_enable qt4) \ + $(use_enable gdbm) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make install DESTDIR="${D}" || die "make install failed" + use bookmarks || rm -f "${D}"/usr/bin/avahi-bookmarks + + use howl-compat && ln -s avahi-compat-howl.pc "${D}"/usr/$(get_libdir)/pkgconfig/howl.pc + use mdnsresponder-compat && ln -s avahi-compat-libdns_sd/dns_sd.h "${D}"/usr/include/dns_sd.h + + if use autoipd + then + insinto /lib/rcscripts/net + doins "${FILESDIR}"/autoipd.sh + fi + + dodoc docs/{AUTHORS,README,TODO} +} + +pkg_postrm() { + python_mod_cleanup "${ROOT}"/usr/lib/python*/site-packages/avahi +} + +pkg_postinst() { + python_mod_optimize "${ROOT}"/usr/lib/python*/site-packages/avahi + + if use autoipd + then + einfo + einfo "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)" + einfo "addresses, just set config_<interface>=( autoipd ) in /etc/conf.net!" + einfo + fi +} diff --git a/net-dns/avahi/files/autoipd.sh b/net-dns/avahi/files/autoipd.sh new file mode 100644 index 000000000000..c88d44903fe2 --- /dev/null +++ b/net-dns/avahi/files/autoipd.sh @@ -0,0 +1,53 @@ +# Copyright (c) 2004-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# Contributed by Sven Wegener (swegener@gentoo.org) + +# void autoipd_depend(void) +# +# Sets up the dependencies for the module +autoipd_depend() { + after interface + functions interface_exists interface_get_address +} + +# void autoipd_expose(void) +# +# Expose variables that can be configured +dhcpcd_expose() { + variables autoipd +} + +# bool autoipd_start(char *iface) +# +# Tries to configures the interface via avahi-autoipd +autoipd_start() { + local iface="${1}" ifvar=$(bash_variable "${iface}") opts="autoipd_${ifvar}" addr= + + interface_exists "${iface}" true || return 1 + + ebegin "Starting avahi-autoipd" + if /usr/sbin/avahi-autoipd --daemonize --syslog --wait ${!opts} "${iface}" + then + eend 0 + addr=$(interface_get_address "${iface}") + einfo "${iface} received address ${addr}" + return 0 + fi + + eend "${?}" "Failed to get address via avahi-autoipd!" +} + +# bool autoipd_stop(char *iface) +# +# Stops a running avahi-autoipd instance +autoipd_stop() { + local iface="${1}" + + /usr/sbin/avahi-autoipd --check --syslog "${iface}" || return 0 + + ebegin "Stopping avahi-autoipd" + /usr/sbin/avahi-autoipd --kill --syslog "${iface}" + eend "${?}" +} + +# vim: set ts=4 : diff --git a/net-dns/avahi/files/digest-avahi-0.6.14 b/net-dns/avahi/files/digest-avahi-0.6.14 new file mode 100644 index 000000000000..4bd25d126495 --- /dev/null +++ b/net-dns/avahi/files/digest-avahi-0.6.14 @@ -0,0 +1,3 @@ +MD5 6abad76bbc2ac0f51a8869b3a2e5c238 avahi-0.6.14.tar.gz 923556 +RMD160 dfe3a51d53e34eb1ce5eabdc176e732cda6a8e44 avahi-0.6.14.tar.gz 923556 +SHA256 e599f03b2d493b492fc23f50c5fe7bbf78af90e79a0c6c8c2e6600048e71c2e6 avahi-0.6.14.tar.gz 923556 |