Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: lighttpd/README.GOOGLE

Issue 467008: Move lighttpd into deps because it's 20mb of win and mac specific... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « lighttpd/PACKINFO.TXT ('k') | lighttpd/README.LIGHTTPD » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This is an import of a cygwin-based lighttpd for windows from:
2
3 LightTPD-1.4.19-1-Win32-SSL.exe (http://en.wlmp-project.net/)
4 LightTPD-1.4.20.tar.gz (http://www.lighttpd.net/)
5
6 Modifications to the base install:
7 - Move cygwin1.dll (see no_dll/README)
8 - Remove the docs/ directory
9 - Added php5-cgi binary from php-5.2.6-Win32.zip (http://www.php.net)
10 - Non-standard php.ini and shim code in php5/
11
12 LightTPD is licensed under the "revised BSD license" (see COPYING.LIGHTTPD)
13 PHP is licensed under the PHP license (http://www.php.net/license/)
14
15 ******
16
17 --- For Mac ---
18 The Mac version of LigHTTPd depends on libpcre; build it and place a copy of
19 libpcre.0.dylib in mac/dylib.
20
21 The Mac version of LigHTTPd is built on intel from LightTPD 1.4.20 with the
22 following configure options defined:
23 --with-openssl
24 --prefix=/tmp/lighttpd so a "make install" bundles it
25 correctly
26
27 We then use install_name_tool to fix up the hardcoded library defined that
28 wants to look in /usr/local/lib
29
30 $ install_name_tool -change /usr/local/lib/liblightcomp.dylib @executable_path /../lib/liblightcomp.dylib /tmp/lighttpd/sbin/lighttpd
31
32 This also needs to be done for many of the mac/lib/mod_* libraries.
33 install_name_tool may also be needed to adjust the path to libpcre.0.dylib to
34 be relative to @executable_path (@executable_path/../lib/libpcre.0.dylib).
35
36 The Mac version of php-cgi is built from PHP 5.2.6 with the following
37 configure options:
38
39 --prefix=/tmp/php
40 --enable-fastcgi
41 --enable-sockets
42 --enable-force-cgi-redirect
43
44 --- For Linux ---
45 Similar to the Mac version, grab the sources, configure, compile and move
46 binaries to the correct location in third_party/lighttpd/lnx/
47
48 LightTPD
49 1) Uncompress
50 gzip -cd lighttpd-1.4.20.tar.gz | tar xf -
51 2) You may need some libs
52 apt-get install libpcre3-dev # required for pcre-devel
53 apt-get install libbz2-dev # required for bzip2-headers
54 3) configure, make and install
55 ./configure --with-openssl --prefix=/tmp/lighttpd_lnx
56 make
57 make install
58 4) create directory and copy files
59 cd third_party/lighttpd/
60 mkdir lnx
61 cd lnx
62 mkdir bin
63 mkdir lib
64 cp /tmp/lighttpd_lnx/sbin/lighttpd bin/
65 cp /tmp/lighttpd_lnx/lib/* lib/
66
67 PHP-CGI
68 1) Uncompress
69 gzip -cd php-5.2.6.tar.gz | tar xf -
70 2) you may need some libs
71 apt-get install libxml2-dev # required for xml2-config
72 3) configure, make and install
73 ./configure --prefix=/tmp/php_lnx \
74 --enable-fastcgi \
75 --enable-sockets \
76 --enable-force-cgi-redirect
77 make
78 make install
79 4) copy files
80 cd third_party/lighttpd/lnx
81 cp /tmp/php_lnx/bin/php_cgi bin/
82
83 Extra: You can now remove the directories where you compiled and installed.
84
85 The resulting libraries and executables are then copied into the third_party
86 dir in the source tree to mirror where the windows executables live. It's
87 unfortunate that we can't build this all from source as part of the build
88 process, but the source isn't checked in for windows, so....
OLDNEW
« no previous file with comments | « lighttpd/PACKINFO.TXT ('k') | lighttpd/README.LIGHTTPD » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698