Commit graph

847 commits

Author SHA1 Message Date
rillig
9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
joerg
47fa1134f9 Use tab for indendation as the rest of the block. 2019-10-13 21:50:54 +00:00
joerg
7cc86d5212 Use __UNCONST to remove const attributes before free. 2019-10-13 21:49:36 +00:00
joerg
a07706e7d6 pkg_install-20191008: Add pkg_admin digest command 2019-10-11 11:57:41 +00:00
joerg
fe227f6b78 pkg_admin(1): sort commands 2019-10-08 21:33:35 +00:00
jaapb
122fe90bf0 Added CeCiLL-B license.
This is a free software license according to the FSF:
https://www.gnu.org/licenses/license-list.en.html#CeCILL-B
2019-07-02 09:28:12 +00:00
adam
eae608d908 libarchive: updated to 3.3.3
libarchive 3.3.3:
Avoid super-linear slowdown on malformed mtree files
Many fixes for building with Visual Studio
NO_OVERWRITE doesn't change existing directory attributes
New support for Zstandard read and write filters
2019-04-10 08:24:03 +00:00
sevan
fdc3a15828 Bump date for switch to cdn.NetBSD.org 2019-04-05 22:53:29 +00:00
sevan
f2e9355c35 Switch to using the CDN for fetching the pkg-vulnerabilities files.
No negative responses on tech-pkg.
ok gdt bsiegert
2019-04-05 21:36:35 +00:00
wiz
5547fd6f4f Revert previous for now. 2019-02-10 21:35:01 +00:00
wiz
40b6e19ea9 mk: allow Affero GPL by default
This follows a recent TNF board decision.
2019-02-06 14:38:02 +00:00
maya
6c25dec844 Remove clauses 3,4 from TNF-only copyright blocks.
This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.

This change has been applied to code which is likely not in other
repositories.

ok board@, reviewed by riastradh@
2018-08-22 20:48:36 +00:00
leot
8102f20bb9 pkg_install: Sync with DEFAULT_ACCEPTABLE_LICENSES in mk/license.mk
Add `cc-by-sa-v4.0', `cc-by-v4.0' and `osl' to *default_acceptable_licenses to
sync it with DEFAULT_ACCEPTABLE_LICENSES of mk/license.mk.
2018-08-14 13:21:07 +00:00
joerg
3d1452b99c pkg_install-20180425: correctly detect package names in PKG_DBDIR
If PKG_DBDIR is /foo and a path like /foobar is given, it is not below
PKG_DBDIR, so don't translate it into a package name look up. The old
logic for giving a path to PKG_DBDIR remains for legacy compat.
2018-04-25 12:20:53 +00:00
jperkin
80b9bc0769 pkg_install: Update to 20180417.
Fix an issue in pkg_create where we may have been using corrupted owner and
group information.  Noticed on macOS where libarchive would complain about
the owner entry being too long.  Reviewed by joerg.

Also includes some manual page improvements committed recently.
2018-04-17 12:52:35 +00:00
sevan
fd36e12c89 X509_get_extended_key_usage and X509_get_extension_flags definitions are also
needed for LibreSSL.


Tested on OpenBSD/amd64 6.3
2018-04-05 21:19:32 +00:00
sevan
08fcbf11f4 regen catalog files using mandoc. 2018-03-27 22:38:04 +00:00
sevan
86a6aac4d8 Switch from nroff to using mandoc for updating catalog file in the update-catpages
target. This results in closer resemblence to the actual mdoc manuals.

Reviewed by <wiz>
2018-03-27 22:29:38 +00:00
sevan
5210fe357c Bump version for commits earlier this week.
pkg_install-20180325
- pkg_add(1): Documentation fixes
- pkg_delete: Add missing -A to usage()
2018-03-25 03:56:28 +00:00
sevan
c34b2e0d6f List options alphabetically. 2018-03-21 17:32:44 +00:00
sevan
3486b6c44a Document -h option. 2018-03-21 17:26:58 +00:00
sevan
218c21e89e Add missing -A to usage() 2018-03-21 14:35:35 +00:00
ginsbach
c0031b705a pkg_install-20180226:
- add option to include IGNORE_URL pkg_install.conf entries in audit
  but flagged as "ignored".
