From owner-freebsd-ports@freebsd.org Wed Aug 31 15:30:09 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 2D349BCA8F3 for ; Wed, 31 Aug 2016 15:30:09 +0000 (UTC) (envelope-from sthalik@misaki.pl) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1C113BCE for ; Wed, 31 Aug 2016 15:30:09 +0000 (UTC) (envelope-from sthalik@misaki.pl) Received: by mailman.ysv.freebsd.org (Postfix) id 17C49BCA8F2; Wed, 31 Aug 2016 15:30:09 +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 17679BCA8F1 for ; Wed, 31 Aug 2016 15:30:09 +0000 (UTC) (envelope-from sthalik@misaki.pl) Received: from nilaya.lain.pl (nilaya.lain.pl [37.187.165.146]) by mx1.freebsd.org (Postfix) with ESMTP id D8EB6BCD for ; Wed, 31 Aug 2016 15:30:08 +0000 (UTC) (envelope-from sthalik@misaki.pl) Received: from [192.168.2.42] (c106-252.icpnet.pl [62.21.106.252]) by nilaya.lain.pl (Postfix) with ESMTPSA id 3078F40117; Wed, 31 Aug 2016 17:30:06 +0200 (CEST) Subject: Re: FreeBSD Port: noip-2.1.9_3 To: "ports@FreeBSD.org" References: <4bb353eb-67e0-cd72-9dba-83fdca2ae4d8@gmx.de> Cc: "James A. McGuire" , sthalik@tehran.lain.pl From: Stanislaw Halik Message-ID: Date: Wed, 31 Aug 2016 17:30:05 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <4bb353eb-67e0-cd72-9dba-83fdca2ae4d8@gmx.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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:30:09 -0000 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