Commit graph

10024 commits

Author SHA1 Message Date
nia
2e89be79b6 genreadme: Reduce size of generated README.all 2021-02-24 08:16:32 +00:00
nia
f289564dbe genreadme: Improve generated HTML markup
Don't use tables for everything, it's not 1999 any more.

Remove another hack for Solaris 9.
2021-02-22 09:32:55 +00:00
nia
035e9a0738 genreadme: Add DESCR to output. Make history useful for not-CVS-fans. 2021-02-22 05:32:02 +00:00
nia
41b5fb25ec genreadme: Re-order package summary and attempt to present it better.
- Add a maintainer field.
- Use lists and sections to separate information.
- Make license information a hyperlink.
- Move available build options and vulnerabilities listings to the bottom,
  as they tend to use up a lot of space and create reader fatigue.
- Correct stylesheet paths.
2021-02-22 05:10:18 +00:00
nia
2193010d1b genreadme: Include TOOL_DEPENDS in build-time dependencies list 2021-02-22 04:24:12 +00:00
nia
ce19922334 genreadme: Fix printing of package options where there's more than one 2021-02-22 04:19:00 +00:00
nia
e8a3ab815f mk: Add tool_depends to print-summary-data target 2021-02-21 10:23:40 +00:00
nia
3b161fc24f genreadme: Simplify dependency list generation.
- Only bother with top-level dependencies and don't attempt to recurse
  the tree, this creates very messy output for modern packages.
- Normalize output for both build-time and runtime dependencies.
- Remove slow workarounds for Solaris 9 awk limitations.
2021-02-21 09:45:01 +00:00
nia
d947084b38 mkreadme: Do not generate an index of packages with IPv6 support
It is Current Year and most things have IPv6 support, whether there's
an "ipv6" PKG_OPTION is no longer a good indicator.
2021-02-19 17:49:06 +00:00
nia
c80e90b037 genreadme: Skip printing fixed vulnerabilities to the html output 2021-02-18 10:39:50 +00:00
wiz
7c4e93e02a mk: remove ftp.dante.de, it does not offer FTP any longer 2021-02-14 11:46:13 +00:00
gdt
4f45f1c3c4 mk/compiler/gcc.mk: Remove stray mid-line \
(Apparently left over from reducing the vast number of gcc versions.)
2021-02-04 21:45:13 +00:00
jperkin
c2346e575e mk/platform: Support known macOS SDK skew mapping.
For example, the recently release macOS 11.2 does not ship a 11.2 SDK, but
continues to use the compatible 11.1 SDK.  This now works correctly without
having to enable OSX_TOLERATE_SDK_SKEW.

These should only be added for releases within the same major version where we
can guarantee compatibility.
2021-02-02 15:47:54 +00:00
tpaul
e452b20105 mk: Use "_PKGSRC_USE_RELRO" instead of "PKGSRC_USE_RELRO"
This variable appears to be incorrect as "_PKGSRC_USE_RELRO" is set in
bsd.prefs.mk. This was causing RELRO_SUPPORTED=no to not function as intended
in lang/go/go-vars.mk

ok'd by jperkin
2021-02-01 16:03:49 +00:00
jperkin
bd2dceaefb mk: Document disable-ld option. 2021-01-29 13:12:28 +00:00
gutteridge
3fa020f93b developer.mk: improve a comment 2021-01-20 01:35:33 +00:00
jperkin
978ec6c985 mk/tools: Avoid native GNU make/m4 on all Darwin systems.
Previously this was only done on Big Sur to work around the issue where XCode
does not support running these programs via a symlink, breaking .tools/bin.

However, with the update to autoconf 2.70, the native GNU m4 from 2006 on all
Darwin systems is too old and breaks the build on Catalina and older, causing
massive dependency failures.

Avoiding them both completely at this time is the simplest way forward.
2021-01-19 11:42:18 +00:00
rhialto
702896ca95 Remove "mismatch" flag also in the other place.
Also, remove check for empty +INSTALLED_INFO which seems no longer needed.
2021-01-17 20:18:42 +00:00
maya
23ad232dfc g/c gcc48, gcc49, gcc5 logic 2021-01-17 16:05:48 +00:00
maya
9c62045f83 If the base GCC isn't enough, and GCC_REQD=4.5 to 6, use gcc6.
gcc4.8,4.9,5 have bugs preventing them from being useful within pkgsrc
for the primary use case that finds them handy:
glibc + FORTIFY + those GCC versions = build failures.

Additionally, requiring fewer versions of GCC is an improvement for
the vast majority of use-cases considered.

We might want to bump this further than gcc6 later on, but this is a
big improvement for CentOS builds.
2021-01-17 15:32:00 +00:00
schmonz
2d46db5b75 Provide defaults for BINCIMAP_{USER,GROUP}. Note that s6-networking also
makes use of UCSPI_SSL_USER.
2021-01-15 19:47:33 +00:00
wiz
a8b7b3d265 mk: describe most icinga2 options 2021-01-15 11:46:01 +00:00
gdt
6006036ac8 mk/misc/show.mk: Only advise changing user-settable variables
Before, it was easy for a user to misinterpret the message as
e.g. setting PYPACKAGE for gnome-doc-utils.
2021-01-13 18:01:49 +00:00
schmonz
6f81dbb2d3 Describe 'execline' option. 2021-01-11 18:25:36 +00:00
rhialto
51c58acbfc make replace' now also unsets the mismatch' variable.
This is for the benefit of pkg_rolling-replace 0.24.9.
ok gdt@.
2021-01-09 19:10:05 +00:00
fcambus
7c23c72a84 Switch to HTTP for cpan.pair.com, the FTP service has been discontinued. 2021-01-07 09:18:31 +00:00
rillig
3e52f68ccc check-portability: always skip files whose name ends with tilde
Suggested by wiz.
2021-01-04 21:10:01 +00:00
js
770104c037 Revert mk/gnu-config/missing
This broke various things.

