Commit graph

643 commits

Author SHA1 Message Date
joerg
effa69a9d7 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
64adf0c850 Add 2-clause-bsd to DEFAULT_ACCEPTABLE_LICENSES. 2009-10-25 21:32:17 +00:00
joerg
671e489141 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
fb51cb65a3 pkg_install-20091021:
Add support to query arbitrary variables with pkg_admin config-var.
2009-10-21 17:10:36 +00:00
joerg
c78fbe9399 pkg_install-20091015:
Use directory index caching by default.
2009-10-15 12:41:41 +00:00
joerg
84329fdd40 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
465c648578 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
c419b4e0c6 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
ac81690e2d Mark up PKG_PATH. 2009-08-17 05:06:38 +00:00
joerg
d374fd0840 Don't leak the config file. 2009-08-16 21:10:53 +00:00
joerg
a44d636e1d 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
ae84d2dc25 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
wiz
dc4ee19bc7 regen. 2009-08-06 18:16:57 +00:00
wiz
f562b816f7 Bump date for CHECK_LICENSE. 2009-08-06 18:16:33 +00:00
wiz
c4f91c4a43 regen. 2009-08-06 18:15:41 +00:00
wiz
42ac050037 Bump date for -k. 2009-08-06 18:15:27 +00:00
wiz
24a8ca8027 regen. 2009-08-06 18:14:48 +00:00
wiz
531a02fc44 Bump date for previous. 2009-08-06 18:14:15 +00:00
joerg
1feca87cdb pkg_install-20090806:
- pkg_add: add support to check license conditions before installation
- pkg_delete: add -k option to skip over preserve packages.
2009-08-06 16:53:34 +00:00
joerg
3587185961 pkg_install-20090727:
Make pkg_install WARNS=4 clean and fix a number of lint warnings.
Based on reports from veego about warnings with older GCC releases in
pkg_delete, where a variable is potentially used uninitialized.
2009-08-02 17:56:44 +00:00
wiz
dcc7e8e6e1 Add mpl-1.0 (Mozilla Public License), and allow it by default.
(We already had version 1.1 in pkgsrc, this is needed for at least ptlib.)
2009-07-26 09:18:29 +00:00
joerg
e322a401bc pkg_install-20070724:
- license handling: accept upper case letters. Keep license checks
  case-sensitive as done in the older pkgsrc logic. Document this.
  OK dillo@, schmonz@, wiz@
- pkg_info:
  - fix handling of non-packages, that are valid archives
  - invert order of pkg_info -r to better match the expectations of
    make update.
2009-07-24 19:06:45 +00:00
tron
76437887cd Add "mpl-1.1" and "zpl" to the license which are accepted by default. 2009-07-15 10:24:13 +00:00
joerg
71d359d9d3 Never run the license check for this package to allow a proper update
path.
2009-06-14 15:08:45 +00:00
joerg
413e163ddb pkg_install-20090610:
Improve diagnostic around license handling.
2009-06-10 20:15:11 +00:00
joerg
0f6bbfec73 Fix typo. 2009-06-03 20:03:40 +00:00
ahoka
8f598fa767 Add miros to the default accepted licenses. 2009-06-03 16:45:17 +00:00
joerg
1435cf330d pkg_install-20090528:
I can't remember why the original pkg_install-renovation code disabled
extraction of ownership from packages, so reenable that.
2009-05-28 08:59:59 +00:00
joerg
bf2cff01f3 Sync license list with mk/license.mk. 2009-05-27 21:56:11 +00:00
joerg
c4f4275600 pkg_install-20090527:
Try harder to mimic the old pkg_delete behavior and provide a
topologically sorted output for pkg_info -r. Bail out on dependency
cycles based on recursion depth, currently 64K.
2009-05-27 20:26:03 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
wiz
12239df3b8 Sync default-accepted licenses with pkgsrc/mk/licenses.mk.
Bump version to 20090518.
2009-05-18 10:01:37 +00:00
wiz
9f06c66cbd regen. 2009-05-13 10:52:56 +00:00
wiz
6975c2b3fb usage: match man page more closely. 2009-05-13 10:51:46 +00:00
wiz
a13f8b378f Sort options in SYNOPSIS. 2009-05-13 10:51:33 +00:00
joerg
5b3521a978 Regen. 2009-05-13 03:35:36 +00:00
joerg
6156ed74c0 pkg_install-20090513:
Add pkg_create -F, which explicitly provides the compression type.
2009-05-13 03:33:50 +00:00
joerg
ac97e66040 G/C PlayPen and PlayPenSize. 2009-05-13 03:18:05 +00:00
joerg
34ca7f8f1b Fix spelling. 2009-05-10 21:11:43 +00:00
reed
93688a0e21 Add new metadata: PREV_PKGPATH and SUPERSEDES.
These will be available from pkg_summary(5) database.
To be used to find previous packages when a package is moved
or renamed. (Even though that is not recommended.)

Documented in pkgsrc Guide and in the pkg_summary(5) manual page.

Upcoming commit will have some packages modified to add them.
2009-05-02 16:14:37 +00:00
joerg
2f64176828 Regen. 2009-04-25 21:32:45 +00:00
joerg
28926842fa pkg_install-20090425:
Add logic to evaluate license conditions. As frontend for pkgsrc,
pkg_admin gets two new commands (check-license and
check-single-license), which can be used to evaluate a given condition.
pkg_add will be changed to honour licenses at a later point.
2009-04-25 21:31:13 +00:00
joerg
5baf67d213 Regen. 2009-04-24 14:13:06 +00:00
joerg
dbe6fb0a8c pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.
2009-04-24 14:00:25 +00:00
joerg
76d122cd42 Constify. 2009-04-24 01:03:41 +00:00
joerg
3a4f443ed9 If the plist doesn't have a @name tag in it, fake one up based on the
directory name.
2009-04-23 22:13:00 +00:00
joerg
ee93491f09 Require all plist commands to be in lower case. Nothing depends on that
and it was never documented that it worked either way, so being strict
doesn't hurt.
2009-04-23 19:53:52 +00:00
joerg
3748569021 Remove support to spell of @cwd as @cd. 2009-04-23 19:38:14 +00:00
joerg
6dc281ec17 Remove remaining parts of @mtree support. 2009-04-23 19:35:52 +00:00
joerg
7216c47ead Remove support and documentation for @ignore_inst. 2009-04-23 19:34:04 +00:00