History log of /src/etc/Makefile (Results 1 – 25 of 2244)
Revision Date Author Comments
# bf848614 15-Oct-2025 Lexi Winter <ivy@FreeBSD.org>

packages: Rename unbound to local-unbound

This more accurately reflects its purpose, and its contents, since
everything in the package is prefixed with "local-".

While here, add a message on upgrad

packages: Rename unbound to local-unbound

This more accurately reflects its purpose, and its contents, since
everything in the package is prefixed with "local-".

While here, add a message on upgrade about regenerating the config.

MFC after: 3 seconds
Requested by: des
Reviewed by: des
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D53056

show more ...


# 70f30afd 12-Oct-2025 Jose Luis Duran <jlduran@FreeBSD.org>

Vendor import of blocklist 2025-04-28 (8aa81bf)

Upstream hash 8aa81bf70073715a749b1673884e84ac82cfce9f.

Approved by: emaste (mentor)
Obtained from: https://github.com/zoulasc/blocklist


# 09cd3dec 02-Oct-2025 Lexi Winter <ivy@FreeBSD.org>

etc, ypserv: Fix symlink creation for pkgbase

The Makefile logic for /etc/aliases, /var/yp/Makefile and /etc/unbound
tries to avoid creating the symlink if it already exists in the target,
but this

etc, ypserv: Fix symlink creation for pkgbase

The Makefile logic for /etc/aliases, /var/yp/Makefile and /etc/unbound
tries to avoid creating the symlink if it already exists in the target,
but this breaks with pkgbase since the symlink won't be installed (and
therefore won't be added to METALOG) if building with an existing
worldstage, meaning it's missing from the generated package.

Change the logic to forcibly install the symlink if NO_ROOT is defined,
but keep the existing logic for non-package builds to avoid trashing
the user's custom symlinks on non-pkgbase installworld.

MFC after: 3 seconds
Reported by: cperciva
Reviewed by: cperciva, emaste
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D52834

show more ...


# fc77abfd 17-Jun-2025 Ed Maste <emaste@FreeBSD.org>

etc: Avoid duplicate gss files installation

From Cirrus-CI
su user -c "/usr/libexec/flua tools/pkgbase/metalog_reader.lua \
-c /usr/obj/$(pwd -P)/${TARGET}.${TARGET_ARCH}/worldstage/METALOG"
err

etc: Avoid duplicate gss files installation

From Cirrus-CI
su user -c "/usr/libexec/flua tools/pkgbase/metalog_reader.lua \
-c /usr/obj/$(pwd -P)/${TARGET}.${TARGET_ARCH}/worldstage/METALOG"
error: ./etc/gss/mech file repeated with same meta: line 2127,40175
error: ./etc/gss/qop file repeated with same meta: line 2128,40176

Prior to 1b735665f45a the Heimdal versions were installed via

distribution:
${_+_}cd ${.CURDIR}/gss; ${MAKE} install

1b735665f45a added a conditional for MK_MITKRB5 but also added gss or
gss-krb5 to SUBDIRS, causing these files to be installed twice.

Fixes: 1b735665f45a ("etc/gss: Add MIT GSS glue")
Event: Kitchener-Waterloo Hackathon 202506
Sponsored by: The FreeBSD Foundation

show more ...


# 1b735665 11-Jun-2025 Cy Schubert <cy@FreeBSD.org>

etc/gss: Add MIT GSS glue

The MIT GSS uses different library names. And MIT KRB5 supports more
OIDs than our ancient Heimdal does.

The intention is to remove etc/gss when Heimdal is finally retired

etc/gss: Add MIT GSS glue

The MIT GSS uses different library names. And MIT KRB5 supports more
OIDs than our ancient Heimdal does.

The intention is to remove etc/gss when Heimdal is finally retired and
rename etc/gss-krb5 to etc/gss.

Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D50812

show more ...


# eef0c78e 23-Apr-2025 Lexi Winter <ivy@FreeBSD.org>

etc: add config tag to /root/.k5login

this prevents the file being overwritten every time FreeBSD-runtime is
upgraded.

Reviewed by: des
Approved by: des (mentor)
Differential Revision: https://revi

etc: add config tag to /root/.k5login

this prevents the file being overwritten every time FreeBSD-runtime is
upgraded.

Reviewed by: des
Approved by: des (mentor)
Differential Revision: https://reviews.freebsd.org/D49907

show more ...


# 01ff67f4 24-Jan-2025 Jose Luis Duran <jlduran@FreeBSD.org>

mtree: TESTSBASE directory always starts with a /

Remove the extra forward slash ("/"), otherwise the mtree specification
file will have the double slash and will not be parsed by makefs when
attemp

mtree: TESTSBASE directory always starts with a /

Remove the extra forward slash ("/"), otherwise the mtree specification
file will have the double slash and will not be parsed by makefs when
attempting to build NanoBSD with NO_ROOT privileges.

