Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 08/12/2007 16:47:19
Module Name:	pkgsrc
Committed By:	joerg
Date:		Sun Aug 12 16:47:19 UTC 2007

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/admin: main.c
	pkgsrc/pkgtools/pkg_install/files/lib: file.c ftpio.c iterate.c lib.h
	    opattern.c str.c version.h

Log Message:
- Introduce find_best_matching_file and match_local_files. This replace
  the functionality offered by findmatchingname and findbestmatching
  name. They optionally strip the suffix from the filename before
  matching it, instead of modifying the pattern directly.
  Drop the old functions.
- Fix a bug in pkg_order where the version strings where inverted
- Make pkg_admin lsbest and lsall use the new functions.
- Make ftpio use pkg_order directly.

Bump version to 20070812.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 pkgsrc/pkgtools/pkg_install/files/admin/main.c
cvs rdiff -r1.19 -r1.20 pkgsrc/pkgtools/pkg_install/files/lib/file.c
cvs rdiff -r1.23 -r1.24 pkgsrc/pkgtools/pkg_install/files/lib/ftpio.c
cvs rdiff -r1.1 -r1.2 pkgsrc/pkgtools/pkg_install/files/lib/iterate.c
cvs rdiff -r1.32 -r1.33 pkgsrc/pkgtools/pkg_install/files/lib/lib.h
cvs rdiff -r1.2 -r1.3 pkgsrc/pkgtools/pkg_install/files/lib/opattern.c
cvs rdiff -r1.20 -r1.21 pkgsrc/pkgtools/pkg_install/files/lib/str.c
cvs rdiff -r1.75 -r1.76 pkgsrc/pkgtools/pkg_install/files/lib/version.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.