hello can you help me pls.

Stefan Taina stefkv at yahoo.com
Sun Apr 10 04:53:24 PDT 2005


Hi . i need a little help with ports. 
i got freebsd 4.11 On celeron 300mhz and 32mb ram . 
i wanna run HTTPD and i chose BOA . 
but i dont know much abbout that server and i am not very experiences in linux thats why i want to change boa version reply . 
 
so i need to change SERVER_VERSION  data in defines.h 
 
but i cant compile it and install it thats why i wanna use ports. 
 
so i saw there is a file patch-src::defines.h in /usr/ports/www/boa/files
that change few rows in defines.h 
 
so i wanna make it change more few rows where is SERVER_VERSION variable. 
 
can you help me plss. 
i cannot code and i am little confused what this thing do . 
@@ -53,7 +53,7 @@
 
here is the file : 

--- src/defines.h.orig  Mon Nov 25 18:25:31 2002
+++ src/defines.h       Mon Nov 25 18:26:09 2002
@@ -27,7 +27,7 @@
 /***** Change this, or use -c on the command line to specify it *****/
 #ifndef SERVER_ROOT
-#define SERVER_ROOT "/etc/boa"
+#define SERVER_ROOT "%%PREFIX%%/etc/boa"
 #endif
 
 /***** Change this via the CGIPath configuration value in boa.conf *****/
@@ -53,7 +53,7 @@
 #define REQUEST_TIMEOUT                                60
-#define MIME_TYPES_DEFAULT                      "/etc/mime.types"
+#define MIME_TYPES_DEFAULT                      "%%PREFIX%%/etc/mime.types"
 #define CGI_MIME_TYPE                           "application/x-httpd-cgi"
 /***** CHANGE ANYTHING BELOW THIS LINE AT YOUR OWN PERIL *****/

 
the thing that confuse me is: 
 
why first time is 
 
@@ -27,7 +27,7 @@
 /***** Change this, or use -c on the command line to specify it *****/
 
and second is : 
 
 /***** Change this via the CGIPath configuration value in boa.conf *****/
@@ -53,7 +53,7 @@
 
 
. could you help me pls. thanks . 
 

 
 
 

		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.


More information about the freebsd-ports mailing list