Commit graph

13 commits

Author SHA1 Message Date
peter
771f99b146 Add -M flag to search for packages by maintainer.
Reviewed by wiz.
2005-02-15 21:24:36 +00:00
peter
0566289df4 Only NetBSD, FreeBSD and DragonFly seem to have set/getprogname so include
libnbcompat for all other OS's.  This should address PR pkg/29152.
2005-01-31 14:58:31 +00:00
jschauma
f683d8cb1e Make this a bit more portable:
- get rid of asprintf
- use libnbcompat if necessary
- while here, get rid of unused variable
Bump date.

ok peter@, tv@

Non-NetBSD platforms may need to test this and adjust following the IRIX
example.
2005-01-27 20:42:23 +00:00
cube
e4e558b3bc It's LINK.c and not COMPILE.c when you want to produced a linked binary.
Bump version.
2005-01-25 23:39:30 +00:00
tv
33ce58ee7d Add libiberty to make this build on Interix.
Don't build catpages inside the package.  Not every system has a nroff
shipped standard.
2005-01-18 22:03:55 +00:00
wiz
bc45ac923a Fix typo: -c, not -C. From Ryo HAYASAKA in PR 28893. 2005-01-07 16:57:21 +00:00
tv
049d18c583 Don't "cp -p" for *source* files. Builds are usually done as an unprivileged
user, so it's not nice to try to use an option that will try to chown if
the repository isn't owned by the builder.

(Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2005-01-06 05:32:29 +00:00
peter
0cdb56f504 Cleanup the C file (mostly nit-picking) and improve the wording in the
man page.  No functional changes.

Approved by wiz.
2004-10-23 10:48:08 +00:00
wiz
18308968ad Consistency in comments; sort options; fix typo. 2004-10-20 23:56:55 +00:00
wiz
8867518265 Use standard headers; add RCS Id; sort options; fix two typos. 2004-10-20 23:56:18 +00:00
jmmv
232430653a Update to 20041020:
* The following new flags have been added:
  -c - case sensitive search
  -x - exact match search
  -q - quite output
  -C - comment search

Patch provided by pancake at phreaker.net; closes PR pkg/26964.
Changes agreed by the original author of pkgfind, Peter Postma.
2004-10-20 18:36:20 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-07 02:01:37 +00:00
xtraeme
17e9870aaf Initial import of pkgfind-20040622 from pkgsrc-wip, written by
Peter Postma.

pkgfind can find packages in pkgsrc.  It tries to find packages which
matches a keyword in the package name.
2004-06-22 20:01:01 +00:00