From owner-svn-ports-all@freebsd.org Sun Jan 7 20:02:13 2018 Return-Path: Delivered-To: svn-ports-all@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 98A1FE59179; Sun, 7 Jan 2018 20:02:13 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73F4476211; Sun, 7 Jan 2018 20:02:13 +0000 (UTC) (envelope-from bofh@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B5ED725C41; Sun, 7 Jan 2018 20:02:12 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w07K2CqM035929; Sun, 7 Jan 2018 20:02:12 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w07K2CcJ035927; Sun, 7 Jan 2018 20:02:12 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201801072002.w07K2CcJ035927@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Sun, 7 Jan 2018 20:02:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458380 - in head/ports-mgmt/pkg_cutleaves: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bofh X-SVN-Commit-Paths: in head/ports-mgmt/pkg_cutleaves: . files X-SVN-Commit-Revision: 458380 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 20:02:13 -0000 Author: bofh Date: Sun Jan 7 20:02:12 2018 New Revision: 458380 URL: https://svnweb.freebsd.org/changeset/ports/458380 Log: ports-mgmt/pkg_cutleaves: Fix creating exclude list for packages with single digit version PR: 224899 Submitted by: m.ne@gmx.net Modified: head/ports-mgmt/pkg_cutleaves/Makefile head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves Modified: head/ports-mgmt/pkg_cutleaves/Makefile ============================================================================== --- head/ports-mgmt/pkg_cutleaves/Makefile Sun Jan 7 19:51:40 2018 (r458379) +++ head/ports-mgmt/pkg_cutleaves/Makefile Sun Jan 7 20:02:12 2018 (r458380) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pkg_cutleaves -PORTVERSION= 20090810 +PORTVERSION= 20180108 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none Modified: head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves ============================================================================== --- head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves Sun Jan 7 19:51:40 2018 (r458379) +++ head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves Sun Jan 7 20:02:12 2018 (r458380) @@ -358,10 +358,9 @@ sub create_excludelist { or die "Failed to open exclude list ($excludefile): $!\n"; print EXCLFILE '# Auto-generated exclude list ', scalar localtime, "\n"; for (sort keys %leavestokeep) { - /^(.+)-\d.+$/o + /^(.+)-\d.*$/o ? print EXCLFILE $1, "\n" : warn 'Unable to extract exclude pattern from ', $_, "\n"; } print "New exclude list ($excludefile) generated.\n"; } -