DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd July 2008
dylan912 dylan912 is offline
New User
 
Join Date: Jul 2008
Posts: 2
Default Patch and compile bind94 on FreeBSD ports collection

Dear ALL,

I just wonder whether we could patch and compile the bind dns from ports collection..!

My requirement is to apply the GeoDNS bind patch to the bind94 package on port collection and run the configure script then install

patch -p0 < file.dff
./configure -- enable options
make
make install

I have seen the directory called "work" and it has all the source codes -- /usr/ports/dns/bind94/work. Is that possible to apply patch and run ./configure script then install..? Is this a good method..?

How do we achieve this without download and compile it in manually..?

Please advice

Thanks in advance
Reply With Quote
  #2   (View Single Post)  
Old 3rd July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

All files in the files/ directory starting with patch- are applied automatically, you can place or patch there.

Or you can do it manually:
Code:
# cd /usr/ports/dns/bind94
# make patch
# patch -d work -p0 < patchfile.diff
# make install
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 4th July 2008
dylan912 dylan912 is offline
New User
 
Join Date: Jul 2008
Posts: 2
Thumbs up

Hey..! Carpetsmoker, Thanks a lot . Now I know how to patch and do the compile. It patched and installed perfectly.

Thanks once again..!
Reply With Quote
Reply

Tags
bind, named, patch

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 7.2 X Server 1.6 Patch dialeight FreeBSD Installation and Upgrading 1 4th August 2009 04:25 PM
Trying to Debug C++ Compile Error [Shibboleth] on FreeBSD starbuck Programming 4 15th January 2009 10:30 PM
Trying to compile GLUT source code on freebsd. welkin Programming 0 11th January 2009 03:15 PM
Compile ports in parallel? MetalHead FreeBSD Ports and Packages 9 9th October 2008 11:37 PM
How to compile MySQL in FreeBSD 7? invarbrass FreeBSD General 1 23rd May 2008 06:25 AM


All times are GMT. The time now is 07:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick