Commit graph

833 commits

Author SHA1 Message Date
wiz
8ab127a536 Add the GUST Font Source License (GFSL) from
http://ctan.org/license/gfsl

Since this is basically the LaTeX Project Public License with one clause
removed, add it to the default acceptable licenses.
(lppl is fine with both OSI and FSF and already allowed.)
2015-05-02 13:21:37 +00:00
joerg
73982d96a0 Since CONFIG_*_OVERRIDE replaces the automatic list, add ${WRKSRC}
manually.
2015-04-21 00:28:19 +00:00
rodent
a8a7c601b6 default_acceptable_licenses+=w3c 2015-04-19 22:19:15 +00:00
jperkin
7243ee4d58 Ensure we do not try to regenerate the fetch catpage. Avoids possible
issues on platforms where nroff isn't native.
2015-04-02 23:06:34 +00:00
pho
763c3057a4 Add AC_SYS_LARGEFILE to files/configure.ac
Given that libarchive is built with large file support, pkg_install
needs it too. Otherwise libarchive and pkg_install may see different
definitions of types such as struct stat, resulting in a runtime
failure on some platforms (especially Darwin 9):

  % bmake package
  => Creating binary package /usr/pkgsrc/pkgtools/pkg_install/work/.packages/pkg_install-20141227.tgz
  pkg_create: cannot write to archive: tar format cannot archive this (type=00)

The reason why this was unnoticed until now is that libarchive's
"configure" has just been regenerated with Autoconf 2.69. Prior to
2.69, AC_SYS_LARGEFILE did nothing significant on Darwin so there was
no actual inconsistency between libarchive and pkg_install, which was
just coincidental.
2015-01-22 18:15:39 +00:00
jperkin
ce0d0b89c4 Move -larchive from the general LIBS variable to each program that needs it,
prevents us from attempting to link the inplace libarchive against itself.
Fixes build on systems which do not include a native libarchive, and avoids
possible issues on systems which do.

Tested on SmartOS (no native libarchive) and OS X in both builtin and pkgsrc
configurations.  Ok joerg@.
2015-01-22 09:19:47 +00:00
adam
3827883f7e Fix building with libarchive v3; cosmetics 2015-01-20 19:15:56 +00:00
wiz
a5661f099c Fix example, noted by htodd. 2015-01-11 22:53:44 +00:00
wiz
98b6b1422a Restore pkg_admin 'add' command; it's still used by bootstrap in one place. 2015-01-02 14:26:16 +00:00
wiz
009a078654 regen (using 'mandoc -Ios=pkgsrc') 2014-12-30 15:17:28 +00:00
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
schmonz
fd482f2fbd Spell "vulnerabilities" correctly. 2014-12-05 14:31:07 +00:00
prlw1
7db652e722 typos 2014-11-05 14:40:01 +00:00
wiz
4008ea7f61 New sentence, new line. Bump date for recent changes. 2014-10-28 06:58:22 +00:00
cheusov
b9b7b500a1 IGNORE_OSABI was renamed to CHECK_OSABI 2014-10-28 02:08:38 +00:00
cheusov
65d779ade2 New config parameter IGNORE_OSABI was added to pkg_install.conf.
If it is "yes", pkgtools/osabi package does not check kernel version.
Oked by bouyer@
2014-10-27 00:12:47 +00:00
wiz
0a3fb5512c Add openssl license and allow it by default, since it's FSF approved:
http://www.gnu.org/licenses/license-list.en.html#OpenSSL
2014-05-15 09:59:09 +00:00
wiz
ec5c09997e Add cecill-2.1 and allow it per default.
OSI-approved, see
http://opensource.org/licenses/CECILL-2.1
2014-04-16 14:41:21 +00:00
wiz
6129186986 Fix typo. 2014-03-19 21:45:12 +00:00
wiz
5a2384ea22 Add European Union Public Licence and add it to default allowed licenses,
since it's OSI-approved:
http://opensource.org/licenses/EUPL-1.1

ok@ gdt
2014-03-18 15:11:38 +00:00
ryoon
2cadd68123 Fix build under SCO OpenServer 5.0.7/3.2 2014-03-14 22:09:04 +00:00
obache
34637a70ac Just define PKGNAME and use it. 2014-03-03 03:30:52 +00:00
richard
e0578d6253 Add special case for dependency checking in 'non-bootstrap' builds,
don't redefine 'pkg_info' if it already exists.
This is notably for pkg_rolling_replace -u in case pkg_install
was revbump'd and openssl happens to be in PKG_DEFAULT_OPTIONS.
2014-02-21 18:18:49 +00:00
tron
c64e9eb269 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:18:26 +00:00
jperkin
9582311a77 Add CATMAN_SECTION_SUFFIX support. 2013-09-12 11:03:10 +00:00
wiz
ea73376087 Fix pkg_info -X segfault when last entry wasn't terminated with \n.
Addresses PR 48207.
2013-09-12 07:28:28 +00:00
wiz
083eff9c30 Add missing files to 'make distclean'.
Fix a typo.
2013-09-11 14:39:21 +00:00
khorben
d915c85610 Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly failing
in the verify_signature_read_cb() callback.

