Commit Graph

15279 Commits

Author SHA1 Message Date
bapt
f5e5e1abc3 MFC: r262398,r262399,r262410,r262975
Import libucl into head

UCL is heavily infused by nginx configuration as the example of a convenient
configuration system. However, UCL is fully compatible with JSON format and is
able to parse json files.

UCL is used by pkg(8) for its configuration file as well for the manifest format
in packages, it will be used in base for the pkg boostrap (signature checking
and configuration file parsing.)

libucl has been developped and is maintained by vsevolod@
2014-03-11 13:06:09 +00:00
ache
5da4ff2e94 MFC r262689:
Add fetch and patch to .PHONY and .NOTMAIN only if PORTNAME is defined.
Unconditional addition cause real fetch(1) and patch(1) programs are
builded every time.
2014-03-09 23:47:34 +00:00
brueffer
9cff8027cb MFC: r262603
mdoc cleanup.
2014-03-07 12:20:01 +00:00
jmmv
74e392eb6c MFC a couple of improvements to the test suite mk files.
- r260632 Support defining test program metadata from the Makefiles.
- r260633 Support perl-based TAP-compliant test programs.
2014-03-06 13:30:36 +00:00
jmmv
16411e2c80 MFC various fixes for the ATF tests.
- r260505 Allow tests to provide a Kyuafile when they relied on auto-generation.
- r260525 Respect the original layout of the atf-{c,c++} tests.
- r260526 Fix path to the process_helpers for the libatf-c++ tests.
- r260576 Generate and install pkg-config files for atf.
- r260577 Add atf pkg-config files from the vendor branch.
- r260584 Prevent misc_helpers from running as a test.
2014-03-06 13:20:38 +00:00
zeising
a43dfff75f MFC r261832-261834:
r261832:
    Add cross references between rc.conf(5) and jail.conf(5).

r261833:
    Add commas (,) to the list in the SEE ALSO section, to match most
    other manuals.

r261834:
    Bump .Dd forgotten in r261832.
2014-03-06 10:26:25 +00:00
gjb
29fd702b03 MFC r262499, r262505, r262507, r262509:
r262499:
  release.sh:
  - Add a VCSCMD variable that defaults to 'svn checkout',
    and update places 'svn co' is used directly.
  - After sourcing a configuration file, prefix SRCBRANCH,
    PORTBRANCH, and DOCBRANCH with the SVNROOT.
  - Properly capitalize 'FreeBSD.org' in the default SVNROOT.
  - Update Copyright.

  release.conf.sample:
  - Add an example to use git instead of svn, by nullifying
    SVNROOT, and setting SRCBRANCH, DOCBRANCH, and PORTBRANCH
    to the URL fo a git repository.

  release.7:
  - Document VCSCMD.

r262505:
  In release/Makefile, remove exclusion of CVS directories in the
  src/ and ports/ distributions.

  While I am thinking about it, exclude .git directories for src/
  and ports/, as somewhat of a followup to r262499.

r262507:
  Chase r262505, and remove CVS exclusion from picobsd builds.

r262509:
  Rework how WORLD_FLAGS and KERNEL_FLAGS are set, to remove an
  unnecessary expr(1) call.

Sponsored by:	The FreeBSD Foundation
2014-03-05 00:45:28 +00:00
glebius
d06eb27738 Merge 261595: simplify the SYSCTL_COUNTER_U64() macro. 2014-03-04 14:23:58 +00:00
glebius
322a3c94d3 Merge 261593 from head:
Provide macros that allow easily export uma(9) zone limits and
  current usage via sysctl(9).
2014-03-04 14:21:07 +00:00
brooks
07e47bf403 MFC r261301 (notional merge):
Regenerate for WITHOUT_FMTREE and WITHOUT_NCURSESW

Large churn in comments due to regeneration with makeman script.

Sponsored by:	DARPA, AFRL
2014-03-01 04:44:33 +00:00
brooks
ac9b0c8c58 MFC r261299:
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.

Sponsored by:	DARPA, AFRL
2014-03-01 04:25:52 +00:00
brooks
12b5ca7c28 MFC r261296:
Merge from CheriBSD:
commit c1acf022c533c5ae27e0cd556977eafe3f5959eb
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date:   Fri Jan 17 21:46:44 2014 +0000

	Add an option WITHOUT_NCURSESW to suppress building and linking to
	libncursesw.  While wide character support it useful we'd like to
	only need one ncurses library on embedded systems.

Sponsored by:	DARPA, AFRL
2014-03-01 03:09:16 +00:00
eadler
7f44971ec5 MFC r262451:
hier(7): Add /usr/lib/private
2014-02-27 01:01:02 +00:00
dim
6cf335a1b4 MFC r262310:
Move the part in bsd.own.mk that sets -Wno-c++11-extensions for clang to
bsd.sys.mk, where it really belongs.  This also causes the flag to get
added when clang is *not* the default system compiler, but is still
used, e.g. by setting WITH_CLANG_IS_CC manually.
2014-02-24 21:22:44 +00:00
brueffer
00490717c0 MFC: r261549
Add a manpage for the urndis driver.

