Commit Graph

32 Commits

Author SHA1 Message Date
Warner Losh
d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00
Maxim Sobolev
3078531de1 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
2022-09-13 13:36:22 -07:00
Maxim Sobolev
6ad780caa2 Generate termcap.small automatically. This eliminates the
need to do synchronization by hand when termcap is updated.

Reviewed by:	uqs, bapt, imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D36333
2022-09-08 04:22:37 -07:00
Maxim Sobolev
a8b8edb25e Normalize deployment tools usage and definitions by putting into one place
instead of sprinkling them out over many disjoint files. This is a follow-up
to achieve the same goal in an incomplete rev.348521.

Approved by:	imp
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D20520
2020-04-07 02:46:22 +00:00
Ed Maste
cea7cfd20d Tag etc/termcap with package=runtime
/etc/termcap is a symlink to /usr/share/misc/termcap, which is in the
runtime package.  Tag the symlink with the same package so that it is
handled correctly on pkgbase-installed/updated systems.

Sponsored by:	The FreeBSD Foundation
2020-01-22 18:55:36 +00:00
Emmanuel Vadot
a7b5a3d486 pkgbase: Put a lot of binaries and lib in FreeBSD-runtime
All of them are needed to be able to boot to single user and be able
to repair a existing FreeBSD installation so put them directly into
FreeBSD-runtime.

Reviewed by:    bapt, gjb
Differential Revision:  https://reviews.freebsd.org/D21503
2019-09-05 14:13:08 +00:00
Emmanuel Vadot
6a42f8ddf5 pkgbase: Move termcap.small to share/termcap
Reviewed by:	bapt
2019-05-22 07:22:34 +00:00
Brad Davis
f59e535254 Simplify using bsd.endian.mk and have it provide CAP_MKDB_ENDIAN, since it is
the most common usage.

Approved by:	bapt (mentor)
2018-06-28 13:48:59 +00:00
Rodney W. Grimes
3e164c6986 Revert r314833 until the problem with INSTALL_RSYMLINKS can be found
as it appears to break arm release builds.

PR:		217705
Reported by:	cyclaero@gmail.com
Approved by:	grehan (mentor) implict as reverting
2017-03-12 00:37:45 +00:00
Rodney W. Grimes
ce9f2d31b3 Convert absolute links to relative links.
Style.Makefile(9) has been ignored to produce minimal diffs.

Approved by:	grehan (mentor)
MFC after:	1 week
2017-03-07 05:10:38 +00:00
Bryan Drewery
a9f9ec2435 Replace ln -s calls with INSTALL_SYMLINK
Sponsored by:	EMC / Isilon Storage Division
2015-12-04 03:17:14 +00:00
Enji Cooper
7c1e17e76e Fix building termcap.db when make obj is run beforehand from a clean tree by
using make variables for the filenames, which helps resolve pathing
appropriately when running cap_mkdb

X-MFC with: r275687
Pointyhat to: me
2014-12-10 23:18:11 +00:00
Enji Cooper
1db9ecff02 Remove termcap entry reordering; install the file verbatim instead
termcap entry reordering requires ex (which is available via usr.bin/vi), which
breaks on build hosts where installworld is run with MK_VI == no (or when
make delete-old is run on ^/projects/building-blocks as vi, et al, are
removed on the branch when the knob is tweaked to => "no")

Reordering termcap was believed to improve performance, but the file is now
accessed via /etc/termcap.db, so /etc/termcap (and /usr/share/misc/termcap by
proxy) access is less preferred.

Reordering the file broke the historical comment <-> entry mapping as well,
which could muddle the purpose of entries in the file, so it could be
potentially harmful to readers in its reordered state.

Discussion took place on hackers@ here:
https://lists.freebsd.org/pipermail/freebsd-hackers/2014-December/046657.html

Discussed with: -hackers, mp
MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division
2014-12-10 20:40:03 +00:00
Poul-Henning Kamp
423987b6a5 Remove the map3270 file, tn3270 was retired long ago. 2005-08-05 09:52:25 +00:00
Ruslan Ermilov
6fe37d1365 Add endianness support to cap_mkdb(1), useful for cross builds. 2005-02-22 23:29:54 +00:00
Ruslan Ermilov
d912b3a824 Complete the fix in revision 1.13 -- don't even depend on termcap(5)
database to be present.

PR:		misc/31225
2002-04-04 07:30:46 +00:00
Ruslan Ermilov
a7aaf57e4a FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
Ruslan Ermilov
72a984aa33 Don't redirect to /dev/null when executing ex(1).
This makes it impossible to detect the problem
with missing /var/tmp/vi.recover/.

PR:		misc/29715, misc/30514
2001-09-14 17:06:06 +00:00
Ruslan Ermilov
acaf79e1b9 MAN[1-9] -> MAN. 2001-03-27 13:48:25 +00:00
Warner Losh
f44ba58cab Force TERM to be dumb when building termcap. ex in batch mode seems
to care about the terminal setting.  In emacs, make buildworld was
broken because it sets TERM to emacs, which caused ex to fail.
2001-02-24 00:02:55 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Wolfram Schneider
195940cc1e Always copy the source file map3270 during install.
Pointed out by: Bruce
1998-01-04 10:42:29 +00:00
Wolfram Schneider
1b0e091ab1 444 -> ${SHAREMODE} 1998-01-03 14:13:48 +00:00
Wolfram Schneider
361e0905ef make install should not install any file in /etc. 1996-08-17 22:27:08 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Rodney W. Grimes
4a218a6de8 Remove use of ${DESTDIR} in target of symbolic link, it makes the link
point to the wrong place.
1995-02-14 19:43:09 +00:00
Jordan K. Hubbard
4350346dea Change the way I make the link to /etc/termcap. It worked for install
but not distribute.  Now it works for both.
1995-02-01 08:32:05 +00:00
Jordan K. Hubbard
ed0770e938 Make a link to /etc for termcap file. /etc/termcap is just too lodged in
folklore to do without! :-)
1995-01-30 07:19:02 +00:00
Jordan K. Hubbard
e593239fdb Fix this bogus Makefile. 1995-01-24 00:36:27 +00:00
Jordan K. Hubbard
60303bdf64 termcap.0 -> termcap.5
Submitted by:	jkh
1994-08-11 00:24:33 +00:00
Rodney W. Grimes
3161b790c6 all: does not need to depend on ${MAN5}, remove special case clean:
and cleandir: targets, simple use a CLEANFILES+= to handle this very
simple special case.
Add ${COPY} knob to install commands so that files don't disappear out
of the obj tree after a make install.
1994-07-06 02:16:59 +00:00
Rodney W. Grimes
afe61c1516 BSD 4.4 Lite Share Sources 1994-05-30 19:09:18 +00:00