summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/noip-updater/ChangeLog8
-rw-r--r--net-dns/noip-updater/Manifest19
-rw-r--r--net-dns/noip-updater/files/digest-noip-updater-2.1.4-r13
-rw-r--r--net-dns/noip-updater/files/noip-2.1.4-daemon.patch21
-rw-r--r--net-dns/noip-updater/noip-updater-2.1.4-r1.ebuild59
5 files changed, 105 insertions, 5 deletions
diff --git a/net-dns/noip-updater/ChangeLog b/net-dns/noip-updater/ChangeLog
index b8449db9594e..ff8f10467e2a 100644
--- a/net-dns/noip-updater/ChangeLog
+++ b/net-dns/noip-updater/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/noip-updater
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.22 2007/05/06 09:13:37 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.23 2007/07/26 11:29:54 uberlord Exp $
+
+*noip-updater-2.1.4-r1 (26 Jul 2007)
+
+ 26 Jul 2007; Roy Marples <uberlord@gentoo.org>
+ +files/noip-2.1.4-daemon.patch, +noip-updater-2.1.4-r1.ebuild:
+ Daemonise properly, #185471.
06 May 2007; Marius Mauch <genone@gentoo.org>
noip-updater-2.1.1-r1.ebuild, noip-updater-2.1.3.ebuild,
diff --git a/net-dns/noip-updater/Manifest b/net-dns/noip-updater/Manifest
index 6f6216e3dadd..e9b1ca40f636 100644
--- a/net-dns/noip-updater/Manifest
+++ b/net-dns/noip-updater/Manifest
@@ -6,6 +6,10 @@ AUX noip-2.1.3-cflags.patch 416 RMD160 6f11e988b02019073f5a275e7767654476f6ca96
MD5 f528c910b880a2ad6d9192357c0eb6c6 files/noip-2.1.3-cflags.patch 416
RMD160 6f11e988b02019073f5a275e7767654476f6ca96 files/noip-2.1.3-cflags.patch 416
SHA256 dcea8144789e8ba70bbe48b0422b2623a244cf291a619c16c4558f92e7e27cb5 files/noip-2.1.3-cflags.patch 416
+AUX noip-2.1.4-daemon.patch 520 RMD160 4ae358e42cbc3b5394870e086627d4d057ec6747 SHA1 9ee8e166daac3a7ca816d89b750b722befaf0468 SHA256 e19deb330fbf7d477e8543ef25fcb3b39163375f7df030500a0a77d05121bd71
+MD5 c1b0f5292fe4a9778264d3426941a426 files/noip-2.1.4-daemon.patch 520
+RMD160 4ae358e42cbc3b5394870e086627d4d057ec6747 files/noip-2.1.4-daemon.patch 520
+SHA256 e19deb330fbf7d477e8543ef25fcb3b39163375f7df030500a0a77d05121bd71 files/noip-2.1.4-daemon.patch 520
AUX noip2.start 786 RMD160 3cd6e6c08779623cf29fc7c876524b9cb11662e3 SHA1 4622b7f3f9e1d317446ed80683eb310cb691dcb4 SHA256 80cafb0855ed25c16e4ff8711136e1eb28d5cdaf7722c203913d5102ff226f3e
MD5 ced8f9146ce6aaaa6254e329056676da files/noip2.start 786
RMD160 3cd6e6c08779623cf29fc7c876524b9cb11662e3 files/noip2.start 786
@@ -21,14 +25,18 @@ EBUILD noip-updater-2.1.3.ebuild 1302 RMD160 986d8f62397fca172513d934cffbaf5783f
MD5 dd08d84066375739e5bcc4e572bfce77 noip-updater-2.1.3.ebuild 1302
RMD160 986d8f62397fca172513d934cffbaf5783f8a1d4 noip-updater-2.1.3.ebuild 1302
SHA256 572ae605b2196ef5aabf87b441a3fc2a7eaa7aeaf5583c6861ad5c690e04b736 noip-updater-2.1.3.ebuild 1302
+EBUILD noip-updater-2.1.4-r1.ebuild 1371 RMD160 7c902516e6801bbc498351553725a8272aee182b SHA1 91b6b17984916cccd90de05db26b8145078325a7 SHA256 5bae950ee10a70efa9a6ae36f1910bfcbaf79cff8d73e0c3d5ca2aba923a9ad8
+MD5 ba8679b3cc6731bf3ed92548dac2daa9 noip-updater-2.1.4-r1.ebuild 1371
+RMD160 7c902516e6801bbc498351553725a8272aee182b noip-updater-2.1.4-r1.ebuild 1371
+SHA256 5bae950ee10a70efa9a6ae36f1910bfcbaf79cff8d73e0c3d5ca2aba923a9ad8 noip-updater-2.1.4-r1.ebuild 1371
EBUILD noip-updater-2.1.4.ebuild 1330 RMD160 52de68416602c9b9de293dc4e593e50ae533a07c SHA1 521f0f5e3b3a182cccec465199815d080a76f6e2 SHA256 80d339c9abbd6cfb76ddb6af0ddb41b52c01cb824bc9253e728441684bd1783d
MD5 f1e589312a3f42729bd93ecdb0af8584 noip-updater-2.1.4.ebuild 1330
RMD160 52de68416602c9b9de293dc4e593e50ae533a07c noip-updater-2.1.4.ebuild 1330
SHA256 80d339c9abbd6cfb76ddb6af0ddb41b52c01cb824bc9253e728441684bd1783d noip-updater-2.1.4.ebuild 1330
-MISC ChangeLog 3756 RMD160 f4c1ff8046617036337ee4d1b33a2aaedba9e76e SHA1 c2e4ade57bd81fab84338c3b1111d5cafb909b1e SHA256 9ac41ae6a0076d36686eff52146a8fbc89a4b1ea99c03945a13538e4ea68e550
-MD5 5b9b93a598a27a9b164e9082313d9f82 ChangeLog 3756
-RMD160 f4c1ff8046617036337ee4d1b33a2aaedba9e76e ChangeLog 3756
-SHA256 9ac41ae6a0076d36686eff52146a8fbc89a4b1ea99c03945a13538e4ea68e550 ChangeLog 3756
+MISC ChangeLog 3942 RMD160 56f96b52a4b87b45ff107b6c3e8f07da2e0bfd0b SHA1 097cf3d49a0c20eb65802c046d37ff6a49c511d0 SHA256 2dbc8378ae3f77272ee1cff7f365ac4333354b688078c4f2b5af1e6f64cce10d
+MD5 7c0028fa5935a881b56706231f985e17 ChangeLog 3942
+RMD160 56f96b52a4b87b45ff107b6c3e8f07da2e0bfd0b ChangeLog 3942
+SHA256 2dbc8378ae3f77272ee1cff7f365ac4333354b688078c4f2b5af1e6f64cce10d ChangeLog 3942
MISC metadata.xml 545 RMD160 40b8e447a7593b87ecd0aaeede8d4a0763289f75 SHA1 2533c154ddd6e925b18d2d55e939007874b3606d SHA256 cabe8dd0133d5b81e84cf1224f5ebb400ebdf0f359d327e01684a86f1db49747
MD5 a20cdb92b8a1629599ec1bf97074d8f6 metadata.xml 545
RMD160 40b8e447a7593b87ecd0aaeede8d4a0763289f75 metadata.xml 545
@@ -42,3 +50,6 @@ SHA256 e2e7f09221ed785fd990d255d952356c04c80442fbd177257124086e020faf77 files/di
MD5 d35be916b585602e553b22a1a5683108 files/digest-noip-updater-2.1.4 232
RMD160 6d8dc6497a97e786ba045f16d1e447df7d9e4d32 files/digest-noip-updater-2.1.4 232
SHA256 93d729445cf123b758d2d7634bbef7a28523b79f8cd41fb31bd79cf6dd237097 files/digest-noip-updater-2.1.4 232
+MD5 d35be916b585602e553b22a1a5683108 files/digest-noip-updater-2.1.4-r1 232
+RMD160 6d8dc6497a97e786ba045f16d1e447df7d9e4d32 files/digest-noip-updater-2.1.4-r1 232
+SHA256 93d729445cf123b758d2d7634bbef7a28523b79f8cd41fb31bd79cf6dd237097 files/digest-noip-updater-2.1.4-r1 232
diff --git a/net-dns/noip-updater/files/digest-noip-updater-2.1.4-r1 b/net-dns/noip-updater/files/digest-noip-updater-2.1.4-r1
new file mode 100644
index 000000000000..927f3e502e3b
--- /dev/null
+++ b/net-dns/noip-updater/files/digest-noip-updater-2.1.4-r1
@@ -0,0 +1,3 @@
+MD5 d65e221016a61cd4e412242c34c71ff1 noip-2.1.4.tar.gz 102789
+RMD160 77960ab3e9b87eac843408831ae45e297e7effc8 noip-2.1.4.tar.gz 102789
+SHA256 8912301be611b842d0cf1a335275c367f3a80d507bc53c7460c68b52d71b1a7c noip-2.1.4.tar.gz 102789
diff --git a/net-dns/noip-updater/files/noip-2.1.4-daemon.patch b/net-dns/noip-updater/files/noip-2.1.4-daemon.patch
new file mode 100644
index 000000000000..73c26e4d1b93
--- /dev/null
+++ b/net-dns/noip-updater/files/noip-2.1.4-daemon.patch
@@ -0,0 +1,21 @@
+diff -ur a/noip2.c b/noip2.c
+--- a/noip2.c 2004-01-09 14:18:39.000000000 +0000
++++ b/noip2.c 2007-07-20 14:02:41.100377515 +0100
+@@ -894,16 +894,13 @@
+ int x, delay;
+ char *err_string;
+
+- x = fork();
++ x = daemon (0, 0);
+ switch (x) {
+ case -1: // error
+ err_string = strerror(errno);
+ Msg( "Can't fork!! (%s) Ending!\n", err_string);
+ return FATALERR;
+- default: // parent
+- exit(0);
+ case 0: //child
+- setsid();
+ if (get_shm_info() == FATALERR)
+ return FATALERR;
+ log2syslog++;
diff --git a/net-dns/noip-updater/noip-updater-2.1.4-r1.ebuild b/net-dns/noip-updater/noip-updater-2.1.4-r1.ebuild
new file mode 100644
index 000000000000..e4ef4a2e0428
--- /dev/null
+++ b/net-dns/noip-updater/noip-updater-2.1.4-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/noip-updater-2.1.4-r1.ebuild,v 1.1 2007/07/26 11:29:54 uberlord Exp $
+
+inherit eutils toolchain-funcs
+
+IUSE=""
+
+MY_P=${P/-updater/}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="no-ip.com dynamic DNS updater"
+HOMEPAGE="http://www.no-ip.com"
+SRC_URI="http://www.no-ip.com/client/linux/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="virtual/libc"
+
+DEPEND="${RDEPEND} sys-devel/gcc"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/noip-2.1.3-cflags.patch
+ epatch "${FILESDIR}"/noip-2.1.4-daemon.patch
+ sed -i \
+ -e "s:\(#define CONFIG_FILEPATH\).*:\1 \"/etc\":" \
+ -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \
+ noip2.c || die
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ PREFIX=/usr \
+ CONFDIR=/etc || die
+}
+
+src_install() {
+ into /usr
+ dosbin noip2
+ dodoc README.FIRST COPYING
+ newinitd "${FILESDIR}"/noip2.start noip
+}
+
+pkg_postinst() {
+ elog "Configuration can be done manually via:"
+ elog "/usr/sbin/noip2 -C or "
+ elog "first time you use the /etc/init.d/noip script; or"
+ elog "by using this ebuild's config option."
+}
+
+pkg_config() {
+ cd /tmp
+ einfo "Answer the following questions."
+ noip2 -C || die
+}