* [gentoo-commits] proj/betagarden:master commit in: net-dns/inadyn-mt/files/, net-dns/inadyn-mt/
@ 2011-05-23 0:04 Sebastian Pipping
0 siblings, 0 replies; only message in thread
From: Sebastian Pipping @ 2011-05-23 0:04 UTC (permalink / raw
To: gentoo-commits
commit: a54648651bfd0d0183e124cd040ba824bc0d7b4d
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Mon May 23 00:02:32 2011 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon May 23 00:03:38 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=a5464865
net-dns/inadyn-mt: 02.24.36 (based on ebuild from bug #231950)
---
net-dns/inadyn-mt/files/inadyn-mt.conf | 13 +++++++
net-dns/inadyn-mt/files/inadyn-mt.initd | 25 +++++++++++++
net-dns/inadyn-mt/inadyn-mt-02.24.36.ebuild | 52 +++++++++++++++++++++++++++
net-dns/inadyn-mt/metadata.xml | 9 +++++
4 files changed, 99 insertions(+), 0 deletions(-)
diff --git a/net-dns/inadyn-mt/files/inadyn-mt.conf b/net-dns/inadyn-mt/files/inadyn-mt.conf
new file mode 100644
index 0000000..228ff55
--- /dev/null
+++ b/net-dns/inadyn-mt/files/inadyn-mt.conf
@@ -0,0 +1,13 @@
+# A quick example for freedns.afraid.org
+# (see docs about using hashes for freedns.afraid.org)
+
+#alias example.net,HASHHASHHASH
+#dyndns_system default@freedns.afraid.org
+#update_period_sec 600
+
+# DYNDNS Example
+#alias <DNS>
+#dyndns_system dyndns@dyndns.org
+#update_period_sec 180
+#username <USERNAME>
+#password <PASSWORD>
diff --git a/net-dns/inadyn-mt/files/inadyn-mt.initd b/net-dns/inadyn-mt/files/inadyn-mt.initd
new file mode 100644
index 0000000..0b8135f
--- /dev/null
+++ b/net-dns/inadyn-mt/files/inadyn-mt.initd
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ need net
+ use logger dns
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting inadyn-mt"
+ start-stop-daemon --start --chuid inadyn-mt --exec /usr/sbin/inadyn-mt \
+ --pidfile /var/run/inadyn-mt.pid --make-pidfile --background \
+ -- --syslog --input_file /etc/conf.d/inadyn-mt
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping inadyn-mt"
+ start-stop-daemon --stop --exec /usr/sbin/inadyn-mt \
+ --pidfile /var/run/inadyn-mt.pid
+ eend $?
+}
diff --git a/net-dns/inadyn-mt/inadyn-mt-02.24.36.ebuild b/net-dns/inadyn-mt/inadyn-mt-02.24.36.ebuild
new file mode 100644
index 0000000..7b50ef5
--- /dev/null
+++ b/net-dns/inadyn-mt/inadyn-mt-02.24.36.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit eutils
+
+MY_P="${PN}.v.${PV}"
+DESCRIPTION="Dynamic DNS (DynDNS) Update daemon in C that supports multiple services"
+HOMEPAGE="http://sourceforge.net/projects/inadyn-mt"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}/${MY_P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}"/${MY_P}
+
+pkg_setup() {
+ enewuser ${PN}
+}
+
+src_prepare() {
+ rm -R bin || die
+
+ # inadyn-mt comes with outdated inadyn man pages - see inadyn-mt bug 2445206
+ rm man/inadyn.8
+ rm man/inadyn.conf.5
+}
+
+src_install() {
+ # dodir /usr/share || die
+ emake DESTDIR="${D}" INSTALL_PREFIX="${D}"/usr/share install || die
+
+ dodoc ChangeLog NEWS README NOTICE AUTHORS || die
+ dohtml readme.html || die
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
+ insinto /etc
+ doins "${FILESDIR}"/${PN}.conf || die
+}
+
+pkg_postinst() {
+ elog "You will need to edit /etc/inadyn-mt.conf before running inadyn-mt"
+ elog "for the first time. The format is basically the same as the"
+ elog "command line options; see inadyn-mt and inadyn-mt.conf manpages."
+}
diff --git a/net-dns/inadyn-mt/metadata.xml b/net-dns/inadyn-mt/metadata.xml
new file mode 100644
index 0000000..328fbd1
--- /dev/null
+++ b/net-dns/inadyn-mt/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-23 0:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-23 0:04 [gentoo-commits] proj/betagarden:master commit in: net-dns/inadyn-mt/files/, net-dns/inadyn-mt/ Sebastian Pipping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox