CVS: cvs.openbsd.org: src

2018-12-12 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/12/12 09:36:19

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
document show-indexed



CVS: cvs.openbsd.org: src

2018-12-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/12/12 07:19:15

Modified files:
sys/net: if_bridge.c bridgectl.c 

Log message:
Various cleanups:

- Unify the two hooks by passing the same argument
- Check for nullity before dereferencing `if_bridgeport', this will
matter when we go MP
- Use the same pattern to find a member in the ioctl path

ok bluhm@, visa@



CVS: cvs.openbsd.org: www

2018-12-12 Thread Denis Fondras
CVSROOT:/cvs
Module name:www
Changes by: de...@cvs.openbsd.org   2018/12/12 10:12:51

Modified files:
.  : 65.html 

Log message:
mention MPLS filtering



CVS: cvs.openbsd.org: src

2018-12-12 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/12/12 10:55:28

Modified files:
usr.bin/kdump  : kdump.1 kdump.c 

Log message:
allow reading from stdin with -f -.
ok kn



CVS: cvs.openbsd.org: src

2018-12-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/12/12 14:54:30

Modified files:
usr.bin/mandoc : eqn.c mandoc.h out.c roff.c tbl.c tbl_data.c 
 tbl_html.c tbl_layout.c tbl_opts.c tbl_term.c 
 tree.c 
Added files:
usr.bin/mandoc : tbl.h 

Log message:
Cleanup, no functional change:
No need to expose the tbl(7) syntax tree data structures everywhere.
Move them to their own include file, "tbl.h", and improve comments.



CVS: cvs.openbsd.org: src

2018-12-12 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/12/12 14:28:39

Modified files:
usr.sbin/smtpd : smtpd.h 

Log message:
remove unused prototypes



CVS: cvs.openbsd.org: src

2018-12-12 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/12/12 13:12:03

Modified files:
lib/libpcap: pcap.3 

Log message:
some pcap_setdirection details; from jan stary
ok djm



CVS: cvs.openbsd.org: src

2018-12-12 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2018/12/12 14:20:57

Modified files:
usr.sbin/vmd   : loadfile_elf.c 

Log message:
Simplify mbzero() by using mem_write with a NULL buf which does zero out
all memory at once without having to use a zero buffer.
OK mlarkin@



CVS: cvs.openbsd.org: src

2018-12-12 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/12/12 13:21:04

Modified files:
share/man/man7 : tbl.7 
usr.sbin/bgpctl: bgpctl.8 
usr.sbin/smtpd : smtpd.conf.5 

Log message:
zap trailing whitespace;



CVS: cvs.openbsd.org: src

2018-12-12 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2018/12/12 14:19:22

Modified files:
usr.sbin/vmd   : loadfile_elf.c 

Log message:
Set the com speed to 115200 like we do in our bootloader when using SeaBIOS.
OK mlarkin@



CVS: cvs.openbsd.org: src

2018-12-12 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/12/12 14:27:49

Modified files:
usr.sbin/smtpd : lka.c lka_report.c report_smtp.c smtp_session.c 
 smtpd.h 

Log message:
add tx-data reporting event



CVS: cvs.openbsd.org: src

2018-12-12 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2018/12/12 16:20:38

Modified files:
etc: unbound.conf 

Log message:
add commented-out "val-log-level: 2" next to the uncommentable line to
enable dnssec validation, it's really useful for debug



CVS: cvs.openbsd.org: src

2018-12-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/12/12 19:05:57

Modified files:
usr.bin/mandoc : libroff.h roff.c roff.h tbl.c tbl_data.c 
 tbl_layout.c tbl_opts.c 
Added files:
usr.bin/mandoc : tbl_int.h tbl_parse.h 

Log message:
Cleanup, no functional change:
Move tbl(7)-specific parser internals out of libroff.h.
Move some tbl(7)-internal processing from roff.c to tbl.c.



CVS: cvs.openbsd.org: src

2018-12-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/12/12 20:40:09

Modified files:
usr.bin/mandoc : eqn.c roff.c 
Added files:
usr.bin/mandoc : eqn_parse.h 
Removed files:
usr.bin/mandoc : libroff.h 

Log message:
Cleanup, no functional change:
In libroff.h, nothing was left except the eqn(7) parser interface, which
isn't really part of the roff(7) parser, so rename it to eqn_parse.h.

While here, move struct eqn_def to eqn.c because that's the only
file using it, and let eqn_box_free() and eqn_free() handle NULL.



CVS: cvs.openbsd.org: src

2018-12-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/12/12 22:13:15

Modified files:
usr.bin/mandoc : eqn.c eqn_html.c eqn_parse.h eqn_term.c 
 mandoc.h roff.c tree.c 
Added files:
usr.bin/mandoc : eqn.h 

Log message:
Cleanup, no functional change:
No need to expose the eqn(7) syntax tree data structures everywhere.
Move them to their own include file, "eqn.h".
While here, delete the unused enum eqn_pilet.



CVS: cvs.openbsd.org: src

2018-12-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/12/12 23:17:17

Modified files:
usr.bin/mandoc : read.c roff.h roff_int.h 

Log message:
Cleanup, no functional change:
Move the roffhash_*() functions from roff.h to roff_int.h
because they are only intended for use by parsers,
neither by main programs nor by formatters.



CVS: cvs.openbsd.org: src

2018-12-12 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/12/12 23:51:52

Modified files:
usr.sbin/vmctl : vmctl.8 

Log message:
various minor tweaks; ok mlarkin



CVS: cvs.openbsd.org: src

2018-12-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/12/13 00:29:35

Modified files:
usr.bin/mandoc : att.c 

Log message:
libmdoc.h no longer needs mdoc.h



CVS: cvs.openbsd.org: src

2018-12-12 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/12/12 23:47:36

Modified files:
lib/libpcap: pcap.3 

Log message:
further document pcap_dump; from jan stary
text tweaked and ok djm



CVS: cvs.openbsd.org: src

2018-12-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/12/13 00:25:38

Modified files:
usr.bin/mandoc : st.c 
Removed files:
usr.bin/mandoc : st.in 

Log message:
Cleanup, no functional change:
Finally merge the pointless file st.in into st.c.
Nobody should do operating systems dependent changes to standards:
By definition, standards are the same for every operating system.
While here, libmdoc.h no longer requires mdoc.h.



CVS: cvs.openbsd.org: src

2018-12-12 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/12/12 03:50:04

Modified files:
usr.sbin/smtpd : smtp_session.c 

Log message:
upon MAIL or RCPT errors, only trigger report_smtp_tx_{mail,rcpt} events if
error happened within an SMTP transaction.



CVS: cvs.openbsd.org: src

2018-12-12 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/12/12 07:11:03

Modified files:
usr.sbin/pkg_add/OpenBSD: UpdateSet.pm 

Log message:
moving handles to kept means they're not affected by complete_set, which
means that they won't get their dependency information. But if they're
in kept, they're actually installed so make sure they have a location.

This will let pkg_add   always follow dependencies for all sets even if
there's nothing to directly install



CVS: cvs.openbsd.org: src

2018-12-12 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/12/12 07:14:39

Modified files:
regress/usr.sbin/pkg_add: Makefile 

Log message:
+nettle-bug now that the fix has been committed



CVS: cvs.openbsd.org: src

2018-12-12 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/12/12 07:14:06

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgAdd.pm 

Log message:
even when there's no update needed, respect dependency chain order.

More specifically, the set currently being installed won't be affected,
but shared libraries may be reached through a long dependency chain,
so they actually require "full" dependency ordering.

This fixes the libnettle issue reported by jca@ (see regress)

okay aja@, sthen@



CVS: cvs.openbsd.org: src

2018-12-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/12/12 07:15:35

Modified files:
sys/kern   : sysv_shm.c 

Log message:
free(9) sizes for sysv shm.

ok bluhm@, visa@



CVS: cvs.openbsd.org: src

2018-12-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/12/12 07:15:00

Modified files:
sys/kern   : sysv_sem.c 

Log message:
free(9) sizes for SVID semaphores.

ok bluhm@, visa@