Commit graph

5715 commits

Author SHA1 Message Date
khorben
fc24ee15b4 rc.subr: update to version 20210517
This is part 2 to support additional platforms with the RC scripts provided in
pkgsrc, in privileged as well as in unprivileged mode, including on NetBSD.

These changes:
- install rc.subr to PKG_SYSCONFDIR if SYSCONFBASE is not /etc
- let RC scripts source rc.subr in PKG_SYSCONFDIR
- effectively allow unprivileged setups to run RC scripts easily
- in addition, give a chance for more platforms to run RC scripts

Tested in privileged and unprivileged modes on NetBSD/amd64, and unprivileged
mode on Darwin/amd64; submitted for review on tech-pkg@.
2021-05-30 23:46:26 +00:00
rillig
2940af4f90 pkglint: update to 21.1.2
Changes since 21.1.1:

Fixed the check for BUILDLINK3_PKGSRCDIR.  Previously, pkglint had
complained about ${_EMACS_PKGDIR} in buildlink3.mk.
2021-05-25 21:48:46 +00:00
rillig
dedff187d7 url2pkg: fix dependency pattern for buildlink3 Python dependencies
This includes the PYPKGPREFIX for Python dependencies, whether or not
they use buildlink3.
2021-05-25 17:56:24 +00:00
rillig
a528b093da url2pkg: generate proper package name for Python dependencies
Reported by Brook Milligan via private mail.
2021-05-25 17:44:08 +00:00
rillig
e2ea04d5a2 url2pkg: break long lines, no functional change 2021-05-25 17:14:44 +00:00
wiz
6eae1297d5 *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
adam
423722857c Adjust PGSQL_VERSIONS_ACCEPTED 2021-05-24 08:23:18 +00:00
rillig
ad0574db90 url2pkg: update to 21.1.0
Changes since 20.4.0:

Fixed handling of GitHub archive URLs with extra slashes, such as
https://github.com/org/proj/archive/refs/tags/1.0.0.tar.gz.
2021-05-23 16:27:39 +00:00
rillig
fc03d1df14 url2pkg: add test for GitHub URL that leads to wrong DISTNAME
Reported by Brook Milligan via private mail.
2021-05-23 16:20:46 +00:00
wiz
6e6f8533c9 pkgsrc-todo: fix old bug that broke adding entries at the end of the list
Bump version.
2021-05-20 10:51:41 +00:00
martin
bab2dc504d Adapt outdated defaults to recent openssl versions 2021-05-17 15:38:55 +00:00
nia
f3199fd0d6 pkg: use libbsd on non-bsd systems 2021-05-14 12:05:38 +00:00
wiz
2cd1330a57 plist-utils: remove __RCS_Id to increase portability
XXX: still uses the unportable fgetln
2021-05-11 09:24:17 +00:00
bsiegert
2af0bedf36 Revbump all Go packages after go116 update 2021-05-08 15:02:22 +00:00
gutteridge
29041ab830 x11-links: add some more links to reflect NetBSD 9.99.82 2021-04-29 02:58:48 +00:00
pho
f8858c6a62 Correct the order of redirection 2021-04-22 08:54:18 +00:00
adam
9d0e79c401 revbump for textproc/icu 2021-04-21 11:40:12 +00:00
rillig
d83afd3b35 pkgtools/pkglint: update to 21.1.1
Changes since 21.1.0:

Added check for packages that have been migrated to Meson but still
refer to their previous build system, most often involving GNU make and
GNU autotools.  Suggested by nia.
2021-04-17 18:10:14 +00:00
rhialto
5b2c612bfe pkg_rolling-replace: catch permission errors from pkg_admin
and print a friendlier warning message instead (only once).
Document that the mismatch state may not persist if permissions are
insufficient.
2021-04-13 17:51:21 +00:00
nia
2c981551fd pkg_install: add a cast to satisfy GCC, NFCI 2021-04-10 20:10:48 +00:00
nia
a7abeffa70 pkg_install-20210410: simplify checking for netbsd versions
only care about the first number, unless it's -current
2021-04-10 11:36:56 +00:00
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