Obtained from:	OpenBSD
2014-02-23 20:13:01 +00:00
bdrewery
1aa40d8e49 MFC r261931,r261932:
Allow overriding rctl.conf(5) file location for /etc/rc.d/rctl

Approved by:	bapt (mentor, implicit)
2014-02-23 20:04:29 +00:00
brueffer
94cbf3e7dc MFC: r262243
Fix a cross-reference.
2014-02-23 09:44:30 +00:00
jhb
efa52be477 MFC 261518:
- Update a few places to account for va_copy().
- Create a separate 'return values' section and move some statements about
  return values to that section.
- Note that each invocation of va_start() and va_copy() must be paired with
  va_end() in the same function.
2014-02-18 20:16:32 +00:00
luigi
5bacc3bb87 MFH: sync the netmap code with the one in HEAD
(enhanced VALE switch, netmap pipes, emulated netmap mode).
See details in the log for svn 261909.
2014-02-18 05:01:04 +00:00
wblock
13fea399b5 MFC r261800:
Remove obsolete vnode(9) man page references.
2014-02-18 03:33:51 +00:00
markj
a3fafc30d3 MFC r258036:
Add IDs for the ASIX 88179 and 88178A USB to GigE adapters.

MFC r258331:
Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet
adapters. Both devices support Gigabit Ethernet and USB 2.0, and the AX88179
supports USB 3.0.

MFC r258617 (by lwhsu):
Also note to add xhci(4) to kernel configuration to utilize USB 3.0

MFC r258618 (by lwhsu):
Mention axge(4)
2014-02-17 22:40:05 +00:00
avg
22073dc5fc MFC r258713,262062: add taskqueue_drain_all 2014-02-17 15:32:08 +00:00
mav
3d0e3b0c68 MFC r261719:
Fix wrong device name in example.

PR:		docs/185602
Submitted by:	koitsu
2014-02-17 09:35:30 +00:00
kevlo
ecbaab7887 MFC r260444:
Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.

The origin of WEP comes from IEEE Std 802.11-1997 where it defines
whether the frame body of MAC frame has been encrypted using WEP
algorithm or not.
IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates
whether the frame is protected by a cryptographic encapsulation
algorithm.

Reviewed by:	adrian, rpaulo
2014-02-17 01:36:53 +00:00
brueffer
2aa710b77c MFC: r261838
Add a deprecation notice to nve.4 and Xref nfe.4.
2014-02-16 11:13:14 +00:00
brueffer
3d4647ec06 MFC: r261702
Update and sort the list of iwn(4) firmware.
2014-02-16 11:11:41 +00:00
brueffer
96706ee32d MFC: r261611
Add some context for the "kldload sem" command; minor other improvements.

PR:		183650
Submitted by:	Bjorn Heidotting
2014-02-14 08:29:00 +00:00
brueffer
498a399b3a MFC: r261584
In IPv6 code examples, use the correct v6 socket.
2014-02-14 08:20:32 +00:00
hselasky
eedfb76d37 MFC r261597, r261598 and r261599:
Apple touchpad manual page fixes:
- Add manual page for wsp driver
- Update atp driver manual page
- Install atp manual page for all platforms
2014-02-14 07:30:59 +00:00
kevlo
f6e16ffb73 MFC r259544, r259545, r259546, r259547, r259812, r259939, r260219, r260542,
r261118, r261124, r261330:

- Add support for the MediaTek/Ralink RT3593 chipset.
- Various minor USB WLAN fixes and improvements.
2014-02-14 03:45:49 +00:00
brueffer
754c7b8e2b MFC: r261494
Actually install acpi_rapidstart.4.
2014-02-11 08:08:53 +00:00
brueffer
0da6b7f0d9 MFC: r261339
MLINK ixgbe.4 to {if_ix.4, ix.4}.  An update for ixgbe.4
which deals with the "ix prefix being shared by two drivers"
situation is forthcoming.
2014-02-10 22:24:49 +00:00
skreuzer
df3ef14ce8 Merge /head:261072: Remove WITHOUT_ATF from src.conf.5
Approved by:	hrs (mentor)
2014-01-28 15:15:13 +00:00
glebius
3b6c6cb1cd Merge r258702: Fix some misinformation in netgraph manual pages. 2014-01-22 10:31:56 +00:00
glebius
34e36d1706 Merge r257846:
Make TCP_KEEP* socket options readable. At least PostgreSQL wants
  to read the values.
