Re: Needing a clue for compiling X

2008-03-09 Thread Matthieu Herrb
There's a paragraph in /usr/xenocara/README about what to do in this situation.
I

On Sun, Mar 9, 2008 at 3:57 AM, STeve Andre' [EMAIL PROTECTED] wrote:
So with the change of xenocara from /usr/src to /usr, I seem to
  have lost the ability to compile it.  No problems in compiling the
  system itself.  So far I have not found anything in the archives
  that addresses this.

For xenocara I can do a make bootstrap ; make obj   ok

A make build results in

  paladin /usr/xenocara make build
  make distrib-dirs
  mtree -qdef /usr/xenocara/etc/mtree/BSD.x11.dist -p / -U
  cd /usr/xenocara/share/mk   exec  make X11BASE=/usr/X11R6 install
  install -c -o root -g bin -m 444 automake.dep bsd.xorg.mk  
 /usr/X11R6/share/mk
  cd /usr/xenocara/util/macros   make -f Makefile.bsd-wrapper   exec
  make -f Makefile.bsd-wrapper install
  PKG_CONFIG_LIBDIR=/usr/X11R6/lib/pkgconfig  XMLTO=:  CFLAGS=-O2 -pipe
  MAKE=make exec
  sh /usr/xenocara/util/macros/configure --prefix=/usr/X11R6  
 --sysconfdir=/etc  --mandir=/usr/X11R6/man  
 --cache-file=/usr/xobj/xorg-config.cache.i386
  configure: creating cache /usr/xobj/xorg-config.cache.i386
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for gawk... no
  checking for mawk... no
  checking for nawk... nawk
  checking whether make sets $(MAKE)... yes
  configure: error: source directory already configured; run make distclean
  there first
  *** Error code 1

  Stop in /usr/xenocara/util/macros (line 99
  of /usr/X11R6/share/mk/bsd.xorg.mk).
  *** Error code 1

  Thanks, STeve Andre'



WHITE and GREY spamdb entries from the same host

2008-03-09 Thread Jose Fragoso
Hi,

Is it normal to have white and grey entries from the same
IP address showing up in the output of spamdb?

Should the GREY entries not be deleted once the IP address
is whitelisted?

GREY|217.130.91.233|qanr.comunitel.net|from-email|to-email|
1205058895|1205060468|1205073295|6|0
WHITE|217.130.91.233|||1205058895|1205060468|1208171170|6|1

Thanks for the explanation.

Regards,

Jose

--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!



req. upgrade of openssl to allow sha256/512

2008-03-09 Thread stolendata.net
I noticed that the bundled version of OpenSSL has not had a major update
for almost 2 years. Would it be possible to have the current 0.9.8 rev.
included for the 4.3 release in order to get access to SHA256/512/etc.
digestion? I've lately found that more and more software breaks on this
point when trying to compile under OBSD due 0.9.7's lack of said crypto.

-SD



Re: WHITE and GREY spamdb entries from the same host

2008-03-09 Thread Darrin Chandler
On Sun, Mar 09, 2008 at 09:17:51AM -0500, Jose Fragoso wrote:
 Hi,
 
 Is it normal to have white and grey entries from the same
 IP address showing up in the output of spamdb?
 
 Should the GREY entries not be deleted once the IP address
 is whitelisted?
 
 GREY|217.130.91.233|qanr.comunitel.net|from-email|to-email|
 1205058895|1205060468|1205073295|6|0
 WHITE|217.130.91.233|||1205058895|1205060468|1208171170|6|1
 
 Thanks for the explanation.

AFAIK this is normal. The WHITE entry gets added and will be the
important part. The GREY entry should expire on its own soon. In other
words this is a temporary and harmless condition, by design, seen for a
short while after a host is whitelisted.

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation



OpenLDAP and Berkeley DB 4.6

2008-03-09 Thread Dongsheng Song
Since OpenLDAP 2.3 is incompatible[1] with Berkeley DB 4.6,
so I must stick to BDB 4.5 or upgrade to OpenLDAP 2.4 ?

[1] http://www.openbsd.org/cgi-bin/cvsweb/ports/databases/openldap/Makefile

Thanks for some help.

Dongsheng



