Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 07/20/2007 22:22:53
Module Name:	pkgsrc
Committed By:	joerg
Date:		Fri Jul 20 22:22:53 UTC 2007

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/add: perform.c
	pkgsrc/pkgtools/pkg_install/files/admin: main.c
	pkgsrc/pkgtools/pkg_install/files/audit-packages: audit-packages.c
	pkgsrc/pkgtools/pkg_install/files/delete: perform.c
	pkgsrc/pkgtools/pkg_install/files/info: perform.c
	pkgsrc/pkgtools/pkg_install/files/lib: Makefile.in dewey.c ftpio.c
	    lib.h str.c version.h
Added Files:
	pkgsrc/pkgtools/pkg_install/files/lib: opattern.c

Log Message:
Split pattern related functions from lib/str.c off into lib/opattern.c.
Rename pmatch to pkg_match and add new function pkg_order that
implements the order logic used by pkg_add internally.

Change the interface of findmatchingname's callback to take the pattern
used for the matching as first argument. The new pkg_order function
takes it and it doesn't hurt in other cases. Adjust callers and
corresponding callbacks accordingly.

Remove an unused matchfn typedef in dewey.c.

Bump to 20070720. OK jlam@


To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 pkgsrc/pkgtools/pkg_install/files/add/perform.c
cvs rdiff -r1.20 -r1.21 pkgsrc/pkgtools/pkg_install/files/admin/main.c
cvs rdiff -r1.1 -r1.2 \
    pkgsrc/pkgtools/pkg_install/files/audit-packages/audit-packages.c
cvs rdiff -r1.16 -r1.17 pkgsrc/pkgtools/pkg_install/files/delete/perform.c
cvs rdiff -r1.30 -r1.31 pkgsrc/pkgtools/pkg_install/files/info/perform.c
cvs rdiff -r1.14 -r1.15 pkgsrc/pkgtools/pkg_install/files/lib/Makefile.in
cvs rdiff -r1.5 -r1.6 pkgsrc/pkgtools/pkg_install/files/lib/dewey.c
cvs rdiff -r1.22 -r1.23 pkgsrc/pkgtools/pkg_install/files/lib/ftpio.c
cvs rdiff -r1.25 -r1.26 pkgsrc/pkgtools/pkg_install/files/lib/lib.h
cvs rdiff -r0 -r1.1 pkgsrc/pkgtools/pkg_install/files/lib/opattern.c
cvs rdiff -r1.18 -r1.19 pkgsrc/pkgtools/pkg_install/files/lib/str.c
cvs rdiff -r1.67 -r1.68 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.