2014-01-22 10:08:33 +00:00
glebius
a86bc98471 Merge r257686: Add required kernel option. 2014-01-22 10:01:13 +00:00
glebius
018ed48113 Merge 257643: Document RB_FOREACH_SAFE() and RB_FOREACH_REVERSE_SAFE(). 2014-01-22 09:59:49 +00:00
bapt
bc9afa8bed MFH: r260483, r260484, r260594, r260595, r260596, r260597
Improve error message shown to the user when trying to load a module that is
already loaded or compiled withing the kernel
Point the user to dmesg(1) to get informations about why loading a module did fail
instead of printing the cryptic "Exec format error"
Update the BUGS section of kld(4) according the recent changes in kldload(8)
2014-01-20 14:37:02 +00:00
bryanv
ef8dde25f6 MFC r260581: Add sglist_append_bio(9) to append a struct bio's data to
a sglist
2014-01-18 18:36:41 +00:00
avg
c1dbdbde60 MFC r258622: dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINE 2014-01-17 10:58:59 +00:00
bdrewery
f8756761dd MFC r260605:
Remove scary comment about this being a test key.

  There has been no need to regenerate the signing key.

Early MFC as it is just a comment and needs to get into releng/10.0.

Approved by:	bapt (mentor, implicit)
2014-01-13 22:07:36 +00:00
dim
999774a8ef MFC r260102:
Similar to r260020, only use -fms-extensions with gcc, for all other
modules which require this flag to compile.  Use a GCC_MS_EXTENSIONS
variable, defined in kern.pre.mk, which can be used to easily supply the
flag (or not), depending on the compiler type.

MFC r260322:

In addition to r260102, also define GCC_MS_EXTENSIONS in bsd.sys.mk,
since kernel module builds do not use kern.pre.mk.
2014-01-09 22:40:51 +00:00
peter
85b22fcc3d Revert r258396 : teach iconv about a WCHAR_T pseudo-type 2014-01-03 23:36:03 +00:00
dim
5fce04bd49 MFC r257532 (by adrian):
Fix this build for clang.

MFC r259730:

To avoid having to explicitly test COMPILER_TYPE for setting
clang-specific or gcc-specific flags, introduce the following new
variables for use in Makefiles:

CFLAGS.clang
CFLAGS.gcc
CXXFLAGS.clang
CXXFLAGS.gcc

In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for
the right compiler.

MFC r259913:

For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc.

MFC r259927:

Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's
Makefile.

Pointy hat to:	dim
2013-12-30 20:15:46 +00:00
pluknet
1c55c369e7 MFC r259879: Clean up manual pages after BIND removal. 2013-12-30 13:05:19 +00:00
jmmv
908cb17891 Add sample test programs.
This is a MFC of the following into stable/10:
- r258299 Add some sample test programs.
- r258552 Generate plain sh test programs from a source file.

As usual, "make tinderbox" clean on ref10-amd64.
2013-12-29 12:30:06 +00:00
jmmv
b8ce141a40 Set up the /usr/tests hierarchy.
This is a MFC of the following into stable/10:
- r257097 Set up the /usr/tests hierarchy.
- r257098 Add missing WITHOUTTESTS file.
- r257100 Add a tests(7) manual page.
- r257105 Disable WITHTESTS= for now.
- r257848 Fix buildworld when WITHTESTS is enabled.
- r257850 Subsume the functionality of MKATF into MKTESTS.
- r257851 Handle the removal of the test suite when WITHOUTTESTS=yes.
- r257852 Install category Kyuafiles from their category directories.
- r258232 Install BSD.tests.mtree when MKTESTS is yes.

Note that building with WITH_TESTS is still broken at this point (and
hence why WITHOUT_TESTS is the set as the default).  Subsequent pullups
will fix the remaining issues.
2013-12-28 20:05:31 +00:00
jmmv
4fc4ae2567 Pull up fixes to allow building tests along scripts and data files.
MFC of the following into stable/10:
- r257095 Allow mixing bsd.files.mk with bsd.subdir.mk.
- r258095 Allow this (bsd.progs.mk) to work with fmake.
- r258330 Need to also test for defined(${v}_${PROG}) in bsd.progs.mk.
- r259209 Make bsd.progs.mk work in directories with SCRIPTS but no PROGS.

This is all 'make tinderbox' clean as run on ref10-amd64.
2013-12-28 16:08:10 +00:00
jmmv
4fa84cba37 MFC r257631: Add myself to the committers-src list and to the calendar. 2013-12-28 13:08:47 +00:00
jmmv
e125f95c9c Split and extend bsd.test.mk into {atf,plain,tap}.test.mk.
This is a MFC of:

- r256761 Clearly split the logic to build ATF and plain tests apart.
- r256762 Add the automatic generation of Atffile files.
- r256763 Add the automatic generation of Kyuafile files.
- r256764 Plug atf-run into the 'test' target.
- r256765 Plug kyua into the 'test' target.
- r257096 Move the TESTSBASE definition to bsd.own.mk.
- r257099 Add missing plain.test.mk.
- r258297 Remove registration of C++ test programs into PROGS.
- r258298 Fix the build of plain test programs.
- r258551 Install plain.test.mk.
- r259208 Add tap.test.mk.

Approved by:	rpaulo (mentor)
2013-12-27 22:00:22 +00:00