History log of /freebsd-current/usr.sbin/apm/Makefile
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

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


# df90aeac 26-Nov-2021 Fernando ApesteguĂ­a <fernape@FreeBSD.org>

Fix build with -DNO_ROOT

The inclusion of 0a0f7486413c broke the build with the -DNO_ROOT option.
Specifically, that commit adds some relative paths (with `..`) to METALOG
that make other tools using that log, fail afterwards (tar, makefs...).

It's been argued[1] if this is really something mtree(8) should handle more
graciously. In the meantime, fix the breakage but changing the order in which
the links are created: first in the parent directory, then in the
architecture-specific one.

We keep the architecture-specific directories an the links to the parent
directories. This is something that we might want to change in the future.

This commit is based on a concept patch by avg@.

[1] https://lists.freebsd.org/archives/dev-commits-src-all/2021-November/index.html

Reported by: bapt@, emaste@
Approved by: avg@
Fixes: 0a0f7486413c
Differential Revision: https://reviews.freebsd.org/D33126


# 0a0f7486 08-Jun-2021 Fernando ApesteguĂ­a <fernape@FreeBSD.org>

man: Build manpages for all architectures

Building and installing architecture-specific man pages only raises a number of
problems:

* The https://www.freebsd.org/cgi/man.cgi is incomplete. As an
example, it does not show results for pae(4). The reason for this is
that the cgi interface runs on FreeBSD amd64.

* In FreeBSD amd64 some manual pages have broken X-refs. See hptrr(4)
for an example.

* Also, we have broken links in our Release Notes. This is a
consequence of the first point. See
https://www.freebsd.org/releases/13.0R/hardware/#proc-i386.

Make MAN_ARCH default to 'all' so we build all the man pages for all the
architectures. The difference in disk space is negligible. Also link
architecture-specific man pages to their own section while keeping their own
namespace.

PR: 212290
Reported by: mj@bsdops.com
Approved by: ceri@, wosch@
MFC after: 4 weeks


# 39695393 21-Jan-2016 Glen Barber <gjb@FreeBSD.org>

Create a package for apm(8).

Sponsored by: The FreeBSD Foundation


# 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.


# 25faff34 23-Aug-2010 Warner Losh <imp@FreeBSD.org>

MFtbemd:

Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.


# 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.


# 71ccf092 02-Jan-2010 Ed Schouten <ed@FreeBSD.org>

The last big commit: let usr.sbin/ use WARNS=6 by default.


# 71f99e63 27-Sep-2009 Jung-uk Kim <jkim@FreeBSD.org>

Copy apm(4) emulation from sys/i386/acpica/acpi_machdep.c and
install apm(8) and apm_bios.h on amd64.


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

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


# a607c5e4 27-May-2004 Nate Lawson <njl@FreeBSD.org>

Check for >= 255 since sign extension from byte to u_int sometimes makes
the value for "unknown" 0xffffffff. The underlying kernel drivers should
be updated to only return 255 but the ABI is used by too many userland
utilities.

Also, make this WARNS 6 compatible.


# 1fdc1899 21-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mark APM manpages as i386-only.


# 744543b9 14-Jul-2003 Nate Lawson <njl@FreeBSD.org>

Remove the zzz files since they have been moved to src/usr.sbin/zzz


# d1d7c861 13-Jul-2003 Nate Lawson <njl@FreeBSD.org>

Change zzz to be a shell script that checks for APM or ACPI support and
suspends the system appropriately.

Submitted by: Mark Santcroos <marks@ripe.net>


# 052238b1 04-Apr-2003 David E. O'Brien <obrien@FreeBSD.org>

style.Makefile(5)


# 345e52e7 26-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


# c73e22c3 20-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

Set the default manual section for usr.sbin/ to 8.


# 0e898a45 25-Jan-2000 Bruce Evans <bde@FreeBSD.org>

Fixed breakage of installation of zzz.8 in previous commit. MLINKS
consists of pairs of link names.


# fe35cea7 23-Jan-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Add MLINK for apmconf(8).

Suggested by: msmith


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 476602a9 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 18e75007 21-May-1996 Wolfram Schneider <wosch@FreeBSD.org>

delete MANDIR=/usr/share/man/man,
it breaks `env MANDIR=<dir> make maninstall'


# 0d2cd3b7 02-Nov-1994 Poul-Henning Kamp <phk@FreeBSD.org>

make the right link to "zzz"


# 19a41dfc 01-Nov-1994 Poul-Henning Kamp <phk@FreeBSD.org>

The latest user-land changes from the author. I added a big warning to the
apm.4 man-page. I also hope the Makefiles make sense now.

Submitted by: HOSOKAWA Tatsumi


# eab1c60e 15-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Stop "make install" from falling over if DESTDIR is defined.


# 140cffd3 30-Sep-1994 David Greenman <dg@FreeBSD.org>

Laptop Advanced Power Management support (userland end) by HOSOKAWA Tatsumi.

Submitted by: HOSOKAWA Tatsumi