From owner-freebsd-ports@freebsd.org Wed Aug 31 15:38:51 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 E2470BCABC0 for ; Wed, 31 Aug 2016 15:38:51 +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 C5788967 for ; Wed, 31 Aug 2016 15:38:51 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: by mailman.ysv.freebsd.org (Postfix) id C11D1BCABBF; Wed, 31 Aug 2016 15:38:51 +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 C0BCDBCABBE for ; Wed, 31 Aug 2016 15:38:51 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (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 22270966 for ; Wed, 31 Aug 2016 15:38:50 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from [192.168.100.100] ([87.139.233.65]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LsTjw-1az4m22lgG-011zef; Wed, 31 Aug 2016 17:38:42 +0200 Subject: Re: FreeBSD Port: noip-2.1.9_3 To: "ports@FreeBSD.org" References: <4bb353eb-67e0-cd72-9dba-83fdca2ae4d8@gmx.de> Cc: Stanislaw Halik , "James A. McGuire" Reply-To: "ports@FreeBSD.org" From: olli hauer Message-ID: <990cd69e-dc34-8a00-b4eb-d07fcebbff95@gmx.de> Date: Wed, 31 Aug 2016 17:38:42 +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: 8bit X-Provags-ID: V03:K0:dNi9kAq8ij9P9ixgABOCMfD1R00KeoN1nuPiWuhIMZWMxSLPo85 25YwMEQVv62Z4laBAZVlM79u1XnAOJTZ48n1mBuYPoKT1oXTZ6v1oZf19wP3OCd4MPohqbd k1Cs3/p0xEkbj9CN84nZXtpQyLiAGgsrHUGS66mHBDioddGPiYMgr19EkDLGUuDToS8jIoa 1c8i5rQX01zEVSVADTMpg== X-UI-Out-Filterresults: notjunk:1;V01:K0:8NWbSuWNVgc=:RC2Y1I3OMyFMG6G8ci/BvV rgq/JvvMjlfgRUjm6GeUZqs+MqWLtFDT5kYieNZkEW/fzJCOK/vyMV8upKNN+eBrVv/1mez/h eR2GJl8yqV92nXNDfgU4omNDbJKDXvDimxpDCwFs7X+tEZkGdSVHtdf+UlT/FhnEEb+5dxjvU kBe/wr85QPfEznm5+jrLbe72xSVtgIliSPA6E2sd43WciWc6GvJPkCT2htwPD0WKqNayk4a5q 3gQgLghe2XM6vEhob6R8kR0NfAmBAv+ZMXtE/LS535Won/LeDo3MyPc6PV530N5WFEkCtG+Tq yyq6dYcRgtdzdCt/+VOzM/KzDqNH5TV/+6ecyT8u7RPbIqtqv1/UXWUWiUkbxPMMezZCm0MvP QWHrvJEZIl5AQMZIhrj0bS04rdDX7SsYOlOQZl8QojEmkgIydT0EW3YqBvGAbYqMGvKH/lcCA /grrLc/PSa2TPjUITJ3yG1GMe0ieLIENP4jrUy7+3jiUaLsGtMF7m0PVSvg3lX9sSktxOPvz9 x79UBBc+vc7vbafrd/1h3nGrHte9B+7d606nbDU9whrGoiaEtA3Kfd5dXqswCMTlfKKB9A2SC NgXQhxSbMDeCPsKyYUuTAKr4aPLi9Sl73ZMYNfewj3c85c8Vv7+94/6oyShS5O47Kfdb35DXf Bu66cuanA54Adhf728CW5M2sF3IdwIPOz33uPhzRFKKxvpLtqKb6FEzomV27JU6cPvrhXf2r4 hZsqXT22Q0l1TmE/2vBFlPgqjnzPxuskOVWdB+SCzGsRkxBpCGgXjLGjFz1Romyvexa7SChOX bJRY7Hw 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:38:52 -0000 On 2016-08-31 17:30, Stanislaw Halik wrote: > On 2016-08-31 Wed 17:21, olli hauer wrote: >> 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} > > Hey, > > Please send this as a PR. > > I'd personally choose a value of 7 days but this is okay. > > sh I don't use the tool myself (having a static assigned network) and I'm even not sure if it will work. So I suggest James can test it (suspecting there is a ways to see the last update time on the noip portal) and if it works for him he can submit the patch as PR -- olli