summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-02-02pkg_install-20090201:pkg_install_renovationjoerg34-455/+366
- 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
2009-01-28regen.wiz1-1/+1
2009-01-28Whitespace nits.wiz1-3/+3
2009-01-27pkg_install-20090127:joerg8-22/+58
Add options to specify user-id and keyrings for GPG operations.
2009-01-27Annotate that pkg_add -u can not be used to replace an installed versionjoerg2-9/+11
with a package of the very same version.
2009-01-08regenwiz1-1/+1
2009-01-08s/installating/installing/.wiz1-2/+2
2009-01-08Also include support for IGNORE_URL.joerg1-2/+31
2009-01-08pkg_install-20090108:joerg6-13/+92
pkg_add optionally checks for vulnerable packages and bails out.
2008-12-30pkg_install-20081230:joerg8-66/+409
Add initial support for secure GPG signatures.
2008-12-28Sync with HEAD.joerg1-2/+2
2008-11-27pkg_install-20081127:joerg2-9/+20
Correctly deal with short reads from fetchIO_read when loading pkg-vulnerabilities.
2008-10-29Require DB support in libnbcompat.joerg1-2/+2
2008-10-10Fix man page to not document -p twice, when -P is meant.joerg2-5/+5
2008-10-02Merge time_t fix from HEAD and call it pkg_install-20081003.joerg2-8/+8
2008-09-21Clean up autoconf output list and add bmp.sh to the distclean target.joerg3-26/+6
2008-09-16pkg_install-20080916:joerg2-49/+72
Quote arguments of @exec and @unexec correctly.
2008-09-08Get the description of how to setup a CA and create keys under versionjoerg1-0/+59
control.
2008-09-08Fix some file names to not end in ".pem.pem".joerg1-5/+5
2008-08-25pkg_install-20080825:joerg2-6/+6
Fix an inverted test for fake mode. The check stopped +REQUIRED_BY and friends from being moved to the new package, thereby breaking both the delete and the dependency tree. Fix a fexec to fexec_skipempty to silence pkg_delete: package '' is not installed, /var/db/pkg//+CONTENTS missing when updating packages with prefix or destdir being set.
2008-08-25If the file removal fails for e.g. due to checksum mismatch, stilljoerg1-6/+7
update the pkgdb. This restores the expectation of installing a package over it working fine.
2008-08-25Nuke pkgdb debugging code, it hasn't been used for ages.joerg4-76/+10
2008-08-21Fix markup.joerg2-4/+4
2008-08-21pkg_install-20080821:joerg8-21/+61
- Recognize file:// urls to prevent double quoting. - Fix some err/errx botchups. - Add configuration options for verbose logging of net IO, enabling of active FTP (switching to passive FTP as default) and for ignoring proxy settings. - When iterating over PACKAGES to find a match, warn if an entry can't processed (e.g. bad URL).
2008-08-11pkg_create actually does want to mess with the plist before reading it,joerg3-10/+19
so introduce append_plist to give the old behavior and unbreak pkg_create.
2008-08-10Explicitly initialise plist in parse_plist.joerg3-9/+9
2008-08-10Push init of plist into read_plist.joerg7-24/+17
2008-08-06Get the OpenSSL setup to create a simple CA, pkg-vulnerabilities signingjoerg2-0/+199
and package signing keys under version control.
2008-08-06Add RCSID.joerg1-1/+13
2008-08-06Add license (OK from Roland in private mail) and RCSID.joerg1-0/+37
2008-08-05pkg_install-20080806:joerg7-31/+215
Provide and use internal implementation of rm -rf.
2008-08-05Add some repo ID comments at the top of the files.joerg4-3/+11
2008-08-05Call chmod directly and just use 555 for the deinstall script.joerg1-4/+6
2008-08-05Bump to pkg_install-20080805 for today's chdir related changes.joerg1-2/+2
2008-08-05Avoid chdir as much as possible.joerg1-72/+121
2008-08-05Push chdir for +INSTALL into fcexec, one less chdir to worry about.joerg1-14/+8
2008-08-05Unbreak last commit.joerg1-4/+6
2008-08-05Stop depending on cwd in sanity_check.joerg1-44/+32
Stop changing directory in require_find_recursive_up and require_find_recursive_down. Simplify the latter.
2008-08-05Use a predictable name for the +VIEWS temporary file.joerg2-35/+32
2008-08-05Add another constant for temporary +REQUIRED_BY files. Don't use mkstempjoerg2-35/+28
in pkg_delete for that purpose. If more than one produce tries to change this file, breakage will happen anyway and this means the system is somewhat self-healing.
2008-08-05Further simplify require_delete by exploiting known invariants and pushjoerg1-25/+11
down a global variable into the only function left using it.
2008-08-05The iteration functions can deal with full package names, so remove thejoerg1-30/+7
fexists case and the associated chdir logic.
2008-08-05Open the database first and chdir later to emphase that the chdir isjoerg1-6/+6
required for the extraction.
2008-08-02Most memory allocation failures were fatal already and the majority ofjoerg29-333/+281
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.
2008-08-01Inline an obscuring debug macro.joerg1-13/+5
2008-07-300644 is a better file permission than 644 for +REQUIRED_BY...joerg1-3/+3
2008-07-30pkg_install-20080730:joerg13-59/+158
Add destdir installation support for pkg_add and pkg_delete. This does not chroot install/deinstall scripts, they have to support it directly (using PKG_DESTDIR) or they have to be disabled.
2008-07-30Internal implementation of mkdir_p.joerg2-6/+51
2008-07-27Remove BUGS section. The hardlink issue hasn't been true since the movejoerg2-20/+3
to libarchive.
2008-07-27Bump date and regen cat page.joerg2-15/+7