Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2016 17:21:40 +0200
From:      olli hauer <ohauer@gmx.de>
To:        ports@freebsd.org
Cc:        "James A. McGuire" <j.a.mcguire@gmail.com>, sthalik@tehran.lain.pl
Subject:   Re: FreeBSD Port: noip-2.1.9_3
Message-ID:  <4bb353eb-67e0-cd72-9dba-83fdca2ae4d8@gmx.de>
In-Reply-To: <CADPthFdUyAGUMpPpAJ16g8W_mR_RkYsWF4BezjkWC2k5aW0j1g@mail.gmail.com>
References:  <CADPthFdUyAGUMpPpAJ16g8W_mR_RkYsWF4BezjkWC2k5aW0j1g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-08-31 13:17, James A. McGuire wrote:
> Hi there,
> 
> Since no-ip introduced their policy to remove non-updated subdomains every
> 30 days.  I have to manually go to the no-ip website and confirm that I
> wish to keep my subdomain.  I believe the reason for this is that my ISP is
> only updating my dynamic IP address every 60-90 days, and I believe that
> the no-ip client is therefore not sending updates to no-ip.
> 
> Is this the case and if so, can this behaviour be modified so that the
> client will issue an update to the no-ip servers within 30 days even if the
> IP has not changed?
> 
> Many thanks,
> 
> James

I think this will work for you.

The update interval can be adjusted (default is 30 days).
In the patch example I've chosen half of the interval, so there is time left in case you are offline for an unforeseen reason

Index: Makefile
===================================================================
--- Makefile    (revision 421168)
+++ Makefile    (working copy)
@@ -25,6 +25,12 @@

 OPTIONS_DEFINE=        DOCS

+FORCE_INTERVAL=        14      # days until IP update is forced
+
+post-patch:
+       ${REINPLACE_CMD} -e '/define FORCE_INTERVAL/s/30/${FORCE_INTERVAL}/g' \
+               ${WRKSRC}/noip2.c
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${STAGEDIR}${PREFIX}/bin
        ${MKDIR} ${STAGEDIR}${DOCSDIR}




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4bb353eb-67e0-cd72-9dba-83fdca2ae4d8>