CVS: cvs.openbsd.org: www

2010-07-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:www
Changes by: ajacou...@cvs.openbsd.org   2010/07/28 01:11:26

Modified files:
faq: faq15.html 

Log message:
Enable packages signature faq.

ok nick@ espie@



Re: CVS: cvs.openbsd.org: src

2010-07-28 Thread Paul Irofti
Thank you so much for this!

On Tue, Jul 27, 2010 at 10:59:04AM -0600, Stefan Sperling wrote:
 CVSROOT:  /cvs
 Module name:  src
 Changes by:   s...@cvs.openbsd.org2010/07/27 10:59:04
 
 Modified files:
   distrib/special/libstubs: Makefile 
   lib/libc   : Makefile.inc 
   lib/libc/citrus: citrus_ctype.h citrus_ctype_local.h 
   lib/libc/locale: Makefile.inc runetable.c setrunelocale.c 
   share/locale/ctype: Makefile 
 Added files:
   distrib/special/libstubs: mbrtowc_sb.c 
   lib/libc/citrus: Makefile.inc citrus_ctype.c citrus_none.c 
citrus_none.h citrus_utf8.c citrus_utf8.h 
   lib/libc/locale: btowc.c mblen.c mbrlen.c mbstowcs.c mbtowc.c 
multibyte.h multibyte_citrus.c wcscoll.c 
wcstombs.c wcsxfrm.c wctob.c wctomb.c 
 Removed files:
   lib/libc/locale: mbrtowc_sb.c multibyte_sb.c 
 
 Log message:
 Replace the single-byte placeholders for the multi-byte/wide-character
 conversion interfaces of libc (mbrtowc(3) and friends) with new
 implementations that internally call an API based on NetBSD's citrus.
 This allows us to support locales with multi-byte character encodings.
 
 Provide two implementations of the citrus-based API: one based on the old
 single-byte placeholders for use with our existing single-byte character
 locales (C, ISO8859-*, KOI8, CP1251, etc.), and one that provides support
 for UTF-8 encoded characters (code based on FreeBSD's implementation).
 
 Install the en_US.UTF-8 ctype locale support file, and allow the UTF-8
 ctype locale to be enabled via setlocale(3) (export LC_CTYPE='en_US.UTF-8').
 
 A lot of programs, especially from ports, will now start using UTF-8 if the
 UTF-8 locale is enabled. Use at your own risk, and please report any breakage.
 Note that ncurses-based programs cannot display UTF-8 right now, this is being
 worked on.
 
 To prevent install media growth, add vfprintf(3) and mbrtowc(3) to libstubs.
 The mbrtowc stub was copied unchanged from its old single-byte placeholder.
 vfprintf.c doesn't need to be copied, just put in .PATH (hint by fgsch@).
 
 Testing by myself, naddy, sthen, nicm, espie, armani, Dmitrij D. Czarkoff.
 
 ok matthieu espie millert sthen nicm deraadt



CVS: cvs.openbsd.org: src

2010-07-28 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2010/07/28 01:32:16

Modified files:
sys/dev/acpi   : acpi.c 

Log message:
Delay a little longer on suspend before giving up. Fixes machines that
sometimes don't suspend because the sleep transition takes too long
(symptoms like failing to sleep but the backlight stays on).

ok deraadt@



CVS: cvs.openbsd.org: src

2010-07-28 Thread Ray Lai
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2010/07/28 03:00:20

Modified files:
lib/libc/stdlib: hcreate.3 

Log message:
Sync hcreate(3) with NetBSD, adding some caveats.

OK jmc



CVS: cvs.openbsd.org: src

2010-07-28 Thread Ray Lai
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2010/07/28 03:07:11

Modified files:
usr.bin/rcs: buf.c buf.h ci.c co.c diff3.c ident.c rcs.c 
 rcsclean.c rcsdiff.c rcsutil.c 

Log message:
Make BUFs autoextend by default.  This was already done in OpenCVS
a while ago.

OK zinovik nicm



CVS: cvs.openbsd.org: src

2010-07-28 Thread Martin Hedenfalk
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2010/07/28 04:06:19

Modified files:
usr.sbin/ldapd : modify.c 

Log message:
Revert parts of previous change leading to assertion failure for
certain modify operations. Also fix logic error when replacing an attribute
with the empty set.



CVS: cvs.openbsd.org: www

2010-07-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2010/07/28 05:03:23

Modified files:
.  : want.html 

Log message:
some cards with newer unsupported em(4) chips



CVS: cvs.openbsd.org: src

2010-07-28 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2010/07/28 06:19:54

Modified files:
usr.sbin/pkg_add: pkg_merge pkg_mklocatedb 
usr.sbin/pkg_add/OpenBSD: ArcCheck.pm PackageLocation.pm 
  PkgCreate.pm Ustar.pm 
usr.sbin/pkg_add/pod: OpenBSD::Ustar.pod 

Log message:
pass state to Ustar objects, use it to display those pesky error and
fatal messages.

zap $opt_x from pkg_mklocated, do things like other commands do.



CVS: cvs.openbsd.org: src

2010-07-28 Thread Marco Peereboom
CVSROOT:/cvs
Module name:src
Changes by: ma...@cvs.openbsd.org   2010/07/28 08:39:43

Modified files:
sys/dev/acpi   : acpi.c 

Log message:
Make all gasio failures look and behave the same.



CVS: cvs.openbsd.org: src

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

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

Log message:
more explicit message



CVS: cvs.openbsd.org: src

2010-07-28 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2010/07/28 09:05:33

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

Log message:
let fatal work, fix typo



CVS: cvs.openbsd.org: src

2010-07-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2010/07/28 09:45:04

Modified files:
sbin/iked  : ikev2_pld.c 

Log message:
Change back to the pre rev 1.11 behaviour of not treating unexpected
id payloads as errors.  Lets interop with strongSwan which sends
both IDi and IDr work again.



CVS: cvs.openbsd.org: src

2010-07-28 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2010/07/28 09:50:19

Modified files:
sys/dev/pci: pciide.c 

Log message:
suspend save/restore for SIS3112; tested by mlarkin



CVS: cvs.openbsd.org: src

2010-07-28 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2010/07/28 09:59:38

Modified files:
sys/kern   : kern_xxx.c 

Log message:
It's pretty pointless to peg ourselves to the primary CPU if that's the
only one we have.

ok krw@, deraadt@



CVS: cvs.openbsd.org: src

2010-07-28 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2010/07/28 10:00:30

Modified files:
sys/dev/acpi   : dsdt.c 

Log message:
remove stub code for rw locks we will never need; ok kettenis marco



CVS: cvs.openbsd.org: src

2010-07-28 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2010/07/28 10:15:25

Modified files:
sys/kern   : kern_xxx.c 

Log message:
more #ifdef needed for the case of not pegging on a non-MP kernel



CVS: cvs.openbsd.org: src

2010-07-28 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2010/07/28 10:16:56

Modified files:
distrib/special/libstubs: Makefile 

Log message:
Fix fallout from the utf-8 commit (segfaults in disklabel on install media).
Sorry about that.
ok sthen deraadt



CVS: cvs.openbsd.org: src

2010-07-28 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2010/07/28 12:31:51

Modified files:
sys/dev/pci: pciide.c 

Log message:
the default pciide chip needs no additional register restores; tested by jcs on 
one model



CVS: cvs.openbsd.org: xenocara

2010-07-28 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:xenocara
Changes by: na...@cvs.openbsd.org   2010/07/28 13:47:40

Modified files:
driver/xf86-input-keyboard/src: bsd_kbd.c 

Log message:
terminate xf86Msg() string with newline; ok matthieu@



CVS: cvs.openbsd.org: src

2010-07-28 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2010/07/28 15:19:30

Modified files:
usr.bin/cvs: diff.c diff.h diff_internals.c 

Log message:
Support -U and -C to specify the context length for cvs diff.

This doesn't alter cvs rdiff, where -U and -C are not support by GNU
cvs.

ok sthen zinovik



CVS: cvs.openbsd.org: src

2010-07-28 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2010/07/28 15:24:52

Modified files:
sys/net80211   : ieee80211_proto.c 

Log message:
Suspending drivers need to do as little as possible in here, so when the
transition is to INIT, try to not generate management frames if we can
avoid it.
ok damien



CVS: cvs.openbsd.org: src

2010-07-28 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2010/07/28 15:21:38

Modified files:
sys/dev/pci: if_ipw.c if_ipwvar.h if_iwi.c if_iwivar.h 
 if_iwn.c if_wpi.c 

Log message:
Make legacy xxpower() functions call xxstop() on suspend, and simplify their
resume paths.  For new-style suspend/resume, add a ca_activate function where
it is missing, and use a workq to resume because these drivers like to sleep.
ok damien



CVS: cvs.openbsd.org: src

2010-07-28 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2010/07/28 15:44:41

Modified files:
sys/arch/loongson/loongson: conf.c 
sys/kern   : kern_event.c 
sys/sys: conf.h event.h 

Log message:
Add a dummy kqueue filter similar to seltrue and use it for anything
using seltrue for poll. Based on code from NetBSD.

Also remove a stray duplicate lpt entry from loongson, from deraadt.

ok tedu deraadt



CVS: cvs.openbsd.org: src

2010-07-28 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2010/07/28 16:15:15

Modified files:
usr.bin/tmux   : server-client.c 

Log message:
dup() the stdin fd so it isn't closed twice (once for stdin, once for tty).



CVS: cvs.openbsd.org: src

2010-07-28 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2010/07/28 17:47:43

Modified files:
sys/scsi   : cd.c 

Log message:
DVD_INVALIDATE_AGID is a 'no payload' operation, so don't set
xs-datalen and reset xs-data to NULL. This prevents a spurious
attempt to setup (dma map, etc) and possibly attempt data tranfser.

In line with what Linux and FreeBSD do as far as I can tell.

Reduces the delay before my DVD starts playing its movie.

Idea to also set xs-data to NULL from matt...@.

No objection matthew@



CVS: cvs.openbsd.org: src

2010-07-28 Thread Todd C. Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2010/07/28 17:52:01

Modified files:
usr.bin/compress: main.c 

Log message:
Truncate output file when compressing.  OK deraadt@



CVS: cvs.openbsd.org: src

2010-07-28 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2010/07/28 18:29:49

Modified files:
sys/arch/i386/i386: acpi_machdep.c 
sys/arch/amd64/amd64: acpi_machdep.c 

Log message:
Zero out the firmware waking vector on successful resume from ACPI sleep.

ok deraadt@



CVS: cvs.openbsd.org: src

2010-07-28 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2010/07/28 18:50:10

Modified files:
lib/libc/citrus: citrus_utf8.c citrus_utf8.h 

Log message:
Remove stray newline, fix $OpenBSD$; ok deraadt



CVS: cvs.openbsd.org: src

2010-07-28 Thread Jacob Meuser
CVSROOT:/cvs
Module name:src
Changes by: jake...@cvs.openbsd.org 2010/07/28 19:39:04

Modified files:
sys/dev/pci: azalia.c 

Log message:
flag if an error during attach caused us to detach our resources, and
if so, don't do anything on suspend/resume.  should fix crash reported
by mlarkin.



CVS: cvs.openbsd.org: www

2010-07-28 Thread Steven Mestdagh
CVSROOT:/cvs
Module name:www
Changes by: ste...@cvs.openbsd.org  2010/07/28 23:35:38

Modified files:
faq/ports  : specialtopics.html 

Log message:
use html code for $ so $OpenBSD$ does not get expanded within the example



CVS: cvs.openbsd.org: www

2010-07-28 Thread Steven Mestdagh
CVSROOT:/cvs
Module name:www
Changes by: ste...@cvs.openbsd.org  2010/07/28 23:37:31

Modified files:
faq/ports  : specialtopics.html 

Log message:
replace $ again



CVS: cvs.openbsd.org: www

2010-07-28 Thread Steven Mestdagh
CVSROOT:/cvs
Module name:www
Changes by: ste...@cvs.openbsd.org  2010/07/28 23:45:23

Modified files:
faq/ports  : testing.html 

Log message:
zap excessive whitespace