Commit Graph

50 Commits

Author SHA1 Message Date
ngie
d14b227ab5 Only build share/dtrace if MK_CDDL != no
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-25 00:32:17 +00:00
emaste
e6d2c6fe09 Rename the WITHOUT_VT_SUPPORT knob to WITHOUT_VT
The _SUPPORT knobs have a consistent meaning which differs from the
behaviour controlled by this knob.  As the knob is opt-out and has not
appeared in a release the impact should be low.

Suggested by:	imp, wblock
MFC after:	1 week
2014-06-30 00:20:12 +00:00
emaste
e55fcbf95c Install VT support files
They can be disabled by setting WITHOUT_VT_SUPPORT=yes in src.conf.

Sponsored by:	The FreeBSD Foundation
2014-06-05 18:53:56 +00:00
imp
2118f42afd Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.
2014-05-06 04:22:01 +00:00
jmmv
f5874ea6a6 Add some sample test programs.
This change adds some sample test cases to share/examples/tests/
demonstrating the basic usage of the atf and plain interfaces.

These test programs are fully-functional and are installed as part
of the test suite, which guarantees that the sample code remains
correct.  However, they currently mostly serve as a placeholder for
additional examples and may be incomplete (depending on how you
look at them).  I will see what else can be useful while working on
documentation.

As a bonus, the addition of these tests exercise the *.test.mk files,
one of which (plain.test.mk) was not yet in use, and also demonstrates
that it's possible to mix different kinds of test programs into the
same test suite.

Approved by:	rpaulo (mentor)
2013-11-18 12:57:46 +00:00
bdrewery
20f6c909af Move /etc/keys to /usr/share/keys where users are less likely to modify them.
Requested by:	secteam (cperciva, des)
Approved by:	bapt
2013-10-29 15:07:54 +00:00
rpaulo
650bab0fa9 Remove most of the ATF tools and the _atf user.
This is necessary because ATF is deprecated and it will be replaced by Kyua.

Submitted by:	jmmv@netbsd.org
Reviewed by:	Garrett Cooper
Approved by:	re
2013-10-12 06:06:53 +00:00
marcel
8412efbea8 Add ATF to the build. This is may be a bit rought around the egdes,
but committing it helps to get everyone on the same page and makes
sure we make progress.

Tinderbox breakages that are the result of this commit are entirely
the committer's fault -- in other words: buildworld testing on amd64
only.

Credits follow:

Submitted by:	Garrett Cooper <yanegomi@gmail.com>
Sponsored by:	Isilon Systems
Based on work by:	keramida@
Thanks to:	gnn@, mdf@, mlaier@, sjg@
Special thanks to:	keramida@
2012-10-22 01:18:41 +00:00
gnn
a20823e069 Add support for our own DTrace scripts and those from the DTraceToolkit
to the build system.  FreeBSD written scripts are stored in
src/share and the toolkit scripts are brought from the cddl directory
into a working tree via install.

MFC after:	2 weeks
2012-05-18 16:40:15 +00:00
gabor
c91ab1769b Add the BSD-licensed Citrus iconv to the base system with default off
setting. It can be built by setting the WITH_ICONV knob. While this
knob is unset, the library part, the binaries, the header file and
the metadata files will not be built or installed so it makes no impact
on the system if left turned off.

This work is based on the iconv implementation in NetBSD but a great
number of improvements and feature additions have been included:

- Some utilities have been added. There is a conversion table generator,
  which can compare conversion tables to reference data generated by
  GNU libiconv. This helps ensuring conversion compatibility.
- UTF-16 surrogate support and some endianness issues have been fixed.
- The rather chaotic Makefiles to build metadata have been refactored
  and cleaned up, now it is easy to read and it is also easier to add
  support for new encodings.
- A bunch of new encodings and encoding aliases have been added.
- Support for 1->2, 1->3 and 1->4 mappings, which is needed for
  transliterating with flying accents as GNU does, like "u.
