Commit graph

689 commits

Author SHA1 Message Date
wiz
9990697242 Add png-license and add it to the default-allowed licenses.
(very similar to mit or modified-bsd, but different)
2011-01-13 13:25:56 +00:00
wiz
9716d96abf Don't warn about _ALPHA, _BETA, _PATCH, _RC, _STABLE mismatches
when pkg_add'ing on NetBSD. Bump version to 20101212.

Ok jym, gdt
2010-12-12 13:18:38 +00:00
joerg
ffbae87ee5 pkg_install-20101122: Fix crash in pkg_info -X on hand-written packages 2010-11-22 09:00:12 +00:00
christos
eaee84f4de mention that lists are space-separated. 2010-11-13 20:07:01 +00:00
wiz
838a1d3e52 Reset maintainer. 2010-09-15 13:55:15 +00:00
joerg
7006ab3f72 pkg_install-20100915: Allow https URLs. From mbalmer.
Reset maintainership.
2010-09-15 13:18:01 +00:00
gdt
360c2464e3 Add -D flag to pkg_install, to override the "pkg_add -U" check that
all depending packages have their dependencies satisfied by the new
package.  Essentially, split off this particular behavior as a special
case of -f, so that -f works as before, unforced works as before, and
one can give -D to override exactly this check, leaving all other
checks intact.

The -D flag is in support of make replace, as the workflow for make
replace is that inter-package dependencies are sometimes violated (but
then one must replace the depending packages, which is what
pkg_rolling-replace does via the unsafe_depends flags).

Bump PKGTOOLS_VERSION.

Add missing break statement in option parsing of "pkg_add -C", riding
the version bump.

Discussed extensively on tech-pkg@ over the summer.
OK pkgsrc-pmc@.
2010-09-14 22:26:18 +00:00
joerg
b418999441 pkg_install-20100616:
- Recognize -C for pkg_add like the rest of the tools do
- Do the existing check for pkg_add -f, it makes the combination of
  -f and -U a bit less surprising
- Fix option handling for CHECK_VULNERABILITIES (from spz@)
- Make end-of-life check the default. pkg_install.conf(5) can be used to
  override the default. The existing admin -e & co continue to work as
  before.
2010-06-16 23:02:48 +00:00
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