Fixes: 07670b30fa43 ("Create /usr/tests *.debug file directory hierarchy")
Reviewed by: emaste
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D47722

show more ...


# e9ac4169 15-Jul-2024 Warner Losh <imp@FreeBSD.org>

Remove residual blank line at start of Makefile

This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix


# 4354163e 27-May-2024 Matthew Seaman <matthew@FreeBSD.org>

Don't package /var/db/locate.database

... or install an empty file.

The locate database is a mutable working file, and unsuitable to be
managed by pkg(8). locate(1) copes gracefully with the absen

Don't package /var/db/locate.database

... or install an empty file.

The locate database is a mutable working file, and unsuitable to be
managed by pkg(8). locate(1) copes gracefully with the absence of
this file. Running /etc/periodic/weekly/310.locate will create the
locate database with the correct ownership and permissions.

Having the locate.database file as part of the FreeBSD-runtime package
means it gets zeroed if ever that package gets updated, which is
excessive, given that updating packages will typically only change a
relatively small number of the _filenames_ on the system -- unlike the
file contents. Plus it always causes it to flag as modified when
verifying checksums, but /var/db/locate.database is expected to be
modified by the user.

MFC after: 1 week
Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D45384

show more ...


# 8cd7841d 20-Mar-2024 Baptiste Daroussin <bapt@FreeBSD.org>

pkgbase: separate /etc/mail/aliases from the sendmail package

move /etc/aliases and /etc/mail/aliases into the runtime package
this file is used by both sendmail and dma.

While here mark this file

pkgbase: separate /etc/mail/aliases from the sendmail package

move /etc/aliases and /etc/mail/aliases into the runtime package
this file is used by both sendmail and dma.

While here mark this file as a config file so 3way merge is performed

show more ...


# e368e9b7 17-Feb-2024 Dimitry Andric <dim@FreeBSD.org>

Proactively remove /usr/lib/kgdb file that became a directory

This was already handled in ObsoleteFiles.inc (see the 20201215 entry),
but some people never run "make delete-old", or want to upgrade

Proactively remove /usr/lib/kgdb file that became a directory

This was already handled in ObsoleteFiles.inc (see the 20201215 entry),
but some people never run "make delete-old", or want to upgrade directly
from a revision that still had the file to the most recent revision.

They would then encounter a failure during installworld, similar to:

install: /usr/libexec/kgdb exists but is not a directory

Therefore, clean it up in the distrib-cleanup phase, similar to the
earlier instances of libc++ header files that became a directory.

MFC after: 3 days

show more ...


# ce047ebf 30-Jan-2024 Jessica Clarke <jrtc27@FreeBSD.org>

etc: Set DISTBASE during distribute for sub-makes

This is normally done by bsd.subdir.mk in its default distribute target,
but since etc overrides it we don't get that behaviour. Currently it's
not

etc: Set DISTBASE during distribute for sub-makes

This is normally done by bsd.subdir.mk in its default distribute target,
but since etc overrides it we don't get that behaviour. Currently it's
not needed, but share/man's makedb (recursed into by etc's afterinstall)
will need it in the following commit. Technically this is only needed
for install, but do this for distribution too for completeness and
consistency.

Reviewed by: brooks, emaste
Differential Revision: https://reviews.freebsd.org/D43675

show more ...


# ca217224 13-Dec-2023 Dimitry Andric <dim@FreeBSD.org>

Proactively remove libc++ __tuple header file that became a directory

This was already handled in ObsoleteFiles.inc (see the 20230622 entry),
but some people never run "make delete-old", or want to

Proactively remove libc++ __tuple header file that became a directory

This was already handled in ObsoleteFiles.inc (see the 20230622 entry),
but some people never run "make delete-old", or want to upgrade directly
from a revision that still had libc++ 15 to the most recent revision.

They would then encounter a failure during installworld, similar to:

