Commit graph

145 commits

Author SHA1 Message Date
wiz
86a6754eff regress/Makefile: add reasons for commenting out entries 2019-12-12 04:35:21 +00:00
wiz
4222b21e25 regress: comment out two directories without Makefiles 2019-12-08 10:22:09 +00:00
rillig
9a544993f5 regress/check-perms: add test for broken CHECK_PERMS_AUTOFIX
The variable CHECK_PERMS_AUTOFIX has been existing since 2006 but is not
used in any package. This may be because it is not helpful in any way.
When a package sets this variables to yes, the permission errors are not
silently fixed, but the build still fails instead. This behavior is not
useful in any way and thus needs to be fixed.

See https://mail-index.netbsd.org/tech-pkg/2019/08/thread1.html#021828
2019-09-19 23:53:36 +00:00
rillig
7c3ef3e6ea lang/python: fix PYVERSSUFFIX escaping for print-PLIST
Before, the filename "3270" was wrongly replaced with "${PYVERSSUFFIX}"
since the version number "3.7", when interpreted as a regular expression,
matched that filename.
2019-07-17 18:34:16 +00:00
rillig
106ef90f5c regress/print-plist: fix syntax error after almost 15 years
The race for the oldest undiscovered pkgsrc bug still goes on. 15 years
is hard to beat, but definitely possible.
2019-07-17 17:56:22 +00:00
rillig
122d791da2 mk/tools: in the wrapper log, quote arguments containing = naturally 2019-05-22 20:47:05 +00:00
rillig
51148ded41 regress: add gnu-configure-strict to SUBDIRS 2019-05-04 15:17:39 +00:00
rillig
bc4f604de5 mk/configure: assist in finding unrecognized configure options
Instead of giving instructions, just to the work automatically as far as
it can be automated.
2019-05-04 15:16:50 +00:00
rillig
5b57509b90 regress/buildlink-libtool: fix failing test
The comment above that test was a copy-and-paste error. It got almost 15
years old.
2019-03-24 21:09:21 +00:00
rillig
4bfb903a41 regress/pkg-options: fix regression test for PKG_OPTIONS framework
Just a few changes in the wording, which have been introduced in 2007.
2019-03-24 20:57:59 +00:00
rillig
81a41d0b94 mk/tools: correctly quote arguments in the tool wrapper log
Before, the tool arguments were written to the log as plain strings. Now
the arguments are properly quoted, which makes it possible to replay the
commands by copying them from the .work.log file.

This only affects tools that are shell builtins (echo, true, false), get
additional arguments (mkdir -p) or define a custom TOOLS_SCRIPT
(pkg-config, to set an environment variable; or autotools). Tools that
are symlinked to the real tool are not affected.

The calls to the compiler are already properly logged since cwrappers
takes care of that. This commit therefore makes the log entries for the
compilers and the other tools more similar.
2019-03-24 11:29:19 +00:00
rillig
575f219e37 mk/tools: fix quoting when logging tool invocations
When a package or the infrastructure defined a tool with custom
TOOLS_ARGS or TOOLS_SCRIPT containing special characters, these could
lead to unintuitive interactions at the time when that tool invocation
was logged in the tool wrapper log. Some of the logging output ended up
on stdout, while some of the normal output ended up in the log, and parts
of the quoted arguments were even evaluated as shell commands.

The logging of the wrapped tool commands is not perfect yet, but at least
it's much more predictable now.
2019-03-24 08:40:07 +00:00
rillig
492beb29f5 regress/tools: show that TOOLS_SCRIPT is not always logged properly 2019-03-23 22:59:11 +00:00
rillig
70fd82fc7e regress/tools: demonstrate wrong shell quoting in the tools wrapper 2019-03-22 22:41:06 +00:00
rillig
23128f791d mk/tools: fix unintended filename expansion in the tool wrapper log file 2019-03-22 22:13:21 +00:00
rillig
32d0165e0f regress/tools: demonstrate wrong quoting in tools wrapper logging 2019-03-22 20:56:16 +00:00
rillig
40cf71365f regress/infra-unittests: add small framework for testing mk/ with mocks 2019-03-21 21:45:30 +00:00
rillig
ffb8542f3f regress/compiler: fix regression test 2019-03-17 12:20:09 +00:00
rillig
85d27b43fd mk/subst.mk: substitute embedded newlines, escape dots in variable names 2019-03-17 12:01:14 +00:00
rillig
ecd80128b4 regress/subst: demonstrate that SUBST_VARS doesn't pass newlines
Sure, it's an edge case and has not been necessary until now.
Nevertheless it's good to see how this can be done.

