non port: Mk/bsd.port.mk |
Number of commits found: 1248 (showing only 100 on this page) |
Wednesday, 6 Mar 2024
|
13:56 Baptiste Daroussin (bapt)
Mk/bsd.port.mk: remove LEGAL related variables
This is noop since the ports tree does nothing with the variables
anymore for a while
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D44252
4dea5ae |
Thursday, 29 Feb 2024
|
20:21 Tijl Coosemans (tijl)
Mk/*: Build with a clean environment
Both our make and gmake use the MAKEFLAGS environment variable but the
values aren't compatible and the latest version of gmake complains about
that. To rule out that any environment variable can cause problems like
this, add a new command SETENVI=/usr/bin/env -i that clears the
environment, and use it to run upstream build systems with a clean
environment.
Introduce a new variable WRK_ENV that contains the environment to use
with SETENVI in all targets that run upstream build commands. Variables
that are common between CONFIGURE_ENV and MAKE_ENV could be moved to
WRK_ENV but for now it just contains a minimal environment:
HOME=${WRKDIR}: Fixes USES=elixir ports that were using the user's HOME.
OSVERSION: For cross building; determines the output of uname -K and
getosreldate(3); affects net/freebsd-telnetd for example.
PATH: Fixes USES=gem ports that were using the user's PATH.
PWD=$${PWD}: Preserve current working directory; affects USES=go ports.
TERM: To preserve colored output to terminals.
TMPDIR: For users who define that.
UNAME_*: For cross building; determines the output of uname(1); affects
lang/python* for example.
This commit deals with everything under Mk/. Ports that have their own
targets running upstream build commands can switch to SETENVI later.
The ports tree adds its definition of ARCH to the MAKEFLAGS environment
variable, which is interpreted by sub-makes as command line arguments,
which means that any definition of ARCH in upstream makefiles was
overridden. The following ports required fixes now that this is no
longer the case.
games/iortcw, games/q3cellshading, games/tremulous:
These use Quake 3 engine code. Fix use of ARCH. Reduce diff between
FreeBSD code and Linux code.
games/legesmotus:
Remove ARCH related patches.
lang/ocaml:
Patch configure script so it detects amd64 correctly. Also make the
powerpc case consistent with the other architectures. This also affects
other ocaml ports like devel/ocaml-ocamlbuild and math/ocaml-num that
include a Makefile.config installed by lang/ocaml. While here, use
SETENVI in check-test target.
net/libnatpmp:
Use of upstream definition of ARCH triggers installation in PREFIX/lib64
on amd64. Disable this.
PR: 276478
Approved by: portmgr (antoine)
Exp-run by: antoine
572f236 |
06:07 Gleb Popov (arrowd)
Mk/bsd.port.mk: Allow WITHOUT_FEATURE_PORTS to cancel WITH_FEATURE
Differential Revision: https://reviews.freebsd.org/D43949
Sponsored by: Serenity Cybersecurity, LLC
d697653 |
06:07 Gleb Popov (arrowd)
Framework: Introduce testing feature
Setting WITH_TESTING=yes will cause running `make test` between `stage` and
`package` in the default pipeline.
This feature is off by default.
Sponsored by: Serenity Cybersecurity, LLC
d7700ff |
Monday, 12 Feb 2024
|
13:24 Baptiste Daroussin (bapt)
subpackages: fix minor regression
Before subpackages, when running package there where 2 cases:
case 1: ${PACKAGES} directory exist:
packages are created in the work/pkg directory then copies into
${PACKAGES} directory
case 2: ${PACKAGES} does not exist:
packages where only created in work/pkg
After subpackages in the case 2, the packages get copied into the
directory actually running the make package comment.
This change makes the framework behave like before subpackages
Reported by: Antonio Huete Jimenez (tuxilio from Dragonfly irc
channel)
e1584ae |
Monday, 5 Feb 2024
|
16:26 Baptiste Daroussin (bapt)
subpackages: fix make flavors-package-names
if the ports has flavors and subpackages then the list of names
are properly displayed 1 per line, but if the ports as no flavors
then it reported everything inline, breaking pkg version and
probably other tools
Reported by: many
2a58fba |
Saturday, 3 Feb 2024
|
06:31 Gleb Popov (arrowd)
Features/debuginfo.mk: Automatically generate a subpackage with debugging info.
Differential Revision: https://reviews.freebsd.org/D43515
Tested by: flo
Approved by: portmgr, emaste
2c24a73 |
Monday, 29 Jan 2024
|
22:25 Muhammad Moinur Rahman (bofh)
Mk/bsd.port.mk: Sunset MANPREFIX
For historical reasons FreeBSD had been using PREFIX/man to install man
pages and a variable MANPREFIX was utilized to do this. While the rest
of the UNIX/Linux world had been mostly using PREFIX/share. As the
first step of moving to PREFIX/share/man this commit removes all the
references to the MANPREFIX variable. Apart from MAKE_ARGS this
variable no longer exists and should not be used to refer to PREFIX
anymore in the future.
The entire shift to PREFIX/share/man will take some more times as there
are around 4000 ports which installs man page to PREFIX/man.
PR: 276551
Approved by: portmgr (exp-run)
8f80d6d |
Thursday, 18 Jan 2024
|
20:13 Olivier Cochard (olivier)
features: Add support to enable sanitizers
Can be activated/deactivated globally via
WITH_SANITIZE
Can be activated individualy via
WITH_SANITIZE_PORTS
Each port can individually mark itself as not supporting the feature
via SANITIZE_UNSAFE=
Approved by: bapt, arrowd
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D43497
0592024 |
Monday, 15 Jan 2024
|
16:17 Christian Weisgerber (naddy)
Mk/*: unconditionally use .MAKE.UID and .MAKE.GID
Since FreeBSD 12 has been EOLed, the built-in make(1) variables
.MAKE.UID and .MAKE.GID are always available.
PR: 276259
Approved by: arrowd
fe3392e |
Thursday, 11 Jan 2024
|
08:06 Gleb Popov (arrowd)
Mk/bsd.port.mk: Introduce generic WITH_<FEATURE>_PORTS knob.
This allows enabling any feature supported by Ports Framework for a selected
ports. It was only possible to do WITH_DEBUG_PORTS before.
Differential Revision: https://reviews.freebsd.org/D43369
Approved by: bapt
263bffb |
08:02 Baptiste Daroussin (bapt)
MAN?PREFIX: undefine those variables
MAN?PREFIX where confusing (people kept messing around with them)
did not bring any real value or functionnality.
Reviewed by: portmgr (mat)
Approved by: portmgr (mat)
Differential Revision: https://reviews.freebsd.org/D43392
5c475f0 |
Tuesday, 2 Jan 2024
|
10:55 Baptiste Daroussin (bapt)
subpackages: fix flavors-package-names
Before subpackages was introduced, flavors-package-names was printing
the full <name>-<version>, a regression was introduced with subpackages
which made it print <name>.
One of the side effect of this is pkg version -v -P was determining all
the ports as orphaned.
Reported by: stephen@
0823be4 |
Monday, 1 Jan 2024
|
21:58 Luca Pizzamiglio (pizzamig)
component: add SUBPACKAGES
This commit add SUBPACKAGES support to the framework.
Fix users of _LICENSE_DIR
Fix multi/dual license
Add annotation to packages about being a subpkg
Make do-depends aware of the subpackages
Add PKGBASE.subpkg variable
Fix actual-package-depends target
Fix dependencies in sub-packages
Implement LICENSE support
Fix PLIST_FILES.subpkg
Make DESCR.subpkg warning message shorter
Add SUBPACKES to the list of OPTIONS_HELPERS
Fix _strip_perms
Simplify METADIR as in the original patch
Fix _PLIST
Fix the case when there are no subpackages
Fix typo
Fix _PKGDIR initialization
Fix PLIST
Fix typo in RE
Fix METADIR
Fix type in PKGFILE
Fix [build|run]-depends-list targets
Initial import of the subpackage framework
This import is based on https://reviews.freebsd.org/D16457
PR: 275735
Differential Revision: https://reviews.freebsd.org/D40549
4756476 |
Sunday, 31 Dec 2023
|
00:37 Muhammad Moinur Rahman (bofh)
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
bbab7f5 |
Sunday, 26 Nov 2023
|
16:39 Fernando Apesteguía (fernape)
Mk/bsd.port.mk: Remove duplicate variable in JSON output
Remove duplicate pkg_depends when generating a JSON description of the three
Approved by: delphij@
Fixes: 3d9f300e01f5ecdb140027096c603623264ecc07
Differential Revision: https://reviews.freebsd.org/D42373
a270e74 |
Wednesday, 25 Oct 2023
|
06:34 Fernando Apesteguía (fernape)
Mk/bsd.port.mk: add COMMENT to make describe-json
Follow up to 3d9f300e01f5ecdb140027096c603623264ecc07.
Approved by: portmgr@ (bapt@ via mail)
4ad6ea4 |
Sunday, 22 Oct 2023
|
13:23 Alexey Dokuchaev (danfe)
Mk/bsd.port.mk: fix indentation (per ts=4) and trim excessive linefeeds
While here, spell two common Latin contractions properly.
8d4446d |
Wednesday, 18 Oct 2023
|
11:16 Fernando Apesteguía (fernape)
Mk/bsd.port.{subdir}.mk: create describe-json
Summary:
Create "describe-json" target to get a JSON-compliant representation of the
ports tree.
It can be invoked from a single port directory, a category directory or from the
ports tree top directory.
It supports FLAVORS. E.g. It is possible to execute the following:
cd math/qalculate-qt && make describe-json-qt6
Performance-wise it is equivalent to a simple "make describe" although it
offers a more complete vision of the port in an easily parseable format.
Times for describe:
1345.39 real 933.06 user 403.01 sys
1317.00 real 929.22 user 406.43 sys
1316.83 real 930.82 user 404.70 sys
1316.75 real 928.05 user 407.39 sys
1316.58 real 930.69 user 404.59 sys
Times for describe-json:
1320.38 real 924.80 user 414.48 sys
1320.66 real 926.14 user 413.41 sys
1320.41 real 924.08 user 415.30 sys
1320.37 real 922.96 user 416.35 sys
1320.25 real 924.25 user 414.95 sys
Some examples assuming the output is saved in the `describe.json` file.
Show all ports in the "accessibility" category:
jq '.accessibility' describe.json
Show ports in the "accessibility" category with a USES=iconv dependency:
jq '.accessibility.[] | select(.uses | index("iconv")) | .pkgorigin'
describe.json
Show ports in the tree that Uses=kmod:
jq '.[].[] | select(.uses | index("kmod")) | .pkgorigin' describe.json
Show ports having a LIB_DEPENDS on devel/binutils:
jq '.[].[] | select(.lib_depends | map(test("devel/binutils")) | any) |
.pkgorigin' describe.json
Show ports in the "database" category which have no maintainer and are marked as
deprecated:
jq '.databases.[] | select(.maintainer=="ports@FreeBSD.org" and .deprecated!="
") | .pkgorigin, .deprecated' describe.json
Approved by: portmgr (bapt@)
Differential Revision: https://reviews.freebsd.org/D42131
3d9f300 |
Tuesday, 12 Sep 2023
|
18:27 Tobias C. Berner (tcberner)
sanity: warn about unnused LIB_DEPENDS entries
`stage-qa` already warns about missing dependencies. However, it does not warn
about possibly unneeded ones.
This change tries to address this, by simply walking the list of linked against
shared libraries and then matching the entries of LIB_DEPENDS against them.
Note: this may lead to false positives -- as always, user your brain,
and don't rely on output of static tools alone.
Possible output might look like:
[...]
====> Running Q/A tests (stage-qa)
Warning: you might not need LIB_DEPENDS on libqgpgme.so
Warning: you might not need LIB_DEPENDS on libintl.so
Warning: you might not need LIB_DEPENDS on libKF5IconThemes.so
Warning: you might not need LIB_DEPENDS on libqca-qt5.so
Warning: you might not need LIB_DEPENDS on libQt5Test.so
[...]
Note, that in this case all are false positives.
Differential Revision: https://reviews.freebsd.org/D27304
f3790c0 |
Tuesday, 1 Aug 2023
|
11:27 Rene Ladan (rene)
all: remove support for expired FreeBSD 13.1
Approved by: portmgr (implicit), salvadore (gcc ports)
Reviewed by: jbeich
Differential Revision: https://reviews.freebsd.org/D40845
5981a24 |
Wednesday, 12 Jul 2023
|
18:55 Felix Palmen (zirias)
bsd.sites.mk: Support tag names with USE_GITLAB
Since quite some time, it's possible to download generated tarballs from
gitlab for a tag name without knowing the corresponding git hash. This
is preferable because you have a single source of truth about the
software version.
Support this by replacing GL_COMMIT with GL_TAGNAME which also accepts a
commit hash, similar to USE_GITHUB. Unfortunately, there's a catch, the
DISTFILE must be named exactly: ${GL_PROJECT}-${GL_TAGNAME}.tar.bz2,
otherwise it extracts in a directory that contains the commit hash. So,
we can't add the gitlab account or the revision suffix to make it work.
Therefore, detect whether GL_TAGNAME contains a commit hash, and if it
does, use the old behavior of deriving DISTNAME and DISTFILES.
Document in CHANGES, also add a DEV_WARNING similar to USE_GITHUB when
there's an URL in MASTER_SITES that looks like a gitlab URL. With
support for tags, there shouldn't be any reason left to hardcode such an
URL in MASTER_SITES.
PR: 248967
Approved by: portmgr (tcberner, mentor)
Differential Revision: https://reviews.freebsd.org/D37077
16bde07 |
14:19 Mateusz Piotrowski (0mp)
framework: Implement fetch-url-recursive-list and fetch-urlall-recursive-list
The recursive variants of fetch-url-list and fetch-urlall-list provide
a stable interface to a list of all the to-be-accessed URLs. That is
quite handy, e.g., when a list like that is necessary to implement
security policies.
Reviewed by: pizzamig
Approved by: portmgr (pizzamig)
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D40810
349b11c |
Tuesday, 11 Jul 2023
|
22:04 Robert Clausecker (fuz) Author: Andrew Gierth
Mk/bsd.port.mk: Allow category_port_VARS= in make.conf for arbitrary per-port
overrides.
Currently the only way to specify make.conf variables (other than port
options which have their own mechanism) in a per-port fashion is to use
conditionals on .CURDIR, which is fragile since it tends to involve
assumptions about where the ports tree is mounted.
Instead, allow category_portname_VARS= to be set in make.conf to provide
arbitrary assignments when building a specified port. For example one
might use
devel_llvm10_VARS= MAKE_JOBS_NUMBER=2
or
converters_lua-iconv_VARS= TRYBROKEN=yes
This is intended to be consistent with the existing
category_portname_SET= variables for port options, and uses the same
syntax for values as option_VARS= in port makefiles, but without the
case-folding behavior since that makes it impossible to handle
mixed-case or lowercase variable names.
Reviewed by: koobs, mat, adamw, mandree, 0mp
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D24324
VAR+=val can be used to append to a variable, and VAR@ to unset one entirely.
f685268 |
Saturday, 6 May 2023
|
05:47 Daniel Engberg (diizzy)
Mk/bsd.port.mk: Enable verbose output when pkgconfig file(s) ends up in wrong
path
To avoid confusion and silently fix issues that occurs
Reviewed by: mat
Approved by: portmgr (bofh)
af209ce |
Thursday, 30 Mar 2023
|
23:59 Muhammad Moinur Rahman (bofh)
*/*: Sunset 12.3-RELEASE from ports tree
- Mk/bsd.port.mk: mark FreeBSD 12.3 as unsupported.
- Mk/Uses/cabal.mk: Remove the text-2 workaround for 12.3-RELEASE
- biology/wfa2-lib: remove obsolete patch
- databases/mongodb60: remove IGNORE for EOL FreeBSD 12.3
- devel/concurrencpp: remove workaround for EOL FreeBSD 12.3
- devel/electron22: remove IGNORE for EOL FreeBSD 12.3
- devel/malloy: this should build fine on 12.4-RELEASE
- devel/qcoro: remove BROKEN for EOL FreeBSD 12.3
- devel/root: remove workaround for EOL FreeBSD 12.3
- editors/imhex: remove IGNORE for EOL FreeBSD 12.3
- emulators/ppsspp: remove workaround for EOL FreeBSD 12.3
- emulators/rpcs3: remove workaround for EOL FreeBSD 12.3
- emulators/yuzu: remove workaround for EOL 12.3-RELEASE
- games/aquaria: remove support for EOL FreeBSD 12.3
- games/punchy: remove workaround for EOL FreeBSD 12.3
- graphics/cxxplot: remove support for EOL FreeBSD 12.3
- lang/gcc11*: bump a __FreeBSD_version in libphobos to 1204000
- lang/rust: untangle OSVERSION logic a bit
- misc/mbuffer: remove workaround for EOL FreeBSD 12.3 for aarch64
- sysutils/libdisplay-info: remove workaround for EOL FreeBSD 12.3
- www/*chromium: remove IGNORE for EOL FreeBSD 12.3
- x11/hyprpaper: remove workaround for expired FreeBSD 12.3
- x11-wm/labwc: remove workaround for EOL FreeBSD 12.3
- x11-wm/kwinft: remove workaround for EOL FreeBSD 12.3
- www/iridium: remove IGNORE for EOL FreeBSD 12.3
Differential Revision: https://reviews.freebsd.org/D38664
5693229 |
Saturday, 4 Mar 2023
|
18:18 Gleb Popov (arrowd) Author: Olivier Duchateau
x11/budgie: + Budgie desktop environment.
This is import of complete Budgie desktop, it contains:
- Uses 'budgie.mk' framework
- Add virtual category (budgie) in `Mk/bsd.port.mk`
- Meta-port `x11-wm/budgie`
- New icon theme `x11-themes/tela-icon-theme`
Reviewed by: rene, tcberner, lbartoletti, arrowd
Differential Revision: https://reviews.freebsd.org/D37224
1ccad74 |
Thursday, 16 Feb 2023
|
15:51 Baptiste Daroussin (bapt) Author: Mateusz Guzik
SMP: Use nproc(1) instead of sysctl kern.smp.cpus
The former respects cpuset, while the latter does not.
$ cpuset -l 1 -- make -V MAKE_JOBS_NUMBER
1
As nproc is newly introduced, keep the previous variant as a fallback
for the time being.
Differential Revision: https://reviews.freebsd.org/D38457
e3a17d6 |
Wednesday, 8 Feb 2023
|
10:53 Muhammad Moinur Rahman (bofh)
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
6e1233b |
Saturday, 14 Jan 2023
|
23:08 Muhammad Moinur Rahman (bofh)
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925
18c6e18 |
Wednesday, 11 Jan 2023
|
22:41 Luca Pizzamiglio (pizzamig)
component: Mk framework
Add check to detect colon in .CURDIR, because it's not supported
this patch detects the colon and shows a proper error message
Reviewed By: #portmgr, tcberner
Differential Revision: https://reviews.freebsd.org/D37500
93a8625 |
Sunday, 25 Dec 2022
|
22:05 Tijl Coosemans (tijl)
Mk/bsd.port.mk: Pass MASTER_SITE_SUBDIR to submake of makesum target
This fixes make makesum in Linux ports. Uses/linux.mk only defines
MASTER_SITE_SUBDIR if MASTER_SITES is undefined so it was empty in the
submake.
5ebd817 |
Wednesday, 21 Dec 2022
|
16:34 Bryan Drewery (bdrewery)
Mk/bsd.sanity.mk: Reduce parsing during package builds
This disables bsd.sanity.mk when PACKAGE_BUILDING is set such that it
only is loaded during 'make [all]' or 'make check-sanity'. It is assumed the
package tool will manually call the target if it wants the check. Otherwise
we get redundant logic and filesystem lookups from this file for every other
build target.
Prodded by: mjg
4ca11c4 |
Monday, 19 Dec 2022
|
14:44 Muhammad Moinur Rahman (bofh)
Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
infrastructure and also in the ports which have been removed from the
ports as those are redundant.
In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.
Reviewed by: portmgr
Approved by: portmgr (blanket)
721e577 |
Wednesday, 26 Oct 2022
|
08:34 Baptiste Daroussin (bapt)
hardening: add relro and bind_now features
As usual with features, this can be activated/deactivated via
WITH/WITHOUT_<feature>
Each port can individually mark itself as not supporting the feature
via <feature>_UNSAFE=
cc0e861 |
08:22 Baptiste Daroussin (bapt) Author: Jatin Kataria
features: Add support to build ports as PIE executables.
This will allow utilization of ASLR provided by the kernel.
Sponsored by: Netflix
c6e7c89 |
Saturday, 15 Oct 2022
|
13:36 Christian Weisgerber (naddy)
Mk/bsd.port.mk: Use .MAKE.UID instead of calling id(1)
Save an invocation of id(1) by using the built-in .MAKE.UID variable
instead. Check availability of .MAKE.UID first, since older versions
of bmake (12.x) don't have it yet.
PR: 266942
Approved by: bapt
d8c8948 |
Wednesday, 28 Sep 2022
|
07:48 Rene Ladan (rene)
Mk: remove ancient 'make update-patches' target.
People should use 'make makepatch' instead which creates patches
with the expected filename and header.
Differential Revision: https://reviews.freebsd.org/D36767
b74ed0f |
Wednesday, 21 Sep 2022
|
11:23 Stefan Eßer (se)
Mk/bsd.port.mk: support multiple URLs in WWW
The WWW macro was supposewd to hold only one URL pointing to the most
useful starting point for a user searching for additional information,
configuration examples, etc.
Some port maintainers have set the WWW macro to a list of URLs,
breaking assumptions by scripts and tools in the ports system and of
external users of the ports system.
This change allows WWW to hold a list of URLs by only considering the
first list element in places where only a single URL is supported.
This mirrors the previous behavior of only using the first line tagged
with "WWW: " in the pkg-descr file.
Approved by: portmgr (tcberner)
Differential Revision: https://reviews.freebsd.org/D36558
4553009 |
Friday, 9 Sep 2022
|
16:54 Stefan Eßer (se)
Mk/bsd.port.mk: do not use master site as default for WWW
Maintainers should set WWW to a website with useful information for
users of the package.
The first MASTER_SITE of the port had been considered to be a useful
default value for the WWW variable.
It has been found not to be a generally useful URL though, therefore
stop providing a default value for WWW.
Approved by: portmgr (tcberner)
1c4cfbf |
Thursday, 8 Sep 2022
|
14:03 Stefan Eßer (se)
Mk/bsd.port.mk: Fix quoting of ${COMMENT:Q} in the describe target
The contents of COMMENT will be adequately protected against
interpretation by the shell due to the :Q modifier.
This access to the COMMENT variable should therefore not be enclosed
in double quotes.
Approved by: portmgr (implicit)
136a6b0 |
Wednesday, 7 Sep 2022
|
19:32 Stefan Eßer (se)
Mk/bsd.ports.mk: Add suppport for WWW in Makefiles
Expect the project website or other relevant URL of a port to be
specified in a WWW macro in its Makefile.
This information used to be available in WWW: lines at the end of
each port's pkg-descr file. By moving it into the Makefile, this
value is easier to access, verify, and maintain.
A WWW: line is added to the "desc" element of package manifests
based on the WWW macro value by the create-manifest.sh script.
This restores the previous contents of this line in the manifest
(as e.g. expected by the Freshports website).
The ports-mgmt/portlint port has been updated in commit 9800743f0
(version 2.19.13) to support the planned introduction of WWW in
port Makefiles.
Approved by: portmgr (tcberner)
Differential Revision: https://reviews.freebsd.org/D36434
ddd0e82 |
Thursday, 1 Sep 2022
|
13:52 Rene Ladan (rene)
cleanup: remove support for FreeBSD 13.0 which expired today.
- Mk/bsd.port.mk: mark 13.0 as unsupported
- Tools/scripts/portsearch: Drop support for FreeBSD <= 4
- archivers/zstd: revert "Fix build on FreeBSD 13.0"
- deskutils/xdg-desktop-portal: remove check for 13.0
- devel/libpeas: remove outdated comment
- editors/imhex: remove compatibility for 13.0
- editors/libreoffice: remove compatibility for 13.0
- editors/openoffice-4: remove compatibility for 13.0
- editors/openoffice-devel: remove compatibility for 13.0
- emulators/linux_base-c7: remove compatiblity for 13.0
- graphics/drm-kmod: remove detection for 13.0
- graphics/gpu-firmware-amd-kmod: do not check 13.0 anymore
- graphics/linux-c7-libdrm: remove support for 13.0
- math/igraph: remove support for 13.0
- net/asterisk16: drop support for ancient FreeBSD versions
- net/asterisk18: drop support for ancient FreeBSD versions
- security/openssl*: drop now obsolete patches
- sysutils/bhyve+: drop support for FreeBSD 13.0
- sysutils/ebsnvme-id: drop support for FreeBSD 13.0
- sysutils/openzfs: remove detection of FreeBSD 13.0
- sysutils/openzfs-kmod: drop detection of FreeBSD 13.0
- www/firefox: generalize pkg-message a bit regarding hgame(4)
- x11/xorg-cf-files: remove support for FreeBSD < 6 (yes, pre-2008)
While here, regenerate patches for:
- x11/xorg-cf-files
- net/asterisk16
- net/asterisk18
While here, remove a stale $Id$ from Tools/scripts/portsearch
Differential Revision: https://reviews.freebsd.org/D36233
Reviewed by: office (fluffy), x11 (manu), arrowd, brnrd, cperciva, freqlabs,
imp, jbeich, madpilot, nobutaka
2a09e5b |
Friday, 26 Aug 2022
|
09:03 Baptiste Daroussin (bapt)
CONFLICTS_INSTALL: check later for conflicts
Until now, the check of the CONFLICTS_INSTALL was done during the sanity
check, meaning very early in the package building process.
this makes it painful in 2 cases:
1. a port depend at build time on the extraction of this port, it will print
its warning message along with the default timer, while we will never reach
the said conflict at all.
2. since the ports tree has been staged, one can even go up to create a valid
package even if a locally conflicting package is locally installed.
This change make the check and print of the conflicts only happen during the
install phase, the same way the ports tree checks if a previous version is
already installed.
PR: 213890
Discussed with: tcberner
Reviewed by: tcberner
Differential Revision: https://reviews.freebsd.org/D36355
acf5d27 |
Friday, 29 Jul 2022
|
08:17 Tobias C. Berner (tcberner)
Mk/bsd.port.mk: add ${LOCALBASE}/share/pkgconfig support
In d48fab59daa56e0b3b6ffecef57a69c32ae9c0a7 ${LOCALBASE}/share/pkgconfig
was added as a valid location for pc files. Chase this change when using
base-pkgconfig files.
de99fa0 |
Thursday, 28 Jul 2022
|
23:05 Adam Weinberger (adamw)
Framework: Fix typo
b13c98f |
Wednesday, 27 Jul 2022
|
13:21 Baptiste Daroussin (bapt)
framework: generalize WITH_ code
Make the definition of WITH_ variable (end user actionable) a define
via a generic code
Move the WITH_DEBUG code into its own file Features/debug.mk
Replace USE_LTO into WITH_LTO and move it into Features/lto.mk
Move WITH_SSP into its own Features/ssp.mk
Add a variable to defined which one are activated by default (here SSP)
Reviewed by: portmgr (tcberner)
Differential Revision: https://reviews.freebsd.org/D35873
b26839a |
Thursday, 30 Jun 2022
|
19:14 Tobias C. Berner (tcberner)
framework: add new variable PKGCONFIG_BASE
The base system started to provide certain pkgconfig files for
components it provides. This new variable allows ports to prefer base
components explicitly using for example
PKGCONFIG_BASE=foo
This will create a symlink of /usr/libdata/pkgconfig/foo.pc to
${WKRDIR}/.pkgconfig and adding said path to pkgconfigs search path.
This allows us to switch easily between base and port implementation
of different components (say openssl) by simply defining the appropriate
variable in (say ssl.mk).
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D35494
882f167 |
Wednesday, 15 Jun 2022
|
21:33 Tobias C. Berner (tcberner)
Mk/bsd.port.mk: fix indentations
Reminder: please use the provdied hooks when working in Mk.
5b1a3b2 |
12:52 Baptiste Daroussin (bapt)
bsd.port.mk: remove FORCE_POST
FORCE_POST was a temporary solution when migrating from pkg_tools to
pkg now that everything can directly enforce when it is executed, it is
not needed anymore (and actually pkg is not looking for it anymore)
e64dd94 |
Saturday, 28 May 2022
|
15:30 Bryan Drewery (bdrewery)
Mk/bsd.port.mk: Fix unchanged options overwriting dialog4ports bg
This was already handled for the changed options case.
9f1366d |
Monday, 16 May 2022
|
08:54 Emmanuel Vadot (manu)
flavors: Allow ignoring for specific OSREL
This change allow a ports to have
<flavor>_IGNORE_<OPSYS>_{OSREL,OSREL:R} in their makefile so we
can ignore on specific FreeBSD version.
Approved by: bapt
Reviewed by: bapt
Sponsored by: Beckhoff Automation GmbH & Co. KG
10034f0 |
Friday, 6 May 2022
|
07:23 Baptiste Daroussin (bapt)
package: fix inverted logic
b0421f6 |
07:21 Baptiste Daroussin (bapt)
package: stop creating the backward compatibility symlinks
Stop creating the "transitionning" backward compatibility symlink
for packages, 9 month passed since we switched to .pkg
Only create the backward compatible symlinks for the bootstrap and
its signature when the compression format is txz. The old bootstrap may
only be looking for those. This should be removed once 13.0-RELEASE is EOLed
13efc89 |
Tuesday, 3 May 2022
|
12:04 Baptiste Daroussin (bapt)
bsd.port.mk: Use zstandard as default compression for FreeBSD 14+
The packages are switched from XZ to ZSTD compression, the compression level
is set at the maximum possible because it creates packages which are closed
in size between XZ and ZSTD, the compression time is close as well,
but decompression time is way bigger.
Exp-run: antoine
Differential revision: https://reviews.freebsd.org/D35095
dfae67d |
Saturday, 30 Apr 2022
|
08:03 Tobias C. Berner (tcberner)
framework: convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert ports tree to make use of USES=gstreamer
- remove duplicate dependency lines from the tree
Differential Revision: https://reviews.freebsd.org/D35097
ca3f925 |
Sunday, 24 Apr 2022
|
11:40 Stefan Eßer (se)
Mk/bsd.port.mk: simplify conflicts checks logic
I had added support for the specification of a condition and package
name patterns to Version 1.17.2 of the pkg command. This change allows
to simplify the conflicts checks: instead of listing all packages that
match a name pattern and then apply a filter to select the relevant
values, the filter condition is now passed to the pkg command.
This update includes a change to the semantics of the conflicts check
which aligns the output with current package naming practices:
After the introduction of flavors a "same origin exclusion" was
introduced, which removed packages from the conflicts list when
they shared the same origin (without considering the flavor).
This was required to allow the installation of e.g. python modules
for different interpreter versions (which typically use interpreter
version specific sub-directories to store their files), at a time
when there was no strict requirement to have non-colliding package
base names.
The "same origin exclusion" is wrong for ports with conflicting
flavors, e.g. devel/git where only one flavor may be installed at
any time - but the conflict is ignored due to the same origin of
all the different git packages.
Since all packages are now required to have a distinct base name
(e.g. by using a prefix like "py38-" instead of the prior "py-"),
a "same package base name exclusion" can be used to make the
conflicts check stricter and to correctly report the conflict if
for example some git flavor is installed and the installation of
another one is attempted.
An update of the documentation of the CONFLICTS* variables that
describes the "same package base name exclusion" has been committed to
the porter's handbook.
The Makefiles of many flavored ports could be simplified as described
in review D31303 (https://reviews.freebsd.org/D31303), since the
complexity of those definitions results from the exclusion of the
currently built package base name from the CONFLICTS definition,
which was unneeded before (due to the "same origin exclusion",
which made all these CONFLICTS definitions void, anyway) and is now
correctly dealt with after this commit (due to the "same package
base name exclusion").
This patch has been first put up for review in October of 2021, with
a comment that it should not be applied before pkg-1.17.2 (or newer)
can be assumed to be generally used.
Bapt@ accepted the change but later requested the MINIMAL_PKG_VERSION
to be adjusted to require pkg-1.17.2 (as included in this commit).
Due to recent white-space changes in bsd.port.mk the latest patch
uploaded for review does no longer cleanly apply. This commit contains
an updated version that matches the white-space changes (indentation
of .if / .else / .endif and other elements).
[This change had previously been applied as commit e03f85dbc9c, but
during a last minute white space adjustment 1 line had been lost.
This commit applies the change as has been accepted in the review,
updated to match the recent white-space changes.]
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D32694
d21825d |
11:34 Stefan Eßer (se)
Mk/bsd.port.mk: revert commit e03f85dbc9cc
While adjusting for white-space changes one .if conditon has been
lost.
Revert and re-apply in a follow-up commit with the missing line
restored.
Approved by: portmgr (implicit)
5614638 |
11:18 Stefan Eßer (se)
Mk/bsd.port.mk: simplify conflicts checks logic
I had added support for the specification of a condition and package
name patterns to Version 1.17.2 of the pkg command. This change allows
to simplify the conflicts checks: instead of listing all packages that
match a name pattern and then apply a filter to select the relevant
values, the filter condition is now passed to the pkg command.
This update includes a change to the semantics of the conflicts check
which aligns the output with current package naming practices:
After the introduction of flavors a "same origin exclusion" was
introduced, which removed packages from the conflicts list when
they shared the same origin (without considering the flavor).
This was required to allow the installation of e.g. python modules
for different interpreter versions (which typically use interpreter
version specific sub-directories to store their files), at a time
when there was no strict requirement to have non-colliding package
base names.
The "same origin exclusion" is wrong for ports with conflicting
flavors, e.g. devel/git where only one flavor may be installed at
any time - but the conflict is ignored due to the same origin of
all the different git packages.
Since all packages are now required to have a distinct base name
(e.g. by using a prefix like "py38-" instead of the prior "py-"),
a "same package base name exclusion" can be used to make the
conflicts check stricter and to correctly report the conflict if
for example some git flavor is installed and the installation of
another one is attempted.
An update of the documentation of the CONFLICTS* variables that
describes the "same package base name exclusion" has been committed to
the porter's handbook.
The Makefiles of many flavored ports could be simplified as described
in review D31303 (https://reviews.freebsd.org/D31303), since the
complexity of those definitions results from the exclusion of the
currently built package base name from the CONFLICTS definition,
which was unneeded before (due to the "same origin exclusion",
which made all these CONFLICTS definitions void, anyway) and is now
correctly dealt with after this commit (due to the "same package
base name exclusion").
This patch has been first put up for review in October of 2021, with
a comment that it should not be applied before pkg-1.17.2 (or newer)
can be assumed to be generally used.
Bapt@ accepted the change but later requested the MINIMAL_PKG_VERSION
to be adjusted to require pkg-1.17.2 (as included in this commit).
Due to recent white-space changes in bsd.port.mk the latest patch
uploaded for review does no longer cleanly apply. This commit contains
an updated version that matches the white-space changes (indentation
of .if / .else / .endif and other elements).
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D32694
e03f85d |
10:00 Tobias C. Berner (tcberner)
framework: cleanup conditional-indentations in Mk/
Run Tools/scripts/indent_make_if.pl on all of Mk.
These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible
Differential Revision: https://reviews.freebsd.org/D35024
Reviewed by: portmgr (rene, bapt)
aa25396 |
Friday, 1 Apr 2022
|
15:53 Rene Ladan (rene)
all: drop support for EOL FreeBSD 12.2
- Mk/bsd.port.mk: bump minimal FreeBSD version to 12.3,
update an example
- sysutils/lsof: drop support for ancient FreeBSD releases.
- multimedia/ustreamer: remove inline patch for 12.2
- x11/wayland-logout: remove support for FreeBSD < 12.3
- sysutils/bhyve+: remove support for FreeBSD 12.2
- databases/clickhouse: remove support for FreeBSD 12.2
- databases/mariadb106-server: remove support for FreeBSD 12.2
- devel/cvsd: no need to test for FreeBSD >=5 anymore
- devel/imake: no need to support a.out anymore
- japanese/kterm: no need to support FreeBSD <= 9
- math/igraph: remove support for FreeBSD 12.2
- net/onedrive: remove support for FreeBSD 12.2
- security/ipsec-tools: no need to test for FreeBSD >= 11
- emulators/rpcs3: Revert "emulators/rpcs3: unbreak on FreeBSD 12.2 after
49f593b2f77f"
Reviewed by: brnrd, fluffy, jbeich, ler, yuri, x11 (zeising)
Approved by: portmgr (implicit)
Differential Revision: https://reviews.freebsd.org/D34523
74c02f1 |
Sunday, 27 Mar 2022
|
13:21 Tobias C. Berner (tcberner)
graphics/gdk-pixbuf2: add trigger to run gdk-pixbuf-query-loaders
gdk-pixbuf2 uses a cache of its loadable modules, which is updated by
${RREFIX}/bin/gdk-pixbuf-query-loaders and stored in
${PREFIX}/lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders.
Remove the pre-existing @exec and @postexec commands in the ports
providing such modules, and add a trigger in graphics/gdk-pixbuf2
to do this automatically.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D34679
bd08b1e |
Tuesday, 22 Mar 2022
|
21:15 Rene Ladan (rene)
Mk/bsd.port.mk: drop check for unsupported DragonFlyBSD versions.
It is probably better that DragonFlyBSD adds their own minimum
version check. Our check was already severely outdated, it
checked for at least version 4.4 while version 6.2 is contemporary.
Discussed with: portmgr
a0fd11f |
Friday, 18 Mar 2022
|
10:00 Baptiste Daroussin (bapt)
devel/glib: convert gio modules and glib schemas to triggers
Use trigger to compile glib schemas, and generate gio modules cache
PR: 262567
Reviewed by: tcberner
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D34564
522332d |
Tuesday, 30 Nov 2021
|
12:37 Andriy Gapon (avg) Author: Ross Williams
bsd.port.mk: Do not pass FLAVOR in dependency make environment
The change introduced in bug 256301 (review D30579), which prevents
child make processes from receiving an empty FLAVOR variable when
FLAVOR should be unset, has the side effect of allowing any FLAVOR
already in the parent make process environment to propagate to the
child.
This revision prevents the FLAVOR from the parent make from
incorrectly propagating to the child during a recursive make.
Additionally, use "flavored" CURDIR in recursive_dirs variable
so that a correct FLAVOR is used for the top-most port as well.
Reviewed by: bapt
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D32324
a50c18b |
Thursday, 25 Nov 2021
|
00:45 Yasuhiro Kimura (yasu)
Mk/bsd.port.mk: Fix comments about PKGVERSION
* The value of PKGVERSION described in comment is different from real
one. And it is difficult to explain it briefly. So replace it with
brief explanation what the variable means.
PR: 259511
Approved by: portmgr (bapt)
edabbf8 |
Wednesday, 17 Nov 2021
|
09:20 Baptiste Daroussin (bapt)
bsd.port.mk: clean up DEV_WARNINGS about migrations that are over
fca1356 |
Monday, 8 Nov 2021
|
13:36 Baptiste Daroussin (bapt) Author: Trond Endrestøl
Mk/bsd.port.mk: configurable delay identify-install-conflicts
Instead of hardcoding the 10s delay for the conflicts warning, add
a new variable CONFLICT_WARNING_WAIT the same way we have WARNING_WAIT
and DEV_WARNING_WAIT
PR: 248548
98b8e8b |
13:12 Baptiste Daroussin (bapt)
Mk/bsd.port.mk: fix misleading comment
PR: 258726
Reported by: jamie@catflap.org
7f5e930 |
Monday, 1 Nov 2021
|
19:01 Tobias Kortkamp (tobik) Author: Craig Leres
Mk/bsd.port.mk: Fix makesum for ports that override MASTER_SITES in
make(makesum)
fba040e62bff04323a29d5ad2e21f516b18e9bb4 broke makesum for ports
that conditionally override MASTER_SITES in a make(makesum)
block to simplify maintenance like lang/python-doc-html or
devel/freebsd-sysroot where it is impractical to just statically
list all possible MASTER_SITES. It also broke USES=linux ports
that do the same for DISTFILES.
The breakage with DISTFILES was fixed in
50d2c82e016fd176868cdc6e4befa606fa61c50e by explicitly passing
it to the sub-make fetch. Do the same with MASTER_SITES and
PATCH_SITES so we do not have to workaround this with .MAKEFLAGS
or .export.
PR: 249537
Approved by: portmgr (implicit)
8d07ec8 |
Monday, 18 Oct 2021
|
11:31 Baptiste Daroussin (bapt)
Mk/bsd.port.mk: Add FLAVOR_SUB
If defined, for each flavors it will create for the non active one:
PLIST_SUB= FLAVORNAME="@comment " NO_FLAVOUNAME=""
and for the active one:
PLIST_SUB= FLAVORNAME="" NO_FLAVOUNAME="@comment "
Same for SUB_LIST
Reviewed by: manu, bdrewery, mat
Differential Revision: https://reviews.freebsd.org/D32495
5c7b1f1 |
Wednesday, 6 Oct 2021
|
12:01 Tobias Kortkamp (tobik) Author: Yuri Victorovich
Mk/bsd.port.mk: Export XDG_CACHE_HOME
This adds XDG_CACHE_HOME to the set of XDG_* variables exported in
CONFIGURE_ENV and MAKE_ENV.
Without XDG_CACHE_HOME in the environment some software (for ex.
https://github.com/coursier/coursier) falls back to using
/home/{user}/.cache during the build and writes outside the working
directory.
XDG_CACHE_HOME is described in the XDG Base Directory Specification:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
PR: 255600
Exp-run by: antoine
79ac62f |
Thursday, 30 Sep 2021
|
21:23 Rene Ladan (rene)
cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11
Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*
Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
620968a |
18:27 Piotr Kubaj (pkubaj)
Mk/bsd.lto.mk: add global LTO support for ports
It's well known that LTO provides both performance and size benefits for
binaries.
Add preliminary, opt-in support for global LTO enforcement to ports. Ports that
provide LTO option on their own and the ones that don't work with LTO will need
to set LTO_UNSAFE in the future.
PR: 258536
fb5f03a |
Tuesday, 21 Sep 2021
|
08:40 Baptiste Daroussin (bapt)
Mk/bsd.port.mk: fix NO_PKG_REGISTER
Since we switched to pkg, NO_PKG_REGISTER was not working anymore.
Since pkg 1.17.2 the pkg register command do support -N option which
allows to bring back NO_PKG_REGISTER.
PR: 191461
aedc183 |
Monday, 23 Aug 2021
|
14:12 Baptiste Daroussin (bapt)
Mk/bsd.port.mk: clean up some documentation formatting
03d5e2d |
14:12 Baptiste Daroussin (bapt)
Mk/bsd.port.mk: Add PKG_COMPRESSION_LEVEL user variable
it allows users to set their desired compression level when packaging
in make.conf
PR: 257427
Suggested by: Trond Endrestol <Trond.Endrestol@ximalas.info>
ea36ef6 |
14:12 Baptiste Daroussin (bapt)
Mk/bsd.port.mk: document PKG_COMPRESSION_FORMAT
6b9c8ce |
Wednesday, 18 Aug 2021
|
09:54 Piotr Kubaj (pkubaj)
Mk/bsd.port.mk: remove elfv2 workaround
Binutils is not present anymore on elfv2 systems.
Fixes build of audio/invada-studio-plugins-lv2:
/usr/local/bin/ld: unrecognized option '-B/usr/local/bin'
/usr/local/bin/ld: use the --help option for usage information
84291da |
Saturday, 14 Aug 2021
|
04:52 Bryan Drewery (bdrewery)
Mk/bsd.port.mk: Revert the UNAME_r error text change for now.
Keep the new flag though.
This error can occur in some other cases such as building on a
mismatched host kernel+userland. Some further study is needed
and it may be possible to automatically set UNAME_r.
259478f |
00:26 Bryan Drewery (bdrewery)
Mk/bsd.port.mk: Fix another typo
Reported by: grembo
Fixes: 154492dd1f ("Clarify UNAME_r failure.")
8ec588d |
Friday, 13 Aug 2021
|
20:36 Bryan Drewery (bdrewery)
Mk/bsd.port.mk: Fix typo
Fixes: 154492dd1f ("Clarify UNAME_r failure.")
bed9a4d |
20:22 Bryan Drewery (bdrewery)
Mk/bsd.port.mk: Clarify UNAME_r failure.
An example of this happening is with recent Poudriere changes:
- Poudriere <= 3.3 used to set UNAME_r in /etc/login.conf's environment
during *jail creation*.
- Poudriere >= 3.4 only sets it in the environment during *jail
runtime*.
Creating a jail with Poudriere 3.4 and then using Poudriere 3.3 on it
would fail to have UNAME_r properly set. It would read OSVERSION from
/usr/include/sys/param.h to find the installed files release. The ports
framework, and builds, need `uname` to be correct for the *jail/chroot*
and not be of the running kernel.
Add a footshoot enabler while here which should not be used for any
reason as it can create packages targetting the release of the running
kernel rather than the chroot/jail's expected version.
154492d |
Sunday, 1 Aug 2021
|
08:32 Xin LI (delphij)
net/openldap24-server: Make SASL permanent for OpenLDAP port.
PR: ports/257374
Reviewed by: obrien
Approved by: portmgr (exp-run by antoine)
Differential Revision: https://reviews.freebsd.org/D31301
974e13b |
Friday, 23 Jul 2021
|
11:35 Adam Weinberger (adamw)
bsd.port.mk: Fix typo
5ff464b |
Thursday, 22 Jul 2021
|
12:33 Baptiste Daroussin (bapt)
Mk/bsd.port.mk: use the WARNING framework to reduce the spam
c580a81 |
10:22 Alexey Dokuchaev (danfe)
Mk/bsd.port.mk: fix couple of minor annoyances
- Improve the text (fix typos) in another .warning message
- And an extra newline after "backward compatibility for users"
.if/.endif block for better readability, kill EOL whitespace
- Replace UTF-8 non-breaking space (C2 A0) with normal ASCII one
35c4572 |
09:36 Matthias Andree (mandree)
Mk/bsd.port.mk: fix typo in .warning
recommanded -> recommended.
Reported by: danfe
4f62d31 |
08:43 Matthias Andree (mandree)
Mk/bsd.port.mk: fix typo in .warning
vertion -> version.
Approved by: portmgr@ (implicit)
17db9a3 |
08:05 Baptiste Daroussin (bapt)
ports-mgmt/pkg*: Release 1.17.0
TL;DR: new uniq package file extension: '.pkg'
Full changelog for pkg:
- add a new "snap" prefix, to deal with pkg base snapshots
- pkg repo now accepts packages with different compression formats
- pkg now have a single extension: ".pkg" and a backward compatible
symlink is created when the package is created to help transitioning
- Default compression level for zstd is now set to 19
- the default compression level is now a configuration option
- plenty of portability fixes
- fix plenty of typos
- expose the name of the package to lua and shell scripts
- plist:
remove internal support for @*exec (this is now in the ports tree)
remove support for @ignore
remove support for @dirrm/@dirrmtry
remove support for @pkgdep
remove stub support for @stopdaemon
remove stub support for @display
remove stub support for @mtree
remove stub support for @conflict
- VUXML: fetch .xz compressed version of the file by default
- triggers are deferred to later command (firstboot is planned) if run
with pkg -r
- pkg triggers commands has been added and can execute the deferred
triggers for example at firstboot
Changes in the framework:
- Add a backward compatibility layer, so people are not forced to move
to pkg 1.17 yet (new quarter we will enforce the switch for triggers
anyway, but it gives time to people to switch)
- Introduce a new PKG_COMPRESSION_FORMAT for users to specify the
compression format they are willing to use when creating packages:
txz, tar, tgz, tbz, tzst are the valid ones (note that tzst is only
usable on FreeBSD 13 and 14)
- Add a backward compatibility for people who specified the compression
format already via PKG_SUFX and issue a warning to tell them about the
deprecation of PKG_SUFX
e497a16 |
Wednesday, 21 Jul 2021
|
12:23 Baptiste Daroussin (bapt)
Mk/bsd.port.mk: prepare the land for pkg 1.17
in next version of pkg, we now use a uniq extension: '.pkg' whatever the
compression is, the problem is some bootstrap pkg(7) does not handle
that yet, notably on freebsd 11.4 and 12.2.
We already have a compatibility layer by creating a symlink on the old
extension, which works but the signature itself will not exist with the
old extension. Add a workaround in the ports tree to symlink the new
signature to the old expected signature.
Given at the moment we are doing that things are not yet signed by
default we do create a dead symlink, but at the moment the repo are
published the right signature will be there.
ec2764d |
Sunday, 20 Jun 2021
|
23:29 Guangyuan Yang (ygy)
Mk/*: Update the link about adopting ports
Approved by: rene (portmgr), lwhsu (mentor)
Differential Revision: https://reviews.freebsd.org/D30744
de745e3 |
Tuesday, 1 Jun 2021
|
07:16 Mathieu Arnold (mat)
Mk/bsd.port.mk: Don't pass up an empty flavor.
The classic way to handle flavors is to set:
FLAVORS= foo bar
FLAVOR?= ${FLAVORS:[0]}
And in that case, FLAVOR is only set if the variable is not defined. If
you pass an empty flavor using `FLAVOR=` then it remains empty after
that line. It can leads to some ports with complicated logic to assume
the wrong flavor is set.
PR: 256301
Reported by: avg
Differential Revision: https://reviews.freebsd.org/D30579
e70bedf |
07:15 Mathieu Arnold (mat) Author: Andriy Gapon
Mk/bsd.port.mk: Ignore @ in path in _FLAVOR_RECURSIVE_SH.
While no port will ever have an @ in their path name, it might be
possible that PORTSDIR has an @ somewhere in its path.
PR: 256301
Differential Revision: https://reviews.freebsd.org/D30579
bad84b34 |
Monday, 10 May 2021
|
17:31 Baptiste Daroussin (bapt)
Revert "overlay: allow to load -overlay.mk files for each USES"
This changes was not supposed to be pushed yet
This reverts commit 073b0aa8a4304190cd1727cee1393d39fd520a8b.
61daf77 |
16:47 Baptiste Daroussin (bapt)
overlay: allow to load -overlay.mk files for each USES
This will be done before the loading of the actual USES, it allows one
to keep using the USES from the ports tree, and still provide additional
features in the overlay
073b0aa |
Friday, 7 May 2021
|
07:51 Baptiste Daroussin (bapt)
Mk/*: don't change yet compression format with pkg-devel
While it is planned to switch the compression format to zstandard in a
near futur it requires first pkg 1.17 to settle, don't change yet head
compression format.
e72d016 |
Wednesday, 14 Apr 2021
|
15:41 Mathieu Arnold (mat)
Mk: Don't generate an empty apply-slist target.
c4ee3f2 |
15:40 Mathieu Arnold (mat)
Mk: Run apply-slist earlier.
This allows SUB_FILES generated files to be available earlier than
staging, and use them during the build.
02ccefb |
Friday, 9 Apr 2021
|
18:43 Matthias Fechner (mfechner)
Fix downloading of packages hosted on gitlab.
Gitlab changed the address beginning of April you can download packages
from:
curl
https://gitlab.com/gitlab-org/gitlab-foss/repository/7efd19e3716ab6f9146052da76d1bd59ec815f2d/archive.tar.gz?dummy=/gitlab-org-gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d_GL0.tar.gz
to:
curl
https://gitlab.com/gitlab-org/gitlab-foss/-/archive/7efd19e3716ab6f9146052da76d1bd59ec815f2d.tar.gz?dummy=/gitlab-org-gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d_GL0.tar.gz
The new extracted archive will have a different folder name.
Before it was:
gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d-7efd19e3716ab6f9146052da76d1bd59ec815f2d
now it is:
gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d
So all ports using gitlab must regen their distinfo.
PR: 254866
MFH: 2021Q2
Differential Revision: https://reviews.freebsd.org/D29628
12ae970 |
Number of commits found: 1248 (showing only 100 on this page) |