Commit graph

5694 commits

Author SHA1 Message Date
rillig
2d305569db pkgtools/pkglint: bump version to 21.1.0
Just to match the upcoming pkgsrc branch 2021Q1.  No functional change.
2021-03-25 21:55:05 +00:00
rillig
0c499ed7a4 pkgtools/pkglint: update to 20.4.2
Changes since 20.4.1:

Error out on package directories that differ only in case.  This ensures
that pkgsrc can be used on case-insensitive file systems as well, such
as on macOS or Windows.
2021-03-22 23:26:30 +00:00
rillig
b357bab078 pkgtools/pkglint: update to 20.4.1
Changes since 20.4.0:

When a package has MAINTAINER set and there are modified local files,
only remind the user once per package that changes should likely be
approved by the maintainer.  Previously there was a reminder once per
file, which was just too much for a package that has Makefile and PLIST
and maybe some patches changed.

Small performance improvement for loading the doc/CHANGES files, since
that costs a few tenths of seconds at every startup.
2021-03-20 23:32:43 +00:00
bsiegert
f6095694fd Revbump all Go packages after go115 update 2021-03-19 17:36:46 +00:00
nia
43676aeadb pkg_install-20210308
- update pkg_add's examples in its man page for 2021 compliance.
2021-03-08 15:25:47 +00:00
ryoon
308e0736b1 pkg_install: Bump PKGREVISON to include odbl-v1 as acceptable license 2021-03-06 04:41:53 +00:00
ryoon
18113c40e6 pkg_install: Add odbl-v1 to default acceptable license list 2021-03-06 04:37:28 +00:00
nia
c84fb7cc75 check-portability: Skip more irrelevant file extensions 2021-03-03 10:19:59 +00:00
markd
e68a1c8da2 texlive2pkg: update to 1.9
change default version to 2020

restructure license handling
2021-02-20 05:08:37 +00:00
rillig
98fecffc73 pkgtools/pkglint: fix manpage and catpage installation
Reported by Chris Pinnock via private mail.
2021-02-13 15:30:23 +00:00
bsiegert
9956fb746f Revbump all Go packages after go115 update 2021-01-23 14:22:52 +00:00
jperkin
98c16dda3a mksandbox: Update to version 1.10.
Change the /dev/shm handling on Linux to account for systemd being a complete
nightmare and changing mount types behind your back automatically.

The previous fixed works fine, until it magically changes from a tmpfs with
1777 permissions to a devtmpfs with 0755 permissions, with obvious failures
resulting when building as non-root.

Tested on el6 and el7, with the latter now reliably able to build Python.
2021-01-22 11:59:52 +00:00
tnn
f82f98a0c5 pkg_rr: substitute pkg_admin with PKG_ADMIN_CMD. Bump to 0.24.10. 2021-01-15 10:56:52 +00:00
rhialto
fd4ea6db8e pkgtools/pkg_rolling-replace: Update to 0.24.9
When using the -u option to find mismatched packages, mark each affected
package with 'mismatch=YES'. Otherwise, consider such packages as
targets to rebuild.
ok gdt@.
2021-01-09 19:12:46 +00:00
riastradh
32ddee07dd pbulk: Avoid cleaning $prefix on every bulk build in master mode.
Whatever is in $prefix shouldn't affect the result -- both scanning
and building happen in the workers -- and it is a bit of a nasty
surprise for merely issuing bulkbuild-restart to nuke all the host's
installed packages.

ok joerg
2021-01-02 21:54:46 +00:00
jperkin
3d5974cc68 pkgin: Update to 20.12.1.
## Version 20.12.1 (2020-12-30)

 * Fix version selection of packages and dependencies for install.  Previously
   the first returned match would win, and preferred.conf was not considered
   for dependencies.
2020-12-30 09:21:22 +00:00
rillig
51dff228b6 pkgtools/url2pkg: bump version to 20.4.0 to match the upcoming branch 2020-12-28 01:48:19 +00:00
rillig
74d6177c30 pkgtools/pkglint: update to 20.4.0
No changes since 20.3.2, the version bump only synchronizes pkglint with
the upcoming branch.
2020-12-28 01:44:48 +00:00
maya
cea45b27e0 pkg_install-20201218
- Support continuing to install to /var/db/pkg if it exists and the
new pkgdb doesn't.
In the future, we can warn about this once we have tested advice that
we can give to users who want to move the location of pkgdb.

- Don't do anything about /var/db/pkg on non-NetBSD-base.
This creates conflicts with other package managers that also install to
/var/db/pkg.
2020-12-18 17:10:54 +00:00
rillig
bb4d1216d4 pkgtools/lintpkgsrc: update to 4.96
Changes since 4.95:

