FreeBSD Port: noip-2.1.9_3

olli hauer ohauer at gmx.de
Wed Aug 31 15:38:52 UTC 2016


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


More information about the freebsd-ports mailing list