Commit graph

681 commits

Author SHA1 Message Date
obache
a5ddbd786c Add isc license as default acceptable license. 2010-05-06 13:16:59 +00:00
obache
f6f58c10b0 + ipafont to default_acceptable_license. 2010-04-26 11:54:31 +00:00
joerg
84bee4addf pkg_install-20100421:
Fix an off-by-one in the check for properly sized pkgdb entries.
It rejected perfectly valid entries.
2010-04-20 21:22:38 +00:00
joerg
5b24c103ec 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.
2010-04-20 00:39:12 +00:00
tron
e91cb0e2b5 Link using the "-search_paths_first" option under Mac OS X to make
sure that the linker uses our static "libarchive.a" instead of
the outdated dynamic library "/usr/lib/libarchive.dylib".
2010-04-15 22:25:11 +00:00
joerg
0447709a57 pkg_install-20100405:
- Try to detect common forms of pkgdb corruption and issue a warning in
  that case.
- Refactor the pkg_vulnerabilities logic to use the compression support
  from libarchive. This reduces the amount zlib/bzip2 interaction to the
  linkage.
2010-04-14 18:24:58 +00:00
joerg
5bac9c20fd Require zlib 1.2 for now, as zlib 1.1 doesn't like gzip headers and
would fail in the decompression code for pkg-vulnerabilities.
2010-03-26 17:04:45 +00:00
wiz
b8b55227df Add man pages for audit-packages and download-vulnerability-list which
point to pkg_admin and notes that the scripts are obsolete.

Bump version to 20100319.
2010-03-19 12:49:53 +00:00
obache
849e1cb406 Also need to overwrite config.sub, at least on Haiku OS. 2010-03-17 08:19:38 +00:00
joerg
c7923abf34 Make sure to overwrite the config.guess script in libarchive for the
sake of Interix.
2010-03-08 17:20:40 +00:00
wiz
96b41d4d67 Mention that '_' is the same as '.'.
Noted missing by Aleksey Cheusov in PR 41148.
2010-02-27 21:02:01 +00:00
wiz
6d2fb01f39 Remove "also" for Slader_LB. 2010-02-25 06:56:23 +00:00
wiz
482a33e8bf Fix option order in SYNOPSIS. From Slader_LB. 2010-02-24 22:07:28 +00:00
wiz
bd6291ee70 Refer to pkg_admin from -f flag.
Make chroot reference an Xr.
Downcase Package Database.

Suggested by Slader_LB.
2010-02-24 22:06:21 +00:00
wiz
bab2330574 Downcase Package Database. 2010-02-24 22:05:31 +00:00
wiz
d9f9f236b5 Describe -A more clearly. 2010-02-24 21:13:23 +00:00
wiz
dd464265dd Improve wording, remove unneeded Bk/Ek, various minor fixes. 2010-02-24 21:11:27 +00:00
joerg
c5228eec84 Sync with libarchive 2.8.0. 2010-02-20 20:24:24 +00:00
joerg
92030a7399 pkg_install-20100220:
Try harder to give the user an idea which file failed.
Addresses PR 42223.
2010-02-20 04:40:03 +00:00
joerg
3f6699de97 Regen. 2010-02-18 13:43:47 +00:00
joerg
7bcdd8fdf8 Reflect reality that pkg_add -uu == pkg_add -u. 2010-02-18 13:43:11 +00:00
joerg
6ddc0fa659 pkg_install-20100204:
Fix an enum to prevent crashes later (PR 42734)
2010-02-03 19:28:30 +00:00
joerg
2932d87873 pkg_install-20100203:
- Restore PKG_PREFIX in pkg_delete (PR 42731)
- Ensure that the current pkg_install version is at least as new as
  the version used to build the package
