Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_install / files / create
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Wed Jul 1 10:03:20 2020 UTC (3 years, 8 months ago) by jperkin
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,
HEAD
Changes since 1.27: +3 -3
lines
Diff to previous 1.27 (colored) to selected 1.17 (colored)
pkg_install: Fix and speed up "pkg_admin rebuild-tree". In the pkg_admin front end, instead of adding +REQUIRED_BY entries as they are found, which previously led to duplicate entries, cache the results and write out the files at the end. Underneath, add a caching version of iterate_pkg_db() that avoids the same pkgdb directory lookup for every installed package, but is only suitable for reads. Also add a cache for best_match lookups to avoid expensive matches each time. For all caches, use a simple hashing function to improve lookup performance. In summary, as well as fixing +REQUIRED_BY files, these patches reduce the wall/user/system time of "pkg_admin rebuild-tree" on a system with 12,762 packages installed down from 13m52s/11m20s/2m32s to just 1m4s/1m3s/0m1s.
Revision 1.27 / (download) - annotate - [select for diffs], Sun Dec 27 12:36:42 2015 UTC (8 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: 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
Changes since 1.26: +2 -7
lines
Diff to previous 1.26 (colored) to selected 1.17 (colored)
Include basic package creation logic in the bootstrap version of pkg_install. Use this with PKG_COMPRESSION=none to convert all of the bootstrap to USE_DESTDIR=yes.
Revision 1.26 / (download) - annotate - [select for diffs], Thu Nov 5 16:22:32 2009 UTC (14 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: 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,
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,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4
Changes since 1.25: +2 -9
lines
Diff to previous 1.25 (colored) to selected 1.17 (colored)
pkg_install-20091115: Completely ignore @src in pkg_create. Silently ignore the -L option. The combination of -I and -p are used by pkgsrc for the same result.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Aug 2 17:56:44 2009 UTC (14 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base,
pkgsrc-2009Q3
Changes since 1.24: +3 -6
lines
Diff to previous 1.24 (colored) to selected 1.17 (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.24 / (download) - annotate - [select for diffs], Tue Feb 3 13:15:34 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Changes since 1.23: +5 -2
lines
Diff to previous 1.23 (colored) to selected 1.17 (colored)
Include fcntl.h for O_RDONLY, it is included indirectly on NetBSD, but not on Solaris. Part of PR 40544.
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: +37 -11
lines
Diff to previous 1.22 (colored) to selected 1.17 (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.19.2.5 / (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.19.2.4: +2 -8
lines
Diff to previous 1.19.2.4 (colored) next main 1.20 (colored) to selected 1.17 (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.22 / (download) - annotate - [select for diffs], Wed Sep 17 15:21:30 2008 UTC (15 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored) to selected 1.17 (colored)
pkg_install-20080916: Merge from changes for read_plist from pkg_install-renovation to always initialize the plist and add append_plist for the one case where this is not desired. Fixes PR 39276.
Revision 1.19.2.4 / (download) - annotate - [select for diffs], Mon Aug 11 15:58:15 2008 UTC (15 years, 7 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.19.2.3: +5 -3
lines
Diff to previous 1.19.2.3 (colored) to selected 1.17 (colored)
pkg_create actually does want to mess with the plist before reading it, so introduce append_plist to give the old behavior and unbreak pkg_create.
Revision 1.19.2.3 / (download) - annotate - [select for diffs], Sun Aug 10 22:08:16 2008 UTC (15 years, 7 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.19.2.2: +2 -3
lines
Diff to previous 1.19.2.2 (colored) to selected 1.17 (colored)
Push init of plist into read_plist.
Revision 1.19.2.2 / (download) - annotate - [select for diffs], Sat Aug 2 20:33:50 2008 UTC (15 years, 7 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.19.2.1: +5 -6
lines
Diff to previous 1.19.2.1 (colored) to selected 1.17 (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.19.2.1 / (download) - annotate - [select for diffs], Sat Apr 26 17:44:23 2008 UTC (15 years, 11 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.19: +34 -2
lines
Diff to previous 1.19 (colored) to selected 1.17 (colored)
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) - annotate - [select for diffs], Sat Apr 26 17:40:01 2008 UTC (15 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkg_install-renovation-base,
cwrapper-base,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.20: +0 -32
lines
Diff to previous 1.20 (colored) to selected 1.17 (colored)
Revert last change, it was not intended to go into HEAD.
Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 26 14:56:34 2008 UTC (15 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.19: +34 -2
lines
Diff to previous 1.19 (colored) to selected 1.17 (colored)
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.19 / (download) - annotate - [select for diffs], Fri Apr 18 17:16:44 2008 UTC (15 years, 11 months ago) by joerg
Branch: MAIN
Branch point for: pkg_install-renovation
Changes since 1.18: +14 -2
lines
Diff to previous 1.18 (colored) to selected 1.17 (colored)
Move get_dash_string to pkg_create as only user. Remove str_lowercase.
Revision 1.18 / (download) - annotate - [select for diffs], Thu Aug 9 14:14:45 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
Use the passed in string and Pkgdeps when calling strsep, fixing processing of the build options. Reported by tron@ in PR 36754 and Mark E. Perkins on pkgsrc-users.
Revision 1.17 / (download) - annotate - [selected], Wed Aug 8 22:33:39 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.16: +40 -36
lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Fri Aug 3 15:44:18 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.15: +2 -5
lines
Diff to previous 1.15 (colored) to selected 1.17 (colored)
Fix bootstrap issues reported by tnn@
Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 3 13:15:59 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.14: +41 -242
lines
Diff to previous 1.14 (colored) to selected 1.17 (colored)
- only build pkg_admin, pkg_create and pkg_info for --enable-bootstrap - for pkg_create, split-off the package creation from the plist processing. package creation is disabled for --enable-bootstrap - change package creation to use libarchive - add two options (-u and -g) to override file system ownership - pkg_create now creates files in the tarball with correct owner/group based on -u/-g or @owner/@group - add a function to compute the +CONTENTS file in memory Bump version to 20070802. Review of a slightly older version by jlam@
Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 30 07:25:11 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.13: +3 -8
lines
Diff to previous 1.13 (colored) to selected 1.17 (colored)
Don't build a list for a single item, but change the pkg_perform interface to hand it down directly.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Jul 25 15:01:46 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.12: +2 -11
lines
Diff to previous 1.12 (colored) to selected 1.17 (colored)
Mostly deorbit mtree support: - pkg_create bails out with -m - pkg_add ignores mtree specs in packages and prints a warning. It does not remove the file like before. - remove now obsolete documentation. pkg_info still prints the information and pkg_admin ignores the files. Make the dependency on the tools a runtime dependency. Take maintainership of pkg_install and bump version to 20070725.
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
CVS Tags: pkgsrc-2007Q2-base,
pkgsrc-2007Q2
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored) to selected 1.17 (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], Sun Mar 11 22:05:03 2007 UTC (17 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base,
pkgsrc-2007Q1
Changes since 1.10: +23 -16
lines
Diff to previous 1.10 (colored) to selected 1.17 (colored)
Sync with NetBSD base version: - obsolete support for require scripts - nuke support for the following options of pkg_create: -X (excludefile) -r (require script) -h (Force follow symlink) - add option for pkg_create to specify additional @blddep packages. This brings us to version 20070308.
Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 22 15:44:59 2005 UTC (18 years, 4 months ago) by ben
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
pkgsrc-2006Q1-base,
pkgsrc-2006Q1,
pkgsrc-2005Q4-base,
pkgsrc-2005Q4
Changes since 1.9: +15 -30
lines
Diff to previous 1.9 (colored) to selected 1.17 (colored)
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.9 / (download) - annotate - [select for diffs], Mon Nov 7 22:57:48 2005 UTC (18 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.8: +3 -3
lines
Diff to previous 1.8 (colored) to selected 1.17 (colored)
Sync with basesrc: Replace wait(2) with equivalent waitpid(2); for Linux, reported by wulf@ on tech-pkg.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 29 12:16:56 2004 UTC (19 years, 3 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base,
pkgsrc-2005Q3,
pkgsrc-2005Q2-base,
pkgsrc-2005Q2,
pkgsrc-2005Q1-base,
pkgsrc-2005Q1
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored) to selected 1.17 (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, 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.7 / (download) - annotate - [select for diffs], Fri Apr 9 18:38:12 2004 UTC (19 years, 11 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base,
pkgsrc-2004Q4,
pkgsrc-2004Q3-base,
pkgsrc-2004Q3,
pkgsrc-2004Q2-base,
pkgsrc-2004Q2
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored) to selected 1.17 (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.6 / (download) - annotate - [select for diffs], Tue Sep 23 07:13:49 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.5: +0 -0
lines
Diff to previous 1.5 (colored) to selected 1.17 (colored)
sync with NetBSD-current's pkg_install-20030923.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 2 08:28:26 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.4: +3 -3
lines
Diff to previous 1.4 (colored) to selected 1.17 (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:12 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.3: +28 -18
lines
Diff to previous 1.3 (colored) to selected 1.17 (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], Fri Apr 11 19:58:50 2003 UTC (20 years, 11 months ago) by grant
Branch: MAIN
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored) to selected 1.17 (colored)
sync with -current: improve a message.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 14 15:18:34 2003 UTC (21 years, 2 months ago) by jschauma
Branch: MAIN
CVS Tags: netbsd-1-6-1-base,
netbsd-1-6-1
Changes since 1.1: +10 -2
lines
Diff to previous 1.1 (colored) to selected 1.17 (colored)
Synch with latest changes from src (changes by agc, synch ok'd by agc) ---------------------------------------------------------------------- Add a pkgdb_remove_pkg() function and use it in pkg_delete(1). Bump lib/version.h due to added functionality. Order the getopt(3) options alphabetically. Introduce the notion of "preserving" an installed package. A preserved package may not be deleted by pkg_delete(1) (unless the -f option is given), and the preserved capability will be carried into any binary package. pkg_add(1) will also keep the preserved capability if it was present in the binary package. The "preserve" capability can be given to a package by using the PKG_PRESERVE definition in a package Makefile in pkgsrc. Ride on the recently-bumped lib/version.h for new functionality.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Dec 20 18:14:10 2002 UTC (21 years, 3 months ago) by schmonz
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored) to selected 1.17 (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:10 2002 UTC (21 years, 3 months ago) by schmonz
Branch: MAIN
Diff to selected 1.17 (colored)
Initial revision