The NetBSD Project

CVS log for pkgsrc/pkglocate

[BACK] Up to [] / pkgsrc

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 11 19:56:34 2010 UTC (5 years ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, HEAD
Changes since 1.9: +12 -1 lines
Diff to previous 1.9 (colored)

Fix PR 39648:

	pkglocate --help enters a loop of `grep --help`

by checking the argument before passing it to grep.  Please note that
"grep -e" can't be used because of Solaris options, although I hope to
address that in the next commit.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 4 16:12:10 2004 UTC (11 years, 4 months ago) by jschauma
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Not all OS have grep(1) in /usr/bin/grep, some have it in /sbin/grep, some
in /bin/grep, others in /usr/xpg4/bin/grep.  Since we don't have access
to pkgsrc's variables, rely on grep(1) being in the PATH.

Noted by Roland Illig on tech-pkg.

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 31 14:20:46 2003 UTC (12 years, 5 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Use "printf" instead of "echo -n" because it's more portable.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 7 22:11:13 2001 UTC (14 years ago) by agc
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6-1-base, netbsd-1-6-1, netbsd-1-6, netbsd-1-5-PATCH003, buildlink2-base, buildlink2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Apply mods from PR 14495, from Ryo HAYASAKA (, so that
pkglocate now works with description and PLIST files in the package's
main directory.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 3 09:28:32 2001 UTC (14 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.5: +14 -6 lines
Diff to previous 1.5 (colored)

Update the usage message to explain what each option letter does.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 8 11:46:52 2001 UTC (14 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

put /usr/sbin into PATH in case user doesn't
otherwise, pkg_info is not found

Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 16 14:00:00 2001 UTC (14 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Adapt to the new COMMENT style, which will mean that <category>/pkg
directories are empty, and may get pruned by "cvs [checkout|update]
-P" - check for a category Makefile to work out whether a directory
houses a category, or is some other part of the infrastructure.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 13 08:18:44 2001 UTC (14 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.2: +12 -5 lines
Diff to previous 1.2 (colored)

Modify pkglocate to only use agrep if the glimpse package is
installed.  Otherwise fall back to grep(1), in which case approximate
matching (-p) won't work.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 11 16:59:17 2000 UTC (15 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

fix to really exit if glimpse is not installed

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 21 12:38:54 2000 UTC (15 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH002

Add a small shell script to locate words in either the PLIST files or
the package description files, using approximate matching.

# Locate words in description, or files in the PLISTs
# [-i] == ignore case when searching
# [-f] == look for a file, rather than a word or phrase
# [-p] == use approximate matching
# [-v] == be verbose
# Usage: pkglocate [-i] [-p] [-f] [-v] word

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>