summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Add AFLAGS.IMPSRC and document A[C]FLAGSbdrewery2016-06-222-0/+8
| | | | | Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division
* META_MODE: Don't generate or read _EXTRADEPEND dependencies when using filemon.bdrewery2016-06-213-11/+19
| | | | | | | | | The DPADD data in .depend will be redundant with what is in the .meta file. Also extend NO_EXTRADEPEND support to bsd.prog.mk. Approved by: re (blanket, META_MODE) Sponsored by: EMC / Isilon Storage Division
* syscons.4,vt.4: update kern.vty description reflecting vt as defaultemaste2016-06-212-11/+11
| | | | | | | | | rS274085 made vt(4) the default system console. Catch up to this in the man page description for the kern.vty tunable. Reviewed by: bz Approved by: re (hrs) Differential Revision: https://reviews.freebsd.org/D6901
* Fix generation of locales with multiple variantsbapt2016-06-2015-350/+164
| | | | | | | | | Serbian locales have triple components to represent the 2 variations of the locale: Latin and Cyrillic. Previously the tools generatic the locale were appending both definitions instead of differentiating them. Reported by: ache Approved by: re (gjb)
* Add Mike Karels as committer, with gnn as mentor.karels2016-06-191-0/+2
| | | | | Approved by: gnn (mentor) Approved by: re
* - Prefer to use %d over %e where the day of the month should be zeroume2016-06-1945-83/+83
| | | | | | | | | filled. - Since %e means the day of the month as well, regard %e as same as %d in md_order. Reported by: vangyzen Approved by: re (gjb)
* pf: Filter on and set vlan PCP valueskp2016-06-171-2/+25
| | | | | | | | | | | Adopt the OpenBSD syntax for setting and filtering on VLAN PCP values. This introduces two new keywords: 'set prio' to set the PCP value, and 'prio' to filter on it. Reviewed by: allanjude, araujo Approved by: re (gjb) Obtained from: OpenBSD (mostly) Differential Revision: https://reviews.freebsd.org/D6786
* Reimplement r301944 using the correct install(1) invocation, which againgjb2016-06-161-2/+2
| | | | | | | | | fixes packaging tzdata/zoneinfo. Thank you to hrs for the pointer on what I did incorrectly. Approved by: re (blanket, pkgbase) Sponsored by: The FreeBSD Foundation
* Revert r301944, which apparently broke zoneinfo install duringgjb2016-06-161-2/+2
| | | | | | | | | | installworld (although I am not sure why). I'll revisit this change after I further understand the cause of the breakage. Thanks to our secret canary (dhw) for the report. Approved by: re (blanket, pkgbase) Sponsored by: The FreeBSD Foundation
* Fix zoneinfo file packaging.gjb2016-06-161-2/+2
| | | | | | | | This change fixes 468 of 488 zoneinfo file packaging issues, the rest still to be investigated. Approved by: re (blanket, pkgbase) Sponsored by: The FreeBSD Foundation
* Mark targets with _SUBDIR as .PHONY.bdrewery2016-06-151-2/+2
| | | | | | | | | This is mostly fixing META_MODE with realinstall wanting a .meta file when it does not need one. These targets really should always run though since they have _SUBDIR on them. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* Fix native powerpc64 build of lib32 with in-tree GCC.bdrewery2016-06-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | - This was broken by r300350 and r300885. - Add some comments around the external GCC logic since it is spread out and in need of some cleanup. - The problem was that X_COMPILER_TYPE is always defined from CC->XCC's default, so if /usr/bin/cc is GCC (as it is on native powerpc64) then X_COMPILER_TYPE was getting GCC and triggering the external logic in Makefile.libcompat. It was intended to always provide -isystem with GCC since --sysroot is used into the lib32 sysroot which won't modify the header path without the -isystem. The use of the libc++/std=c++11 override was only intended to be used for external compilers though (more accurately GCC 4.8+ but that's a separate assumption to cleanup). Apply the same logic from Makefile.inc1 to Makefile.libcompat to only add the libc++ override when needed for external compilers. Pointyhat to: bdrewery Tested with: native ppc64 (swills), universe, ppc64 xtoolchain, amd64 xtoolchain, sparc64 cross-build of ppc64 (host GCC 4.2) Reported by: andreast, swills Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Keep .MAKE.MODE/META_MODE cleanbdrewery2016-06-151-0/+4
| | | | | | | | Due to META_MODE being passed into the environment it tends to keep growing with the defaults. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Do include headers for specific guessed dependenciesbdrewery2016-06-151-2/+4
| | | | | | | | | | | | This is a follow-up to r300343. This is important for the OBJS_DEPEND_GUESS usage in gnu/usr.bin/cc/cc_tools. See comments for more details. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* Don't truncate OBJS_DEPEND_GUESS.target from Makefilebdrewery2016-06-152-5/+5
| | | | | | | | This is important to allow a Makefile to override OBJS_DEPEND_GUESS for handling in META_MODE when its depend files are missing. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* Renegerate for WITH_META_MODE updates.bdrewery2016-06-141-4/+11
| | | | | Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Enable printing of some of make's environment on error.bdrewery2016-06-141-2/+14
| | | | | | | | | | | | | | 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
* WITH_META_MODE: Lessen the filemon(4) requirement scope.bdrewery2016-06-142-4/+10
| | | | | | | | | | | | | | | | | | | - 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
* WITH_META_MODE: Set MK_META_MODE=no with -B.bdrewery2016-06-141-1/+6
| | | | | | | | | Using -B already sets .MAKE.MODE=compat but it was leaving MK_META_MODE set which could still cause other MK_META_MODE==yes checks to trigger. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Fix rescue rebuilding build-tools.bdrewery2016-06-141-1/+1
| | | | | | | This is the same issue as r297997. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE+WITH_DEBUG_FILES: Fix library symlinks causing bogus rebuilds.bdrewery2016-06-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simplified example of the library targets with WITH_DEBUG_FILES is: libgeom.so.5: libgeom.so.5.full cp libgeom.so.5.full libgeom.so.5 libgeom.so.5.full: ln -s libgeom.so.5 libgeom.so cc -o libgeom.so.5.full *.o Before, or without, WITH_DEBUG_FILES it is: libgeom.so.5: ln -s libgeom.so.5 libgeom.so cc -o libgeom.so.5 *.o The problem is that bmake considers the link source for the libgeom.so link in the libgeom.so.5.full target as being a dependency for libgeom.so.5.full. That resolves to libgeom.so.5. Thus a cyclic dependency is created. The result of this is that if libgeom.so.5 is created with a newer timestamp than libgeom.so.5.full, then libgeom.so.5.full will be rebuilt on the next build. This causes a chain reaction of everything in the build relinking, or hitting the problem itself. Moving the link creation to the target that actually creates libgeom.so.5 fixes the problem. The simplest fix here is to just duplicate the logic. Submitted by: sjg Approved by: re (implicit)
* Change my given name from "Garrett" to "Ngie"ngie2016-06-131-1/+1
| | | | | | | A legal name change from "Garrett" to "Ngie", as well as a FreeBSD account name change, is pending. Approved by: re (hrs)
* - Add myself (tz / Torsten Zuehlsdorff) to ports commiterstz2016-06-101-0/+6
| | | | | | - Add mentors junovitch, pi, swills Approved by: re (gjb), junovitch (mentor)
* urtwn(4): refresh manpage.avos2016-06-091-18/+46
| | | | | | | Mention URTWN_WITHOUT_UCODE option (r295871), hardware encryption support (r292175), IBSS (r290651) and HOSTAP (r290631) mode support; cleanup CAVEATS section (some 11n support was added in r297175 + add a note about current rate control issues).
* rum(4): refresh manpage.avos2016-06-091-5/+5
| | | | | Add a note about hardware encryption support (r288633), adhoc-demo mode (r288622) and remove BUGS section (fixed in r288632).
* Fix a bunch of "xref refers to *this* page" igor(1) warnings.trasz2016-06-0915-22/+20
| | | | MFC after: 1 month
* Implement an NSS backend for netgroups and add getnetgrent_r(3).markj2016-06-091-1/+3
| | | | | | | | | | | | | | | | | | This support appears to have been documented in nsswitch.conf(5) for some time. The implementation adds two NSS netgroup providers to libc. The default, compat, provides the behaviour documented in netgroup(5), so this change does not make any user-visible behaviour changes. A files provider is also implemented. innetgr(3) is implemented as an optional NSS method so that providers such as NIS which are able to implement efficient reverse lookup can do so. A fallback implementation is used otherwise. getnetgrent_r(3) is added for convenience and to provide compatibility with glibc and Solaris. With a small patch to net/nss_ldap, it's possible to specify an ldap netgroup provider, allowing one to query nisNetgroupTriple entries. Sponsored by: EMC / Isilon Storage Division
* Don't force filemon for makeman/showconfigbdrewery2016-06-081-1/+2
| | | | Reported by: lidl
* Regeneratebdrewery2016-06-081-2/+20
|
* Fix typos.trasz2016-06-085-8/+8
| | | | MFC after: 1 month
* Fix some trailing whitespaces.trasz2016-06-0815-59/+59
| | | | MFC after: 1 month
* Last few instances of "sentence not on new line".trasz2016-06-088-17/+31
| | | | MFC after: 1 month
* Fix a bunch of "sentence not on new line" warnings in section 9.trasz2016-06-089-43/+66
| | | | MFC after: 1 month
* Fix a bunch of "sentence not on new line" warnings from igor(1).trasz2016-06-0846-140/+208
| | | | MFC after: 1 month
* Improve documentation for usfs(4) and usb_template(4).trasz2016-06-082-13/+32
| | | | | | Reviewed by: hselasky (earlier version) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D6740
* Pacify igor(8) and make it easier to find via "man -k iser".trasz2016-06-081-5/+6
| | | | MFC after: 1 month
* Add iser(4) manual page.trasz2016-06-083-1/+95
| | | | | Obtained from: Mellanox Technologies MFC after: 1 month
* Bump date on ifconfig(8) and vlan(4) to reflect the changes madearaujo2016-06-081-1/+1
| | | | on revision r301496.
* ng_mppc(4): Bring netgraph(3) MPPC compression support.pfg2016-06-071-7/+1
| | | | Documentation change missing from r301549.
* Bump date in both manpages.araujo2016-06-071-1/+1
| | | | Reported by: rodrigc
* Add an entry on rc.conf(5) explaining the new optionsaraujo2016-06-071-0/+16
| | | | | | | | | | nis_ypldap_enable and nis_ypldap_flags. Also add an entry on ypldap(8) that it is a feature ready and appears on FreeBSD 11.0. Requested by: rodrigc Relnotes: Yes
* Add a `show igi_list` command to DDB to debug IGMP state.bz2016-06-061-0/+7
| | | | | | Obtained from: projects/vnet MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Implement a `show panic` command to DDB which will helpfully print thebz2016-06-061-1/+12
| | | | | | | | | | | | | | | | panic string again if set, in case it scrolled out of the active window. This avoids having to remember the symbol name. Also add a show callout <addr> command to DDB in order to inspect some struct callout fields in case of panics in the callout code. This may help to see if there was memory corruption or to further ease debugging problems. Obtained from: projects/vnet MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Reviewed by: jhb (comment only on the show panic initally) Differential Revision: https://reviews.freebsd.org/D4527
* Add support to priority code point (PCP) that is an 3-bit fieldaraujo2016-06-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | which refers to IEEE 802.1p class of service and maps to the frame priority level. Values in order of priority are: 1 (Background (lowest)), 0 (Best effort (default)), 2 (Excellent effort), 3 (Critical applications), 4 (Video, < 100ms latency), 5 (Video, < 10ms latency), 6 (Internetwork control) and 7 (Network control (highest)). Example of usage: root# ifconfig em0.1 create root# ifconfig em0.1 vlanpcp 3 Note: The review D801 includes the pf(4) part, but as discussed with kristof, we won't commit the pf(4) bits for now. The credits of the original code is from rwatson. Differential Revision: https://reviews.freebsd.org/D801 Reviewed by: gnn, adrian, loos Discussed with: rwatson, glebius, kristof Tested by: many including Matthew Grooms <mgrooms__shrew.net> Obtained from: pfSense Relnotes: Yes
* Install/Connect ypldap.conf(5) on examples.araujo2016-06-061-2/+4
|
* Regeneratebdrewery2016-06-051-1/+4
|
* Regeneratebdrewery2016-06-051-5/+6
|
* WITH_SYSTEM_COMPILER: Disable with WITH_META_MODE for now.bdrewery2016-06-051-0/+4
| | | | | | | | | | | | | | | | | | The WITH_META_MODE build is intended to be a working incremental build. It spies on the build command to see if things should be rebuilt if the command changes. If you run buildworld, it builds a cross-compiler, then do installworld and buildworld again it will invoke the WITH_SYSTEM_COMPILER logic. This then adds on -target/--sysroot, etc, and causes rebuilds due to the changed build command even though the compiler used is technically the same revision. Since the incremental build is not cleaning anything by default then there is much less risk to rebuilding the already-existing cross-compiler. Just disable the combined logic and always use and build the cross-compiler. An alternative to this would be to always pass -target/--sysroot. Doing so may occur in the future. Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Avoid host tool timestamps causing a rebuild.bdrewery2016-06-051-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | Using buildworld, installworld, buildworld. It is expected that nothing should rebuild. However any host tool used could have its timestamp updated. Any library used by dynamic tools could have its timestamp updated. The filemon(4) data in the .meta files captures all reads to these files. This causes the 2nd buildworld to rebuild everything since host tools and files have been updated. Because the build is self-reliant and bootstraps itself, it should be safe to ignore mtime changes on host files used during the build. Host files should only impact the build of legacy, build-tools, bootstrap-tools, cross-tools, but those are already intended to be reproducible from its own bootstrapping. It is possible in a rare case that a bug in a host file does produce a broken build tool. If that happens it will just have to be communicated properly. An alternative solution would be to update the mtime of all files in the object directory after installworld so that the host files are not newer than the object files. That also requires special care for read-only obj directories and special care to not mess with any intended timestamps in the build, such as done for reproducibility. Reported by: many Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Enable bmake's missing meta rebuild featurebdrewery2016-06-052-0/+12
|
OpenPOWER on IntegriCloud