summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/create/create.h
AgeCommit message (Collapse)Author
2003-09-02Merge src/usr.sbin/pkg_install on the pkgviews branch into the HEAD byjlam
running: cd src/usr.sbin/pkg_install cvs update -Pd -A cvs update -Pd -j pkgviews-base -j pkgviews
2003-01-10Introduce the notion of "preserving" an installed package.agc
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.
2001-05-21Add -I argument to pkg_create so that the real prefix can be specifiedagc
for the @src and @cwd PLIST directives. Bump version number.
2001-05-18Add -U argument to pkg_create - by default, all files are added to theagc
pkgdb.byfile.db database. If -U is specified on command line to pkg_create, don't add the PLIST entry to pkgdb.byfile.db. Bump version number.
1999-12-20Put back former -s switch to pkg_create as -L now.hubertf
Fixes PR 8982 by Eric Schnoebelen <eric@cirr.com>
1999-11-29Add code to include the size of a package into both thehubertf
installed version and binary packages. The size can be queried then via pkg_info: xfeyrer @ noon% pkg_info -s xv Information for xv-3.10apl1: Size of this package in bytes: 4670692 xfeyrer @ noon% pkg_info -S xv Information for xv-3.10apl1: Size in bytes including required pkgs: 14610165 While doing work on the size code, support for the @src directive was removed (formerly enabled with the pkg_create -s switch, but unused in our pkg system). The new pkg_info -s and -S switches were tested on installed, local (file) and remote (ftp) packages. In bsd.pkg.mk, take special care for pkg_* versions that do not have the pkg_create -s and -S switches and do not record size information there.
1999-08-24Bring closer to /usr/share/misc/style with the aid of indent(1).hubertf
1999-03-22Replace static array of packages given to pkg_perform() with linearhubertf
list, using chopss' list functions (moved to lib/lpkg.c and lib/lib.h). Properly handle wildcards in arguments to "pkg_info", "pkg_delete" and "pkg_admin check". Some other minor cleanups.
1999-01-19Add code for pkgdb.hubertf
1998-10-26Modify pkg_create to recognise Build Information and Version files, whenagc
creating packages, and modify pkg_add to copy the files when a binary package is added. This preserves the fine-grained version information in a binary package, and also the options with which the binary package was built.
1998-10-12+ Remove obsolete and unused string functions.agc
+ Fix a bug introduced when the package name comparison routines were moved - alternate matching now completes and works properly. + Add -R argument to pkg_create, which re-orders any directories in the generated PLIST into reverse alphabetic order. + Add -l argument to pkg_create, which checks that any symbolic links in the package are relative-to-$PREFIX pathnames, rather than full pathnames. + General cleanup elsewhere.
1998-10-09More cleanup - various bits of KNF.agc
Use another table when parsing PLIST files - makes this much more extensible.
1998-10-08Eliminate all use of sprintf(3), and replace it with snprintf(3).agc
Bounds check the @exec and @unexec commands when they are constructed.
1998-06-05Add support for CONFLICTS entry, implement -C switch for pkg_createfrueauf
and document that new feature.
1997-10-16Second part of intrgration of FreeBSD pkg_install as of 971013.hubertf
This patch adds @option preserve and handling for -s (SrcDir) option.
1997-10-16First cut on importing pkg_install as of FreeBSD 971013:hubertf
- warn()/err() instead of whinge()/barf() - Update RCS Id strings - Update manpages (mostly)
1997-06-05Add NetBSD Idsagc
Un-munge pkg_install/lib/Makefile which I'd overwritten on libftpio commit. Make it compile on NetBSD. Install pkg_* programs in /usr/sbin XXX agc - Still to do XXX Cleanup call to mktemp (for a tmp dir) in pkg_install/lib/pen.c Create ftperr.c in the correct directory.
1997-06-05Initial import of FreeBSD packaging tool.agc