From owner-freebsd-ports@freebsd.org Wed Aug 31 15:21:45 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0622CBCA64F for ; Wed, 31 Aug 2016 15:21:45 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id DEC6AE9D for ; Wed, 31 Aug 2016 15:21:44 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: by mailman.ysv.freebsd.org (Postfix) id DE1BDBCA64E; Wed, 31 Aug 2016 15:21:44 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDC8EBCA64D for ; Wed, 31 Aug 2016 15:21:44 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F8ABE9C for ; Wed, 31 Aug 2016 15:21:43 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from [192.168.100.100] ([87.139.233.65]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MAQXq-1bpXTC3ZFK-00Be8X; Wed, 31 Aug 2016 17:21:40 +0200 Subject: Re: FreeBSD Port: noip-2.1.9_3 To: ports@freebsd.org References: Cc: "James A. McGuire" , sthalik@tehran.lain.pl Reply-To: "ports@FreeBSD.org" From: olli hauer Message-ID: <4bb353eb-67e0-cd72-9dba-83fdca2ae4d8@gmx.de> Date: Wed, 31 Aug 2016 17:21:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:9rCILp+5aLRvznw80Ijwywu00SeLlfC1BlLNUta7DvZT7qhbDzI kCbrsnz03JVGRKh51aGBIEqo0dKt+K0BLboQxWFhGwGMOwEJlml2zZW0LFh5JZkorkdfuHU Tp/W29bLCg3IKzQ72BT9gZZYw1ih6QlUJtgNx6P/Irr3lHn9EBhR1BMYe9ehegKo3SbncCZ 0Hz1bR25jIWkKOwZ4CVcw== X-UI-Out-Filterresults: notjunk:1;V01:K0:KCYoEZ24qH0=:5WijU30y58a6Jn1K3FQP5d m11avwaDsXw8RHxh5qPQgSrC4qHHNGgCRanfqH5X6LdSaRPene2nqUA9/mZJiQic7beoqNX4R eHVQ9+pJi/jpUEe2eGHAjgjO4Yd7y+Uuw9TxGDr+zyLcRdLB1SZOfDkLJ9LZTgD9NIjh0LcIi zt8BB9LUiCPPHJ0djnUrUXWOyC6gUJfYbwPDDDZafUzTdHnAuumA/GKvj66yo26Lk3T550U4H it/twCmq0U7oq2hf6Fgqty2bv7Y+DflLMkFG+0jwHZzOIfWs4G/Mt1/AWYx46TV7zG8O52Fp3 wVuMaZArAYEb5v4bZM8je5r/CvNv3RFiaLj7IJa9Ndhq80VI6fvMAKCgzwiiMTcdDOhvclHEB AeXUsEc0dJVX09v4Atka+AMBdNq/zc20xASzT0w0G19wDEnfgQMvZOqiSr96P2owebbwVlzFk 7YOmG3RrPMu7h3ZxIvvoI1PG7MLgLjY9sEBI3sghTqzRwA/Exdc3JNmnOiUp6U97T/nR5cpL9 5ETvL6+Bo0t6p0NWEsszeEtNzGAvjtUK6uuqrGqR09wkATp8xx6zYyW3SvZImTnk0YAthlfPI c2+TxIOXE5HauQ/UiFoTEcq2G5NvTWrimTth3aaBPIbSG8sCT5v364uU6XzUceyrYxLlU1qVb cJVRM9UOIyBwKFMEaw3m38zY8M14MZ6TQmqdudgdRJyYrYYamwcActO3yLGFE0wyf5o1ySbec N2W8+sgw004EtlWney8UlCHuid61tCSbf72Z1BMneIwx9TN8KG9JoPNB5j1cGunsdwNQdBpOQ vTlGY7Z X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2016 15:21:45 -0000 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}