History log of /freebsd-current/sbin/devd/Makefile
Revision Date Author Comments
# 272b4b76 22-Dec-2023 Tijl Coosemans <tijl@FreeBSD.org>

devd: Don't install autofs.conf with WITHOUT_AUTOFS


# b3c116d5 07-Nov-2023 Emmanuel Vadot <manu@FreeBSD.org>

devd: autofs: Move autofs related events to a separate file

If a user don't have FreeBSD-autofs installed there is no need to try calling
automount on every GEOM event.
It's also easier to add/delete autofs related event in a separate file.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D42495
Reviewed by: imp


# 5e50df6d 25-Oct-2023 Warner Losh <imp@FreeBSD.org>

devd: Restore WARNS=6

We compile correctly on all platforms with clang and WARNS=6. We build
on amd64 with gcc12 and WARNS.6. Restore WARNS=6. This reverts
3741a56c310d, since that's no longer relevant.

Sponsored by: Netflix


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

Remove $FreeBSD$: one-line sh pattern

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


# cab549c7 01-Feb-2023 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Create a FreeBSD-console-tools package

And put in it:
- kbdcontrol
- vidcontrol
- moused
- kbdmap

Those aren't useful in a jail or for a modern desktop.
While here, split the devd.conf part into some new files.

Reviewed by: bapt
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38321


# 2878e21f 01-Feb-2023 Emmanuel Vadot <manu@FreeBSD.org>

devd: Move power_profile part in devd/power_profile.conf

And make it part of the FreeBSD-acpi package.
This avoid calling service power_profile on an installation without it
installed.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38324


# 9150a045 01-Feb-2023 Emmanuel Vadot <manu@FreeBSD.org>

devd: Move bluetooth part in devd/bluetooth.conf

And make it part of the FreeBSD-bluetooth package.
This avoid calling service bluetooth on an installation without it
installed.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38323


# f4d9116d 01-Feb-2023 Emmanuel Vadot <manu@FreeBSD.org>

devd: Move dhclient part in devd/dhclient.conf

And make it part of the FreeBSD-dhclient package.
This avoid calling dhclient on an installation without dhclient
installed.

Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38322


# 8214b9d6 25-Nov-2021 Ed Maste <emaste@FreeBSD.org>

Make devd shared now that libc++ is in /lib

Commit 5e6a2d6eb220 moved libc++ from /usr/lib to /lib, so we no longer
have an interval during boot when it is not available (before /usr is
mounted). We no longer need to force devd to be statically linked.

Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37409


# ea0850e4 22-Jul-2022 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Put devd in its own package

It's not that useful in a jail or in a mdroot.

Differential Revision: https://reviews.freebsd.org/D36228


# 7ac164dc 02-May-2022 Mina Galić <me+freebsd@igalic.co>

pkgbase: move devd's hyperv.conf to hyperv-tools package

This devd config file is useless without hyperv-tools, so we're moving
it into the hyperv-tools package. pr#263691

PR: 263691
MFC after: 3 days


# 93c43690 14-Dec-2021 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Put more binaries/lib in runtime

Move some needed binaries/libs from FreeBSD-utilities to FreeBSD_runtime.
This is everything needed to boot to multiuser with FreeBSD-rc installed.

MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D33435


# e6f059a9 10-Sep-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Stop linking to libl by specifying we do not need yywrap

MFC after: 3 days


# 4c1a82ce 05-Sep-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Create a FreeBSD-utilities package and make it the default one

The default package use to be FreeBSD-runtime but it should only contain
binaries and libs enough to boot to single user and repair the system, it
is also very handy to have a package that can be tranform to a small mfsroot.
So create a new package named FreeBSD-utilities and make it the default one.
Also move a few binaries and lib into this package when it make sense.
Reviewed by: bapt, gjb
Differential Revision: https://reviews.freebsd.org/D21506


# 44e1285c 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all devd related configs to sbin/devd/

This helps with pkgbase as it switches these to using CONFS so they are
properly tagged as config files.

Approved by: will (mentor), imp
Differential Revision: https://reviews.freebsd.org/D16781


# 3741a56c 23-May-2018 Matt Macy <mmacy@FreeBSD.org>

devd: drop WARNS back down to 3 until 6 actually works with GCC


# 695a3b29 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

devd: Unbreak build

I'm not quite sure why this wasn't caught before. Most likely due to
some generated file not being properly cleaned.

Fix build by just hiding the warnings that `-i` was supposed to fix.

Tested with clang, gcc9, gcc7


# e8d9a1ed 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

devd: allow build to complete using g++


