From: Casper H.S. Dik on
schulz(a)adi.com (Thomas Schulz) writes:

>In article <emceor$i4t$1(a)news.mie>,
>Oscar del Rio <delrio(a)mie.utoronto.ca> wrote:
>>Thomas Schulz wrote:
>>
>>> The wu-ftpd that comes with Solaris 9 works with ipv6 (or at least it
>>> runs with 'tcp6' in /etc/inetd.conf).
>>
>>check the source code in opensolaris to see what changes they made.

>I explored the opensolaris web site looking for the source to wu-ftpd,
>but could not find it. I could find some information indicating that
>there was a package for in.ftpd, but I could find nothing else.
>Perhaps I should be asking how to find the source for in.ftpd on the
>opensolaris web site.


cvs.opensolaris.org

Source of (wu) ftp under:

usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/


Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
From: Thomas Schulz on
In article <458ba308$0$336$e4fe514c(a)news.xs4all.nl>,
Casper H.S. Dik <Casper.Dik(a)Sun.COM> wrote:
>schulz(a)adi.com (Thomas Schulz) writes:
>
>>In article <emceor$i4t$1(a)news.mie>,
>>Oscar del Rio <delrio(a)mie.utoronto.ca> wrote:
>>>Thomas Schulz wrote:
>>>
>>>> The wu-ftpd that comes with Solaris 9 works with ipv6 (or at least it
>>>> runs with 'tcp6' in /etc/inetd.conf).
>>>
>>>check the source code in opensolaris to see what changes they made.
>
>>I explored the opensolaris web site looking for the source to wu-ftpd,
>>but could not find it. I could find some information indicating that
>>there was a package for in.ftpd, but I could find nothing else.
>>Perhaps I should be asking how to find the source for in.ftpd on the
>>opensolaris web site.
>
>
>cvs.opensolaris.org
>
>Source of (wu) ftp under:
>
>usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/

Ah! With the pointer to cmd-inet, I can browse to the source. I must be
a little dense however as I can not figure out how to download the complete
tree. Some cvs command? Something else that should be obvious? Thanks
for your help in getting me this far.

>
>Casper
>--
>Expressed in this posting are my opinions. They are in no way related
>to opinions held by my employer, Sun Microsystems.
>Statements on Sun products included here are not gospel and may
>be fiction rather than truth.


--
Tom Schulz
schulz(a)adi.com
From: Casper H.S. Dik on
schulz(a)adi.com (Thomas Schulz) writes:

>Ah! With the pointer to cmd-inet, I can browse to the source. I must be
>a little dense however as I can not figure out how to download the complete
>tree. Some cvs command? Something else that should be obvious? Thanks
>for your help in getting me this far.

I think you can download all of it using Mercurial.

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
From: Thomas Schulz on
In article <45967b05$0$324$e4fe514c(a)news.xs4all.nl>,
Casper H.S. Dik <Casper.Dik(a)Sun.COM> wrote:
>schulz(a)adi.com (Thomas Schulz) writes:
>
>>Ah! With the pointer to cmd-inet, I can browse to the source. I must be
>>a little dense however as I can not figure out how to download the complete
>>tree. Some cvs command? Something else that should be obvious? Thanks
>>for your help in getting me this far.
>
>I think you can download all of it using Mercurial.

I went and got Mercurial and was able to get the source. I had to take the
whole on source. Now I will have to see if I can do anything with it.
It is definitely setup to be built as a whole package with a much different
environment than I have on Solaris 8 !!!

>Casper
>--
>Expressed in this posting are my opinions. They are in no way related
>to opinions held by my employer, Sun Microsystems.
>Statements on Sun products included here are not gospel and may
>be fiction rather than truth.
--
Tom Schulz
schulz(a)adi.com
From: Thomas Schulz on
In article <enh9uk$fln$1(a)bluegill.adi.com>,
Thomas Schulz <schulz(a)adi.com> wrote:
>In article <45967b05$0$324$e4fe514c(a)news.xs4all.nl>,
>Casper H.S. Dik <Casper.Dik(a)Sun.COM> wrote:
>>schulz(a)adi.com (Thomas Schulz) writes:
>>
>>>Ah! With the pointer to cmd-inet, I can browse to the source. I must be
>>>a little dense however as I can not figure out how to download the complete
>>>tree. Some cvs command? Something else that should be obvious? Thanks
>>>for your help in getting me this far.
>>
>>I think you can download all of it using Mercurial.
>
>I went and got Mercurial and was able to get the source. I had to take the
>whole on source. Now I will have to see if I can do anything with it.
>It is definitely setup to be built as a whole package with a much different
>environment than I have on Solaris 8 !!!
>
I have it working! I used the wu-ftpd build environment. I removed the
..c and .h files and copied in the files from the on source. I then edited
the Makefile to include the extra defines and adjust what .c files were
expected. I had to search the on source for a few additional files
(closefrom.c lint.h synonyms.h stdlib.h priv.h ftp.h). I also had to
remove some of the defines (-DSOLARIS_BSM_AUDIT -DSENDFILE -DUSE_GSS
-DSOLARIS_GSS_USEROK -DSOLARIS_PRIVS).

For stdlib.h, I made a copy of the Solaris 8 file and then added in
a few lines from the version in the on source. It almost worked with
-DSENDFILE, but there was a complaint during a binary get about an
invalid command and the file count on exit was wrong. The file was
transfered correctly however. Removing -DSENDFILE fixed the funny
behavior.

I am not quite sure why I went to all this trouble, perhaps I am crazy!
--
Tom Schulz
schulz(a)adi.com