Commit graph

10079 commits

Author SHA1 Message Date
khorben
727ba708e4 Introduce a new SYSCONFBASE variable (defaults to /etc)
This is part 1 to support additional platforms with the RC scripts provided in
pkgsrc, in privileged as well as in unprivileged mode, including on NetBSD
(with part 2 in pkgtools/rc.subr).

This variable is meant to point to the configuration directory of the base
system (as opposed to pkgsrc's own prefix) when it should be used by pkgsrc in
special cases (e.g. installing RC scripts), or to point to the existing
PKG_SYSCONFBASE directory otherwise (e.g. for any unprivileged bootstrap).
This teaches pkgsrc where the RC scripts should be installed, and more
importantly, where the local copy of rc.subr can be expected. Part 3 will
progressively update each and every RC script to substitute this path as
expected.

No functional changes are intended in privileged mode without a bootstrap. The
only variable affected by this change directly is RCD_SCRIPTS_DIR, which
currently remains with the same default of /etc/rc.d, and can be overridden as
before.

When bootstrapping, SYSCONFBASE also remains with the existing default when no
prefix is set or is "/usr/pkg" or "/usr"; it is set to $prefix/etc otherwise. It
can be specified specifically with --sysconfbase if necessary.

Existing installations or bootstraps are not affected, as this change needs
setting SYSCONFBASE in the corresponding $sysconfdir/mk.conf to have an impact.

Tested in privileged and unprivileged modes on NetBSD/amd64, and unprivileged
mode on Darwin/amd64; submitted for review on tech-pkg@.
2021-05-30 23:41:05 +00:00
jperkin
33d4ec633c mk: Map macOS 11.4 to the 11.3 SDK. 2021-05-27 18:16:26 +00:00
nia
3baa7b12d3 +columnstore 2021-05-25 12:09:19 +00:00
nia
fb50d48b44 +oqgraph 2021-05-25 10:18:37 +00:00
nia
bb964c332f +rocksdb 2021-05-25 10:11:33 +00:00
nia
23fbbfabda improve option descriptions 2021-05-25 10:10:10 +00:00
adam
91ff7902ca postgresql95: removed; EOL 2021-05-24 07:42:01 +00:00
nia
073326436c mk: add mariadb105 2021-05-23 15:36:45 +00:00
wiz
7861b08583 mk: document zstd option 2021-05-23 11:13:51 +00:00
jperkin
25f53256d2 mk: Overhaul mysql.buildlink3.mk.
- Avoid shouting in version names.  Users may still set MYSQL_VERSION_DEFAULT
  to "MARIADB104", but it is preferred to switch to "mariadb104".

- Set the correct variables in BUILD_DEFS_EFFECTS and _SYS_VARS.

- Instead of hardcoding library names with per-OPSYS logic and testing for
  their existence to see if the package is installed, do it the correct way
  using pkg_info(1).

- Make it easier to add new MySQL versions.

- Avoid unnecesary variables.  Use bmake(1) slices to select the first item
  in a list rather than a temporary variable.

- Improve documentation.

Based on a patch I've had sitting in the joyent/pkgsrc tree for far too many
years.  No functional change other than the switch to lowercase package names
by default.  Tested in a bulk build with additional Percona packages.
2021-05-21 13:20:43 +00:00
triaxx
e1eb9d8602 subst.mk: Fix mk/scrips/subst-identity.awk for FreeBSD
At least on FreeBSD 13.0, awk '/^[\t -~]/' does not match alphabetical
characters with some utf-8 locales (e.g. neither en_US.UTF-8 nor
fr_FR.UTF-8 works but C.UTF-8 does).
2021-05-19 14:44:22 +00:00
nia
8a845b5c99 more generic description for simd 2021-05-15 11:18:12 +00:00
nia
be29d2f130 add avx option description 2021-05-15 10:55:28 +00:00
jdolecek
21651ccf21 support MySQL 8.0
80 is accepted by default, but 57 remains the default to install if none available
2021-05-13 15:29:04 +00:00
nia
64b9c9e9e3 Remove mariadb55, EOL since April 2020. 2021-05-13 11:04:43 +00:00
hauke
b8ce4a2039 Set SUSE_PREFER explicitly for recent FreeBSD releases.
Otherwise, we end up with 10.0, which does not support FreeBSD, even
in the presence of newer suse_ packages installed -- so much for *_PREFER.
2021-05-12 10:14:24 +00:00
thor
c13d43b0d1 mk/mpi.buildlink3.mk: Add MPI_TYPE=native and diagnostics
This enables use of MPI compiler wrappers present in the host
system via MPI_TYPE=native. Also, it checks for conflicts with
a preintalled different MPI choice from pkgsrc and.
2021-05-11 21:30:57 +00:00
hauke
d50171c1c7 Add freebsd-{i386,x86_64} to _EMUL_PREFER.
No preference, no emulation...
2021-05-11 14:56:47 +00:00
thor
5f089f5a15 options: add vtk 2021-05-08 22:05:53 +00:00
jdolecek
4088bdb93b recognize MariaDB 10.4 as another accepted MySQL version 2021-05-08 19:53:28 +00:00
jdolecek
e076927e3a merge the version check for Darwin and !Darwin
mariadb55-client is now detected and used if available on macOS
2021-05-08 15:51:28 +00:00
thor
521c50ceec options.description: add some from math/fftw 2021-05-07 12:31:04 +00:00
rin
ab4b83a2f9 64-bit atomic ops are lacking for m68k.
Part of PR pkg/56119 from nia.

XXX
We need this for other architectures also...
2021-05-07 11:32:01 +00:00
pho
3c537cb057 Support PKGSRC_USE_RELRO 2021-05-04 15:44:33 +00:00
gutteridge
6c9c8026c7 options.description: add webcollage option 2021-05-03 23:32:19 +00:00
ryoon
2cfbc4d2bb mk/tools: gdbus-codegen is in devel category 2021-05-02 14:11:40 +00:00
pho
453fae4479 Switch the default compiler to lang/ghc90 2021-05-02 13:39:25 +00:00
nia
ab8a1fb4af *: Use the tools framework for gdbus-codegen 2021-05-02 11:06:12 +00:00
nia
773cde7da8 *: Use the tools framework for itstool
Now it should be more obvious when a package needs it as a dependency,
as it will fail loudly if it isn't declared as a tool.

While here, some duplicate dependencies on itstool were removed from the
MATE packages
2021-05-02 10:24:47 +00:00
pho
443566c5fb Use tools framework for Haskell source preprocessors 2021-05-01 16:14:19 +00:00
pho
5fba640853 Move lengthy awk and shell scripts out of haskell.mk 2021-05-01 15:06:26 +00:00
pho
56b10e6f5c Fix a bug in my previous commit 2021-05-01 14:24:21 +00:00
pho
aaed0e0c91 Support Cabal packages that lack Setup.?hs
They currently have Setup.hs in ${FILESDIR} with almost always the same
content. We can do better than that.
2021-05-01 14:10:55 +00:00
wiz
b0ee303e9c mk: master site xorg now prefers https 2021-04-28 09:54:24 +00:00
mrg
0a843265c7 various fixes for arm64 big endian support.
most of these simply extend matching from "aarch64" to "aarch64eb"
in various forms of code.  most remaining uses in pkgsrc of
"MACHINE_ARCH == aarch64" are because of missing aarch64eb support,
such as most of the binary-bootstrap requiring languages like rust,
go, and java.

no pkg-bump because this shouldn't change packages on systems that
could already build all of these.
2021-04-25 07:51:24 +00:00
pho
187301d3fc Rework the PLIST handling to support executable-only packages
It was a long-standing issue that Haskell packages which didn't contain a
library could not be correctly handled.

There are fewer substitutions in PLIST_SUBST now. As a result existing
PLIST files will all be considered as outdated and should be updated
either by setting HS_UPDATE_PLIST=yes or by manually running print-PLIST.
They will be ignored until that.
2021-04-23 03:57:16 +00:00
wiz
9945ccab7a mk: remove dead download site 2021-04-21 15:38:17 +00:00
nia
9c68a24386 correct documentation 2021-04-10 09:03:13 +00:00
nia
d3b700d42d mk: use http. 2021-04-09 20:15:16 +00:00
tnn
df25059544 mk/java-vm.mk: switch NetBSD-*-aarch64 to openjdk11 2021-04-09 12:47:24 +00:00
joerg
e58a801ede Preserve stdin for the bootstrap and dependency handling like done for
normal dependencies.
2021-04-06 18:46:06 +00:00
nia
9876104df1 mk: Remove lingering gcc5 reference 2021-04-06 12:07:57 +00:00
nia
94a4d76a74 mkreadme: Rename generated files to index.html
This should make web servers happier, as discusesd on tech-pkg.
2021-04-05 10:32:38 +00:00
gdt
d7355c1c8a license.mk: Minor changes in comments
Capitalize Free and Open Source more consistently.

Use "approved" rather than "accepted" when discussing Debian, to
avoid confusion between their rules and processes and ours.

(This is not a substantive change.)
2021-04-03 15:30:39 +00:00
nia
5cae70c75a mk: Remove gcc44 bits 2021-04-02 17:04:17 +00:00
nia
54b7655c2e mk: use gcc6-aux for ada 2021-04-02 16:54:48 +00:00
nia
51a9ce2ba7 mk: Remove references to gcc48/gcc49, as done elsewhere here 2021-04-02 11:48:16 +00:00
ryoon
e8aa763230 mk: Introduce GITHUB_SUBMODULES to get and place Git submodules for GitHub 2021-03-30 16:47:03 +00:00
wiz
15a32f324f mk/jpeg.buildlink3.mk: document allowed values 2021-03-21 08:02:27 +00:00
ryoon
483412fe32 mk: Add preliminary support for MidnightBSD
It is almost as same as FreeBSD.
2021-03-15 16:21:02 +00:00