New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13450: Portfile-lighttpd-files.diff

File Portfile-lighttpd-files.diff, 5.4 KB (added by snc@…, 3 years ago)

patchfile changes

  • www/lighttpd/files/patch-doc-lighttpd.conf

     
    1 --- doc/lighttpd.conf   2007-08-14 21:05:57.000000000 +0200 
    2 +++ doc/lighttpd.conf   2007-09-17 11:25:25.000000000 +0200 
    3 @@ -147,7 +147,7 @@ 
    4  #server.error-handler-404   = "/error-handler.php" 
    5   
    6  ## to help the rc.scripts 
    7 -#server.pid-file            = "/var/run/lighttpd.pid" 
    8 +server.pid-file            = "__PREFIX/var/run/lighttpd.pid" 
    9   
    10   
    11  ###### virtual hosts 
    12 @@ -213,14 +213,14 @@ 
    13  #                               ( "localhost" => 
    14  #                                 ( 
    15  #                                   "socket" => "/var/run/lighttpd/php-fastcgi.socket", 
    16 -#                                   "bin-path" => "/usr/local/bin/php-cgi" 
    17 +#                                   "bin-path" => "__PREFIX/bin/php-cgi" 
    18  #                                 ) 
    19  #                               ) 
    20  #                            ) 
    21   
    22  #### CGI module 
    23 -#cgi.assign                 = ( ".pl"  => "/usr/bin/perl", 
    24 -#                               ".cgi" => "/usr/bin/perl" ) 
    25 +#cgi.assign                 = ( ".pl"  => "__PREFIX/bin/perl", 
    26 +#                               ".cgi" => "__PREFIX/bin/perl" ) 
    27  # 
    28   
    29  #### SSL engine 
    30 @@ -281,8 +281,8 @@ 
    31  #ssi.extension              = ( ".shtml" ) 
    32   
    33  #### rrdtool 
    34 -#rrdtool.binary             = "/usr/bin/rrdtool" 
    35 -#rrdtool.db-name            = "/var/lib/lighttpd/lighttpd.rrd" 
    36 +#rrdtool.binary             = "__PREFIX/bin/rrdtool" 
    37 +#rrdtool.db-name            = "__PREFIX/var/lib/lighttpd/lighttpd.rrd" 
    38   
    39  #### setenv 
    40  #setenv.add-request-header  = ( "TRAV_ENV" => "mysql://user@host/db" ) 
  • www/lighttpd/files/patch-doc-lighttpd.conf.diff

     
    1 --- doc/lighttpd.conf   2007-08-14 21:05:57.000000000 +0200 
    2 +++ doc/lighttpd.conf   2007-09-17 11:25:25.000000000 +0200 
    3 @@ -147,7 +147,7 @@ 
     1--- doc/lighttpd.conf.orig      2009-08-17 15:34:32.000000000 -0400 
     2+++ doc/lighttpd.conf   2009-08-17 15:34:49.000000000 -0400 
     3@@ -37,17 +37,17 @@ 
     4  
     5 ## a static document-root, for virtual-hosting take look at the 
     6 ## server.virtual-* options 
     7-server.document-root        = "/srv/www/htdocs/" 
     8+server.document-root        = "__PREFIX/www/htdocs/" 
     9  
     10 ## where to send error-messages to 
     11-server.errorlog             = "/var/log/lighttpd/error.log" 
     12+server.errorlog             = "__PREFIX/var/log/lighttpd/error.log" 
     13  
     14 # files to check for if .../ is requested 
     15 index-file.names            = ( "index.php", "index.html", 
     16                                 "index.htm", "default.htm" ) 
     17  
     18 ## set the event-handler (read the performance section in the manual) 
     19-# server.event-handler = "freebsd-kqueue" # needed on OS X 
     20+server.event-handler = "freebsd-kqueue" # needed on OS X 
     21  
     22 # mimetype mapping 
     23 mimetype.assign             = ( 
     24@@ -116,7 +116,7 @@ 
     25 # server.tag                 = "lighttpd" 
     26  
     27 #### accesslog module 
     28-accesslog.filename          = "/var/log/lighttpd/access.log" 
     29+accesslog.filename          = "__PREFIX/var/log/lighttpd/access.log" 
     30  
     31 ## deny access the file-extensions 
     32 # 
     33@@ -148,7 +148,7 @@ 
    434 #server.error-handler-404   = "/error-handler.php" 
    535  
    636 ## to help the rc.scripts 
     
    939  
    1040  
    1141 ###### virtual hosts 
    12 @@ -213,14 +213,14 @@ 
     42@@ -189,13 +189,13 @@ 
     43 #server.chroot              = "/" 
     44  
     45 ## change uid to <uid> (default: don't care) 
     46-#server.username            = "wwwrun" 
     47+server.username            = "www" 
     48  
     49 ## change uid to <uid> (default: don't care) 
     50-#server.groupname           = "wwwrun" 
     51+server.groupname           = "www" 
     52  
     53 #### compress module 
     54-#compress.cache-dir         = "/var/cache/lighttpd/compress/" 
     55+#compress.cache-dir         = "__PREFIX/var/cache/lighttpd/compress/" 
     56 #compress.filetype          = ("text/plain", "text/html") 
     57  
     58 #### proxy module 
     59@@ -215,15 +215,15 @@ 
     60 #fastcgi.server             = ( ".php" => 
    1361 #                               ( "localhost" => 
    1462 #                                 ( 
    15  #                                   "socket" => "/var/run/lighttpd/php-fastcgi.socket", 
     63-#                                   "socket" => "/var/run/lighttpd/php-fastcgi.socket", 
    1664-#                                   "bin-path" => "/usr/local/bin/php-cgi" 
     65+#                                   "socket" => "__PREFIX/var/run/lighttpd/php-fastcgi.socket", 
    1766+#                                   "bin-path" => "__PREFIX/bin/php-cgi" 
    1867 #                                 ) 
    1968 #                               ) 
     
    2776 # 
    2877  
    2978 #### SSL engine 
    30 @@ -281,8 +281,8 @@ 
     79@@ -284,15 +284,15 @@ 
    3180 #ssi.extension              = ( ".shtml" ) 
    3281  
    3382 #### rrdtool 
     
    3887  
    3988 #### setenv 
    4089 #setenv.add-request-header  = ( "TRAV_ENV" => "mysql://user@host/db" ) 
     90 #setenv.add-response-header = ( "X-Secret-Message" => "42" ) 
     91  
     92 ## for mod_trigger_b4_dl 
     93-# trigger-before-download.gdbm-filename = "/var/lib/lighttpd/trigger.db" 
     94+# trigger-before-download.gdbm-filename = "__PREFIX/var/lib/lighttpd/trigger.db" 
     95 # trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" ) 
     96 # trigger-before-download.trigger-url = "^/trigger/" 
     97 # trigger-before-download.download-url = "^/download/"