2010-02-03 14:20:14 +00:00
joerg
ffb3760dc8 G/C left over. 2010-01-30 21:35:08 +00:00
joerg
3fafb47772 Regen. 2010-01-30 20:10:04 +00:00
joerg
d73db715bb pkg_install-20100130:
Add -U for pkg_add.  It works similar to -u, but replaces an already
installed version.
2010-01-30 20:09:34 +00:00
joerg
f3a4ea160d pkg_install-20100126: Actually support IPv6. 2010-01-26 15:48:13 +00:00
joerg
ed39b0a848 Update config.guess/config.sub as they are used during bootstrap. 2010-01-23 23:43:58 +00:00
joerg
101af36298 Check -lnetwork for gethostbyname on Haiku. From PR 42665. 2010-01-23 22:41:43 +00:00
joerg
137b27d99e Fix linkage for create/delete. 2010-01-23 11:02:58 +00:00
joerg
36a9490bd6 Regen. 2010-01-22 13:33:30 +00:00
joerg
4c4efbcf34 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.
2010-01-22 13:30:41 +00:00
jmmv
ca1851b26f 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.
2010-01-21 21:58:05 +00:00
joerg
fbbcb80a26 I guess actually being OWNER is the only way to get a sensible time to
review patches and complain...
2010-01-20 23:17:12 +00:00
jmmv
eb371a0571 Revert previous, testing change committed by mistake. 2010-01-20 23:14:23 +00:00
jmmv
cb92cceb6c 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?!
2010-01-20 22:34:47 +00:00
tron
7edc6afe9a Undo unnecessary revision bump of this package. It doesn't require "jpeg",
has never required "jpeg" and will hopefully never require "jpeg".
2010-01-17 13:24:27 +00:00
wiz
672ef23395 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
joerg
4f6bbb3a46 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.
2009-11-05 16:22:32 +00:00
wiz
24713bd9c9 Add 2-clause-bsd to DEFAULT_ACCEPTABLE_LICENSES. 2009-10-25 21:32:17 +00:00
joerg
b3bcc7f40b pkg_install-20091022:
Do not overwrite a string with itself using snprintf. This breaks
setting the pkgdb directory internally on Linux. Explicitly check
if the string is the same and otherwise just use xstrdup.
2009-10-22 22:51:29 +00:00
joerg
6f43c89cc7 pkg_install-20091021:
Add support to query arbitrary variables with pkg_admin config-var.
2009-10-21 17:10:36 +00:00
joerg
7436f37809 pkg_install-20091015:
Use directory index caching by default.
2009-10-15 12:41:41 +00:00
joerg
89d0ea1a9b pkg_install-20091008:
- Fix German accent
- Don't dereference a null pointer for pkg_admin add
2009-10-08 16:16:12 +00:00
joerg
454d46f7ce pkg_install-20091006:
- restore pkg_add -f functionality for missing dependencies (PR 42001)
- pkg_admin rebuild should count packages correctly (he@), also count @pkgdb
- fix gpg-sign-package syntax in pkg_admin(1)
- change default URL for pkg-vulnerabilities to use HTTP
2009-10-07 12:53:26 +00:00
joerg
705d617c2b pkg_install-20090911:
- Cleanup configure.ac to not check for headers and functions not used
- Always use nbcompat/db.h on !NetBSD (PR 41865)
- Don't bother setting termwidth in pkg_info, it is never used.
2009-09-11 18:00:12 +00:00
wiz
6230e4ab53 Mark up PKG_PATH. 2009-08-17 05:06:38 +00:00
joerg
1e91eeeb76 Don't leak the config file. 2009-08-16 21:10:53 +00:00
joerg
2841c9455c pkg_install-20090817:
Add a new command for pkg_admin: findbest. It takes one or more patterns
and searches for the best match in PKG_PATH, just like pkg_add would.
It prints the URLs of the best match for each pattern to stdout.

Rewrite the config file parser to read the file only once.
2009-08-16 21:10:14 +00:00
joerg
83bceb29da Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was
computed incorrectly and included destdir more than once.

Fix the ACTIVE_FTP option to actually set the "a" flag and not the old
"p" flag.
2009-08-16 14:26:46 +00:00