History log of /freebsd-current/lib/libcompat/Makefile
Revision Date Author Comments
# bb421be6 29-May-2024 Mariusz Zaborski <oshogbo@FreeBSD.org>

libutil: move ftime to libutil

It seems that there are still some applications that use ftime(3)
(for example, science/siconos and sysutils/lcdproc). The issue
is that we don't build libcompat as a shared library anymore.
The easiest solution is to move it to libutil, until we
deprecate it for good.

This solution was proposed by kib@ in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257789.

PR: 257789
MFC after: 1 month
Reviewed by: kib (ages ago)
Differential Revision: https://reviews.freebsd.org/D39994


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

lib: 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.

Sponsored by: Netflix


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

Remove $FreeBSD$: one-line sh pattern

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


# 6387091e 09-Jun-2018 John Baldwin <jhb@FreeBSD.org>

Use __SCSSID() for SCCS IDs.

While here, fix $FreeBSD$ ID in ftime.c to use __FBSDID instead of a static
array.


# 85626903 19-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones

This simplifies pathing in make/displayed output

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon


# a70cba95 04-Feb-2016 Glen Barber <gjb@FreeBSD.org>

First pass through library packaging.

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.


# 29b63864 06-Aug-2010 Ed Schouten <ed@FreeBSD.org>

Remove unneeded functions from libcompat.

Erwin fired up a ports build a couple of weeks ago and it seems the
following functions are not used by any of the 20k ports we have, which
makes me believe they don't have any purpose. Just remove them.


# 763ed733 14-Mar-2010 Ed Schouten <ed@FreeBSD.org>

Trim down libcompat by removing <regexp.h>.

Erwin ran an exp-run with libcompat and <regexp.h> removed. It turns out
the regexp library is almost entirely unused. In fact, it looks like it
is sometimes used by accident. Because these function names clash with
libc's <regex.h>, some application use both <regex.h> and libcompat,
which means they link against the wrong regex library.

This commit removes the regexp library and reimplements re_comp() and
re_exec() using <regex.h>. It seems the grammar of the regular
expressions accepted by these functions is similar to POSIX EREs.

After this commit, 1 low-profile port will be broken, but the maintainer
already has a patch for it sitting in his mailbox.


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


# a6c03411 09-Mar-2010 Ed Schouten <ed@FreeBSD.org>

Add warnings to <regexp.h> and <sys/timeb.h>.

These header files only provide functionality that can be used in
combination with libcompat. In order to prevent people from including
them without any actual use (which happens a lot with <sys/timeb.h>),
put a warning here to make people more aware.

This means we have to lower WARNS for libcompat, which is no big deal.


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

Build lib/ with WARNS=6 by default.

Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.


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

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


# 45792eb9 14-Jun-2008 Ed Schouten <ed@FreeBSD.org>

Turn sgtty into a binary-only compatibility interface.

sgtty was the original interface to configure terminal attributes on my
UNIX-like operating systems. It has been deprecated by the POSIX termios
interface, which is implemented in almost any modern system.

An advantage of turning this into a binary compatibility interface, is
that we can now eventually remove the COMPAT_43TTY switch from kernel
configurations. This removes many ioctl()'s from the TTY layer.

While there, increase the __FreeBSD_version, which may be useful for the
people working on the Ports tree.

Reviewed by: kib
Approved by: philip (mentor)


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

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


# 0b3cbc5c 01-Jul-2003 Ruslan Ermilov <ru@FreeBSD.org>

Axe AINC.

Submitted by: bde


# 6c84d0b1 16-Oct-2002 Robert Drehmel <robert@FreeBSD.org>

- Remove the lsearch() and lfind() functions and their manpage from
the compatibility library libcompat.
- Add new implementations of lsearch() and lfind() which conform to
IEEE Std 1003.1-2001 to libc. Add a new manual page for them and
add them to the makefile.
- Add function prototypes for lsearch() and lfind() to the search.h
header.


# e768c1be 16-Oct-2002 Robert Drehmel <robert@FreeBSD.org>