install: target directory `/usr/include/c++/v1/__tuple/' does not exist

Therefore, clean it up in the distrib-cleanup phase, similar to the
earlier instance of the libc++ __string header file that became a
directory.

PR: 273753
MFC after: 1 month

show more ...


# e717cb04 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

misc: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl

misc: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

This is for the misfits that have only a few: COPYRIGHT, gnu, tools,
rescue, and etc.

Sponsored by: Netflix

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 949199a2 27-Jul-2023 Jessica Clarke <jrtc27@FreeBSD.org>

etc: Automatically generate BSD.lib${libcompat}.dist lists

Note that each libcompat still has its own file that must exist.

Reviewed by: brooks, jhb
Differential Revision: https://reviews.freebsd.o

etc: Automatically generate BSD.lib${libcompat}.dist lists

Note that each libcompat still has its own file that must exist.

Reviewed by: brooks, jhb
Differential Revision: https://reviews.freebsd.org/D41182

show more ...


# dfa19823 08-Jun-2023 Jessica Clarke <jrtc27@FreeBSD.org>

etc: Don't create stray directories in NO_ROOT distrib-dirs

The loop above is responsible for creating the actual directories,
whilst this one is just responsible for creating the corresponding
META

etc: Don't create stray directories in NO_ROOT distrib-dirs

The loop above is responsible for creating the actual directories,
whilst this one is just responsible for creating the corresponding
METALOG. Since DESTDIR already includes DISTBASE, this results in
creating a second set of roots (one per MTREES entry) within DISTBASE
whenever DISTBASE is non-empty, such as base/base, base/base/var,
base/base/usr, etc. in the distributeworld case. This is purely cosmetic
though as they won't appear in the METALOG.

show more ...


# ecad3f5c 15-Feb-2023 Tijl Coosemans <tijl@FreeBSD.org>

rc.d: Generate machine-id from hostid_save

rc.d/hostid_save saves a UUID generated by rc.d/hostid in /etc/hostid.
Store the same UUID, without hyphens, in /etc/machine-id. The hypĥens
are removed w

rc.d: Generate machine-id from hostid_save

rc.d/hostid_save saves a UUID generated by rc.d/hostid in /etc/hostid.
Store the same UUID, without hyphens, in /etc/machine-id. The hypĥens
are removed with a shell function because hostid_save runs before file
systems are mounted so other tools may not be available yet.

This eliminates some duplication between hostid and machine-id and for
virtual machines machine-id now contains the UUID configured in the
hypervisor like it does on Linux.

Reviewed by: delphij
Discussed with: bapt
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38811

show more ...


# fcaf7f86 24-Jul-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-15-init-17485-ga3e38b4a206b

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-17485-ga3e38b4a206b.

PR: 265425
MFC af

Merge llvm-project main llvmorg-15-init-17485-ga3e38b4a206b

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-17485-ga3e38b4a206b.

PR: 265425
MFC after: 2 weeks

show more ...


# 62a149bf 17-Dec-2022 Tobias C. Berner <tcberner@FreeBSD.org>

Add new rc: machine_id to generate /etc/machine-id

This new default-enabled rc will generate a /etc/machine-id file if it
does not exist, and pre-fill it with a newly generated UUID of version 4
[2]

Add new rc: machine_id to generate /etc/machine-id

This new default-enabled rc will generate a /etc/machine-id file if it
does not exist, and pre-fill it with a newly generated UUID of version 4
[2].

The file is generated in /var/db/machine-id and symlinked to
/etc/machine-id to allow for read-only root partitions.

This file is amongst other things used by libraries like GLib.

Bump FreeBSD version 1400076 to be able to easily add support for older
version of FreeBSD via a package.

[1] Linux machine-id(5): https://www.man7.org/linux/man-pages/man5/machine-id.5.html
[2] f176fe8e7f638e585afcd2f4dd52a522c4648f63

Approved by: bapt
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D37722

show more ...


# 3078531d 13-Sep-2022 Maxim Sobolev <sobomax@FreeBSD.org>

Fix mergemaster(8) breakage in the 6ad780caa.

Split out termcap.small generation into its own Makefile under
etc/termcap, so it's properly executed by the underlying command:

make 'SUBDIR_OVERRID

Fix mergemaster(8) breakage in the 6ad780caa.

Split out termcap.small generation into its own Makefile under
etc/termcap, so it's properly executed by the underlying command:

make 'SUBDIR_OVERRIDE=etc' everything

Reported by: gbe
MFC after: 1 month

show more ...


# 76c100d6 15-Jul-2022 Jessica Clarke <jrtc27@FreeBSD.org>

etc: Fix distrib-dirs to not rely on a BSDism

FreeBSD and macOS have a test that treats == as an alias for =, but
Linux tends to use GNU coreutils (when not a builtin) which does not.
Use the standa

etc: Fix distrib-dirs to not rely on a BSDism

FreeBSD and macOS have a test that treats == as an alias for =, but
Linux tends to use GNU coreutils (when not a builtin) which does not.
Use the standard syntax instead for compatibility.

Obtained from: CheriBSD
Differential Revision: https://reviews.freebsd.org/D35811

show more ...


# 72bf91e2 07-Jan-2022 Warner Losh <imp@FreeBSD.org>

libsoft: Remove support for installing libsoft

Remove the infrasturcture needed to create the libsoft directories.

Sponsored by: Netflix


# ed0a582d 19-Jun-2021 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Put the last sendmail files in the sendmail package

Differential Revision: https://reviews.freebsd.org/D30757
Sponsored by: Diablotin Systems


# e6a066ac 15-Jun-2020 Ed Maste <emaste@FreeBSD.org>

blocklist: update to 2020-06-15 snapshot

Upstream hash 7093cd90cc9eae6bf9fa6b66f679ea6b15451c1e

Obtained from: https://github.com/zoulasc/blocklist
Sponsored by: The FreeBSD Foundation


12345678910>>...90