Commit graph

5684 commits

Author SHA1 Message Date
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
bacon
87edcb24b1 math/blas, math/lapack: Install interchangeable BLAS system
Install the new interchangeable BLAS system created by Thomas Orgis,
currently supporting Netlib BLAS/LAPACK, OpenBLAS, cblas, lapacke, and
Apple's Accelerate.framework.  This system allows the user to select any
BLAS implementation without modifying packages or using package options, by
setting PKGSRC_BLAS_TYPES in mk.conf. See mk/blas.buildlink3.mk for details.

This commit should not alter behavior of existing packages as the system
defaults to Netlib BLAS/LAPACK, which until now has been the only supported
implementation.

Details:

Add new mk/blas.buildlink3.mk for inclusion in dependent packages
Install compatible Netlib math/blas and math/lapack packages
Update math/blas and math/lapack MAINTAINER approved by adam@
OpenBLAS, cblas, and lapacke will follow in separate commits
Update direct dependents to use mk/blas.buildlink3.mk
Perform recursive revbump
2020-10-12 21:51:57 +00:00
mcf
6df575e40c pkg_install: fix stage in verbose log message
This function is also used to run with POST-INSTALL, so adjust the
log message to match the argument passed to the install script.
2020-10-09 07:37:20 +00:00
rillig
a2d164ca60 pkgtools/pkglint: update to 20.3.1
Changes since 20.3.0:

URLs from cpan.metacpan.org should not be used as HOMEPAGE for Perl
packages since they don't provide an overview over the package, instead
the just list the distribution files.

Lines in doc/CHANGES may contain the pattern "Removed <pkgpath> version
<version>".  Before, only "Removed <pkgpath>" (without additional
information) or "Removed <pkgpath> successor <pkgpath>" were allowed.
Mentioning the last seen version number sounds useful.  It is not
cross-checked right now; that check may be added later.
2020-10-06 18:40:50 +00:00
jperkin
6a2c352e2e pkgin: The cat page is no more. 2020-10-06 15:15:31 +00:00
rillig
49a507177c pkgtools/pkglint: update to 20.3.0
Changes since 20.2.6:

None
2020-09-25 13:56:09 +00:00
khorben
0742b9d1de pkg: update to version 1.10.99.7
Changes from pkg 1.10.99.6 to 1.10.99.7
- Sort fts traversal in repo creation
- Fix floating pint exception when packaging packages with weird elf files
- More test cases for config merge
- Fix running the testsuite on linux and osx
- Fix pkg version regarding flavors
- Add support for creating packages with a hash in their names
- Accept DT_SONAME anywhere in .dynamic
- make pkg version -r imply -R
- Some fixes for the progression display
- Rename some variables in security periodic scripts.
- Parse FreeBSD OS version and forbid to install too new packages

Changes from pkg 1.10.99.5 to 1.10.99.6
- Lots of fixes/improvements on periodic scripts
- Fix typo in the .pc file
- Only check for origin if the strings contains / in pkg version
- Support flags when exporting the metalog
- Ignore flags when installing as a user
- fix again using pattern as package arch
- recognize armv7
- add %q to pkg_printf(3) and pkg-query(8) to print altabi
- add an extra line when printing pkg-messages to improve readability
- stop considering nfs as dangerous and if a corruption happens on nfs drive
  by a message the user to the highly possible reason of the corruption so
  he can fix
- zsh completion imrpovements

Changes from pkg 1.10.99.4 to 1.10.99.5
- pkg clean is now happy if the cache dir non existing
- 410.pkg-audit now uses anticongestion on freebsd 12
- fix pkg install -r foo if foo is a disabled repository
- fix elf handling on non FreeBSD
- fix support for platforms without AT_SYMLINK_NOFOLLOW
- fix dropping privileges on Linux
- fix build with recent libbsd
- fix duplicate pkg registration overwriting the existing pkg
- better ABI name on linux
- lots of changes in internal API to use fd when possible
- removed option: pkg repo -L

Changes from pkg 1.10
- Use dep_formula in the solver
- Cache pw result to avoid over reloading nssswitch.conf
- Remove pkg2ng and support for pkg_ databases
2020-09-21 03:03:55 +00:00
wiz
c8981bab2c pkg_notify: update to 0.4.8.
Fix improved github handling.
2020-09-20 11:25:41 +00:00
gutteridge
07c7375011 lintpkgsrc: fix grammar in message 2020-09-16 02:03:57 +00:00
wiz
e0aa26a942 pkg_install: carry over a commit from the src tree
Module Name:    src
Committed By:   christos
Date:           Mon Sep  7 00:36:53 UTC 2020

Modified Files:
        src/external/bsd/pkg_install/dist/lib: plist.c

Log Message:
Avoid strict aliasing issue by using a separate buffer..


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/pkg_install/dist/lib/plist.c
2020-09-07 23:46:42 +00:00
bsiegert
43f54ecac5 Revbump all Go packages after default Go version was changed to 1.15.1 2020-09-03 07:29:32 +00:00