nm -s on symdef archives for 64bits and different endian archs

2011-04-08 Thread Martin Pieuchot
Two diffs below to fix the use of nm -s when reading a __symdef archive on a 64bits machine and/or with a different endianness (ie m68k on amd64 or vax on ppc). To detect the archive index endianness without looking at the first object I assumed that the first time we have a fseek error we should

Elf support for strings(1)

2011-04-08 Thread Martin Pieuchot
Diff below add elf support to (bsd) strings(1) and make it usable for architectures with ELF_TOOLCHAIN=Yes. I've been working on cross arch support for various build utils (ar, ranlib, nm...) and this diff is the first of a series. Tested on amd64, macppc and vax. It also gives a correct offset

Caterer's Warehouse Daily Special

2011-04-08 Thread Heather Berkowitz
If you are having trouble viewing this e-mail, Visit www.catererswarehouse.com Caterer's Warehouse Weekly Specials Caterer's Warehouse Special Offers Home | Catering Supplies | Restaurant Equipment | Tabletop Specialties Bakery Supplies | Bar Supplies | Kitchen Supplies | Commercial Furniture | H

Fix running ldd against multiple shared objects

2011-04-08 Thread Matthew Dempsky
Diff below fixes "ldd /usr/lib/*.so.*" so that it outputs more than just the first shared object's dependencies, like the behavior from "ldd /usr/bin/*". The issue is that dlopen(f, RTLD_TRACE) calls exit() after it's done. I looked into changing this to properly cleanup and return, but figured it

Re: amd64 pmap diff to g/c ifdef _LP64

2011-04-08 Thread Brad
On Thu, Apr 07, 2011 at 09:00:45PM -0400, Brad wrote: > Some _LP64 ifdef's leftover from rev 1.1. They appear to be unnecessary > since this code is only for amd64 anyway and thus a 64-bit arch. > > > Index: pmap.c > === > RCS file:

Re: allow usermod to remove user from secondary groups

2011-04-08 Thread Frank Brodbeck
On Fri, Apr 08, 2011 at 09:54:37PM +0200, Landry Breuil wrote: > Hmm.. please no. Don't know if it's a bug or not, but i'm very used to > -G to _add_ groups to the existing group list for a user. If i > understand your diff correctly, one has to list all the groups it wants > the user to be in, whe

Re: Possible PF bug with block and reply-to

2011-04-08 Thread Jason Meltzer
Hey Michael, I wrote a response, see below, but for future reference your question should have been directed at misc@. The tech@ list is for discussions related to development. Please look over http://openbsd.org/mail.html before posting. On Thu, Apr 7, 2011 at 15:20, Michael Lechtermann wrote:

Re: allow usermod to remove user from secondary groups

2011-04-08 Thread Gilles Chehade
On Fri, Apr 08, 2011 at 09:54:37PM +0200, Landry Breuil wrote: > On Fri, Apr 08, 2011 at 07:53:51PM +0200, Frank Brodbeck wrote: > > Hi, > > > > lately I was reading on misc@ [1] that there's no way to remove a user > > from secondary groups but by hand. I also searched for a PR but couldn't > > f

Re: allow usermod to remove user from secondary groups

