Re: mysql4-server and tcpd.h and too many arguments to function

2005-08-29 Thread Sepherosa Ziehau
On 8/30/05, Jeremy C. Reed <[EMAIL PROTECTED]> wrote:
> Building mysqld failed on DragonFly with:
> 
> mysqld.cc: In function `void* handle_connections_sockets(void*)':
> /usr/include/tcpd.h:138: error: too many arguments to function `void
> sock_host()'
> mysqld.cc:3649: error: at this point in file
> /usr/include/tcpd.h:76: error: too many arguments to function `int
> hosts_access()'
> mysqld.cc:3650: error: at this point in file
> /usr/include/tcpd.h:131: error: too many arguments to function `char*
> eval_client()'
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76076
> says header included with OS is broken
> 
> Mysql bug is at http://bugs.mysql.com/bug.php?id=599 but it is closed.
> 
> NetBSD (and OpenBSD) have modified the tcpd.h headers.
> http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libwrap/tcpd.h
> 
> FreeBSD patches the mysql source to use its own header.
> 
> I saw some old pkgsrc postings about this for various platforms.
> 
> Should pkgsrc fix this? Should mysql fix this? Or should DragonFly be
> fixed?

IMHO, we should fix these outdated function declarations in our base system.

Cheers,
sephe

> 
>   Jeremy C. Reed
> 
> p.s. I have over 2600 pkgsrc packages packaged for DragonFly.
> 


-- 
Live Free or Die



mysql4-server and tcpd.h and too many arguments to function

2005-08-29 Thread Jeremy C. Reed

Building mysqld failed on DragonFly with:

mysqld.cc: In function `void* handle_connections_sockets(void*)':
/usr/include/tcpd.h:138: error: too many arguments to function `void 
sock_host()'

mysqld.cc:3649: error: at this point in file
/usr/include/tcpd.h:76: error: too many arguments to function `int 
hosts_access()'

mysqld.cc:3650: error: at this point in file
/usr/include/tcpd.h:131: error: too many arguments to function `char* 
eval_client()'


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76076
says header included with OS is broken

Mysql bug is at http://bugs.mysql.com/bug.php?id=599 but it is closed.

NetBSD (and OpenBSD) have modified the tcpd.h headers.
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libwrap/tcpd.h

FreeBSD patches the mysql source to use its own header.

I saw some old pkgsrc postings about this for various platforms.

Should pkgsrc fix this? Should mysql fix this? Or should DragonFly be 
fixed?


 Jeremy C. Reed

p.s. I have over 2600 pkgsrc packages packaged for DragonFly.


Re: user/group admin tools

2005-08-29 Thread Matthew Dillon
:
:Yeah, it is. However, Devon also mentioned we have lots of other
:things, such as vipw and chsh etc etc. What's the take on adding
:even more?
:
:-- 
:   - Liam J. Foy

From the dicussion so far it looks like we want these.  We may not
be able to immediately remove the old utilities, especially since I'm
sure a lot of scripts use them, but the new ones have got a lot of
things going for them and I think we want to shift focus to them.

-Matt
Matthew Dillon 
<[EMAIL PROTECTED]>


Re: user/group admin tools

2005-08-29 Thread Liam J. Foy
On 02:30, Tue 30 Aug 05, Martin P. Hellwig wrote:
> Liam J. Foy wrote:
> 
> >
> >Agreed. /me hates pw. I would just like these tools in, they're
> >nicely documentated and easy to use in my opinion.
> >
> Yeah great, now I finally got a bit comfortable with pw they implement 
> something easier ;-)
> 

Wait until it bites again! muhaha!

-- 
- Liam J. Foy
[EMAIL PROTECTED]
http://www.bsd-systems.co.uk


Re: user/group admin tools

2005-08-29 Thread Justin C. Sherrill
On Mon, August 29, 2005 6:12 pm, Liam J. Foy said:
> I have ported user* and group* tools from NetBSD. In my personal
> experience and opinion I find them MUCH easier to use when
> administrating users. They also contain functions which we
> currently would have to manually edit /etc/master.passwd for, such
> as the ability to force users to change their password at next
> login and to 'lock' accounts(these options have been added to NetBSD
> already, but you'll have to check the CVS logs to see them). I have
> ported the latest code.
>
> What's the general opinion on this? Would you like them put into
> DragonFly BSD?

Anything originally based on a utility called "addnerd" gets my vote.  :)




