Commit graph

9536 commits

Author SHA1 Message Date
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
adam
eee51a9821 postgresql11: added version 11.0
PostgreSQL 11 provides users with improvements to overall performance of the database system, with specific enhancements associated with very large databases and high computational workloads. Further, PostgreSQL 11 makes significant improvements to the table partitioning system, adds support for stored procedures capable of transaction management, improves query parallelism and adds parallelized data definition capabilities, and introduces just-in-time (JIT) compilation for accelerating the execution of expressions in queries.
2018-10-23 16:02:51 +00:00
jperkin
2aa8c6b07e mk: Add native GNU/BSD grep where they are known to exist. 2018-10-17 08:30:43 +00:00
jperkin
c61f061ba7 mk: Add support for a ggrep tool.
This is for when GNU features are required that aren't available in some
other greps, for example -o or --color.  If ggrep is requested then it
takes precedence over grep/egrep/fgrep and the GNU versions are used for
all three.

BSD grep aims for GNU compatibility so it is anticipated that it can be
used as a native tool to avoid a dependency on textproc/grep on platforms
that provide it.
2018-10-17 08:22:19 +00:00
maya
637d08c6eb drop ftp://ftp.gnu.org, they have a notice stating they intend to shut down
ftp services. (http remains)
2018-10-13 02:46:11 +00:00
adam
f584999b44 Fix for platform/Haiku.mk:12: Makefile lines should not start with space characters. 2018-10-11 08:30:16 +00:00
abs
752fb11aed Support single digit GCC_REQ values (5, 6 or 7)
Do not add 4 to avoid confusion between gcc44/48/49

Also switch USE_PKGSRC_GCC_RUNTIME checks to use _GCC_PKGBASE to match
against selected gcc
2018-10-09 15:02:48 +00:00
rillig
d578ca80ec Fix whitespace issues reported by pkglint 2018-10-08 20:35:00 +00:00
rillig
88d1c1b9b7 Remove leading whitespace 2018-10-08 20:13:35 +00:00
rillig
b353c90862 Remove trailing whitespace 2018-10-08 20:02:17 +00:00
roy
af5c609886 Add ripoffline as a curses function to test for 2018-10-04 15:34:42 +00:00
tnn
61c4b6113a add generic "ocaml" option for building optional ocaml bindings in packages 2018-10-04 14:13:43 +00:00
maya
e6c33287cf s/wip/games/, thanks leot for the ping. 2018-10-01 18:25:17 +00:00
triaxx
1866d140cc check-shlibs.mk: avoid l10n of awk-parsed messages.
Fix PR 53119
2018-10-01 14:59:49 +00:00
maya
6719bb25ed Add love.mk, helps generate wrappers to execute LOVE2D games
with the correct LOVE version.
2018-09-30 19:22:18 +00:00
maya
bf3470aa29 describe av1 option. 2018-09-30 19:20:50 +00:00
sevan
83186f21bf GCC 8.0 as the compiler in base is incoming. 2018-09-29 11:47:33 +00:00
sevan
d736694b6b Sync with upstream, among the various changes is the update to the MINIX entry. 2018-09-16 10:38:48 +00:00
tnn
3b9a76ea38 mk: enable Java on NetBSD-*-aarch64 2018-09-14 16:01:05 +00:00
wiz
75ca86378b mk: describe canlock option 2018-09-03 09:41:05 +00:00
maya
6c25dec844 Remove clauses 3,4 from TNF-only copyright blocks.
This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.

This change has been applied to code which is likely not in other
repositories.

