summaryrefslogtreecommitdiff
blob: dcaf46bcf40413be8457fc5fb2b7b7281c642277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Shell script that reorders nameserver entries if the primary nameserver is down"
HOMEPAGE="http://reorder-ns.sourceforge.net/"
SRC_URI="mirror://sourceforge/reorder-ns/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="net-analyzer/nmap
	sys-apps/ifplugd"

src_install() {
	dosbin ${PN} || die "missing ${PN}"
	doman ${PN}.8 || die "missing ${PN}.8"
	dodoc TODO || die "missing TODO"
	insinto /etc/logrotate.d
	newins ${PN}.logrotate ${PN} || die "missing ${PN}.logrotate"
}