Re: user/group admin tools

2005-08-29 Thread Martin P. Hellwig

Liam J. Foy wrote:



Agreed. /me hates pw. I would just like these tools in, they're
nicely documentated and easy to use in my opinion.

Yeah great, now I finally got a bit comfortable with pw they implement 
something easier ;-)


--
mph


pam_echo & pam_exec included?

2005-08-29 Thread Martin P. Hellwig

Hi all,

While browsing for handy pam stuff, I got my eye on pam_echo & pam_exec, 
it seems that these are not available in DF or am I looking not hard 
enough? I really could use these for my authtoken syncer I'm planning to 
build in python.


--
mph


Re: user/group admin tools

2005-08-29 Thread Liam J. Foy
On 17:03, Mon 29 Aug 05, Devon H. O'Dell wrote:
> On Tue, Aug 30, 2005 at 12:55:35AM +0100, Liam J. Foy wrote:
> > On 15:50, Mon 29 Aug 05, Matthew Dillon wrote:
> > > 
> > > Just kidding.  The utilities look fine.  I particularly like the
> > > idea of the -D option, which is to have the program adjust the 
> > > defaults via the config file based on supplied options rather then
> > > making the admin edit the config file.
> > > 
> > >   -Matt
> > >   Matthew Dillon 
> > >   <[EMAIL PROTECTED]>
> > 
> > Yeah, it is. However, Devon also mentioned we have lots of other
> > things, such as vipw and chsh etc etc. What's the take on adding
> > even more?
> > 
> > -- 
> > - Liam J. Foy
> > [EMAIL PROTECTED]
> > http://www.bsd-systems.co.uk
> 
> The point of using tools named like this is that they're in NetBSD,
> OpenBSD, Linux and Solaris.
> 

Agreed. /me hates pw. I would just like these tools in, they're
nicely documentated and easy to use in my opinion.

-- 
- Liam J. Foy
[EMAIL PROTECTED]
http://www.bsd-systems.co.uk


Re: user/group admin tools

2005-08-29 Thread Devon H. O'Dell
On Mon, Aug 29, 2005 at 05:03:14PM -0700, Devon H. O'Dell wrote:
> The point of using tools named like this is that they're in NetBSD,
> OpenBSD, Linux and Solaris.
> 
> --Devon

Eh, and the purpose of removing pw in favor of these tools is that
pw was made in FreeBSD to emulate their functionality.

--Devon


Re: user/group admin tools

2005-08-29 Thread Devon H. O'Dell
On Tue, Aug 30, 2005 at 12:55:35AM +0100, Liam J. Foy wrote:
> On 15:50, Mon 29 Aug 05, Matthew Dillon wrote:
> > 
> > Just kidding.  The utilities look fine.  I particularly like the
> > idea of the -D option, which is to have the program adjust the 
> > defaults via the config file based on supplied options rather then
> > making the admin edit the config file.
> > 
> > -Matt
> > Matthew Dillon 
> > <[EMAIL PROTECTED]>
> 
> Yeah, it is. However, Devon also mentioned we have lots of other
> things, such as vipw and chsh etc etc. What's the take on adding
> even more?
> 
> -- 
>   - Liam J. Foy
>   [EMAIL PROTECTED]
>   http://www.bsd-systems.co.uk

The point of using tools named like this is that they're in NetBSD,
OpenBSD, Linux and Solaris.

--Devon


Re: user/group admin tools

2005-08-29 Thread Liam J. Foy
On 15:50, Mon 29 Aug 05, Matthew Dillon wrote:
> 
> :...
> :
> :http://netbsd.gw.com/cgi-bin/man-cgi?useradd++NetBSD-current
> :
> :Also check userdel, usermod, groupadd and groupdel etc etc.
> :Remember they also contain two other options which I wrote for
> :NetBSD to temporary lock users and to force a new password to be
> :given at next login(usermod, useradd).
> :
> :Cheers
> :-- 
> : - Liam J. Foy
> 
> What, no 'interactive' option so a tired sysad can be hand-held
> through?