Re: WHITE and GREY spamdb entries from the same host

2008-03-09 Thread Stuart Henderson
On 2008-03-09, Jose Fragoso [EMAIL PROTECTED] wrote:
 Is it normal to have white and grey entries from the same
 IP address showing up in the output of spamdb?

Yes

 Should the GREY entries not be deleted once the IP address
 is whitelisted?

No



Re: req. upgrade of openssl to allow sha256/512

2008-03-09 Thread Stuart Henderson
On 2008-03-09, stolendata.net [EMAIL PROTECTED] wrote:
 Would it be possible to have the current 0.9.8 rev. included for
 the 4.3 release

It's a bit late to ask for anything for 4.3.



Re: OpenLDAP and Berkeley DB 4.6

2008-03-09 Thread Stuart Henderson
On 2008-03-09, Dongsheng Song [EMAIL PROTECTED] wrote:
 Since OpenLDAP 2.3 is incompatible[1] with Berkeley DB 4.6,

it is incompatible with DB 4.6.3 and up (where they quietly
broke the API). 4.6.2 and below are ok.

 so I must stick to BDB 4.5 or upgrade to OpenLDAP 2.4 ?

You have several recommended options:

- dump your database, uninstall, install the unFLAVORed version
and restore your database.

- stick with what you are already using and wait for OpenLDAP 2.4
to become stable and get added to ports. dump/upgrade/restore.

another which is less-recommended:

- dump your database, uninstall, build your own OpenLDAP 2.4
(it is not in ports yet), restore your database. moving to a 2.4
version when it hits ports will involve some extra work removing
the installed files which will conflict.

and another which seems like a really bad idea to me:

- dump your database, uninstall DB/OpenLDAP, build your own DB
=4.6.2 and OpenLDAP 2.3, restore. I think this is likely to cause
all sorts of confusion with anything else using DB on the box.

 [1] http://www.openbsd.org/cgi-bin/cvsweb/ports/databases/openldap/Makefile

we discussed things and took the path which means pkg_add updates
don't break an existing working -bdb installation.



Re: req. upgrade of openssl to allow sha256/512

2008-03-09 Thread stolendata.net
Let's hope this change (finally) makes it into 4.4 then - it's WELL needed.

And on that note, I'm just generally curious if anyone knows if there are some
things that need to be taken in consideration should I build and update
OpenSSL from the developers distribution? Specific path changes?

-SD


(ps. sorry for the mismail, Stuart..)



Re: Singularity OS

2008-03-09 Thread Didi
http://www.jnode.org/ has been around for a while

and if you search sf.net for +java +operating +system
http://sourceforge.net/search/?words=%2Bjava+%2Bostype_of_search=softpmode=0words=%2Bjava+%2Boperating+%2BsystemSearch=Search

you get 86 results.

So the C# version was bound to follow. And as far as I can remember
there is an open source effort to write a c#, can't remember the name
though.

Cheers Didi


On Sat, Mar 8, 2008 at 6:22 PM, Die Gestalt [EMAIL PROTECTED] wrote:
   Are you sure you used the STL?
  
http://www.microsoft.com/whdc/driver/kernel/KMcode.mspx
  
Read the section about Libraries:
  
Although much of the Standard Template Library is implemented as source
code in headers, it occasionally uses library functions or other
features that are not available or usable in the kernel environment.
  
I'm guessing you must have had to do some serious mangling of the STL in
order to shoehorn it into your driver. Sounds like far more trouble than
it's worth.

  The comment from Microsoft is correct. Basically you need to remove
  exceptions support and write custom allocators. I have been
  unsucessful with the Microsoft STL, I therefore used STLPort. The
  problem with the provided STL headers is that there is a #define
  nightmare for C++/CLI compatibility.

  I think we are drafting toward OT...



www.cern.ch/ribalba  /  www.ribalba.de
Email / Jabber: [EMAIL PROTECTED]
Phone (Work) : +41 22 7679376
Skype : ribalba
Address : CERN / IT-FIO-FS / GENEVE 23/ SCHWEIZ



Re: OfficeJet sharing with WinXP

