Enji Cooper
93b278f08d
Generate temporary files with mkstemp instead of mktemp
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 05:20:01 +00:00
Enji Cooper
1103e0c1bc
Garbage collect argc/argv and bump WARNS to 6
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:57:35 +00:00
Enji Cooper
f305e6eaf8
Garbage collect argc/argv and bump WARNS to 6
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:56:23 +00:00
Enji Cooper
5a3935b6d6
- Garbage collect argc/argv
...
- Use random paths instead of one in /tmp
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:54:43 +00:00
Enji Cooper
1e0d206337
- Garbage collect argc/argv; bump WARNS to 6
...
- Make the socket path random and move it out of /tmp as that's outside ATF's
prescribed path
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:43:43 +00:00
Enji Cooper
38a7f1e446
Fix warnings and bump WARNS to 6
...
- Staticize variables as needed
- Garbage collect argc/argv
- Fix -Wsign-compare warnings by casting small sizeof to (int)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:38:49 +00:00
Enji Cooper
d09e3a296c
Garbage collect argc/argv and bump WARNS to 6
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:35:33 +00:00
Enji Cooper
abbb25c74d
Mark signum unused in signal_handler; bump WARNS to 6
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:24:49 +00:00
Enji Cooper
bcd1483d9d
Fix a -Wuninitialized warning by setting the socket to -1 and bump WARNS to 6
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:19:48 +00:00
Enji Cooper
b74bcac4bd
- Don't use /tmp because it's outside ATF's prescribed sandbox
...
- Replace a hardcoded PATH_MAX value with sizeof(path)
- Use path like an array, not a pointer, and always try to unlink it in cleanup
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:18:14 +00:00
Enji Cooper
c7ded8ba9e
Fix warnings and bump WARNS to 6
...
- Garbage collect argc/argv (-Wunused)
- sleep(3) will always return an unsigned int; don't check for return codes <0
(-Wsign-compare)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:13:09 +00:00
Enji Cooper
572e1f51aa
- Garbage collect argc/argv (-Wunused)
...
- Bump WARNS to 6
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 02:59:45 +00:00
Enji Cooper
f6b2ef31db
- Use static buffers for temporary file paths instead of strdup of constant strings
...
- Don't use /tmp because it's outside ATF's prescribed sandbox
- Use mkstemp instead of mktemp to eliminate warning
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 02:50:44 +00:00
Enji Cooper
e04e98929f
Use _exit, not exit in forked process
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:37:53 +00:00
Enji Cooper
62b65008d0
Remove argc/argv (-Wunused)
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:27:23 +00:00
Enji Cooper
7d075cff6e
Fix warnings
...
- Remove argc/argv (-Wunused)
- Mark some parameters to socket_listen_update __unused (-Wunused)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:26:21 +00:00
Enji Cooper
cc469a3b3a
Remove argc/argv (-Wunused)
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:23:00 +00:00
Enji Cooper
41119c8725
- Parameterize out the number of accept/connect attempts
...
- Randomize the bind port to allow 2+ consecutive calls in < 10 minutes, and
to also not fail if (for instance) there's a server already listening on port
8080
- Don't leak the listening socket / fds into the child process
- Fix warnings:
-- Remove argc/argv (-Wunused)
-- Mark sig __unused (-Wunused)
-- Mark quit static (-Wmissing-variable-declarations)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:21:07 +00:00
Enji Cooper
957885bf58
Fix -Wunused warnings, bump WARNS to 6
...
The output is still broken if prove -rv is run and the testcase aborts
prematurely with fail_assertion (the testcase doesn't really conform to TAP
protocol properly, except when it completes fully)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 08:01:49 +00:00
Enji Cooper
1aa40dada2
Fix -Wunused warnings, bump WARNS to 6
...
The testcase fails today on subtest # 9
The output is still broken if prove -rv is run and the testcase aborts
prematurely (the testcase doesn't really conform to TAP protocol properly,
except when it completes fully)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 07:59:46 +00:00
Enji Cooper
2084db1777
Fix warnings, fix a typo in a testcase description, bump WARNS to 3
...
- Remove argc/argv (-Wunused)
- Cast len in comparison to size_t (-Wsign-compare)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 07:35:53 +00:00
Bryan Drewery
daa301d1d0
- Fix support with new elftoolchain readelf(1)
...
- Fix not finding global symbols by checking for D and R.
- Follow symlinks
- Show which matching symbol was used to consider the library needed.
Discussed with: bapt
2015-04-09 22:16:35 +00:00
Gleb Smirnoff
a9903d5232
Remove debugging code that sneaked in.
2015-04-09 07:52:03 +00:00
Gleb Smirnoff
1ab64a6127
Provide a gdb script, that prints routing tables from a live kernel or a
...
core file, much like 'netstat -anr' does it for living kernel.
Right now only AF_INET routing table is printed. AF_INET6 needs to
be done. But the most difficult part of the script (recursion!) is
complete.
Sponsored by: Nginx, Inc.
2015-04-09 07:45:30 +00:00
Gleb Smirnoff
56d5e0967c
Stop including if_var.h from userland.
...
Sponsored by: Nginx, Inc.
2015-04-06 09:42:23 +00:00
Adrian Chadd
d338532820
Typecast things.
2015-04-06 00:34:59 +00:00
Bryan Drewery
ec251dd4d0
Remove specific reference to g++(1) for WITH_CXX as it may be clang.
...
MFC after: 1 week
2015-04-03 23:55:04 +00:00
Adrian Chadd
582aab3be4
Don't use a private copy of the ANI definitions - use the HAL definitions.
...
Whilst I'm at it:
* fix the NI+ to be correct, rather than NI-;
* use the diag api codes, now that the HAL is public.
Tested:
* AR9380, STA mode
2015-04-01 04:57:27 +00:00
Enji Cooper
b41853c8fe
- Fix -Wsign issue
...
- Bump up to WARNS=6
2015-03-31 06:51:13 +00:00
Enji Cooper
b5d45f0794
Minor cleanup before converting to ATF testcases
...
- Remove blank (tab-only) lines.
- Fix -Wunused warnings.
- Bump up to WARNS= 6
2015-03-31 06:50:28 +00:00
Enji Cooper
76cbe329d6
Cleanup and do minor refactoring before converting testcases to ATF
...
- Convert errx(-1, ..) to errx(1, ..)
- Move the aio(4) checks to a single function (aio_available); use modfind(2)
instead of depending on SIGSYS (doesn't work when aio(4) support is missing,
not documented in the aio syscall manpages).
- Use aio_available liberally in the testcase functions
- Use mkstemp(3) + unlink(2) instead of mktemp(3)
- Fix some -Wunused warnings
- Bump WARNS to 6
MFC after: 1 week
Submitted by: mjohnston [*]
Sponsored by: EMC / Isilon Storage Division
2015-03-31 06:43:55 +00:00
Dmitry Marakasov
1382ef3d6e
- Remove more files when MK_ZONEINFO == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:44:46 +00:00
Dmitry Marakasov
587291d90e
- Remove more files when MK_TESTS_SUPPORT == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:43:25 +00:00
Dmitry Marakasov
a6d0a667a9
- Remove more files when MK_LEGACY_CONSOLE == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:42:00 +00:00
Dmitry Marakasov
d6c957219b
- Remove more files when MK_KERBEROS_SUPPORT == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:39:59 +00:00
Dmitry Marakasov
eb6edb77b0
- Remove more files when MK_KDUMP == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:37:57 +00:00
Dmitry Marakasov
659854cd3f
- Remove more files when MK_JAIL == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:36:51 +00:00
Dmitry Marakasov
992cc53e37
- Remove more files when MK_CASPER == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:31:42 +00:00
Dmitry Marakasov
9c793fa870
- Remove more files when MK_INET6 == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-30 14:13:01 +00:00
Dmitry Marakasov
0c11ad652d
- Remove more files when MK_FORTH == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-30 14:00:17 +00:00
Jilles Tjoelker
9d14d0aaae
wordexp(): Add testcase for non-default IFS in environment.
...
The non-default IFS is expected to be used.
MFC after: 1 week
2015-03-29 22:00:24 +00:00
Adrian Chadd
d2b384c41a
Bump mask to be 64 bits - this fixes seeing MCS rates > 19.
...
Tested:
* AR9380, STA mode, associated to a 3x3 AP (also FreeBSD)
2015-03-23 03:43:59 +00:00
Konstantin Belousov
ab9d0c2789
Cosmetics:
...
- Move to ANSI definitions syntax, removing warnings about type promotions.
- Remove __P().
- Staticise everything.
- Remove warnings about unused args for signal handlers.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2015-03-18 22:05:15 +00:00
Dimitry Andric
a857c4c833
Merge ^/head r279759 through r279892.
2015-03-11 19:04:01 +00:00
Jilles Tjoelker
6ab1d4d9c3
env: Fix crash when -S string is not empty but no operand follows.
...
split_spaces() set argc in main() incorrectly, which caused trouble for
getopt().
Examples:
env -S '\c'
env -S -i
PR: 197769
MFC after: 1 week
2015-03-08 14:12:43 +00:00
Dimitry Andric
6404f697a0
Merging ^/head r279596 through r279758.
2015-03-07 23:01:27 +00:00
Jilles Tjoelker
aad75bd7db
env: Fix testsuite for additional variables set by sh.
...
MFC after: 1 week
2015-03-07 13:54:44 +00:00
Dimitry Andric
ca65be80fd
Merge ^/head r279313 through r279595.
2015-03-04 19:47:33 +00:00
Baptiste Daroussin
ffb67907e8
Remove gperf(7) if gperf is not installed
2015-03-02 22:13:33 +00:00
Baptiste Daroussin
9ddafbe276
Install manpage version of texinfo documentation for binutils
2015-03-02 17:24:04 +00:00
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