FreeBSD Port: noip-2.1.9_3

Stanislaw Halik sthalik at tehran.lain.pl
Wed Aug 31 15:30:09 UTC 2016


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



More information about the freebsd-ports mailing list