2008-03-09 Thread Dave Cottle
On 08/03/2008, Edward F. Ahlsen-Girard [EMAIL PROTECTED] wrote:

 Has anybody had success with network printing from 4.2 (i386) to an HP
 OfficeJet 5510v (or similar) attached to an XP Pro workstation?  I hope
 to avoid trying all combinations of printing systems.  I'm pushing 50
 and I might not live long enough to finish.


 i take it that moving the printer over to OpenBSD is not appropriate...

in that case simplest solution here will be to set up LPR/LPD on the XP
workstation  use that:

http://www.sun.com/bigadmin/features/techtips/lpd_print_solaris.html

A+
Dave



slow samba performance in openbsd 4.2

2008-03-09 Thread Jeff Richards
Kernel: 4.2; raidframe enabled
Samba: samba-3.0.28
Bacula: bacula-2.2.6
Network card: fxp0 at pci0 dev 14 function 0 Intel 8255x, media: Ethernet 
100baseTX full-duplex

I had a 4.0 server that was distributing files at multiple MB/s.  I rebuilt my 
server with 4.2 and re-installed/compiled my applications.  I also rebuilt the 
kernel with raidframe enabled.

I copied my samba config from my backups which I ran before the 
install/upgrade.  When I tried to copy a large file from the samba server I was 
getting about 35KB/s.  My bacula software still transfers at a rate of multiple 
MB/s.

I have experimented with different config options in the smb.conf file, notably 
many variations of  'socket options'.  This is my setting now:
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

I have tried both my source-compiled version of samba as well as the 
pre-compiled package.  Both versions have the same performance issue.

Any suggestions where I should focus my attention?

Thanks in advance.




   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.



OT: Wireframe Puffy 3D model for Lego's

2008-03-09 Thread Daniel Ouellet

Hi,

Sorry about this off topic request. My Sun keep asking me to get a 
Wireframe Puffy 3D model, or CAD file, or Vector version of the design 
if that even exists somewhere.


He really love the Wireframe Puffy and want to make a Lego version of it 
and make a packages of it to for some of his friend's Birthday's.


So, my question is, if anyone have an 3D model, of this great artwork, 
or better yet a CAD version, or vector based design, or what ever that 
he might be able to use to get the proportion right of the Wireframe 
Puffy and be able to make his Lego Puffy fish of out it.


He is a fan of Lego as far back as 3 year's old and even sense, plus 
over the last three years, he slowly discover OpenBSD , run it on his 
old iMAC and even run if now on hos Sun X1 server and really love puffy.


Anyone could may be make the dream come true someplace?

I don't think it exists as I can't find one, just I though that as a 
last chance, may be someone on the list knows or have something usable.


He even said he would send one Lego model to Theo if he can make one 
that is somewhat nice and obviously if Theo might like to get Lego 
Wireframe Puffy. (;


Many thanks,

Daniel



Re: pf tag goes missing post sshd tcp decapsulization

2008-03-09 Thread Konrad
hmm so by the way.. it was a mistake form my side, the pf.conf takes
the @ if the rule is:
block out on fxp1 tagged @foo

instead of:

block out on fxp1 tagged @foo

I allready implement it and test it would work, the question for me
is, if the uid would be necessary and the namespace is enough, because
if want to allow non-root processes to set tags, why we should need to
look for the userid, if the @ allready indicates its an
non-root-set-tag?

Here is the uipc_socket.c diff the rest didn't change since my last diff.

Good start in the week everybody!

Index: uipc_socket.c
===
RCS file: /cvs/src/sys/kern/uipc_socket.c,v
retrieving revision 1.67
diff -p -r1.67 uipc_socket.c
*** uipc_socket.c   20 Dec 2007 17:16:50 -  1.67
--- uipc_socket.c   9 Mar 2008 23:44:33 -
***
*** 48,53 
--- 48,55 
  #include sys/resourcevar.h
  #include sys/pool.h

+ #include net/pfvar.h
+
  void  filt_sordetach(struct knote *kn);
  int   filt_soread(struct knote *kn, long hint);
  void  filt_sowdetach(struct knote *kn);
*** socreate(int dom, struct socket **aso, i
*** 115,120 
--- 117,123 
so-so_rgid = p-p_cred-p_rgid;
so-so_egid = p-p_ucred-cr_gid;
so-so_cpid = p-p_pid;
+   so-so_pftag = 0;
so-so_proto = prp;
error = (*prp-pr_usrreq)(so, PRU_ATTACH, NULL,
(struct mbuf *)(long)proto, NULL);
*** sofree(struct socket *so)
*** 188,193 
--- 191,200 
if (!soqremque(so, 0))
return;
}
+   
+   if(so-so_pftag != 0)
+   pf_tag_unref(so-so_pftag);
+   
sbrelease(so-so_snd);
sorflush(so);
pool_put(socket_pool, so);
*** soaccept(struct socket *so, struct mbuf
*** 279,284 
--- 286,293 
else
error = ECONNABORTED;
splx(s);
+   if (!error  so-so_pftag)
+   pf_tag_ref(so-so_pftag);
return (error);
  }

*** sosetopt(struct socket *so, int level, i
*** 1085,1090 
--- 1094,1120 
}
break;
}
+   
+   case SO_PFTAG:
+   {
+   char tagname[PF_TAG_NAME_SIZE] = @;
+   if (m == NULL)  {
+   error = EINVAL;
+   goto bad;
+   }
+   if(so-so_pftag != 0)
+   {
+   pf_tag_unref(so-so_pftag);
+   }
+   strlcat(tagname, mtod(m, char *), PF_TAG_NAME_SIZE);
+   so-so_pftag = pf_tagname2tag(tagname);
+   if(so-so_pftag == 0)
+   {
+   error = EINVAL; /*XXX*/
+   goto bad;   
+   }
+   break;
+   }

