diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dns/totd/totd-1.5.1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dns/totd/totd-1.5.1.ebuild')
-rw-r--r-- | net-dns/totd/totd-1.5.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-dns/totd/totd-1.5.1.ebuild b/net-dns/totd/totd-1.5.1.ebuild new file mode 100644 index 000000000000..8cb983f4b008 --- /dev/null +++ b/net-dns/totd/totd-1.5.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils + +DESCRIPTION="Trick Or Treat Daemon, a DNS proxy for 6to4" +HOMEPAGE="http://www.dillema.net/software/totd.html" +SRC_URI="http://www.dillema.net/software/${PN}/${P}.tar.gz" + +LICENSE="totd BSD BSD-4" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-no_werror.patch +} + +src_configure() { + econf \ + --enable-ipv4 \ + --enable-ipv6 \ + --enable-stf \ + --enable-scoped-rewrite \ + --disable-http-server +} + +src_install() { + dosbin totd + doman totd.8 + dodoc totd.conf.sample README INSTALL + + doinitd "${FILESDIR}"/totd +} + +pkg_postinst() { + elog "The totd.conf.sample file in /usr/share/doc/${P}/ contains" + elog "a sample config file for totd. Make sure you create" + elog "/etc/totd.conf with the necessary configurations" +} |