Partly closes PR pkg/48194; pkgsrc needs to be updated as well.

"please commit" agc@

XXX pull-up to netbsd-6
2013-09-11 14:10:05 +00:00
jperkin
9f9d79bc6f pkg_install-20130902: Fix 'pkg_add -f'.
Remove incorrect return value when in force mode, which was causing pkg_add
to exit with failure even though the operation completed successfully.  This
also fixes the case where 'pkg_add -uf' would leave an update in an
inconsistent state.
2013-09-02 10:28:44 +00:00
jperkin
8be7ef8937 Remove files inside pkgdb directory before trying to remove the directory
itself.  Copied from similar code in pkg_delete.

This fixes the issue when an +INSTALL script fails but the pkgdb directory
couldn't be removed, leading to an inconsistent state.
2013-08-21 11:46:02 +00:00
obache
21da31ed9a * BSD/OS and OSF/1 are also missing `z' modifier support for printf(3) format.
* bare `zu' modifier is used, it should be replaced with `PRIzu` instead.

Fixes crash with `pkg_admin rebuild' on platforms missing %z support,
PR pkg/48070.
2013-08-03 11:45:14 +00:00
wiz
b6d125ee08 Use Mt for email addresses. 2013-07-20 21:50:52 +00:00
wiz
c7ccfda434 Add cc0-1.0-universal here as well. 2013-07-09 21:06:12 +00:00
riastradh
418ec8861c Remove now-redundant include of bsd.prefs.mk. 2013-06-05 18:20:55 +00:00
obache
5a8fb24367 require bsd.prefs.mk before using condition. 2013-06-05 04:24:58 +00:00
martin
cea747688b var_get_memory():
if no eol is found in the string we set "next" to NULL, assign it
to "buf" and then check the loop condition by dereferencing it - which
does not work well.
Change the loop condition to first check for buf == NULL.
2013-05-17 07:27:29 +00:00
riastradh
be08346321 Fix cross-build of pkgtools/pkg_install.
Can't execute the newly built tools if they were cross-built.

(This is not especially useful until we do cross-bootstrap, though.)

ok agc
2013-05-10 00:49:00 +00:00
rodent
c839138986 Adding sgi-free-software-b-v2.0 to DEFAULT_ACCEPTABLE. Approved by FSF:
http://www.gnu.org/licenses/license-list.en.html#SGIFreeB
2013-05-05 21:09:59 +00:00
rodent
6b5369c4bd +arphic-public +ofl-v1.0 +ofl-v1.1 -open-font-license 2013-04-19 17:22:23 +00:00
rodent
b65af7be2b Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +00:00
wiz
d45d04850b Sync licenses with mk/ 2013-03-14 16:23:11 +00:00
wiz
c6588da40e Fix build with clang. 2013-02-21 22:39:58 +00:00
obache
d237803594 Fix OPSYS for Cygwin (formerly using CYGWIN before importing Cygwin support). 2013-02-14 09:13:41 +00:00
obache
de5ce483d7 Also set NUMERIC_VERSION_ONLY for Cygwin,
eliminate (api_major.api_minor/shared_data/mount_registory) part.
2013-02-10 12:46:56 +00:00
obache
92c1cece65 As noted in libarchive/archive_entry.h, need to define LIBARCHIVE_STATIC
for Windows (Cygwin) to using static library.
2013-02-10 12:43:19 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
wiz
2e2d576aa2 Shut up warnings about 6.0 packages on 6.0.1 (and similar).
Welcome to 20130131.
2013-01-31 10:25:30 +00:00
agc
ad86a8e611 Update manual pages for better wording, and a better usage display for
pkg_info(1) - from Bug Hunting in PR pkg/47328. The following text is
taken from Bug's PR:

	The pkg_info(1), pkg_admin(1), and pkg_install.conf(5) man pages
	from pkgsrc' pkgtools/pkg_install package contain errors, have
	inaccurate / incomplete / illogically ordered descriptions, have
	incorrect macro usages / macro errors, miss an option description
	(`-h', for pkg_info(1)), and / or contain other imperfections.

	In short: these man pages can use a big correction update.

	Additionally, the `usage' message in main.c from pkg_info(1) contains
	an incorrect option order.
2012-12-17 04:34:02 +00:00
wiz
5e87917fac Add sleepycat-public to default allowed licenses here as well. 2012-12-13 08:30:10 +00:00
joerg
19fb78c20e Deal with messed up linkage on Linux by always linking against libcrypto
and libssl when linking against libfetch, if the latter is built with
SSL support.
2012-10-21 09:08:56 +00:00
joerg
c6ec1b5a05 Revert bogus warning flags. 2012-10-15 21:27:08 +00:00
marino
50de9b75be pkgtools/pkg_install: Fix build on gcc4.7
pkg_install uses source files from net/libfetch so it needs the same
no-strict-alias flag at libfetch when building on gcc 4.7
2012-10-09 07:36:08 +00:00
asau
5c2dd9e784 "user-destdir" is default these days 2012-09-11 23:19:33 +00:00
jperkin
2eb9c2ce25 Ensure that SSL support is completely disabled if the user has requested
that we prefer pkgsrc for OpenSSL.  While the latter doesn't actually work
yet, it's better that we are deterministic about this and do not pick up
the system OpenSSL regardless.
2012-07-27 14:26:36 +00:00
jperkin
6a6690253d Pull in the correct libraries when enabling SSL support in libfetch. 2012-07-27 13:50:43 +00:00
jperkin
695b44ea60 Sync with net/libfetch/options.mk so that the bundled libfetch can be
correctly built without SSL support.
2012-07-27 13:20:26 +00:00
wiz
cfea0bd5ba Add example for pkg_info -Fe, based on a suggestion by Hishashi T Fujinaka
in PR 46654.
2012-07-06 08:15:57 +00:00
wiz
f98e8b0585 Add inet6 to default suggested options. It's 2012. 2012-06-12 15:45:54 +00:00
christos
57455ff4b6 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
d25efd8248 sync with license.mk (thanks wiz) 2012-04-29 01:46:48 +00:00
brook
f3c7a5640f 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
654bc06b1f 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
e0808f0de0 More pcre PKGREVISION bumps. 2012-03-03 12:54:15 +00:00
joerg
9a42f2fe20 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
77d65de3a0 Don't fail if MANINSTALL is not defined. 2012-03-01 20:13:42 +00:00
joerg
c0e46056fc Honour MANINSTALL. 2012-02-28 18:15:25 +00:00
wiz
fb598306db Fix typo in variable name. From dieter roelants in private email.
Bump date.
2012-02-22 23:56:03 +00:00
wiz
afe04b932a Revert unintended commits. 2012-02-22 15:39:43 +00:00
wiz
10b42eef42 Mention putty-devel successor. 2012-02-22 15:31:34 +00:00
wiz
a34c1a6627 Merge changes from src/external/bsd/pkg_install. 2012-02-21 18:32:14 +00:00
wiz
8c0f095251 Bump version for pkg_add bug fix. 2012-02-21 14:54:41 +00:00
wiz
8be7062f27 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
3ce4880b5c 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
12f39f9fab Add zlib license. 2012-01-28 10:46:08 +00:00
wiz
89d519c651 Add Mozilla Public License v2.0 (mpl-2.0) and mark it as default-acceptable. 2012-01-04 11:53:38 +00:00
joerg
97d1fcc178 Fix license list. 2011-12-19 12:57:16 +00:00
ryoon
a072f2596b Add lppl-1.3c and epl-v1.0 to default_acceptable_licenses. 2011-12-15 22:16:55 +00:00
ryoon
270a0b35a2 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
826e7ec8cd Add gnu-agpl-v3 to the default list. 2011-11-26 19:19:42 +00:00
cheusov
8249841c62 Workaround for PR 45491 again. 2011-10-28 21:19:42 +00:00
cheusov
c552f46850 Document optional variable FILE_CKSUM. Approved by wiz@. 2011-10-19 21:15:39 +00:00
wiz
c919268d4e 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
e5061b6f81 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
f87fcdb5d8 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
65d0907fb6 Add mplusfont and cc-by-sa-v3.0 to the default list. 2011-05-08 10:53:22 +00:00
obache
cae9dbcdea 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
2c35b05632 Added postgresql-license 2011-04-22 08:16:42 +00:00
morr
d9213b73d6 Add linux to list for retaining the numeric OS version.
Fixes PR pkg/43622.
2011-04-20 09:57:25 +00:00
wiz
8ad22f5cfd Allow GNU GPL v1 by default. 2011-04-01 13:11:07 +00:00
bad
77c589a414 Add unlicense to default_acceptable_licenses. Per advice by wiz. 2011-03-17 23:07:52 +00:00
aymeric
39ed5d2ec1 . 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
9183be950b Bring in boost-license, 1.0. Certified by OSI as an Open Source
license.
2011-02-06 18:54:49 +00:00
agc
3d2906b41f This package needs someone to look after it - I'll do that for just now. 2011-01-31 07:25:03 +00:00
agc
9891855ef3 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
61eb916759 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
7eaf427383 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
e1f372d84e pkg_install-20101122: Fix crash in pkg_info -X on hand-written packages 2010-11-22 09:00:12 +00:00
christos
2187770975 mention that lists are space-separated. 2010-11-13 20:07:01 +00:00
wiz
f862ee827f Reset maintainer. 2010-09-15 13:55:15 +00:00
joerg
bb63d1cfd3 pkg_install-20100915: Allow https URLs. From mbalmer.
Reset maintainership.
2010-09-15 13:18:01 +00:00