summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/create
AgeCommit message (Collapse)Author
2003-10-04Replace strnncpy calls with strlcpy calls. Remove strnncpy.wiz
Ok'ed by agc and hubertf. Verified working with editors/mule package.
2003-09-08Sort options; use Fl x instead of Ar -x; use Pq/Sq.wiz
2003-09-08Bump date for previous.wiz
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-08-10we already print "creating package ..." in pkg_perform(), no need togrant
say it twice :)
2003-07-14use bounded string op as much as possibleitojun
2003-06-26Quote % characters in macro lines.wiz
2003-06-12Avoid one more annoying duplicated slash when prefix is "/" in pkg_create(1),agc
and one in the db cache file, which was causing pkg_info -F to produce the wrong results with a prefix of "/".
2003-06-05Set the program name via setprogname(3).agc
2003-04-11improve a messagegrant
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.
2003-01-10order the getopt options alphabetically.agc
2003-01-05Add an enumerated type which is used in pkgdb_open() to specifyagc
read-only or read-write mode. Modify the return value of pkgdb_open() to have a more logical boolean value.
2003-01-05Use EXIT_FAILURE, rather than hardcoding a value of '1' in err(3) andagc
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.
2002-10-19use readlink with bufsize - 1; approved thorpej.provos
2002-10-17- eliminate the hard-coding of pathnames in the default install.christos
- all command executions now use the path [execvp/execlp/system]. - normalize the macro names as <COMMAND>_CMD. - in some OS's full pathnames for commands can still be provided, but this is not the default. This was needed to fix -DTAR_FULLPATHNAME="/usr/bin/tar"
2002-09-26Ispell. Begin new sentences on a new line.wiz
2002-09-24Sprinkle .Xrs to packages(7).uebayasi
2002-07-19- remove handling of PKG_ADD_BASE.yamt
- don't search current directory if PKG_PATH is set. - don't prefer local directories. - constify and cleanup. discussed on tech-pkg.
2002-06-10constify and make WARNS=2 clean.yamt
2002-06-09constify.yamt
2002-06-09- make last arg of findmatchingname void*.yamt
- move some duplicated functions into lib/.
2002-03-05Output @blddep directives before @pkgdep directives.agc
2002-03-05Add a new packing list directive, @blddep, which notes the exactagc
version of the pre-requisite package which was used to build the package. This is derived automatically from the list of pre-requisite packages which is provided to pkg_create(1) in the -P argument. Bump the version number to 20020305. Versions of the pkg_install tools prior to 20020305, when adding a binary package with embedded @blddep directives, will warn that the directive is not recognised, but will continue to add the binary package.
2002-02-18make @cwd work a bit more reliable:hubertf
When -L is used (as it is by pkgsrc), don't override the directory set by @cwd unconditionally with what was given to -L (srcdir). Instead, use the @cwd directory. XXX#1: This was not tested with DESTDIR set XXX#2: @cwd is still needed twice
2002-02-02Drop superfluous .Pp.wiz
2001-07-15 * Bugfix: if PLIST_SRC directly follows PLIST_CWD, ignorehubertf
the PLIST_CWD in creating the tar pipe. This takes care of pkg_create -p PREFIX -L FAKE where PREFIX does not exist at pkg creation time. From OpenBSD's rev. 1.9->1.10 * Register PLIST_SRC before dependencies and conflicts so that the PLIST_CWD != PLIST_SRC hack works with dependencies present. From OpenBSD's rev. 1.10->1.11 * improve error message to tell full path of exec() that failed
2001-06-05Uppercase Dt argument.wiz
2001-05-28(usage): correct number of arguments to fprintfjoda
2001-05-21When adding the checksums for the individual file entries in the generatedagc
+CONTENTS file, if the entry is also the last in the package's list, adjust the tail pointer accordingly.
2001-05-21Display the correct directory for the @src directive if -I has beenagc
specified.
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.
2001-04-09Whitespace fixes.wiz
2001-03-05Add -V option to all pkgtools, which reports the version of the pkgtools.wiz
Document it. While there, fix the ordering of the option descriptions in some man pages. Set version to 20010305.
2001-03-04Prevent some minor descriptor leaks.hubertf
2001-01-07Alphabetize options.hubertf
2000-12-13 * Accept ".tbz" as an alternative pkg suffix to ".tbz" for pkg_add andhubertf
pkg_info * In pkg_create, compress with bzip2 if a .tbz suffix is given * Fix pkg_info to work via ftp, either via URL specified on command line or via one made up from PKG_PATH (if set) XXX ALWAYS tacks on ".t[bg]z", NOT ".t[gb]z" !!!
2000-10-09Remove unneeded header <sys/syslimits.h>hubertf
2000-07-05Only calculate MD5 checksum for plain files.hubertf
As a side effect, fixes handlink of links to dirs.
2000-07-05remove extra period in SEE ALL sectionmsaitoh
2000-03-13Fix doubled 'the's.soren
2000-01-19FTP wildcard depends code, initial commit.hubertf
Modulo some code cleanup, this gives NetBSD full wildcard support not only in pkgsrc, but esp. for binary packages installed from local disk and via FTP. For more information, see: http://www.feyrer.de/NetBSD/wildcards.html
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-29Put support for @src back in.hubertf
For users who use private packages that use it. (Hi Bill!)
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-08-19Clean up minor nits in C code.agc
1999-07-28Message files in binary packages are not displayed with more(1).tron
1999-07-10cast args to strcmp;christos