diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2011-05-23 01:31:46 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2011-05-23 02:03:38 +0200 |
commit | 494c25582b5177644723e4f5948b6b0bbea2d6f8 (patch) | |
tree | 7a42caab618445cad36b48887c7df31de984e3dc /net-dns | |
parent | media-gfx/lazygal: 0.6.1 (diff) | |
download | betagarden-494c25582b5177644723e4f5948b6b0bbea2d6f8.tar.gz betagarden-494c25582b5177644723e4f5948b6b0bbea2d6f8.tar.bz2 betagarden-494c25582b5177644723e4f5948b6b0bbea2d6f8.zip |
net-dns/inadyn: 1.96.2 (based on ebuild from bug #167619)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/inadyn/Manifest | 6 | ||||
-rw-r--r-- | net-dns/inadyn/files/inadyn-1.96.2-makefile | 2 | ||||
-rw-r--r-- | net-dns/inadyn/files/inadyn.conf | 6 | ||||
-rw-r--r-- | net-dns/inadyn/files/inadyn.initd | 25 | ||||
-rw-r--r-- | net-dns/inadyn/inadyn-1.96.2.ebuild | 52 | ||||
-rw-r--r-- | net-dns/inadyn/metadata.xml | 9 |
6 files changed, 100 insertions, 0 deletions
diff --git a/net-dns/inadyn/Manifest b/net-dns/inadyn/Manifest new file mode 100644 index 0000000..188dd9e --- /dev/null +++ b/net-dns/inadyn/Manifest @@ -0,0 +1,6 @@ +AUX inadyn-1.96.2-makefile 160 RMD160 a9029a2eda529bc056f7c8362c57aa73837e14a3 SHA1 2ef3eeb24ebe80a296b2fe54283c573a486cdba4 SHA256 cf1795f7e05e34f29b1f4bf8d509c95ba3927c4e9fc44abd2a1713af6b26fcd4 +AUX inadyn.conf 194 RMD160 a96d8892bfb81376e935cdaa74ee5127a0f559a9 SHA1 1ef52cf2612a25cc95c937c17d7d32d1800122fd SHA256 8ba5bbd0d38243d0862535921d4dc27509908ca6409cb37b856b4a85fb454f76 +AUX inadyn.initd 556 RMD160 9e06fa940717fc47271d4e03c94bc1e97d43c971 SHA1 392684f8513ef325398c8e7a54b41e72212df2b6 SHA256 f0a77d832057f01d9dbdc857f7f68fd8a55f65a64f0622d581708f52c27686a0 +DIST inadyn.v1.96.2.zip 110170 RMD160 f3c4d1009a2743032f28e6527aa58d6ecd0baf29 SHA1 d5fe03ee4cfbc8e702d38d80527264a29297b6cf SHA256 981f29d12415637c8e3ad747c204a599ddb900360d04a9b4c351d54db3d2321c +EBUILD inadyn-1.96.2.ebuild 1021 RMD160 e0714172a58c2f207b8135ec2be873206cf7eca1 SHA1 de22374ac456b3d7e8e9a67cd5785df01d7bfe2a SHA256 553f1671655f47c2d1b8ec386bd869ab5e41696863b972867559492ff70c307d +MISC metadata.xml 257 RMD160 04e4c6e678ba8e8ffde93f57d06a40b60f9eaa69 SHA1 e3c39bf9a25beebbe626726bb94f6e22db4fa06d SHA256 b4a209de2bfbbcc5ceab61bf458a1ee79da4c60a30e4aabf54b76e9709b56db8 diff --git a/net-dns/inadyn/files/inadyn-1.96.2-makefile b/net-dns/inadyn/files/inadyn-1.96.2-makefile new file mode 100644 index 0000000..ba989af --- /dev/null +++ b/net-dns/inadyn/files/inadyn-1.96.2-makefile @@ -0,0 +1,2 @@ +inadyn: base64utils.o dyndns.o errorcode.o get_cmd.o http_client.o inadyn_cmd.o ip.o main.o os.o os_psos.o os_unix.o tcp.o + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ diff --git a/net-dns/inadyn/files/inadyn.conf b/net-dns/inadyn/files/inadyn.conf new file mode 100644 index 0000000..ac457cf --- /dev/null +++ b/net-dns/inadyn/files/inadyn.conf @@ -0,0 +1,6 @@ +# A quick example for freedns.afraid.org +# (see docs about using hashes for freedns.afraid.org) + +#alias example.org,HASHHASHHASH +#dyndns_system default@freedns.afraid.org +#update_period_sec 600 diff --git a/net-dns/inadyn/files/inadyn.initd b/net-dns/inadyn/files/inadyn.initd new file mode 100644 index 0000000..da388ba --- /dev/null +++ b/net-dns/inadyn/files/inadyn.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 --exec /usr/sbin/inadyn \ + --pidfile /var/run/inadyn.pid --make-pidfile --background \ + -- --syslog --input_file /etc/inadyn.conf + eend $? +} + +stop() { + ebegin "Stopping inadyn" + start-stop-daemon --stop --exec /usr/sbin/inadyn \ + --pidfile /var/run/inadyn.pid + eend $? +} diff --git a/net-dns/inadyn/inadyn-1.96.2.ebuild b/net-dns/inadyn/inadyn-1.96.2.ebuild new file mode 100644 index 0000000..2962ded --- /dev/null +++ b/net-dns/inadyn/inadyn-1.96.2.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 + +DESCRIPTION="Dyndns client in C supporting various services" +HOMEPAGE="http://www.inatech.eu/inadyn/" +SRC_URI="http://www.inatech.eu/${PN}/${PN}.v${PV}.zip" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S="${WORKDIR}"/${PN} + +pkg_setup() { + enewuser inadyn -1 -1 -1 +} + +src_prepare() { + rm -R bin || die + cp "${FILESDIR}"/${P}-makefile src/Makefile || die +} + +src_compile() { + cd src || die + emake || die +} + +src_install() { + dosbin src/inadyn || die + doman man/* || die + dohtml readme.html || die + + newinitd "${FILESDIR}"/inadyn.initd inadyn || die + + insinto /etc + doins "${FILESDIR}"/inadyn.conf || die +} + +pkg_postinst() { + elog "You will need to edit /etc/inadyn.conf file before" + elog "running inadyn for the first time. The file is basically" + elog "command line options; see inadyn and inayn.conf manpages." +} diff --git a/net-dns/inadyn/metadata.xml b/net-dns/inadyn/metadata.xml new file mode 100644 index 0000000..328fbd1 --- /dev/null +++ b/net-dns/inadyn/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> |