- bump version to 20180226
2018-02-26 23:45:01 +00:00
kamil
432700fb0d pkg_install: Recognize the happy license as acceptable
Noted by <wiz>
2018-02-05 00:07:56 +00:00
rillig
c77d3c5335 pkgtools/*: Realign variables in Makefiles
Mainly done by pkglint, manually reviewed and improved in some few cases.
2018-01-27 19:07:46 +00:00
jperkin
0a2e49d194 pkg_install: Bump version to 20171030 for netpgpverify fixes. 2017-10-30 12:03:50 +00:00
maya
7bada3c053 pkg_install: Fix OpenSSL 1.1.0 build
OpenSSL 1.1.0 makes xkusage and ex_flags opaque.

Use X509_check_ca rather than a custom and nearly identical implementation.
This is available since OpenSSL 0.9.8 (even in RHEL5).

This is also done because we cannot implement it identically under
OpenSSL 1.1.0 due to missing getters.

Test EXFLAG_XKUSAGE rather than zero xkusage test no usage to avoid openssl
1.1.0 getter returning a different code on this case.

Use getter for xkusage in the non-zero test case.

Provide fallback definitions for getters.

PR pkg/52298, PR pkg/52648
2017-10-24 15:54:31 +00:00
tnn
c1cabe0f9e Consolidate openssl handling to options.mk. In particular, do not
pass --with-ssl to configure when the option is actually disabled.
2017-07-27 18:54:44 +00:00
joerg
627d49c3b0 Undef bootstrap hack. 2017-07-16 16:51:48 +00:00
jperkin
61cb3cd803 Add zsh to default_acceptable_licenses. 2017-05-11 15:15:21 +00:00
joerg
be58ddee57 Drop PKG_REVISION. Should never be set here in first place. 2017-04-20 14:38:40 +00:00
joerg
f0b1ff36d9 pkg_install-20170419:
- Convert to libarchive 3.x interfaces, avoiding the legacy glue.
- Rename local copy of netpgpverify to match installed headers.
- Shuffle bootstrap code to reduce special cases in pkg_add.
- Always read/write file names in tar archives as binary. While they are
  supposed to be UTF-8, locale conversion creates more problems than it
  solves here.
- Fix const correctness in gpg_verify.
- Add format string annotation for xasprintf for GCC-like compilers.
- Restrict supported archive formats for binary packages to ar (signed
  packages) and tar (actual content) with uncompressed/gzip/bzip2/xz as
  compression choices. This reduces the exposed libarchive surface.
- The pkg-vulnerability file correspondingly supports only the same
  compression choices.
2017-04-19 21:42:50 +00:00
sevan
a699bc814e Update message to match the "Checking for security vulnerabilities in installed packages"
section in the pkgsrc guide.
2017-01-09 07:01:33 +00:00
jperkin
5067dbcc65 Pass --without-lz4 to libarchive bootstrap, avoids issues on Gentoo where
the native lz4 is found.
2017-01-03 17:53:14 +00:00
spz
5a1d0ee4bd add unicode to DEFAULT_ACCEPTABLE_LICENSES 2016-11-18 09:43:39 +00:00
wiz
59c4a9f6b5 Allow sissl-1.1 per default
See
https://opensource.org/licenses/sisslpl
2016-10-03 11:49:31 +00:00
wiz
577e1cde9e ibm-public-license-1.0 -> ipl-1.0 2016-10-03 08:30:20 +00:00
agc
b5419701b7 catch up with the new opaque pgpv_t and pgpv_cursor_t structures in libnetpgpverify. 2016-07-06 21:00:04 +00:00
wiz
6d90854bd9 Remove last traces of bmp here too.
Was not installed for a long time and recently removed from NetBSD base.
2016-06-30 17:42:04 +00:00
joerg
f1950d6871 Disable maintainer mode for libarchive. 2016-06-21 12:23:01 +00:00
leot
cf2c59f74f Add hpnd to DEFAULT_ACCEPTABLE_LICENSES and *default_acceptable_licenses.
Discussed in tech-pkg@:
http://mail-index.netbsd.org/tech-pkg/2016/04/20/msg016755.html

Thanks to Memnon Anon!
2016-04-21 07:51:51 +00:00
joerg
4e86439aac pkg_install-20160410:
Remove pkgdb handling logic from pkg_create, where it should have never
been in first place. Ignore former -U option as new default.
2016-04-10 19:01:19 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
jperkin
d05cac7252 Use OPSYSVARS. 2016-02-25 17:25:05 +00:00
agc
b1e09097a6 make the name of the header file correct here too 2016-02-14 08:37:25 +00:00
agc
ae9504f186 Fix a small typo to ensure the name of the header file is correct. 2016-02-14 08:06:54 +00:00
wiz
2a9c8e31cf Add paratype to default-allowed licenses, since it is basically ofl-v1.1. 2016-02-10 10:50:18 +00:00
tron
1f01e1f5ac Fix syntax error 2016-01-21 21:32:22 +00:00
joerg
5304860a3e Explicitly disable libarchive's LZMA support if no builtin XZ was found
or if the user requested it to be disabled. Helps on systems with lzma.h
and no usable library.
2016-01-21 18:11:31 +00:00