diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-08-22 03:47:19 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-08-22 03:47:19 +0000 |
commit | 841f1adad72de8a04ce04bc28d4734eeba6793c6 (patch) | |
tree | 3f222d00491a32874edd40b2c7d3e8ef468af805 /net-dns | |
parent | Pull old versions. (diff) | |
download | gentoo-2-841f1adad72de8a04ce04bc28d4734eeba6793c6.tar.gz gentoo-2-841f1adad72de8a04ce04bc28d4734eeba6793c6.tar.bz2 gentoo-2-841f1adad72de8a04ce04bc28d4734eeba6793c6.zip |
Added init script for avahi-dnsconfd.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/avahi/ChangeLog | 4 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.1.ebuild | 3 | ||||
-rw-r--r-- | net-dns/avahi/files/avahi-dnsconfd.initd | 29 | ||||
-rw-r--r-- | net-dns/avahi/files/avahi.initd | 8 |
4 files changed, 37 insertions, 7 deletions
diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog index 69a60b5529a2..403b6c300344 100644 --- a/net-dns/avahi/ChangeLog +++ b/net-dns/avahi/ChangeLog @@ -1,10 +1,10 @@ # 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.1 2005/08/22 03:04:37 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.2 2005/08/22 03:47:19 swegener Exp $ *avahi-0.1 (22 Aug 2005) 22 Aug 2005; Sven Wegener <swegener@gentoo.org> +files/avahi.initd, - +metadata.xml, +avahi-0.1.ebuild: + +files/avahi-dnsconfd.initd, +metadata.xml, +avahi-0.1.ebuild: Initial commit, ebuild written by me. diff --git a/net-dns/avahi/avahi-0.1.ebuild b/net-dns/avahi/avahi-0.1.ebuild index c0ceaea755bf..6e08e2a0db74 100644 --- a/net-dns/avahi/avahi-0.1.ebuild +++ b/net-dns/avahi/avahi-0.1.ebuild @@ -1,6 +1,6 @@ # 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.2 2005/08/22 03:26:53 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.1.ebuild,v 1.3 2005/08/22 03:47:19 swegener Exp $ inherit eutils @@ -46,5 +46,6 @@ src_install() { make install DESTDIR="${D}" || die "make install failed" newinitd "${FILESDIR}"/avahi.initd avahi + newinitd "${FILESDIR}"/avahi-dnsconfd.initd avahi-dnsconfd dodoc docs/{AUTHORS,README,TODO} } diff --git a/net-dns/avahi/files/avahi-dnsconfd.initd b/net-dns/avahi/files/avahi-dnsconfd.initd new file mode 100644 index 000000000000..bdb9e7aa645f --- /dev/null +++ b/net-dns/avahi/files/avahi-dnsconfd.initd @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/files/avahi-dnsconfd.initd,v 1.1 2005/08/22 03:47:19 swegener Exp $ + +opts="${opts} reload" + +depend() { + need avahi + use net +} + +start() { + ebegin "Starting avahi-dnsconfd" + /usr/sbin/avahi-dnsconfd -D + eend $? +} + +stop() { + ebegin "Stopping avahi-dnsconfd" + /usr/sbin/avahi-dnsconfd -k + eend $? +} + +reload() { + ebegin "Reloading avahi-dnsconfd" + /usr/sbin/avahi-dnsconfd -r + eend $? +} diff --git a/net-dns/avahi/files/avahi.initd b/net-dns/avahi/files/avahi.initd index e7de1ded8a2d..348d18c35402 100644 --- a/net-dns/avahi/files/avahi.initd +++ b/net-dns/avahi/files/avahi.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/files/avahi.initd,v 1.1 2005/08/22 03:04:37 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/files/avahi.initd,v 1.2 2005/08/22 03:47:19 swegener Exp $ opts="${opts} reload" @@ -10,19 +10,19 @@ depend() { } start() { - ebegin "Starting Avahi daemon" + ebegin "Starting avahi-daemon" /usr/sbin/avahi-daemon -D eend $? } stop() { - ebegin "Stopping Avahi daemon" + ebegin "Stopping avahi-daemon" /usr/sbin/avahi-daemon -k eend $? } reload() { - ebegin "Reloading Avahi daemon" + ebegin "Reloading avahi-daemon" /usr/sbin/avahi-daemon -r eend $? } |