The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 racoon compilation.
Author: vic 
Date:   09-02-03 17:38

Hi
I have downloaded racoon, how do I get it installed without having to tweak the Makefile so that the system doesn't try to fetch the software from the internet. Moreover, how do I prevent it from searching for a patch after it compiles.
Thanks
v

Reply To This Message
 
 Re: racoon compilation.
Author: .daniel.schrock 
Date:   10-02-03 03:41

if you are downloading the sources yourself, there is no reason to use the ports collection makefile.

mv the tar.gz somewhere else, like /tmp or /root.

extract it
./configure
make
make install


if you aren't familiar with building from sources, you should just use the ports collection and let it fetch the sources on its own...

Reply To This Message
 
 Re: racoon compilation.
Author: vic 
Date:   10-02-03 19:56

Hi Dan,
Thanks for the response, but the racoon-*.tgz doesn't have a configure script. It has the following files like:
Makefile
+BUILD_SIZE
share
sbin
It is a weird package and I think the only way to install it is to issue the "make all" command. And that's how I ran into all these compilation errors. I think the developers should have made this package simple to install like you run ./configure,make, and make install.
Racoon is a package which automatically generate new keys for ipsec exchange. The package I think can be found at www.kame.net.
I think the developers of the package have a different way of installing their package. or maybe I don't understand how to deal with the "Makefile"
Thanks for you answer anyway.
vic

Reply To This Message
 
 Re: racoon compilation.
Author: .daniel.schrock 
Date:   10-02-03 21:32

it looks like that may be the pre-compiled binary package instead of the sources.

check out /usr/sbin/pkg_add. this is probably what you will want to use for that specific download...
if you want to try to build it, use the ports version and let it grab the sources. if you compare the sources .tgz, located in /usr/ports/distfiles, to the one you downloaded, you will find they are different.

Reply To This Message
 
 Re: racoon compilation.
Author: vic 
Date:   11-02-03 16:32

Thanks again Dan,
But where I can get to download the sources from. I have been to kame.net and it is the slowest site.
Thanks
vic

Reply To This Message
 
 Re: racoon compilation.
Author: .daniel.schrock 
Date:   11-02-03 17:14

don't worry about downloading the sources... if you use the ports collection, it will download them for you.
just do the following:
cd /usr/ports/security/racoon
make
make install
make clean

Reply To This Message
 
 Re: racoon compilation.
Author: vic 
Date:   11-02-03 17:52

Hi Dan,
The system I am using is not on the internet.
Thanks
vic

Reply To This Message
 
 Re: racoon compilation.
Author: .daniel.schrock 
Date:   12-02-03 02:55

i would suggest putting it on the net behind a nat, then it will be able to get out, but nothing can in to it.

if that isn't possible at all, then get the source from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles.

you will also need to figure out any dependancies it has and grab those as well.

save them all to /usr/ports/distfiles and then you should be able to build.

its hard to get anything done offline, so your best bet would be to connect it. There are numerous ways to get connectivity without exposing yourself to attack.

NAT, enable IPFilter, cisco access lists, etc...

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org