Re: How to Best Prevent Unwanted named installation

2010-09-11 Thread RW
On Fri, 10 Sep 2010 15:58:42 -0500
Martin McCormick mar...@dc.cis.okstate.edu wrote:

   After successfully installing bind97 from a package on
 to a new server, I do a cvs-sup of the system to get the latest
 patches in to the kernel. After discovering that bind97 had been
 replaced with bind9.6.1, 

Presumably that's because you explicitly configured the port version to
install in the same place as the system version. It doesn't do that by
default.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to Best Prevent Unwanted named installation

2010-09-11 Thread Arthur Chance

On 09/10/10 21:58, Martin McCormick wrote:

After successfully installing bind97 from a package on
to a new server, I do a cvs-sup of the system to get the latest
patches in to the kernel. After discovering that bind97 had been
replaced with bind9.6.1, I looked in /usr/src and there is a
contrib/bind9 directory. What is the safest way to disable that
build without adversly effecting the rest of the update?

The reason for doing these things in this order is that
I would like to get bind running as quickly as possible since it
takes a couple of hours or more to get the world built when we
could be doing DNS.

Since I am not using that version of bind, not getting
it built is no problem. I don't even care if it gets built so
long as it does not end up in /usr/sbin to clobber the new
bind9.7.


If your ports version of named is in /usr/sbin you must have enabled the 
REPLACE_BASE option in the port. From man src.conf



 WITHOUT_BIND
 Setting this variable will prevent any part of BIND from being
 built.  When set, it also enforces the following options:

[list of sub options snipped]

Add

WITHOUT_BIND= true

into /etc/src.conf, and the next time you rebuild the world the base 
system bind will be left out of it.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to Best Prevent Unwanted named installation

2010-09-10 Thread Martin McCormick
After successfully installing bind97 from a package on
to a new server, I do a cvs-sup of the system to get the latest
patches in to the kernel. After discovering that bind97 had been
replaced with bind9.6.1, I looked in /usr/src and there is a
contrib/bind9 directory. What is the safest way to disable that
build without adversly effecting the rest of the update?

The reason for doing these things in this order is that
I would like to get bind running as quickly as possible since it
takes a couple of hours or more to get the world built when we
could be doing DNS.

Since I am not using that version of bind, not getting
it built is no problem. I don't even care if it gets built so
long as it does not end up in /usr/sbin to clobber the new
bind9.7.

This is not really a complaint. I just want to prevent
the installation of the old bind over the new one as simply as
possible.

Thanks.

Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to Best Prevent Unwanted named installation

2010-09-10 Thread Mike Tancsa

At 04:58 PM 9/10/2010, Martin McCormick wrote:

contrib/bind9 directory. What is the safest way to disable that
build without adversly effecting the rest of the update?


Hi,
Take a look at the man page for src.conf (and make.conf for 
completeness). You can control parts of what gets built and installed.


---Mike





The reason for doing these things in this order is that
I would like to get bind running as quickly as possible since it
takes a couple of hours or more to get the world built when we
could be doing DNS.

Since I am not using that version of bind, not getting
it built is no problem. I don't even care if it gets built so
long as it does not end up in /usr/sbin to clobber the new
bind9.7.

This is not really a complaint. I just want to prevent
the installation of the old bind over the new one as simply as
possible.

Thanks.

Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org