|
|||||||||
Thursday the 20th of November, 2008 |
|||||||||
lighttpd most recent diffversion 1.4.19
Scroll down toward the bottom of the page to get installation instructions for lighttpd. The raw portfile for lighttpd 1.4.19 is located here: http://lighttpd.darwinports.com/dports/www/lighttpd/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/lighttpd # $Id: Portfile 35422 2008-03-27 21:47:35Z simon PortSystem 1.0 Name: lighttpd Version: 1.4.19 Category: www Maintainers: pguyot Description: A secure, fast, compliant and flexible web-server Long Description: lighttpd is a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Homepage: http://www.lighttpd.net/ master_sites ${homepage}/download/ checksums ${distname}.tar.gz md5 cede410e7adee3ea14206749190a8b5d sha1 79e2d61dd9017c3c50c0fe98b2289cae5c1255ee rmd160 7dbe2a22051e18f4037b48ee4811e2c9738d20cf depends_lib port:pcre port:zlib patchfiles patch-doc-lighttpd.conf post-patch { reinplace "s|__PREFIX|${prefix}|g" "${worksrcpath}/doc/lighttpd.conf" } configure.args --mandir=${prefix}/share/man # Startup item. set lighttpd_config_name lighttpd.conf set lighttpd_config ${prefix}/etc/${name}/${lighttpd_config_name} set lighttpd_pidfile_name lighttpd.pid set lighttpd_pidfile ${prefix}/var/run/${lighttpd_pidfile_name} startupitem.create yes startupitem.init "PIDFILE=${lighttpd_pidfile}" startupitem.start "${prefix}/sbin/lighttpd -f ${lighttpd_config}" startupitem.stop "kill \$(cat \$PIDFILE)" post-destroot { file mkdir "${destroot}${prefix}/etc/${name}/" xinstall -m 644 -v "${worksrcpath}/doc/lighttpd.conf" "${destroot}${lighttpd_config}.default" } post-install { ui_msg "\n Before starting lighttpd it must be configured.\n Lighttpd is configured by editing ${lighttpd_config}\n There's a sample config file at ${lighttpd_config}.default.\n Please note that the launchd daemon relies on the PID being at\n ${lighttpd_pidfile}." } Variant: mysql4 { depends_lib-append port:mysql4 configure.args-append --with-mysql=${prefix}/bin/mysql_config post-configure { reinplace "s| } } Variant: mysql5 { depends_lib-append port:mysql5 configure.args-append --with-mysql=${prefix}/bin/mysql_config5 post-configure { reinplace "s| } } Variant: ssl { depends_lib-append port:openssl configure.args-append --with-openssl=${prefix}/include/openssl } Variant: cml { depends_lib-append port:lua port:libmemcache port:memcached port:pkgconfig configure.args-append --with-lua --with-memcache } Variant: davprops { depends_lib-append port:libxml2 port:sqlite3 port:pkgconfig configure.args-append --with-webdav-props } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/lighttpdYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using lighttpd with these commands: % man lighttpd Where to find more information:
|
![]() |
![]() Digg lighttpd on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |



