espie [Fri, 3 Jan 2014 13:26:24 +0000 (13:26 +0000)]
make sure elements are not set manually, namely forbid
@depend (use -P)
@wantlib (use -W)
@name (duh)
@arch
@localbase
@option manual-installation
@comment pkgpath=...
(some of this is actually redundant, but will give more explicit error
messages)
espie [Fri, 3 Jan 2014 13:12:35 +0000 (13:12 +0000)]
explain why digital-sig must be unique
espie [Fri, 3 Jan 2014 13:10:04 +0000 (13:10 +0000)]
finish moving annotations around
espie [Fri, 3 Jan 2014 12:54:59 +0000 (12:54 +0000)]
start moving internal annotations' description into package(5) proper,
pkg_create(1) should only document what users can use.
Accordingly, describe dependencies in terms of -P and -W directly.
pelikan [Fri, 3 Jan 2014 12:48:58 +0000 (12:48 +0000)]
Switch frequently allocated structs from malloc(M_DEVBUF) to separate pools.
ok henning, "looks fine" mikeb, input from guenther.
pelikan [Fri, 3 Jan 2014 12:43:09 +0000 (12:43 +0000)]
Make queues disappear correctly on interfaces being destroyed.
ok henning
jsing [Fri, 3 Jan 2014 10:32:44 +0000 (10:32 +0000)]
regen
jsing [Fri, 3 Jan 2014 10:31:09 +0000 (10:31 +0000)]
Fix previous commit, which clearly was not even compile tested, since it
broke the tree.
brad [Fri, 3 Jan 2014 05:52:03 +0000 (05:52 +0000)]
regen
brad [Fri, 3 Jan 2014 05:50:23 +0000 (05:50 +0000)]
Add some newer Intel wireless PCI ids from 2000, 2030, 135, 100, 3160
and 7265 controllers.
brad [Fri, 3 Jan 2014 05:05:38 +0000 (05:05 +0000)]
Add the second 7260 PCI id.
guenther [Fri, 3 Jan 2014 03:00:39 +0000 (03:00 +0000)]
Fix spelling in comments
deraadt [Thu, 2 Jan 2014 23:27:36 +0000 (23:27 +0000)]
crank version after random instruction fix from jsing
schwarze [Thu, 2 Jan 2014 22:44:07 +0000 (22:44 +0000)]
Avoid "utf8" in the names of a function and a struct member
that don't necessarily have anything to do with UTF-8.
Just renaming, no functional change.
schwarze [Thu, 2 Jan 2014 22:19:38 +0000 (22:19 +0000)]
Do not put UTF-8-encoded strings into the database by default, use ASCII.
Just like for mandoc(1), provide a -Tutf8 option for people who want that.
jmc [Thu, 2 Jan 2014 21:37:28 +0000 (21:37 +0000)]
update currency exchange rates;
jmc [Thu, 2 Jan 2014 21:16:37 +0000 (21:16 +0000)]
pesky double space;
schwarze [Thu, 2 Jan 2014 20:24:35 +0000 (20:24 +0000)]
Polish the mlink_add() interface:
Allocate memory inside, not in the callers.
No functional change.
espie [Thu, 2 Jan 2014 20:13:43 +0000 (20:13 +0000)]
simplify handling of special files some more, that stuff has fixed names
anyways
schwarze [Thu, 2 Jan 2014 18:51:51 +0000 (18:51 +0000)]
Check all MLINKS for consistency with the content of the manual page,
not just the first one. This doesn't change how the check is done,
but just which MLINKS are checked.
espie [Thu, 2 Jan 2014 18:19:46 +0000 (18:19 +0000)]
make the special file creation more explicit, so that the order actually
doesn't matter
miod [Thu, 2 Jan 2014 17:05:02 +0000 (17:05 +0000)]
LDFLAGS -> LDADD, fixes build on static arches.
espie [Thu, 2 Jan 2014 17:02:48 +0000 (17:02 +0000)]
Someone accidentally the verb (Henri Kemppainen)
espie [Thu, 2 Jan 2014 16:34:02 +0000 (16:34 +0000)]
display proper error messages for read/write.
after a lot of bickering with tedu...
"fine, fix it" tedu@
schwarze [Thu, 2 Jan 2014 16:29:46 +0000 (16:29 +0000)]
Since the functions in read.c are part of the mandoc(3) library,
do not print to stderr. Instead, properly use the mmsg callback.
Issue noticed by Abhinav Upadhyay <er dot abhinav dot upadhyay
at gmail dot com> and Thomas Klausner <wiz at NetBSD>.
espie [Thu, 2 Jan 2014 16:27:10 +0000 (16:27 +0000)]
be more explicit in why we don't write DESC
return early instead of adding an extra level of test.
espie [Thu, 2 Jan 2014 16:05:42 +0000 (16:05 +0000)]
zap PKG_PREFIX (undocumented and unused, now)
okay landry@
syl [Thu, 2 Jan 2014 15:39:12 +0000 (15:39 +0000)]
Call fuse callbacks on FBT_INIT and FBT_DESTROY.
Issue reported by Helg Bredow, thanks!
With inputs from tedu@
ok tedu@
aoyama [Thu, 2 Jan 2014 15:30:34 +0000 (15:30 +0000)]
Add primary support for LUNA-88K 4bpp/8bpp frame buffer.
This brings color support on LUNA's wscons. And, with the help of recent
development version of 'mlterm-fb' (frame buffer version of ports/x11/mlterm),
graphic images can be displayed in 16/256 colors on the screen. Thanks to
arakiken, the original developer of mlterm!
This diff is based on NetBSD/luna68k work:
http://mail-index.netbsd.org/source-changes/2013/12/28/msg050266.html
Need more work to coexist with the monochrome X.Org server.
"go ahead!" miod@
espie [Thu, 2 Jan 2014 15:01:37 +0000 (15:01 +0000)]
Document new options related to signatures
espie [Thu, 2 Jan 2014 13:45:14 +0000 (13:45 +0000)]
adapt to signify changes
allow a separate key for firmwares
dtucker [Thu, 2 Jan 2014 11:06:22 +0000 (11:06 +0000)]
mention hardware vlan support for 6105M chips. ok sthen@
gilles [Thu, 2 Jan 2014 08:00:35 +0000 (08:00 +0000)]
disable MSI for Samsung XP941.
This is so I can use the machine to figure out the others things on it,
the quirk will go away when interrupt routing gets fixed.
ok dlg@, jmatthew@
gilles [Thu, 2 Jan 2014 07:43:14 +0000 (07:43 +0000)]
sync
gilles [Thu, 2 Jan 2014 07:42:33 +0000 (07:42 +0000)]
add vendor and product
ok dlg@
jsing [Thu, 2 Jan 2014 04:39:56 +0000 (04:39 +0000)]
Simplify things slightly by using four byte indexing.
jsing [Thu, 2 Jan 2014 04:23:57 +0000 (04:23 +0000)]
Ensure that we preserve callee-save registers.
jsg [Thu, 2 Jan 2014 04:23:35 +0000 (04:23 +0000)]
enable beep controls on ALC221 and ALC269 as well
seems to be required when tested here
jsg [Thu, 2 Jan 2014 03:05:20 +0000 (03:05 +0000)]
enable beep and CD controls on ALC282
from and tested by Mark Rowland
deraadt [Thu, 2 Jan 2014 00:03:04 +0000 (00:03 +0000)]
loadrandom() status should be ignored, so that we do not loop.
issue reported by halex
miod [Wed, 1 Jan 2014 22:15:18 +0000 (22:15 +0000)]
Remove __HAVE_PMAP_PHYSSEG support, nothing uses it anymore.
miod [Wed, 1 Jan 2014 22:13:52 +0000 (22:13 +0000)]
Switch alpha to __HAVE_VM_PAGE_MD. From NetBSD.
tedu [Wed, 1 Jan 2014 17:50:33 +0000 (17:50 +0000)]
revert to mostly lowercase options, with uppercase for actions.
ok deraadt espie naddy. wth man tweaks from jmc
pelikan [Wed, 1 Jan 2014 17:46:43 +0000 (17:46 +0000)]
Destroy the eligible list when detaching from an interface.
ok henning
tobias [Wed, 1 Jan 2014 16:17:55 +0000 (16:17 +0000)]
Fixed typos and style.
ok jmc@
mcbride [Wed, 1 Jan 2014 09:24:54 +0000 (09:24 +0000)]
Fix 'make bsd.umg' by skipping PT_OPENBSD_RANDOMIZE segments, as well as
other innocuous segment types (PT_NOTE, PT_NULL). Handle PT_LOAD, fail on
any others.
Thanks kettenis and millert for feedback
ok deraadt
miod [Wed, 1 Jan 2014 08:02:09 +0000 (08:02 +0000)]
fix header to get symbols loaded correctly
miod [Wed, 1 Jan 2014 07:54:15 +0000 (07:54 +0000)]
Add a linker script to force the .openbsd.randomdata section to be put after
.data, so that it will not get mapped read-only by pmap_bootstrap().
fgsch [Wed, 1 Jan 2014 07:08:10 +0000 (07:08 +0000)]
copyright++
kettenis [Tue, 31 Dec 2013 23:31:13 +0000 (23:31 +0000)]
Remove #ifdef _REENTRANT code that isn't used here. These days, the code
handling per-thread errno lives in librthread.
ok miod@, espie@
brad [Tue, 31 Dec 2013 21:09:34 +0000 (21:09 +0000)]
tedu the diagnostic code to detect the presence of the defective Xterasys XN-152
32-bit PCI NIC in a 64-bit PCI slot. The code has never been enabled, never will
be and is unused / unmaintained. Update the man page to not indicate there is a
possibility of the driver detecting this hardware issue.
Input about the man page and Ok chris@
brad [Tue, 31 Dec 2013 20:37:59 +0000 (20:37 +0000)]
regen
brad [Tue, 31 Dec 2013 20:37:38 +0000 (20:37 +0000)]
another MCP61 id
schwarze [Tue, 31 Dec 2013 19:39:09 +0000 (19:39 +0000)]
Yet another regression introduced by Kristaps when he switched from
Berkeley DB to SQLite3: In the .In parser, the logic got inverted.
The resulting NULL pointer access was found by clang;
scan log provided by Ulrich Spoerlein <uqs at FreeBSD>.
The best fix is to simply remove the whole, pointless custom
handler function for .In and let the framework do its work.
Now searching for included header files actually works.
While here, remove the similarly pointless custom .St handler,
fix the return value of the .Fd handler and disentangle the
spaghetti in the .Nm handler.
jmc [Tue, 31 Dec 2013 18:18:36 +0000 (18:18 +0000)]
zap an erroneous space in "input .sig" (should be input.sig, with .sig not
marked up;
schwarze [Tue, 31 Dec 2013 18:07:06 +0000 (18:07 +0000)]
remove assignments that will be overwritten right afterwards,
and remove pointless local variables;
found in a clang output from Ulrich Spoerlein <uqs at FreeBSD>
jmc [Tue, 31 Dec 2013 17:33:17 +0000 (17:33 +0000)]
various tweaks; ok tedu
todd [Tue, 31 Dec 2013 15:36:04 +0000 (15:36 +0000)]
sync
schwarze [Tue, 31 Dec 2013 15:15:47 +0000 (15:15 +0000)]
Oops, add missing end of block.
schwarze [Tue, 31 Dec 2013 15:13:25 +0000 (15:13 +0000)]
Add missing description of .UR/.UE.
While here, also add .EX/.EE and .PD to the MACRO SYNTAX table.
ratchov [Tue, 31 Dec 2013 12:27:49 +0000 (12:27 +0000)]
Drop blocks and instert silence immediately in the socket rx/tx code
path rather than waiting for the next device cycle. This fixes deadocks
when the slot uses the SIO_SYNC mode.
ratchov [Tue, 31 Dec 2013 12:24:55 +0000 (12:24 +0000)]
round client block size to nearest possble
espie [Tue, 31 Dec 2013 11:24:55 +0000 (11:24 +0000)]
... and rename this too
espie [Tue, 31 Dec 2013 11:21:10 +0000 (11:21 +0000)]
signify support
espie [Tue, 31 Dec 2013 11:03:53 +0000 (11:03 +0000)]
nit
matthieu [Tue, 31 Dec 2013 07:16:50 +0000 (07:16 +0000)]
Fix after struct wscons_event size change.
ok deraadt@
mcbride [Tue, 31 Dec 2013 07:15:57 +0000 (07:15 +0000)]
s/hphdr/phdr/ to fix compile with DEBUG
ok miod
guenther [Tue, 31 Dec 2013 04:07:34 +0000 (04:07 +0000)]
Don't consider ld.so to be successfully built unless a test program
using it works, because seeing "make build" fail right after it
installs a broken ld.so is *#!&%(@*)# annoying.
Presumably needs to be fixed for cross-builds.
ok matthew@ deraadt@ miod@
tedu [Tue, 31 Dec 2013 04:03:23 +0000 (04:03 +0000)]
document file format
tedu [Tue, 31 Dec 2013 03:54:05 +0000 (03:54 +0000)]
another last minute bug i introduced. found by jturner
schwarze [Tue, 31 Dec 2013 03:41:09 +0000 (03:41 +0000)]
Experimental feature to let apropos(1) show different keys than .Nd.
This really takes us beyond what grep -R /usr/*/man/ can do
because now you can search for pages by *one* criterion and then
display the contents of *another* macro from those pages, like in
$ apropos -O Ox Fa~wchar
to get an impression how long wide character handling is available.
tedu [Tue, 31 Dec 2013 03:24:44 +0000 (03:24 +0000)]
bcopy -> memcpy. reviewed with one fix from matthew
tedu [Tue, 31 Dec 2013 03:23:41 +0000 (03:23 +0000)]
update usage
tedu [Tue, 31 Dec 2013 03:08:48 +0000 (03:08 +0000)]
wha! commit a working version
tedu [Tue, 31 Dec 2013 03:03:32 +0000 (03:03 +0000)]
add signify, a tool to sign and verify signatures.
man page and error message help from espie
other feedback from deraadt djm mikeb
schwarze [Tue, 31 Dec 2013 02:42:20 +0000 (02:42 +0000)]
Split buildnames() out of mansearch(); the latter function is getting
too long and unwieldy, but will grow more code soon. No functional change.
tedu [Tue, 31 Dec 2013 02:32:56 +0000 (02:32 +0000)]
don't try writing past the end unless we have to
ok gilles millert
schwarze [Tue, 31 Dec 2013 00:40:19 +0000 (00:40 +0000)]
Replace the Berkeley-DB based mandocdb(8) by an SQLite3-based version,
aiming for more flexible development and optimization options.
Kristaps started this during the summer 2012, i did some very heavy
bugfixing during t2k13 and finally, during the last few days,
got it to a state where it is ripe for in-tree development.
Beware, neither the user interfaces nor the database formats
are expected to be stable just yet.
Will not be installed or activated until further discussion.
No functional change to mandoc(1).
"As long as it remains off until we decide the cost, fine." deraadt@
djm [Mon, 30 Dec 2013 23:52:27 +0000 (23:52 +0000)]
refuse RSA keys from old proprietary clients/servers that use the
obsolete RSA+MD5 signature scheme. it will still be possible to connect
with these clients/servers but only DSA keys will be accepted, and we'll
deprecate them entirely in a future release. ok markus@
brad [Mon, 30 Dec 2013 22:35:29 +0000 (22:35 +0000)]
Add support for newer integrated Realtek PHY.
Tested with 8168G controllers.
brad [Mon, 30 Dec 2013 22:25:25 +0000 (22:25 +0000)]
Have rgephy(4) always use RL_GMEDIASTAT to retrieve the link/media status
when attached to re(4), as was done before rev 1.25 which was intended to
fix rgephy(4) with external PHY with MACs other than re(4). This is to
fix operation with some integrated PHY on re(4) where the PHY Specific
Status register does not work properly and the link cannot be established.
From FreeBSD and matches what the Linux driver does.
Tested on a number of newer re(4) with PHYs rev 2, 4 and 5 and
newer integrated PHY with the 8168G controllers.
deraadt [Mon, 30 Dec 2013 22:01:23 +0000 (22:01 +0000)]
Do not leak symtab fd (if at fd limit might even prevent correct operation)
from Loganaden Velvindron
deraadt [Mon, 30 Dec 2013 21:58:07 +0000 (21:58 +0000)]
When a function does not obviously terminate itself, it is good practice
to clean up a bit.
deraadt [Mon, 30 Dec 2013 21:52:21 +0000 (21:52 +0000)]
memory leak, Coverity CID 1748, Loganaden Velvindron
jmc [Mon, 30 Dec 2013 19:22:08 +0000 (19:22 +0000)]
last entry in SEE ALSO should not end with a comma;
rpe [Mon, 30 Dec 2013 19:04:56 +0000 (19:04 +0000)]
- the hint to symlink to upgrade.conf belongs to the install.conf example
- zap reference to pxeboot(8), diskless(8) has all the info
ok jmc@ halex@
brad [Mon, 30 Dec 2013 18:47:45 +0000 (18:47 +0000)]
Expand the MSI support to cover most of the remaining bge(4) chipsets with the
exception being the BCM5714 family for now.
Tested on a variety of newer chipsets.
ok sthen@
schwarze [Mon, 30 Dec 2013 18:42:55 +0000 (18:42 +0000)]
Oops, missed one:
Remove duplicate const specifier from a call to mandoc_escape().
Found by Thomas Klausner <wiz at NetBSD dot org> using clang.
No functional change.
schwarze [Mon, 30 Dec 2013 18:27:15 +0000 (18:27 +0000)]
Remove duplicate const specifiers from the declaration of mandoc_escape().
Found by Thomas Klausner <wiz at NetBSD dot org> using clang.
No functional change.
espie [Mon, 30 Dec 2013 12:43:17 +0000 (12:43 +0000)]
Document SIGNING_PARAMETERS
jsg [Mon, 30 Dec 2013 10:53:30 +0000 (10:53 +0000)]
Enable snooping on Lynx Point-LP HD Audio.
Fixes audio problems on an Acer Aspire E1 572G
reported by Mark Rowland.
kettenis [Mon, 30 Dec 2013 10:30:00 +0000 (10:30 +0000)]
Recognize PT_OPENBSD_RANDOMIZE in linker scripts.
ok miod@, matthew@
schwarze [Mon, 30 Dec 2013 09:47:43 +0000 (09:47 +0000)]
Support .St -p1003.1-2013, "IEEE Std 1003.1-2008/Cor 1-2013".
Note that the POSIX-2008 standard remains in force, so please refrain
from wholesale 2008 -> 2013 replacements. Make sure to only use the
new -p1003.1-2013 argument for cases where "IEEE Std 1003.1(TM)-2008/
Cor 1-2013, IEEE Standard for Information Technology--Portable
Operating System Interface (POSIX(R)), Technical Corrigendum 1"
actually changes something in the standard with respect to the
specific function documented in the manual you touch. Otherwise,
please continue using .St -p1003.1-2008.
Triggered by a similar, but slightly incorrect patch from jmc@;
ok guenther@.
espie [Mon, 30 Dec 2013 09:14:49 +0000 (09:14 +0000)]
@vendor annotation
espie [Mon, 30 Dec 2013 09:02:37 +0000 (09:02 +0000)]
use replacing method (and not var)
espie [Mon, 30 Dec 2013 09:01:30 +0000 (09:01 +0000)]
explicitly fix the PATH to something sensible
move "replacing" to a method, so that it can be more specific later.
aoyama [Mon, 30 Dec 2013 07:33:40 +0000 (07:33 +0000)]
Correct initialization of Bt458, used in LUNA's 8bpp frame buffer.
According to the manual, the address register does not automatically
increment when we access to the control registers. Also we disable
overlay planes, because we do not use them.
This diff should be one of preliminaries for upcoming colored wscons on
luna88k.
ok miod@
miod [Mon, 30 Dec 2013 05:27:01 +0000 (05:27 +0000)]
Fix IOC4DEV_xxx numbers, so that devices besides the first two serial ports
actually handle their own interrupts. How could this get unnoticed so far?
krw [Mon, 30 Dec 2013 03:36:17 +0000 (03:36 +0000)]
Replace yet another hand-rolled list with a TAILQ. reject_list this
time.
brad [Mon, 30 Dec 2013 02:10:58 +0000 (02:10 +0000)]
Add Broadcom BCM57764, BCM57767 and BCM57787 PCI ids.