Update to 0.35.1

FIXED: bug in pkg_src_summary caused by incorrect PKGNAME version
   stripping. (pkg_src_summary -A multimedia/gnash didn't generate
   summary for multimedia/gst-plugins0.10-ffmpeg and
   audio/gst-plugins0.10-fluendo-mp3)
This commit is contained in:
Aleksey Cheusov 2010-01-08 00:03:50 +00:00 committed by Thomas Klausner
parent bb9414beba
commit 936b3f2020
6 changed files with 19 additions and 7 deletions

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.16 2009/11/11 21:46:31 cheusov Exp $
@comment $NetBSD: PLIST,v 1.17 2010/01/08 00:03:50 cheusov Exp $
bin/cvs_checksum
bin/pkg_assignments2pkgpath
bin/pkg_cleanup_distdir
@ -36,3 +36,4 @@ share/doc/pkg_summary-utils/README
share/doc/pkg_summary-utils/TODO
share/psu_mk/pkg_src_summary.mk
share/runawk/pkg_grep_summary.awk
share/runawk/psu_funcs.awk

View file

@ -41,10 +41,12 @@ MAN+= pkg_uniq_summary.1 # pkg_summary2bb_pkgs.1
MAN+= pkg_cleanup_distdir.1 pkg_summary2build_graph.1
MAN+= pkg_summary2deps.1
FILES= README NEWS TODO pkg_grep_summary.awk pkg_src_summary.mk
FILES= README NEWS TODO
FILES+= pkg_grep_summary.awk pkg_src_summary.mk psu_funcs.awk
FILESDIR= ${DOCDIR}
FILESDIR_pkg_grep_summary.awk= ${AWKMODDIR}
FILESDIR_psu_funcs.awk= ${AWKMODDIR}
FILESDIR_pkg_src_summary.mk= ${MKSCRIPTSDIR}
BIRTHDATE= 2008-04-06

View file

@ -1,3 +1,11 @@
----------------------------------------------------------------------
Version 0.35.1, by Aleksey Cheusov, Thu, 7 Jan 2010 13:26:33 +0200
- FIXED: bug in pkg_src_summary caused by incorrect PKGNAME version
stripping. (pkg_src_summary -A multimedia/gnash didn't generate
summary for multimedia/gst-plugins0.10-ffmpeg and
audio/gst-plugins0.10-fluendo-mp3)
----------------------------------------------------------------------
Version 0.35.0, by Aleksey Cheusov, Wed, 11 Nov 2009 22:56:25 +0200

View file

@ -542,6 +542,7 @@ filter_needed_deps (){
#use "xgetline.awk"
#use "pkg_grep_summary.awk"
#use "braceexpand.awk"
#use "psu_funcs.awk"
BEGIN {
oldFS = FS
@ -555,8 +556,7 @@ BEGIN {
sub(/ .*$/, "", $i)
}
gsub(/:[.][.]\/[.][.]\//, " ")
sub(/-\[[^\[\]]*\].$|(>|>=|<|<=|=|-)[^><=-]*$/, "", $i)
needed [$i, $(i+1)] = 1
needed [pkgname2pkgbase($i), $(i+1)] = 1
}
}
}

View file

@ -28,6 +28,7 @@
#use "power_getopt.awk"
#use "alt_assert.awk"
#use "braceexpand.awk"
#use "psu_funcs.awk"
############################################################
#.begin-str help
@ -116,7 +117,7 @@ function process_deps (){
sub(/ .*$/, "", depname)
sub(/:.*$/, "", depname)
idx = match(depname, /-\[[^\[\]]*\].$|(>|>=|<|<=|=|-)[^><=-]*$/)
idx = pkgver_position(depname)
depbase = substr(depname, 1, idx-1)
if (!keep_depver){
@ -144,7 +145,7 @@ function process_deps (){
depbase = depname
if (!keep_depver)
sub(/-\[[^\[\]]*\].$|(>|>=|<|<=|=|-)[^><=-]*$/, "", depbase)
depbase = pkgname2pkgbase(depbase)
if (!out_pkgname)
full_deps [deppath " " pkgpath] = 1

View file

@ -1 +1 @@
VERSION= 0.35.0
VERSION= 0.35.1