diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-09-15 01:39:11 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-09-15 01:39:11 +0000 |
commit | e52813a15c18991a06218c24e8fc5aacec099007 (patch) | |
tree | ca1ff2602628e5366e23430e97303020719b1c82 /net-dns/maradns/maradns-1.2.12.10.ebuild | |
parent | Version bump. (diff) | |
download | historical-e52813a15c18991a06218c24e8fc5aacec099007.tar.gz historical-e52813a15c18991a06218c24e8fc5aacec099007.tar.bz2 historical-e52813a15c18991a06218c24e8fc5aacec099007.zip |
Version bumped, bug #237609.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64
Diffstat (limited to 'net-dns/maradns/maradns-1.2.12.10.ebuild')
-rw-r--r-- | net-dns/maradns/maradns-1.2.12.10.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/net-dns/maradns/maradns-1.2.12.10.ebuild b/net-dns/maradns/maradns-1.2.12.10.ebuild new file mode 100644 index 000000000000..304056f28c61 --- /dev/null +++ b/net-dns/maradns/maradns-1.2.12.10.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/maradns-1.2.12.10.ebuild,v 1.1 2008/09/15 01:39:11 matsuu Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Proxy DNS server with permanent caching" +HOMEPAGE="http://www.maradns.org/" +SRC_URI="http://www.maradns.org/download/1.2/${PV}/${P}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="dev-lang/perl" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "s:PREFIX/man:PREFIX/share/man:" \ + -e "s:PREFIX/doc/maradns-\$VERSION:PREFIX/share/doc/${PF}:" \ + build/install.locations || die + sed -i -e "s:-O2:${CFLAGS}:" build/Makefile.linux || die +} + +src_compile() { + ./configure || die + emake CC="$(tc-getCC)" || die "compile problem" +} + +src_install() { + dosbin server/maradns + # use authonly && newsbin server/maradns.authonly maradns + dosbin tcp/zoneserver + + dobin tcp/getzone tcp/fetchzone tools/askmara tools/duende + + doman doc/en/man/*.[1-9] + + dodoc maradns.gpg.key + dodoc doc/en/{QuickStart,README,*.txt} + dohtml doc/en/*.html + dohtml -r doc/en/webpage + docinto examples; dodoc doc/en/examples/example_* + + insinto /etc; newins doc/en/examples/example_mararc mararc + insinto /etc/maradns; newins doc/en/examples/example_csv2 db.example.net + keepdir /etc/maradns/logger + + newinitd "${FILESDIR}"/maradns.rc6 maradns + newinitd "${FILESDIR}"/zoneserver.rc6 zoneserver +} + +pkg_postinst() { + enewuser maradns 99 -1 /var/empty daemon +} |