Do not complain about "Bogus: ${_SVN_PKGREVISION:...}" that are
generated by wip/mk/*-package.mk.  Using PKGREVISION to track the
current date of the package is the wrong approach; PKGVERSION_NOREV
should be used instead.  Anyway, this is nothing the average pkgsrc user
should be worried about, so shut up the warning for now.

https://mail-index.netbsd.org/pkgsrc-users/2020/12/16/msg032884.html
2020-12-17 16:17:44 +00:00
rillig
45c7d44f5e lintpkgsrc: remove trailing whitespace 2020-12-17 16:08:44 +00:00
jperkin
3c06f2c04f pkgin: Update to 20.12.0.
## Version 20.12.0 (2020-12-13)

 * Return correct MACHINE_ARCH when using $arch in repositories.conf.
2020-12-13 09:13:08 +00:00
wiz
010be68b75 pkg_install: carry over bugfix from src
christos: Don't try to memcpy (size_t)-1 bytes!
2020-12-12 19:25:19 +00:00
gutteridge
be7a4f5fc5 pkg_install: remove stray extra tab in perform.c 2020-12-12 04:12:47 +00:00
gutteridge
e8b0102e3d pkg_install: spaces->tabs for consistency in perform.c 2020-12-12 01:44:17 +00:00
wiz
963d7d00ba pkgin: just depend on pkg_install again
Bump PKGREVISION
2020-12-11 15:56:15 +00:00
wiz
a87bcbeb7a pkg_install-20201212: handle error case better
When pkg_delete fails, report it and error out.
2020-12-11 15:55:35 +00:00
jperkin
ffe4d41f92 pkg_install: Introduce support for CHECK_OS_VERSION.
When set to "no", pkg_add will not issue a warning if the host OS version does
not exactly match the OS version the package was built on.  This can be useful
on many OS where the kernel release version has nothing to do with userland
compatibility, or where it may differ without being ABI incompatible.

Ultimately it would be ideal if the version checks were smart enough across all
our supported OS to not need this, but until then this is useful for users who
know what they're doing.

Bump version to 20201211.
2020-12-11 10:06:53 +00:00
jperkin
c4face150c mksandbox: Copy mounts that are symlinks.
Resolves issues seen on newer Linux.  I've had this in my tree for a while,
ride previous version bump.
2020-12-07 13:05:12 +00:00
jperkin
1278ee7035 mksandbox: Update to version 1.9.
On Linux create an additional read/write bind mount for /dev/shm.  It should be
a tmpfs mount writeable by all users, whereas the default devtmpfs permissions
for the directory are 0755.

Fixes builds of newer python releases as a non-root user.
2020-12-07 12:35:52 +00:00
wiz
9480de01b1 pkg_install: update to 20201206
Convert a core dump I've been seeing into an error abort.
2020-12-06 17:23:09 +00:00
wiz
9975deff77 pkg_install: update to 20201205
Improve warning about old database to mention moving the refcount db too.
2020-12-05 16:17:41 +00:00
nia
f6dd9d2f87 Revbump packages with a runtime Python dep but no version prefix.
For the Python 3.8 default switch.
2020-12-04 20:44:57 +00:00
wiz
7ed702df9b pkgin: comment out pkg_install dependency
pkg_install required by mk is newer than what is required here, and the
DEPENDS here will always pull in the package even if the base system provides
a newer version.

Bump PKGREVISION.
2020-12-04 13:39:45 +00:00
riastradh
77697b790a Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
wiz
6ec5f1d9e7 pkg_install: remove two unused variables 2020-12-02 12:10:50 +00:00
wiz
f49aa64eb8 pkg_install: mark show_version as noreturn since it exits 2020-12-02 12:10:38 +00:00
wiz
e1908875f4 pkg_install: Merge some changes from NetBSD src/
No effective change intended, just ifdefs for bootstrapping.
2020-12-02 10:45:47 +00:00
wiz
c85d83c09c *: move default database directory from /var/db/pkg to ${PREFIX}/pkgdb
As discussed in August 2020 and previously on pkgsrcCon 2019.

Ok pkgsrc-pmc@
2020-12-02 10:22:39 +00:00
gutteridge
e9f2ddb23e verifypc: fix a typo in a comment 2020-12-02 01:03:40 +00:00
bsiegert
2915abcd8b Revbump all Go packages after go115 update 2020-11-13 19:26:03 +00:00
bsiegert
bea1f7d75a Revbump all Go packages after Go 1.15 update. 2020-11-08 21:59:09 +00:00
ryoon
2831546220 *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:07:25 +00:00
ryoon
4675ccbc79 *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:06:42 +00:00
jperkin
33012abda2 pkgin: Update to 20.11.0.
## Version 20.11.0 (2020-11-02)

 * Avoid segmentation fault when trying to install package conflicts.
 * Remove default 15 second download timeout, also fixing -fno-common.
 * Remove debugging code that snuck into the previous release.
2020-11-02 14:25:39 +00:00
maya
aa26c432dd Bootstrap: Fix bootstrap on FreeBSD 12.1, likely broken by an issue in lld.
It looks like lld doesn't want to statically link a libarchive without
resolving all of the symbols, even if only a few symbols are used.

In order to resolve all of the symbols, we need to also link with -lmd.
One generic way to do so is inspect Libs.private in the pkgconfig file.

While pkgsrc is likely not at fault here, having a dysfunctional bootstrap
is bad. We should check again in the future to see if this can be removed.

Actually fixes PR pkg/55400.
2020-10-28 16:52:43 +00:00
rillig
4663533aca pkgtools/pkglint: update to 20.3.2
Changes since 20.3.1:

The available Java versions are parsed from mk/java-vm.mk instead of
hard-coding them in pkglint.
2020-10-26 22:13:23 +00:00
maya
d48d1e6cf2 x11-links 1.32: updates for freetype 2.10.4 2020-10-21 15:18:30 +00:00
rillig
5d0523f3b0 pkgtools/url2pkg: update to 20.3.0
Changes since 20.2.0:

Fixed detection for V2 Cargo.lock files.  Patch provided by snow flurry
via tech-pkg, slightly adjusted.  The test case for Cargo.lock file
detection had been incomplete and unrealistic.  It has been extended to
show the relevant section of a whole package.

https://mail-index.netbsd.org/tech-pkg/2020/10/12/msg023897.html
https://mail-index.netbsd.org/tech-pkg/2020/10/13/msg023901.html
https://mail-index.netbsd.org/tech-pkg/2020/10/13/msg023902.html
2020-10-17 22:39:00 +00:00
bsiegert
de10215f91 Revbump all Go packages after go115 update. 2020-10-15 13:08:12 +00:00