Date: Sun, 16 Dec 2018 19:13:01 +0000 (UTC) From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487622 - in head/ports-mgmt/pkg_cutleaves: . files Message-ID: <201812161913.wBGJD1WU070373@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bofh Date: Sun Dec 16 19:13:00 2018 New Revision: 487622 URL: https://svnweb.freebsd.org/changeset/ports/487622 Log: ports-mgmt/pkg_cutleaves: Allow non-versioned git versioned ports to be allowed in the exclude list PR: 228226 Submitted by: dereks@lifeofadishwasher.com 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 Dec 16 18:59:06 2018 (r487621) +++ head/ports-mgmt/pkg_cutleaves/Makefile Sun Dec 16 19:13:00 2018 (r487622) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pkg_cutleaves -PORTVERSION= 20180108 +PORTVERSION= 20181216 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none @@ -12,12 +12,14 @@ COMMENT= Interactive script for deinstalling 'leaf' pa LICENSE= BSD2CLAUSE -NO_BUILD= yes USES= perl5 shebangfix + +NO_BUILD= yes SHEBANG_FILES= pkg_cutleaves NO_WRKSUBDIR= yes PLIST_FILES= sbin/pkg_cutleaves man/man1/pkg_cutleaves.1.gz +NO_ARCH= yes do-extract: ${MKDIR} ${WRKSRC} Modified: head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves ============================================================================== --- head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves Sun Dec 16 18:59:06 2018 (r487621) +++ head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves Sun Dec 16 19:13:00 2018 (r487622) @@ -358,7 +358,7 @@ 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 + /^(.+)-g?\d.*$/o ? print EXCLFILE $1, "\n" : warn 'Unable to extract exclude pattern from ', $_, "\n"; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812161913.wBGJD1WU070373>