Commit graph

5820 commits

Author SHA1 Message Date
bsiegert
58ed03696e Revbump all Go packages after go118 update 2022-07-13 16:02:57 +00:00
rillig
8a2ff4bfee pkgtools/pkglint: update to 22.2.2
Changes since 22.2.1:

Require the current checksum algorithms for pkgsrc-wip packages as well.
SHA1 and RMD160 are no longer allowed for distfiles.

Do not warn about 'Package should not' when checking .mk files in the
pkgsrc infrastructure.
2022-07-09 06:40:54 +00:00
rillig
a01b4db940 pkgtools/createbuildlink: fix location of BUILDLINK_DEPMETHOD
Reported by Mayuresh in
https://mail-index.netbsd.org/pkgsrc-users/2022/07/08/msg035799.html.

Bump version.
2022-07-08 18:06:19 +00:00
jperkin
4054adfcfb *: Update my MAINTAINER email address. 2022-07-07 16:28:55 +00:00
rillig
e1453318eb pkgtools/pkglint: update to 22.2.1
Changes since 22.2.0:

Suggest simpler condition when matching a variable against a pattern
(occurs 220 times in pkgsrc).

Improve explanation for documenting patches.
2022-07-06 06:14:24 +00:00
dbj
7c5effe7ac pkgtools/mktool: set IGNORE_CCACHE=yes to avoid circular dependency 2022-07-06 05:03:09 +00:00
nia
04f4eef997 *: Revbump packages that use Python at runtime without a PKGNAME prefix 2022-06-30 11:18:01 +00:00
wiz
8292204475 *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
rillig
8f94619f0d pkgtools/pkglint: update to 22.2.0
Changes since 22.1.0:

In ALTERNATIVES files, the wrapper path must be either in bin,
@PKGMANDIR@ or sbin.  This catches typos like "in" instead of "bin", as
well as hard-coded "man".
2022-06-24 07:16:23 +00:00
jperkin
6ea30824e2 mktools: Update to 20220614.
Add an explicit exit(0) to mk-buildlink-symlinks rather than relying on the
exit status of the last function.  Fixes issue seen on CentOS 7.
2022-06-14 08:45:33 +00:00
jperkin
f88ef900ff pkgtools: Add mktools. 2022-06-07 09:54:01 +00:00
jperkin
530f0bf560 mktools: Import new package, version 20220607.
Collection of tools written in C to improve the performance of certain
sections of the pkgsrc mk infrastructure where shell is too slow.

For now this just includes mk-buildlink-symlinks which is used to generate
the buildlink3 symlinks as part of the "wrapper" phase.
2022-06-07 09:53:36 +00:00
bsiegert
d97b2d854f Revbump all Go packages after go118 update 2022-06-02 18:51:56 +00:00
tnn
b569b6ff54 check-portability: drop -ggdb (gets stripped by default regardless) 2022-05-14 13:00:46 +00:00
bsiegert
12cb73e64f Revbump all Go packages after go118 update 2022-05-11 19:26:18 +00:00
schmonz
2c4f9b30b5 Avoid finding pkgsrc-installed bash, as it won't be in the sandbox. Bump
PKGREVISION.
2022-05-08 20:26:52 +00:00
jperkin
a93b3dc4b2 pkgdiff: Update to 1.10.
Unlink files in mkpatches before new files are moved into place.  Avoids .nfs*
warts when creating patches on an NFS file system.
2022-05-08 12:29:51 +00:00
nia
97b55bfb07 x11-links: add include files used by the xorg server's modular drivers 2022-04-30 09:35:05 +00:00
rillig
8856ba874c lintpkgsrc: fix Perl warning when parsing variable expressions
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-27 22:24:16 +00:00
wiz
a8c27227e2 *: remove some references to postgresql 9.6 2022-04-25 06:25:43 +00:00
wiz
1e1ab83a86 pkg_install: sync allowed licenses with mk/ 2022-04-20 21:47:26 +00:00
adam
f5e35d538b revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
markd
e210644935 texlive2pkg: update to 1.11
add additional license mapping
bump default version to 2022
2022-04-17 11:13:06 +00:00
bsiegert
865174470d Revbump all Go packages after go117 update 2022-04-13 07:50:51 +00:00
ryoon
d31a83af99 cwrappers: Fix build 2022-04-04 11:54:35 +00:00
riastradh
81729c2501 cwrappers: Add cross-compilation support.
- 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-04-04 11:22:50 +00:00
wiz
0be2143088 rdigest: fix patch context so this builds again 2022-03-25 10:30:25 +00:00
rillig
1983b2ad0e pkgtools/pkglint: update to 22.1.0
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-21 22:30:06 +00:00
wiz
7665cddf4e pkg_p5up2date: update to 0.07.
Write more useful entries in case 'make show-vars' fails.
2022-03-20 08:09:55 +00:00
rillig
f17e514df7 pkgtools/pkglint: update to 21.4.4
Changes since 21.4.3:

Do not install the pkglint source code and libraries since no other tool
uses them.
2022-03-12 12:03:40 +00:00
rillig
10b879157c pkgtools/pkglint: update to 21.4.3
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-11 00:33:12 +00:00
bsiegert
e2ad32e62b Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
gutteridge
ef0a7a6162 digest: catch configure.ac up with configure 2022-02-17 17:34:56 +00:00
wiz
4ff0627584 p5-pkgsrc-Dewey: reset maintainer 2022-02-16 10:25:44 +00:00
mcf
b631703ee1 digest: fix aliasing bug with gcc 11
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-15 05:25:38 +00:00
bsiegert
ebe4158c52 Revump all Go packages after go117 update 2022-02-13 19:24:21 +00:00
rillig
c91a1522a9 url2pkg: make code for analyzing CPAN URLs simpler
No functional change.
2022-02-08 20:48:09 +00:00
rillig
655d89356b url2pkg: add support for metacpan.org URLs 2022-02-06 21:07:44 +00:00
rillig
dfcd1085ac url2pkg: for Python packages, prefix directory name with 'py-' 2022-02-06 20:08:49 +00:00
rillig
dcb4085ec2 url2pkg: allow url2pkg to be run from a category directory as well
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-06 18:42:26 +00:00
rillig
8c4e7ff7a8 url2pkg: only accept a single URL as command line argument 2022-02-06 18:04:50 +00:00
rillig
877fdb4a8e url2pkg: extract code for analyzing the distfile URL
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-06 18:00:08 +00:00
rillig
5ba3ff9ce7 url2pkg: add type annotation for usage 2022-02-06 17:11:37 +00:00
schmonz
61d1ca6e58 Go has dropped support for Darwin-*-i386. 2022-01-28 20:38:18 +00:00
rillig
600b65b9c3 pkgtools/pkglint: update to 21.4.2
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-16 19:14:51 +00:00
bsiegert
69b9f4cba9 Revbump all Go packages after go117 update 2022-01-09 20:10:29 +00:00
rillig
1a356738ae url2pkg: improve MASTER_SITES and HOMEPAGE for PyPI packages
https://mail-index.netbsd.org/tech-pkg/2021/12/31/msg025908.html

Bump version.
2022-01-01 15:29:14 +00:00
rillig
f029d070dd url2pkg: test current behavior for PyPI downloads 2022-01-01 15:04:58 +00:00
rillig
06d90fdb80 url2pkg: remove interactivity
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-01 14:04:11 +00:00
rillig
c95b00ad0b lintpkgsrc: fix bogus warning for devel/lua-moses
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-01 13:27:37 +00:00