default:
error = ENOPROTOOPT;
*** sogetopt(struct socket *so, int level, i
*** 1173,1178 
--- 1203,1216 
mtod(m, struct timeval *)-tv_sec = val / hz;
mtod(m, struct timeval *)-tv_usec =
(val % hz) * tick;
+   break;
+   }
+   case SO_PFTAG:
+   {
+   char tagname[PF_TAG_NAME_SIZE];
+   pf_tag2tagname(so-so_pftag, tagname);
+   m-m_len = strlen(tagname) + 1;
+   strlcpy(mtod(m, char *), tagname, m-m_len);
break;
}



problems passing radius traffic through pf

2008-03-09 Thread runelind
I have a Domain Controller in a DMZ which is handling radius requests from
my access point.  I'm having problems passing the radius information
successfully  through pf.  The pf box is a soekris running 4.1.

Mar 09 09:58:56.467664 rule 3/(match) block in on sis4: 172.30.30.5.1812 
10.50.3.11.2055: Axs! id:1 [1477] [|radius] (frag 25868:[EMAIL PROTECTED])
Mar 09 09:58:56.467745 rule 3/(match) block in on sis4: 172.30.30.5 
10.50.3.11: (frag 25868:[EMAIL PROTECTED])

# more /etc/pf.conf | grep pix_if
pix_if = sis4
pass  quick log  on $pix_if from  any to 10.50.3.11
block in log on $pix_if
pass out on $pix_if

In this case, 172.30.30.5 is my radius server, and 10.50.3.11 is my access
point.  Even though I am logging the pass rule, I do not seeing getting
hit through tcpdump.  If I take out the block in log on $pix_if, radius
information flows ok.

Thanks,

runelind at runelind dot net



Re: Compile jdk 1.5 on amd64 run out of memory

2008-03-09 Thread Dongsheng Song
For idle:
$ swapctl -s
total: 4200966k bytes allocated = 4776k used, 4196190k available

When I not set HOTSPOT_BUILD_JOBS, it trap to ddb.
Could you restrict the HOTSPOT_BUILD_JOBS not by cores, but also by memory ?

Just for interested:  What's the default vaalue for HOTSPOT_BUILD_JOBS
and PARALLEL_BUILD_JOBS ?

---
Dongsheng

2008/3/9, Kurt Miller [EMAIL PROTECTED]:
 On Saturday 08 March 2008 6:53:08 am Dongsheng Song wrote:
   Thanks,  when I set HOTSPOT_BUILD_JOBS=2, it builds smoothly.


 Great.

  BTW, how much swap space did you configure on this system (swapctl -s)?


   What's PARALLEL_BUILD_JOBS, and their relationship?


 HOTSPOT_BUILD_JOBS controls how many parallel build jobs occur during
  the hotspot portion of the build (mostly c++ compiles).

  PARALLEL_BUILD_JOBS controls how many parallel build jobs occur during
  the rest of the build which I've left at the default.


  -Kurt



