The NetBSD Project

CVS log for pkgsrc/pkgtools/pkg_install/files/create/pkg_create.1

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Sun Apr 10 19:01:19 2016 UTC (7 years, 11 months ago) by joerg
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, HEAD
Changes since 1.26: +2 -4 lines
Diff to previous 1.26 (colored) to selected 1.14 (colored)

pkg_install-20160410:
Remove pkgdb handling logic from pkg_create, where it should have never
been in first place. Ignore former -U option as new default.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 30 15:13:20 2014 UTC (9 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: 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
Changes since 1.25: +4 -48 lines
Diff to previous 1.25 (colored) to selected 1.14 (colored)

Remove pkg_views support, second part: infrastructure.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Apr 20 00:39:13 2010 UTC (13 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: 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
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.14 (colored)

pkg_install-20100420:
Extract dependencies of libarchive from the pkgconfig file and thereby
drop knowledge of the needed libraries.

At least some versions of HP-UX are known to not support %zu, add a
workaround. This is using the black list approach for now.

Recognize xz as compression type for pkg_create.

The first time an error is hit while fetching packages, try to reget
from the same position. This works around the server closing the
connection while fetching dependencies.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 22 13:30:41 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.23: +7 -18 lines
Diff to previous 1.23 (colored) to selected 1.14 (colored)

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.23, Thu Jan 21 21:58:06 2010 UTC (14 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.22: +1 -1 lines
FILE REMOVED

Stick the correct value of PKG_DBDIR into the manpages instead of
pointing the user to /var/db/pkg, which may not be the right value if
it was customized.  Bump version to 20100121.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 20 22:34:47 2010 UTC (14 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.21: +18 -7 lines
Diff to previous 1.21 (colored) to selected 1.14 (colored)

Update to 20100120:

- Make PKG_DBDIR customizable through pkg_install.conf.

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

Revision 1.21 / (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-2009Q4-base, pkgsrc-2009Q4
Changes since 1.20: +5 -12 lines
Diff to previous 1.20 (colored) to selected 1.14 (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.20 / (download) - annotate - [select for diffs], Wed May 13 03:33:50 2009 UTC (14 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.19: +12 -2 lines
Diff to previous 1.19 (colored) to selected 1.14 (colored)

pkg_install-20090513:
Add pkg_create -F, which explicitly provides the compression type.

Revision 1.19 / (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.18: +12 -18 lines
Diff to previous 1.18 (colored) to selected 1.14 (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.18 / (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.17: +1 -10 lines
Diff to previous 1.17 (colored) to selected 1.14 (colored)

Remove support and documentation for @ignore_inst.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 8 23:12:10 2009 UTC (15 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.14 (colored)

Spelling fixes.

Revision 1.16 / (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.15: +2 -12 lines
Diff to previous 1.15 (colored) to selected 1.14 (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.15.4.1 / (download) - annotate - [select for diffs], Sun Jul 27 22:37:34 2008 UTC (15 years, 8 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.15: +2 -12 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.14 (colored)

Remove BUGS section. The hardlink issue hasn't been true since the move
to libarchive.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 4 14:24:38 2008 UTC (16 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkg_install-renovation-base, cwrapper-base, cwrapper, cube-native-xorg-base, cube-native-xorg
Branch point for: pkg_install-renovation
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

If a command line argument is used, it should be mentioned by exactly
this name (pkg-name) and not some related description, to make searching
easy.

Revision 1.14 / (download) - annotate - [selected], Wed Nov 14 22:57:07 2007 UTC (16 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

Add two missing .Ek.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Aug 9 23:33:00 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.12: +3 -8 lines
Diff to previous 1.12 (colored) to selected 1.14 (colored)

Remove @option extract-in-place support for now (will be the default
later) and document @option preserve in pkg_add(1).

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 3 13:55:29 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.14 (colored)

Bump date for last change.

Revision 1.11 / (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.10: +13 -1 lines
Diff to previous 1.10 (colored) to selected 1.14 (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.10 / (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.9: +1 -33 lines
Diff to previous 1.9 (colored) to selected 1.14 (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.9 / (download) - annotate - [select for diffs], Sat May 19 14:42:10 2007 UTC (16 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored) to selected 1.14 (colored)

Sync with pkgsrc (1.46).

Revision 1.8 / (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.7: +15 -31 lines
Diff to previous 1.7 (colored) to selected 1.14 (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.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-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, 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
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.14 (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], Tue Sep 23 07:13:49 2003 UTC (20 years, 6 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, 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.14 (colored)

sync with NetBSD-current's pkg_install-20030923.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 9 13:34:18 2003 UTC (20 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.4: +61 -44 lines
Diff to previous 1.4 (colored) to selected 1.14 (colored)

Bump version to 20030907.  Changes from previous version include:

    * Teaching pkg_add(1) to be smarter about how to add a depoted packge.

    * "pkg_delete foo" only deletes foo if it's a unique package.

    * Make "pkg_delete -O foo" for delete file entries for foo from
      pkgdb.byfile.db actually work.

    * Teach pkg_admin(1) two new commands "add" and "delete" for working
      with pkgdb.byfile.db.

    * pkg_view(1) uses the new pkg_admin(1) commands to keep the
      pkgdb.byfile.db files consistent in each view.

    * Man page fixes.

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: +20 -9 lines
Diff to previous 1.3 (colored) to selected 1.14 (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], Thu Jun 26 15:12:07 2003 UTC (20 years, 9 months ago) by jschauma
Branch: MAIN
Changes since 1.2: +7 -7 lines
Diff to previous 1.2 (colored) to selected 1.14 (colored)

Synch with basesrc:
Quote % characters in macro lines.

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: +9 -2 lines
Diff to previous 1.1 (colored) to selected 1.14 (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.14 (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.14 (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>