# 0bc60783 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

devd: compile at WARNS=6

Verified with "make universe TARGETS='amd64 arm arm64 i386 sparc64'"


# d511b20a 02-Aug-2017 Enji Cooper <ngie@FreeBSD.org>

Add HAS_TESTS to all Makefiles that are currently using the
`SUBDIR.${MK_TESTS}+= tests` idiom.

This is a follow up to r321912.


# 4b330699 02-Aug-2017 Enji Cooper <ngie@FreeBSD.org>

Convert traditional ${MK_TESTS} conditional idiom for including test
directories to SUBDIR.${MK_TESTS} idiom

This is being done to pave the way for future work (and homogenity) in
^/projects/make-check-sandbox .

No functional change intended.

MFC after: 1 weeks


# e01a93b6 09-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Add devd and routed back to the runtime package instead
of their individual packages based on MK_foo evaluation.

There is no intent to split inet/inet6 or other similar
combinations for package creation, since they are created
during build time.

Noticed/prodded by: lidl
Sponsored by: The FreeBSD Foundation


# 7de1daeb 09-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Create packages for atm, ccdconfig, devd, ipf, ipfw,
iscsi, natd, nandfs, pf, quotacheck, and routed.

Add ping6 and rtsol to the runtime package.

Sponsored by: The FreeBSD Foundation


# 13eb765f 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert sbin/ to LIBADD
Reduce overlinking


# fedda9c6 26-Mar-2014 Dimitry Andric <dim@FreeBSD.org>

Revert r263694, and apply a better fix to squelch unnecessary warnings
from clang about possible keywords being treated as identifiers for the
remainder of the translation unit (a.k.a. -Wkeyword-compat), when using
libstdc++ in combination with -Wsystem-headers. This will not only fix
devd, but any C++ program using libstdc++.

MFC after: 3 days
X-MFC-With: r263694


# 89963e04 24-Mar-2014 Dimitry Andric <dim@FreeBSD.org>

Apply a temporary band-aid for building devd with clang 3.4, libstdc++
and -Wsystem-headers enabled (which is the default for any non-zero
WARNS level, crazily enough!). This is primarily meant to be MFC'd as
soon as possible.

MFC after: 3 days


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 2b6974bf 15-Feb-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Bump WARNS where possible.

Checked by: make universe
Approved by: ed (co-mentor)


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 9538bab3 18-Nov-2007 John Birrell <jb@FreeBSD.org>

Reduce the WARNS level across the board due to a warning that occurs
on at least arm and sparc64. i386/pc98, ia64 and amd64 are all OK.


# 1a0cc6b1 30-Jan-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Use pidfile(3).

OK'ed by: imp


# 94d2d4eb 19-Oct-2005 Brooks Davis <brooks@FreeBSD.org>

Make devd WARNS=4 clean and bump WARNS accordingly. This will insure
that future variable shadowing bugs don't compile.

Reviewed by: imp
Compiled on: alpha i386 sparc64


# 83c7ade9 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOSHARED -> NO_SHARED


# 9a4e73fe 17-Aug-2003 Gordon Tetlow <gordon@FreeBSD.org>

At imp's request, force devd to be statically compiled. This avoids the
need for libstdc++ in /lib, and the generated binary is actually smaller
statically linked than dynamically + sizeof(libstdc++). Additionally,
devd doesn't use get*by*() which is one of the main motivations for
dynamically linking your root partition anyway.


# 887c6714 01-Apr-2003 Ruslan Ermilov <ru@FreeBSD.org>

This can't obviously be cleaner than system headers.


# 3054f218 07-Dec-2002 Warner Losh <imp@FreeBSD.org>

MFp4 (imp_freebsd branch): snapshot of devd work:
o improve parsing and lexing
o create data structures based on the parsed file now.
o Still need to rewrite main loop and add regex (still uses hard coded
devd-generic)
o minor man page updates.

# There should be one more commit before rc2

Approved by: re (blanket)


# 9f887a80 14-Nov-2002 Tim J. Robbins <tjr@FreeBSD.org>

Install devd.conf(5).


# e530e044 20-Oct-2002 Warner Losh <imp@FreeBSD.org>

devd. A daemon that hooks into the kernel's /dev/devctl to produce
arbitrary commands when devices come and go in the device tree (which is
different than the /dev directory).

This is an initial version. Much of the planned power isn't here.
Instead of doing the full matching, we always run /etc/devd-generic.
/etc/devd.generic will go away at some point, I think.

I'm committing it in this early state so I can start getting feedback
from early adapters.

Approved by: re