Date: Thu, 1 Sep 2016 09:10:48 +0800 (CST) From: zhangfeng <torkdrive003@126.com> To: ports@freebsd.org Subject: a new type of reducer Message-ID: <53eff72b.136c.156e34c5f36.Coremail.torkdrive003@126.com>
next in thread | raw e-mail | index | archive | help
SGVsbG8sIG1hbmFnZXI6CldlIGhhdmUgcmVjZW50bHkgZGV2ZWxvcGVkIGEgbmV3IHR5cGUgb2Yg cmVkdWNlci4KSWYgeW91IGFyZSBpbnRlcmVzdGVkLCBwbGVhc2Ugc2VuZCBtZSBhIG1haWwuCnpm QHRvcmtkcml2ZS5jb20KemhhbmcgZmVuZwpTaW5jZXJlbHkKCgoKCiA= From owner-freebsd-ports@freebsd.org Thu Sep 1 07:20:37 2016 Return-Path: <owner-freebsd-ports@freebsd.org> 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 BDC85BCB36F for <freebsd-ports@mailman.ysv.freebsd.org>; Thu, 1 Sep 2016 07:20:37 +0000 (UTC) (envelope-from j.a.mcguire@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9BACFE5A for <freebsd-ports@freebsd.org>; Thu, 1 Sep 2016 07:20:37 +0000 (UTC) (envelope-from j.a.mcguire@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9B0B7BCB36E; Thu, 1 Sep 2016 07:20:37 +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 9AB5ABCB36D for <ports@mailman.ysv.freebsd.org>; Thu, 1 Sep 2016 07:20:37 +0000 (UTC) (envelope-from j.a.mcguire@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1ED5FE57 for <ports@freebsd.org>; Thu, 1 Sep 2016 07:20:37 +0000 (UTC) (envelope-from j.a.mcguire@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id e198so20060047lfb.2 for <ports@freebsd.org>; Thu, 01 Sep 2016 00:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pTe4w6aRbOAUukPAi31NLoeXh/X4QJeMvoJWmaCXUK4=; b=geBtNFo6kFXuvb8Iovtb2tD1Z0X/gLooAwDzR+BAraUKKkxAW49qGb0Nj6dVt5ZhT9 enCpn9hVSEeu/5dYr3sNEB8654szlK/9DoIPhC3exg0wW3qhpxImzxZ00Y32F0i2/LPK 9MihiASR7Ya9buLyM+lT4Ga40Ql+RbEwgPHzeFY8p6QA2hS2JMGxMnjL5h8jvIJvv/ZM J7MPMkejGG/09BwIK+QanOvE0WurMQRJr6uS0G3nmY88UjEErwRiZyWsymvlhNlS/12/ FcyJYu2R+UKFued78sUu3tOCgoy1MBDSJNHmAGckoqRBSI3SfniW1xYpZ8jVWtBVJoHV 6LQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pTe4w6aRbOAUukPAi31NLoeXh/X4QJeMvoJWmaCXUK4=; b=HVrB1RCOKy+QUni5cuBKB0UYbt1RzqsS8+WAFneaEyC56uLo1Q7PlztVl2qUyjpuz/ +9P+GZk2+i+D2Gd6ovF5QeV/F0fiPCESrFAMTgUnaruKIPeDrIoR5U71UWxpEIv/8w/a qRkOs5+4il4mYPgeKWgp5YrAIhWivN7TioVqjpQr5Rg0Dx/UW8YD/F6nbuA2QlKRLqnt Nswgz5uuRHO0FCf1F7M1nKTYftFQ+JXeenhySdb+pOxQEamqBaKJzN0eutqMHKQotfMR NhLt6BeCln2plAI2s/U2dgifTL8VCUwFC/RCoXCU6AUYTMATKo/KawFpj8IqIOEFHKdZ iqag== X-Gm-Message-State: AE9vXwNHZDqwSlDJz1vtWztDfyztec4EdO4u4CiM2pm/SrD6nlUBZ13CpSZCM3DQOa2nFtHKzyz/laBCSv+hQQ== X-Received: by 10.25.133.212 with SMTP id h203mr4771446lfd.28.1472714434948; Thu, 01 Sep 2016 00:20:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.21.76 with HTTP; Thu, 1 Sep 2016 00:20:34 -0700 (PDT) In-Reply-To: <990cd69e-dc34-8a00-b4eb-d07fcebbff95@gmx.de> References: <CADPthFdUyAGUMpPpAJ16g8W_mR_RkYsWF4BezjkWC2k5aW0j1g@mail.gmail.com> <4bb353eb-67e0-cd72-9dba-83fdca2ae4d8@gmx.de> <b70d6184-5ffe-76b7-8327-c1b57ea03d58@misaki.pl> <990cd69e-dc34-8a00-b4eb-d07fcebbff95@gmx.de> From: "James A. McGuire" <j.a.mcguire@gmail.com> Date: Thu, 1 Sep 2016 08:20:34 +0100 Message-ID: <CADPthFeHv21NpSXtMnUVhcjaTLcCQFc9wKv64Eoqy48sameaeA@mail.gmail.com> Subject: Re: FreeBSD Port: noip-2.1.9_3 To: "ports@FreeBSD.org" <ports@freebsd.org> Cc: Stanislaw Halik <sthalik@tehran.lain.pl> Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 01 Sep 2016 07:20:37 -0000 Ok will do. Many thanks for the support. James On Wed, Aug 31, 2016 at 4:38 PM, olli hauer <ohauer@gmx.de> wrote: > 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53eff72b.136c.156e34c5f36.Coremail.torkdrive003>