=)

> 
> Just kidding.  The utilities look fine.  I particularly like the
> idea of the -D option, which is to have the program adjust the 
> defaults via the config file based on supplied options rather then
> making the admin edit the config file.
> 
>   -Matt
>   Matthew Dillon 
>   <[EMAIL PROTECTED]>

Yeah, it is. However, Devon also mentioned we have lots of other
things, such as vipw and chsh etc etc. What's the take on adding
even more?

-- 
- Liam J. Foy
[EMAIL PROTECTED]
http://www.bsd-systems.co.uk


Re: user/group admin tools

2005-08-29 Thread Matthew Dillon

:...
:
:http://netbsd.gw.com/cgi-bin/man-cgi?useradd++NetBSD-current
:
:Also check userdel, usermod, groupadd and groupdel etc etc.
:Remember they also contain two other options which I wrote for
:NetBSD to temporary lock users and to force a new password to be
:given at next login(usermod, useradd).
:
:Cheers
:-- 
:   - Liam J. Foy

What, no 'interactive' option so a tired sysad can be hand-held
through?

Just kidding.  The utilities look fine.  I particularly like the
idea of the -D option, which is to have the program adjust the 
defaults via the config file based on supplied options rather then
making the admin edit the config file.

-Matt
Matthew Dillon 
<[EMAIL PROTECTED]>


Re: user/group admin tools

2005-08-29 Thread Liam J. Foy
On 00:23, Tue 30 Aug 05, Simon 'corecode' Schubert wrote:
> Liam J. Foy wrote:
> >Comments/Productive criticism welcome, rants/flames, no =). 
> 
> show the diff so we can see what they are like :)
> 
> cheers
>   simon
> 

Instead of show the huge diff, why not just check:

http://netbsd.gw.com/cgi-bin/man-cgi?useradd++NetBSD-current

Also check userdel, usermod, groupadd and groupdel etc etc.
Remember they also contain two other options which I wrote for
NetBSD to temporary lock users and to force a new password to be
given at next login(usermod, useradd).

Cheers
-- 
- Liam J. Foy
[EMAIL PROTECTED]
http://www.bsd-systems.co.uk


Re: user/group admin tools

2005-08-29 Thread Simon 'corecode' Schubert

Liam J. Foy wrote:
Comments/Productive criticism welcome, rants/flames, no =). 


show the diff so we can see what they are like :)

cheers
  simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /"\
Work - Mac  +++  space for low $$$ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


user/group admin tools

2005-08-29 Thread Liam J. Foy
I have ported user* and group* tools from NetBSD. In my personal
experience and opinion I find them MUCH easier to use when
administrating users. They also contain functions which we
currently would have to manually edit /etc/master.passwd for, such
as the ability to force users to change their password at next
login and to 'lock' accounts(these options have been added to NetBSD
already, but you'll have to check the CVS logs to see them). I have
ported the latest code.

What's the general opinion on this? Would you like them put into
DragonFly BSD?

Comments/Productive criticism welcome, rants/flames, no =). 
-- 
- Liam J. Foy
[EMAIL PROTECTED]
http://www.bsd-systems.co.uk


Want to run Windowsapplications on BSD?

2005-08-29 Thread reezer
If you want to get Wine CrossoverOffice working on *BSD
If you want to get your favourite Hard-/Software working on *BSD
If you want to show software/hardwarecompanys, that you are there and use *BSD

then please sign here http://www.bsdnexus.com/petition.asp

Please sign also if you don't need Corssover, because it's time to show them, 
taht there are BSD-Users, who need supported Soft- or Hardware.

-- 
Sorry for bad English, reezer


Nvidia driver

2005-08-29 Thread David
does anyone know if the Nvidia driver for freebsd works with Dragonfly? 
I am using 1.2.1 release. Thanks for the help

David