summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
AgeCommit message (Collapse)Author
2000-04-05Fix bogus error message. Not a dir can mean *nothing* at all.Marc Espie
Reviewed by aaron@... ;-)
2000-04-04Register PLIST_SRC before dependencies and conflicts so that theMarc Espie
PLIST_CWD != PLIST_SRC hack works with dependencies present. Noticed and tested by Camiel.
2000-03-27Add and document option no-default-conflict.Marc Espie
2000-03-27Document -s, indicate the existence of @option, remove fixed bug fromMarc Espie
description.
2000-03-24Fake buglet fix: if PLIST_SRC directly follows PLIST_CWD, ignoreMarc Espie
the PLIST_CWD in creating the tar pipe. This takes care of pkg_create -p PREFIX -s FAKE where PREFIX does not exist at pkg creation time.
2000-03-24Disallow pkg_delete when the pkg_prefix is on a read-only file-system.Marc Espie
This avoids erasing /var/db/info while keeping the package and issuing hundreds of warnings...
2000-03-24Handle expansion sequences in @exec better (let the expander decide whetherMarc Espie
it needs a file name instead of assuming we always need one). Sent to *quite a few* people, comments by drahn@... guys, wake up !!!
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
cleanup along the way.
2000-03-06Do not leave `(' characters dangling at the end of lines; instead, use theAaron Campbell
appropriate mdoc macros to handle these cases.
2000-03-02interactivly -> interactively (Germans can't spell) :-)Aaron Campbell
2000-03-02alternativly -> alternativelyAaron Campbell
2000-02-14Yet another brain-dead `feature'.Marc Espie
2000-02-04what is this hatred of newlines on error messages?Theo de Raadt
2000-01-17typoTheo de Raadt
1999-11-03Stupid thinko. Let pkg's MESSAGES work again.Marc Espie
Spotted by Ian Darwin.
1999-10-26document what's actually implemented (@srcdir -> @src)Dug Song
1999-10-17Remove some redundant .Pp.Aaron Campbell
1999-10-17explain about using pkg_add interactivly from within the ftp clientNiels Provos
1999-10-09Band Aid fixes, polyglot of espies and mine:Bob Beck
- ensure package files end in .tgz if not suffixed, but allow for .tar.gz and uncompressed .tar as well. - make pkg_add take as many args as you can feed it. - "pkg_add *.tgz" works now. - fix bug where realpath could fail and leave NULL in arg list. - fix bug where nonexistent package could fail and leave NULL in arg list.
1999-10-07Use -v option in the example; deraadt@Aaron Campbell
1999-10-07Much improved. Could use some more work though, I'm sure.Aaron Campbell
1999-10-07Remove scaffolding for tracking pipe fds.Marc Espie
FD_CLOEXEC is much more appropriate here.
1999-10-05too soonMarc Espie
1999-10-05Typo.Marc Espie
1999-10-05Actually build pkg_sign.Marc Espie
1999-10-04Synch with current development:Marc Espie
* signatures no longer deal with zcat. Instead, we sign the gzip file itself (stripped of the signature part of the header, of course). Thanks Angelos. Niels seems to think passing the header itself to sign is not a problem, even though no-one cares about checking it ? * gzip header handling revamped: can write to memory. Will eliminate some pipes later on. Can stack signatures. * taken out specific signature schemes (e.g., pgp and sha1). Code is now signature scheme independent, mostly, and writes with client data from memory, e.g., check.c can invoke several checks in parallel without needing to fork. * need the full set of popen-like functionalities (keep track of opened file descriptors to avoid passing them down to children) * remove simple_check.c, functionality absorbed elsewhere. To do: * re-check message output and what to do with unsigned/unchecked/verified packages, * check pkg_add implementation and remove extra-pipe in asynchronous checking, * control over what to do when several signatures are stacked... Simple way would be to disable that for now (possibility for release) * get the code through a linter again.
1999-10-01Bug fix: skip over signature if not wanted, return correct category ofMarc Espie
file.
1999-09-28Debug code is one thing, commenting out pclose is another...Marc Espie
1999-09-27Stand-alone package signer.Marc Espie
Requires pgp for now, though the general scheme is generic.
1999-09-20- get http:// and ftp:// treated in a uniform way,Marc Espie
- disable FreeBSD-specific packages organization per category
1999-07-28Use new tar -T option.Marc Espie
Removes an annoying limit on PLIST lengths.
1999-07-26buf oflow fix from FreeBSD; millert@ okAaron Campbell
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-07-07show MESSAGE using PAGERMarc Espie
1999-07-05oopsMarc Espie
1999-07-04Let pkg_add use tar -q.Marc Espie
(This could have been done by using pax -n, but since pkg_* is so badly written, it's harder to hunt down all the code using tar and fix it to use the right options. If this code were written properly, there would be one clean entry point to processing archives, and it would be trivial to switch archivers...)
1999-07-03remove redundant .Pp macrosAaron Campbell
1999-06-24- let chmod work for suid (move it in front of chown).Marc Espie
- use the new form of chown, with user:group instead of user.group.
1999-06-05remove trailing whitespace, some Nm cleanupAaron Campbell
1999-06-05more .Os cleansingAaron Campbell
1999-04-21seperate -> separate, people really need to learn how to spell this wordAaron Campbell
1999-03-08Handle comments that do not end in \n correctly; WHS <wouters@cistron.nl>Marco S Hyman
1999-02-28nice usage messagesTheo de Raadt
1999-02-27Document that feature.Marc Espie
Pending a check and a rewriting, as the documentation is misleading. It seems to imply it looks thru installed packages first, whereas code tells pkg_info looks thru package files first.
1999-02-27Small new feature: pkg_info pkgMarc Espie
now tries to complete the package name with a version number while scanning the installed list of packages. Not foolproof. The pkg_* tools are atrocious anyway.
1999-02-26You've been warned: turn too long package comments into errors.Marc Espie
1998-12-16more .Nm fixesAaron Campbell
1998-11-22fixed typo, noticed by jbernard@ox.mines.edu (netbsd/pkg/6481)Marc Espie
1998-11-19- fix pkg_info to give more rational summary when COMMENTS files are weird.Marc Espie
- warn when COMMENT > 60 characters. *** In one month we turn this into an error -> fix packages files ***
1998-10-13Sync with recent NetBSD changes:Marco S Hyman
- use snprintf in place of sprintf - code cleanup - Package -> package_t, PackingList -> plist_t Also: remove files that haven't been linked in a while Pass -q to mtree so it is quiet in the presence of symlinks