CVS: cvs.openbsd.org: xenocara

2012-01-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2012/01/27 00:07:43

Modified files:
lib/libGL/dri/radeon: Makefile 

Log message:
radeon_dri.so  needs the radeon_drm library, like the other
Mesa radeon drivers. From oga@.



CVS: cvs.openbsd.org: src

2012-01-26 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2012/01/26 16:59:28

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

Log message:
in session_read_data() do NOT enable back read event otherwise it will
corrupt the session and cause a fatal.

reported by Roman Kravchuk, with this diff in OpenSMTPD survives again the
evil smtp_tester.py :-p



CVS: cvs.openbsd.org: src

2012-01-26 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2012/01/26 17:01:04

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

Log message:
that log_debug is no longer needed



CVS: cvs.openbsd.org: src

2012-01-26 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2012/01/26 16:18:08

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

Log message:
Do not call session_respond() AND session_imsg() from the same handler as
they are exclusive. In the quit handler, it will lead to a corrupted
session as the F_QUIT is set and session_respond() will kill the session
before session_imsg() is done.

For now, comment session_imsg(IMSG_MFA_QUIT) as we don't have filters
enabled anyways. The proper fix will be to have session_imsg() called
from the handler THEN upon return in smtp process do the session_respond()
call.

Fixes a segv reported by Roman Kravchuk. While at it, revert my last commit
in session_error() which was probably needed because of this bug.



CVS: cvs.openbsd.org: src

2012-01-26 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2012/01/26 15:46:32

Modified files:
distrib/sets/lists/base: mi 
distrib/sets/lists/man: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2012-01-26 Thread Alexander Hall
CVSROOT:/cvs
Module name:src
Changes by: ha...@cvs.openbsd.org   2012/01/26 13:20:18

Modified files:
usr.sbin/fw_update: fw_update.sh 

Log message:
closing fd 0-2 is bad practice, so dup to /dev/null instead

ok krw@



CVS: cvs.openbsd.org: src

2012-01-26 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2012/01/26 13:16:06

Modified files:
sys/net: pf.c pf_norm.c pfvar.h 

Log message:
Clean up the pf normalization code:
- Let pf_normalize_ip() and pf_normalize_ip6() take the struct
pf_pdesc pd as argument.
- Always check wether the mbuf got NULL after normalization to make
the code more robust.
- Make the code structure of pf_normalize_ip6() more like
pf_normalize_ip() to make the differences obvious.
ok henning@



CVS: cvs.openbsd.org: src

2012-01-26 Thread David Hill
CVSROOT:/cvs
Module name:src
Changes by: dh...@cvs.openbsd.org   2012/01/26 13:05:22

Modified files:
share/man/man5 : login.conf.5 

Log message:
mention YubiKey support.

ok jmc@



CVS: cvs.openbsd.org: src

2012-01-26 Thread David Hill
CVSROOT:/cvs
Module name:src
Changes by: dh...@cvs.openbsd.org   2012/01/26 11:45:41

Modified files:
etc/mtree  : 4.4BSD.dist 
libexec: Makefile 

Log message:
hook login_yubikey to the build

ok deraadt



CVS: cvs.openbsd.org: src

2012-01-26 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2012/01/26 11:19:59

Modified files:
sys/net: pf.c 

Log message:
Minor fixes for pf_walk_header6():
- Fragment offset is in network byte order.
- Check for legal short fragments before calling pf_pull_hdr() to
avoid bogus reason accounting.
- When checking wether the protocol header is within the fragment,
count the IPv6 payload length relative to the end of the IPv6 header.
ok henning@



CVS: cvs.openbsd.org: src

2012-01-26 Thread Henning Brauer
CVSROOT:/cvs
Module name:src
Changes by: henn...@cvs.openbsd.org 2012/01/26 10:53:54

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

Log message:
add a timer to tcpbench as a command-line option (-t) so
that it is possible to stop the tcpbench client after a certain number
of seconds. This makes it easier to use tcpbench as part of a script.
From: Lawrence Teo 
ok phessler haesbaert and myself



CVS: cvs.openbsd.org: src

2012-01-26 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2012/01/26 09:04:16

Modified files:
share/man/man4 : axe.4 

Log message:
add Level One USB-0301



CVS: cvs.openbsd.org: src

2012-01-26 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2012/01/26 05:31:53

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

Log message:
Rewind the message fp before starting the SMTP dialog.
It could have been read before during an aborted session
on a previous MX.

reported by Vianney Bouchaud 

ok gilles@



Re: CVS: cvs.openbsd.org: src

2012-01-26 Thread Mike Belopuhov
On Thu, Jan 26, 2012 at 04:30 -0700, Mike Belopuhov wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   mi...@cvs.openbsd.org   2012/01/26 04:30:39
> 
> Modified files:
>   sys/net: pf_table.c 
> 
> Log message:
> when table content changes we need to reset index
> to the initial value and do not use the counter;
> reported by Sebastian Benoit and Daniel Krambrock,
> tested by Sebastian Benoit, ok henning zinke
> 

ugh, forgot to give the credit for the initial analysis
and patch to Sebastian and Daniel.  thanks guys!



CVS: cvs.openbsd.org: src

2012-01-26 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2012/01/26 04:30:39

Modified files:
sys/net: pf_table.c 

Log message:
when table content changes we need to reset index
to the initial value and do not use the counter;
reported by Sebastian Benoit and Daniel Krambrock,
tested by Sebastian Benoit, ok henning zinke



CVS: cvs.openbsd.org: src

2012-01-26 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2012/01/26 02:07:03

Modified files:
usr.bin/aucat  : aucat.1 aucat.c dev.c 

Log message:
Make the default rate 48kHz and the default block size 10ms. These
settings ensure video players and programs using MTC are smooth by
default. Thanks to all who tested.



CVS: cvs.openbsd.org: src

2012-01-26 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/26 02:05:54

Modified files:
usr.bin/tmux   : status.c 

Log message:
Terminate strftime buffer properly even if a really long format string
is given, from Tiago Cunha.



CVS: cvs.openbsd.org: www

2012-01-26 Thread David Coppa
CVSROOT:/cvs
Module name:www
Changes by: dco...@cvs.openbsd.org  2012/01/26 02:04:30

Modified files:
faq: current.html 

Log message:
Mention www/ntlmaps removal.

As requested by sthen@



CVS: cvs.openbsd.org: src

2012-01-26 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/26 02:03:09

Modified files:
usr.bin/tmux   : status.c 

Log message:
Fix memory leak in error path, from Tiago Cunha.



CVS: cvs.openbsd.org: src

2012-01-26 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2012/01/26 02:00:36

Modified files:
sys/dev/usb: uaudio.c 

Log message:
Don't printf (recoverable) xruns unless UAUDIO_DEBUG is defined



CVS: cvs.openbsd.org: www

2012-01-26 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:www
Changes by: ajacou...@cvs.openbsd.org   2012/01/26 01:16:15

Modified files:
faq/ports  : specialtopics.html 

Log message:
tweak @newuser sample.



CVS: cvs.openbsd.org: xenocara

2012-01-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2012/01/26 01:09:21

Modified files:
lib/fontconfig : Makefile.bsd-wrapper 

Log message:
Forcee the shared library revision for install too.
This fixes issues where, because of NFS client/server clock skew,
the lib gets rebuilt at install time. Problem noticed by todd@