Commit graph

9487 commits

Author SHA1 Message Date
rillig
ffccad2c9a mk/termcap.buildlink3.mk: add show-all-termcap target for debugging 2018-12-20 17:08:27 +00:00
rillig
ef4ec8e340 mk/help: if no help is found, output releative path names 2018-12-20 16:57:04 +00:00
rillig
836d82c80c mk/curses: document the affected variables for make show-all 2018-12-16 23:21:52 +00:00
gdt
6593544388 mk/license.mk: rewrite comments around license categories
Reorganize non-approved licenses based on inclusion rationale.  Align
comments to inclusion policy.

(This is a comment-only change.)
2018-12-10 15:50:10 +00:00
gdt
fcb2ee61b7 mk/license.mk: remove ancient comment
Long ago, I floated the notion of runtime controls based on licenses.
This seems not useful and is obviously not going to happen, so gc the
comment.
2018-12-10 15:39:10 +00:00
gdt
e4fa45b287 mk/license.mk: DEFAULT_ACCEPTABLE - add DFSG, clarify
(This is a comment-only change.)

Add compliance with Debian Free Software Guidelines as evidenced by
inclusion in Debian main as a basis for inclusion in
DEFAULT_ACCEPTABLE_LICENSES.

Clarify that the exclusion of AGPL by TNF board is higher priority
than the new DFSG section.

Add to the "obviously would be approved as Free" section the notion
that a license must also obviously not trigger the AGPL concern.

As proposed on tech-pkg, edited based on agc@ comments.
2018-12-10 15:37:49 +00:00
triaxx
f5ecad83c0 Add purdue license as DSFG compliant. 2018-12-09 06:07:23 +00:00
triaxx
0449e8b45b Remove abell-94 (renamed as purdue)
It is not mentioned by OSI/FSF/DSFG.
Discussion in progress on tech-pkg@
2018-12-08 17:08:22 +00:00
triaxx
0be73180f3 abell-94 is acceptable
We can follow Fedora Project that treats it as Free and GPL compatible:
https://fedoraproject.org/wiki/Licensing/Henry_Spencer_Reg-Ex_Library_License
2018-12-08 09:10:14 +00:00
wiz
0b260f2148 mk/tools/automake.mk: support automake-1.16 2018-12-01 04:58:55 +00:00
rillig
858c6cfd69 mk/misc: make configuration for show-all targets more configurable
Up to now, there was a central list of variable name patterns that
defined whether a variable was printed as a sorted list, as a list or as
a single value.

Now each variable group decides on its own which of the variables are
printed in which way, using the usual glob patterns. This is more
flexible since different files sometimes differ in their naming
conventions.

Two variable groups are added: license (for everything related to
LICENSE) and go (for lang/go).
2018-11-30 18:38:19 +00:00
jaapb
a494539fca Updated mk/ocaml.mk to add support for dune 2018-11-27 15:03:28 +00:00
spz
8a64d3e4de newer amanda supports bsdtar 2018-11-23 18:06:43 +00:00
maya
373c79fede Add a rule for -Wp,-MD, which isn't provided by MIPSPro.
MDupdate is the equivalent.

From duck in PR pkg/48424.
2018-11-20 09:21:23 +00:00
sevan
8c685f5104 Update Minix BINPKG_SITES url. 2018-11-15 01:40:52 +00:00
sevan
0cc874170f Minix 3.4 uses the NetBSD master.passwd and group file which means GID 0 is wheel. 2018-11-15 01:05:09 +00:00
sevan
7ecac36ebd Minix has had some level of support for IPv6 for some years now via LWIP.
Tested on 3.4RC6 which enable host mode support as standard.
2018-11-15 00:40:57 +00:00
markd
335384b2f7 describe the pymalloc option 2018-11-13 19:33:34 +00:00
jperkin
71e098497c mk: Add CTF infrastructure support.
Platform support is determined by _OPSYS_SUPPORTS_CTF from mk/platform, the
user enables support by setting PKGSRC_USE_CTF=yes, and packages can
explicitly disable support with CTF_SUPPORTED=no or skip certain files with
CTF_FILES_SKIP.

The path to ctfconvert is configured via TOOLS_PLATFORM.ctfconvert.

If all of the requisite variables are enabled, a compiler-specific debug flag
is passed via the wrappers to ensure we have DWARF information to convert,
_INSTALL_UNSTRIPPED is explicitly defined to avoid binaries being stripped
prior to conversion, and the conversion is performed during the install stage.

It is recommended that users who enable the feature also set STRIP_DEBUG=yes
to reduce the final binary size once the conversion has been performed.

This has been used for the past year in Joyent SmartOS builds.  FreeBSD is
marked as supported but is untested.
2018-11-12 14:22:58 +00:00
jperkin
f4ee910183 mk/install: Add support for STRIP_DEBUG_SUPPORTED.
This is a package-settable variable that will disable stripping binaries if
set to anything other than "yes" (the default).  This helps packages such as
anything built using golang where stripping binaries is harmful to them.