Re: slow samba performance in openbsd 4.2

2008-03-09 Thread Jeff Richards
Please ignore.

I restored my system from backups.  Everything back to expected performance.  
I'll experiment more with a test system before trying my upgrade.

Thanks.

Jeff Richards [EMAIL PROTECTED] wrote: Kernel: 4.2; raidframe enabled
Samba: samba-3.0.28
Bacula: bacula-2.2.6
Network card: fxp0 at pci0 dev 14 function 0 Intel 8255x, media: Ethernet 
100baseTX full-duplex

I had a 4.0 server that was distributing files at multiple MB/s.  I rebuilt my 
server with 4.2 and re-installed/compiled my applications.  I also rebuilt the 
kernel with raidframe enabled.

I copied my samba config from my backups which I ran before the 
install/upgrade.  When I tried to copy a large file from the samba server I was 
getting about 35KB/s.  My bacula software still transfers at a rate of multiple 
MB/s.

I have experimented with different config options in the smb.conf file, notably 
many variations of  'socket options'.  This is my setting now:
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

I have tried both my source-compiled version of samba as well as the 
pre-compiled package.  Both versions have the same performance issue.

Any suggestions where I should focus my attention?

Thanks in advance.




   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.



   
-
Never miss a thing.   Make Yahoo your homepage.



Re: OT: Wireframe Puffy 3D model for Lego's

2008-03-09 Thread Daniel Anderson
If nobody responds to this with a quality file, I will gladly make a 2D 
version of it as an SVG for you and all of us.


On Sunday 09 March 2008 03:29:49 pm Daniel Ouellet wrote:
 Hi,

 Sorry about this off topic request. My Sun keep asking me to get a
 Wireframe Puffy 3D model, or CAD file, or Vector version of the design
 if that even exists somewhere.

 He really love the Wireframe Puffy and want to make a Lego version of it
 and make a packages of it to for some of his friend's Birthday's.

 So, my question is, if anyone have an 3D model, of this great artwork,
 or better yet a CAD version, or vector based design, or what ever that
 he might be able to use to get the proportion right of the Wireframe
 Puffy and be able to make his Lego Puffy fish of out it.

 He is a fan of Lego as far back as 3 year's old and even sense, plus
 over the last three years, he slowly discover OpenBSD , run it on his
 old iMAC and even run if now on hos Sun X1 server and really love puffy.

 Anyone could may be make the dream come true someplace?

 I don't think it exists as I can't find one, just I though that as a
 last chance, may be someone on the list knows or have something usable.

 He even said he would send one Lego model to Theo if he can make one
 that is somewhat nice and obviously if Theo might like to get Lego
 Wireframe Puffy. (;

 Many thanks,

 Daniel



Re: OT: Wireframe Puffy 3D model for Lego's

2008-03-09 Thread Daniel Ouellet

Daniel Anderson wrote:
If nobody responds to this with a quality file, I will gladly make a 2D 
version of it as an SVG for you and all of us.


I will wait a few days, may be someone might have something or not. I 
can't say yet. No reply other then yours yet. Anything would be mostly 
appreciated by my Sun and it would be much welcome. I always told my Sun 
that you need not to have a weak heart to be on this list, but great 
reply always come in time when needed and available.


My Sun asked me if an MLCad was available. I asked him, what's MLCad? He 
spend hours explaining to me how this works and it's special for Lego's 
and help a lots for it. So, we spend good times having fun. I sure don't 
expect to have such a file as it would the up most gift to get, but 
anything to start with that provide some perspective would sure be 
welcome and I guess in time, he may finish the MLCad and make it 
available with the Lego kit too. (;


This is obviously way remote form OpenBSD, other then just Puffy, so I 
don't want to take any ore time for anyone.


Just if you have something I would welcome getting it, or being pointed 
in the right direction. It's hard to work from the image itself.


In any case, your offer is very much appreciated and I thank you too.

Best,

Daniel