303975 |
11-Aug-2016 |
gjb |
Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, and rename it to RC1.
Update __FreeBSD_version.
Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and the dvd1.iso packages population.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
302330 |
03-Jul-2016 |
ngie |
Remove ftp(1) related files when MK_FTP == no
Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D6969 MFC after: 1 week Reviewed by: ngie Submitted by: rakuco Sponsored by: EMC / Isilon Storage Division
|
302329 |
03-Jul-2016 |
bapt |
Posixify the locales name for variants
For all locales with variants: - if no ambiguity on the locale (only one variant) just use the regular name - if ambiguity, pick one as default and append @<variant> to the others respecting POSIX
As a result: - All the 3 components locales added recently are renamed to the usual 2 components version for all but sr_RS.UTF-8 - Set sr_RS.UTF-8 to the cyrillic variant - Add sr_RS.UTF-8@latin - Remove the symlinks aliases they were created to represent the 2 components version as aliasas and are now useless - Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those changes
Discussed with: ache@ Approved by: re@ (gjb)
|
302247 |
28-Jun-2016 |
jtl |
Document support for alternate TCP stacks.
Differential Revision: https://reviews.freebsd.org/D6940 Reviewed by: hiren Approved by: re (gjb) Sponsored by: Juniper Networks
|
301993 |
17-Jun-2016 |
bdrewery |
Add clang-format under WITH_CLANG_EXTRAS.
Reviewed by: dim Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D6856
|
301889 |
14-Jun-2016 |
bdrewery |
WITH_META_MODE: Enable printing of some of make's environment on error.
This will print a set of variables from make on error using MAKE_PRINT_VAR_ON_ERROR. It is already enabled for the DIRDEPS_BUILD. It may make sense to enable this in the non-meta mode as well once people are more used to its more verbose error output.
This makes it much simpler to see which .meta file is used when a command files so that it may be inspected for the build command.
Suggested by: sjg Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
|
301888 |
14-Jun-2016 |
bdrewery |
WITH_META_MODE: Lessen the filemon(4) requirement scope.
- Move the sys.mk filemon requirement to bsd.init.mk as a warning. This is intended only to show when building directly in a subdirectory without filemon loaded. - Move the error into Makefile and only apply it when building from the META_TGT_WHITELIST target list.
-DNO_FILEMON can be used to suppress both the warning and the error but makes WITH_META_MODE less useful. It will only compare build commands in this mode rather than track all dependencies.
This fixes installing from a jail which doesn't need filemon in this phase [1].
Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com> [1] Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
|
301763 |
09-Jun-2016 |
jilles |
build: Add legacy support for futimens() and utimensat().
In order to allow using utimensat() in install(1), add futimens() and utimensat() to -legacy.
The files futimens.c and utimensat.c are modified copies of the files under lib/libc/sys/ since the libc versions use symbols that do not exist in the libc on the build system (sys_futimens and sys_utimensat) . I expect the next non-sweeping change to both sets of files to be to delete them, anyway.
This will allow reverting r299942 (which is a revert of r299850) enabling nanosecond timestamps in install(1).
Reviewed by: bdrewery
|
301602 |
08-Jun-2016 |
des |
Replace _pam_verbose_error() with a macro. This was the last difference between our libpam and stock OpenPAM, meaning that it is now possible to replace the base libpam with a hypothetical ports version of OpenPAM.
|
301554 |
07-Jun-2016 |
lidl |
Document BLACKLIST related build options
Reported by: bdrewery Sponsored by: The FreeBSD Foundation
|
301553 |
07-Jun-2016 |
lidl |
Separate BLACKLIST vs BLACKLIST_SUPPORT properly
Sponsored by: The FreeBSD Foundation
|
301474 |
05-Jun-2016 |
bdrewery |
Document WITH_META_MODE enforcing WITHOUT_SYSTEM_COMPILER.
makeman doesn't handle this since it would need to enable all non-default options when checking enabling 1 option, which then convolutes what is really affecting each other.
|
301466 |
05-Jun-2016 |
bdrewery |
WITH_META_MODE: Enable bmake's missing meta rebuild feature
|
301415 |
05-Jun-2016 |
lidl |
Correct path for blacklistd.conf in OptionalObsoleteFiles.inc
Fix typo made when adding the blacklistd.conf file to OptionalObsoleteFiles.inc
Submitted by: Herbert J. Skuhra ( herbert at mailbox.org ) Reviewed by: rpaulo Approved by: rpaulo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6715
|
301240 |
03-Jun-2016 |
lidl |
Add blacklistd.conf manpage
Install the blacklistd.conf man page, missed in the original commit.
Submitted by: Herbert J. Skuhra ( herbert at mailbox.org ) Reviewed by: rpaulo Approved by: rpaulo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6702
|
301226 |
02-Jun-2016 |
lidl |
Add basic blacklist build support
Reviewed by: rpaulo Approved by: rpaulo Relnotes: YES Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5913
|
300940 |
29-May-2016 |
ngie |
Remove yacc and the yacc tests if MK_TOOLCHAIN == no
yacc's install is conditional based on MK_TOOLCHAIN != no
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
300938 |
29-May-2016 |
ngie |
Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run
sa(8) is conditionally installed based on MK_ACCT != no today
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
300937 |
29-May-2016 |
ngie |
Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run
etcupdate is conditionally installed based on MK_RCS != no today
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
300936 |
29-May-2016 |
ngie |
Remove the calendar tests if MK_CALENDAR == no when "make delete-old" is run
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
300630 |
24-May-2016 |
bdrewery |
WITH_META_MODE: Correct description of missing .meta file.
Sponsored by: EMC / Isilon Storage Division
|
300354 |
21-May-2016 |
bdrewery |
Opportunistically skip building a cross-compiler with SYSTEM_COMPILER set.
This will still build the compiler for the target but will not build the bootstrap cross-compiler in the cross-tools phase. Other toolchain bootstrapping, such as elftoolchan and binutils, currently still occurs.
This will utilize the default CC (cc, /usr/bin/cc) as an external compiler.
This is planned to be on-by-default eventually.
This will utilize the __FreeBSD_cc_version compiler macro defined in the source tree and compare it to CC's version. If they match then the cross-compiler is skipped. If [X]CC is an external compiler (absolute path) or WITHOUT_CROSS_COMPILER is already set, then this logic is skipped. If the expected bootstrap compiler type no longer matches the found CC compiler type (clang vs gcc), then the logic is skipped. As an extra safety check the version number is also compared from the compiler to the tree version.
Clang: The macro FREEBSD_CC_VERSION is defined in: lib/clang/include/clang/Basic/Version.inc For clang -target will be used if TARGET_ARCH != MACHINE_ARCH. This is from the current external toolchain logic. There is currently an assumption that the host compiler can build the TARGET_ARCH. This will usually be the case since we don't conditionalize target arch support in clang, but it will break when introducing new architectures. This problem is mitigated by incrementing the version when adding new architectures.
GCC: The macro FBSD_CC_VER is defined in: gnu/usr.bin/cc/cc_tools/freebsd-native.h For GCC there is no simple -target support when TARGET_ARCH != MACHINE_ARCH. In this case the opportunistic skip is not done. If we add proper support for this case in external toolchain logic then it will be fine to enable.
This relies on the macros being incremented whenever any change occurs to these compilers that warrant rebuilding files. It also should never repeat earlier values.
Reviewed by: brooks, bapt, imp Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D6357
|
300325 |
20-May-2016 |
bdrewery |
Add a WITH_LIBSOFT
|
299842 |
15-May-2016 |
ngie |
Conditionalize installing etc/rc.d/atm{1,2,3}
`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes are needed in that script
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
299841 |
15-May-2016 |
ngie |
Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no
MFC after: 2 weeks X-MFC with: r299840 Sponsored by: EMC / Isilon Storage Division
|
299169 |
06-May-2016 |
ngie |
Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != no
These are bluetooth specific services
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
299163 |
06-May-2016 |
ngie |
Fix r299162
share/man/man8/Makefile: - Add src.opts.mk so MK_NIS can be tested - Fix typo in MK_NIS conditional
tools/build/mk/OptionalObsoleteFiles.inc: - Remove WIP diff from ^/user/ngie/detangle-rc
MFC after: 1 week X-MFC with: r299162 Sponsored by: EMC / Isilon Storage Division
|
299162 |
06-May-2016 |
ngie |
Only install NIS section 8 manpages if MK_NIS != no
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
298881 |
01-May-2016 |
pfg |
tools: minor spelling fixes.
Mostly comments but also some user-visible strings.
MFC after: 2 weeks
|
298122 |
16-Apr-2016 |
bapt |
Complete the Obsoletefiles entries
|
298121 |
16-Apr-2016 |
bapt |
Regenerates locales Makefiles and locales
|
298007 |
14-Apr-2016 |
bdrewery |
Add more content for WITH_META_MODE/WITH_DIRDEPS_BUILD.
Sponsored by: EMC / Isilon Storage Division
|
297941 |
13-Apr-2016 |
bdrewery |
Note the brokenness of WITHOUT_INSTALLLIB.
Sponsored by: EMC / Isilon Storage Division
|
297939 |
13-Apr-2016 |
bdrewery |
The build does work now with WITHOUT_TOOLCHAIN.
The bootstrap cross tools are still built in this mode as well.
Sponsored by: EMC / Isilon Storage Division
|
297844 |
12-Apr-2016 |
bdrewery |
Add some more content for WITH_META_MODE.
Sponsored by: EMC / Isilon Storage Division
|
297843 |
12-Apr-2016 |
bdrewery |
Document the behavior of NO_DIRDEPS/NO_DIRDEPS_BELOW.
Sponsored by: EMC / Isilon Storage Division
|
297436 |
30-Mar-2016 |
bdrewery |
Remove FAST_DEPEND reference missed in r297434.
|
297434 |
31-Mar-2016 |
bdrewery |
Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.
Reviewed by: emaste, hselasky (partial), brooks (brief) Discussed on: arch@ Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5742
|
296889 |
15-Mar-2016 |
imp |
Just install ar5523.bin into /usr/share/firmware and stop compiling it in.
Differential Review: https://reviews.freebsd.org/D5639
|
296669 |
11-Mar-2016 |
bdrewery |
Add a WITHOUT_FAST_DEPEND
|
296417 |
05-Mar-2016 |
dim |
Upgrade our copies of clang, llvm, lldb and compiler-rt to 3.8.0 release.
Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11 support to build; see UPDATING for more information.
Release notes for llvm and clang will soon be available here: <http://llvm.org/releases/3.8.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.8.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste, Roman Divacky, Davide Italiano and Antoine Brodin for their help.
Relnotes: yes
|
296264 |
01-Mar-2016 |
trasz |
Fix section numbers for autofs(5), kbdcontrol(1), vidcontrol(1), quota(1), and telnet(1) in the right place.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
296193 |
29-Feb-2016 |
emaste |
Document that WITHOUT_ELFCOPY_AS_OBJCOPY will be removed
In case ELF Tool Chain's elfcopy introduces any regressions this knob is available as a transition aid. It will be removed once we are confident that any regressions have been fixed.
|
295809 |
19-Feb-2016 |
emaste |
Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain
|
295533 |
11-Feb-2016 |
des |
Remove unbound-contrl-setup since we use a local control socket which does not require keys.
MFC after: 3 days Relnotes: yes
|
295493 |
11-Feb-2016 |
emaste |
Add WITH_GDB src.conf(5) description
|
295491 |
11-Feb-2016 |
emaste |
Add missing src.conf(5) descriptions for tool chain components
Sponsored by: The FreeBSD Foundation
|
295490 |
11-Feb-2016 |
emaste |
Update list of binutils controlled by WITHOUT_BINUTILS_BOOTSTRAP
Tools removed from the list are now provided by the ELF Tool Chain project and are not controlled by the WITHOUT_BINUTILS_BOOTSTRAP knob.
Sponsored by: The FreeBSD Foundation
|
294357 |
19-Jan-2016 |
bdrewery |
Allow specifying an alternative LD_LIBRARY_PATH for the ldd(1) lookup.
This is needed to be able to run check-links.sh against a "sysrooted" binary while ensuring that the ldd(1) call done on the host uses the host libc. It is not possible to set LD_LIBRARY_PATH before calling check-links.sh as then the "sysrooted" libc would be incorrectly used.
A LD_PRELOAD=libc.so is used to ldd(1) as it needs to use the host libc to run. ldd(1) is a simple wrapper around execve(2) and dlopen(2) with env LD_TRACE_LOADED_OBJECTS set. Due to the dlopen(2) restriction on shared library tracing ldd(1) is still required for this lookup.
Sponsored by: EMC / Isilon Storage Division
|
294356 |
19-Jan-2016 |
bdrewery |
Add some documentation.
Sponsored by: EMC / Isilon Storage Division
|
294355 |
19-Jan-2016 |
bdrewery |
Validate that the file exists rather than obscure 'Not an elf file' error.
Sponsored by: EMC / Isilon Storage Division
|
293450 |
09-Jan-2016 |
emaste |
Support use of LLVM's libunwind for exception unwinding
It is built in libgcc_s.so and libgcc_eh.a to simplify transition.
It is enabled by default on arm64 (where we previously had no other unwinder) and may be enabled for testing on other platforms by setting WITH_LLVM_LIBUNWIND in src.conf(5).
Also add compiler-rt's __gcc_personality_v0 implementation for use with the LLVM unwinder.
Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D4787
|
293357 |
07-Jan-2016 |
garga |
Obsolete inetd related files when WITHOUT_INETD is set
Reviewed by: bapt Approved by: gnn MFC after: 1 week Sponsored by: Rubiconn Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D4742
|
292735 |
25-Dec-2015 |
dim |
Upgrade our copies of clang and llvm to 3.7.1 release. This is a bugfix-only release, with no new features.
Please note that from 3.5.0 onwards, clang and llvm require C++11 support to build; see UPDATING for more information.
|
292658 |
23-Dec-2015 |
emaste |
Install ld also as ld.bfd, for use with cc -fuse-ld=bfd
PR: 205409 [exp-run] MFC after: 1 week Relnotes: Yes Sponsored by: The FreeBSD Foundation
|
292355 |
16-Dec-2015 |
emaste |
Remove lldb(1) files if WITHOUT_LLDB is set
Sponsored by: The FreeBSD Foundation
|
292283 |
15-Dec-2015 |
bdrewery |
Correct comment about MAKEOBJDIRPREFIX in src-env.conf.
It may only be used with WITH_AUTO_OBJ, which the WITH_DIRDEPS_BUILD does. We could support this in the normal build as well if we forced creating the directory and setting .OBJDIR.
Sponsored by: EMC / Isilon Storage Division
|
291627 |
02-Dec-2015 |
bdrewery |
Fully connect cddl/usr.sbin/plockstat.
There seems to be no reason to keep this so private.
Also add missing optional MK_CDDL files.
Sponsored by: EMC / Isilon Storage Division
|
291455 |
29-Nov-2015 |
dim |
Install the public sanitizer headers. These are useful for programs that want to directly interface with sanitizer internals.
|
291414 |
28-Nov-2015 |
ume |
Fix breakage by recent collation change. LC_ALL has to be exported.
|
291198 |
23-Nov-2015 |
des |
Retire the NONE cipher option.
|
290945 |
16-Nov-2015 |
bdrewery |
Revert r290944. It was wrong.
|
290944 |
16-Nov-2015 |
bdrewery |
Fix error case for bmake to echo 0.
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
290928 |
16-Nov-2015 |
bapt |
Bring back a couple of ISO8859-15 locales: - af_ZA.ISO8859-15 - en_AU.ISO8859-15 - en_CA.ISO8859-15 - en_NZ.ISO8859-15 - en_US.ISO8859-15 - fr_CA.ISO8859-15
|
290874 |
15-Nov-2015 |
bapt |
Remove trailing spaces at end of lines
|
290873 |
15-Nov-2015 |
bapt |
Update the list of files to be removed in case world is built WITHOUT_LOCALES
|
290817 |
14-Nov-2015 |
sjg |
Regen src.conf.5
|
290816 |
14-Nov-2015 |
sjg |
Rename META_MODE option to DIRDEPS_BUILD
This allows META_FILES option to be renamed META_MODE. Also add META_COOKIE_TOUCH for use in targets that can benefit from a cookie when in meta mode.
Differential Revision: https://reviews.freebsd.org/D4153 Reviewed by: bdrewery
|
290659 |
10-Nov-2015 |
ngie |
- Move ng_bluetooth.4 under MK_BLUETOOTH != no - Move all section 5 bluetooth manpages under MK_BLUETOOTH != no
MFC after: 3 days PR: 193260 Reported by: Philippe Michel <philippe.michel7@sfr.fr> Sponsored by: EMC / Isilon Storage Division
|
290526 |
08-Nov-2015 |
bdrewery |
Add built-in ccache build support via WITH_CCACHE_BUILD option.
ccache is mostly beneficial for frequent builds where -DNO_CLEAN is not used to achieve a safe pseudo-incremental build. This is explained in more detail upstream [1] [2]. It incurs about a 20%-28% hit to populate the cache, but with a full cache saves 30-50% in build times. When combined with the WITH_FAST_DEPEND feature it saves up to 65% since ccache does cache the resulting dependency file, which it does not do when using mkdep(1)/'CC -E'. Stats are provided at the end of this message.
This removes the need to modify /etc/make.conf with the CC:= and CXX:= lines which conflicted with external compiler support [3] (causing the bootstrap compiler to not be built which lead to obscure failures [4]), incorrectly invoked ccache in various stages, required CCACHE_CPP2 to avoid Clang errors with parenthesis, and did not work with META_MODE.
The option name was picked to match the existing option in ports. This feature is available for both in-src and out-of-src builds that use /usr/share/mk.
Linking, assembly compiles, and pre-processing avoid using ccache since it is only overhead. ccache does nothing special in these modes, although there is no harm in calling it for them.
CCACHE_COMPILERCHECK is set to 'content' when using the in-tree bootstrap compiler to hash the content of the compiler binary to determine if it should be a cache miss. For external compilers the 'mtime' option is used as it is more efficient and likely to be correct. Future work may optimize the 'content' check using the same checks as whether a bootstrap compiler is needed to be built.
The CCACHE_CPP2 pessimization is currently default in our devel/ccache port due to Clang requiring it. Clang's -Wparentheses-equality, -Wtautological-compare, and -Wself-assign warnings do not mix well with compiling already-pre-processed code that may have expanded macros that trigger the warnings. GCC has so far not had this issue so it is allowed to disable the CCACHE_CPP2 default in our port.
Sharing a cache between multiple checkouts, or systems, is explained in the ccache manual. Sharing a cache over NFS would likely not be worth it, but syncing cache directories between systems may be useful for an organization. There is also a memcached backend available [5]. Due to using an object directory outside of the source directory though you will need to ensure that both are in the same prefix and all users use the same layout. A possible working layout is as follows: Source: /some/prefix/src1 Source: /some/prefix/src2 Source: /some/prefix/src3 Objdir: /some/prefix/obj Environment: CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj' This will use src*/../obj as the MAKEOBJDIRPREFIX and tells ccache to replace all absolute paths to be relative. Using something like this is required due to -I and -o flags containing both SRC and OBJDIR absolute paths that ccache adds into its hash for the object without CCACHE_BASEDIR.
distcc can be hooked into by setting CCACHE_PREFIX=/usr/local/bin/distcc. I have not personally tested this and assume it will not mix well with using the bootstrap compiler.
The cache from buildworld can be reused in a subdir by first running 'make buildenv' (from r290424).
Note that the cache is currently different depending on whether -j is used or not due to ccache enabling -fdiagnostics-color automatically if stderr is a TTY, which bmake only does if not using -j.
The system I used for testing was: WITNESS Build options: -j20 WITH_LLDB=yes WITH_DEBUG_FILES=yes WITH_CCACHE_BUILD=yes DISK: ZFS 3-way mirror with very slow disks using SSD l2arc/log. The arc was fully populated with src tree files and ccache objects. RAM: 76GiB CPU: Intel(R) Xeon(R) CPU L5520 @2.27GHz 2 package(s) x 4 core(s) x 2 SMT threads = hw.ncpu=16
The WITH_FAST_DEPEND feature was used for comparison here as well to show the dramatic time savings with a full cache.
buildworld: x buildworld-before + buildworld-ccache-empty * buildworld-ccache-full % buildworld-ccache-full-fastdep # buildworld-fastdep +-------------------------------------------------------------------------------+ |% * # +| |% * # +| |% * # xxx +| | |A | | A| | A | |A | | A | +-------------------------------------------------------------------------------+ N Min Max Median Avg Stddev x 3 3744.13 3794.31 3752.25 3763.5633 26.935139 + 3 4519 4525.04 4520.73 4521.59 3.1104823 Difference at 95.0% confidence 758.027 +/- 43.4565 20.1412% +/- 1.15466% (Student's t, pooled s = 19.1726) * 3 1823.08 1827.2 1825.62 1825.3 2.0785572 Difference at 95.0% confidence -1938.26 +/- 43.298 -51.5007% +/- 1.15045% (Student's t, pooled s = 19.1026) % 3 1266.96 1279.37 1270.47 1272.2667 6.3971113 Difference at 95.0% confidence -2491.3 +/- 44.3704 -66.1952% +/- 1.17895% (Student's t, pooled s = 19.5758) # 3 3153.34 3155.16 3154.2 3154.2333 0.91045776 Difference at 95.0% confidence -609.33 +/- 43.1943 -16.1902% +/- 1.1477% (Student's t, pooled s = 19.0569)
buildkernel: x buildkernel-before + buildkernel-ccache-empty * buildkernel-ccache-empty-fastdep % buildkernel-ccache-full # buildkernel-ccache-full-fastdep @ buildkernel-fastdep +-------------------------------------------------------------------------------+ |# @ % * | |# @ % * x + | |# @ % * xx ++| | MA | | MA| | A | | A | |A | | A | +-------------------------------------------------------------------------------+ N Min Max Median Avg Stddev x 3 571.57 573.94 571.79 572.43333 1.3094401 + 3 727.97 731.91 728.06 729.31333 2.2492295 Difference at 95.0% confidence 156.88 +/- 4.17129 27.4058% +/- 0.728695% (Student's t, pooled s = 1.84034) * 3 527.1 528.29 528.08 527.82333 0.63516402 Difference at 95.0% confidence -44.61 +/- 2.33254 -7.79305% +/- 0.407478% (Student's t, pooled s = 1.02909) % 3 400.4 401.05 400.62 400.69 0.3306055 Difference at 95.0% confidence -171.743 +/- 2.16453 -30.0023% +/- 0.378128% (Student's t, pooled s = 0.954969) # 3 201.94 203.34 202.28 202.52 0.73020545 Difference at 95.0% confidence -369.913 +/- 2.40293 -64.6212% +/- 0.419774% (Student's t, pooled s = 1.06015) @ 3 369.12 370.57 369.3 369.66333 0.79033748 Difference at 95.0% confidence -202.77 +/- 2.45131 -35.4225% +/- 0.428227% (Student's t, pooled s = 1.0815)
[1] https://ccache.samba.org/performance.html [2] http://www.mail-archive.com/ccache@lists.samba.org/msg00576.html [3] https://reviews.freebsd.org/D3484 [5] https://github.com/jrosdahl/ccache/pull/30
PR: 182944 [4] MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division Relnotes: yes
|
290494 |
07-Nov-2015 |
bapt |
Improve collation string and locales support
Merge collation support from Illumos and DragonflyBSD.
Locales are now generated with the new localedef(1) tool from CLDR POSIX files. The generated files are now identified as "BSD 1.0" format.
The libc now only read "BSD 1.0" locales definitions, all other version will be set to "C" The localedef(1) tool has been imported from Illumos and modified to use tree(3) instead of the CDDL avl(3) A set of tool created by edwin@ and extended by marino@ for dragonfly has been added to be able to generate locales and the Makefiles from the vanilla CLDR unicode databases + a universal UTF-8 charmap (by marino@) Update the locales to unicode v27 Given our regex(3) does not support multibyte (yet) it has been forced to always use locale C Remove now unused colldef(1) and mklocale(1) Finish implementing the numeric BSD extension for ctypes The number of supported locales has grown from 175 to 250 locales. Among the new locales: 6 Arabic locales (AE EG JO MA QA SA), Different variations of spanish locales. Added new 3 components locales for mn_Cyrl_MN, sr_Cyrl_RS sr_Latn_RS, zh_Hans_CN, zh_Hant_HK and zh_Hant_TW. Some aliases has been for 2 components version when possible.
Thanks: Garrett D'Amore (Illumos) who made sure all his work was done under BSD license!, Edwin Groothuis (edwin@) for the work he made on tools to be able to generate locales definition usable in freebsd sources out of vanilla CLDR definitions, John Marino (DragonflyBSD) who first merge the Illumos work into Dragonfly and spent hours tracking down bugs.
|
290435 |
06-Nov-2015 |
bdrewery |
Don't allow environment-set options to bleed into src.conf.5 generation.
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
290433 |
06-Nov-2015 |
bdrewery |
Add a FAST_DEPEND option, off by default, which speeds up the build significantly.
This speeds up buildworld by 16% on my system and buildkernel by 35%.
Rather than calling mkdep(1), which is just a wrapper around 'cc -E', use the modern -MD -MT -MF flags to gather and generate dependencies during compilation. This flag was introduced in GCC "a long time ago", in GCC 3.0, and is also supported by Clang. (It appears that ICC also supports this but I do not have access to test it). This avoids running the preprocessor *twice* for every build, in both 'make depend' and 'make all'. This is especially noticeable when using ccache since it does not cache preprocessor results from mkdep(1) / 'cc -E', but still speeds up compilation with the -MD flags.
For 'make depend' a tree-walk is still done to ensure that all DPSRCS are generated when expected, and that beforedepend/afterdepend and _EXTRADEPEND are all still respected. In time this may change but for now I've been conservative. The time for a tree-walk with -j combined with SUBDIR_PARALLEL is not significant. For example, it takes about 9 seconds with -j15 to walk all of src/ for 'make depend' now on my system.
A .depend file is still generated with the various rules that apply to the final target, or custom rules. Otherwise there are now per-built-object-file .depend files, such as .depend.filename.o. These are included directly by make rather than populating .depend with a loop and .depend lines, which only added overhead to the now almost-NOP 'make depend' phase.
Before this I experimented with having mkdep(1) called in parallel per-file. While this improved the kernel and lib/libc 'make depend' phase, it resulted in slower build times overall.
The -M flags are removed from CFLAGS when linking since they have no effect.
Enabling this by default, for src or out-of-src, can be done once more testing has been done, such as a ports exp-run, and with more compilers.
The system I used for testing was: WITNESS Build options: -j20 WITH_LLDB=yes WITH_DEBUG_FILES=yes WITH_FAST_DEPEND=yes DISK: ZFS 3-way mirror with very slow disks using SSD l2arc/log. The arc was fully populated with src tree files. RAM: 76GiB CPU: Intel(R) Xeon(R) CPU L5520 @2.27GHz 2 package(s) x 4 core(s) x 2 SMT threads = hw.ncpu=16
buildworld: x buildworld-before + buildworld-fastdep +-------------------------------------------------------------------------------+ |+ | |+ | |+ xx x| | |_MA___|| |A | +-------------------------------------------------------------------------------+ N Min Max Median Avg Stddev x 3 3744.13 3794.31 3752.25 3763.5633 26.935139 + 3 3153.34 3155.16 3154.2 3154.2333 0.91045776 Difference at 95.0% confidence -609.33 +/- 43.1943 -16.1902% +/- 1.1477% (Student's t, pooled s = 19.0569)
buildkernel: x buildkernel-before + buildkernel-fastdep +-------------------------------------------------------------------------------+ |+ x | |++ xx| | A|| |A| | +-------------------------------------------------------------------------------+ N Min Max Median Avg Stddev x 3 571.57 573.94 571.79 572.43333 1.3094401 + 3 369.12 370.57 369.3 369.66333 0.79033748 Difference at 95.0% confidence -202.77 +/- 2.45131 -35.4225% +/- 0.428227% (Student's t, pooled s = 1.0815)
Sponsored by: EMC / Isilon Storage Division MFC after: 3 weeks Relnotes: yes
|
290252 |
02-Nov-2015 |
ngie |
Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptime
The command was checking local/remote system uptime, so rename the script to match its function and to avoid confusion
The controlling variable in /etc/periodic.conf has been renamed from daily_status_rwho_enable to daily_status_uptime_enable.
MFC after: 3 days Reported by: Peter Jeremy <peter@rulingia.com> Relnotes: yes Sponsored by: EMC / Isilon Storage Division
|
290250 |
02-Nov-2015 |
ngie |
Conditionally install (if_)?(otus|rsu).4, otusfw.4, rsufw.4, and urtwn.4 if MK_USB != no
Add the manpages to OptionalObsoleteFiles.inc
As a side-effect, this also fixes installworld with MK_USB == no
X-MFC with: r290128 Sponsored by: EMC / Isilon Storage Division
|
290059 |
27-Oct-2015 |
emaste |
Add WITHOUT_DEBUG_FILES description
|
289903 |
24-Oct-2015 |
ngie |
Add libvmmapi to OptionalObsoleteFiles.inc when MK_BHYVE == no
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
289662 |
20-Oct-2015 |
jmmv |
Handle lib32 files during delete-old* when MK_LIB32=no.
Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is set to no on a system that previously had lib32 libraries installed.
Also, to prevent "make delete-old-dirs" from always deleting lib32 directories after an installworld, move the lib32 subtree to its own mtree file that only gets applied when MK_LIB32=yes.
Test: Ran "make delete-old" and "make delete-old-libs" on a system that never had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later disabled. Did this both on amd64 and powerpc64.
Test: Ran "make tinderbox" without errors.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D3923
|
289275 |
14-Oct-2015 |
emaste |
Add WITHOUT_LLDB for src.conf(5)
It will be enabled by default on certain architectures.
|
288943 |
06-Oct-2015 |
dim |
Upgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.7.0 release.
Please note that from 3.5.0 onwards, clang, llvm and lldb require 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.7.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste, Andrew Turner and Antoine Brodin for their help.
Exp-run: antoine Relnotes: yes
|
288339 |
28-Sep-2015 |
avg |
remove unused sgsmsg utility (originally imported from opensolaris)
MFC after: 25 days
|
288234 |
25-Sep-2015 |
bdrewery |
Add missing binutils ldscripts.
Some of these are after the fix in r288230 to install them.
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
288226 |
25-Sep-2015 |
bdrewery |
META_MODE: Remove DEP_RELDIR from Makefile.depend files.
This has not been needed since r284171 in projects/bmake.
Sponsored by: EMC / Isilon Storage Division
|
288057 |
21-Sep-2015 |
ngie |
Delete /etc/autofs/special_noauto when MK_AUTOFS == no
MFC after: 1 week
|
287973 |
18-Sep-2015 |
bdrewery |
Document NO_DIRDEPS for META_MODE and give link to full details.
|
287942 |
17-Sep-2015 |
bdrewery |
makeman: Fix handling of env-only vars by using SRC_ENV_CONF rather than SRCCONF.
Also note that these env-only vars can be specified on the command line.
This fixes the dependent options that are env-only (such as WITH_META_MODE and WITH_AUTO_OBJ) to properly display their dependencies.
Sponsored by: EMC / Isilon Storage Division
|
287935 |
17-Sep-2015 |
bdrewery |
Optimize makeman slightly by removing uneeded cat and extra test -s.
Sponsored by: EMC / Isilon Storage Division
|
287932 |
17-Sep-2015 |
bdrewery |
src.conf.5: Make it self-documenting that the mkopts are environment-only.
Sponsored by: EMC / Isilon Storage Division
|
287925 |
17-Sep-2015 |
bdrewery |
Document src-env.conf and note its use for MAKEOBJDIRPREFIX and WITH_META_MDOE.
Sponsored by: EMC / Isilon Storage Division
|
287904 |
17-Sep-2015 |
bdrewery |
Document NO_SILENT for META_MODE.
Reword and add some formatting as well.
|
286822 |
16-Aug-2015 |
ngie |
Reap MK_SYSINSTALL
It's no longer in use in the tree (most likely missed when sade/sysinstall were removed)
MFC after: 1 week
|
286745 |
13-Aug-2015 |
antoine |
Stop removing ELF toolchain tools
|
286730 |
13-Aug-2015 |
emaste |
Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN
The option was added only to ease the transition from GNU Binutils to ELF Tool Chain tools, and that process is now complete (for the viable replacements). Noting the removal in UPDATING is sufficient as we have not shipped a release with the option.
Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3240
|
286652 |
12-Aug-2015 |
jmmv |
Mark usr/include/c++/v1/tr1 as obsolete
The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir was not, resulting in a removal error in delete-old.
|
286451 |
08-Aug-2015 |
garga |
Add missing files to sendmail obsolete files list
Approved by: gshapiro MFC after: 3 days Sponsored by: Netgate Differential Revision: https://reviews.freebsd.org/D3302
|
286332 |
05-Aug-2015 |
emaste |
Remove old GNU Binutils tools now provided by ELF Tool Chain
Reviewed by: bapt, brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3238
|
286174 |
02-Aug-2015 |
markj |
Add a src.conf option to build and install the DTrace test suite.
Reviewed by: gnn, ngie Differential Revision: https://reviews.freebsd.org/D3195
|
286044 |
29-Jul-2015 |
emaste |
MK_ELFCOPY_AS_OBJCOPY should be a variable
PR: 201978 Submitted by: O. Hartmann Differential Revision: https://reviews.freebsd.org/D2887
|
286036 |
29-Jul-2015 |
emaste |
Remove mention of non-existent gconv tool
I believe this is a typo of gcov, but gcov is not controlled by WITHOUT_BINUTILS anyhow.
Sponsored by: The FreeBSD Foundation
|
286030 |
29-Jul-2015 |
emaste |
Allow ELF Tool Chain elfcopy to be installed as objcopy
ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy, but does not currently support PE output which is needed for building x86 UEFI bits.
Add a src.conf knob to allow installing it as objcopy and set it by default for aarch64 only, where we don't have a native binutils.
Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2887
|
286029 |
29-Jul-2015 |
emaste |
Update OLD_FILES for tools provided by ELF Tool Chain or Binutils
Sponsored by: The FreeBSD Foundation
|
286016 |
29-Jul-2015 |
emaste |
Include c++filt and readelf in WITHOUT_ELFTOOLCHAIN_TOOLS
|
285890 |
26-Jul-2015 |
bapt |
Replace GNU RCS ident with a BSD license ident
Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and failing when base is built WITHOUT_RCS.
This version is: - fully compatible with RCS 5.7 ident. - fully compatible with RCS 5.9 ident. - passes all ident test from GNU RCS 5.9 test suite
This version has support for: svn extension for the Keyword id (double colon and # before last $)
Différences with GNU RCS ident: - no long options as found in GNU RCS 5.9 (but not commented there). - '-V' reports nothing but has been added for compatibility.
Differential Revision: https://reviews.freebsd.org/D3200 Reviewed by: pfg
|
285617 |
16-Jul-2015 |
ache |
Comment out usr/sbin/mailwrapper removal because for no mailwrapper case we have: /usr/sbin/sendmail -> /usr/sbin/mailwrapper /usr/sbin/mailwrapper -> /usr/libexec/sendmail/sendmail Add comment explaining it.
|
284708 |
22-Jun-2015 |
sjg |
Fix generation of src.conf.5
Since makeman turns all options on, we need to guard somethings from make(showconfig)
|
284703 |
22-Jun-2015 |
emaste |
Report failing value from 'make showconfig' in build option script
Sponsored by: The FreeBSD Foundation
|
284635 |
20-Jun-2015 |
antoine |
Add more obsolete files
|
284628 |
20-Jun-2015 |
antoine |
Add some files to remove when MK_BSD_GREP=no
|
284538 |
18-Jun-2015 |
bapt |
The build and installation of rmail(8) is only related to the SENDMAIL option
|
284537 |
18-Jun-2015 |
bapt |
Do not remove mailwrapper(8) in case WITHOUT_SENDMAIL is used
It is required for other tools in base and/or ports like dma(8) or any MTA available in ports. It is also build and installed anyway even if world is built WITHOUT_SENDMAIL
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796 Reviewed by: brooks imp
|
283777 |
30-May-2015 |
bapt |
Switch to mandoc's version of makewhatis(8), whatis(1), apropos(1) utilities.
This change among other things improve search capabilities over the manpages allowing fine grain query.
A new build option WITHOUT_MANDOCDB has been added to keep the ancient version of the database and the tools. The plan is to entirely remove this option before 11.0-RELEASE.
Differential Revision: https://reviews.freebsd.org/D2603
|
283526 |
25-May-2015 |
dim |
Upgrade our copy of clang and llvm to 3.6.1 release.
This release contains the following cherry-picked revisions from upstream trunk:
226124 226151 226164 226165 226166 226407 226408 226409 226652 226905 226983 227084 227087 227089 227208 227209 227210 227211 227212 227213 227214 227269 227430 227482 227503 227519 227574 227822 227986 227987 227988 227989 227990 228037 228038 228039 228040 228188 228189 228190 228273 228372 228373 228374 228403 228765 228848 228918 229223 229225 229226 229227 229228 229230 229234 229235 229236 229238 229239 229413 229507 229680 229750 229751 229752 229911 230146 230147 230235 230253 230255 230469 230500 230564 230603 230657 230742 230748 230956 231219 231237 231245 231259 231280 231451 231563 231601 231658 231659 231662 231984 231986 232046 232085 232142 232176 232179 232189 232382 232386 232389 232425 232438 232443 232675 232786 232797 232943 232957 233075 233080 233351 233353 233409 233410 233508 233584 233819 233904 234629 234636 234891 234975 234977 235524 235641 235662 235931 236099 236306 236307
Please note that from 3.5.0 onwards, clang and llvm require C++11 support to build; see UPDATING for more information.
|
283247 |
21-May-2015 |
bapt |
Mark libgomp.so.1 as an old lib not an old file
|
283143 |
20-May-2015 |
ngie |
Remove usr/share/dtrace/{tcpconn,tcpstate,tcptrack,udptrack} if MK_CDDL == no
Sponsored by: EMC / Isilon Storage Division
|
283060 |
18-May-2015 |
emaste |
Build libgcov only if we're building base system GCC
Clang uses compiler-rt for the code coverage runtime, and ports GCC provides its own libgcov.
PR: 200203 (exp-run) Sponsored by: The FreeBSD Foundation
|
282994 |
15-May-2015 |
dim |
Provide reallocarray() in -legacy, if needed, to allow building head on previous releases.
Also add a stdlib.h wrapper, which declares the function, otherwise the compiler may assume it returns int, which can cause segfaults on LP64 architectures.
Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D2558
|
282973 |
15-May-2015 |
emaste |
Build libgomp only if we're also building base system GCC
Clang's OpenMP support will emit Intel OpenMP API library calls, and will therefore require libiomp (or whatever name is settled on). An up-to-date version of libgomp is included in ports or pkg GCC. Thus, there is no reason to build base libgomp without base system GCC.
PR: 199979 (exp-run) Reviewed by: pfg Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2459
|
282549 |
06-May-2015 |
emaste |
Fix make delete-old for gperf and GCC/CXX options
- Optional components go in OptionalObsoleteFiles - Move gperf removal to be based on MK_GCC only, not MK_CXX and MK_GCC
Reviewed by: imp, sbruno Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2421
|
282318 |
01-May-2015 |
bapt |
Replace groff's soelim by soeliminate(1) renamed soelim(1)
|
282303 |
01-May-2015 |
emaste |
OptionalObsoleteFiles: don't remove c++filt when using ELF Tool Chain
c++filt is listed here twice, for MK_CXX == no and MK_GCC == no, but r282285 only caught one of them.
|
282295 |
01-May-2015 |
bdrewery |
Add a -v to tell where each symbol is resolved from.
Sponsored by: EMC / Isilon Storage Division
|
282294 |
01-May-2015 |
bdrewery |
Fix a comment
|
282285 |
30-Apr-2015 |
emaste |
Add ELF Tool Chain's c++filt to the build
Differential Revision: https://reviews.freebsd.org/D2408 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation
|
281814 |
21-Apr-2015 |
bdrewery |
Tweak BSS symbol handling from r281811 to not consider them unresolved
|
281813 |
21-Apr-2015 |
bdrewery |
Support libraries linked by path.
Sponsored by: EMC / Isilon Storage Division
|
281811 |
21-Apr-2015 |
bdrewery |
- For executables search for matching (B) global uninitialized BSS symbols from linked libraries. Only do this for BSS symbols that have a size which avoids __bss_start. Without this some libraries would be considered unneeded even though they were providing a B symbol. - Add in the symbols from crt1.o to cover a handful of common unresolved symbols. - Consider (C) common data symbols as provided by libraries/crt1. - Move libkey() function to more appropriate place.
Sponsored by: EMC / Isilon Storage Division
|
281810 |
21-Apr-2015 |
bdrewery |
Revert r281805 for now as it breaks due to spaces in output
|
281808 |
21-Apr-2015 |
bdrewery |
Pass full path to ldd(1) so it works on files in cwd.
|
281805 |
21-Apr-2015 |
bdrewery |
Support demangling C++ symbols with -D flag.
Sponsored by: EMC / Isilon Storage Division
|
281791 |
20-Apr-2015 |
bdrewery |
- Speedup significantly by not using subshells for data already fetched. Ran against /usr/local/sbin/pkg: Before: 25.12 real 12.41 user 33.14 sys After: 0.53 real 0.49 user 0.13 sys - Exit with 1 if any missing or unresolved symbol is detected. - Add option '-U' to skip looking up unresolved symbols. - Don't consider provided weak objects as unresolved (nm V).
Sponsored by: EMC / Isilon Storage Division
|
281790 |
20-Apr-2015 |
bdrewery |
Fix indentation to use tabs
|
281714 |
18-Apr-2015 |
kib |
The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and pwrite(2) syscalls are wrapped to provide compatibility with pre-7.x kernels which required padding before the off_t parameter. The fcntl(2) contains compatibility code to handle kernels before the struct flock was changed during the 8.x CURRENT development. The shims were reasonable to allow easier revert to the older kernel at that time.
Now, two or three major releases later, shims do not serve any purpose. Such old kernels cannot handle current libc, so revert the compatibility code.
Make padded syscalls support conditional under the COMPAT6 config option. For COMPAT32, the syscalls were under COMPAT6 already.
Remove WITHOUT_SYSCALL_COMPAT build option, which only purpose was to (partially) disable the removed shims.
Reviewed by: jhb, imp (previous versions) Discussed with: peter Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
281343 |
09-Apr-2015 |
bdrewery |
- 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
|
281053 |
03-Apr-2015 |
bdrewery |
Remove specific reference to g++(1) for WITH_CXX as it may be clang.
MFC after: 1 week
|
280890 |
31-Mar-2015 |
amdmi3 |
- Remove more files when MK_ZONEINFO == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
280889 |
31-Mar-2015 |
amdmi3 |
- Remove more files when MK_TESTS_SUPPORT == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
280888 |
31-Mar-2015 |
amdmi3 |
- Remove more files when MK_LEGACY_CONSOLE == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
280887 |
31-Mar-2015 |
amdmi3 |
- Remove more files when MK_KERBEROS_SUPPORT == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
280886 |
31-Mar-2015 |
amdmi3 |
- Remove more files when MK_KDUMP == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
280885 |
31-Mar-2015 |
amdmi3 |
- Remove more files when MK_JAIL == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
280883 |
31-Mar-2015 |
amdmi3 |
- Remove more files when MK_CASPER == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
280852 |
30-Mar-2015 |
amdmi3 |
- Remove more files when MK_INET6 == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
280851 |
30-Mar-2015 |
amdmi3 |
- Remove more files when MK_FORTH == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
280031 |
15-Mar-2015 |
dim |
Upgrade our copy of clang, llvm and lldb to 3.6.0 release.
Please note that from 3.5.0 onwards, clang/llvm/lldb require 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.6.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.6.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste for the lldb part of this upgrade.
Exp-run: antoine
|
279552 |
02-Mar-2015 |
bapt |
Remove gperf(7) if gperf is not installed
|
279529 |
02-Mar-2015 |
bapt |
Install manpage version of texinfo documentation for binutils
|
279150 |
22-Feb-2015 |
cperciva |
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.
|
278616 |
12-Feb-2015 |
cperciva |
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)
|
278202 |
04-Feb-2015 |
ngie |
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
|
278193 |
04-Feb-2015 |
ngie |
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
|
278192 |
04-Feb-2015 |
ngie |
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
|
278182 |
04-Feb-2015 |
ngie |
Conditionalize building radius support into libpam, ppp, etc via MK_RADIUS_SUPPORT
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
278135 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_USB == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278134 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_UNBOUND == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278133 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_TEXTPROC == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278132 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_TESTS == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278131 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_TCSH == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278130 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_SYSCONS == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278129 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_SSP == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278128 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_QUOTAS == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278127 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_PORTSNAP == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278126 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_PMC == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278121 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_PF == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278120 |
03-Feb-2015 |
amdmi3 |
- Remove more files when MK_OPENSSH == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278095 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_NTP == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278094 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_NS_CACHING == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278093 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_NLS_CATALOGS == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278092 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_NLS == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278091 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_NETGRAPH_SUPPORT == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278090 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_NETGRAPH == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278089 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_MAN_UTILS == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278088 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_MAN == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278087 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_MAKE == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278086 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_MAIL == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278085 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_LOCALES == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278084 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_LIBCPLUSPLUS == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278083 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_HTML == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278082 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_GROFF == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278049 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_GPIO == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278048 |
02-Feb-2015 |
amdmi3 |
- 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
|
278047 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_BSNMP == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278046 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_BSD_CPIO == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278045 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_BOOT == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278044 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_BLUETOOTH == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
278043 |
02-Feb-2015 |
amdmi3 |
- Remove more files when MK_BINUTILS == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
|
277741 |
26-Jan-2015 |
ngie |
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
|
277740 |
26-Jan-2015 |
ngie |
Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277739 |
26-Jan-2015 |
ngie |
Honor MK_JAIL with etc/rc.d/jail
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277738 |
26-Jan-2015 |
ngie |
Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277737 |
26-Jan-2015 |
ngie |
Honor MK_ACCT with etc/pam.d/atrun
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277736 |
26-Jan-2015 |
ngie |
Honor MK_ACCT with etc/rc.d/accounting
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277733 |
26-Jan-2015 |
ngie |
Honor MK_AMD with etc/rc.d/amd
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277732 |
26-Jan-2015 |
ngie |
Honor MK_API in etc/rc.d
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277731 |
26-Jan-2015 |
ngie |
Honor MK_LPR with etc/rc.d/lpd
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277730 |
26-Jan-2015 |
ngie |
Honor MK_ACPI in etc/devd and etc/rc.d
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277728 |
26-Jan-2015 |
ngie |
Add MK_AUTOFS knob for building and installing autofs(4), et al
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277727 |
26-Jan-2015 |
ngie |
Add MK_BHYVE knob for building and installing bhyve(4), et al
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277725 |
26-Jan-2015 |
ngie |
Add MK_HAST knob for building and installing hastd(8), et al
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277688 |
25-Jan-2015 |
ngie |
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
|
277687 |
25-Jan-2015 |
ngie |
Fill in entries for MK_BSNMP == no
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277685 |
25-Jan-2015 |
ngie |
Fill in some dtrace entries when MK_CDDL == no
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277683 |
25-Jan-2015 |
ngie |
Fill in entries for MK_CUSE == no
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
277678 |
25-Jan-2015 |
ngie |
Add MK_CCD knob for building and installing ccd(4), ccdconfig, etc
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277677 |
25-Jan-2015 |
ngie |
Add MK_BSDINSTALL knob for building and installing bsdinstall
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277676 |
25-Jan-2015 |
ngie |
Add MK_TALK knob for building the talk and talkd
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277675 |
25-Jan-2015 |
ngie |
Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel modules, etc
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277663 |
25-Jan-2015 |
ngie |
Add MK_EE knob to control installing edit, ee, etc
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
277320 |
18-Jan-2015 |
dim |
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
|
277146 |
13-Jan-2015 |
dim |
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
|
276945 |
10-Jan-2015 |
dim |
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>
|
276796 |
07-Jan-2015 |
emaste |
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
|
276559 |
02-Jan-2015 |
bapt |
Fix typo
|
276551 |
02-Jan-2015 |
bapt |
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
|
276479 |
31-Dec-2014 |
dim |
Upgrade our copy of clang, llvm and lldb to 3.5.0 release.
Please note that this version now 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.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste, Roman Divacky, Andrew Turner, Justin Hibbits and Antoine Brodin for their invaluable help with this import.
Approved by: portmgr (antoine) MFC after: 1 month
|
276214 |
25-Dec-2014 |
phk |
Deorbit the IEEE-488/GPIB support.
|
275907 |
18-Dec-2014 |
ngie |
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
|
275388 |
02-Dec-2014 |
emaste |
Add elfcopy and man page to OptionalObsoleteFiles
|
275373 |
01-Dec-2014 |
emaste |
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
|
275138 |
26-Nov-2014 |
gjb |
Whitespace cleanup to fix rendering nits in src.conf(5).
Sponsored by: The FreeBSD Foundation
|
274930 |
23-Nov-2014 |
bapt |
Install mdoc(7) and man(7) from mdoc instead of the one from groff
|
274665 |
18-Nov-2014 |
imp |
Document WITHOUT_USB_EXAMPLES and WITHOUT_TESTS_SUPPORT
Sponsored by: Netflix
|
274664 |
18-Nov-2014 |
imp |
LIB32 is supported for powerpc64 too. Make the note more general about 64-bit processors.
Sponsored by: Netflix
|
274662 |
18-Nov-2014 |
imp |
Acutally, replaces NO_INCS with WITHOUT_INCLUDES and make WITHOUT_TOOLCHAIN imply it instead.
Sponsored by: Netflix
|
274331 |
09-Nov-2014 |
melifaro |
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@
|
274199 |
06-Nov-2014 |
bapt |
Add a quick and dirty script to check validity of links in elf files
|
274016 |
03-Nov-2014 |
ngie |
Integrate pjdfstest test suite execution into kyua
pjdfstest execution is opt-in and must be done as root due to some of the assumptions made by the test suite and lack of error checking in the non-root case
A description of how to execute pjdfstest with kyua is provided in share/pjdfstest/README
Phabric: D824 (an earlier prototype patch) MFC after: 1 month Relnotes: yes Sponsored by: EMC / Isilon Storage Division
|
273929 |
01-Nov-2014 |
jmmv |
MFV: Import atf-0.21.
|
273747 |
27-Oct-2014 |
delphij |
Remove an extra copy of hv_kvp_daemon(8) [1].
While I'm there also correct typos in OptionalObsoleteFiles and add information of the command line options for hv_kvp_daemon(8).
Reported by: jmg [1] Reviewed by: jmg MFC after: 2 weeks
|
273421 |
21-Oct-2014 |
emaste |
Fix typo in src option description
|
273177 |
16-Oct-2014 |
skreuzer |
Correct two typos
PR: 194350 Submitted by: jiashiun@gmail.com Approved by: hrs (mentor)
|
273172 |
16-Oct-2014 |
brooks |
Document that WITHOUT_TOOLCHAIN causes headers to not be installed, not just programs.
|
273171 |
16-Oct-2014 |
brooks |
Per r273155, HYPERV is built by default on platforms where it makes sense and ignored on others.
|
273170 |
16-Oct-2014 |
brooks |
MK_ARB_EABI was removed in r272350 so remove the documentation.
|
272849 |
09-Oct-2014 |
emaste |
Build gperf only if we're using g++ (not clang++)
gperf is used as a build tool for g++ and is not needed for Clang architectures. Ports and third-party software that need it can use the up-to-date devel/gperf port.
PR: 194103 (exp-run) Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D886
|
272043 |
23-Sep-2014 |
ngie |
Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes
Sponsored by: EMC / Isilon Storage Division
|
271895 |
20-Sep-2014 |
ngie |
Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
271893 |
20-Sep-2014 |
ngie |
Don't install /etc/rc.d/rwho unless MK_RCMDS == yes
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
271696 |
17-Sep-2014 |
delphij |
Use a devd event to start hv_kvpd instead of doing so in rc.d script. This is cleaner and eliminates the unneeded startup of KVP daemon on systems that do not run as a Hyper-V guest.
Submitted by: hrs X-MFC-with: 271493, 271688, 271699
|
271493 |
13-Sep-2014 |
delphij |
Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, many thanks for their continued support of FreeBSD.
While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary.
The HyperV utilities are only built for i386 and amd64 targets.
This is a stable/10 candidate for inclusion with 10.1-RELEASE.
Submitted by: Wei Hu <weh microsoft com> MFC after: 1 week
|
271401 |
10-Sep-2014 |
asomers |
Conditionalize build of etcupdate(8) on MK_RCS. Since etcupdate calls merge(1), which is part of the RCS package, it must not be installed if WITHOUT_RCS update is set. Otherwise, it will produce confusing errors.
CR: https://reviews.freebsd.org/D691 MFC after: 1 week Sponsored by: Spectra Logic
|
270190 |
20-Aug-2014 |
ian |
Don't stop other legs of a parallel build due to a failure in make_check. The whole point is to see if there's any failure, which is handled by building a newer version of make.
|
270171 |
19-Aug-2014 |
hselasky |
Add missing WITHOUT_CUSE file.
|
270168 |
19-Aug-2014 |
bdrewery |
Revert r267233 for now. PIE support needs to be reworked.
1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed.
We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled.
Reported by: kib
|
270028 |
15-Aug-2014 |
ngie |
Make the USB and ZFS devd configuration files optional depending on the values of MK_USB/MK_ZFS
Making zfs.conf optional resolves PR # 186971
PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
|
269903 |
13-Aug-2014 |
ngie |
Port date/bin/tests to ATF
Phabric: D545 Approved by: jmmv (mentor) Submitted by: keramida (earlier version) MFC after: 2 weeks Sponsored by: Google, Inc Sponsored by: EMC / Isilon Storage Division
|
269902 |
13-Aug-2014 |
ngie |
Convert bin/sh/tests to ATF
The new code uses a "test discovery mechanism" to determine what tests are available for execution
The test shell can be specified via:
kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh
Sponsored by: EMC / Isilon Storage Division Approved by: jmmv (mentor) Reviewed by: jilles (maintainer)
|
269884 |
12-Aug-2014 |
ngie |
Complete the usr.bin/yacc kyua integration work I originally submitted via r268811
- Install the Kyuafile by adding FILES to FILESGROUPS - Run the testcases with an unprivileged user
Some of the testcases depend upon behavior that's broken when run as root on FreeBSD because of how permissions are treated with access(2) vs eaccess(2), open(2), etc
- Simplify the test driver to just inspect the exit code from run_test because it now exits with 0 if successful and exits with !0 if unsuccessful - Don't do ad hoc temporary directory creation/deletion; let Kyua handle that - Add entries for files removed in r268811 to OptionalObsoleteFiles.inc
PR: 191020 X-MFC with: r268811 Approved by: jmmv (mentor) Reviewed by: bapt Sponsored by: EMC / Isilon Storage Division
|
269084 |
25-Jul-2014 |
jmmv |
Fix structure of new tests (r268794) for usr.bin/units.
- Make sure the tests go into the right directory. The location was wrong so they were overwriting the bin/chown tests! - Use the right naming scheme for the test program. - Remove the svn:executable property from the shell script.
|
268820 |
17-Jul-2014 |
bapt |
Fix manpages path and sort entries
|
268819 |
17-Jul-2014 |
bapt |
Remove texinfo manpages as well if built WITHOUT_INFO
|
268778 |
16-Jul-2014 |
jmmv |
Enable MK_TESTS by default, take 2.
This is a redo of r267424, which was reverted in r267432 because it broke "make buildworld" from FreeBSD 9.x. This issue has been resolved and this change is still "make tinderbox" clean.
|
268496 |
10-Jul-2014 |
bapt |
The GNU texinfo and GNU info pages are not built and installed anymore, WITH_INFO knob has been added to allow to built and install them again.
Reviewed by: imp
|
268461 |
09-Jul-2014 |
bapt |
The GNU readline library is now an INTERNALLIB - that is, it is statically linked into consumers (GDB and variants) in the base system, and the shared library is no longer installed.
That also allows ports to be able to use a modern version of readline
PR: 162948 Reviewed by: emaste
|
268429 |
08-Jul-2014 |
jilles |
Don't install locale1.0 if MK_NLS == no.
The test locale1.0 depends on locale support; it is meaningless without a working LC_MESSAGES.
I added an OptionalObsoleteFiles.inc entry.
PR: 181151 Submitted by: Garrett Cooper (original version) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
268351 |
07-Jul-2014 |
marcel |
Remove ia64.
This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation
This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h
Discussed at: BSDcan
|
268135 |
02-Jul-2014 |
eadler |
Add documentation for svnlite.
PR: 191544 Reported by: eric Reviewed by: imp MFC After: 1 week
|
268064 |
30-Jun-2014 |
bapt |
Activate the condition for WITHOUT_INFO
Submitted by: antoine
|
268063 |
30-Jun-2014 |
bapt |
fill in the list of obsolete files when base is built with WITHOUT_INFO
|
268022 |
30-Jun-2014 |
emaste |
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
|
267582 |
17-Jun-2014 |
emaste |
share/vt now also includes keymaps
|
267441 |
13-Jun-2014 |
tijl |
Don't install GSS-API headers when the GSSAPI option has been disabled. Some ports assume GSS-API is supported when they find the headers.
PR: 189156 Submitted by: Garrett Cooper <yanegomi@gmail.com>
|
267432 |
13-Jun-2014 |
gjb |
Revert r267424 and r267425: More exploration will be needed in order to silence the tinderbox mails caused by setting WITH_TESTS=1 by default.
Ref: http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full With hat: re
|
267424 |
12-Jun-2014 |
jmmv |
Enable MK_TESTS by default.
This was never intended to be off by default but was done this way because the initial patches broke the build. Things seem stable now (have been so for a while too) and "make tinderbox" is clean so let's try again.
Announced in freebsd-current; all reported shortcomings have been addressed.
|
267233 |
08-Jun-2014 |
bdrewery |
In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.
This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR.
Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2]
Mark known build failures as NO_PIE for now.
The only known runtime failure was rtld.
[1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
|
267181 |
06-Jun-2014 |
jmmv |
Move atf-sh from /usr/bin/ to /usr/libexec/
In r266650, we made libatf-c and libatf-c++ private libraries so that no components outside of the source tree could unintendedly depend on them.
This change does the same for the "atf-sh library" by moving the atf-sh interpreter from its public location in /usr/bin/ to the private location in /usr/libexec/. Our build system will ensure that our own test programs use the right binary, but users won't be able to depend on atf-sh by "mistake".
Committing this now to ride the UPDATING notice added with r267172 today.
|
267172 |
06-Jun-2014 |
jmmv |
Homogenize libatf-* version numbers with upstream.
The libatf-* major version numbers in FreeBSD were one version ahead of upstream because, when atf was first imported into FreeBSD, the upstream numbers were not respected. This is just confusing and bound to cause problems down the road.
Fix this by taking advantage of the fact that libatf-* are now private and that atf is not yet built by default. However, and unfortunately, a clean build is needed for tests to continue working once "make delete-old-libs" has been run; hence the note in UPDATING.
|
267124 |
05-Jun-2014 |
emaste |
Install VT support files
They can be disabled by setting WITHOUT_VT_SUPPORT=yes in src.conf.
Sponsored by: The FreeBSD Foundation
|
267033 |
03-Jun-2014 |
jmmv |
Merge (unused) documentation of WITHOUT_TESTS into WITH_TESTS.
The description of WITH/WITHOUT tweaks should only document the non-default option. TESTS still defaults to no, so the option to be documented is WITH_TESTS.
|
266752 |
27-May-2014 |
gjb |
Remove empty lines that cause mdoc warnings.
Sponsored by: The FreeBSD Foundation
|
266650 |
25-May-2014 |
jmmv |
Change libatf-c and libatf-c++ to be private libraries.
We should not be leaking these interfaces to the outside world given that it's much easier for third-party components to use the devel/atf package from ports.
As a side-effect, we can also drop the ATF pkgconfig and aclocal files from the base system. Nothing in the base system needs these, and it was quite ugly to have to get them installed only so that a few ports could build. The offending ports have been fixed to depend on devel/atf explicitly.
Reviewed by: bapt
|
266158 |
15-May-2014 |
brooks |
Remove documention of WITHOUT_NCURSES removed in r266157.
Remove a bit of whitespace from WITHOUT_BINUTILS.
Catch up with a bunch of other commits to tools/build/options that weren't merged to src.conf.5.
|
265933 |
12-May-2014 |
jmmv |
Fix delete-old when WITH_TESTS is set.
r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional in OptionalObsoleteFiles.inc that inspected MK_BMAKE.
|
265925 |
12-May-2014 |
dim |
Upgrade our copy of llvm/clang to 3.4.1 release. This release contains mostly fixes, for the following upstream bugs:
http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000 http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165 http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316 http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515 http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762 http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994 http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033 http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326
MFC after: 2 weeks
|
265838 |
10-May-2014 |
imp |
Move DOCCOMPRESS to MK variable.
|
265830 |
10-May-2014 |
imp |
Migrate NO_WARN to MK_WARN. Support legacy NO_WARN usage. Remove a check for EARLY_BUILD because it isn't necessary (MK_WARN=no will always be defined for that).
|
265828 |
10-May-2014 |
imp |
Optionally allow building the historical FreeBSD make program and install it as fmake. This defaults to no. This should be viewed as the first step towards evental migration of this historic code to ports and removal from the tree.
|
265826 |
10-May-2014 |
imp |
Document WITHOUT_SYSCALL_COMPAT and WITHOUT_GNU_GREP_COMPAT.
|
264903 |
24-Apr-2014 |
imp |
Add option WITHOUT_VI to not build/install vi. vi was the largest binary without a knob to turn it off.
|
264902 |
24-Apr-2014 |
imp |
Use MK_OPENLDAP in preference to WITH_OPENLDAP and make it a default NO option to match the opt-in nature of the historical nature of this option.
|
264660 |
18-Apr-2014 |
imp |
Separate out enabling building clang and/or gcc for the system and building clang and/or gcc as the bootstrap compiler. Normally, the default compiler is used. WITH_CLANG_BOOTSTRAP and/or WITH_GCC_BOOTSTRAP will enable building these compilers as part bootstrap phase. WITH/WITHOUT_CLANG_IS_CC controls which compiler is used by default for the bootstrap phase, as well as which compiler is installed as cc. buildworld now successfully completes building the cross compiler with WITHOUT_CLANG=t and WITHOUT_GCC=t and produces a built system with neither of these included.
Similarlly, MK_BINUTILS_BOOTSTRAP controls whether binutils is built during this phase.
WITHOUT_CROSS_COMPILER will now force MK_BINUTILS_BOOTSTRAP=no, MK_CLANG_BOOTSTRAP=no and MK_GCC_BOOTSTRAP=no.
BOOTSTRAP_COMPILER was considered, but rejected, since pc98 needs both clang and gcc to bootstrap still. It should be revisisted in the future if this requirement goes away. Values should be gcc, clang or none. It could also be a list.
The odd interaction with Xfoo cross/external tools needs work, but is beyond the scope of this change as well.
|
264654 |
18-Apr-2014 |
imp |
Don't build EISA by default anymore. Remove from i386 GENERIC and create an option that defaults to "no" on all platforms to not build the EISA bits.
Discussed on: arch@
|
264515 |
15-Apr-2014 |
imp |
Document WITHOUT_GPL_DTC too.
|
264408 |
13-Apr-2014 |
jmmv |
Fix test suite name in src.conf(5).
There is no such thing as the "Kyua test suite"; it is the "FreeBSD Test Suite".
While doing this, point readers to tests(7).
|
264398 |
13-Apr-2014 |
imp |
Check the right file for pwcache_groupdb.
|
264396 |
13-Apr-2014 |
imp |
Up the minimum system to build FreeBSD current to 8.0-RELEASE. The issues with vendors that needed 7.x support have been resolved. Many vendors are still using 8.x build platforms, however, so bumping this up to 9.0 will have to wait until that is resolved. Actual support for building from 8.x still relies on those vendors fixing bugs that are present as most developers have moved onto 9.x or newer platforms.
Reviewed by: marcel@
|
264158 |
05-Apr-2014 |
imp |
Document upcoming build option WITH_SORT_THREADS
|
263346 |
19-Mar-2014 |
jmmv |
Migrate tools/regression/usr.bin/make/ to the new tests layout.
Note that these tests are for fmake, not bmake, and thus they are not installed nor run when bmake is selected (the default). Yes, I have wasted a *ton* of time on moving tests for no real reason other than ensuring they are not left behind.
But maybe, just maybe, it was not work in vain: the majority of these tests also work with bmake and the few that don't may point at broken stuff. For example, the tests for the "archive" feature do not work with bmake, but bmake's manpage and source tree seem to imply that they should. So... to be investigated later; need to poke sjg@.
|
263140 |
14-Mar-2014 |
glebius |
Remove IPX support.
IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011.
Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
|
263089 |
12-Mar-2014 |
jmmv |
Fix description of WITHOUT_BMAKE's purpose.
This variable exists to select fmake, not bmake. (I suspect the comment might have come from a time when this was named WITH_BMAKE.)
|
262976 |
10-Mar-2014 |
bapt |
Add a mailer.conf example to use dma
|
262335 |
22-Feb-2014 |
bapt |
Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion
Requested by: ian
|
262282 |
21-Feb-2014 |
bapt |
Import Dragonfly Mail Agent into base system
It is a small and lightweight Mail Transport Agent. It accepts mails from locally installed Mail User Agents (MUA) and delivers the mails either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support, SMTP authentication and NULLCLIENT.
Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL
Reviewed by: peter Discussed with: emaste, bz, peter
|
261991 |
16-Feb-2014 |
dim |
Upgrade our copy of llvm/clang to 3.4 release. This version supports all of the features in the current working draft of the upcoming C++ standard, provisionally named C++1y.
The code generator's performance is greatly increased, and the loop auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The PowerPC backend has made several major improvements to code generation quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ backends have all seen major feature work.
Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.4/docs/ReleaseNotes.html> <http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>
MFC after: 1 month
|
261897 |
14-Feb-2014 |
jmmv |
MFV: Import atf-0.20.
|
261521 |
05-Feb-2014 |
antoine |
Add files to remove WITHOUT_NIS
PR: 186412
|
261300 |
30-Jan-2014 |
brooks |
Add file missed in r261296.
MFC after: 4 weeks Sponsored by: DARPA, AFRL
|
261299 |
30-Jan-2014 |
brooks |
Merge from CheriBSD: commit 2d581e8caf79d7a0f5a24590eccd06da90cccb74 Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Mon Jan 27 22:57:51 2014 +0000
Add WITHOUT_FMTREE to disable building fmtree.
MFC after: 4 weeks Sponsored by: DARPA, AFRL
|
261297 |
30-Jan-2014 |
brooks |
Merge from CheriBSD: commit 6b569451b92c48ccf1768da32e7e89189e1aa253 Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Mon Jan 27 22:50:46 2014 +0000
Always install nmtree as mtree. For compability, link mtree to nmtree.
X-MFC after: never Sponsored by: DARPA, AFRL
|
261283 |
30-Jan-2014 |
dim |
Import libc++ 3.4 release. This contains a lot of bugfixes, and some preliminary support for C++1y.
MFC after: 3 weeks
|
261072 |
23-Jan-2014 |
skreuzer |
Remove WITHOUT_ATF as it has been replaced by WITH_TESTS
PR: conf/185326 Reported by: Igor Mozolevsky <igor@hybrid-lab.co.uk> Approved by: hrs (mentor)
|
260525 |
10-Jan-2014 |
jmmv |
Respect the original layout of the atf-{c,c++} tests.
Put test programs for internal modules into a 'detail' subdirectory of the libatf-c and libatf-c++ test directories, just as the upstream distribution does. This is necessary because the tests assume such layout to find the process_helper program, and currently fail because of this divergence.
MFC after: 1 week
|
259683 |
21-Dec-2013 |
gjb |
Honor WITHOUT_CASPER.
Sponsored by: The FreeBSD Foundation
|
258924 |
04-Dec-2013 |
bdrewery |
Add missing period for WITHOUT_PKGBOOTSTRAP so that it matches all other entries.
Approved by: bapt MFC after: 3 days
|
258838 |
02-Dec-2013 |
pjd |
Please welcome casperd daemon. It (and its services) will be responsible for giving access to functionality that is not available in capability mode sandbox. The functionality can be precisely restricted.
Start with the following services: - system.dns - provides API compatible to: - gethostbyname(3), - gethostbyname2(3), - gethostbyaddr(3), - getaddrinfo(3), - getnameinfo(3), - system.grp - provides getgrent(3)-compatible API, - system.pwd - provides getpwent(3)-compatible API, - system.random - allows to obtain entropy from /dev/random, - system.sysctl - provides sysctlbyname(3-compatible API.
Sponsored by: The FreeBSD Foundation
|
258289 |
17-Nov-2013 |
jmmv |
MFV: Import atf-0.18.
Approved by: rpaulo (mentor)
|
258025 |
12-Nov-2013 |
gjb |
Silence more 'make {check,delete-old{,libs}}' output if $DESTDIR/usr/tests does not exist.
Sponsored by: The FreeBSD Foundation
|
258014 |
11-Nov-2013 |
gjb |
Document WITH_TESTS src.conf(5) option.
Sponsored by: The FreeBSD Foundation
|
258012 |
11-Nov-2013 |
gjb |
Remove WITH_LIBICONV_COMPAT file to chase after r257583.
|
257940 |
11-Nov-2013 |
gjb |
Silence bmake(1) errors if TEST_DIRS evaluation is empty.
|
257851 |
08-Nov-2013 |
jmmv |
Handle the removal of the test suite when WITHOUT_TESTS=yes.
Add all files from /usr/tests to the obsoleted files list when the build of the tests is disabled via the WITHOUT_TESTS knob. Do this automatically so that we do not have to suffer the pain of maintaining such list by hand.
Reviewed by: freebsd-testing Approved by: rpaulo (mentor)
|
257850 |
08-Nov-2013 |
jmmv |
Subsume the functionality of MK_ATF into MK_TESTS.
There is no reason to keep the two knobs separate: if tests are enabled, the ATF libraries are required; and if tests are disabled, the ATF libraries are not necessary. Keeping the two just serves to complicate the build.
Reviewed by: freebsd-testing Approved by: rpaulo (mentor)
|
257583 |
03-Nov-2013 |
peter |
Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than good. This caused libc to spoof the ports libiconv namespace and provide a colliding libiconv.so.3 to fool rtld. This should have been removed some time ago.
|
257579 |
03-Nov-2013 |
ed |
Remove utxrm(8). This command has been superseded by 'utx rm'.
|
257444 |
31-Oct-2013 |
bapt |
After around 20 years of duty it is time for pkg_install to retire
|
257440 |
31-Oct-2013 |
bapt |
Adjust the manpage category for the pkg bootstrap
|
257402 |
30-Oct-2013 |
bdrewery |
Add forgotten pkg.7
Approved by: bapt MFC after: 2 days X-MFC-with: r257378
|
257138 |
25-Oct-2013 |
brooks |
Switch the default mtree to nmtree our new NetBSD derived mtree.
Exp-run by: bdrewery MFC after: 3 days Sponsored by: DARPA/AFRL
|
257098 |
25-Oct-2013 |
rpaulo |
Add missing WITHOUT_TESTS file.
Submitted by: Julio Merio jmmv google.com Reviewed by: sjg MFC after: 2 weeks
|
256710 |
17-Oct-2013 |
zont |
Add lot of missed files and dirs
|
256703 |
17-Oct-2013 |
zont |
Remove atf headers which never existed
Reviewed by: marcel
|
256669 |
17-Oct-2013 |
zont |
Cleanup clang section
|
256663 |
17-Oct-2013 |
zont |
wlconfig exists only on i386
|
256662 |
17-Oct-2013 |
zont |
Remove files which are in ObsoleteFiles.inc
|
256660 |
17-Oct-2013 |
zont |
Remove duplicates in ipfilter and kerberos sections
|
256365 |
12-Oct-2013 |
rpaulo |
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
|
256198 |
09-Oct-2013 |
gjb |
Revert r256095, r256120 (partial), r256121:
r256095: - Add gnu/usr.bin/rcs back to the base system.
r256120: - Add WITHOUT_RCS back to src.conf.5.
r256121: - Remove UPDATING entry regarding gnu/usr.bin/rcs removal.
Requested by: many Approved by: re (marius) Discussed with: core
|
256095 |
07-Oct-2013 |
eadler |
Good bye RCS. You will be missed.
(devel/rcs and devel/rcs57 are available as alternatives)
Approved by: core Approved by: re (hrs)
|
255974 |
01-Oct-2013 |
emaste |
Remove long-unused GNU ar and ranlib
The libarchive-based replacements have been used since 2009; the GNU ones were kept to support source upgrades from FreeBSD 6.
Approved by: re@ (delphij)
|
255964 |
01-Oct-2013 |
des |
Have makeman always use the mk files from the source tree it's operating on rather than those from the installed system.
Approved by: re (delphij)
|
255949 |
30-Sep-2013 |
des |
Remove BIND.
Approved by: re (gjb)
|
255938 |
29-Sep-2013 |
des |
Yet more BIND files that weren't listed in OptionalObsoleteFiles.
Approved by: re (blanket)
|
255914 |
27-Sep-2013 |
des |
Remove duplicate entry for the host(1) man page.
Approved by: re (blanket)
|
255872 |
25-Sep-2013 |
des |
Additional BIND files.
Submitted by: bdrewery Approved by: re (blanket)
|
255850 |
24-Sep-2013 |
des |
Flip the switch: disable BIND and enable LDNS_UTILS.
Approved by: re (blanket)
|
255809 |
23-Sep-2013 |
des |
Add a setup script for unbound(8) called local-unbound-setup. It generates a configuration suitable for running unbound as a caching forwarding resolver, and configures resolvconf(8) to update unbound's list of forwarders in addition to /etc/resolv.conf. The initial list is taken from the existing resolv.conf, which is rewritten to point to localhost. Alternatively, a list of forwarders can be provided on the command line.
To assist this script, add an rc.subr command called "enabled" which does nothing except return 0 if the service is enabled and 1 if it is not, without going through the usual checks. We should consider doing the same for "status", which is currently pointless.
Add an rc script for unbound, called local_unbound. If there is no configuration file, the rc script runs local-unbound-setup to generate one.
Note that these scripts place the unbound configuration files in /var/unbound rather than /etc/unbound. This is necessary so that unbound can reload its configuration while chrooted. We should probably provide symlinks in /etc.
Approved by: re (blanket)
|
255802 |
22-Sep-2013 |
des |
Remove drill(1) if MK_LDNS_UTILS is false. Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false.
Approved by: re (blanket)
|
255722 |
20-Sep-2013 |
emaste |
Add LLDB bmake infrastructure
This connects LLDB to the build, but it is disabled by default. Add WITH_LLDB= to src.conf to build it.
Note that LLDB requires a C++11 compiler so is disabled on platforms using GCC.
Approved by: re (gjb) Sponsored by: DARPA, AFRL
|
255597 |
15-Sep-2013 |
des |
Build and install the Unbound caching DNS resolver daemon.
Approved by: re (blanket)
|
255591 |
15-Sep-2013 |
des |
Tweak wording.
Approved by: re (blanket)
|
255590 |
15-Sep-2013 |
des |
Complete the OPENSSH and LDNS sections.
Approved by: re (blanket)
|
255576 |
14-Sep-2013 |
ed |
Properly remove c++filt.
The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} == yes. This means that it should be removed if ${MK_GCC} == no || ${MK_CXX} == no. In its current form, it actually uses a conjunction instead of a disjunction.
As there is already a separate block for ${MK_CXX} == no listing c++filt, simply remove the conditional entirely.
Approved by: re (gjb)
|
255455 |
10-Sep-2013 |
des |
Clean up the Kerberos build by turning libheimipcc and libheimipcs into private shared libraries, instead of hacked-together archives of PIC objects. This makes it possible to build a static libkrb5 that works.
Reviewed by: stas Approved by: re (gjb)
|
255373 |
07-Sep-2013 |
antoine |
Adjust optional obsolete files with new MK_GNUCXX
|
255357 |
07-Sep-2013 |
antoine |
Do not try to remove directories that are part of BSD.include.dist
|
255354 |
07-Sep-2013 |
glebius |
Add more leftovers from gcc.
|
255326 |
06-Sep-2013 |
zeising |
Add WITH_GCC alongside WITHOUT_GCC. Remove the comment from WITHOUT_GCC about this not working without an alternate toolchain, we have clang now.
|
255325 |
06-Sep-2013 |
theraven |
Don't delete c++filt when doing a make delete-old if GCC is not built but C++ is.
|
255321 |
06-Sep-2013 |
theraven |
On platforms where clang is the default compiler, don't build gcc or libstdc++. To enable them, set WITH_GCC and WITH_GNUCXX in src.conf. Make clang default to using libc++ on FreeBSD 10. Bumped __FreeBSD_version for the change.
GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build (or, at least, hard-codes the use of gcc into its build).
Thanks to everyone who helped make the ports tree ready for this (and bapt for coordinating them all). Also to imp for reviewing this and working on the forward-porting of the changes in our gcc so that we're getting to a much better place with regard to external toolchains.
Sorry to all of the people who helped who I forgot to mention by name.
Reviewed by: bapt, imp, dim, ...
|
255018 |
29-Aug-2013 |
andreast |
Remove GNU_PATCH leftover.
|
255014 |
29-Aug-2013 |
pfg |
Drop build option switch for the older GNU patch.
As promised, drop the option to make the older GNU patch the default.
GNU patch is still being built but something drastic may happen to it to it before Release.
|
254962 |
27-Aug-2013 |
dteske |
Formally remove WITH_BSDCONFIG build option and re-generate src.conf.5 NOTE: Should have been inline with revisions 252862 and 254958.
|
254921 |
26-Aug-2013 |
antoine |
Add more obsolete files.
|
254919 |
26-Aug-2013 |
antoine |
Document WITHOUT_ICONV, WITH_LIBICONV_COMPAT and WITH_USB_GADGET_EXAMPLES
|
254273 |
13-Aug-2013 |
peter |
The iconv in libc did two things - implement the standard APIs, the GNU extensions and also tried to be link time compatible with ports libiconv. This splits that functionality and enables the parts that shouldn't interfere with the port by default.
WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc. WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker symbols and even a stub libiconv.so.3 that are good enough to be able to 'pkg delete -f libiconv' on a running system and reasonably expect it to work.
I have tortured many machines over the last few days to try and reduce the possibilities of foot-shooting as much as I can. I've successfully recompiled to enable and disable the libiconv_compat modes, ports that use libiconv alongside system iconv etc. If you don't enable the WITH_LIBICONV_COMPAT switch, they don't share symbol space.
This is an extension of behavior on other system. iconv(3) is a standard libc interface and libiconv port expects to be able to run alongside it on systems that have it.
Bumped osreldate.
|
254010 |
06-Aug-2013 |
sbruno |
Adjust make knobs to know that WITH_ICONV installs a /usr/bin/iconv
Remove it if the knob isn't tweaked. Certain ports seem to think that if /usr/bin/iconv exists, then libc has built in libiconv things and will blow up pretty nicely when built.
Reviewed by: gjb@ MFC after: 2 weeks
|
253689 |
26-Jul-2013 |
pfg |
Make the BSD-licensed patch the default.
The BSD-licensed patch(1) command has matured and it's behaviour can be considered equivalent to the older version of GNU patch in the tree.
The switch has been extensively tested [1] and only two ports presented regressions, which have since been fixed.
For convenience a new WITH_GNU_PATCH option is available, but it will likely be removed in the near future.
PR: 176313 Approved by: portmgr
|
253396 |
16-Jul-2013 |
andrew |
2 years, 10 months, 22 days after the projects/arm_eabi branch was created make the ARM EABI the default ABI on arm, armeb, armv6 and armv6eb.
This is intended to be the default ABI from now on with the old ABI to be retired. Because of this all users are strongly suggested to upgrade to the ARM EABI.
As the two ABIs are incompatible it is unlikely upgrading in place will work. Users should perform a full backup and either use an external machine to upgrade, or install to an alternative location on their media. They should also reinstall all ports or packages when these are available.
The only known issues are: - pkg incorrectly detects the ABI. This is fixed upstream, and will a patch will be made to the port. - GDB can have issues with executables built with clang.
__FreeBSD_version has been bumped.
|
253305 |
12-Jul-2013 |
bapt |
Disable building of pkg_install by default If people still want to have pkg_install they can specify WITH_PKGTOOLS when building world
|
253304 |
12-Jul-2013 |
bapt |
Ensure the locale is LC_ALL=C when regenerating src.conf.5
MFC after: 3 days
|
253258 |
12-Jul-2013 |
des |
Remove authpf-noip along with authpf.
Reminded by: delphij@
|
252561 |
03-Jul-2013 |
zeising |
Document WITHOUT_SVNLITE and WITH_SVN.
PR: docs/180025 Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
|
252175 |
24-Jun-2013 |
eadler |
Add missing Obsolete Files
Submitted by: Kurt Lidl <lidl@pi-coral.com>
|
251966 |
18-Jun-2013 |
peter |
Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.
|
251794 |
15-Jun-2013 |
eadler |
Remove CVS from the base system.
Discussed with: many Reviewed by: peter, zi Approved by: core
|
251685 |
13-Jun-2013 |
emaste |
Use portable string comparison
We support == in /bin/sh now, but it ought to be avoided, and my use of it was accidental.
|
251601 |
10-Jun-2013 |
emaste |
Handle options that override other options
This is a workaround for WITH_LDNS_UTILS forcing BIND_UTILS off. It can be reverted when we no longer have these conflicting options, or made more general if we grow more cases like this.
|
251563 |
09-Jun-2013 |
gjb |
Add freebsd-update.conf(5) to OptionalObsoleteFiles.inc
PR: 179437 Approved by: kib (mentor) MFC after: 1 week
|
251512 |
07-Jun-2013 |
emaste |
Add a new knob WITH_DEBUG_FILES to control the building of standalone debug files for userland programs and libraries. The "-g" debug flag is automatically applied when WITH_DEBUG_FILES is set.
The debug files are now named ${prog}.debug and ${shlib}.debug for consistency with other systems and documentation. In addition they are installed under /usr/lib/debug, to simplify the process of installing them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the base system place the standalone debug files in a .debug subdirectory. GDB automatically searches both of these directories for standalone debug files.
Thanks to everyone who contributed changes, review, and testing during development.
|
250839 |
21-May-2013 |
delphij |
BMAKE is now being built by default.
|
250659 |
15-May-2013 |
brooks |
Add support for an external cross compiler. The cross compiler is specified by passing the XCC, XCXX, and XCPP variables (corresponding to CC, CXX, and CPP) to buildworld/buildkernel. The compiler must be clang or be configured to target the appropriate architecture.
To speed build times, if XCC is an absolute path or WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built during the cross-tools stage.
Limited documentation of this feature can currently be found at:
https://wiki.freebsd.org/ExternalToolchain
This functionality should be considered experimental and is subject to change without notice.
Sponsored by: DARPA, AFRL Discussed with: imp, sjg
|
250658 |
15-May-2013 |
brooks |
Add a new option WITHOUT_FORMAT_EXTENSIONS to disable flags related to checking our kernel printf extensions. This is useful to allow compilers without these extensions to build kernels.
Sponsored by: DARPA, AFRL
|
250533 |
12-May-2013 |
eadler |
Unconditionally install 210.backup-aliases as many MTAs other than sendmail support the use of /etc/aliases.
PR: conf/176098 Submitted by: ak MFC after: 2 weeks
|
250024 |
28-Apr-2013 |
eadler |
When the world is built WITHOUT_OPENSSH also don't install ssh-copy-id.
PR: misc/177590 Submitted by: Oleg Ginzburg <olevole@olevole.ru> Reviewed by: imp
|
249966 |
27-Apr-2013 |
eadler |
Add a comma to satisfy Igor.
|
249960 |
27-Apr-2013 |
eadler |
Remove IDEA from OptionalObsoleteFiles.inc
Also add an UPDATING entry (requsted by gjb)
|
249959 |
26-Apr-2013 |
eadler |
Remove the WITH_IDEA option and build it unconditionally. The European version of the patent expired in 2011. The US version of the patent expired in 2012 or prior.
Reviewed by: des No objection from: cperciva, ehaupt
|
249423 |
12-Apr-2013 |
dim |
Upgrade our copy of llvm/clang to trunk r178860, in preparation of the upcoming 3.3 release (branching and freezing expected in a few weeks).
Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html>
An MFC is planned once the actual 3.3 release is finished.
|
246830 |
15-Feb-2013 |
des |
Oops, I flipped LDNS_UTILS but forgot to update the description.
|
246827 |
15-Feb-2013 |
des |
Import LDNS and build it as an internal library.
|
246262 |
02-Feb-2013 |
dim |
Add missing src.conf(5) fragments for WITHOUT_LIBCPLUSPLUS and WITH_GPL_DTC.
|
246259 |
02-Feb-2013 |
dim |
Pull in r170135 from upstream clang trunk:
Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled.
Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped).
To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time.
MFC after: 1 week
|
246074 |
29-Jan-2013 |
gabor |
- Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch.
Submitted by: pfg Obtained from: The DragonflyBSD Project
|
245606 |
18-Jan-2013 |
eadler |
Add option to make pc-sysinstall optional
Approved by: cperciva
|
245539 |
17-Jan-2013 |
andrew |
Add compiler support for the ARM EABI.
ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added.
|
245527 |
17-Jan-2013 |
bz |
Add a src.conf(5) option to allow users to compile in the "NONE cipher", which, only after authentication, disables crypto, and only for sessions without a terminal.
Submitted by: Jeremy Chadwick (freebsd jdc.parodius.com) PR: bin/163095 MFC after: 10 days
|
245435 |
14-Jan-2013 |
brooks |
Remember the . in .\" in the WITH_NMTREE file and regenerate the output.
Reported by: joeld
|
245311 |
11-Jan-2013 |
brooks |
Add pwcache(3) and vis(3) to libegacy as install(1) is about to grow a dependency on them.
Sponsored by: DARPA, AFRL
|
245241 |
09-Jan-2013 |
brooks |
Always install our mtree as /usr/sbin/fmtree and link it as /usr/sbin/mtree by default.
Add a src.conf option WITH_NMTREE that causes NetBSD's mtree to be linked as /usr/sbin/mtree as well as /usr/sbin/nmtree.
|
245171 |
08-Jan-2013 |
obrien |
Following r226271, allow disabling lzma support with "WITHOUT_LZMA_SUPPORT". Correct r226271 which should have used WITHOUT_BZIP2_SUPPORT per r166255.
Obtained from: Juniper Networks
|
244512 |
20-Dec-2012 |
bapt |
Add etc/periodic/daily/220.backup-pkgdb to OptionalObsoleteFiles.inc
|
243830 |
03-Dec-2012 |
dim |
Upgrade our copy of llvm/clang to r168974, from upstream's release_32 branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is coming soon.
|
243053 |
15-Nov-2012 |
marcel |
Don't install atf.test.mk if MK_ATF == no.
Submitted by: Garrett Cooper <yanegomi@gmail.com>
|
242629 |
05-Nov-2012 |
brooks |
Add a description of WITHOUT_CLANG_IS_CC.
|
241823 |
22-Oct-2012 |
marcel |
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@
|
241645 |
17-Oct-2012 |
andreast |
Remove the netncp and nwfs files from here. They will be moved to the ObsoleteFiles.inc file later.
Discussed with: attilio
|
241511 |
13-Oct-2012 |
gabor |
- Remove GNU sort and the WITH_GNU_SORT knob
|
241298 |
06-Oct-2012 |
marcel |
Add support for bmake. This includes: 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR).
Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net>
|
241279 |
06-Oct-2012 |
marcel |
Add bmake to the build and allow it to be installed as make(1) instead of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch while working out the kinks -- think ports tree here. The option will be removed in due time.
Submitted by: Simon Gerraty (sjg@juniper.net)
|
240690 |
19-Sep-2012 |
zeising |
Add documentation for the WITHOUT_KDUMP switch. This swtich was introduced in r240404
Approved by: joel (mentor)
|
240377 |
11-Sep-2012 |
obrien |
r235638 is not the clean way to add support for building on ancient FreeBSD versions. Instead use Imp's good work on "legacy" and follow the outcome of the previous TRB discussions on this topic.
Now use the libc getline() if it exists, and only where it doesn't create a bootstraping version.
|
239715 |
26-Aug-2012 |
dim |
Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.
MFC after: 1 week
|
239469 |
20-Aug-2012 |
dim |
Add three additional clang intrinsics headers, which I missed in the previous import.
|
239462 |
20-Aug-2012 |
dim |
Upgrade our copy of llvm/clang to trunk r162107. With thanks to Benjamin Kramer and Joerg Sonnenberger for their input and fixes.
|
238721 |
23-Jul-2012 |
dim |
When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers in OptionalObsoleteFiles.inc.
PR: misc/169902 Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com> MFC after: 3 days
|
238448 |
14-Jul-2012 |
zeising |
Change language in WITH_BSDCONFIG to match other options, and regen src.conf(5), which was missed in r238438.
Approved by: joel (mentor)
|
238438 |
14-Jul-2012 |
dteske |
Import bsdconfig(8) as a replacement for the post-install abilities of deprecated sysinstall(8). NOTE: WITH_BSDCONFIG is currently required.
Submitted by: Devin Teske (dteske), Ron McDowell <rcm@fuzzwad.org> Reviewed by: Ron McDowell <rcm@fuzzwad.org> Approved by: Ed Maste (emaste)
|
238143 |
05-Jul-2012 |
obrien |
Remove the "funny targets" make check. We no longer need embedded :: targets to build FreeBSD (they are used in Perl man pages). We never needed embedded "!" in targets that I can find.
We got this from OpenBSD and I cannot find any other make that supports such things -- contrary to their commit message claim: "This behaviour is also consistent with other versions of make.".
|
238023 |
02-Jul-2012 |
marcel |
A cross-reference takes a man page section as well. Assume pkg(1), based on pkg_add(1).
|
238021 |
02-Jul-2012 |
marcel |
Add description for INSTALL_AS_USER
|
238018 |
02-Jul-2012 |
marcel |
Fix typo in option description file (using svn move).
|
237997 |
02-Jul-2012 |
bapt |
New build KNOB: WITHOUT_PKGBOOTSTRAP to condition building of usr.sbin/pkg Do not condition usr.sbin/pkg building on WITHOUT_PKGTOOLS anymore, so that users can remove the old pkg_* tools without removing the pkgng boostrap
Approved by: des (mentor) MFC after: 1 month
|
237629 |
27-Jun-2012 |
gabor |
- Switch to BSD sort as default sort. GNU sort will still be installed as "gnusort". Most of the BSD sort development work was done by Oleg Moskalenko <oleg.moskalenko@citrix.com>. - GNU grep can be set to default by setting WITH_GNU_GREP. It will cause BSD sort to be installed as "bsdsort".
Portbuild tested by: linimon
|
236340 |
30-May-2012 |
obrien |
make it easier to check newly-built make
|
236279 |
30-May-2012 |
gjb |
Add '-width Pa' to src.conf.5 for mdoc(7) style consistency.
MFC after: 3 days
|
235660 |
19-May-2012 |
marcel |
Document the ED_CRYPTO and LS_COLORS options.
Obtained from: Juniper Networks, Inc.
|
235537 |
17-May-2012 |
gber |
Import work done under project/nand (@235533) into head.
The NAND Flash environment consists of several distinct components: - NAND framework (drivers harness for NAND controllers and NAND chips) - NAND simulator (NANDsim) - NAND file system (NAND FS) - Companion tools and utilities - Documentation (manual pages)
This work is still experimental. Please use with caution.
Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks
|
235342 |
12-May-2012 |
gjb |
Regenerate src.conf(5) for mdoc(7) and typo corrections.
PR: 167804 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
|
235268 |
11-May-2012 |
gabor |
- Hook up BSD sort to the build. By default, it will be installed as "bsdsort" and GNU sort will be the default "sort". When WITH_BSD_SORT is set, BSD sort will be the default "sort" and GNU sort will be installed as "gnusort".
|
235204 |
09-May-2012 |
eadler |
Add some missing files to OLD_FILES
PR: conf/166460 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> Reviewed by: stable@ Approved by: cperciva MFC after: 2 weeks
|
234782 |
29-Apr-2012 |
kib |
Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the toolchain binaries as dynamically linked. Option is disabled by default.
Reviewed by: ru (previous version) MFC after: 2 weeks
|
234289 |
14-Apr-2012 |
dim |
Add files and directories to be cleaned up if WITHOUT_GCC is in effect to OptionalObsoleteFiles.inc.
MFC after: 1 week
|
233338 |
23-Mar-2012 |
stas |
- Add new kerberos libraries to the list of optional obsolete files.
|
233337 |
23-Mar-2012 |
stas |
- Do not build libcom_err and compile_et when kerberos is disabled. They depends on several heimdal libraries and not used by anything but kerberos tools.
|
233294 |
22-Mar-2012 |
stas |
- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service.
We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509.
- The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5.
- Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf.
- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next.
- Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well.
- This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
|
232322 |
29-Feb-2012 |
dim |
Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.
Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC.
MFC after: 2 weeks
|
231530 |
11-Feb-2012 |
ed |
Replace utxrm(8) by utx(8).
At first, I added a utility called utxrm(8) to remove stale entries from the user accounting database. It seems there are cases in which we need to perform different operations on the database as well. Simply rename utxrm(8) to utx(8) and place the old code under the "rm" command.
In addition to "rm", this tool supports "boot" and "shutdown", which are going to be used by an rc-script which I am going to commit separately.
|
231057 |
06-Feb-2012 |
dim |
Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default, that builds the following additional llvm/clang tools:
- bugpoint - llc - lli - llvm-ar - llvm-as - llvm-bcanalyzer - llvm-diff - llvm-dis - llvm-extract - llvm-ld - llvm-link - llvm-mc - llvm-nm - llvm-objdump - llvm-prof - llvm-ranlib - llvm-rtdyld - llvm-stub - macho-dump - opt
These tools are mainly useful for people that want to manipulate llvm bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker with llvm and clang themselves.
MFC after: 2 weeks
|
230972 |
04-Feb-2012 |
rmh |
Add MK_SOURCELESS build option. Setting MK_SOURCELESS to "no" will disable kernel modules that include binary-only code.
More fine-grained control is provided via MK_SOURCELESS_HOST (for native code that runs on host CPU) and MK_SOURCELESS_UCODE (for microcode).
Reviewed by: julian, delphij, freebsd-arch Approved by: kib (mentor) MFC after: 2 weeks
|
230060 |
13-Jan-2012 |
ed |
Remove wtmpcvt(1).
The wtmpcvt(1) utility converts wtmp files to the new format used by utmpx(3). Now that HEAD has been branched to stable/9 and 9.0 is released, there is no need for it in HEAD.
MFC after: never
|
229319 |
02-Jan-2012 |
rwatson |
Add WITHOUT_CAPSICUM src.conf(5) define, which can be used to compile out use of Capsicum by userspace applications.
MFC after: 3 weeks Sponsored by: Google, Inc.
|
228409 |
11-Dec-2011 |
dim |
Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is in effect.
MFC after: 1 week
|
228196 |
02-Dec-2011 |
fjoe |
Revert to conservative defaults. WITH_PROFILE is a default now.
NO_PROFILE overrides in Makefile.inc1 and bsd.own.m are left intact so that the reversal to the WITHOUT_PROFILE will be easier in future.
|
228159 |
30-Nov-2011 |
fjoe |
Add WITH_CTF description.
|
228143 |
29-Nov-2011 |
fjoe |
Turn off profiled libs build by default. Can be enabled back using WITH_PROFILE=yes in /etc/src.conf
|
228082 |
28-Nov-2011 |
dim |
Add WITH_LIBCPLUSPLUS under tools/build/options; the knob itself was already added in a previous revision.
|
228081 |
28-Nov-2011 |
dim |
Under tools/build/options, add missing svn:keywords properties to WITH_OFED and WITHOUT_GPIO.
|
227636 |
17-Nov-2011 |
dim |
Revert r227538, since it doesn't compile with clang at all (it doesn't allow the built-in operations to be redefined, at least not without excessive force).
Instead, just disable LLVM's support for atomic operations for now. Nothing in either clang or the tablegen tools currently depends on it.
This still allows users of head built before r198344 to upgrade to top-of-head seamlessly.
|
227538 |
15-Nov-2011 |
dim |
LLVM uses atomic operations, which are not supported on i386 and GCC emits calls for them, rather than expanding them inline. Older FreeBSD versions compile for i386 by default and as such we end up with unresolved symbols when we build LLVM's TableGen utility as a build tool on them. Add the functions that GCC emits here, but don't bother to make them atomic. Such is not needed.
Submitted by: marcel MFC after: 1 week
|
223209 |
17-Jun-2011 |
ed |
Add WITHOUT_UTMPX switch to the build system.
This knob removes the tools that are exclusively used to view and maintain the databases maintained by utmpx, namely last, users, who, wtmpcvt, ac, lastlogin and utxrm.
The tool w is not in this list, because it has some other functionality which is unrelated to utmpx; it is hardlinked to the uptime tool.
|
223208 |
17-Jun-2011 |
ed |
Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.
|
223201 |
17-Jun-2011 |
ed |
Don't omit ac(8) as part of WITHOUT_ACCT.
The WITHOUT_ACCT switch is supposed to omit tools related to process accounting, namely accton and sa. ac(8) is just a simple tool that prints statistics based on data in the utx.log database. It has nothing to do with the former.
|
222813 |
07-Jun-2011 |
attilio |
etire the cpumask_t type and replace it with cpuset_t usage.
This is intended to fix the bug where cpu mask objects are capped to 32. MAXCPU, then, can now arbitrarely bumped to whatever value. Anyway, as long as several structures in the kernel are statically allocated and sized as MAXCPU, it is suggested to keep it as low as possible for the time being.
Technical notes on this commit itself: - More functions to handle with cpuset_t objects are introduced. The most notable are cpusetobj_ffs() (which calculates a ffs(3) for a cpuset_t object), cpusetobj_strprint() (which prepares a string representing a cpuset_t object) and cpusetobj_strscan() (which creates a valid cpuset_t starting from a string representation). - pc_cpumask and pc_other_cpus are target to be removed soon. With the moving from cpumask_t to cpuset_t they are now inefficient and not really useful. Anyway, for the time being, please note that access to pcpu datas is protected by sched_pin() in order to avoid migrating the CPU while reading more than one (possible) word - Please note that size of cpuset_t objects may differ between kernel and userland. While this is not directly related to the patch itself, it is good to understand that concept and possibly use the patch as a reference on how to deal with cpuset_t objects in userland, when accessing kernland members. - KTR_CPUMASK is changed and now is represented through a string, to be set as the example reported in NOTES.
Please additively note that no MAXCPU is bumped in this patch, but private testing has been done until to MAXCPU=128 on a real 8x8x2(htt) machine (amd64).
Please note that the FreeBSD version is not yet bumped because of the upcoming pcpu changes. However, note that this patch is not targeted for MFC.
People to thank for the time spent on this patch: - sbruno, pluknet and Nicholas Esborn (nick AT desert DOT net) tested several revision of the patches and really helped in improving stability of this work. - marius fixed several bugs in the sparc64 implementation and reviewed patches related to ktr. - jeff and jhb discussed the basic approach followed. - kib and marcel made targeted review on some specific part of the patch. - marius, art, nwhitehorn and andreast reviewed MD specific part of the patch. - marius, andreast, gonzo, nwhitehorn and jceel tested MD specific implementations of the patch. - Other people have made contributions on other patches that have been already committed and have been listed separately.
Companies that should be mentioned for having participated at several degrees: - Yahoo! for having offered the machines used for testing on big count of CPUs. - The FreeBSD Foundation for having sponsored my devsummit attendance, which has been instrumental. - Sandvine for having offered offices and infrastructure during development.
(I really hope I didn't forget anyone, if it happened I apologize in advance).
|
222295 |
25-May-2011 |
obrien |
+ Tighten up (and simplify) the pass_cmd_vars_1 "variable definition arrived from the calling make" test. + Be more tolerant of newlines in the plus_flag "supports the '+' flag" test.
|
222273 |
25-May-2011 |
obrien |
Build and install a BSD licensed grep. If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be '[ef]grep'. Otherwise, BSD-grep will be the grep family, and GNUgrep will be 'gnugrep'.
Discussed with: brooks
|
222189 |
22-May-2011 |
imp |
Add the description properly...
|
222188 |
22-May-2011 |
imp |
Add documentation for WITHOUT_KERNEL_SYMBOLS
|
222090 |
19-May-2011 |
imp |
Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control over building gcc and binutils. They default to true, unless MK_TOOLCHAIN is no.
Reviewed by: ru@
|
222016 |
17-May-2011 |
ru |
Added description for WITH_OFED.
|
221733 |
10-May-2011 |
ru |
Reassurance for impatient.
|
221732 |
10-May-2011 |
ru |
Style.
|
221730 |
10-May-2011 |
ru |
- There now exist options that have different defaults depending on the architecture, reflect this in documentation. For such options, both WITH_FOO and WITHOUT_FOO description files should be provided.
Prodded by: des
- Setting a build option may enforce other build options, try harder to detect this case.
- Setting a build option may change other option's default value, try harder to detect this case.
|
221729 |
10-May-2011 |
ru |
The Objective C support was removed in r220755.
Submitted by: des
|
221541 |
06-May-2011 |
ru |
MK_GPIO changed its default; reflect.
|
221540 |
06-May-2011 |
ru |
Removed trailing whitespace.
|
221539 |
06-May-2011 |
ru |
Tidy up formatting.
|
221266 |
30-Apr-2011 |
bz |
Introduce two new options MK_INET and MK_INET_SUPPORT analogically with INET6 equivalents. Patch reather than re-genenerating src.conf (given the current problem with the script that does the re-gen).
Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks
|
221161 |
28-Apr-2011 |
des |
executable
|
220402 |
06-Apr-2011 |
uqs |
Regenerate after r220401. It turns out makeman is clever about implied flags, so remove that part from WITHOUT_CXX again.
This is only partially regenerated, as the entries for FDT and GPIO seem to have switched their default state, too.
|
220401 |
06-Apr-2011 |
uqs |
Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and WITHOUT_CLANG.
Don't build clang bootstrap/build-tools depending on this flag. We also keep gperf, devd and libstdc++ around to prevent foot-shooting and to make this a two-way street.
|
219020 |
25-Feb-2011 |
gabor |
- Add two more iconv-related files, which were left out from previous commit
Approved by: delphij (mentor)
|
218942 |
22-Feb-2011 |
uqs |
The default for FDT has changed, rename the flag/options file.
|
218941 |
22-Feb-2011 |
uqs |
Flesh out WITHOUT_GROFF support to DTRT.
A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system.
vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined.
Reviewed by: ru (partial)
|
216179 |
04-Dec-2010 |
uqs |
Document two more ways to find duplicates in the obsolete file list.
Remove the only duplicate found by the optional files check. Fix typos, while here.
Suggested by: netchild
|
215323 |
14-Nov-2010 |
gonzo |
Add optional files controlled by WITH_GPIO knob
Submitted by: Alexander Best <arundel@freebsd.org>
|
215312 |
14-Nov-2010 |
brucec |
lib32 is installed on powerpc64 too.
|
215306 |
14-Nov-2010 |
brucec |
libatm_p.a, libkeycap_p.a and libmytinfo_p.a are already in ObsoleteFiles.inc. liblwres.so.10 has been replaced by liblwres.so.50.
Reported by: arundel
|
215045 |
09-Nov-2010 |
delphij |
Hide 460.chkportsum in MK_PKGTOOLS != no case.
Submitted by: Alex Kozlov <spam rm-rf kiev ua> MFC after: 2 weeks
|
213585 |
08-Oct-2010 |
markm |
Don't blow away /bin/rmail symlink if we are keeping mailwrapper. Mailwrapper can provide a perfectly good rmail with other mailers.
|
213472 |
06-Oct-2010 |
netchild |
Add some missing files to optionally delete.
Submitted by: Paul B Mahol <onemda@gmail.com>
|
213463 |
05-Oct-2010 |
gonzo |
- Add WITH_GPIO entry to src.conf(5) man page
|
211701 |
23-Aug-2010 |
gabor |
- Change default grep back to GNU version. BSD grep can be built with the WITH_BSD_GREP knob. - Bump __FreeBSD_version
Requested by: dougb Approved by: delphij (mentor)
|
210389 |
22-Jul-2010 |
gabor |
Add BSD grep to the base system and make it our default grep.
Deliverables: Small and clean code (1,4 KSLOC vs GNU's 8,5 KSLOC), lower memory usage than GNU grep, GNU compatibility, BSD license.
TODO: Performance is somewhat behind GNU grep but it is only significant for bigger searches. The reason is complex, the most important factor is that GNU grep uses lots of optimizations to improve the speed of the regex library. First, we need a modern regex library (practically by adopting TRE), add support for GNU-style non-standard regexes and then reevalute the performance issues and look for bottlenecks. In the meantime, for those, who need better performance, it is possible to build GNU grep by setting WITH_GNU_GREP.
Approved by: delphij (mentor) Obtained from: OpenBSD (http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/), freegrep (http://github.com/howardjp/freegrep) Sponsored by: Google SoC 2008 Portbuild tests run by: kris, pav, erwin Acknowledgements to: fjoe (as SoC 2008 mentor), everyone who helped in reviewing and testing
|
210320 |
21-Jul-2010 |
ed |
Chase LLVM version bump to 2.8.
|
209253 |
17-Jun-2010 |
netchild |
Add the ZFS periodic daily scripts to the ZFS part.
|
209171 |
14-Jun-2010 |
ed |
Add Clang to OptionalObsoleteFiles.inc.
This means you can now deinstall Clang by running make delete-old with WITHOUT_CLANG set.
|
208971 |
10-Jun-2010 |
ed |
Fix typo.
Spotted by: Garrett Cooper
|
208967 |
09-Jun-2010 |
ed |
This should be commented out.
|
208965 |
09-Jun-2010 |
rdivacky |
Add WITHOUT_CLANG file with a description.
Approved by: ed (mentor)
|
208537 |
25-May-2010 |
raj |
Introduce a new build knob for Flattened Device Tree support.
Reviewed by: imp Sponsored by: The FreeBSD Foundation
|
208322 |
20-May-2010 |
jkim |
Add an option file for WITHOUT_MAN_UTILS to regenerate src.conf(5).
|
205702 |
26-Mar-2010 |
delphij |
Remove GNU cpio after fix of CVE-2010-0624.
Note that this is actually a no-op for most users, as this GNU cpio was broken on -HEAD and 8-STABLE since last March until the recent fix.
FreeBSD 8.0+ uses BSD cpio by default and the code is being actively maintained.
Blessed by: kientzle With hat: secteam MFC after: 3 days
|
204461 |
28-Feb-2010 |
antoine |
Add files to remove when MK_PPP=no.
|
204460 |
28-Feb-2010 |
antoine |
Add files to remove when MK_PORTSNAP=no.
|
204459 |
28-Feb-2010 |
antoine |
Add files to remove when MK_PKGTOOLS=no.
|
204458 |
28-Feb-2010 |
antoine |
Add files to remove when MK_PF=no.
|
204457 |
28-Feb-2010 |
antoine |
Add files to remove when MK_NTP=no.
|
204456 |
28-Feb-2010 |
antoine |
Update files to remove when MK_RCMDS=no.
|
204455 |
28-Feb-2010 |
antoine |
Add files to remove when MK_RCS=no.
|
204454 |
28-Feb-2010 |
antoine |
Add files to remove when MK_ROUTED=no.
|
204453 |
28-Feb-2010 |
antoine |
Add files to remove when MK_TELNET=no.
|
204452 |
28-Feb-2010 |
antoine |
Add files to remove when MK_NDIS=no.
|
204451 |
28-Feb-2010 |
antoine |
Update files to remove when MK_NCP=no.
|
204450 |
28-Feb-2010 |
antoine |
Update files to remove when MK_LPR=no.
|
204449 |
28-Feb-2010 |
antoine |
Add files to remove when MK_WIRELESS=no.
|
204379 |
26-Feb-2010 |
antoine |
Do not remove fmt.1 when MK_MAIL=no.
X-MFC-With: r203584
|
203733 |
10-Feb-2010 |
delphij |
Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER and MK_SENDMAIL is "no".
Reported by: Rob Farmer <rfarmer at predatorlabs.net>
|
203711 |
09-Feb-2010 |
delphij |
As it turns out, fmt(1) is being used by the base system as well as the ports tree extensively and it is probably a good idea to keep it regardless of NO_MAIL setting.
Reported by: Alexander Best Reviewed by: antoine X-MFC-With: r203584
|
203584 |
07-Feb-2010 |
delphij |
Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER.
MFC after: 2 weeks
|
203567 |
06-Feb-2010 |
antoine |
Update files to remove when MK_KERBEROS=no.
|
203566 |
06-Feb-2010 |
antoine |
Add files to remove when MK_JAIL=no.
|
203565 |
06-Feb-2010 |
antoine |
Update files to remove when MK_IPX=no.
|
203564 |
06-Feb-2010 |
antoine |
Add files to remove when MK_IPFW=no.
|
203563 |
06-Feb-2010 |
antoine |
Move rescue/ping6 from files to remove when MK_INET6=no to file to remove when MK_INET6_SUPPORT=no. (MK_INET6=no implies MK_INET6_SUPPORT=no)
|
203562 |
06-Feb-2010 |
antoine |
Add file to remove when MK_IDEA=no.
|
203561 |
06-Feb-2010 |
antoine |
Add files to remove when MK_GSSAPI=no.
|
203231 |
30-Jan-2010 |
antoine |
Add files to remove when MK_GPIB=no.
|
203228 |
30-Jan-2010 |
antoine |
Add files to remove when MK_GDB=no.
|
203226 |
30-Jan-2010 |
antoine |
Add files to remove when MK_GAMES=no.
|
203224 |
30-Jan-2010 |
antoine |
Add files to remove when MK_FREEBSD_UPDATE=no.
|
203221 |
30-Jan-2010 |
antoine |
Add files to remove when MK_FLOPPY=no.
|
202927 |
24-Jan-2010 |
antoine |
Add files to remove when MK_DICT=no.
|
202926 |
24-Jan-2010 |
antoine |
Add files to remove when MK_CVS=no.
|
202925 |
24-Jan-2010 |
antoine |
Add files to remove when MK_CTM=no.
|
202923 |
24-Jan-2010 |
antoine |
Add files to remove when MK_CPP=no.
|
202452 |
16-Jan-2010 |
antoine |
Update files to remove when MK_ZFS=no.
|
202451 |
16-Jan-2010 |
antoine |
Update files to remove when MK_CDDL=no.
|
202450 |
16-Jan-2010 |
antoine |
Add files to remove when MK_CALENDAR=no.
|
201931 |
09-Jan-2010 |
antoine |
Update files to remove when MK_BLUETOOTH=no.
|
201929 |
09-Jan-2010 |
antoine |
Add files to remove when MK_AUTHPF=no.
|
201928 |
09-Jan-2010 |
antoine |
Add files to remove when MK_ATM=no.
|
201927 |
09-Jan-2010 |
antoine |
Add files to remove when MK_AT=no.
|
201926 |
09-Jan-2010 |
antoine |
Add files to remove when MK_APM=no.
|
201925 |
09-Jan-2010 |
antoine |
Add files to remove when MK_AMD=no.
|
201923 |
09-Jan-2010 |
antoine |
Add files to remove when MK_ACCT=no.
|
194870 |
24-Jun-2009 |
jamie |
Add libjail, a (somewhat) simpler interface to the jail_set and jail_get system calls and the security.jail.param sysctls.
Approved by: bz (mentor)
|
193280 |
01-Jun-2009 |
dougb |
Add support for the build options that are currently in the port: WITH_BIND_IDN WITH_BIND_LARGE_FILE WITH_BIND_SIGCHASE WITH_BIND_XML
|
190751 |
05-Apr-2009 |
ed |
Remove if_ppp(4) and if_sl(4).
Not only did these two drivers depend on IFF_NEEDSGIANT, they were broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been replaced by ppp(8). There is no replacement for if_sl(4).
If we see regressions in for example the ports tree, we should just use __FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are present. Version 800045 is used to denote the import of MPSAFE TTY.
Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the lists.
|
188848 |
20-Feb-2009 |
mtm |
Doh! r188813 modified an auto-generated file. Fix it for real: o grammar fix o remove mention of libkse
Submitted by: Niclas Zeising <niclas.zeising@gmail.com>
|
183306 |
23-Sep-2008 |
sam |
add missing options
|
183305 |
23-Sep-2008 |
sam |
add missing options
|
183242 |
21-Sep-2008 |
sam |
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
|
183002 |
13-Sep-2008 |
antoine |
Add files to remove when WITHOUT_HESIOD is set. This fixes "make check-old" when WITH_HESIOD is set.
PR: 122406 MFC after: 1 month
|
180926 |
28-Jul-2008 |
antoine |
Add files to remove when MK_GNU_CPIO = no
|
180208 |
03-Jul-2008 |
peter |
Set magic fbsd:nokeywords property that allows files to bypass keyword expansion. (file-specific replacement for CVSROOT/exclude)
|
180012 |
25-Jun-2008 |
ru |
Enable GCC stack protection (aka Propolice) for userland: - It is opt-out for now so as to give it maximum testing, but it may be turned opt-in for stable branches depending on the consensus. You can turn it off with WITHOUT_SSP. - WITHOUT_SSP was previously used to disable the build of GNU libssp. It is harmless to steal the knob as SSP symbols have been provided by libc for a long time, GNU libssp should not have been much used. - SSP is disabled in a few corners such as system bootstrap programs (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. - It should be safe to use -fstack-protector-all to build world, however libc will be automatically downgraded to -fstack-protector because it breaks rtld otherwise. - This option is unavailable on ia64.
Enable GCC stack protection (aka Propolice) for kernel: - It is opt-out for now so as to give it maximum testing. - Do not compile your kernel with -fstack-protector-all, it won't work.
Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
|
179813 |
16-Jun-2008 |
dougb |
1. Make the BSD version of cpio the default [1] a. The BSD version will be built and installed unless WITHOUT_BSD_CPIO is defined. b. The GNU version will not be built or installed unless WITH_GNU_CPIO is defined. If this is defined, the symlink in /usr/bin will be to the GNU version whether the BSD version is present or not.
When these changes are MFCed the defaults should be flipped.
2. Add a knob to disable the building of GNU grep. This will make it easier for those that want to test the BSD version in the ports.
Approved by: kientzle [1]
|
179315 |
26-May-2008 |
bz |
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
|
177714 |
29-Mar-2008 |
ru |
Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
|
177552 |
24-Mar-2008 |
antoine |
Don't remove usr/include/fs/nwfs and usr/include/netncp, as they are always recreated during installworld (they are in BSD.include.dist).
Reported by: Pawel Worach Approved by: rwatson (mentor) X-MFC: with revision 1.13
|
176955 |
08-Mar-2008 |
antoine |
Add some checks for amd64 target around usr/lib32 libraries, missed in previous commit.
Approved by: rwatson (mentor) X-MFC: with revision 1.13
|
176662 |
29-Feb-2008 |
antoine |
Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.
Note: it may be a good idea to deduce obsolete usr/lib32/ files from obsolete lib/ and usr/lib/ files.
PR: 120492 PR: 121118 PR: 121121 Submitted by: KAMIYA Satosi, Richard Tector Approved by: rwatson (mentor) MFC after: 1 month
|
175539 |
21-Jan-2008 |
obrien |
Remove 5.x and 6.x cruft - source upgrades to RELENG_8 from versions prior to RELENG_7 are not supported.
|
175469 |
18-Jan-2008 |
brueffer |
Remove files conditional on the obsolete MK_FORTRAN knob. They are already listed in ObsoleteFiles.inc anyway.
Reported by: David Wolfskill Approved by: rwatson (mentor) MFC after: 3 days
|
175364 |
15-Jan-2008 |
brueffer |
WITHOUT_FORTRAN was removed some time ago. Regen src.conf.5.
PR: 119562 Submitted by: Daniel Rucci <dan@rucci.org> MFC after: 3 days
|
174550 |
12-Dec-2007 |
ru |
Fix markup nits.
|
174549 |
12-Dec-2007 |
ru |
Option depencies are (again) tracked automatically.
|
174548 |
12-Dec-2007 |
ru |
- Fix setting of MK_GSSAPI option by bsd.own.mk; its value should default to the value of MK_KERBEROS unless set explicitly by WITH_GSSAPI/WITHOUT_GSSAPI. (This introduces another type of MK_* variables which itself is questionable.)
- Teach tools/build/options/makeman script that generates the src.conf(5) manpage about the new type of MK_* variables.
- Fix broken logic in lib/Makefile.
|
174519 |
10-Dec-2007 |
dougb |
Hide the building and installation of libgssapi behind the WITHOUT_KERBEROS knob. While GSS can be used for other things some third party software (most notably ports/x11/kdelibs3) takes the presence of libgssapi as an indication that kerberos is available, and attempts to link with the kerberos libs. If they are not available, the build will fail.
Because you might want to use GSS but not kerberos, add a knob to re-enable it if WITHOUT_KERBEROS is present.
Document the new knob, and the new behavior of WITHOUT_KERBEROS.
Not objected and/or generally agreed to by: freebsd-arch
Problem discussed/analyzed in: PR: ports/116484
|
174497 |
09-Dec-2007 |
dougb |
Add a reasonable-sounding description of the WITHOUT_INSTALLLIB knob.
|
173400 |
06-Nov-2007 |
danger |
s/maybe/may be/
MFC after: 3 days
|
172803 |
19-Oct-2007 |
ru |
cached -> nscd
|
172498 |
09-Oct-2007 |
obrien |
Mdoc fix.
Submitted by: ru Approved by: re(implicit)
|
172495 |
09-Oct-2007 |
obrien |
Correct lib name.
Submitted by: ru Approved by: re(kensmith)
|
172491 |
09-Oct-2007 |
obrien |
Repo copy libpthreads to libkse. This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
|
172399 |
01-Oct-2007 |
ru |
The shell_1_sh test was failing with "make -jX".
Approved by: re (kensmith)
|
172398 |
01-Oct-2007 |
ru |
MK_LIBTHR was misspelled.
Approved by: re (kensmith)
|
171994 |
27-Aug-2007 |
remko |
Add WITHOUT_ZONEINFO to the build options and regenerate src.conf.5
Reminded by: ceri Approved by: re (bmah) Approved by: imp (mentor)
|
171493 |
19-Jul-2007 |
bz |
Make clear that WITHOUT_TOOLCHAIN cannot be applied to build targets.
PR: 114220 Reviewed by: simon Approved by: re (hrs)
|
170644 |
13-Jun-2007 |
sepotvin |
Options spring cleanup: - Add and document the KVM and KVM_SUPPORT options that are needed for the ifmcstats(3) makefile - Garbage collect unused variables - Add missing inclusion of bsd.own.mk where needed
Approved by: kan (mentor) Reviewed by: ru
|
169724 |
19-May-2007 |
kan |
Introduce WITHOUT_SSP option that allows users to exclude LGPLed libssp from the build.
|
169649 |
17-May-2007 |
deischen |
Add a description for the WITHOUT_SYMVER option.
|
168409 |
06-Apr-2007 |
pjd |
Connect ZFS to the build.
|
167452 |
11-Mar-2007 |
rafan |
Add ncursesw, libelf, and libalias profiling libraries
Approved by: delphij (mentor)
|
166389 |
01-Feb-2007 |
rafan |
Remove old libmytinfo link.
Approved by: delphij (mentor) Requested by: ache
|
166255 |
26-Jan-2007 |
delphij |
Replace the GNU gzip with a slightly modified NetBSD gzip. The NetBSD version is a feature-to-feature re-implementation of GNU gzip using the freely-redistributable zlib and this version is expected to be mostly bug-to-bug compatible with the GNU implementation.
- Because this is a piece of mature code and we want to make changes so it is added directly rather than importing to src/contrib. - Connect newly added code to src/usr.bin/ and rescue/rescue build. - Disconnect the GNU gzip code from build for now, they will be eventually removed completely. - Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and WITHOUT_BZIP2.
Tested by: kris (full exp-7 pointyhat build) Approved by: core (importing a 4-clause BSD licensed file) Approved by: re (adding new utility during -HEAD code slush)
|
164662 |
27-Nov-2006 |
yar |
/usr/sbin/faithd is an INET6-specific tool, and now it won't be built if MK_INET6 is "no", so add it to the MK_INET6 block.
PR: bin/100805 (audit-trail)
|
163861 |
01-Nov-2006 |
jb |
Add a build option to support WITH_CDDL and WITHOUT_CDDL, defaulting to WITH_CDDL.
This option enables building code that is licensed under Sun's CDDL. The DTrace code is licensed that way, so by default it will get built unless the WITHOUT_CDDL option is used.
There is another build toggle, NO_CTF, which turns off execution of ctfconvert and ctfmerge in sys.mk, but this can't be implemented as WITH_/WITHOUT because bsd.own.mk isn't included in all Makefiles and sys.mk is included automatically by make.
|
162846 |
30-Sep-2006 |
ru |
Removed libc_r build support.
|
162215 |
11-Sep-2006 |
ru |
Document the new know, WITHOUT_ASSERT_DEBUG.
|
162214 |
11-Sep-2006 |
ru |
- Utilize the "showconfig" top-level target. - Pass __MAKE_CONF=/dev/null to get a pristine output.
|
160855 |
31-Jul-2006 |
yar |
Tell the bitter truth that WITHOUT_GNU and WITHOUT_PAM don't have any effect now.
|
160851 |
31-Jul-2006 |
yar |
Document some more src.conf(5) options: WITHOUT_GNU, WITHOUT_NS_CACHING, WITHOUT_PAM.
Noticed by: src/tools/build/options/makeman
|
160850 |
31-Jul-2006 |
yar |
Actually skip over undocumented options with "continue" to avoid artifacts in the manpage generated. Previously an orphaned paragraph on dependencies of such an option would appear.
|
160808 |
29-Jul-2006 |
yar |
Extend the MK_INET6 section by rescue/ping6 and the manpages.
|
160777 |
28-Jul-2006 |
yar |
Populate the MK_INET6 block.
|
158758 |
20-May-2006 |
trhodes |
Switch value back to values.
Requested by: ru
|
158687 |
17-May-2006 |
phk |
Send the pcvt(4) driver off to retirement.
|
158660 |
16-May-2006 |
trhodes |
Some minor wording/description changes.
Reviewed by: ru (two months ago)
|
158212 |
01-May-2006 |
netchild |
Add profile libs.
Submitted by: Pawel Worach <pawel.worach@gmail.com>
|
157717 |
13-Apr-2006 |
ru |
Implications are auto-generated.
|
157439 |
03-Apr-2006 |
netchild |
Milosz (sorry for not using the right 'l', it will not display corretly in the commit log) submitted support for some NO_* knobs for delete-old* and check-old. I converted it to the new WITHOUT_* knobs (more correctly: MK_*) and added some dummy ones so that people can see what's missing.
Volunteers can have a look at http://phk.freebsd.dk/misc/build_options/ for a list of files.
The location looks a little bit odd to me, but I don't care about the color of this bikeshed and follow the suggestion of our build infrastructure guru to place it "somewhere under src/tools/ please". [1] The build/mk/ directory looks more sane to me than the other ones there.
Submitted by: milosz.galazka@gmail.com Suggested by: ru [1]
|
157379 |
01-Apr-2006 |
phk |
Overlooked that src.conf was built from here.
|
156939 |
21-Mar-2006 |
ru |
Fix generation of '$FreeBSD$'.
|
156938 |
21-Mar-2006 |
ru |
Slightly better description.
|
156937 |
21-Mar-2006 |
ru |
A tool to generate the src.conf(5) manpage.
|
156932 |
21-Mar-2006 |
ru |
Prepare to autogenerate the src.conf(5) manpage.
|
146261 |
16-May-2005 |
ru |
Make <runefile.h> internal to libc.
Suggested by: phantom
|
143044 |
02-Mar-2005 |
ru |
Add hacks that I use to test cross-builds (by building on native and foreign architectures and comparing products). They eliminate most of the differences caused by different object directory paths, timestamping, and identification.
(Note WORLDTMP was renamed to ${OBJTREE}${.CURDIR}/tmp.)
|
142683 |
27-Feb-2005 |
ru |
Bootstrap gencat(1).
OK'ed by: phantom
|
142640 |
27-Feb-2005 |
ru |
As threatened, drop support for source upgrades from pre-5.3.
Inspired by: obrien
|
142582 |
26-Feb-2005 |
ru |
Make the format of LC_CTYPE files architecture independent by introducing the disk formats for _RuneLocale and friends.
The disk formats do not have (useless) pointers and have 32-bit quantities instead of rune_t and long. (htonl(3) only works with 32-bit quantities, so there's no loss).
Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x would be trivial (verified), but we no longer provide pre-5.3 source upgrades and this is the first commit to actually break it.)
|
138515 |
07-Dec-2004 |
harti |
Fix builds with a read-only directory and a make upgrade. This is done by forcing the creation of an object directory for the make regression tests. Let make handle the tracking of the dependency and installation of test_shell script.
Submitted by: ru
|
138432 |
06-Dec-2004 |
ru |
Make this work under debugging, e.g., "make -dl".
|
138317 |
02-Dec-2004 |
harti |
Make the tests runnable on a read-only src. To do this you must make sure that you create one of the object directories make knows (see make(1)). This uses the -C flag, so add a test that checks that make actually accepts -C. Also fix the test that selects csh via the .SHELL target to work for tcsh users too.
This commit renames shell_test to shell_test.sh. There is no history to preserve so go without a repo-copy.
Reviewed by: ru
|
138227 |
30-Nov-2004 |
harti |
Chmod the shell testscript to be executable if it isn't already. According to the CVS-Meisters x-mode just happens to work, but is not guaranteed to do so. Try to be on the safe side.
|
138080 |
25-Nov-2004 |
harti |
Add some regression tests for the .SHELL target. I'm not sure that the output of shell_2j is actually correct - it just tests what make currently does. Make should switch on echoing for the second line, shouldn't it?
|
137587 |
11-Nov-2004 |
nik |
Switch over to a different, more flexible test output protocol that's understood by Perl's Test::Harness module and prove(1) commands.
Update README to describe the new protocol. The work's broken down into two main sets of changes.
First, update the existing test programs (shell scripts and C programs) to produce output in the ok/not ok format, and to, where possible, also produce a header describing the number of tests that are expected to be run.
Second, provide the .t files that actually run the tests. In some cases these are copies of, or very similar too, scripts that already existed. I've kept the old scripts around so that it's possible to verify that behaviour under this new system (in terms of whether or not a test fails) is identical to the behaviour under the old system.
Add a TODO file.
|
136842 |
23-Oct-2004 |
ru |
Add a regression test for the alternate shell specification.
|
133593 |
12-Aug-2004 |
harti |
Now that make more correctly handles variable assignments in .MAKEFLAGS targets enable the regression test for this.
|
133165 |
05-Aug-2004 |
harti |
Back out something I'm working on that crept in with the last commit.
Spotted by: ru
|
133164 |
05-Aug-2004 |
harti |
Remove extra spaces. Remove double quotes around error messages - they are not needed and will actually be printed.
Submitted by: ru
|
133161 |
05-Aug-2004 |
harti |
Add another test that checks for a working '+' command flag.
|
133109 |
04-Aug-2004 |
harti |
Add a regression test for the passing of command line variable assignments via the MAKEFLAGS environment variable.
|
126451 |
01-Mar-2004 |
ru |
Removed extraneous parentheses.
|
126344 |
28-Feb-2004 |
ache |
Add getopt_long.c if ${BOOTSTRAPPING} < 502104
|
126039 |
20-Feb-2004 |
ru |
Unbreak the upgrade path from 4.9 after removal of GNU getopt and <gnuregex.h>.
|
125227 |
30-Jan-2004 |
ru |
Add a test for what was broken in rev. 1.28 and fixed in rev. 1.29 of make/str.c.
|
125219 |
29-Jan-2004 |
ru |
Add a test for what was fixed in revs. 1.28 and 1.29 of make/str.c.
|
120676 |
02-Oct-2003 |
ru |
Fix a bug that prevented exists() from finding "foo/", "foo/." and "foo/.." when ".PATH: foo" was also given.
PR: bin/34062
|
117226 |
04-Jul-2003 |
ru |
Fixed broken arithmetic expression parser.
Reminded by: bde In memory of: alane
|
113508 |
15-Apr-2003 |
ru |
A version of <sys/endian.h> in RELENG_4 doesn't have 64-bit functions.
Spotted by: simokawa
|
113400 |
12-Apr-2003 |
ru |
Make sure legacy stuff comes last. Some tools that use legacy stuff (binutils) depend on this order.
For this to work, provide (and use) specialized versions of bsd.prog.mk and bsd.lib.mk that include the standard versions first, then augment CFLAGS, DPADD, LDADD, and LDFLAGS as necessary, with the legacy stuff.
Tested on: 4.0-RELEASE
|
113368 |
11-Apr-2003 |
ru |
libc_gen/basename.c depends on include/libgen.h.
|
113185 |
06-Apr-2003 |
imp |
-legacy and /.../legacy/... looks better than build or bootstrap in the logs, so use that instead.
Submitted by: obrien.
|
113157 |
06-Apr-2003 |
imp |
We can't use ${WORLDTMP}/usr/{include,lib} for the compat layer. This is because we populate these directories later, and a subsequent -DNOCLEAN build may fail. So, we put them in ${WORLDTMP}/build/usr/{include,lib} instead and adjust Makefile.boot.
Again, this works on -stable and -current, but might break older versions.
Submitted by: ru@
|
113156 |
06-Apr-2003 |
imp |
Don't need the gccism include_next since we won't create this file when a real sys/endian.h exists.
Submitted by: ru@
|
113136 |
05-Apr-2003 |
imp |
Migrate to a new way of dealing with building from old revisions of FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries.
This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work.
Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better.
|
110654 |
10-Feb-2003 |
gad |
The regression-tests for 'make' *expect* to trigger make's warning: warning: duplicate script for target "double" ignored The regression-tests do try to hide that message, but the message does still appear when using -j (eg: 'make -j5 buildworld'). This changes the regression-test so the expected warning message will not be seen even when -j is specified.
Reviewed by: jmallett ru
|
107375 |
28-Nov-2002 |
ru |
Add a test for what was fixed in revisions 1.39 and 1.50 of make/parse.c (allow embedded `:' and `!' in target names).
Approved by: re
|
107374 |
28-Nov-2002 |
ru |
Moved make(1) regression tests from src/Makefile to where they belong (src/tools/regression/usr.bin/make), and use the latter to test if make(1) is adequate for building the world.
Approved by: re
|
105907 |
25-Oct-2002 |
jmallett |
Hide the test in <target> under '.if make(<target>)' so as to not get any errors/warnings related to crud in said test block.
|
100794 |
28-Jul-2002 |
jmallett |
As of revision 1.38 of make/parse.c, our make(1) will warn too. Note that this isn't just for the sake of testing behaviour, and that things really do break if this regression occurs.
|
98461 |
20-Jun-2002 |
jmallett |
Grrr, make the test for embedded variables in the left-hand-side actually do the right thing in every case. Yuck.
|
98442 |
19-Jun-2002 |
jmallett |
Add a test for what was fixed in revision 1.27 and 1.28 of make(1)'s var.c, expansion of embedded variables in the left-hand-side of an assignment expression, using the simplest case - hiding recursion using nil-expanded variables.
|
96070 |
05-May-2002 |
jmallett |
Add a regression test for bin/5297, regarding sysv substitution with a nil left-hand-side.
|
95538 |
27-Apr-2002 |
jmallett |
Prefix tests with PASS and FAIL, to make grepping easier, and note this in the README.
This affects only the base-system regression tests, of course.
|
95167 |
21-Apr-2002 |
jmallett |
Check to see if make(1)'s handling of doubly-defined targets is busted or not. A lot relies on this.
|
95158 |
20-Apr-2002 |
jmallett |
Add a test of variable evaluation and substitution for make(1), as a start of tests for it.
|