The NetBSD Project

CVS log for pkgsrc/pkgtools/pkg_install/files/lib/file.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Oct 15 13:31:27 2015 UTC (11 years, 1 month ago) by sevan
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, 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, HEAD
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -5 lines

Do not check for or include sys/param.h
This resolves issues on platforms which MACHINE & MACHINE_ARCH is explicitly
defined, such as OpenBSD/amd64 & Bitrig/amd64 where we would like to build with
MACHINE_ARCH=x86_64 but can't as a platform check fails when installing
packages after bootstrap
pkg_add: Warning: package `digest-20121220' was built for a platform:
pkg_add: OpenBSD/x86_64 5.8 (pkg) vs. OpenBSD/amd64 5.8 (this host)

Tested on
Mac OS X Tiger/PowerPC
OpenBSD
Bitrig
Solaris 10/SPARC
FreeBSD 10.2-RELEASE & 11-CURRENT
DragonFlyBSD
Debian 8
OmniOS

Reviewed by joerg@

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Sep 15 13:18:02 2010 UTC (16 years, 2 months ago) by joerg
Branches: 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, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -5 lines
pkg_install-20100915: Allow https URLs. From mbalmer.

Reset maintainership.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Sep 11 18:00:13 2009 UTC (17 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -5 lines
pkg_install-20090911:
- Cleanup configure.ac 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.28: download - view: text, markup, annotated - select for diffs
Sun Aug 2 17:56:45 2009 UTC (17 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -10 lines
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.27: download - view: text, markup, annotated - select for diffs
Fri Apr 24 01:03:41 2009 UTC (17 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Constify.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Feb 2 12:35:01 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +75 -472 lines
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.23.8.4: download - view: text, markup, annotated - select for diffs
Mon Feb 2 11:55:16 2009 UTC (17 years, 9 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.23.8.3: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.8.3: +2 -8 lines
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.23.8.3: download - view: text, markup, annotated - select for diffs
Tue Sep 16 19:03:54 2008 UTC (18 years, 2 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.23.8.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.8.2: +70 -47 lines
pkg_install-20080916:
Quote arguments of @exec and @unexec correctly.

Revision 1.23.8.2: download - view: text, markup, annotated - select for diffs
Thu Aug 21 16:04:39 2008 UTC (18 years, 2 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.23.8.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.8.1: +3 -2 lines
pkg_install-20080821:
- Recognize file:// urls to prevent double quoting.
- Fix some err/errx botchups.
- Add configuration options for verbose logging of net IO, enabling of
active FTP (switching to passive FTP as default) and for ignoring proxy
settings.
- When iterating over PACKAGES to find a match, warn if an entry can't
processed (e.g. bad URL).

Revision 1.23.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 26 17:44:23 2008 UTC (18 years, 6 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -422 lines
Add a clean pkg_add implementation on top of libarchive and libfetch.
Known regressions:
- "pkg_add -" (aka reading from stdin) is currently not supported
- "pkg_add -s" is not supported either
- no progress reports for the downloads
- binary packages with hardlinks created by pkg_create before
  pkg_install-20080422 will not extract correctly (libarchive issue)
- no adhoc check for potential conflicts between dependencies and
  already installed packages

Features:
- Twice as fast for the typical case of /var/tmp and /usr/pkg on
  different filesystems
- Standalone
- implicit conflict detection before actual installation.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Apr 26 17:40:01 2008 UTC (18 years, 6 months ago) by joerg
Branches: 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
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +420 -5 lines
Revert last change, it was not intended to go into HEAD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Apr 26 14:56:34 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -422 lines
Add a clean pkg_add implementation on top of libarchive and libfetch.
Known regressions:
- "pkg_add -" (aka reading from stdin) is currently not supported
- "pkg_add -s" is not supported either
- no progress reports for the downloads
- binary packages with hardlinks created by pkg_create before
  pkg_install-20080422 will not extract correctly (libarchive issue)
- no adhoc check for potential conflicts between dependencies and
  already installed packages

Features:
- Twice as fast for the typical case of /var/tmp and /usr/pkg on
  different filesystems
- Standalone
- implicit conflict detection before actual installation.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Aug 29 15:42:39 2007 UTC (19 years, 2 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Branch point for: pkg_install-renovation
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +19 -2 lines
* When adding or checking a package using pkg_admin(1), give a more
  meaningful warning if the file is a symlink whose target doesn't exist.
  The message has now been changed from:

    pkg_admin: netbsd32_compat30-extras: File `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' is in +CONTENTS but not on filesystem!

  to:

    pkg_admin: Symlink `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' exists and is in +CONTENTS but target does not exist!

* Pass values for --sysconfdir (and --prefix) to the configure script
  instead of passing them through CPPFLAGS.  Both SYSCONFDIR and PREFIX
  are only used by audit-packages, and the audit-packages Makefile
  already handles passing these values inherited from the configure
  script.  This avoids compiler warnings that, e.g. SYSCONFDIR has been
  redefined on the command line.

* Fix quoting for arguments to the configure script -- :Q instead of
  \"\".

Bump version to 20070828.  Reviewed by <joerg>.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Aug 21 07:11:42 2007 UTC (19 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
When looking for a package with a wildcard pattern, don't add the
suffix. find_best_matching_file does that already and doing it twice
is actually counterproductive. Bump to 20070821.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Aug 12 18:54:09 2007 UTC (19 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Restore ignorance of entry types for lsbest and lsall for now.
The check for already installed packages depends on being able
to run them in PKGDB_DIR. This is clearly obnoxius, but leave it
for later.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Aug 12 16:47:17 2007 UTC (19 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -4 lines
- Introduce find_best_matching_file and match_local_files. This replace
  the functionality offered by findmatchingname and findbestmatching
  name. They optionally strip the suffix from the filename before
  matching it, instead of modifying the pattern directly.
  Drop the old functions.
- Fix a bug in pkg_order where the version strings where inverted
- Make pkg_admin lsbest and lsall use the new functions.
- Make ftpio use pkg_order directly.

Bump version to 20070812.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Apr 16 12:55:35 2007 UTC (19 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
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.18: download - view: text, markup, annotated - select for diffs
Tue Apr 4 06:31:22 2006 UTC (20 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Pull over v1.77 from src/usr.sbin:
revision 1.77
date: 2006/03/26 18:11:22;  author: christos;  state: Exp;  lines: +3 -3
PR/33123: Murray Armfield: standards compliance & glob.h
Certain fields in glob.h need to be size_t; fix this and version glob(3).
    http://www.opengroup.org/onlinepubs/000095399/basedefs/glob.h.html

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Dec 6 01:08:09 2005 UTC (20 years, 11 months ago) by ben
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Specify the full path to tar when unpacking a package.
Modify pfcexec so the new process file name can be different from argv[0].
This fix is from Peter Postma, and it addresses PR#32228

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 23 04:49:51 2005 UTC (20 years, 11 months ago) by ben
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +16 -17 lines
Remove unused variables, fix variable names to avoid shadowing globals,
and add PAX_CMD fallback macro.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Nov 22 15:44:59 2005 UTC (20 years, 11 months ago) by ben
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +49 -15 lines
Reduce the use of the system() function in pkg_install to avoid quoting
problems.  Instead, use exec*() functions.

Replace PUSHOUT() macro and string buffers with a function that
operates on data structures.

If it is necessary to copy files into place from staging area, then use
pax to copy them.

Add functions in pexec.c to create a pipe for sending data to a child
process.  Replace pipe code in create/perform.c with these functions.
Use these functions instead of command-line arguments when copying files
into place from staging area.

Three system() references remain: @exec, @unexec, and vsystem().

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Feb 4 09:10:13 2005 UTC (21 years, 9 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +38 -2 lines
Update pkgtools/pkg_install to 20050204 (latest release from the HEAD
branch of src).  Changes from version 20050106:

  Teach pkg_add(1) and pkg_delete(1) to pass PKG_METADATA_DIR and
  PKG_REFCOUNT_DBDIR in the environment when running the +* scripts.
  PKG_METADATA_DIR is the location of the +* files after the package is
  registered.  PKG_REFCOUNT_DBDIR is the location of the reference counts
  database directory.  If PKG_REFCOUNT_DBDIR is left unset, then it
  defaults the the location of the package database directory with
  ".refcount" appended to the path, e.g. /var/db/pkg.refcount.

  pkgviews users should explicitly set PKG_REFCOUNT_DBDIR in the shell
  environment to ensure that all packages will use the same refcount
  database.

  These changes allow the +INSTALL and +DEINSTALL script to keep state
  in +* files within ${PKG_METADATA_DIR}, and to store reference counts
  in ${PKG_REFCOUNT_DBDIR} to handle usage of resources outside of
  ${LOCALBASE}.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Dec 29 12:16:56 2004 UTC (21 years, 10 months ago) by agc
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +14 -14 lines
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,
	FILENAME_MAX And MAXPATHLEN are both 1024.

	Bump pkg_install version to 20041226.

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

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jan 14 23:55:29 2004 UTC (22 years, 10 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Update pkgtools/pkg_install to 20040114.  Changes from version 20040106
include:

* use ${MACHINE_ARCH} instead of what uname() puts into utsname.machine.
  the former represents the CPU architecture, which is what is recorded
  in binary packages; also allow the OS name to be overridden, as pkgsrc
  doesn't always use the value of utsname.sysname.

* allow adding depoted packages if another package with the same
  ${PKGBASE} is already installed as this is explicitly allowed for in
  pkgviews.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Dec 20 04:23:05 2003 UTC (22 years, 11 months ago) by grant
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +25 -91 lines
Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031220.
New features include OS/arch/version checking and a large speed
improvement to pkg_info.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Dec 8 13:50:50 2003 UTC (22 years, 11 months ago) by grant
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +19 -11 lines
Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031121.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 29 23:00:28 2003 UTC (23 years ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +48 -6 lines
Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031003.
New features include fetching binary packages using HTTP (thanks wiz!)
and some minor speed optimizations for pkg_delete.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 23 13:22:41 2003 UTC (23 years, 1 month ago) by grant
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +99 -30 lines
sync with NetBSD-current after updates from wiz.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Sep 23 07:13:53 2003 UTC (23 years, 1 month ago) by grant
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +0 -0 lines
sync with NetBSD-current's pkg_install-20030923.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Sep 2 08:28:32 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
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.5: download - view: text, markup, annotated - select for diffs
Mon Sep 1 16:27:14 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +20 -25 lines
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.4: download - view: text, markup, annotated - select for diffs
Fri Apr 11 14:40:36 2003 UTC (23 years, 7 months ago) by grant
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +16 -16 lines
catch up to bootstrap.

bump PKGTOOLS_VERSION to 20030411.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 11 16:42:06 2003 UTC (23 years, 9 months ago) by grant
Branches: MAIN
CVS tags: netbsd-1-6-1-base, netbsd-1-6-1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -3 lines
belatedly sync with src:
Allow '%D' to be used when no last_file available. Fixes binary package
installation of gnome-dirs.

crank PKGTOOLS_VERSION to 20030202.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jan 6 04:34:17 2003 UTC (23 years, 10 months ago) by jschauma
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -6 lines
Synch with basesrc:
Use EXIT_FAILURE, rather than hardcoding a value of '1' in err(3) and
errx(3).

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

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Dec 20 18:14:00 2002 UTC (23 years, 11 months ago) by schmonz
Branches: TNF
CVS tags: pkgsrc-base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 20 18:14:00 2002 UTC (23 years, 11 months ago) by schmonz
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>