Commit graph

9515 commits

Author SHA1 Message Date
bsiegert
ce19293462 replace-interpreter.mk: support REPLACE_PERL6.
This is basically the same as REPLACE_PERL, except that there is a default
for ${PERL6} inline if it is not otherwise defined.
2019-02-18 14:10:37 +00:00
triaxx
43226095e2 tools.FreeBSD.mk: make groff conditional
FreeBSD 12 removes groff: test its existence before using it.
2019-02-12 18:40:16 +00:00
leot
750e0bf0c5 options.description: Add xls option
Will be used for math/sc-im.

Patch provided by Sijmen J. Mulder via tech-pkg@.
2019-02-11 21:59:32 +00:00
leot
fa122847a1 license.mk: Fix a typo 2019-02-10 21:36:54 +00:00
wiz
5547fd6f4f Revert previous for now. 2019-02-10 21:35:01 +00:00
wiz
40b6e19ea9 mk: allow Affero GPL by default
This follows a recent TNF board decision.
2019-02-06 14:38:02 +00:00
wiz
ffb5aa8ddc *: mirror.switch.ch does not provide ftp/http service any longer 2019-02-04 09:36:41 +00:00
leot
d3433d3184 options.description: Add color and xlsx options
(Used by math/sc-im.)
2019-01-30 13:01:06 +00:00
leot
948e68bb1f mk/tools/replace.mk: Update the check to devel/nbpatch
The check to avoid possible dependency loop was not updated to
check devel/nbpatch (instead of devel/patch).

Fix PR pkg/53920 reported by Dean Matzkov.
2019-01-29 22:41:00 +00:00
abs
06d9bbe5de Add gnupg1 as an option 2019-01-26 18:23:34 +00:00
tnn
790927a09f Linux.mk: provide default LIBABISUFFIX for aarch64 2019-01-24 18:40:56 +00:00
roy
92284935f7 Call replace-names before SU
This allows the replace target to work with OBJ on NFS where root
isn't allowed.
2019-01-22 14:29:44 +00:00
schmonz
45504e4376 Improve 'tai-system-clock' description. 2019-01-17 22:26:21 +00:00
rillig
2b74bc126e mk/check: document how check-portability.sh is typically invoked 2019-01-17 00:11:44 +00:00
gutteridge
016d76c0b9 mk/plist/plist.mk: amend MACHINE_ARCH examples in a comment
To avoid potential confusion, amend the example MACHINE_ARCH to what it
really is. While here, fix a rather subtle typo.
2019-01-16 04:43:42 +00:00
wiz
31d79002d9 mk: Describe termcap option. 2019-01-15 15:49:17 +00:00
tnn
22ac324162 mk/sites: cpan.perl.org advertises Strict-Transport-Security 2019-01-14 09:46:58 +00:00
schmonz
85f9f9aa43 Provide defaults for SNIPROXY_{USER,GROUP}. 2019-01-11 23:09:15 +00:00
schmonz
831d992b03 Document 'tai-system-clock'. Remove extinct 'ucspi-ssl-perl'. 2019-01-10 03:14:10 +00:00
wiz
da5215fd50 Add RELRO support for clang, based on the gcc logic. 2019-01-09 13:19:03 +00:00
bsiegert
64896df507 bsd.prefs.mk: set OS_VARIANT=Microsoft if used under WSL.
WSL is Windows Services for Linux, aka "bash on Ubuntu on Windows".
Some packages need to differentiate plain Linux and running on WSL.

Patch from David Weller-Fahy via PR pkg/53806.
2019-01-06 12:51:45 +00:00
schmonz
b0841837b2 Add MIREDO_{USER,GROUP} defaults. 2019-01-06 00:07:48 +00:00
maya
3b04d43200 Update to the latest upstream config.sub.
No modifications are needed any more, upstream wanted to recognise
netbsd/sh3el differently.

Now upstream recognises even more GPUs, too.
2019-01-04 13:25:07 +00:00
maya
1344d983a0 Merge in newer GNU config files.
- Locally patch in netbsd/superh, not yet accepted upstream.
- upstream did netbsd/mips64eb fix differently.

Other changes that might be notable to us:

- different compiler-based way of identifying 32bit vs. 64bit for
solaris/x86
- different compiler-based way of identifying solaris/sparc 64bit,
that supposedly works for both sun cc and GCC.
2019-01-04 07:35:25 +00:00
maya
cc5855a6a0 Revert accidental change. 2019-01-02 15:45:27 +00:00
maya
456c6ebc97 Really mirror GCC now, including the wildcard.
Thanks joerg for the heads up

PR pkg/53825
2019-01-02 15:41:13 +00:00
maya
38d3bdb0ec Match 32-bit SuperH CPUs in the same way that GCC does.
PR pkg/53825
2019-01-02 15:31:36 +00:00
jklos
b2ad87c797 Fix support for NetBSD mips64 targets. 2018-12-26 19:00:00 +00:00
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