Mark Johnston
1e28e010e4
Remove the old DTrace test suite makefile - it was somewhat primitive and
...
mostly unmaintained, and it has been superseded by the infrastructure added
in r279418.
Reviewed by: ngie
Sponsored by: EMC / Isilon Storage Divison
2015-02-28 23:35:29 +00:00
Dimitry Andric
9b2a0d91b8
Merge ^/head r279023 through r279162.
2015-02-22 16:04:37 +00:00
Colin Percival
9cb8ba562b
Step 2 of eliminating the "games" distribution: Remove punch card
...
utilities.
I was originally planning on removing the phase-of-moon (pom), clock
(grdc), and caesar cipher (caesar, rot13) utilities as well, but after
I committed r278616 I received an astonishing volume of email informing
me that those are still being widely used. Much to my relief, nobody
reported continuing to use the punch card utilities in production.
The final step will be to merge src/games into src/usr.bin.
This change will not be MFCed.
2015-02-22 08:50:05 +00:00
Dimitry Andric
8af9f2019d
Vendor import of llvm RELEASE_360/rc4 tag r229772 (effectively, 3.6.0 RC4):
...
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_360/rc4@229772
2015-02-19 20:55:17 +00:00
Dimitry Andric
569e61a4fc
Merge ^/head r278499 through r278755.
2015-02-14 13:12:03 +00:00
Dimitry Andric
608e665946
Vendor import of llvm RELEASE_360/rc3 tag r229040 (effectively, 3.6.0 RC3):
...
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_360/rc3@229040
2015-02-14 12:17:42 +00:00
George V. Neville-Neil
db6784f200
Silence a warning.
2015-02-12 23:00:31 +00:00
Colin Percival
11d9aa6707
Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
...
update paths; and include everything in the "base" distribution.
The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive. Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.
The next steps will be:
2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.
3. Merging src/games into src/usr.bin.
This change will not be MFCed.
Reviewed by: jmg
Discussed at: EuroBSDCon
Approved by: gjb (release-affecting changes)
2015-02-12 05:35:00 +00:00
Dimitry Andric
b40d827331
Merging ^/head r278298 through r278350.
2015-02-07 12:57:40 +00:00
Ed Maste
b01589c956
makeroot: Add -l option to set file system volume label
...
Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D1782
2015-02-06 15:38:11 +00:00
Ed Maste
63ed8a4e4b
Handle invocation with neither of -e / -f
...
Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D1780
2015-02-06 15:34:10 +00:00
Dimitry Andric
bd9cc051b3
Merging ^/head r278224 through r278297.
2015-02-05 22:34:29 +00:00
John-Mark Gurney
39914d6656
apparently MAN was misspelled, fix..
...
Submitted by: ngie
2015-02-05 21:56:23 +00:00
John-Mark Gurney
6e442e6beb
add a quick testing program I wrote for adrian...
2015-02-05 20:23:36 +00:00
Dimitry Andric
a403ab7f64
Merge ^/head r278110 through r278223.
2015-02-04 21:08:28 +00:00
Enji Cooper
b6f503dde0
Clean up more usb related files when MK_USB == no when dealing with
...
manpages, libraries, and binaries
MFC after: 1 week
X-MFC with: r278135
Sponsored by: EMC / Isilon Storage Division
2015-02-04 11:43:19 +00:00
Enji Cooper
c7b6816fa9
Add MK_FILE to control whether or not to build file(1), libmagic(3), etc
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-02-04 10:24:40 +00:00
Enji Cooper
11981695fc
Add the following options to enable/disable several features in the base system
...
WITHOUT_BOOTPARAMD - bootparamd
WITHOUT_BOOTPD - bootpd
WITHOUT_FINGER - finger, fingerd
WITHOUT_FTP - ftp, ftpd
WITHOUT_INETD - inetd
WITHOUT_RBOOTD - rbootd
WITHOUT_TCP_WRAPPERS - tcpd, et al
WITHOUT_TFTP - tftp, tftp-server
WITHOUT_TIMED - timed
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-02-04 10:19:32 +00:00
Enji Cooper
31a741f473
Conditionalize building radius support into libpam, ppp, etc via
...
MK_RADIUS_SUPPORT
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-02-04 06:53:45 +00:00
Dmitry Marakasov
04c5a27be0
- Remove more files when MK_USB == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:14:17 +00:00
Dmitry Marakasov
1dc6769d6d
- Remove more files when MK_UNBOUND == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:13:16 +00:00
Dmitry Marakasov
e5f6569bd0
- Remove more files when MK_TEXTPROC == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:11:24 +00:00
Dmitry Marakasov
aee4d21d84
- Remove more files when MK_TESTS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:10:23 +00:00
Dmitry Marakasov
fed7ef1661
- Remove more files when MK_TCSH == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:05:06 +00:00
Dmitry Marakasov
3f13cb12a9
- Remove more files when MK_SYSCONS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:02:41 +00:00
Dmitry Marakasov
14e319f234
- Remove more files when MK_SSP == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 02:59:47 +00:00
Dmitry Marakasov
1d706ec416
- Remove more files when MK_QUOTAS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 02:57:50 +00:00
Dmitry Marakasov
61c40359e7
- Remove more files when MK_PORTSNAP == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 02:56:25 +00:00
Dmitry Marakasov
7a713ceabc
- Remove more files when MK_PMC == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 02:54:54 +00:00
Dmitry Marakasov
71795a01a6
- Remove more files when MK_PF == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 00:19:50 +00:00
Dmitry Marakasov
3f72f93289
- Remove more files when MK_OPENSSH == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 00:17:49 +00:00
Dimitry Andric
73ee00cef5
Merge ^/head r278005 through r278109.
2015-02-02 20:18:47 +00:00
Dmitry Marakasov
5bed16ded9
- Remove more files when MK_NTP == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:59:55 +00:00
Dmitry Marakasov
ed809ca880
- Remove more files when MK_NS_CACHING == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:58:41 +00:00
Dmitry Marakasov
90539b6f3c
- Remove more files when MK_NLS_CATALOGS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:57:45 +00:00
Dmitry Marakasov
422e74aec3
- Remove more files when MK_NLS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:56:39 +00:00
Dmitry Marakasov
e50d77e569
- Remove more files when MK_NETGRAPH_SUPPORT == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:55:24 +00:00
Dmitry Marakasov
fe8f6c3e43
- Remove more files when MK_NETGRAPH == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:54:28 +00:00
Dmitry Marakasov
e5c3781da5
- Remove more files when MK_MAN_UTILS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:52:38 +00:00
Dmitry Marakasov
ddef032455
- Remove more files when MK_MAN == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:51:26 +00:00
Dmitry Marakasov
426d530372
- Remove more files when MK_MAKE == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:50:14 +00:00
Dmitry Marakasov
2f3a10e535
- Remove more files when MK_MAIL == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:48:05 +00:00
Dmitry Marakasov
1b41fa7d4d
- Remove more files when MK_LOCALES == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:45:17 +00:00
Dmitry Marakasov
4f190535a8
- Remove more files when MK_LIBCPLUSPLUS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:43:07 +00:00
Dmitry Marakasov
d956da53db
- Remove more files when MK_HTML == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:40:42 +00:00
Dmitry Marakasov
6031355d0f
- Remove more files when MK_GROFF == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 14:38:47 +00:00
Dmitry Marakasov
28be4ba849
- Remove more files when MK_GPIO == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 02:56:29 +00:00
Dmitry Marakasov
cf8028f38b
- Remove more files when MK_DMAGENT == no and move the chunk into its alphabetical place
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 02:53:52 +00:00
Dmitry Marakasov
ee4d0fcea8
- Remove more files when MK_BSNMP == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 02:51:22 +00:00
Dmitry Marakasov
70fffb2e21
- Remove more files when MK_BSD_CPIO == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 02:49:54 +00:00
Dmitry Marakasov
8af1079dc4
- Remove more files when MK_BOOT == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 02:49:01 +00:00
Dmitry Marakasov
f594efed15
- Remove more files when MK_BLUETOOTH == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 02:47:37 +00:00
Dmitry Marakasov
c88fc3e488
- Remove more files when MK_BINUTILS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-02 02:44:27 +00:00
Dimitry Andric
ec304151b7
Vendor import of llvm RELEASE_360/rc2 tag r227651 (effectively, 3.6.0 RC2):
...
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_360/rc2@227651
2015-01-31 19:27:28 +00:00
Dimitry Andric
f72f83dcae
Merge ^/head r277902 through r277944.
2015-01-30 18:34:56 +00:00
Michael Reifenberger
c47ef15f23
Keep original images, dont compile tests,
...
makefs for iso images translates labes to uppercase, so adopt fstab for this case.
2015-01-30 15:42:52 +00:00
Dimitry Andric
8179004eba
Merge ^/head r277719 through 277776.
2015-01-26 21:41:54 +00:00
Dimitry Andric
6ce3ca6441
Update other build glue: ObsoleteFiles.inc, UPDATING, mtree files, and
...
OptionalObsoleteFiles.inc.
2015-01-26 19:41:26 +00:00
Enji Cooper
7fdb2b7a8d
Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-26 09:51:21 +00:00
Enji Cooper
a841418dd6
Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-26 09:43:08 +00:00
Enji Cooper
62a1797fb4
Honor MK_JAIL with etc/rc.d/jail
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-26 09:37:14 +00:00
Enji Cooper
917fd1c5d6
Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-26 09:31:48 +00:00
Enji Cooper
a36aaa139e
Honor MK_ACCT with etc/pam.d/atrun
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-26 08:50:12 +00:00
Enji Cooper
6c5f4450a3
Honor MK_ACCT with etc/rc.d/accounting
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-26 08:46:26 +00:00
Enji Cooper
7c3912a278
Honor MK_AMD with etc/rc.d/amd
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-26 08:28:51 +00:00
Enji Cooper
4290777e25
Honor MK_API in etc/rc.d
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-26 08:23:36 +00:00
Enji Cooper
5b57c67cc6
Honor MK_LPR with etc/rc.d/lpd
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-26 08:20:51 +00:00
Enji Cooper
4a0ea4d698
Honor MK_ACPI in etc/devd and etc/rc.d
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-26 08:04:38 +00:00
Enji Cooper
b359042310
Add MK_AUTOFS knob for building and installing autofs(4), et al
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-26 07:15:49 +00:00
Enji Cooper
02629e469f
Add MK_BHYVE knob for building and installing bhyve(4), et al
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-26 06:44:48 +00:00
Enji Cooper
4e39505449
Add MK_HAST knob for building and installing hastd(8), et al
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-26 06:27:07 +00:00
Enji Cooper
3b09bf5e55
Build lib/libgpio if MK_GPIO != no
...
Fill in corresponding entries for MK_GPIO == no in OptionalObsoleteFiles.inc
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-25 05:37:06 +00:00
Enji Cooper
2186d09cc8
Fill in entries for MK_BSNMP == no
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-25 05:30:45 +00:00
Enji Cooper
f1574bb04d
Fill in some dtrace entries when MK_CDDL == no
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-25 05:23:22 +00:00
Enji Cooper
d4cd3eb85b
Fill in entries for MK_CUSE == no
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-01-25 05:15:45 +00:00
Enji Cooper
18cc317233
Add MK_CCD knob for building and installing ccd(4), ccdconfig, etc
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-25 04:52:48 +00:00
Enji Cooper
e45b569c95
Add MK_BSDINSTALL knob for building and installing bsdinstall
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-25 04:43:13 +00:00
Enji Cooper
3f802165ba
Add MK_TALK knob for building the talk and talkd
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-25 04:37:44 +00:00
Enji Cooper
b29d6977f3
Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel
...
modules, etc
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-25 04:20:11 +00:00
Enji Cooper
79a86dafb7
Add MK_EE knob to control installing edit, ee, etc
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-01-25 00:03:44 +00:00
Enji Cooper
2decd8fc81
Make this compile with WARNS=6 and clang/gcc
...
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
2015-01-22 09:25:31 +00:00
Will Andrews
36fe5321f2
Enable nanobsd.sh to be executed when pwd != NANO_SRC.
...
While here, fix a bug in which NANO_PMAKE would not be appended at the
appropriate time.
Simply move both checks to after the call to set_defaults_and_export().
Tested by: lstewart
Sponsored by: Spectra Logic
2015-01-22 00:52:34 +00:00
Enji Cooper
941436306a
Garbage collect a prove test wrapper
...
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
2015-01-20 22:51:29 +00:00
Enji Cooper
bf5e6a8751
Garbage collect a prove test wrapper
...
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
2015-01-20 21:58:49 +00:00
Enji Cooper
51dd214c84
MFhead @ r277403
2015-01-19 22:18:00 +00:00
Dimitry Andric
06d4ba3888
Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1):
...
https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_360/rc1@226102
2015-01-18 16:23:48 +00:00
Dimitry Andric
67c32a9831
Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1):
...
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_360/rc1@226102
2015-01-18 16:17:27 +00:00
Dimitry Andric
9cac79b378
Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
...
only release, no new features have been added.
Please note that this version requires C++11 support to build; see
UPDATING for more information.
Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.5.1/docs/ReleaseNotes.html >
<http://llvm.org/releases/3.5.1/tools/clang/docs/ReleaseNotes.html >
MFC after: 1 month
X-MFC-With: 276479
2015-01-18 14:14:47 +00:00
Will Andrews
7a37b5fc17
Add a ${CP} alias for copying files in the build.
...
Some users build FreeBSD as non-root in Perforce workspaces. By default,
Perforce sets files read-only unless they're explicitly being edited.
As a result, the -f argument must be used to cp in order to override the
read-only flag when copying source files to object directories. Bare use of
'cp' should be avoided in the future.
Update all current users of 'cp' in the src tree.
Reviewed by: emaste
MFC after: 1 week
Sponsored by: Spectra Logic
2015-01-16 21:39:08 +00:00
Dimitry Andric
8028b78dbf
Connect libclang_rt to the build, for specific architectures. This
...
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.
ASan is a fast memory error detector. It can detect the following types
of bugs:
Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)
Typical slowdown introduced by AddressSanitizer is 2x.
UBSan is a fast and compatible undefined behavior checker. It enables a
number of undefined behavior checks that have small runtime cost and no
impact on address space layout or ABI.
PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD,
particularly on i386. These will hopefully be smoothed out in the
coming time.
Differential Revision: https://reviews.freebsd.org/D1505
2015-01-13 19:54:47 +00:00
Dimitry Andric
c369979c46
Add the llvm-symbolizer tool, which enables the sanitizers to report
...
more complete debugging information. This tools is only enabled when
WITH_CLANG_EXTRAS is on.
Submitted by: Dan McGregor <danismostlikely@gmail.com>
2015-01-10 22:22:42 +00:00
Warner Losh
76e1ce6f68
We don't want tests on these embedded boxes.
2015-01-08 18:00:38 +00:00
John Baldwin
d31d9a42bf
Drop 'new' from the description of NFSCL to match the recent change in
...
HEAD kernel confs.
2015-01-08 15:20:42 +00:00
Warner Losh
2f4b03fce1
Move to new NFS client with NFSCL after old NFS clinet (NFSCLIENT) was
...
removed.
2015-01-08 00:39:30 +00:00
Ed Maste
968d62e1a1
Use a set of ELF Tool Chain tools by default
...
These tools are now from the ELF Tool Chain project:
* addr2line
* elfcopy (strip)
* nm
* size
* strings
The binutils versions are available by setting in src.conf:
WITHOUT_ELFTOOLCHAIN_TOOLS=yes
Thanks to antoine@ for multiple exp-runs and diagnosing many of the
failures.
PR: 195561 (ports exp-run)
Sponsored by: The FreeBSD Foundation
2015-01-07 22:02:37 +00:00
Navdeep Parhar
ceddd71f29
Fix all nits reported by mandoc -Tlint.
...
MFC after: 1 month
2015-01-03 05:39:01 +00:00
Navdeep Parhar
dd667a0656
Add a manual page for cxgbetool. It is incomplete but definitely
...
better than nothing.
MFC after: 1 month
2015-01-03 00:26:21 +00:00
Enji Cooper
a4ed727666
MFhead @ r276594
2015-01-02 23:27:16 +00:00
Baptiste Daroussin
d80dd6bb64
Fix typo
2015-01-02 18:57:58 +00:00
Baptiste Daroussin
2d2813618c
Remove GNU texinfo from base along with all info pages.
...
To be able to info pages consider installing texinfo from ports print/texinfo or
via pkg: pkg install texinfo
Differential Revision: https://reviews.freebsd.org/D1409
Reviewed by: emaste, imp (previous version)
Relnotes: yes
2015-01-02 18:45:03 +00:00
Dimitry Andric
8007ee2b0c
Merge ^/head r274961 through r276301.
2014-12-27 14:58:52 +00:00
Joel Dahl
068b48d674
mdoc: improvements to SEE ALSO.
2014-12-27 07:07:37 +00:00
Poul-Henning Kamp
c05bafc566
Deorbit the IEEE-488/GPIB support.
2014-12-25 20:15:13 +00:00
Poul-Henning Kamp
e47bc38811
Create the PKG_DIR if it is missing
2014-12-25 17:54:22 +00:00
Enji Cooper
afbe8aa46f
MFhead @ r275911 (also, sort out MK_* flags in BMAKE, etc on this branch)
2014-12-18 18:46:08 +00:00
Dimitry Andric
e65720e1ac
Merge ^/head r275759 through r275911.
2014-12-18 18:44:22 +00:00
Enji Cooper
f703589ef4
Fix building/installing tests when TESTSBASE != /usr/tests
...
The work in r258233 hardcoded the assumption that tests was the last component
of the tests tree by pushing tests as an explicit prefix for the paths in
BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all
of the mtree calls used in Makefile.inc1. This assumption breaks if/when one
provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests .
One thing that r258233 did properly though was remove "/usr/tests" creation
from BSD.usr.dist -- that should have not been there in the first place. That
was an "oops" on my part for the work that was originally committed in r241823
MFC after: 2 weeks
Phabric: D1301
Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division
2014-12-18 18:16:00 +00:00
Will Andrews
6b8c8dee3c
Make NanoBSD source-able from other scripts.
...
Summary:
This change converts NanoBSD into a two-script bundle.
- defaults.sh contains all non-CLI code. Most NanoBSD code is moved into
this file.
- nanobsd.sh now consists just of a command line interface that calls into
functions in defaults.sh.
Test Plan: Run NanoBSD using a previously-working configuration.
Reviewers: imp
Reviewed By: imp
Differential Revision: https://reviews.freebsd.org/D1321
2014-12-16 17:59:05 +00:00
Enji Cooper
f0d7e7f714
MFhead @ r275663
2014-12-10 06:43:16 +00:00
Enji Cooper
acf5ac8780
Add a description for WITHOUT_CCD
2014-12-10 06:33:24 +00:00
Enji Cooper
3554444aa1
Add periods to the end of the lines noting architecture caveats for *BHYVE/*HYPERV
2014-12-10 06:02:31 +00:00
Enji Cooper
b43a681b2a
Move MK_BHYVE/MK_HYPERV to architecture specific sections in Makefiles
...
instead of introducing an architecture specific section in src.opts.mk
Make it clear in the documentation that the options only affect certain
architectures to reduce user confusion if the knobs are tweaked
A better method for abstracting this out will be done in the future in a
different commit
Discussed with/Requested by: imp
2014-12-10 05:59:29 +00:00
Dimitry Andric
d7e0694a59
Merge ^/head r275478 through r275622.
2014-12-08 19:56:34 +00:00
Sean Bruno
af1d915221
Add -lxo (for df) and -lgpio(for gpioctl) to bsdbox. This will allow the picostation
...
build to work again.
Reviewed by: adrian
2014-12-08 17:14:01 +00:00
Enji Cooper
da976f9d68
MFhead @ r275496
2014-12-05 07:48:25 +00:00
Dimitry Andric
24ce0a02e5
Merge ^/head r275387 through r275477.
2014-12-04 17:38:32 +00:00
Enji Cooper
3df678fa16
Don't try to remove /usr/include/bsm, et al
2014-12-02 19:55:46 +00:00
Enji Cooper
210607205f
Make ccd(4), et al conditional based on MK_CCD
2014-12-02 19:53:55 +00:00
Enji Cooper
488ced8671
Only install etc/devd/asus.conf if MK_ACPI == yes
2014-12-02 19:02:39 +00:00
Enji Cooper
c415effcef
Don't install usr.sbin/mountd if MK_NFS_SERVER == no
2014-12-02 17:10:11 +00:00
Enji Cooper
c8c7f0b0e0
Add knob, MK_MAC_SUPPORT for building items with mac(9) support, like
...
libugidfw, ugidfw, etc
2014-12-02 17:08:24 +00:00
Hans Petter Selasky
76ebf59046
Add missing Makefile defines so that the program in question can be
...
built as part of buildworld.
2014-12-02 13:58:57 +00:00
Ed Maste
18e8f946ec
Add elfcopy and man page to OptionalObsoleteFiles
2014-12-02 02:11:09 +00:00
Dimitry Andric
2383695dc3
Merge ^/head r274961 through r275386.
2014-12-02 01:45:04 +00:00
Poul-Henning Kamp
52db98331d
Make this work with pkgng, and allow PORTS_OPTS to be passed in
2014-12-01 22:39:35 +00:00
Ed Maste
3194293903
Build infrastructure for elftoolchain tools
...
Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version
of the following tools:
* addr2line
* elfcopy (strip / mcs)
* nm
* size
* strings
Reviewed by: bapt (earlier version)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1224
2014-12-01 17:49:42 +00:00
Dimitry Andric
60c317af72
Merge ^/head r275262 through r275363.
2014-12-01 13:14:39 +00:00
Poul-Henning Kamp
32dbae6619
Face the fact that we have no idea where the ports tree really lives.
2014-12-01 10:17:23 +00:00
Gleb Kurtsou
c5f8185b36
Update tools/shlib-compat.
...
- Update dwarfdump / compiler support.
Use hex instead of decimal for integers.
Add boolean and restrict type definitions.
Add options for specifing dwarfdump and objdump executables.
- Fix reporting missing symbol definitions as matching.
- Compare external variable definitions.
- Exclude special symbols like _init, _end by default.
- Fix test build.
2014-12-01 08:14:25 +00:00
Enji Cooper
317fdbc621
Build spppcontrol if MK_PPP != no
2014-11-30 08:34:46 +00:00
Enji Cooper
ebffb67085
Fill in items to remove with relevant knobs, per r275300
2014-11-30 06:44:24 +00:00
Enji Cooper
e7d836f78d
Make nfs server components conditional according to MK_NFS_SERVER
2014-11-30 02:31:37 +00:00
Enji Cooper
4724dcbfa1
Honor MK_AUDIT with respect to etc/security
2014-11-30 01:42:55 +00:00
Enji Cooper
75ff9cf253
- Fill in MK_FILE, MK_PMC, MK_SQLITE3, and MK_ZONEINFO
...
- Fill in etc/pam.d entries per r275291
- Fill in lib/libaudit entries
- Fill in more MK_NTP entries
2014-11-30 00:55:50 +00:00
Enji Cooper
65ea08621f
Add MK_FILE and MK_SQLITE3
...
- MK_FILE will conditionalize building lib/libmagic and usr.bin/file
- MK_SQLITE3 will conditionalize building lib/libsqlite3, and will disable
MK_SVN/MK_SVNLITE by proxy
2014-11-30 00:45:33 +00:00
Enji Cooper
e052c69ab2
Better honor the following MK_ flags in etc/Makefile and etc/rc.d/Makefile:
...
- MK_AMD
- MK_ATM
- MK_AUDIT
- MK_BOOT
- MK_GSSAPI
- MK_JAIL
- MK_LPR
- MK_SENDMAIL
- MK_VI
- MK_WIRELESS
- MK_ZFS
2014-11-30 00:23:34 +00:00
Enji Cooper
8e4a31822c
Skip usr/share/misc
2014-11-29 09:09:54 +00:00
Enji Cooper
fb96e8ee77
Honor MK_BLUETOOTH when installing bluetooth.device.conf
2014-11-29 07:41:02 +00:00
Enji Cooper
840e70929b
MFHead @ r275232
2014-11-29 05:28:40 +00:00
Enji Cooper
e0cbf36b20
Make ee(1) optional via MK_EE
2014-11-29 01:58:52 +00:00
Enji Cooper
1324339bd2
Implement mdoc cross references
2014-11-29 01:55:59 +00:00
Enji Cooper
ad50ede66c
Fill in MK_VI == no
2014-11-29 01:53:55 +00:00
Enji Cooper
6dd1d788eb
Ignore usr/share/nls
2014-11-28 20:48:53 +00:00
Dimitry Andric
344e0332fb
Merge ^/head r275118 through r275209.
2014-11-28 13:25:57 +00:00
Enji Cooper
68b259bdd5
Populate MK_AUTOFS and MK_BSDCONFIG; add more dtrace bits to MK_CDDL; add minimal bits to MK_LIB32
2014-11-27 09:53:17 +00:00
Enji Cooper
a8b303ad4d
Add WITHOUT_AUTOFS and WITHOUT_BSDCONFIG
2014-11-27 09:42:40 +00:00
Enji Cooper
b7c1742fa8
Filter out /lib, /usr/lib32, and fold the /usr/lib* checks into one expression
2014-11-27 09:40:36 +00:00
Nick Hibma
87cca91264
clean_build is not always done (*), so move the mkdir to the first step
...
that needs it and is always done: make.conf build.
(*) In our build environment we actually never do a clean build unless
instructed to do so, to make sure we do not accidentally delete the
built world when on a tight schedule.
2014-11-27 09:17:42 +00:00
Enji Cooper
ee0d2af8e2
Until I teach bsd.*.mk to accept NO_ROOT, make this script only accept root users
2014-11-27 07:33:50 +00:00
Enji Cooper
eaf49814e9
Ignore boot and remove from MK_BOOT additions done in previous commit
2014-11-27 07:19:36 +00:00
Enji Cooper
b13f4f90e4
Fill in MK_BOOT for amd64
2014-11-27 07:17:32 +00:00
Enji Cooper
7a818dff67
Populate MK_CUSE, MK_NETGRAPH, MK_NETGRAPH_SUPPORT, and MK_RADIUS_SUPPORT
2014-11-27 04:19:01 +00:00
Enji Cooper
f541dd9b51
Implement MK_RADIUS_SUPPORT to make libradius and assorted support optional
2014-11-27 04:16:47 +00:00
Enji Cooper
d96b818e73
- Fill in MK_LEGACY_CONSOLE == no and SYSCONS == no
...
- Don't install syscons(4)
- Don't install the moused or syscons rc.d scripts if MK_LEGACY_CONSOLE == no
2014-11-26 22:41:51 +00:00
Enji Cooper
c1399c63ec
- Fix egrep -> grep typo introduced in previous commit
...
- Do depth-first search on OLD_DIRS so the list is logically sorted
2014-11-26 22:26:22 +00:00
Enji Cooper
f5ce9d6be9
Installing zzz(8) doesn't make sense when both ACPI and APM are disabled
2014-11-26 21:53:53 +00:00
Enji Cooper
0341ccf227
Clean up more usb related files when MK_USB == no when dealing with
...
manpages, libraries, and binaries
2014-11-26 21:18:52 +00:00
Enji Cooper
38082ac9ae
- Handle OLD_LIBS properly by looking for versioned .so's
...
- Filter out /usr/libdata and /usr/libdata/pkgconfig from OLD_DIRS
2014-11-26 21:17:32 +00:00
Glen Barber
af97641fc6
Whitespace cleanup to fix rendering nits in
...
src.conf(5).
Sponsored by: The FreeBSD Foundation
2014-11-26 20:43:09 +00:00
Dimitry Andric
1181e9f8a2
After some horrible wrestling with Subversion's worthless merge
...
implementation, merge ^/head r275078 through r275117.
Note that all the extraneous mergeinfo is there because Subversion
created it. I'll hopefully be able to remove it again when merging back
to head.
2014-11-26 14:36:04 +00:00
Enji Cooper
ece34a4f2d
Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS
...
Convention in the file is that .a files be added to OLD_FILES and versioned .so's
be added to OLD_LIBS
2014-11-26 14:01:27 +00:00
Enji Cooper
24dce9ffb7
Ignore LIBPRIVATEDIR when suggesting directories to prune
2014-11-26 13:26:12 +00:00
Enji Cooper
a3f5edf093
Add MK_TIMED option for optionally building usr.sbin/timed, et al
2014-11-26 13:25:09 +00:00
Enji Cooper
046cc7b93e
Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs
2014-11-26 12:54:58 +00:00
Enji Cooper
466046ec0d
Conditionalize a number of components in the tree
...
- bootparamd
- bootpd
- finger/fingerd
- ftp/ftpd
- hastctl/hastd
- iscsid, et al
- rbootd
- talk/talkd
- tcpd, et al
- tftp/tftpd
Add src.conf entries for the various components and do a best effort
at adding components to tools/build/mk/OptionalObsoleteFiles.inc
2014-11-26 08:44:05 +00:00
Enji Cooper
fb624adcf8
MK_HYPERV:
...
Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS
2014-11-26 03:38:12 +00:00
Enji Cooper
961281fa16
Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
...
or MK_TELNET == no, respectively
2014-11-26 02:59:37 +00:00
Enji Cooper
4bbfcad580
Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
...
knobs are set
2014-11-26 02:46:48 +00:00
Enji Cooper
bdf492a3ac
Missed the bsnmp config file
2014-11-26 02:37:00 +00:00
Enji Cooper
fe4c66a4f8
Add script I'm using to add entries to OptionalObsoleteFiles.inc
2014-11-25 23:01:01 +00:00
Baptiste Daroussin
adf60e7551
Convert to LIBADD
2014-11-25 22:45:35 +00:00
Enji Cooper
88585cd46c
Add more MK_BSNMP == no entries for things not caught due to custom
...
settings in $SRCCONF
2014-11-25 22:38:16 +00:00
Baptiste Daroussin
53b1934c6d
Convert to LIBADD
2014-11-25 22:37:27 +00:00
Enji Cooper
6d94729e30
Fill in entries for MK_BSNMP == no
2014-11-25 19:38:23 +00:00
Enji Cooper
4be1ca354c
Make building/installing bhyve optional via MK_BHYVE on amd64
...
Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)
2014-11-25 19:20:25 +00:00
Enji Cooper
c341279404
Add an additional src.conf doc snippet for WITH_HYPERV
2014-11-25 19:17:12 +00:00
Enji Cooper
05bc3dd6c0
Make inetd optional via MK_INETD
2014-11-25 08:39:46 +00:00
Enji Cooper
41e0727670
Make bsdinstall(8) and sade(8) optional components via MK_BSDINSTALL=yes
2014-11-25 07:30:26 +00:00
Dimitry Andric
d393fb09e6
Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc for the import of
...
llvm/clang 3.5.0.
2014-11-24 20:18:14 +00:00
Dimitry Andric
9f4dbff666
Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
...
https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_350/final@216957
2014-11-24 09:15:30 +00:00
Dimitry Andric
5ca98fd987
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
...
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_350/final@216957
2014-11-24 09:08:18 +00:00
Baptiste Daroussin
b8d52ac37c
Install mdoc(7) and man(7) from mdoc instead of the one from groff
2014-11-23 22:28:46 +00:00
Warner Losh
fb90c28e23
Sort -K option before -k rather than at the top.
...
MFC after: 1 week
2014-11-21 23:04:12 +00:00
Nick Hibma
40dd22f4fb
Simply remove the tmp dir before creating the symlink. We are doing
...
chroots all over the place, so there is bound to be a stale file lying
around in there (in my case samba lock files from creating accounts). If
we don't do that, the symlink later will fail.
2014-11-21 14:53:42 +00:00
Simon J. Gerraty
9268022b74
Merge from head@274682
2014-11-19 01:07:58 +00:00
Warner Losh
7faf4201b4
Document WITHOUT_USB_EXAMPLES and WITHOUT_TESTS_SUPPORT
...
Sponsored by: Netflix
2014-11-18 17:06:50 +00:00
Warner Losh
c0257988b3
LIB32 is supported for powerpc64 too. Make the note more general about
...
64-bit processors.
Sponsored by: Netflix
2014-11-18 17:06:48 +00:00
Warner Losh
590461a4b8
Acutally, replaces NO_INCS with WITHOUT_INCLUDES and make
...
WITHOUT_TOOLCHAIN imply it instead.
Sponsored by: Netflix
2014-11-18 17:06:44 +00:00
Steven Hartland
7d0c9ddcc3
Revert r273630 as the panic was fixed by r274619
...
The panic was caused by TRIM requests run against file based vdevs as write
requests.
PR: 191573
Sponsored by: Multiplay
2014-11-17 11:35:30 +00:00
Enji Cooper
53cecec82e
Convert tools/regression/lib/libc/stdio/test-fpclassify into an ATF testcase and
...
Rename as lib/libc/stdio/fpclassify2_test
Sponsored by: EMC / Isilon Storage Division
2014-11-16 20:29:57 +00:00
Enji Cooper
41a3b1244b
Convert tools/regression/lib/libc/stdio/test-fmemopen into an ATF testcase and
...
rename as lib/libc/stdio/fmemopen2_test
Sponsored by: EMC / Isilon Storage Division
2014-11-16 19:57:47 +00:00
Enji Cooper
f1bcbd4aba
Remove test-arc4random from this Makefile so others can continue to use
...
this as-is for the time being
2014-11-16 07:58:06 +00:00
Enji Cooper
37074d966d
Convert tools/regression/lib/libc/gen/test-arc4random into an ATF testcase and
...
rename as lib/libc/gen/arc4random_test
Sponsored by: EMC / Isilon Storage Division
2014-11-16 07:55:28 +00:00
Alexander V. Chernikov
670e8b3b8c
Kill custom in_matroute() radix mathing function removing one rte mutex lock.
...
Initially in_matrote() in_clsroute() in their current state was introduced by
r4105 20 years ago. Instead of deleting inactive routes immediately, we kept them
in route table, setting RTPRF_OURS flag and some expire time. After that, either
GC came or RTPRF_OURS got removed on first-packet. It was a good solution
in that days (and probably another decade after that) to keep TCP metrics.
However, after moving metrics to TCP hostcache in r122922, most of in_rmx
functionality became unused. It might had been used for flushing icmp-originated
routes before rte mutexes/refcounting, but I'm not sure about that.
So it looks like this is nearly impossible to make GC do its work nowadays:
in_rtkill() ignores non-RTPRF_OURS routes.
route can only become RTPRF_OURS after dropping last reference via rtfree()
which calls in_clsroute(), which, it turn, ignores UP and non-RTF_DYNAMIC routes.
Dynamic routes can still be installed via received redirect, but they
have default lifetime (no specific rt_expire) and no one has another trie walker
to call RTFREE() on them.
So, the changelist:
* remove custom rnh_match / rnh_close matching function.
* remove all GC functions
* partially revert r256695 (proto3 is no more used inside kernel,
it is not possible to use rt_expire from user point of view, proto3 support
is not complete)
* Finish r241884 (similar to this commit) and remove remaining IPv6 parts
MFC after: 1 month
2014-11-11 02:52:40 +00:00
Alexander V. Chernikov
d1f79a3bfc
Remove kernel handling of ICMP_SOURCEQUENCH.
...
It hasn't been used for a very long time.
Additionally, it was deprecated by RFC 6633.
2014-11-10 23:10:01 +00:00
Alexander V. Chernikov
603eaf792b
Renove faith(4) and faithd(8) from base. It looks like industry
...
have chosen different (and more traditional) stateless/statuful
NAT64 as translation mechanism. Last non-trivial commits to both
faith(4) and faithd(8) happened more than 12 years ago, so I assume
it is time to drop RFC3142 in FreeBSD.
No objections from: net@
2014-11-09 21:33:01 +00:00
Poul-Henning Kamp
a52ce850e9
Handle full-path-resolutions to detect the magic-ness of the pkg port.
2014-11-09 15:33:31 +00:00
Baptiste Daroussin
6276797fcd
Add a quick and dirty script to check validity of links in elf files
2014-11-06 22:45:03 +00:00
John Baldwin
2cba8dd301
Add a new thread state "spinning" to schedgraph and add tracepoints at the
...
start and stop of spinning waits in lock primitives.
2014-11-04 16:35:56 +00:00
John Baldwin
9799411bf7
Bind Ctrl-Q as a global hotkey to exit. Bind Ctrl-W as a hotkey to close
...
dialogs.
2014-11-04 16:30:42 +00:00