Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145635 - net-dns/noip-updater-2.1.3: version bump
Summary: net-dns/noip-updater-2.1.3: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Black (RETIRED)
URL: http://www.no-ip.com/downloads.php?pa...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-08-30 12:00 UTC by Martin von Gagern
Modified: 2007-04-21 16:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
noip-updater-2.1.3.ebuild (noip-updater-2.1.3.ebuild,1.30 KB, text/plain)
2006-09-07 01:01 UTC, Martin von Gagern
Details
noip-2.1.3-cflags.patch (noip-2.1.3-cflags.patch,416 bytes, patch)
2006-09-07 01:03 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2006-08-30 12:00:07 UTC
I guess the noip updater could do with a version bump to the latest 2.1.3.

Reason I looked at this is that now for the second time my noip address was set to 0.0.0.0 despite the fact that my computer is happily running.

# noip2 -S       
1 noip2 process active.

Process 9299, started as noip2 -c /etc/no-ip2.conf
Using configuration from /etc/no-ip2.conf
Last IP Address set 82.135.66.xx
Account xxxxxx.xxxxxxx@xxx.xxx
configured for:
        host  xxxxxx.sytes.net
Address check every 5 minutes, directly connected via /dev/ppp0.

Except for the "/dev/" this looks all right for me, and usually it does work.
The No-IP.com web interface states "2006-08-29 00:58:21" as the time of the last change. If this is PDT as the rest of the site, then this might be the time of my last reboot immediately after writing bug 130766 comment 32. Restarting the service got me a correct registration, so it is a once in a time bug.

Might be, that the No-IP machines somehow mixed the two requests, one so shortly after the other. But before filing a bug report there I'd like to make sure that I'm using the latest version of the updater. Thus my version bump request.
Comment 1 Aggelos Orfanakos (RETIRED) gentoo-dev 2006-08-31 12:08:19 UTC
I recently had the same strange behavior. It now seems to work fine.
Comment 2 Martin von Gagern 2006-09-07 01:01:27 UTC
Created attachment 96262 [details]
noip-updater-2.1.3.ebuild

--- /usr/portage/net-dns/noip-updater/noip-updater-2.1.1-r1.ebuild      2006-05-23 22:06:05.000000000 +0200
+++ /usr/local/portage/net-dns/noip-updater/noip-updater-2.1.3.ebuild   2006-09-07 09:57:18.000000000 +0200
@@ -11,11 +11,10 @@
 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"
-PATCHES="${FILESDIR}/${MY_P}.patch"
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="alpha ~amd64 ~hppa ia64 ~mips ~ppc ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 
 RDEPEND="virtual/libc"
 
@@ -24,11 +23,11 @@
 src_unpack() {
        unpack ${A}
        cd ${S}
-
+       epatch ${FILESDIR}/noip-2.1.3-cflags.patch || die
        sed -i \
                -e "s:\(#define CONFIG_FILEPATH\).*:\1 \"/etc\":" \
                -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \
-               noip2.c
+               noip2.c || die
 }
 
 src_compile() {
@@ -47,15 +46,10 @@
 }
 
 pkg_postinst() {
-
        einfo "Configuration can be done manually via:"
        einfo "/usr/sbin/noip2 -C or "
        einfo "first time you use the /etc/init.d/noip script; or"
        einfo "by using this ebuild's config option."
-       einfo
-       einfo "You must update the /etc/init.d/noip script, the "
-       einfo "binary name and the command line options have "
-       einfo "changed."
 }
 
 pkg_config() {
Comment 3 Martin von Gagern 2006-09-07 01:03:31 UTC
Created attachment 96263 [details, diff]
noip-2.1.3-cflags.patch

Make noip-updater Makefile honor CFLAGS setting from environment.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2006-10-28 19:20:58 UTC
added - thanks Martin