2011-04-08 Thread Ted Unangst
On Fri, Apr 8, 2011 at 1:53 PM, Frank Brodbeck wrote: > lately I was reading on misc@ [1] that there's no way to remove a user > from secondary groups but by hand. I also searched for a PR but couldn't > find one. The attached diff remedies the problem: > + while ((cp = strstr(cp, u

Re: allow usermod to remove user from secondary groups

2011-04-08 Thread Landry Breuil
On Fri, Apr 08, 2011 at 07:53:51PM +0200, Frank Brodbeck wrote: > Hi, > > lately I was reading on misc@ [1] that there's no way to remove a user > from secondary groups but by hand. I also searched for a PR but couldn't > find one. The attached diff remedies the problem: > > # id test > uid=1001(

Re: bridge ip chsum handling

2011-04-08 Thread Henning Brauer
* Christiano F. Haesbaert [2011-04-07 19:37]: > Not sure if I got this, but couldn't this be applied to TCP/UDP > checksumming as well ? one thing after the other. i have a big big big big diff rototoilling the csum handling, needs a bit mroe work before it goes out -- Henning Brauer, h...@bsw

Re: Making clang++ actually work ( WAS Re: Changing llvm/clang++ to use libstdc++ from ports instead of base)

2011-04-08 Thread Matthew Dempsky
On Fri, Apr 08, 2011 at 12:43:03PM -0500, Amit Kulkarni wrote: > I am in the process of updating llvm+clang from 2.8 ==> 2.9 > (maintainer is ports@). jsg@ already has an update for this. I believe he's just checking for broken dependencies now. > Will some guru please find time to investigate t

Making clang++ actually work ( WAS Re: Changing llvm/clang++ to use libstdc++ from ports instead of base)

2011-04-08 Thread Amit Kulkarni
Hi, referring to http://marc.info/?l=openbsd-ports&m=129789998809077&w=2 I am in the process of updating llvm+clang from 2.8 ==> 2.9 (maintainer is ports@). Done the update on amd64 (will need some feedback) sending as a separate email. Update can go in or not, but clang++ C++ compiler absolutely

Caterer's Warehouse Daily Special

2011-04-08 Thread Heather Berkowitz
If you are having trouble viewing this e-mail, Visit www.catererswarehouse.com Caterer's Warehouse Weekly Specials Caterer's Warehouse Special Offers Home | Catering Supplies | Restaurant Equipment | Tabletop Specialties Bakery Supplies | Bar Supplies | Kitchen Supplies | Commercial Furniture | H

allow usermod to remove user from secondary groups

2011-04-08 Thread Frank Brodbeck
Hi, lately I was reading on misc@ [1] that there's no way to remove a user from secondary groups but by hand. I also searched for a PR but couldn't find one. The attached diff remedies the problem: # id test uid=1001(test) gid=10(users) groups=10(users), 9(wsrc), 69(network), 117(dialer) # usermo

Re: cksum(1), print MISSING rather than FAILED for nonexistent files

2011-04-08 Thread Tim van der Molen
On Fri, 08 Apr 2011 11:23:44 +0200, Stuart Henderson wrote: > would anyone else find this (or a variation thereof) useful? > > example use: if you download a partial snapshot and would like to > check files, this makes it easy to identify whether a file actually > fails the checksum, or whether yo

Managing Traffic

2011-04-08 Thread Ali Gouta
Hello, I'm in period of an internship, and I will use OpenBSD in my task. Actually I have a problem concerning pf. the issue is to count volume of packets belonging to a session and a session is defined as the following :*"@source, @dest, Port source, Port dest, and protocole used TCP/UDP/ICMP"* S

Re: cksum(1), print MISSING rather than FAILED for nonexistent files

2011-04-08 Thread Todd T. Fries
I would find it more accurate to report 'fopen FAILED' rather than expect that all failures to open a file are a result of a missing file. Penned by Stuart Henderson on 20110408 4:23.44, we have: | would anyone else find this (or a variation thereof) useful? | | example use: if you

Re: ftp-proxy: use divert-to instead of rdr-to

2011-04-08 Thread Mike Belopuhov
please disregard this diff. it's wrong. On Thu, Apr 7, 2011 at 6:58 PM, Mike Belopuhov wrote: > this allows us to get rid of the nasty NATLOOKUP ioctl and get > the original server address right from the socket. also this > paves the way to the transparent ftp-proxy mode. > > if you will like th

cksum(1), print MISSING rather than FAILED for nonexistent files

2011-04-08 Thread Stuart Henderson
would anyone else find this (or a variation thereof) useful? example use: if you download a partial snapshot and would like to check files, this makes it easy to identify whether a file actually fails the checksum, or whether you just don't have it. Index: md5.c ==

U2 - Discografía - Descarga Digital

2011-04-08 Thread Solo de Oferta
The Unforgettable Fire The Joshua Tree The Best Of 1990 2000 & D-Sides The Best 1980 1990 & B-Sides Pop p October r October