Commit Graph

11725 Commits

Author SHA1 Message Date
Michael Tuexen
8109120283 Fix a bug reported by coverity. Since AF_UNIX sockets don't
have multiple addresses, the problem didn't show up during testing.

Reported by:	Coverity
CID:		1306787
2015-06-18 13:45:07 +00:00
Jose Alonso Cardenas Marquez
f3c1b07a05 - Add acm@ entry 2015-06-17 02:43:20 +00:00
Simon J. Gerraty
2ef6d5a7b9 new depends 2015-06-16 23:37:19 +00:00
Warner Losh
32c88b5252 Remove old fmake. It wasn't built by default for some time. Users that
really need it can find it in the devel/fmake port or pkg install fmake.
Note: This commit is orthogonal to the question 'can we fmake buildworld'.

Differential Revision: https://reviews.freebsd.org/D2840
2015-06-16 20:58:33 +00:00
Simon J. Gerraty
a35ae8de0a Remove extra blank lines 2015-06-15 22:04:29 +00:00
Baptiste Daroussin
d9c8ae62f4 Convert to LIBADD 2015-06-15 21:20:52 +00:00
Simon J. Gerraty
cdea5d8c84 Pay attention to MK_ELFTOOLCHAIN_TOOLS so we build the desired tools. 2015-06-15 20:11:15 +00:00
Craig Rodrigues
9d6690e038 Add ioctl.c, linux_syscalls.c, linux32_syscalls.c to beforedepend target.
These files need to be generated before mkdep is run.
2015-06-15 06:48:43 +00:00
Craig Rodrigues
dc7fc2cad8 Use cpp -I$includedir
"cpp -I$1" was expanding to "cpp -Iprint"
which was not the proper directory
of header files.
2015-06-15 06:44:22 +00:00
Simon J. Gerraty
d5e71581dd NO_WARNS when building for host 2015-06-14 03:34:09 +00:00
Simon J. Gerraty
c090bf86eb Need to provide -I for meta mode 2015-06-14 03:32:49 +00:00
Simon J. Gerraty
e19b02fbf6 Create proper targets for linux*syscalls.c 2015-06-14 03:30:39 +00:00
Michael Tuexen
f03482d48e When using -L the code skips a socket if the local or foreign
address is loopback. So it is shown if both are not loopback.
The man page says that it is shown if the local or foreign
address is not loopback. Change the man page to reflect the
code.

MFC after: 3 days
2015-06-13 20:15:44 +00:00
Michael Tuexen
d5b4aa9075 Add support for SCTP.
MFC after: 3 days
2015-06-13 20:11:02 +00:00
Michael Tuexen
e6f718c750 Allow more than one local or remote address per socket. This is needed to
support SCTP (and MPTCP in the future). No functional change for existing
protocols.

MFC after: 3 days
2015-06-13 20:05:20 +00:00
Michael Tuexen
7e80c6b0e2 Allow more than one socket entry for a file descriptor. This is needed
for supporting 1-to-many style SCTP sockets. For other sochets, there
is no functional change.

MFC after: 3 days
2015-06-13 20:01:54 +00:00
Michael Tuexen
baa7f281a3 Simplify printaddr(). No functional change.
MFC after: 3 days
2015-06-13 19:56:04 +00:00
Simon J. Gerraty
ccfb965433 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
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
bd831db65c Misc fixes from projects/bmake
Differential Revision:       D2748
Reviewed by: brooks imp
2015-06-11 21:13:05 +00:00
Marcel Moolenaar
c9f3108294 Update tests after sizing changes to the fixed VHD format. 2015-06-11 15:19:59 +00:00
Marcel Moolenaar
f863f42be3 Handle the case in which ncyls is 0.
While here, update copyright.
2015-06-11 15:18:54 +00:00
Marcel Moolenaar
2697d1ee89 For the fixed VHD format, round the raw image size to the next
multiple of the cylinder size. This is what qemu-img seems to
be doing. Make sure to handle boundary cases where increasing
the image size by 1 cyclinder's worth would also result in a
change of geometry.
2015-06-11 14:30:31 +00:00
Simon J. Gerraty
728d82cdd2 Use INCLUDEDIR rather than hard coded /usr/include
Differential Revision:	D2748
Reviewed by:	brooks imp
2015-06-11 14:25:53 +00:00
Simon J. Gerraty
5b381db8cc Remove NO_OBJ
For meta mode we will want objdirs.