ok board@, reviewed by riastradh@
2018-08-22 20:48:36 +00:00
wiz
11646718df options.description: add descriptions for flnews options. 2018-08-20 12:57:43 +00:00
adam
107ec1e19d pkglint fix 2018-08-19 09:37:12 +00:00
ryoon
adedc2bccd Fix typo. Thank you, jperkin@. 2018-08-18 08:18:42 +00:00
ryoon
474d34ae31 Add fcitx option 2018-08-18 01:25:58 +00:00
ryoon
61a42de382 Fix typo in variable name 2018-08-18 00:14:39 +00:00
nia
e58b44c7d0 Remove 'dynarec' option and enable it by default instead.
Discussed with wiz.
2018-08-16 13:25:27 +00:00
rillig
bd80bac9a0 mk/compiler.mk: sort supported compilers alphabetically 2018-08-12 19:36:40 +00:00
nia
d5d2bce328 + dynarec 2018-08-11 13:57:27 +00:00
nia
4a26a6c893 license.mk: Remove duplicate entry I accidentally added.
Sorry, I thought I had committed this earlier.
2018-08-10 19:29:04 +00:00
nia
33f246505c license.mk: Add some more acceptable Creative Commons licenses, suggested
by leot.
2018-08-07 15:43:41 +00:00
rillig
3866b420a6 mk/fetch/github.mk: document that PKGBASE influences GitHub variables
See https://mail-index.netbsd.org/pkgsrc-users/2018/07/thread1.html#027251
2018-08-01 18:01:32 +00:00
bsiegert
b4f2a458cc Add description for psl option.
PR pkg/53459 (first step).
2018-07-28 11:22:41 +00:00
rillig
72f7766091 mk/help: if no intentional documentation is found, list containing files 2018-07-22 06:45:31 +00:00
maya
049476ecd8 mips64 is more likely not 64bit. 2018-07-16 19:53:53 +00:00
jperkin
593ba9f18c mk/compiler/gcc.mk: Darwin needs _USE_GCC_SHLIB too. 2018-07-11 11:11:52 +00:00
jaapb
e5090fa968 mk/ocaml.mk now handles ulimit commands properly 2018-07-11 09:18:28 +00:00
wiz
107bfe0475 emacs: document more *nox versions, and switch to emacs26 by default 2018-06-24 21:19:10 +00:00
khorben
ff2d2f3e7a Disable the flags for PKGSRC_MKPIE when explicitly required
This notably allows emulators/qemu to properly detect support for PIE, and
disable it where appropriate. This does not work with cwrappers yet.
2018-06-19 05:02:10 +00:00
schmonz
fc936bf281 Provide defaults for UCSPI_SSL_{USER,GROUP}. 2018-06-18 10:59:55 +00:00
dbj
ad7e5443a5 check-shlibs-macho.awk: revert previous
Revert this fix until we can determine a possibly better fix.
2018-06-07 07:00:10 +00:00
dbj
0af4e4a4a0 check-shlibs-macho.awk: fix support for checking modules
Allow the dylib install_name to be just the library basename
2018-06-07 04:58:46 +00:00
youri
a0b335c3d2 + upower 2018-06-01 14:22:15 +00:00
jaapb
48b7bc7ff6 Updated ocaml.mk to work with opaline 0.3.1. 2018-05-31 11:22:46 +00:00
youri
1ff8a0091d + polkit 2018-05-29 03:30:54 +00:00
youri
b7fe3dcd2d + daap 2018-05-29 03:22:56 +00:00
rillig
d01040b2f7 mk/misc/show.mk: improve wording of the help text 2018-05-28 22:34:47 +00:00
rillig
072f2096f3 mk/bsd.pkg.mk: include PKGVERSION in show-all target 2018-05-28 20:37:47 +00:00
jperkin
47e24bbfb7 check-shlibs-macho.awk: Implement revision 1.3 correctly.
Skip any lines of otool output that do not start with a tab, ensuring we
only check valid files and ignore e.g. shell scripts.  Older versions of
otool would simply print no output on such files, whereas newer releases
print "is not an object file".
2018-05-25 10:57:28 +00:00
jperkin
3a6695c335 check-shlibs-macho.awk: Revert revision 1.3.
It completely broke the checks, resulting in broken binary packages
being shipped, e.g. https://github.com/joyent/pkgsrc/issues/104
2018-05-25 09:26:49 +00:00
wiz
b621cbd744 mk/compiler/gcc.mk: move _GCC_LDFLAGS setting for relro.
At the previous location it was overridden if a gcc from pkgsrc was used.

Problem found by bacon@
2018-05-24 05:47:21 +00:00
maya
78432ca7c3 Describe some of the security mitigation flags and their impact 2018-05-23 11:26:54 +00:00