Commit graph

725 commits

Author SHA1 Message Date
christos
5d7a28b788 Check for defined before checking for empty, otherwise old make(1) fails
to build during bootstrap.
2012-05-15 16:43:53 +00:00
christos
6f22d3b202 sync with license.mk (thanks wiz) 2012-04-29 01:46:48 +00:00
brook
5953ecd2a0 Add the Lucent Public License v1.02 to default_acceptable_licenses. It is
approved as open source by OSI.
2012-04-15 20:55:50 +00:00
wiz
d8b24937cd Restore previous version, accidentally committed with pcre PKGREVISION
bump. It would be nice to have a solution for catinstall being unset
on -current so I don't need these patches.
2012-03-04 11:40:46 +00:00
wiz
b630ed46ca More pcre PKGREVISION bumps. 2012-03-03 12:54:15 +00:00
joerg
3051013505 Revert last. Don't hide issues. Pass down MANINSTALL via MAKE_ENV to get
the correct value.
2012-03-01 21:40:00 +00:00
jklos
fac8a52e9e Don't fail if MANINSTALL is not defined. 2012-03-01 20:13:42 +00:00
joerg
aa3550ce73 Honour MANINSTALL. 2012-02-28 18:15:25 +00:00
wiz
04671f6d46 Fix typo in variable name. From dieter roelants in private email.
Bump date.
2012-02-22 23:56:03 +00:00
wiz
f3a3cced27 Revert unintended commits. 2012-02-22 15:39:43 +00:00
wiz
6aa41fe860 Mention putty-devel successor. 2012-02-22 15:31:34 +00:00
wiz
9c4d7a302a Merge changes from src/external/bsd/pkg_install. 2012-02-21 18:32:14 +00:00
wiz
2a9a39bbba Bump version for pkg_add bug fix. 2012-02-21 14:54:41 +00:00
wiz
8f4a85152a Fix PR 46068 using the patch by Nicolas Thauvin:
pkg_add fails to install a package when subdiretories are missing
in the path to package directory in /var/db/pkg.
2012-02-21 13:32:24 +00:00
joerg
45b09d2281 pkg_install-20120128:
- Explicitly stat(2) if mkdir failed. errno detection doesn't work e.g.
on Solaris (PR 45289)
- Provide a stable order for package names that only differe in the base
name, not the version number.
2012-01-28 12:33:04 +00:00
wiz
6a32532460 Add zlib license. 2012-01-28 10:46:08 +00:00
wiz
5a969f704c Add Mozilla Public License v2.0 (mpl-2.0) and mark it as default-acceptable. 2012-01-04 11:53:38 +00:00
joerg
176defd0ce Fix license list. 2011-12-19 12:57:16 +00:00
ryoon
f66e355894 Add lppl-1.3c and epl-v1.0 to default_acceptable_licenses. 2011-12-15 22:16:55 +00:00
ryoon
a6317a2bab Remove gnu-agpl-v3 from hardcoded default acceptable list.
Sync with DEFAULT_ACCEPTABLE_LICENSES in mk/license.mk.
See http://mail-index.netbsd.org/tech-pkg/2011/11/30/msg008081.html .
2011-12-01 22:07:21 +00:00
ryoon
fc907a352d Add gnu-agpl-v3 to the default list. 2011-11-26 19:19:42 +00:00
cheusov
c6bc0e5f4b Workaround for PR 45491 again. 2011-10-28 21:19:42 +00:00
cheusov
b431a23c1a Document optional variable FILE_CKSUM. Approved by wiz@. 2011-10-19 21:15:39 +00:00
wiz
47f00f034b pkg_delete -R does not remove all leaves.
Fix from Anthony Mallet on tech-pkg.

While here, fix a typo in a comment.
2011-09-29 23:30:21 +00:00
agc
2c27b9f1b5 Fix for pkg_delete on NFS from Anthony Mallet.
Problem analysis from Anthony:

	On Wednesday, at 23:52, Anthony Mallet wrote:
	> # rm -rf ~tmp && mkdir ~/tmp
	> # pkg_add -K ~/tmp/var/db/pkg -p ~/tmp /usr/pkgsrc/packages/All/digest-20080510.tgz
	> # pkg_add -U -K ~/tmp/var/db/pkg -p ~/tmp /usr/pkgsrc/packages/All/digest-20080510.tgz
	> pkg_delete: Couldn't remove package directory in `/home/tho/tmp/var/db/pkg/digest-20080510'
	> Also, the dir var/db/pkg/digest-20080510.xxxxxxx is never cleaned.
	>
	> The problem apparently is that pkg_delete finds some stalled NFS entries
	> (.nfs*) in the var/db/pkg/digest-20080510 dir, so it does not delete the
	> directory. Is this due to pkg_add not correctly closing file descriptors before
	> exec'ing pkg_delete? For instance, I really don't understand the logic in
	> check_already_installed() (add/perform.c:375) regarding the open() of +CONTENTS
	> which is almost never closed (and never used as well...). Shouldn't this be
	> closed before running pkg_delete?

	ktrace shows that the +CONTENTS file is open() by pkg_add, I believe this is in
	check_already_installed(), add/perform.c:381. Then pkg_delete is run and when
	it comes to deleting the pkgdir entry, it finds that .nfs file and aborts.

Bump version to 20110805
2011-08-05 07:04:28 +00:00
taca
99a4bbbad4 Add "php" to default_acceptable_licenses.
* Why DEFAULT_ACCEPTABLE_LICENSES is hardcoded here?
* Should I update pkg_install's version?
2011-06-29 03:16:27 +00:00
ryoon
470413bfa1 Add mplusfont and cc-by-sa-v3.0 to the default list. 2011-05-08 10:53:22 +00:00
obache
df3841d3a4 net/libfetch is USE_BSD_MAKEFILE, pass ${BSD_MAKE_ENV} additionally for
building libfetch.

Fixes PR#44881, it will be happend with groff from pkgsrc.
2011-04-26 12:17:51 +00:00
adam
1ba2cd26ed Added postgresql-license 2011-04-22 08:16:42 +00:00
morr
8b49f986f4 Add linux to list for retaining the numeric OS version.
Fixes PR pkg/43622.
2011-04-20 09:57:25 +00:00
wiz
e7b199c42c Allow GNU GPL v1 by default. 2011-04-01 13:11:07 +00:00
bad
7d9cc831fe Add unlicense to default_acceptable_licenses. Per advice by wiz. 2011-03-17 23:07:52 +00:00
aymeric
c28122ce4f . fix audit-history subcommand to include patterns making use of [x-y] notation
. bump version to 20110215
2011-02-18 15:59:52 +00:00
schnoebe
7e097075b6 Bring in boost-license, 1.0. Certified by OSI as an Open Source
license.
2011-02-06 18:54:49 +00:00
agc
a50bf9ea3e This package needs someone to look after it - I'll do that for just now. 2011-01-31 07:25:03 +00:00
agc
2414a1bf68 Protect against de-referencing a pointer which might be NULL.
Fixes PR pkg/44476 from Uwe Klaus
2011-01-31 07:22:15 +00:00
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