The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_install / files / info

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33 / (download) - annotate - [select for diffs], Tue Feb 21 18:32:14 2012 UTC (12 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, 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, 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, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, HEAD
Changes since 1.32: +31 -24 lines
Diff to previous 1.32 (colored) to selected 1.16 (colored)

Merge changes from src/external/bsd/pkg_install.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jan 31 07:22:15 2011 UTC (13 years, 1 month ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored) to selected 1.16 (colored)

Protect against de-referencing a pointer which might be NULL.

Fixes PR pkg/44476 from Uwe Klaus

Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 22 09:00:12 2010 UTC (13 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored) to selected 1.16 (colored)

pkg_install-20101122: Fix crash in pkg_info -X on hand-written packages

Revision 1.30 / (download) - annotate - [select for diffs], Sun Aug 2 17:56:45 2009 UTC (14 years, 7 months ago) by joerg
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
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored) to selected 1.16 (colored)

pkg_install-20090727:
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.29 / (download) - annotate - [select for diffs], Sat May 2 16:14:37 2009 UTC (14 years, 10 months ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored) to selected 1.16 (colored)

Add new metadata: PREV_PKGPATH and SUPERSEDES.
These will be available from pkg_summary(5) database.
To be used to find previous packages when a package is moved
or renamed. (Even though that is not recommended.)

Documented in pkgsrc Guide and in the pkg_summary(5) manual page.