Variables having dots in their names are also not handled completely
correct. This also didn't occur in practice since the variable names
passed to SUBST_VARS are usually A-Za-z0-9_ only.
2019-03-17 11:28:13 +00:00
rillig
63399e8e1a regress/subst: enable regression test 2019-03-17 10:19:36 +00:00
rillig
9e31554ec7 regress/tools: clarify that only the NetBSD 7 shell exhibits this bug
The test has been changed again to fail since making the test pass would
mean this bug could later silently show up inside a large GNU configure
script where it would be impossible to find. Therefore, when using pkgsrc
on NetBSD 7, it is better to switch to another shell for doing pkgsrc
work.

The comment has been updated to be more accurate.
2018-12-05 19:01:40 +00:00
rillig
37529136f3 regress/tools: disable failing test on NetBSD
See bin/53754.
2018-11-30 19:55:26 +00:00
rillig
4e6cab5917 regress/show-all: fix regression test after infrastructure change 2018-11-30 19:15:49 +00:00
rillig
8f906494fe regress/make-quoting: adjust to bmake change from 2015 2018-11-30 19:06:32 +00:00
rillig
f37f30c061 mk/misc: adjust layout of the show-all output to pkgsrc format
In Makefiles, the variable values are aligned vertically. This format is
now also used in the show-all target, which makes it easier readable.

Some more variables have been marked as multi-value, and single-valued
variables ending in space are clearly marked. Without the latter, the
regression test would have a line with significant trailing whitespace.
2018-11-11 19:07:12 +00:00
rillig
8f1611a664 mk/misc: in show-all, list values of *_ENV and *_ARGS in separate lines
The *_ENV and *_ARG values are typically very long, and reading them in
a single line is unnecessarily difficult. Therefore, each of their
values is listed on a separate line, for example:

fetch:
  usr   DIST_PATH (undefined)
  pkg   MASTER_SITES = \
                http://ftp.gnome.org/pub/GNOME/sources/glib/2.56/ \
                ftp://ftp.gnome.org/pub/GNOME/sources/glib/2.56/ \
                ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/glib/2.56/ \
                https://download.gnome.org/sources/glib/2.56/ \
                # end of MASTER_SITES
  pkg   DIST_SUBDIR (undefined)
2018-11-10 10:40:55 +00:00
rillig
b1755c4d38 regress/env-vars: make test output more concise 2018-11-09 06:59:20 +00:00
rillig
3e7546a87d regress: Add a link to the pkgsrc guide 2018-11-09 06:48:27 +00:00
rillig
9f0d7cea03 regress: add env-vars 2018-11-09 06:46:35 +00:00
rillig
392a8b517d regress/env-vars: demonstrate where and how the *_ENV variables are set 2018-11-09 06:46:03 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
rillig
dbb64b82e8 Fixed pkglint warnings. 2016-06-11 11:36:14 +00:00
rillig
61e1811b4f Added regression test for portability checks. 2016-06-11 10:48:28 +00:00
dbj
dde82c09aa update PKG_{FAIL,SKIP}_REASON with += 2016-04-11 04:22:33 +00:00
wiz
2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00
joerg
738d76b7d6 Sync spec with reality. 2015-06-07 03:46:39 +00:00
joerg
2bae819d22 Support DESTDIR, drop @dirrm. Give a working WRKSRC. 2015-06-07 03:46:05 +00:00
tnn
d6b53ad5af Package has no distfiles, which is expected. 2015-03-06 23:26:26 +00:00
bsiegert
e8ad5e0312 Do not use a naked "make", instead use TEST_MAKE. Now it fails differently. 2014-06-21 16:34:13 +00:00
bsiegert
90c36cf39b Add PLISTs for all regression tests. The infrastructure now sets
PKG_FAIL_REASON if there is no PLIST, breaking all but one test.

Goes from "1 passed, 12 failed" to "6 passed, 7 failed" on Mac OS.

"haha" schmonz@
2014-06-21 16:15:00 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
wiz
a4eec2f4cc Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
joerg
dde8c871c5 Remove @dirrm entries from PLISTs 2009-06-14 18:11:52 +00:00
joerg
ce1772b268 Remove redundant EXTRACT_ONLY and NO_CHECKSUM declarations.
Retire NO_PACAKGE as there is no technical reason for it.
2009-04-09 00:47:11 +00:00
joerg
d0076c3403 Remove the remaining NO_MTREE definitions, it has been a nop for a
while.
2009-04-08 22:43:23 +00:00
darcy
37ebc1d070 Fix MAINTAINER. 2009-03-21 05:43:53 +00:00
jmmv
0d3662ee66 Drop maintainership
Stop lying and drop maintainership of these packages.  I have not
maintained them for a very long time already, so leave room for
fresh blood to take over them.
2008-04-30 13:38:14 +00:00
rillig
ebcb0ce01e Resign from maintaining a lot of packages, so everyone is free to update
them at will.
2008-03-04 11:02:23 +00:00
hira
8951aa3012 Back out previous. Pointed out by uebayasi@ and martti@. 2007-09-25 10:03:52 +00:00