From owner-svn-ports-head@freebsd.org Sun Apr 30 17:45:32 2017 Return-Path: Delivered-To: svn-ports-head@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 CF397D57C6D; Sun, 30 Apr 2017 17:45:32 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F8BEA0; Sun, 30 Apr 2017 17:45:32 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3UHjV7g084836; Sun, 30 Apr 2017 17:45:31 GMT (envelope-from ler@FreeBSD.org) Received: (from ler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3UHjVwe084835; Sun, 30 Apr 2017 17:45:31 GMT (envelope-from ler@FreeBSD.org) Message-Id: <201704301745.v3UHjVwe084835@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ler set sender to ler@FreeBSD.org using -f From: Larry Rosenman Date: Sun, 30 Apr 2017 17:45:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439833 - head/Tools/scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 30 Apr 2017 17:45:32 -0000 Author: ler Date: Sun Apr 30 17:45:31 2017 New Revision: 439833 URL: https://svnweb.freebsd.org/changeset/ports/439833 Log: Update Tools/scripts/rmport to ignore commented out EXPIRATION_DATE lines Reviewed by: crees (maintainer) Approved by: rene (portmgr, mentor), adamw (portmgr, mentor), crees (maintainer) Differential Revision: https://reviews.freebsd.org/D10548 Modified: head/Tools/scripts/rmport Modified: head/Tools/scripts/rmport ============================================================================== --- head/Tools/scripts/rmport Sun Apr 30 17:11:56 2017 (r439832) +++ head/Tools/scripts/rmport Sun Apr 30 17:45:31 2017 (r439833) @@ -109,7 +109,7 @@ find_expired() EXPVAR=EXPIRATION_DATE find -H ${PORTSDIR} -mindepth 3 -maxdepth 3 -name "Makefile*" \ - |xargs grep -H ${EXPVAR} \ + |xargs grep -H "^[^#]*${EXPVAR}" \ |sed -E "s|${PORTSDIR}/?([^/]+/[^/]+)/Makefile:${EXPVAR}=[[:space:]]*([0-9-]{10})$|\2 \1|g" \ |perl -ne "if ((substr(\$_, 0, 10) cmp '${TODAY}') <= 0) { print(\$_); }" \ |while read expdate catport ; do \