Upcoming commit will have some packages modified to add them.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 24 14:00:25 2009 UTC (14 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.27: +5 -3 lines
Diff to previous 1.27 (colored) to selected 1.16 (colored)

pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 23 19:35:52 2009 UTC (14 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.26: +2 -4 lines
Diff to previous 1.26 (colored) to selected 1.16 (colored)

Remove remaining parts of @mtree support.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Apr 23 19:34:04 2009 UTC (14 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.25: +2 -8 lines
Diff to previous 1.25 (colored) to selected 1.16 (colored)

Remove support and documentation for @ignore_inst.

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

pkg_install-20090302:
Add new option -r to pkg_info, which works like -R, but expands it
recursively.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 11 23:51:30 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.23: +6 -3 lines
Diff to previous 1.23 (colored) to selected 1.16 (colored)

Don't segfault if running pkg_info on a binary package without
+BUILD_INFO (or installed without +INSTALLED_INFO). Second half of
PR 30276.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 2 12:35:01 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.22: +2 -8 lines
Diff to previous 1.22 (colored) to selected 1.16 (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
    now
  - 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 1.21.4.2 / (download) - annotate - [select for diffs], Mon Feb 2 11:55:16 2009 UTC (15 years, 1 month ago) by joerg
Branch: pkg_install-renovation
Changes since 1.21.4.1: +2 -8 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.16 (colored)

pkg_install-20090201:
- 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 1.21.4.1 / (download) - annotate - [select for diffs], Fri May 23 15:57:04 2008 UTC (15 years, 10 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.21: +2 -9 lines
Diff to previous 1.21 (colored) to selected 1.16 (colored)

Merge license changes from the HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 29 05:46:08 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkg_install-renovation-base, cwrapper-base, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.21: +2 -9 lines
Diff to previous 1.21 (colored) to selected 1.16 (colored)

Drop clauses 3 and 4 from TNF licenses

Revision 1.21 / (download) - annotate - [select for diffs], Thu Feb 7 23:40:52 2008 UTC (16 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1
Branch point for: pkg_install-renovation
Changes since 1.20: +5 -2 lines
Diff to previous 1.20 (colored) to selected 1.16 (colored)

pkg_install-20080208:
Explicitly check in show_var that the buffer is non-NULL.
This can stops pkg_info -Q foo from segfaulting for explicitly
installed packages. Reported by Stoned Elipot.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 2 16:21:45 2008 UTC (16 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.19: +39 -72 lines
Diff to previous 1.19 (colored) to selected 1.16 (colored)

pkg_install-20080202:
Convert pkg_info to use libarchive instead of tar for binary package
handling. As a side effect pkg_info on remote packages will use
one FTP instance per argument, but will try to fetch only the meta data.
This reduces time for pkg_info -X on a full binary repository from 36.9s
to 18.1s for the cache hot case (PKG_TMPDIR on tmpfs for the old
pkg_info). Thanks to tnn@ for testing.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 29 15:39:31 2008 UTC (16 years, 2 months ago) by hubertf
Branch: MAIN
Changes since 1.18: +24 -18 lines
Diff to previous 1.18 (colored) to selected 1.16 (colored)

Sign over my copyright to TNF.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 29 14:15:50 2007 UTC (16 years, 7 months ago) by dillo
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.17: +10 -2 lines
Diff to previous 1.17 (colored) to selected 1.16 (colored)

Add FILE_NAME, the name of the binary package file.
Prompted by Jeremy, okayed by Joerg.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 15 02:08:40 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.16: +8 -9 lines
Diff to previous 1.16 (colored)

Start abstracting pkgdb access by introducing pkgdb_pkg_file.
The function returns the path name of the given file for the package.
The memory needs to be freed by the caller.

Revision 1.16 / (download) - annotate - [selected], Thu Aug 9 23:54:17 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.15: +7 -3 lines
Diff to previous 1.15 (colored)

Make var_set and var_get arguments always use full path names.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 9 23:06:42 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.14: +8 -8 lines
Diff to previous 1.14 (colored) to selected 1.16 (colored)

Pass a number of strings around as const char *.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 20 14:25:13 2007 UTC (16 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) to selected 1.16 (colored)

Sync with src: PRIu64 -> MY_PRIu64 + fallback value of PRIu64.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 20 13:48:16 2007 UTC (16 years, 11 months ago) by tnn
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) to selected 1.16 (colored)

re-add fix from r1.11 after sync

Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 16 12:55:35 2007 UTC (16 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored) to selected 1.16 (colored)

Sync with NetBSD base:
Some FTP server don't expand [] in NLIST, most noticable is vsftpd.
Avoid this by splitting the wildcard search pattern into two commands.
Sync some other minor changes.

Bump to 20070416.

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 10 04:25:30 2006 UTC (17 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored) to selected 1.16 (colored)

Make pkg_install build on platforms that don't define the PRIu64 integer
format modifier.  We include "defs.h" in the files that use PRIu64 as
that is the header that contains stand-in definition.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 24 13:52:05 2006 UTC (17 years, 11 months ago) by dillo
Branch: MAIN
Changes since 1.9: +88 -2 lines
Diff to previous 1.9 (colored) to selected 1.16 (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.9 / (download) - annotate - [select for diffs], Sat Nov 5 13:20:09 2005 UTC (18 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.8: +10 -39 lines
Diff to previous 1.8 (colored) to selected 1.16 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Mon May 30 13:23:32 2005 UTC (18 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored) to selected 1.16 (colored)

Update to 20050530:
Sync with base system: Ranges support and some other stuff that wasn't
pulled over.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 6 16:57:03 2004 UTC (19 years, 7 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored) to selected 1.16 (colored)

Sync with version 20040730 from src/usr.sbin/pkg_install on the HEAD:

> Re-work the code which checks the recorded build versions of a binary
> package to make pkg_add work properly when no +BUILD_INFO file exists.
>
> Modify the return value from read_buildinfo() to return 1 for success
> and 0 for failure.
>
> Use symbolic constants, rather than integers.
>
> If we can't read the build information, always tell of this fact.
>
> Bump version to 20040730
>
> Addresses PR 26429; a different version of these mods were verified to
> allow a +BUILD_INFO-less binary package to be added by Martin Husemann.

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 7 16:40:41 2004 UTC (19 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.5: +44 -2 lines
Diff to previous 1.5 (colored) to selected 1.16 (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
	devel/glib
	$ pkg_info -Q PROVIDES glib
	/usr/pkg/lib/libglib.so.13
	/usr/pkg/lib/libgmodule.so.13
	/usr/pkg/lib/libgthread.so.13

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 9 18:38:12 2004 UTC (19 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.16 (colored)

Merge 20040409: Parameterize the umask calls so that defs.*.mk can change
it on a per-opsys basis (and so that mk.conf can override it to match what
the pkgsrc builder is using).

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 23 07:13:52 2003 UTC (20 years, 6 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.3: +0 -0 lines
Diff to previous 1.3 (colored) to selected 1.16 (colored)

sync with NetBSD-current's pkg_install-20030923.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 2 08:28:28 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) to selected 1.16 (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.2 / (download) - annotate - [select for diffs], Mon Sep 1 16:27:13 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.1: +49 -9 lines
Diff to previous 1.1 (colored) to selected 1.16 (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.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Dec 20 18:14:14 2002 UTC (21 years, 3 months ago) by schmonz
Branch: TNF
CVS Tags: pkgsrc-base, netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.16 (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:14 2002 UTC (21 years, 3 months ago) by schmonz
Branch: MAIN
Diff to selected 1.16 (colored)

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 <webmaster@jp.NetBSD.org>