- Lots of warnings have been fixed, the major part of the code is
  now WARNS=6 clean.
- New section 1 and section 5 manual pages have been added.
- Some GNU-specific calls have been implemented:
  iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into()
- Support for GNU's //IGNORE suffix has been added.
- The "-" argument for stdin is now recognized in iconv(1) as per POSIX.
- The Big5 conversion module has been fixed.
- The iconv.h header files is supposed to be compatible with the
  GNU version, i.e. sources should build with base iconv.h and
  GNU libiconv. It also includes a macro magic to deal with the
  char ** and const char ** incompatibility.
- GNU compatibility: "" or "char" means the current local
  encoding in use
- Various cleanups and style(9) fixes.

Approved by:	delphij (mentor)
Obtained from:	The NetBSD Project
Sponsored by:	Google Summer of Code 2009
2011-02-25 00:04:39 +00:00
des
c317ce57a8 Whitespace nit
MFC after:	1 week
2008-10-08 13:20:02 +00:00
sam
9c3d2ffcdf add new build knobs and jigger some existing controls to improve
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd

Reviewed by:	various (posted to arch)
MFC after:	1 month
2008-09-21 22:02:26 +00:00
bz
6bba9b4244 Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re
2008-05-26 10:40:09 +00:00
remko
4d57328d5b Make zoneinfo optional so that a filesystem upgrade/update does not overwrite
possibly installed thirdparte zoneinfo databases (from ports for example).

PR:		bin/104713
Submitted by:	Mark Andrews <Mark_Andrews at isc dot org> (original patch
		rewritten by me to be more consistent with the new practise).
Approved by: 	re (kensmith)
Approved by:	imp (mentor)
Reviewed by:	ru (some time ago already)
2007-06-26 19:40:03 +00:00
ru
388e590f95 Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
phk
35e5541bb2 Introduce NO_LOCALES build option. 2005-08-05 14:59:50 +00:00
phk
99df49e41e Add NO_SYSCONS.
Respect NO_MAN and NO_EXAMPLES
Make NO_GROFF prevet me installation.
2005-08-03 09:24:39 +00:00
phk
82691535ee Add NO_DICT handle. Saves almost 3.5 MB installed. 2005-04-13 10:02:58 +00:00
phk
abc6dc7772 Add a FreeBSD MIB with a few branches we can hang things from. 2004-04-24 19:54:55 +00:00
ru
36f19f59f5 Normalize. 2004-01-20 13:09:29 +00:00
tmm
677cec52f4 Reenable building in share/mklocale for sparc64. It seems to work fine
now, and probably did for quite some time already. 5.0 candidate.

Spotted by:	roam
2003-01-03 18:06:21 +00:00
marcel
fbae610230 Build the doc subdir on ia64. We have groff working for a while. 2002-11-10 00:04:33 +00:00
marcel
30d1775760 Don't build doc on ia64. No groff in sight. 2002-05-22 01:04:42 +00:00
obrien
a4af499e53 mklocale has bad juju for Sparc64. 2002-05-10 00:57:14 +00:00
ru
196fd7759f Add NO_I4B to avoid building/installing isdn4bsd package.
Prompted by:	Alexandr Listopad <laa@laa.zp.ua>
MFC after:	3 days
2001-05-23 13:32:32 +00:00
phantom
4331c8a979 activate monetdef, msgdef and numericdef 2001-02-08 17:33:55 +00:00
gshapiro
e4192d4e06 Install the sendmail cf building tools (contrib/sendmail/cf) in
/usr/share/sendmail/cf.

PR:		19790
2000-10-10 18:08:19 +00:00
obrien
d9acd189c2 Add a knob to turn off the mostly static docs (src/share/doc/).
On a K6-2/450 with fairly fast SCSI disks, building+installing src/share/
takes 2m51.3s, where src/share/doc/ is 1m9.9s of that.