Also remove the comment in devel/autoconf/Makefile that says to update it, so
that the next person does not fall into the same pitfall again.
2021-01-03 11:15:21 +00:00
js
0baf2e447d Update devel/autoconf to 2.70
2.70 deprecates a lot of stuff, so expect more warnings, but generally things
seem to work fine, so updating to 2.70 shouldn't break much.

Also update mk/gnu-config/*, as per the comment in devel/autoconf/Makefile.
mk/gnu-config/missing is not actually part of autoconf, but of automake, which
I did not update - however, the file was quite out of date, so I took the
liberty to update that one with the latest automake.

The change log is too long to include in this commit, given how many years
there were between 2.69 and 2.70. Check the file ChangeLog after `make
extract`.
2021-01-02 20:38:56 +00:00
mef
402b5f1778 (buildlink3/find-headers.mk) correct typo 2021-01-02 12:08:03 +00:00
he
ddfc5de010 Document the to-be-committed rust-cargo-static option. 2021-01-01 17:03:04 +00:00
rhialto
39e2eebada Add option vice-headless. 2021-01-01 12:30:29 +00:00
gutteridge
a8ab4910a2 atomic64.mk: fix path to bsd.fast.prefs.mk 2021-01-01 00:06:29 +00:00
nia
2c8d590893 Normalize handling packages that require 64-bit atomic ops. 2020-12-31 20:04:11 +00:00
gdt
c37dbc0d7f pkgformat-vars.mk: Revert requirement for new PKGTOOLS
As part of the pkgdb migration (NetBSD only), PGKTOOLS_REQD was set to
a recent value (20200828).  However, that results in a cyclic
dependency of pkg_install on cwrappers on pkg_install.  Once people
set PKG_DBDIR in pkg_install.conf and mk.conf to match their setup,
there is no need -- because of the migration -- to force newer tools.

Testing on TNF's pkgbuild machine indicates this revert works well,
and I received two positive comments and none against.
2020-12-24 01:31:19 +00:00
taca
7480f9f8fd mk/defaults/options.description: add blocklist 2020-12-22 14:49:57 +00:00
maya
6a70db41c3 Fix error, pointed out by jperkin, thanks 2020-12-20 20:22:17 +00:00
gutteridge
5d6b96b9ed check-files.mk: fix typo in comment 2020-12-20 19:49:25 +00:00
maya
a237f479e4 Simplify check, trust the user's PKGDB_DIR instead of second guessing it.
Fixes bootstrapping a second prefix with /var/db/pkg existing.

In a bootstrap scenario, PKGDB_DIR is defined, so this should just work.
2020-12-20 19:44:16 +00:00
maya
c7638cd9c1 Move the pkgdb compatibility error to a NetBSD-specific file to avoid
breakage for users who have other package managers that use /var/db/pkg
(Reported by Frederic Cambus on FreeBSD, OpenBSD)

Adjust warning: specifying PKGDB_DIR in mk.conf should be sufficient
for building packages for the compatibility pkgdb location.

This is still an error message, because:
- While we can handle the existing references of PKGDB_DIR, new ones
might be created.
- It is a minor inconvenience to people building packages from source.
2020-12-18 17:14:58 +00:00
ryoon
24d993aff2 mk: Use .elif instead of .else if
Found under NetBSD/amd64 9.99.77 of 2020-12-16.
2020-12-17 09:44:24 +00:00
js
ad080fda0f Allow PIE and RELRO on aarch64
I already compiled plenty of packages on my Pinebook Pro with both PIE and
RELRO enabled and have yet to see a build failure.
2020-12-14 21:45:43 +00:00
abs
8fe458fc03 Prefer openjdk11 to adoptopenjdk11-bin for NetBSD
(In the _PKG_JVMS.9 case)
2020-12-14 16:51:16 +00:00
rillig
cb1ef433f4 show-all: explain how to show the values of tricky variables
In most cases, the output of "bmake show-all" is reliable, but in a few
edge cases there may still be surprises.
2020-12-14 00:14:48 +00:00
nia
0b35064193 platform/Linux: always prefer native pthread/libdl 2020-12-13 16:26:12 +00:00
gutteridge
03278bccfb Reflect GNU grep locations on some SunOS variants 2020-12-09 01:24:24 +00:00
js
3a435e0e01 tools.Linux.mk: Consider /bin/find as well 2020-12-05 13:15:58 +00:00
wiz
6ea199b786 mk: fix a duplicate GCC9 variable to refer to GCC10 instead
Noted by Jackson Bryn in PR 55842.
2020-12-05 09:24:00 +00:00
wiz
02e6ee5666 mk: use LOCALBASE instead of PREFIX
I don't understand why this fixes problems, but it does fix the build
of mail/neomutt for me.

From ryoon.
2020-12-03 10:04:48 +00:00
wiz
c85d83c09c *: move default database directory from /var/db/pkg to ${PREFIX}/pkgdb
As discussed in August 2020 and previously on pkgsrcCon 2019.

Ok pkgsrc-pmc@
2020-12-02 10:22:39 +00:00