summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2022-04-30x11-links: add include files used by the xorg server's modular driversnia3-5/+168
2022-04-27lintpkgsrc: fix Perl warning when parsing variable expressionsrillig2-4/+8
When parse-guessing a package Makefile, lintpkgsrc tries to evaluate variable expressions such as ${VAR:S,from,to,} by passing them through Perl's eval function. In a variable expression of the form ${VAR:S,@exec@,${exec},}, this produced Perl warnings due to the unescaped '@': Possible unintended interpolation of @exec in string at (eval 63841) line 1. As a quick fix, skip ':S' modifiers that contain the character '@' for now. A proper fix will follow.
2022-04-25*: remove some references to postgresql 9.6wiz1-2/+2
2022-04-20pkg_install: sync allowed licenses with mk/wiz1-2/+4
2022-04-18revbump for textproc/icu updateadam4-8/+8
2022-04-17texlive2pkg: update to 1.11markd2-4/+5
add additional license mapping bump default version to 2022
2022-04-13Revbump all Go packages after go117 updatebsiegert1-1/+2
2022-04-04cwrappers: Fix buildryoon1-1/+3
2022-04-04cwrappers: Add cross-compilation support.riastradh6-14/+93
- New option `sysroot=<dir>': . Wrapper will add `--sysroot=<dir>' as first argument. . For every rpath argument, e.g. -Wl,-R<path> to cc, wrapper will pass `-rpath-link <dir><path>' to the linker. This matches the old mk/wrapper/cmd-sink-cross-* logic. - Create wrappers for the ${MACHINE_GNU_PLATFORM}-cc style of command, as in ${CC}, ${CXX}, ${LD} for cross-builds. - Bump version. - Use TOOL_DEPENDS, not BUILD_DEPENDS, for cwrappers.
2022-03-25rdigest: fix patch context so this builds againwiz2-9/+9
2022-03-21pkgtools/pkglint: update to 22.1.0rillig3-5/+24
Changes since 21.4.4: Python packages that declare 2.7 as an incompatible Python version no longer need to provide a rationale for this since it is common knowledge that Python 2.7 is old and therefore unsupported by many modern packages.
2022-03-20pkg_p5up2date: update to 0.07.wiz2-6/+12
Write more useful entries in case 'make show-vars' fails.
2022-03-12pkgtools/pkglint: update to 21.4.4rillig2-145/+3
Changes since 21.4.3: Do not install the pkglint source code and libraries since no other tool uses them.
2022-03-11pkgtools/pkglint: update to 21.4.3rillig3-15/+20
Changes since 21.4.2: In simple Makefiles, do not allow the GitHub variables like GITHUB_RELEASE to occur above DISTNAME anymore. Previously, these variables had 2 possible places in the "canonical" order.
2022-03-07Revbump all Go packages after go117 updatebsiegert1-2/+2
2022-02-17digest: catch configure.ac up with configuregutteridge1-2/+2
2022-02-16p5-pkgsrc-Dewey: reset maintainerwiz1-2/+2
2022-02-15digest: fix aliasing bug with gcc 11mcf2-3/+4
gcc 11 with -O2 optimizes away the store of the bit length into the last 8 bytes of the context buffer due to an aliasing violation (stored through uint64_t, retrieved through uint32_t). To fix this, import the NetBSD patch from christos[0] which makes it use memcpy instead. [0] http://cvsweb.netbsd.org/bsdweb.cgi/src/common/lib/libc/hash/sha2/sha2.c.diff?r1=1.12&r2=1.13
2022-02-13Revump all Go packages after go117 updatebsiegert1-1/+2
2022-02-08url2pkg: make code for analyzing CPAN URLs simplerrillig1-5/+5
No functional change.
2022-02-06url2pkg: add support for metacpan.org URLsrillig2-8/+31
2022-02-06url2pkg: for Python packages, prefix directory name with 'py-'rillig2-9/+52
2022-02-06url2pkg: allow url2pkg to be run from a category directory as wellrillig3-18/+28
Previously, it was necessary to create the package directory, change into it and then run url2pkg from there. Since the name of the package directory usually corresponds to DISTNAME without the version number, all necessary data is readily available, so automate this. Update version to 21.4.2.
2022-02-06url2pkg: only accept a single URL as command line argumentrillig1-2/+2
2022-02-06url2pkg: extract code for analyzing the distfile URLrillig2-45/+50
In a few commits, this will allow url2pkg to be run from a category directory, thereby omitting the need to create the package directory manually. No functional change.
2022-02-06url2pkg: add type annotation for usagerillig1-4/+4
2022-01-28Go has dropped support for Darwin-*-i386.schmonz1-1/+2
2022-01-16pkgtools/pkglint: update to 21.4.2rillig8-42/+164
Changes since 21.4.1: When checking a package, check for naming collision with other packages from the same category, on case-insensitive file systems. For packages from pkgsrc-wip, additionally perform the same check for the main category of the package, to prepare for importing the package.
2022-01-09Revbump all Go packages after go117 updatebsiegert1-1/+2
2022-01-01url2pkg: improve MASTER_SITES and HOMEPAGE for PyPI packagesrillig4-13/+32
https://mail-index.netbsd.org/tech-pkg/2021/12/31/msg025908.html Bump version.
2022-01-01url2pkg: test current behavior for PyPI downloadsrillig1-1/+30
2022-01-01url2pkg: remove interactivityrillig4-22/+12
In the first phase, url2pkg generates a minimal package Makefile, barely enough for downloading the distfile from the given URL. That part runs fully automated in almost all cases, so there is no need to invoke the editor at this point. After adjusting the package Makefile based on the downloaded and extracted distfile, url2pkg has done its job, so there is no reason to run the editor there as well. Bump version.
2022-01-01lintpkgsrc: fix bogus warning for devel/lua-mosesrillig2-6/+6
The warning was: Bogus: -${DISTNAME:tl:S/-1$//1} (from /.../devel/lua-moses/Makefile) Previously, lintpkgsrc searched for the package name and version by looking for '-' followed by a digit. This was too naive, as in the above expression, the '-1' does not mark the beginning of the version number. Fix this by resorting to 'make show-vars' in all cases in which the PKGNAME still contains a '$'. When running 'lintpkgsrc -Dp devel/lua-moses' with a relative directory as argument, lintpkgsrc tried 'cd /lua-moses' and ignored the failure, running 'make show-vars' in the current directory instead, which in my case was the top-level pkgsrc directory. Bump version.
2022-01-01pkgtools/pkglint: update to 21.4.1rillig32-163/+212
Changes since 21.4.0: Running 'pkglint doc/CHANGES-2021' now warns about issues for this single file. Previously, it was necessary to specify '-Cglobal' as well, but then pkglint also warned about issues in all other CHANGES files. Pkglint no longer warns about the characters '!' and '@' in GO_MODULES_FILES, since these are legitimate. Fixes PR pkg/56595. Small cleanups in the pkglint testing infrastructure.
2021-12-26pkglint: update version number to match the upcoming branchrillig1-3/+2
No changes since 21.3.4.
2021-12-24pkg_install: only enable IPv6 on operating systems that support itnia1-2/+7
needed for UnixWare, reported by Boyd Lynn Gerber
2021-12-09Revbump all Go packages after go117 updatebsiegert1-1/+2
2021-12-08revbump for icu and libffiadam3-5/+6
2021-12-06pbulk: make rsync dependency a default-on optionwiz2-2/+13
2021-12-01pkgin: Update to 21.12.0.jperkin2-6/+6
## Version 21.12.0 (2021-12-01) * Manual page fixes. * Avoid crash when FILE_SIZE is invalid in a remote repository.
2021-11-20pkgtools/pkglint: update to 21.3.4rillig2-2/+6
Changes since 21.3.3: For wip packages, allow SHA1 to be used as digest algorithm. An example package that needs this is wip/doomlegacy-devel.
2021-11-15pkg_install: Switch to posix_spawn() on newer macOS.jperkin2-4/+67
vfork() no longer works on Monterey and causes serious intermittent issues when upgrading pkg_install. Forking the INSTALL and DEINSTALL scripts can sometimes fail, due to the underlying pkg_add/pkg_delete binaries having been changed or removed, leaving the system broken with no package tools. The manual page suggests using posix_spawn() instead and that appears to work correctly. The code has been laid out so that it's easy enough to switch other platforms to posix_spawn() too if required, or for improved performance, and has been verified to work successfully on SmartOS. Bump pkg_install version to 20211115.
2021-11-14pkgtools/url2pkg: update to 21.3.0rillig3-16/+16
Changes since 21.1.0: When creating a package from a GitHub archive URL, make the generated package simpler and place the distfile in the main directory instead of using DIST_SUBDIR.
2021-11-14pkgtools/url2pkg: add test for overly complicated package definitionrillig2-4/+33
Seen in wip/netmask.
2021-11-13pkgtools/pkglint: update to 21.3.3rillig4-5/+9
Changes since 21.3.2: Explain warning about invalid symlink. Do not warn when a package uses MAKE_JOBS without adding it to BUILD_DEFS, since MAKE_JOBS is supposed to be a build-time only variable.
2021-11-07abstract check for "*path == '/'" to isabs(*path)christos5-24/+26
2021-11-05Revbump all Go packages after go117 updatebsiegert1-1/+2
2021-11-03pkg_install: Add an explicit dummy DEINSTALL script.jperkin2-2/+8
Even with DEINSTALL_SRC set empty, changes in the pkgsrc infrastructure over the past few years will now create a dynamic +DEINSTALL script regardless, and while only containing "exit 0", may have a #! using a shell from pkgsrc. This can lead to upgrade issues if that shell happens to be unavailable while pkg_install is being upgraded. Creating our own dummy script that explicitly uses /bin/sh avoids that problem.
2021-10-28pkglint: update to 21.3.2rillig7-144/+113
Changes since 21.3.1: Replace RMD160 with BLAKE2s for distfiles in main pkgsrc, keep the previous RMD160 for pkgsrc-wip, at least until 2021Q4.
2021-10-26pkgtools: Replace RMD160 checksums with BLAKE2s checksumsnia13-26/+26
All checksums have been double-checked against existing RMD160 and SHA512 hashes