Differential Revision:	D2748
Reviewed by:	brooks imp
2015-06-11 04:22:17 +00:00
Simon J. Gerraty
128a410505 Merge bmake-20150606
Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.
2015-06-11 04:00:22 +00:00
Christian Brueffer
6b3027cb42 Correct Hawaii's admission day.
PR:		192651
MFC after:	1 week
2015-06-11 00:12:33 +00:00
Simon J. Gerraty
87750562a1 Avoid bogus MLINKS when MK_LZMA_SUPPORT=yes and MK_BSD_GREP=no 2015-06-08 23:37:17 +00:00
Simon J. Gerraty
44d314f704 dirdeps.mk now sets DEP_RELDIR 2015-06-08 23:35:17 +00:00
Marcel Moolenaar
529b5c137e Move contrib/top/top.X to contrib/top/top.xs and move
contrib/top/top.local.H to contrib/top/top.local.hs.
This fixes a build breakage when src is on a case-
insensitive file system -- we never properly create
top.x nor top.local.h. Change the makefile accordingly.

MFC after:	3 days
2015-06-08 19:45:24 +00:00
Baptiste Daroussin
1e38e9cdd3 Readd the warning level gcc 4.2 still complains 2015-06-06 19:43:41 +00:00
Baptiste Daroussin
f41337c150 Add const to the copyright variable
Bump WARNS to level 2
2015-06-06 13:13:39 +00:00
Baptiste Daroussin
f692ba0712 Remove WARNS keylogin build fine with clang and gcc 2015-06-06 13:09:49 +00:00
Baptiste Daroussin
b492c4f15f Bump WARNS level to 1 2015-06-06 13:08:48 +00:00
Baptiste Daroussin
a2ca3324e2 Remove unused variable 2015-06-06 13:08:31 +00:00
Baptiste Daroussin
ff2f1f842b Make global variables static
Remove WARNS from Makefile
2015-06-06 12:43:05 +00:00
Baptiste Daroussin
b5d848796b Bump level WARNINGS to 3 2015-06-06 12:41:25 +00:00
Baptiste Daroussin
1fbc22f5ed Make global variables static
Remove WARNS from Makefile
2015-06-06 12:39:00 +00:00
Baptiste Daroussin
66a86d242f Remove WARNS vtfontcvt builds find with clang and gcc with maximum level warning 2015-06-06 12:34:59 +00:00
Baptiste Daroussin
5e53ab6d17 Fix history 2015-06-06 12:10:10 +00:00
Baptiste Daroussin
47d53ed242 Fix HISTORY and add AUTHORS section
Obtained from:	OpenBSD (by schwarze@)
2015-06-06 12:08:10 +00:00
Baptiste Daroussin
490f43697b Fix history, add AUTHORS section
Obtained from:	OpenBSD (by schwarze@)
2015-06-06 12:04:38 +00:00
Baptiste Daroussin
cf58cb8d24 Complete documenting the HISTORY
Obtained from:	OpenBSD (by schwarze@)
2015-06-06 12:01:35 +00:00
Baptiste Daroussin
634a59c18b Fix history (appeared in 1BSD)
Obtained from:	OpenBSD (by schwarze@)
2015-06-06 11:58:19 +00:00
Baptiste Daroussin
626f466667 Complete documenting the HISTORY of what remains of the 1BSD heritage
Obtained from:	OpenBSD (by schwarze@)
2015-06-06 11:55:35 +00:00
Baptiste Daroussin
8b912b6ce9 Fix history: colrm(1) appeared in 1BSD not 3.0BSD
Add Author section

Obtained from:	OpenBSD (change by schwarze@)
2015-06-06 11:42:43 +00:00
Baptiste Daroussin
b1998e6914 Fix some clang warnings:
Add missing headers
Add parenthesis when using the result of an assignment as a condition
2015-06-05 21:45:35 +00:00
Baptiste Daroussin
a0c5c03b66 Fix typos 2015-06-05 21:35:20 +00:00
Baptiste Daroussin
09faefdd44 Replace the gunzip(1) system by a minimalistic zlib based implementation.
This allows to not depend on gunzip(1) at bootstrap time, and is good enough to
wait for upstream real implementation using zlib.
2015-06-03 13:32:28 +00:00
Baptiste Daroussin
8faa40d1a0 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
2015-05-30 17:41:37 +00:00
John Baldwin
696bb6cedf Trim spurious colon. 2015-05-27 19:49:33 +00:00