diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-08-23 00:10:24 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-08-23 00:10:24 +0000 |
commit | 2ef90df72b51a57b4aa8b1010437f05c4cc84edd (patch) | |
tree | 88fca86d8f7a997316a174ea6903dc5f432605b1 /net-dns/avahi | |
parent | cleanup (diff) | |
download | gentoo-2-2ef90df72b51a57b4aa8b1010437f05c4cc84edd.tar.gz gentoo-2-2ef90df72b51a57b4aa8b1010437f05c4cc84edd.tar.bz2 gentoo-2-2ef90df72b51a57b4aa8b1010437f05c4cc84edd.zip |
Added a small check that checks for an IP_MULTICAST-enabled kernel.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-dns/avahi')
-rw-r--r-- | net-dns/avahi/ChangeLog | 5 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.1.ebuild | 17 |
2 files changed, 19 insertions, 3 deletions
diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog index 403b6c300344..823ce564c468 100644 --- a/net-dns/avahi/ChangeLog +++ b/net-dns/avahi/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dns/avahi # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.2 2005/08/22 03:47:19 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.3 2005/08/23 00:10:24 swegener Exp $ + + 23 Aug 2005; Sven Wegener <swegener@gentoo.org> avahi-0.1.ebuild: + Added a small check that checks for an IP_MULTICAST-enabled kernel. *avahi-0.1 (22 Aug 2005) diff --git a/net-dns/avahi/avahi-0.1.ebuild b/net-dns/avahi/avahi-0.1.ebuild index 3ef8dc2fabe9..da2bb8bedbe5 100644 --- a/net-dns/avahi/avahi-0.1.ebuild +++ b/net-dns/avahi/avahi-0.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.1.ebuild,v 1.6 2005/08/22 23:43:15 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.1.ebuild,v 1.7 2005/08/23 00:10:24 swegener Exp $ -inherit eutils +inherit eutils linux-info DESCRIPTION="System which facilitates service discovery on a local network" HOMEPAGE="http://www.freedesktop.org/Software/Avahi" @@ -29,8 +29,21 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen )" pkg_setup() { + linux-info_pkg_setup + enewgroup avahi enewuser avahi -1 -1 -1 avahi + + if ! linux_chkconfig_present IP_MULTICAST + then + ewarn + ewarn "Your kernel doesn't seem to have IP_MULTICAST enabled," + ewarn "which is needed for avahi to work correctly." + ewarn + ewarn "Continuing..." + ewarn + epause + fi } src_compile() { |