- Remove the old insque() and remque() functions and their manual
page from the compatibility library.
- Add new implementations of insque() and remque() which conform to
IEEE Std 1003.1-2001 to libc. Add a new manual page for them and
connect them to the build.
- Add the prototypes of insque() and remque() to the search.h
header.


# 4a558355 27-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

MAN[1-9] -> MAN.


# 8f4620bc 22-Dec-1999 Bruce Evans <bde@FreeBSD.org>

Aargh, the $FreeBSD$ check caused an inconsistent commit by rejecting
this makefile update which should have been together with the file
removal.

Removed vlimit.3 and vtimes.3. Removed vlimit.c and vtimes.c from
the "MISSING" list. These were old variants of get/setrlimit() and
getrusage(), respectively, and were never implemented in FreeBSD.
vlimit.3 referred to <sys/vlimit.h> which was removed recently.
vtimes.3 referred to <sys/vtimes.h> which never existed in FreeBSD.


# ac1b417f 09-Nov-1998 Dima Ruban <dima@FreeBSD.org>

Cleanup. Make it compile on alpha.


# d7feb25b 09-Sep-1998 KATO Takenori <kato@FreeBSD.org>

Change ${MACHINE} into ${MACHINE_ARCH} to support MACHINE=pc98.


# 63b7c21c 10-Jun-1998 John Polstra <jdp@FreeBSD.org>

Move ftok() from libcompat to libc, so that it can be closer to its
friend shmget().

PR: closes misc/6763


# b15443ba 04-Apr-1997 Andrey A. Chernov <ache@FreeBSD.org>

Speedup in case locale not used


# 79d07a32 29-Mar-1997 Andrey A. Chernov <ache@FreeBSD.org>

Remove unneded define from CFLAGS (from orand* compatibility)


# ffdb787e 29-Mar-1997 Andrey A. Chernov <ache@FreeBSD.org>

Remove orand* compatibility as promised (next release)


# 7c99d474 09-Oct-1996 Andrey A. Chernov <ache@FreeBSD.org>

Add orandom(), osrandom(), etc.


# acd9f206 12-Aug-1996 Andrey A. Chernov <ache@FreeBSD.org>

Convert to newly aded collate compare function


# 0fa1b0ba 11-Aug-1996 Andrey A. Chernov <ache@FreeBSD.org>

Use collate info for alpha character ranges
8bit cleanup


# d209ee01 27-May-1996 Wolfram Schneider <wosch@FreeBSD.org>

remove MLINKS regcomp.3 regexec.3 regerror.3 due name clash with libc


# c211e812 08-Feb-1996 Mike Pritchard <mpp@FreeBSD.org>

Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.


# ab808bfb 29-Nov-1995 Andrey A. Chernov <ache@FreeBSD.org>

Add cfree.3


# 85c30cfa 01-May-1995 Joerg Wunsch <joerg@FreeBSD.org>

Added function and man page for ftok(3), used in conjunction with
the so-called "System V IPC".

Submitted by: jbeukema@HK.Super.Net (John Beukema)
Obtained from: Th. Lockert <tholo@sigmasoft.com>, via NetBSD


# a7240857 10-Apr-1995 Joerg Wunsch <joerg@FreeBSD.org>

My libcompat cleanup.

o add missing man pages

o make all man pages clearly refer to the libcompat thingie

o add the information to the vtimes(3) and vlimit(3) man pages
that nobody has reimplemented the functions by now

o add the missing getpw.c

o add code and man pages for cftime(3) and
ascftime(3) -- i found them somewhere in old
unfinished work


# 56b688ea 20-Feb-1995 Nate Williams <nate@FreeBSD.org>

Make libcompat a static only library.

Since functions will come and go from libcompat as they are deprecated
it makes no sense to build a shared library out of it as it will change.

Based on freedback from Terry and Jonas on the mailing lists.


# ab532cff 04-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Make it work with our make macros.


# 21b9e2c1 27-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Comment out missing sources.


# 58f0484f 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Lib Sources