Re: PATCH for review: ipfilter changes in rc.*

2001-11-04 Thread Arjan de Vet

Darren Reed wrote:

>> >That sounds like a good plan.
>> 
>> OK, updated patches for stable and current are available from:
>> 
>>  http://home.iae.nl/users/devet/freebsd/
>> 
>> I include the README here:
>[...]
>
>How is this progressing ?

Doug Barton asked whether he could review the patches first but I haven't
heard anything yet.

Doug: what's the status?

Arjan

-- 
Arjan de Vet, Eindhoven, The Netherlands   <[EMAIL PROTECTED]>
URL : http://www.iae.nl/users/devet/<[EMAIL PROTECTED]>
Work: http://www.madison-gurkha.com/  (Security, Open Source, Education)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



[CFR] IPv6 support for pserver of cvs

2001-11-04 Thread Hajimu UMEMOTO
Hi,

I wish to add IPv6 support to pserver of cvs.  You can find the patch
from:

http://www.imasy.or.jp/‾ume/ipv6/FreeBSD/cvs-ipv6.diff

This patch is based on the patch by KAME folks.  But, the patch is for
1.11 and isn't applied cleanly to our cvs.  So, some additional
modification was made.
Please review it.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
[EMAIL PROTECTED]  [EMAIL PROTECTED]  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message


Re: [CFR] IPv6 support for pserver of cvs

2001-11-04 Thread Jeroen Ruigrok/Asmodai

-On [20011104 15:28], Hajimu UMEMOTO ([EMAIL PROTECTED]) wrote:
>I wish to add IPv6 support to pserver of cvs.  You can find the patch
>from:
>
>   http://www.imasy.or.jp/?(J?ume/ipv6/FreeBSD/cvs-ipv6.diff
>
>This patch is based on the patch by KAME folks.  But, the patch is for
>1.11 and isn't applied cleanly to our cvs.  So, some additional
>modification was made.

Please feed this to the cvshome.org guys, that way we can just import
the new version along the vendorbranch.

-- 
Jeroen Ruigrok van der Werven/Asmodai asmodai@[wxs.nl|freebsd.org|xmach.org]
Documentation nutter/C-rated Coder, finger [EMAIL PROTECTED]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/
Those who cannot remember the past are condemned to repeat it...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: [CFR] IPv6 support for pserver of cvs

2001-11-04 Thread Hajimu UMEMOTO

Hi,

>>>>> On Sun, 4 Nov 2001 16:07:43 +0100
>>>>> Jeroen Ruigrok/Asmodai <[EMAIL PROTECTED]> said:

asmodai> -On [20011104 15:28], Hajimu UMEMOTO ([EMAIL PROTECTED]) wrote:
>I wish to add IPv6 support to pserver of cvs.  You can find the patch
>from:
>
>   http://www.imasy.or.jp/?(J?ume/ipv6/FreeBSD/cvs-ipv6.diff
>
>This patch is based on the patch by KAME folks.  But, the patch is for
>1.11 and isn't applied cleanly to our cvs.  So, some additional
>modification was made.

asmodai> Please feed this to the cvshome.org guys, that way we can just import
asmodai> the new version along the vendorbranch.

My patch requires getaddrinfo() and getnameinfo().  To do work on
other OSs which doesn't have getaddrinfo() and getnameinfo(), we need
extra work.
Original KAME patch has such code.  I hope KAME folks sending their
version to cvs folks.

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
[EMAIL PROTECTED]  [EMAIL PROTECTED]  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Trying to learn X programming.

2001-11-04 Thread Rod Person

This is a little Linux code that changes resolution of X on the fly.

There seems to be some differences in the Linux and FreeBSD use of XOpenDisplay. I 
read the man pages and tried changing the code a few different ways but it won't 
compile. Here's how I try to compile

gcc -o wmres wmres.c -I/usr/X11R6/include -IXmu -IX11

Any pointers or a good reference on the web somewhere. All I have are man pages and 
code at this point.




#include 
#include 
#include 
#include 

int main (int argc, char *argv[])
{
Display *dpy;
XF86VidModeModeInfo **vm_modelines; 
int vm_count;

int i;
int width, height;

dpy=XOpenDisplay(DefaultScreen(0));

XF86VidModeGetAllModeLines(dpy,XDefaultScreen(dpy),&vm_count,&vm_modelines);
if(!(vm_count)) {
fprintf(stderr,"error: no video modes found\n");
exit(1);
   }

if(argc > 2) {
width = atoi(argv[1]);
height = atoi(argv[2]);

for(i=0; i < vm_count; i++) {
if(vm_modelines[i]->hdisplay==width && 
vm_modelines[i]->vdisplay==height) {

XF86VidModeSwitchToMode(dpy,XDefaultScreen(dpy),vm_modelines[i]);
XFlush(dpy);
return 0;
}
}
}

printf("\"Resolutions\" MENU\n");
for(i=0; i < vm_count; i++) {
printf("\"%dx%d\" EXEC %s %d 
%d\n",vm_modelines[i]->hdisplay,vm_modelines[i]->vdisplay, argv[0], 
vm_modelines[i]->hdisplay, vm_modelines[i]->vdisplay);
}
printf("\"Resolutions\" END\n");
return 0;
}   

thanks

Rod


[EMAIL PROTECTED]
http://storm.prohosting.com/osbeef/osbeef.htm




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Trying to learn X programming.

2001-11-04 Thread Alfred Perlstein

* Rod Person <[EMAIL PROTECTED]> [011104 10:11] wrote:
> This is a little Linux code that changes resolution of X on the fly.
> 
> There seems to be some differences in the Linux and FreeBSD use of XOpenDisplay. I 
>read the man pages and tried changing the code a few different ways but it won't 
>compile. Here's how I try to compile
> 
>   gcc -o wmres wmres.c -I/usr/X11R6/include -IXmu -IX11
> 
> Any pointers or a good reference on the web somewhere. All I have are man pages and 
>code at this point.

gcc -o wmres wmres.c -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm

-Alfred

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Trying to learn X programming.

2001-11-04 Thread Rod Person

Thanks. That compiled but of course trying to use it generates core dumps. Damn linux 
code :)

Rod

It was Sun, 4 Nov 2001 12:24:41 -0600 and 
I don't really know but somebody said:

> * Rod Person <[EMAIL PROTECTED]> [011104 10:11] wrote:
> > This is a little Linux code that changes resolution of X on the fly.
> > 
> > There seems to be some differences in the Linux and FreeBSD use of
> XOpenDisplay. I read the man pages and tried changing the code a few
> different ways but it won't compile. Here's how I try to compile
> > 
> > gcc -o wmres wmres.c -I/usr/X11R6/include -IXmu -IX11
> > 
> > Any pointers or a good reference on the web somewhere. All I have are
> man pages and code at this point.
> 
> gcc -o wmres wmres.c -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext
> -lXxf86vm
> 
> -Alfred
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message


[EMAIL PROTECTED]
http://storm.prohosting.com/osbeef/osbeef.htm




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message