The NetBSD Project

CVS log for pkgsrc/pkgtools/pkg_install/files/lib/Makefile.in

[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.37: download - view: text, markup, annotated - select for diffs
Wed Dec 2 10:22:39 2020 UTC (5 years, 11 months ago) by wiz
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, HEAD
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1 lines
*: move default database directory from /var/db/pkg to ${PREFIX}/pkgdb

As discussed in August 2020 and previously on pkgsrcCon 2019.

Ok pkgsrc-pmc@

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Apr 19 21:42:50 2017 UTC (9 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
pkg_install-20170419:
- Convert to libarchive 3.x interfaces, avoiding the legacy glue.
- Rename local copy of netpgpverify to match installed headers.
- Shuffle bootstrap code to reduce special cases in pkg_add.
- Always read/write file names in tar archives as binary. While they are
  supposed to be UTF-8, locale conversion creates more problems than it
  solves here.
- Fix const correctness in gpg_verify.
- Add format string annotation for xasprintf for GCC-like compilers.
- Restrict supported archive formats for binary packages to ar (signed
  packages) and tar (actual content) with uncompressed/gzip/bzip2/xz as
  compression choices. This reduces the exposed libarchive surface.
- The pkg-vulnerability file correspondingly supports only the same
  compression choices.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Sep 1 12:14:06 2015 UTC (11 years, 2 months ago) by jperkin
Branches: MAIN
CVS tags: 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
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Implement inline package signature verification.

This replaces calling out to an external gpg command for verification
with inline verification using the security/netpgpverify library.

Bump version to 20150901.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Sep 12 11:03:10 2013 UTC (13 years, 2 months ago) by jperkin
Branches: MAIN
CVS tags: 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
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -1 lines
Add CATMAN_SECTION_SUFFIX support.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue May 15 16:43:54 2012 UTC (14 years, 6 months ago) by christos
Branches: MAIN
CVS tags: 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
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Check for defined before checking for empty, otherwise old make(1) fails
to build during bootstrap.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Mar 1 21:40:01 2012 UTC (14 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Revert last. Don't hide issues. Pass down MANINSTALL via MAKE_ENV to get
the correct value.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Mar 1 20:13:43 2012 UTC (14 years, 8 months ago) by jklos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Don't fail if MANINSTALL is not defined.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Feb 28 18:15:26 2012 UTC (14 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -5 lines
Honour MANINSTALL.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Apr 14 18:24:58 2010 UTC (16 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: 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
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
pkg_install-20100405:
- Try to detect common forms of pkgdb corruption and issue a warning in
  that case.
- Refactor the pkg_vulnerabilities logic to use the compression support
  from libarchive. This reduces the amount zlib/bzip2 interaction to the
  linkage.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jan 22 13:30:42 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4 lines
pkg_install-20100122:
- 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
  layout.
- 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.27: download - view: text, markup, annotated - select for diffs
Sat Apr 25 21:31:13 2009 UTC (17 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
pkg_install-20090425:
Add logic to evaluate license conditions. As frontend for pkgsrc,
pkg_admin gets two new commands (check-license and
check-single-license), which can be used to evaluate a given condition.
pkg_add will be changed to honour licenses at a later point.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Feb 28 16:03:56 2009 UTC (17 years, 8 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: +2 -2 lines
pkg_install-20090228:
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.25: download - view: text, markup, annotated - select for diffs
Mon Feb 9 16:54:08 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Fix !OpenSSL build/bootstrap.

Revision 1.24: 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
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +16 -8 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.21.2.8: download - view: text, markup, annotated - select for diffs
Tue Dec 30 15:55:57 2008 UTC (17 years, 10 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.21.2.7: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.7: +2 -2 lines
pkg_install-20081230:
Add initial support for secure GPG signatures.

Revision 1.21.2.7: download - view: text, markup, annotated - select for diffs
Tue Aug 5 22:56:24 2008 UTC (18 years, 3 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.21.2.6: preferred, colored
Changes since revision 1.21.2.6: +2 -2 lines
pkg_install-20080806:
Provide and use internal implementation of rm -rf.

Revision 1.21.2.6: download - view: text, markup, annotated - select for diffs
Sat Aug 2 20:33:50 2008 UTC (18 years, 3 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.21.2.5: preferred, colored
Changes since revision 1.21.2.5: +2 -2 lines
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.21.2.5: download - view: text, markup, annotated - select for diffs
Mon May 26 15:29:03 2008 UTC (18 years, 5 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.21.2.4: preferred, colored
Changes since revision 1.21.2.4: +3 -1 lines
pkg_install-20080526:
Add pkg_install.conf.5 man page from Thomas Klausner, reference it from
pkg_add and pkg_admin. Fix a build issue for the !SSL case.

Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Mon May 12 15:26:10 2008 UTC (18 years, 6 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.21.2.3: preferred, colored
Changes since revision 1.21.2.3: +3 -2 lines
Don't include signature stuff if the crypto support is not requested.

Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Sun May 11 20:20:38 2008 UTC (18 years, 6 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.21.2.2: preferred, colored
Changes since revision 1.21.2.2: +8 -5 lines
Add support PKCS7 signatures in packages and pkg-vulnerabilities.
The support for non-native OpenSSL still needs to be done, e.g.
ensure static linkage for that. Documentation is essentially missing.

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Thu May 8 23:34:27 2008 UTC (18 years, 6 months ago) by joerg
Branches: pkg_install-renovation
Diff to: previous 1.21.2.1: preferred, colored
Changes since revision 1.21.2.1: +4 -2 lines
Move configuration parser into libinstall.
Add a new VERIFY_CMD to be used by pkg_add soon.

Revision 1.21.2.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.21: preferred, colored
Changes since revision 1.21: +4 -4 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
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.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Revert last change, it was not intended to go into HEAD.

Revision 1.22: 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.21: preferred, colored
Changes since revision 1.21: +4 -4 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.21: download - view: text, markup, annotated - select for diffs
Sun Apr 6 17:47:27 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Branch point for: pkg_install-renovation
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -2 lines
Don't build pkg_io.c during bootstrap.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Apr 4 15:21:32 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
pkg_install-20080404:
Switch pkg_info to use libfetch for remote access.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Mar 10 12:14:32 2008 UTC (18 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Add datarootdir to shut up configure.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Feb 19 15:16:24 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +11 -4 lines
pkg_install-20080219:
Add new parser for pkg_vulnerabilities, that handles decompress
transparently and internally. Preliminary tests with a modified
audit-packages show a speed increase by 2 for common operations
like listening all vulnerable installed packages.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Nov 30 00:30:40 2007 UTC (18 years, 11 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Do not install a package if some of the installed packages would
conflict with it. This fixes PR 37451.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Aug 8 22:33:39 2007 UTC (19 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -3 lines
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.15: download - view: text, markup, annotated - select for diffs
Fri Jul 20 22:22:53 2007 UTC (19 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Split pattern related functions from lib/str.c off into lib/opattern.c.
Rename pmatch to pkg_match and add new function pkg_order that
implements the order logic used by pkg_add internally.

Change the interface of findmatchingname's callback to take the pattern
used for the matching as first argument. The new pkg_order function
takes it and it doesn't hurt in other cases. Adjust callers and
corresponding callbacks accordingly.

Remove an unused matchfn typedef in dewey.c.

Bump to 20070720. OK jlam@

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jul 16 09:57:59 2007 UTC (19 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +12 -6 lines
Merge remaining small changes from NetBSD, most of all the pkgsrc.7 man
page. Fix build on !NetBSD. Rebuild man pages with nroff -mandoc on
NetBSD current for consistency. Make it DESTDIR safe. Remove the note
that src/usr.sbin/pkg_install is the authoritive version, it won't be
any longer.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Aug 19 14:38:52 2006 UTC (20 years, 3 months ago) by schwarz
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -1 lines

make sure INSTALL gets passed to the Makefile

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Apr 24 13:52:05 2006 UTC (20 years, 6 months ago) by dillo
Branches: MAIN
CVS tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -2 lines
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.11: 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
CVS tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 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.10: download - view: text, markup, annotated - select for diffs
Mon Nov 14 09:17:40 2005 UTC (21 years ago) by dillo
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Remove obsolete file from OBJS also.
Fixes PR 32071 by HEO SeonMeyong.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Nov 5 13:30:31 2005 UTC (21 years ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Add new files.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Aug 21 06:33:40 2004 UTC (22 years, 3 months ago) by jlam
Branches: MAIN
CVS tags: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -7 lines
Fix the version number of the package in the configure script, and modify
the Makefiles so that they can be built by really basic make programs.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Mar 11 13:33:57 2004 UTC (22 years, 8 months ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
catch up with bootstrap-pkgsrc changes.

Just a comment doesn't seem to suffice in all cases.  For no-op commands,
use an explicit "true" invocation to avoid problems.  (A future merge of
current bmake may fix this issue.)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Sep 23 07:44:51 2003 UTC (23 years, 1 month ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -2 lines
add --with-{ftp,mtree,pax,tar} to allow overriding the commands that
pkg_install calls, and pass the full path for each from the pkg Makefile.

fixes issue with pkg_add and pkg_create calling non-existent or
less-than-functional tools since it relied on $PATH.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Sep 23 06:36:21 2003 UTC (23 years, 1 month ago) by grant
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
no need to pass $(DEFS) to $(CC) twice.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Sep 19 02:11:22 2003 UTC (23 years, 2 months ago) by grant
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
shut up the 'do nothing' shell comments

Revision 1.3: 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.2: preferred, colored
Changes since revision 1.2: +19 -22 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.2: download - view: text, markup, annotated - select for diffs
Tue Feb 11 16:48:23 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.1: preferred, colored
Changes since revision 1.1: +1 -1 lines
Fix some RCS ids.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Dec 20 18:13:58 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:13:58 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>