summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Broadhead (hangfire) <jamesbroadhead@gmail.com>2008-12-19 01:56:02 +0000
committerJames Broadhead (hangfire) <jamesbroadhead@gmail.com>2008-12-19 01:56:02 +0000
commite945063fd3527ad9958be1fd1062b236292c1bcd (patch)
tree5c5f16b69d2f4ffa9f66ff941273e4bf023c0b2c /net-dns
parentnet-misc/ganyremote: version bump (diff)
downloadsunrise-e945063fd3527ad9958be1fd1062b236292c1bcd.tar.gz
sunrise-e945063fd3527ad9958be1fd1062b236292c1bcd.tar.bz2
sunrise-e945063fd3527ad9958be1fd1062b236292c1bcd.zip
net-dns/inadyn-mt: New package, bug #231950. ebuilds etc. are based on those for net-dns/inadyn.
svn path=/sunrise/; revision=7505
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/inadyn-mt/ChangeLog9
-rwxr-xr-xnet-dns/inadyn-mt/Manifest6
-rwxr-xr-xnet-dns/inadyn-mt/files/inadyn-mt.conf13
-rwxr-xr-xnet-dns/inadyn-mt/files/inadyn-mt.initd25
-rwxr-xr-xnet-dns/inadyn-mt/inadyn-mt-02.12.24.ebuild45
-rw-r--r--net-dns/inadyn-mt/metadata.xml5
6 files changed, 103 insertions, 0 deletions
diff --git a/net-dns/inadyn-mt/ChangeLog b/net-dns/inadyn-mt/ChangeLog
new file mode 100644
index 000000000..6336dca5a
--- /dev/null
+++ b/net-dns/inadyn-mt/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-dns/inadyn-mt
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 19 Dec 2008; James Broadhead (hangfire) <jamesbroadhead@gmail.com>
+ +inadyn-mt-02.12.24.ebuild, +files/inadyn-mt.conf, +files/inadyn-mt.initd,
+ +metadata.xml:
+ New package, bug #231950. ebuilds etc. are based on those for net-dns/inadyn.
+
diff --git a/net-dns/inadyn-mt/Manifest b/net-dns/inadyn-mt/Manifest
new file mode 100755
index 000000000..406915d60
--- /dev/null
+++ b/net-dns/inadyn-mt/Manifest
@@ -0,0 +1,6 @@
+AUX inadyn-mt.conf 323 RMD160 1a5e86e8e06eb88a45b10fa1c45f3892ecd12405 SHA1 30992f65807af60c8984ebaf7d941088d4a86b81 SHA256 598c5ddbfe55ba66dc1c7909174680d880cd6c88518db3b14826ff1dfbc71356
+AUX inadyn-mt.initd 576 RMD160 d133b5acbe1c8428724645ef81f5689804c9b8d7 SHA1 d1272af855b98b1a4c044d65a2a92ffcdb8bdd76 SHA256 c5253612adab74d512e90c2542ed44d9ffbabf959c90dec09fe8abfc10705a2e
+DIST inadyn-mt.v.02.12.24.tar.gz 224703 RMD160 375811b80f69cb1941765ce60e705bbd27a0ab24 SHA1 fcb8e44855e94272cec9895a6ef6567dd309db50 SHA256 ac9eb2ae4cacb4a1a12ea297d136b18a30f325ff5f076fd942e3949bd854ed5c
+EBUILD inadyn-mt-02.12.24.ebuild 1121 RMD160 bab3f7f0c787e83f29a7d5ded64998882557acc8 SHA1 3341093e134dc7e1233fe3583f3827bbceda6508 SHA256 08ebfe40df23a2c09884d4c57bae3c0c75aa59e57bc9ec5a5963585f3c87378e
+MISC ChangeLog 362 RMD160 89e69852060f4d990cc7bd10d6575da6bb87bc2f SHA1 6e1a4aa8c01484b365be00b1aff22fdcc16d6e52 SHA256 b760b1fb9e6b8914cbbf59178dee56393e549650f5121fc67be72a358f2cfb31
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-dns/inadyn-mt/files/inadyn-mt.conf b/net-dns/inadyn-mt/files/inadyn-mt.conf
new file mode 100755
index 000000000..228ff55e1
--- /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 100755
index 000000000..2c1a2cc31
--- /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"
+ 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"
+ 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.12.24.ebuild b/net-dns/inadyn-mt/inadyn-mt-02.12.24.ebuild
new file mode 100755
index 000000000..4accbf48c
--- /dev/null
+++ b/net-dns/inadyn-mt/inadyn-mt-02.12.24.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+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}.v.${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="!net-dns/inadyn"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ enewuser ${PN}
+}
+
+src_install() {
+ dosbin bin/linux/${PN} || die
+
+ # inadyn-mt comes with outdated inadyn man pages - see inadyn-mt bug 2445206
+ rm man/inadyn.8
+ rm man/inadyn.conf.5
+ doman man/* || die
+ newman man/inadyn-mt.8 inadyn.8 || die
+ newman man/inadyn-mt.conf.5 inadyn.conf.5 || die
+ # end workaround
+
+ dohtml readme.html || die
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
+ newconfd "${FILESDIR}"/${PN}.conf ${PN} || 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 000000000..7e3286984
--- /dev/null
+++ b/net-dns/inadyn-mt/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>