The NetBSD Project

CVS log for pkgsrc/pkgtools/pkg_install/files/info/main.c

[BACK] Up to [] / pkgsrc / pkgtools / pkg_install / files / info

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.32 / (download) - annotate - [select for diffs], Wed Apr 25 12:20:53 2018 UTC (4 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, HEAD
Changes since 1.31: +10 -6 lines
Diff to previous 1.31 (colored)

pkg_install-20180425: correctly detect package names in PKG_DBDIR

If PKG_DBDIR is /foo and a path like /foobar is given, it is not below
PKG_DBDIR, so don't translate it into a package name look up. The old
logic for giving a path to PKG_DBDIR remains for legacy compat.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Dec 17 04:34:02 2012 UTC (9 years, 5 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, 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
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Update manual pages for better wording, and a better usage display for
pkg_info(1) - from Bug Hunting in PR pkg/47328. The following text is
taken from Bug's PR:

	The pkg_info(1), pkg_admin(1), and pkg_install.conf(5) man pages
	from pkgsrc' pkgtools/pkg_install package contain errors, have
	inaccurate / incomplete / illogically ordered descriptions, have
	incorrect macro usages / macro errors, miss an option description
	(`-h', for pkg_info(1)), and / or contain other imperfections.

	In short: these man pages can use a big correction update.

	Additionally, the `usage' message in main.c from pkg_info(1) contains
	an incorrect option order.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jan 22 13:30:42 2010 UTC (12 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: 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, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.29: +4 -8 lines
Diff to previous 1.29 (colored)

- Refactor man pages:
  - Move description of environmental variables into pkg_install.conf(5)
  - Remove a bunch of dead references
  - Avoid using hard-coded path names that can easily be overridden by
    the user.
- Refactor pkgdb related logic, so that -K behaves consistently.
- Add some helper functions to isolate more places from the pkgdb
- Sync license list.
- Handle PKG_REFCOUNT_DBDIR consistently as option too.
- Utilize connection cache from libfetch.
- Add helper target for cat pages updates.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 20 22:34:47 2010 UTC (12 years, 4 months ago) by jmmv
Branch: MAIN
Changes since 1.28: +9 -3 lines
Diff to previous 1.28 (colored)

Update to 20100120:

- Make PKG_DBDIR customizable through pkg_install.conf.

Things seem to work fine after a few tests but... where are the tests for
these tools?!

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 11 18:00:13 2009 UTC (12 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.27: +2 -17 lines
Diff to previous 1.27 (colored)

- Cleanup to not check for headers and functions not used
- Always use nbcompat/db.h on !NetBSD (PR 41865)
- Don't bother setting termwidth in pkg_info, it is never used.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Aug 2 17:56:45 2009 UTC (12 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Make pkg_install WARNS=4 clean and fix a number of lint warnings.
Based on reports from veego about warnings with older GCC releases in
pkg_delete, where a variable is potentially used uninitialized.

Revision 1.26 / (download) - annotate - [select for diffs], Wed May 13 03:18:05 2009 UTC (13 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.25: +2 -4 lines
Diff to previous 1.25 (colored)

G/C PlayPen and PlayPenSize.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Mar 2 17:13:49 2009 UTC (13 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.24: +8 -4 lines
Diff to previous 1.24 (colored)

Add new option -r to pkg_info, which works like -R, but expands it

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 28 16:03:56 2009 UTC (13 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.23: +2 -10 lines
Diff to previous 1.23 (colored)

Integrate the PKG_PATH logic for tightly with the find_archive logic:
- remember initial current working directory from the time PKG_PATH is
  processed, it will be used as reference for all relative entries
- remove now redundant fchdir dance in pkg_add
- pass down to find_archive if this is a top-level package (e.g.
  requested on the command line) or not; the location of top-level
  packages is searched for packages first and for URLs or path names the
  PKG_PATH itself is not processed (e.g. pkg_add foo/bar not look into
  PKG_PATH for bar). This addresses PR 33884 in a different way.
- document the rules for finding packages more explicitly
- allow specifying PKG_PATH in pkg_install.conf as well; environment
  takes precendence.
- remove PKG_PATH related logic in pkg_info(1), it doesn't deal with
  PKG_PATH anyway
- remove PKG_PATH, PKG_TMPDIR and TMPDIR description in pkg_info(1),
  they are no longer used

Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 2 12:35:01 2009 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.22: +4 -12 lines
Diff to previous 1.22 (colored)

Merge pkg_install-20090201 from pkg_install-renovation branch.

- DB support is always included from libnbcompat if needed
- pkg_view and linkfarm are not installed any more; they are not moved
into the attic yet, so they can easily be installed as separte package
- common configuration file to customise the behavior of various
components; this supersedes the old audit-packages.conf
- support for PKSC7 signatures (using X509 certs) and GPG signatures for
packages in a secure way. See pkg_admin(8) for how to create them and
pkg_install.conf(5) for the options to use them
- audit-packages and download-vulnerability-list are wrapper scripts
  around pkg_admin. They try to mimic the classic options if used sanely.
  "pkg_admin audit" is now an order of magnitude faster than before
- pkg_add uses libarchive and libfetch instead of external ftp and tar:
  - progress bar is currently missing for downloads
  - "pkg_add -" is no longer supported
  - no adhoc check for conficts between dependencies and already
    installed packages
  - "pkg_add -s" has been replaced with an option in pkg_install.conf,
    verification of plain detached GPG signatures is no longer supported
  - optional check for vulnerabilities before adding a package
  - if /var and /usr/pkg are on different fileystems it is twice as fast
  - conflicts due to overlapping plists are checked before installation
  - pkg_add no longer plays with the process limits
- pkg_add and pkg_delete have a new destdir option; scripts have to
  either be modified to use PKG_DESTDIR or should be disabled
- pkg_add -u for now can't be used to update to the exact same version
- internal "rm -rf" and "mkdir_p" code
- all memory allocation failures are not explicitly fatal
- if a file is not removed due to a failed checksum, still remove the
  entry from pkgdb

Revision / (download) - annotate - [select for diffs], Mon Feb 2 11:55:16 2009 UTC (13 years, 3 months ago) by joerg
Branch: pkg_install-renovation
Changes since +2 -8 lines
Diff to previous (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

- sync DESCR and MESSAGE with HEAD and the branch state
- sync Makefile
- regen configure
- cleanup __RCSID
- merge audit logic in pkg_add and pkg_admin into new audit_packages
function. As side effect, pkg_add will list all vulnerabilities before
asking the user whether it should continue
- sort config_variable array

Revision / (download) - annotate - [select for diffs], Sat Aug 2 20:33:50 2008 UTC (13 years, 9 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.22: +4 -6 lines
Diff to previous 1.22 (colored)

Most memory allocation failures were fatal already and the majority of
the rest lacked an explicit check. Add the usual x* wrappers around
malloc and friends that explicitly terminate on error and use them in
all but Dewey.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 5 09:39:38 2007 UTC (14 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: 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, pkg_install-renovation-base, cwrapper-base, cwrapper, cube-native-xorg-base, cube-native-xorg
Branch point for: pkg_install-renovation
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

Also add -E to usage(). From PR 37265.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Nov 2 16:03:37 2007 UTC (14 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Remove obsolete option r from usage() and man page. I can't even
remember what is was for. From Yakovetsky Vlad in PR 37265.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Aug 15 01:49:02 2007 UTC (14 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Make _pkgdb_getPKGDB_DIR return const char * and fix fallout.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 12 22:09:02 2007 UTC (14 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.18: +41 -15 lines
Diff to previous 1.18 (colored)

pkg_admin: when retrying with a wildcard pattern, use the computed
pattern and not the base name.
pkg_info: add -E option to return the best matching installed package.

Bump to 20070813.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 8 22:33:39 2007 UTC (14 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.17: +7 -3 lines
Diff to previous 1.17 (colored)

Replace note_whats_installed, add_to_list_fn and generally most
users of findbestmatchingname and findmatching name with more
descriptive and easier to use iterator functions. This functions
are a first step to abstract away pkgdb layout from most parts of
the code. It also helps to reduce side effects and point out potential
bugs in this code.

Fix a potential, but practically irrelevant buffer overflow.

No longer allow symbolic links directly in pkgdb to store the meta
data of individual packages outside. E.g. /var/db/pkg/atk-1.18.0
must be a directory and not point to it. This is not yet enforced in
all parts of the code, more changes will follow.

Bump version to 20070808.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 26 11:30:56 2007 UTC (14 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.16: +4 -8 lines
Diff to previous 1.16 (colored)

After the obsoletion on March, remove the support for require scripts.
Also remove the documentation of the mtree parts as it is not supported.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jun 27 23:36:14 2006 UTC (15 years, 10 months ago) by hubertf
Branch: MAIN
CVS Tags: 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
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

Update usage() - sync with manpage, add missing options, etc.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 24 13:52:04 2006 UTC (16 years ago) by dillo
Branch: MAIN
Changes since 1.14: +8 -4 lines
Diff to previous 1.14 (colored)

Sync with src, version 20060424:
	Add support for creating summary file containing all information
	about a package repository needed by package managing software.
	This allows better use of remote binary package repositories.

	Discussed on tech-pkg.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Nov 5 13:20:09 2005 UTC (16 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.13: +23 -12 lines
Diff to previous 1.13 (colored)

Sync with base system as of Sat Nov  5 13:19:32 UTC 2005.
Welcome to 20051103!
Now with "automatic" support.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 10 23:51:18 2005 UTC (17 years, 3 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.12: +4 -6 lines
Diff to previous 1.12 (colored)

pull in binary pkg handling changes from src:

rework pkg_info(8) operating on binary packages, deprecating the `-.'
argument as it is no longer required (but is retained as a no-op for
backward compatibility).

the behaviour is now what is expected and intended:

        - when the pkg argument is path (absolute or relative) to a
          binary pkg, pkg_info operates on it.
        - when no pkg argument is given, or the argument is not a
          binary pkg path, pkg_info operates on the installed packages.

`pkg_info foo-1.0.tgz', `pkg_info /path/to/foo-1.0.tgz', etc. now work
correctly when foo-1.0.tgz is in the cwd.

bump PKGTOOLS_VERSION to 20050210.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Dec 29 12:16:56 2004 UTC (17 years, 4 months ago) by agc
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Pull in portability changes from src, and bump version to 20041226:

	Introduce a new abstraction in the C code, called MaxPathSize.  All
	previous occurrences of MAXPATHLEN and FILENAME_MAX have been changed
	to use MaxPathSize instead.

	If MAXPATHLEN is not defined, then assume a default value of 1024
	(this is primarily for use on the Hurd).

	The reason for this is that some older platforms define FILENAME_MAX
	to be 14, although MAXPATHLEN is 1024. On BSD-derived systems,

	Bump pkg_install version to 20041226.

	These modifications have been tested so far on a NetBSD-current bulk

Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 20 20:09:53 2004 UTC (17 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.10: +9 -4 lines
Diff to previous 1.10 (colored)

Update pkgtools/pkg_install to 20040813 (latest release from the HEAD
branch of src).  Changes from version 20040730 include:

Modify pkg_info so that it will only print information on uninstalled
binary packages in the current working directory if -. is given on
the command line. If no -. is given, pkg_info will look for its
information in the ${PKG_DBDIR}.  This addresses a long-held gripe on
the part of a number of people, including myself (agc), which completely
violated the POLS.

Add a -q switch to pkg_admin, which allows it to work in a quiet
manner.  Fixes the change request in PR 26583, but in a different
manner, preserving existing behaviour and making the new behaviour
dependent upon a command line option.

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 8 14:51:23 2004 UTC (18 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Import pkg_install-20040508.  Fixes the -N flag to not cause the -Q
codepath to be executed by correcting the SHOW_* macro definitions.  Also
fix up some function prototypes so this builds with -Wall.  Fixes from

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 7 16:40:41 2004 UTC (18 years ago) by jlam
Branch: MAIN
Changes since 1.8: +11 -4 lines
Diff to previous 1.8 (colored)

Import pkg_install-20040507 from src/usr.sbin/pkg_install:

Add a new flag -Q (for "query") to pkg_info(1) to query the build
information for the definitions of specific variables that were saved
from build time, e.g.

	$ pkg_info -Q PKGPATH glib
	$ pkg_info -Q PROVIDES glib

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 22 11:44:24 2004 UTC (18 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

1.39 from usr.sbin/pkg_install/info/main.c:
Check pkgdb_open for correct return value.
From Peter Postma in PR 24863.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 6 15:53:41 2004 UTC (18 years, 4 months ago) by hubertf
Branch: MAIN
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

pkg_install now prints post-install message by default, if available.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 23 07:13:51 2003 UTC (18 years, 8 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.5: +0 -0 lines
Diff to previous 1.5 (colored)

sync with NetBSD-current's pkg_install-20030923.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 2 08:28:28 2003 UTC (18 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Sync to latest pkg_install sources from the HEAD for pkg_delete
optimizations and man page fixes.  Also use recent src2nbcompat to reverse
the order that "config.h" and <nbcompat.h> are included in *.[ch] files.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 1 16:27:13 2003 UTC (18 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.3: +34 -18 lines
Diff to previous 1.3 (colored)

Update pkg_install to 20030823, which has the changes to support
package views.  Pkgsrc changes include:

* Convert to use pkgtools/libnbcompat so that it's easier to keep
  this in sync with src/usr.sbin/pkg_install.

* Add a src2nbcompat script that converts src/usr.sbin/pkg_install
  into an appropriate start for pkgtools/pkg_install.  The script
  removes the Makefiles, adds CPP inclusion guards around each
  #include <...> line, and includes <nbcompat.h> at the top of each
  *.c file.  This should make it even easier to keep sources in
  sync with the HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 29 18:41:56 2003 UTC (19 years, 1 month ago) by jschauma
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Synch with main sources:

Changes by hubertf and seb; these changes tested on NetBSD, Linux and Irix.

Modified Files:
	src/usr.sbin/pkg_install/add: perform.c pkg_add.1

Log Message:
Implement remaining TODO item in pkg upgrade (pkg_add -u):
* Upgrade step 1/4: Check if the new version is ok with all pkgs
* (from +REQUIRED_BY) that require this pkg

Inspired by's upgrade(?) target.

Modified Files:
	src/usr.sbin/pkg_install/admin: main.c
	src/usr.sbin/pkg_install/info: main.c perform.c

Log Message:
Consistently check findmatchingname() return value for error condition.
Among other this fixes 'pkg_info -e whateverpkg' exit status when
/var/db/pkg is missing: it is now 1 and not 0.

Modified Files:
	src/usr.sbin/pkg_install/lib: version.h

Log Message:
Bump to "20030325" after today's changes from seb and me

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 6 04:34:16 2003 UTC (19 years, 4 months ago) by jschauma
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.1: +9 -9 lines
Diff to previous 1.1 (colored)

Synch with basesrc:
Use EXIT_FAILURE, rather than hardcoding a value of '1' in err(3) and

Plug a memory leak by modifying the signature of
_pkgdb_getPKGDB_FILE() to take a buffer and its size, and fill in that
buffer and return it.

Add an enumerated type which is used in pkgdb_open() to specify
read-only or read-write mode.

Modify the return value of pkgdb_open() to have a more logical boolean

Revision / (download) - annotate - [select for diffs] (vendor branch), Fri Dec 20 18:14:12 2002 UTC (19 years, 5 months ago) by schmonz
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import autoconf'd pkg_install source from
othersrc/bootstrap-pkgsrc/pkg_install into ${FILESDIR}.

Using autoconf greatly simplifies maintenance of this package across
multiple platforms. Placing the extracted source under ${FILESDIR}
will eventually let us use the same source for bootstrapping as
well, though we're not ready for this yet.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 20 18:14:12 2002 UTC (19 years, 5 months ago) by schmonz
Branch: MAIN

Initial revision

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 <>