Document this and the recently introduced STRIP_FILES_SKIP.
2018-11-12 13:47:32 +00:00
jperkin
9a4b07e774 mk/install: Improve the strip-debug target.
Use the new strip-dbg tool, ensuring that we don't fail when the native strip
doesn't support -g.  Actually check for the existence of the output file
before trying to move it into place.  Add support for STRIP_FILES_SKIP for
certain files which should not be stripped.  And finally, improve performance
slightly by skipping symlinks.
2018-11-12 13:42:16 +00:00
jperkin
c34c184787 mk/tools: Create a strip-dbg tool.
On platform where strip supports -g it is used, otherwise this is a no-op.
2018-11-12 13:36:50 +00:00
jperkin
3bf4c3441e mk/tools: Add a gstrip tool on platforms where it exists.
This will be used in places where GNU strip (or equivalent) is required,
specifically for the "-g" flag.
2018-11-12 13:34:39 +00:00
rillig
f455fea050 mk/help: document PREPEND_PATH 2018-11-11 20:38:27 +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
schmonz
102609bd1c Remove leftover from testing. Clearly had been time to take a break. 2018-11-09 13:32:59 +00:00
rillig
1c73868572 mk/help: update information about environment variables like MAKE_ENV 2018-11-09 07:03:37 +00:00
schmonz
317f9ffa4f Fix previous. Time to stop committing for the day. 2018-11-08 22:34:24 +00:00
schmonz
cda3fb8eec Add OSX_TOLERATE_SDK_SKEW to control whether we try to find an
unversioned SDK if the versioned lookup fails. Off by default, as
before; must be explicitly enabled, as suggested by gdt@.
2018-11-08 22:18:14 +00:00
schmonz
47ae48e310 If an SDK matching our OS X version isn't found -- for instance, because
OS X has been upgraded and Xcode hasn't been -- try again without
specifying the version. This (1) works better and (2) gives a better
error message when it doesn't. From Markus Mayer in PR pkg/50317.
2018-11-07 16:50:27 +00:00
schmonz
c4f430b744 Optionally detect whether the compiler supports "-fstack-protector-strong".
If not, set _OPSYS_SUPPORTS_SSP=no during bootstrap and in mk.conf.

Do SSP detection on "SunOS", and let mk/platform/SunOS.mk's default
"yes" be overridden in mk.conf.

No change to generated mk.conf on NetBSD 8 or CentOS 6. Fixes bootstrap
on Tribblix.
2018-11-05 19:26:38 +00:00
sevan
d192480c51 Add unzip. From Minix 3.4RC6 2018-11-05 13:44:05 +00:00
sevan
1764d6ec78 Reduce whitespace noise when compared to NetBSD config. NFC 2018-11-05 13:42:24 +00:00
sevan
f869fad911 Add gsoelim, readlink, sdiff, shlock, soelim. From Minix 3.4RC6 2018-11-05 13:32:53 +00:00
sevan
dfe1a14b98 Add the relevant parts for cross compilation on Minix. - untested but the
relevant paths are set as expected.
2018-11-05 13:24:46 +00:00
sevan
15f2653da5 provide paths for byacc, gegrep, gfgrep, ggrep, install-info, makeinfo, openssl,
xz, xzcat on Minix. From Minix 3.4RC6
2018-11-05 12:57:47 +00:00
abs
c025aae024 Don't rely on gcc version fallthrough for GCC_REQD+=8
(Thanks to eagle eyes from leot@)
2018-10-29 11:53:18 +00:00
sevan
fb56cf7f44 Update path to false(1). nologin(8) exists on Minix 3.4RC6, however, currently
status is set to 0 despite exiting with 1
2018-10-29 10:53:31 +00:00
sevan
aa7df6147c Update some more paths from Minix 3.4RC6 2018-10-29 10:44:29 +00:00
sevan
77fb75889d Update path to chown(8) as found on Minix 3.4RC6 2018-10-29 10:31:05 +00:00
sevan
d14bc1e07d Use the same method to create the pbulk user on Minix as NetBSD 2018-10-29 02:47:08 +00:00
sevan
9ba78728c0 Minix 3 is ELF based 2018-10-29 01:50:00 +00:00
abs
2c974aa3c5 Add GCC_REQD+=8 support to compiler/gcc.mk 2018-10-28 22:22:19 +00:00
sevan
0a5a21105a libcompat_minix was removed some years back and minlib does not exist as a
linkable library in 3.4RC6 so don't try to link against these.
2018-10-28 18:41:41 +00:00
sevan
f5cbdf9aa2 Minix runs on platforms besides x86, match GNU config.guess. 2018-10-28 18:08:15 +00:00
sevan
277e45c036 Update location for true(1), taken from 3.4RC6 build. 2018-10-28 17:17:40 +00:00
schmonz
8c0a55f86e Remove old checkpassword, djbdns, and qmail options. Catch up to a new
djbdns option.
2018-10-24 15:51:38 +00:00
maya
8d0e197859 Remove dead mozilla mirrors. ESR mirrors are not used. 2018-10-23 23:22:31 +00:00
minskim
4b82a59c7e lang/rust: Extract .cargo without making a copy in ${WRKDIR} 2018-10-23 16:39:29 +00:00