diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2011-05-23 02:02:32 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2011-05-23 02:03:38 +0200 |
commit | a54648651bfd0d0183e124cd040ba824bc0d7b4d (patch) | |
tree | a7f42da372c8189a5361f75d4f97bbb3c86d6887 /net-dns | |
parent | net-dns/inadyn: 1.96.2 (based on ebuild from bug #167619) (diff) | |
download | betagarden-a54648651bfd0d0183e124cd040ba824bc0d7b4d.tar.gz betagarden-a54648651bfd0d0183e124cd040ba824bc0d7b4d.tar.bz2 betagarden-a54648651bfd0d0183e124cd040ba824bc0d7b4d.zip |
net-dns/inadyn-mt: 02.24.36 (based on ebuild from bug #231950)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/inadyn-mt/Manifest | 5 | ||||
-rw-r--r-- | net-dns/inadyn-mt/files/inadyn-mt.conf | 13 | ||||
-rw-r--r-- | net-dns/inadyn-mt/files/inadyn-mt.initd | 25 | ||||
-rw-r--r-- | net-dns/inadyn-mt/inadyn-mt-02.24.36.ebuild | 52 | ||||
-rw-r--r-- | net-dns/inadyn-mt/metadata.xml | 9 |
5 files changed, 104 insertions, 0 deletions
diff --git a/net-dns/inadyn-mt/Manifest b/net-dns/inadyn-mt/Manifest new file mode 100644 index 0000000..1ab9c66 --- /dev/null +++ b/net-dns/inadyn-mt/Manifest @@ -0,0 +1,5 @@ +AUX inadyn-mt.conf 323 RMD160 1a5e86e8e06eb88a45b10fa1c45f3892ecd12405 SHA1 30992f65807af60c8984ebaf7d941088d4a86b81 SHA256 598c5ddbfe55ba66dc1c7909174680d880cd6c88518db3b14826ff1dfbc71356 +AUX inadyn-mt.initd 666 RMD160 892dfee845f6b7ef9d7ada18cca84ce084a27fa5 SHA1 e83ca91a50e695d7008aeb540e7d7917e882b3a8 SHA256 4fe5f6dda6ad02ec184637ad8d71a8dbc26b98d2032cdeb60da64c849042fc1d +DIST inadyn-mt.v.02.24.36.tar.gz 864591 RMD160 aef58928d24f60f6d9fa3298647779e5d0c488f5 SHA1 66afcba5fed82b7ec70e3ecd3b0de50b904c3615 SHA256 46b5623ccf979f74b52cf906d68ec60dec539afba8bbe9ec3be362983af70f59 +EBUILD inadyn-mt-02.24.36.ebuild 1210 RMD160 d5b0c0bb8abc9bd671ed19ad01b9be74a0e31766 SHA1 cd30fce9ecf9242abcdef80c5328d19346098628 SHA256 c0ba731d1349822be793504114a0a20ef898c9debf9f3b73cf9cda389a5ad7a0 +MISC metadata.xml 257 RMD160 04e4c6e678ba8e8ffde93f57d06a40b60f9eaa69 SHA1 e3c39bf9a25beebbe626726bb94f6e22db4fa06d SHA256 b4a209de2bfbbcc5ceab61bf458a1ee79da4c60a30e4aabf54b76e9709b56db8 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> |