However on a slow Alpha (233MHz) the times are 7m39.3s and 4m58.3s
respectively.

This commit allows one to speed up their build time, without not getting
any important and required changes if one used "NOSHARE".
2000-03-21 09:24:09 +00:00
ru
1ac5a2b5a0 New install-info(1) correctly fails to install ENTRY for file FOO
if ENTRY already exists for file FOO2 in /usr/share/info/dir.

So, re-init /usr/share/info/dir unconditionally at installworld.
2000-01-19 19:18:50 +00:00
ache
92054f6774 Add colldef 1999-10-18 13:57:10 +00:00
ache
e2ab104518 add mklocale 1999-10-17 13:42:03 +00:00
mjacob
448471aa29 oops- I must have had a mangeld Entries 1998-12-28 21:51:49 +00:00
mjacob
e5a5d27dc1 No more isdn directory, ergo, shouldn't be on the list of subdirectories, etc.. 1998-12-28 21:05:48 +00:00
phk
c7ecc129d7 Initial entry of ISDN4BSD into the FreeBSD tree.
ISDN4BSD is the work of our brand-new comitter: Hellmuth Michaelis,
who has done a tremendous amount of work to bring us this far.

There are still some outstanding issues and files to bring into
the tree, and for now it will be needed to pick up all the extra
docs from the isdn4bsd release.

It is probably also a very good idea to subscribe to the isdn@freebsd.org
mailing list before you try this out.

These files correspond to release "beta Version 0.70.00 / December
1998" from Hellmuth.
1998-12-27 21:47:14 +00:00
jkh
e560d1324f Add syscons back to alpha build; works fine now. 1998-10-01 14:48:58 +00:00
jb
baa71ce565 syscons is i386 specific due to machine/console.h 1998-05-15 11:55:47 +00:00
jfieber
dd12b6c2e5 Remove SGML tools from -current. 1997-07-19 15:19:08 +00:00
jmacd
fc96f4e7e3 Add info to SUBDIRS 1997-01-11 02:46:51 +00:00
jfieber
4f0b18f8ab Remove FAQ. 1995-09-30 15:33:08 +00:00
ache
ba987a9a72 Add timedef 1995-08-06 11:20:41 +00:00
jfieber
a01dca0306 Add sgml 1995-05-10 00:36:16 +00:00
ache
15793da0e5 Nuke BSD tmac 1995-01-17 19:10:35 +00:00
wollman
100e781c92 Now that `doc' works, do it. 1995-01-11 04:33:00 +00:00
phk
d34c9b62ce Make installs better, install the FAQ stuff, don't install CVS-dirs. 1994-11-08 03:58:52 +00:00
ache
861d84d3fe syscons subdir added 1994-09-25 04:01:37 +00:00
bde
b0926342c5 Restore mk to subdirs. It hasn't been broken seen the 1.1.5 mk files
were committed a couple of revisions ago.
1994-09-05 12:52:58 +00:00
wollman
7a77128a94 Make man page installation work for ``unattached'' and kernel pages. 1994-08-09 18:41:38 +00:00
wollman
815a22f28f Make examples install into /usr/share/examples. Like with includes, you
have a choice between SHARED=copies and SHARED=symlinks.  The default
is to copy.

I have also added a /usr/share/examples/etc directory, where I hope to
have all sample configuration files which in real use go into /etc installed.
(This way, if the user really screws the real one up, they can always go
back to a known-working distribution copy, even if they don't have sources.)
1994-08-09 18:25:38 +00:00
rgrimes
42544ed424 Disable doc for now since it had a bunch of symbolic links I am not
ready to go deal with just yet.
Disable man for now it will be fixed shortly, just wanted all the man
page converion stuff to be done togeather since that is a major functional
change and really belongs in a seperate commit.
1994-07-06 02:11:36 +00:00
rgrimes
b0d61785ca BSD 4.4 Lite Share Sources 1994-05-30 19:09:18 +00:00