summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2021-04-17pkgtools/pkglint: update to 21.1.1rillig6-13/+146
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-13pkg_rolling-replace: catch permission errors from pkg_adminrhialto3-5/+16
and print a friendlier warning message instead (only once). Document that the mismatch state may not persist if permissions are insufficient.
2021-04-10pkg_install: add a cast to satisfy GCC, NFCInia1-3/+3
2021-04-10pkg_install-20210410: simplify checking for netbsd versionsnia2-47/+39
only care about the first number, unless it's -current
2021-03-25pkgtools/pkglint: bump version to 21.1.0rillig1-2/+2
Just to match the upcoming pkgsrc branch 2021Q1. No functional change.
2021-03-22pkgtools/pkglint: update to 20.4.2rillig5-7/+53
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-20pkgtools/pkglint: update to 20.4.1rillig6-11/+117
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-19Revbump all Go packages after go115 updatebsiegert1-2/+2
2021-03-08pkg_install-20210308nia3-20/+21
- update pkg_add's examples in its man page for 2021 compliance.
2021-03-06pkg_install: Bump PKGREVISON to include odbl-v1 as acceptable licenseryoon1-1/+2
2021-03-06pkg_install: Add odbl-v1 to default acceptable license listryoon1-1/+2
2021-03-03check-portability: Skip more irrelevant file extensionsnia2-3/+10
2021-02-20texlive2pkg: update to 1.9markd2-35/+29
change default version to 2020 restructure license handling
2021-02-13pkgtools/pkglint: fix manpage and catpage installationrillig2-9/+17
Reported by Chris Pinnock via private mail.
2021-01-23Revbump all Go packages after go115 updatebsiegert1-1/+2
2021-01-22mksandbox: Update to version 1.10.jperkin2-5/+11
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-15pkg_rr: substitute pkg_admin with PKG_ADMIN_CMD. Bump to 0.24.10.tnn2-5/+6
2021-01-09pkgtools/pkg_rolling-replace: Update to 0.24.9rhialto3-29/+44
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-02pbulk: Avoid cleaning $prefix on every bulk build in master mode.riastradh1-2/+17
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
2020-12-30pkgin: Update to 20.12.1.jperkin2-7/+7
## 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-28pkgtools/url2pkg: bump version to 20.4.0 to match the upcoming branchrillig1-3/+2
2020-12-28pkgtools/pkglint: update to 20.4.0rillig1-3/+2
No changes since 20.3.2, the version bump only synchronizes pkglint with the upcoming branch.
2020-12-18pkg_install-20201218maya2-13/+25
- 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-17pkgtools/lintpkgsrc: update to 4.96rillig2-5/+7
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-17lintpkgsrc: remove trailing whitespacerillig1-8/+8
2020-12-13pkgin: Update to 20.12.0.jperkin2-8/+7
## Version 20.12.0 (2020-12-13) * Return correct MACHINE_ARCH when using $arch in repositories.conf.
2020-12-12pkg_install: carry over bugfix from srcwiz1-11/+12
christos: Don't try to memcpy (size_t)-1 bytes!
2020-12-12pkg_install: remove stray extra tab in perform.cgutteridge1-3/+3
2020-12-12pkg_install: spaces->tabs for consistency in perform.cgutteridge1-6/+6
2020-12-11pkgin: just depend on pkg_install againwiz1-3/+3
Bump PKGREVISION
2020-12-11pkg_install-20201212: handle error case betterwiz2-9/+16
When pkg_delete fails, report it and error out.
2020-12-11pkg_install: Introduce support for CHECK_OS_VERSION.jperkin6-8/+29
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-07mksandbox: Copy mounts that are symlinks.jperkin1-1/+5
Resolves issues seen on newer Linux. I've had this in my tree for a while, ride previous version bump.
2020-12-07mksandbox: Update to version 1.9.jperkin2-4/+4
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-06pkg_install: update to 20201206wiz2-4/+8
Convert a core dump I've been seeing into an error abort.
2020-12-05pkg_install: update to 20201205wiz2-6/+7
Improve warning about old database to mention moving the refcount db too.
2020-12-04Revbump packages with a runtime Python dep but no version prefix.nia3-5/+6
For the Python 3.8 default switch.
2020-12-04pkgin: comment out pkg_install dependencywiz1-3/+3
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-04Revbump for openpam cppflags change months ago, belatedly.riastradh2-4/+4
2020-12-02pkg_install: remove two unused variableswiz1-3/+1
2020-12-02pkg_install: mark show_version as noreturn since it exitswiz1-2/+2
2020-12-02pkg_install: Merge some changes from NetBSD src/wiz3-6/+18
No effective change intended, just ifdefs for bootstrapping.
2020-12-02*: move default database directory from /var/db/pkg to ${PREFIX}/pkgdbwiz8-25/+36
As discussed in August 2020 and previously on pkgsrcCon 2019. Ok pkgsrc-pmc@
2020-12-02verifypc: fix a typo in a commentgutteridge1-2/+2
2020-11-13Revbump all Go packages after go115 updatebsiegert1-2/+2
2020-11-08Revbump all Go packages after Go 1.15 update.bsiegert1-1/+2
2020-11-05*: Recursive revbump from textproc/icu-68.1ryoon2-3/+4
2020-11-05*: Recursive revbump from textproc/icu-68.1ryoon2-4/+4
2020-11-02pkgin: Update to 20.11.0.jperkin2-7/+7
## 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-10-28Bootstrap: Fix bootstrap on FreeBSD 12.1, likely broken by an issue in lld.maya2-4/+4
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.