From owner-svn-ports-head@freebsd.org Mon Dec 17 15:01:42 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13D3213425E0; Mon, 17 Dec 2018 15:01:42 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D1D6717AC; Mon, 17 Dec 2018 15:01:41 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by mail-io1-xd2d.google.com with SMTP id l3so10165455ioc.10; Mon, 17 Dec 2018 07:01:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ay3Smu3XAHFUDJOL/CJGxDQJtcRWAQNea59KbK3roVU=; b=TJRRmcj8l8o7EAOopa+GJby/zxpATxxoJHie2CT0Wn2l2v3FWf27/Z2Z4PPWk9iwV1 zOVSpXrd9tVIkCOMveCgZ2QInZ2c/rKnpFcmmhDiQMye+fHAIHmgiWwx6/1EKX3hNg1h KZ75Fc4OhTBi625nTk0DFG4c5T6j9xuah+Un3CE9rrz9CxRiiTNKEOLdl1T1gY4KM9ON v+RMTJa9UFY3t/g/KUDRX7vxC1PCIpDhZ9qCEWos17uuDSGmEfywuh0WuvCHQzzGAary TN3Z/zYYjA3vpyhq84tAIOz9Wle1P/i1Z+tyKpfWfRcjR82+8l6fR8aL+u0GMQUPCkLw T8VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ay3Smu3XAHFUDJOL/CJGxDQJtcRWAQNea59KbK3roVU=; b=jrCceo6Epxo/KjCD4K3/Bi/sP05IuWIKIBHEAGIjkHuxXyqrfSeTDcjDnp31r6+Rod ZNtewiMh8gVWbH/khAQNG/Ar4n5+JUJVhfwAXJNpfPyD9sAgoIhdEgXNUlXKeor8asVR n5UP4VoaNV4thz+Rz7VoK0lVLoFhhAOoVKkf6aFnpsXmyA8Um6qs4k0Nrt9y5j/xggvz Kgz5hnylumOqBT3PU5IQtPIH+1VSklwT4sSwO1sfqhdTEBD5/O4sdAXaeBuKS8dik11a sTIOQHHaXfzGquOmgexZorFdBErvl9TOrpXianUMaFBz7K7z5JirAXWFtq+08Wn/C0D7 reLw== X-Gm-Message-State: AA+aEWYpiMm0wh7GKQPmeH74ZeznUJXi4s7BHRyFvEgOJP6q/XRKheAn XH6EIubFL7NmzJzWsjAOqwl7nkGthLL6ocvat4Y7mg== X-Google-Smtp-Source: AFSGD/XC73g3FMVY4oz58CtgilUXDHcsfUs95zz5AgX53S7enJsL/9BTXTwvKaVe1OKk5SaId3w7EAP11LOk8qyC2WM= X-Received: by 2002:a5e:940c:: with SMTP id q12mr7505516ioj.228.1545058900686; Mon, 17 Dec 2018 07:01:40 -0800 (PST) MIME-Version: 1.0 References: <201812171454.wBHEsubK012071@repo.freebsd.org> In-Reply-To: <201812171454.wBHEsubK012071@repo.freebsd.org> From: =?UTF-8?Q?Ren=C3=A9_Ladan?= Date: Mon, 17 Dec 2018 16:01:30 +0100 Message-ID: Subject: Re: svn commit: r487690 - head/Tools/scripts To: Chris Rees Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-Rspamd-Queue-Id: 9D1D6717AC X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2018 15:01:42 -0000 Support for flavored expiration dates was withdrawn in r487602. This script would also need to know how to handle flavored deprecation messages. Ren=C3=A9 Op ma 17 dec. 2018 15:55 schreef Chris Rees Author: crees > Date: Mon Dec 17 14:54:56 2018 > New Revision: 487690 > URL: https://svnweb.freebsd.org/changeset/ports/487690 > > Log: > Support flavor_EXPIRATION_DATE > > Correctly ignore commented dates (why would that exist?) > > Handle more neatly when EXPIRATION_DATE is not in the main Makefile > > Modified: > head/Tools/scripts/rmport > > Modified: head/Tools/scripts/rmport > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/Tools/scripts/rmport Mon Dec 17 14:40:09 2018 (r487689) > +++ head/Tools/scripts/rmport Mon Dec 17 14:54:56 2018 (r487690) > @@ -121,8 +121,9 @@ find_expired() > EXPVAR=3DEXPIRATION_DATE > > find -H ${PORTSDIR} -mindepth 3 -maxdepth 3 -name "Makefile*" \ > - |xargs grep -H "^[^#]*${EXPVAR}" \ > - |sed -E > "s|${PORTSDIR}/?([^/]+/[^/]+)/Makefile:${EXPVAR}=3D[[:space:]]*([0-9-]{10= })$|\2 > \1|g" \ > + |xargs grep -H "^[0-9a-zA-Z_]*${EXPVAR}" \ > + |grep -v '^#' \ > + |sed -E > "s|${PORTSDIR}/?([^/]+/[^/]+)/Makefile[^:]*:${EXPVAR}=3D[[:space:]]*([0-9= -]{10})$|\2 > \1|g" \ > |perl -ne "if ((substr(\$_, 0, 10) cmp '${TODAY}') <=3D 0= ) { > print(\$_); }" \ > |while read expdate catport ; do \ > echo -n "${expdate} ${catport}: " ; \ > >