diff --git a/app-misc/concordance/concordance-1.0.ebuild b/app-misc/concordance/concordance-1.2.ebuild similarity index 100% rename from app-misc/concordance/concordance-1.0.ebuild rename to app-misc/concordance/concordance-1.2.ebuild diff --git a/dev-java/red5-bin/Manifest b/dev-java/red5-bin/Manifest deleted file mode 100644 index d836b339c3c192ac1b25ac4fd797a694a1a00101..0000000000000000000000000000000000000000 --- a/dev-java/red5-bin/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 21red5 54 SHA256 79aa94c73a70a19d07eb5a63f91c66aeda344d1aadc6631e3761a5cf87f04cae SHA512 01e6de4baf86b4a102884eccf0cfa7a2d6b595cab7326789fd046f4a369641452122852680ed3f99dc9b29bb2d6554282d7e2ec56d17b93f0566f435e0398c2e WHIRLPOOL 689db6fe9d1a6667ea91bb83cc2c6e138239a76c9268e79fe4f35e73e57046e046026476de71a3e29194bead43860ad9d31f56bd53491238100106e9cade5c31 -AUX red5.confd 29 SHA256 98088a4d5497a35069600974fd8b358400afcab25f0ff93db3d01fb1e22c5373 SHA512 441c2b76a28d2ba34aef5dc400a83dea53cb1ada8ab30e65d6adcab4fe81cf4515a40404d5a00389ad474011ea3260fbd6a6472b4ad30005e27627f6b2e3cc84 WHIRLPOOL 6dbc95c958cd143f6de7b558f5a241656ab11be693c82ed204849dc42cfdce2ff4394c11dcafe0af091fb23edf2f349f41acb25abf2e8c2cac4a61c56c7003d3 -AUX red5.initd 454 SHA256 f40ea9226b6afdc7356be50d37a65a87fd5683d25a1841f4e076dadaa53b71f6 SHA512 b23568d29c3ad2246d079c2def6247049838eeefc6bb3a92ddbabf0f3ee0ce1f8a7b3e081ae8ccff49fbcc36d4ab40c01ba3fe0de01de060cf4d0487b7eafc66 WHIRLPOOL cb7d6fa58dabab98f98607bc7c7d3bd6227df9bab0a85bde3225e543ca2717f2104532f54ec4457ccb2c56bb2c690c2a4c954f31e4d4fc5da7dcfa9df4e508ad -DIST red5-0.9.1.tar.gz 35466436 SHA256 71290b8b22db8c267752be432126a89e4105809d16c9bfc84d6d1e7f52438efd SHA512 1451ec6561ceb96ec483c6cea94eff5193c263c6bc9bb51cf0cee1863bc44d94489ffea25c464ed639e1208210d063f569634e1b1738347a7d8edf2ddef49dd2 WHIRLPOOL 16526b58adb815d2c77a55d51a14617031e4583d046636f7fc1fd1d1dc9b4f49b7766682c18616ae1df7b18b549f8733c33cd3ef5b1fef773531d45cca251358 -DIST red5-1.0.0.tar.gz 50773095 SHA256 6e883a944378a1925a15b4241a8b8478711e19dc46af23118007f9b6750eadd2 SHA512 193cba1adb80ba99aa7a6d5be8cb7f1f9dcdab0137fb9c1ad72a0336a29c2dee107e1979adca084fa6d61721c5f15f7a0bdc502cdc90030a817c169a9a9cb7a2 WHIRLPOOL 3f7e90067cdc3efa31f994753a4914ae59e1d29f4d584f237d8d6786d52b6857643a357481be3d227f6520fad2fd025bd8974d750e06655817dfef34a379e872 -EBUILD red5-bin-0.9.1.ebuild 993 SHA256 1bd5d2aa0c887f5d1a55f381906e5451efad4edc72dcf849c65e8481be9a35d9 SHA512 9282f7d73fb3badf2073267498d01b8e19285237aef5ea7a145330be671ba867f145aedb299a1fc866233b6a4f0487b3709d34443d0f210e83662c1b6c9d7a33 WHIRLPOOL baad1dc7fafff75b6ebd1ebb5c0add30972f30e2af52bbb5c3c9be07ba93099bca759325cdfad2efeb6d531f47130ea895f6b7092208dfa2c224be3f8f53b91d -EBUILD red5-bin-1.0.0.ebuild 993 SHA256 201153c732a9695ab75285268dc5f4d4f01ebb646de4eaca0835603fc980cb5c SHA512 92d334ca3a5d0488fcc47bde17729a799a9921d137450ad0e3b79ca37ae06bf3b2f1406530b0ee5d1dc2ede75b91bf2f2efe433a1bef9e705f324b39cdbb4b9b WHIRLPOOL 3d215d904c36ed5f61346ca6c2c598a3b718738685d00ec45c4dd5e6d4f8ed0babb2b5d0769a84e0ed35bfa5b0a8f14f62b7e744ca0661b6550ab322232e63f4 diff --git a/dev-java/red5-bin/files/21red5 b/dev-java/red5-bin/files/21red5 deleted file mode 100644 index 6b0e88167f8b421cd65cc9b680544d47dd717bd9..0000000000000000000000000000000000000000 --- a/dev-java/red5-bin/files/21red5 +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PROTECT="/opt/red5/conf /var/lib/red5-webapps" diff --git a/dev-java/red5-bin/files/red5.confd b/dev-java/red5-bin/files/red5.confd deleted file mode 100644 index 817d85fcf65ff64e30436b889d60cc1ff0065d6b..0000000000000000000000000000000000000000 --- a/dev-java/red5-bin/files/red5.confd +++ /dev/null @@ -1,2 +0,0 @@ -# Red5's User -RED5_USER=red5 diff --git a/dev-java/red5-bin/files/red5.initd b/dev-java/red5-bin/files/red5.initd deleted file mode 100644 index 0e7a6cdccb814b66016d30430cd31b2c7dc1e210..0000000000000000000000000000000000000000 --- a/dev-java/red5-bin/files/red5.initd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 -# $Header: $ - -depend() { - need net - use dns logger postgresql mysql -} - -start() { - ebegin "Starting Red5" - cd /opt/red5 - su -s /bin/bash -c "/usr/bin/nohup /opt/red5/red5.sh &" ${RED5_USER} - eend $? -} - -stop () { - ebegin "Stopping Red5" - su -s /bin/bash -c "killall -q -u ${RED5_USER} java" ${RED5_USER} - eend $? -} - diff --git a/dev-java/red5-bin/red5-bin-0.9.1.ebuild b/dev-java/red5-bin/red5-bin-0.9.1.ebuild deleted file mode 100644 index b25095e31510cb465bff4e31f42710c7105f5139..0000000000000000000000000000000000000000 --- a/dev-java/red5-bin/red5-bin-0.9.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" -inherit eutils - -MY_P=${P/_/} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Open Source Flash Server written in Java" -HOMEPAGE="http://code.google.com/p/red5/" -SRC_URI="http://www.red5.org/downloads/red5/0_9/red5-${PV}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="1" -KEYWORDS="~amd64 ~x86" -IUSE="doc source" -DEPEND=">=virtual/jdk-1.5 - >=dev-java/ant-core-1.5" -RDEPEND=">=virtual/jdk-1.5" - -RED5_HOME=/opt/red5 - -pkg_setup() { - enewgroup red5 - enewuser red5 -1 -1 ${RED5_HOME} red5 -} - - -src_install() { - newinitd "${FILESDIR}"/red5.initd red5 - newconfd "${FILESDIR}"/red5.confd red5 - doenvd "${FILESDIR}"/21red5 - - if use doc ; then - dodoc doc/* - else - rm -rf doc - fi - - if ! use source ; then - rm src.zip - fi - - dodir ${RED5_HOME} - cp -rp red5-0.9.1/* ${D}${RED5_HOME} - fowners -R red5:red5 ${RED5_HOME} - fperms 0750 ${RED5_HOME}/red5.sh - dosym ${RED5_HOME}/webapps /var/lib/red5-webapps -} diff --git a/dev-java/red5-bin/red5-bin-1.0.0.ebuild b/dev-java/red5-bin/red5-bin-1.0.0.ebuild deleted file mode 100644 index 50483d37e58bb0a599cdddbb0967eedb0e020c83..0000000000000000000000000000000000000000 --- a/dev-java/red5-bin/red5-bin-1.0.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" -inherit eutils - -MY_P=${P/_/} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Open Source Flash Server written in Java" -HOMEPAGE="http://code.google.com/p/red5/" -SRC_URI="http://www.red5.org/downloads/red5/1_0/red5-${PV}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="1" -KEYWORDS="~amd64 ~x86" -IUSE="doc source" -DEPEND=">=virtual/jdk-1.5 - >=dev-java/ant-core-1.5" -RDEPEND=">=virtual/jdk-1.5" - -RED5_HOME=/opt/red5 - -pkg_setup() { - enewgroup red5 - enewuser red5 -1 -1 ${RED5_HOME} red5 -} - - -src_install() { - newinitd "${FILESDIR}"/red5.initd red5 - newconfd "${FILESDIR}"/red5.confd red5 - doenvd "${FILESDIR}"/21red5 - - if use doc ; then - dodoc doc/* - else - rm -rf doc - fi - - if ! use source ; then - rm src.zip - fi - - dodir ${RED5_HOME} - cp -rp red5-0.9.1/* ${D}${RED5_HOME} - fowners -R red5:red5 ${RED5_HOME} - fperms 0750 ${RED5_HOME}/red5.sh - dosym ${RED5_HOME}/webapps /var/lib/red5-webapps -} diff --git a/dev-libs/libconcord/libconcord-1.0.ebuild b/dev-libs/libconcord/libconcord-1.0.ebuild deleted file mode 100644 index 1cb6e37649e77f56fe3160291aaa6cc503108356..0000000000000000000000000000000000000000 --- a/dev-libs/libconcord/libconcord-1.0.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -PYTHON_DEPEND="*" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils perl-app - -MY_PN="concordance" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Library for programming Logitech Harmony universal remote controls" -HOMEPAGE="http://phildev.net/concordance/" -SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="debug +udev consolekit perl python +usbnet-headers" - -DEPEND="dev-libs/libusb - udev? ( sys-fs/udev ) - consolekit? ( sys-auth/consolekit ) - perl? ( virtual/perl-Module-Build - dev-lang/swig ) -" - -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}/libconcord" - -src_prepare() { - if ! use usbnet-headers; then - epatch "${FILESDIR}"/usbnet_headers_remove.patch - fi -} - -src_configure() { - - myconf="--sysconfdir=/lib" - - if use debug; then - myconf="${myconf} CPPFLAGS=-D_DEBUG" - fi - - econf ${myconf} -} - -src_compile() { - emake || die - - if use consolekit; then - emake consolekit || die - elif use udev; then - emake udev || die - fi - - if use perl; then - cd "${S}/bindings/perl" - swig -perl5 concord.i - perl-app_src_configure - fi - - if use python; then - cd "${S}/bindings/python" - distutils_src_compile - fi -} - -src_install() { - - dodoc ../{Changelog,CodingStyle,TODO,SubmittingPatches} README - insinto /usr/share/doc/${P}/specs - doins ../specs/* - - emake DESTDIR="${D}" install || die - - if use consolekit; then - emake DESTDIR="${D}" install_consolekit || die - elif use udev; then - emake DESTDIR="${D}" install_udev || die - fi - - if use perl; then - cd bindings/perl - emake DESTDIR="${D}" install || die - fi - - if use python; then - cd "${S}/bindings/python" - distutils_src_install - fi -} diff --git a/dev-libs/libconcord/libconcord-1.0-r1.ebuild b/dev-libs/libconcord/libconcord-1.2.ebuild similarity index 100% rename from dev-libs/libconcord/libconcord-1.0-r1.ebuild rename to dev-libs/libconcord/libconcord-1.2.ebuild diff --git a/dev-util/papi/Manifest b/dev-util/papi/Manifest deleted file mode 100644 index 916ec9c64e8ee2712ae0a288b3fe79c263d970fe..0000000000000000000000000000000000000000 --- a/dev-util/papi/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST papi-4.1.1.tar.gz 3596962 SHA256 8dcd7bbb9edf9f00df397315cd5ae4be41423357733decf1106ff132a81006d0 SHA512 f20a13d9f22614a89255bd85fe575503ebc502f99ed9aedb5956a0e027ec1c23dc05b1a0d315e8fc47eb4661dc85606a8b14589fbb5b57f5596c86c4dea09285 WHIRLPOOL c563797a9a9dac0c878e78193a7b967dc3d22a74166ed3e2d3359890a967160061d61427aa93044faa93b4531ca68064fd464b13cfe850871823b9aef7b1ff1b -EBUILD papi-4.1.1.ebuild 1201 SHA256 e70f63be6bcb8237d29703942b1e3c3b091307321e90d129a32735c2b636c0a1 SHA512 e0620ac16338ae95693181b5895b6697681565b5387d59397f626afaa0d91f6b0a3d6f71a1209cfa1062d7ecfd926341aef0284856c9272570a13ecc0ca631ba WHIRLPOOL bb91e398503a879b73a191e2e6e2a04f6ea625c299c00e5f24b93a0b7ac448ad80176abd6fdc520eb0992b4c06f302d600483f9164221053ecac789baabe49c2 diff --git a/dev-util/papi/papi-4.1.1.ebuild b/dev-util/papi/papi-4.1.1.ebuild deleted file mode 100644 index 57a460567f737e50642761d6c0cf8e8d5a69ee6f..0000000000000000000000000000000000000000 --- a/dev-util/papi/papi-4.1.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" - -inherit multilib - -DESCRIPTION="Performance Application Programming Interface" -HOMEPAGE="http://icl.cs.utk.edu/papi/" -SRC_URI="http://icl.cs.utk.edu/projects/papi/downloads/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -DEPEND=">=dev-util/perfctr-2.6.37" -RDEPEND="${DEPEND}" - -S="${WORKDIR}"/${P}/src - -src_compile() { - local myconf - if use debug; then - myconf="${myconf} --with-debug=yes" - else - myconf="${myconf} --with-debug=no" - fi - econf ${myconf} \ - --with-perfctr-incdir=/usr/include \ - --with-perfctr-libdir=/usr/$(get_libdir) \ - --with-perfctr-prefix=/usr \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - dodir /usr/$(get_libdir) - # there's something wrong inside those makefiles, - # so lets use the old and ugly way - emake \ - DESTDIR="${D}" \ - LIBDIR="/usr/$(get_libdir)" \ - MANDIR="/usr/share/man" \ - install || die "install failed" -} - -src_test() { - emake check - emake test || die "initial test failed" - #if use fulltest; then - # ./run_tests.sh || ewarn "some tests failed, continuing anyway" - #fi -} diff --git a/net-misc/jdownloader/Manifest b/net-misc/jdownloader/Manifest deleted file mode 100644 index 6cabca2c27998c3eb873c8f2a44ffc8609be1d9e..0000000000000000000000000000000000000000 --- a/net-misc/jdownloader/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -AUX jDownloader 154 SHA256 8856b0a1d747c5bcf288fab839bd347b665e8cf977a646d570adbfbeeea61bcb SHA512 51974dbdc87f6ba4cceb65fecefce1e1363f108dc4d0e6849209e627b96ae9a41156a931c67ee2590f8df258a3fb527a09f9ba8572f2c0a179fcd6bc171332f6 WHIRLPOOL 20eae14e572c77a407d0cf67fb554318a9d05d083ccae9c5949586f4cb592d7a3117799033c48af6abb3e1f0fca199e124d36c54267ed8bf91ad304a41278ad0 -DIST JDownloader.zip 31419822 SHA256 3ec0c04213efe1ac427b19080363041d3c53a29bdf302ec8e1ac1a84770b60b5 SHA512 6f4b321e106d9ae214a05ec1d9f3d9a8304b5eceb226acd275697808d75d4ce6dd23885d526f27f7d019a162bb2c35e75cd0f97c490a04707311b5435b0d3b1a WHIRLPOOL 1b1c2c0a2da93a4d22346bc695a5bdb23716d2446bdacc805ae32a55d59a7fd1df5c332b4df5c605a0259b0c7bf946722f0f597aeae08b3ec135c2599a590fbb -EBUILD jdownloader-0.9.ebuild 1120 SHA256 e0caa12ca4b2f5d95e28742969a2dddec8750012985d84566b41bf55eb43dd2b SHA512 1d408332e48634c68d491443357e1c7345202084aa0482ca0e382dcb55cfaf9c50b614e618129492d7123c3fa01ae50812bd8bb994f42708caabadb83d2439b6 WHIRLPOOL 07961ffc9301199254ff526ab923ea13ef0705bb00de74c408054a25454a549dc6a1a6e8e6fdb07512b32caa77343b946e66577abfbc1545b382c39296a3fef4 diff --git a/net-misc/jdownloader/files/jDownloader b/net-misc/jdownloader/files/jDownloader deleted file mode 100644 index 5c88948fa70df18b068cd30914932296311ba3ab..0000000000000000000000000000000000000000 --- a/net-misc/jdownloader/files/jDownloader +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -if [ ! -d ~/.jDownloader/ ] ; then - mkdir ~/.jDownloader/ - cp -R /opt/jdownloader/* ~/.jDownloader/ -fi -java -jar ~/.jDownloader/JDownloader.jar diff --git a/net-misc/jdownloader/jdownloader-0.9.ebuild b/net-misc/jdownloader/jdownloader-0.9.ebuild deleted file mode 100644 index 6f5a903af27c6c53d1d90e01084b269878df6a0e..0000000000000000000000000000000000000000 --- a/net-misc/jdownloader/jdownloader-0.9.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils fdo-mime gnome2-utils - -MY_PN="${PN/jd/JD}" - -DESCRIPTION='JDownloader is an opensource download software that simplifies -downloading files from most One-Click-Hosters (like RS, MU, etc).' -HOMEPAGE="http://jdownloader.org" -SRC_URI="http://94.23.204.158/${MY_PN}.zip" -S=${WORKDIR}/${MY_PN} - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="app-arch/unzip" -RDEPEND="${DEPEND} - >=virtual/jre-1.5" - -src_install() { - insinto /opt/${PN} - doins -r ${S}/* - #fowners nobody:users -R /opt/${PN} - #fperms g+rw -R /opt/${PN} - dobin ${FILESDIR}/jDownloader - insinto /usr/share/icons/hicolor/64x64/apps/ - newins ${S}/jd/img/logo/jd_logo_64_64.png ${PN}.png - make_desktop_entry /opt/${PN}/jDownloader ${MY_PN} /usr/share/icons/hicolor/64x64/apps/${PN}.png "Network;FileTransfer;P2P;GTK" -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update -} diff --git a/net-misc/pyload/Manifest b/net-misc/pyload/Manifest deleted file mode 100644 index 010a57e83d0fa5a48eb4759be8617ce2157ef8ab..0000000000000000000000000000000000000000 --- a/net-misc/pyload/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX pyload-0.4.9-PIL.patch 2534 SHA256 2fdccc42e7824d3cc2899dc2372ed1a9073266978a2ac5ed22b1b602f370563c SHA512 e9b2e7f03a2b81c885640676d5a83d9ba3fffa9d2bc1c7032bc475ff465a98a0b93a5b7242875c3c079624dd4d6128c7cad9f10a974107d48666af94e26db1d3 WHIRLPOOL f9ea6f64c8aa788a8e90c2775e9ecf4481214c5cba8acdfd393c3474a7d03b63e511466365b48fe72398594f051e4cb3c05d637cde58975fc7d2eb00fe465456 -AUX pyload-0.4.9-sanitize-config.patch 834 SHA256 36bffbaa3099c52952582f6e69931b5297c500a1e54d641e2b9ee547c1cfa60f SHA512 2b78a9ba74da93409f786fd32ae56cca8858953227314779f86aa6bddec06d6b373ddd78528df0aa5e7657c0c201ba6b0b6bfded98dae60d27ecdcce5060d15f WHIRLPOOL 97cc27681ba723f553aaf033472dd82dda36d5cbc9212bdce48a2d3b7e5039e2e2364a75e87af0093c89d77af80bc04fd13a1dc4eba7b7e8f1093b572eab53b4 -AUX pyload.confd 193 SHA256 35fc29ce2c9feccd2946ac41795560521155f34183f3cd3fd5ea6d82c9afd117 SHA512 942a1462a1f10a8548e571fa51c124c0bf2ac85a317aaa7f1fc896084c068b0c460507c74ae938725740dea742744ab0eb3cb30b0471ff33c371738aaf227e45 WHIRLPOOL a6346ba0d19475d81634f5516f7619c28fe6d7f91be4328081d4cdf113c3a001703625af62aef3ebe4c04d5453c34827b4db13f5a8a82e61d23ac66cf9ffcab1 -AUX pyload.initd 373 SHA256 70b96bc562153d5336d6ea69e3601f22751b6103e6cb5266b98b98c8dfa6d311 SHA512 827e6a9ebad3aaa6655936cbb7162ed651021c94edf4d04fdbdce5922521ae58a7fcb631a2d38217fe2f33db4dcf711ae2470d2c8a7434952337582e2fd6ad0e WHIRLPOOL ffa69838a1cfd06f24a8ed6e7f114e748e8e0f8d0643e9bad579fb6c2eece19801a33df367c9232a51dc2e6a20482a26a8226b52a0b5b9766b396a83f553e2a5 -AUX pyload.service 179 SHA256 645addcff8fed4b8ba5e4aa7728e27810555d39596ca2048f8f6dbf10cc64974 SHA512 311144cfee847e2c26d3079619f9b0bf9c90135787fada0a8631e298ccac9f701ec843eb30f86569d8d29d9f51334d5486a491d3dcafc4ec7231b0593e6f905d WHIRLPOOL 667aae8541a5083949dfd10b1ad13a55159d4ddb550fa5437f16d76ae2b7028f38e000396a4160f8f4a429c4583c3656576860ec5cb1a86c532b2bd5a24b707c -DIST pyload-src-v0.4.9.zip 1582931 SHA256 f937631d376216bc830d6ffcd5b4ecb1806afd4012a184849da1a333a7ba0016 SHA512 6265602073279763c5393b958ec2cc6825d51e872556d2f2141db1e2afd9a2aaded8275aac0576526f96863d768bc9ff3669e7ff31e7b9fb5c5f655bba920a8e WHIRLPOOL abe9e244cdba73e5cd0e1d0de072c52d00ca8e44ae6f7979235427402804aeb59ebcaf01a85a3696c1292c276f30eec489f0c3cf32680fef158139ca7ed14b8d -EBUILD pyload-0.4.9.ebuild 3764 SHA256 d591a2e4594e993b340a39fcba7b4f1d718d7664ba8486e3dbbf0fe06b1bb848 SHA512 edc9b1ebe75653d6ba21d815347ee98609bd6ebb62952a6895a5c7fff30991626b28e2991eb87183516549435fc83f7e5f4ea685ae60ab404b227e0be9f7e639 WHIRLPOOL f29f0ea3d326d80ffa8a53bddfbdeee71985d244e8e92e9e4067e56493629480c2f747239f0842cd3244fb2ea4dc2ea08d7024f830863221ffe952ae9a0bca00 diff --git a/net-misc/pyload/files/pyload-0.4.9-sanitize-config.patch b/net-misc/pyload/files/pyload-0.4.9-sanitize-config.patch deleted file mode 100644 index ebdd34ec948fe0858be4c7d0af6423f2190e2a97..0000000000000000000000000000000000000000 --- a/net-misc/pyload/files/pyload-0.4.9-sanitize-config.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -urN pyload.orig/module/config/default.conf pyload.new/module/config/default.conf ---- pyload.orig/module/config/default.conf 2011-12-29 13:06:43.000000000 +0100 -+++ pyload.new/module/config/default.conf 2012-01-13 00:17:20.351549582 +0100 -@@ -2,7 +2,7 @@ - - remote - "Remote": - int port : "Port" = 7227 -- ip listenaddr : "Adress" = 0.0.0.0 -+ ip listenaddr : "Adress" = 127.0.0.1 - bool nolocalauth : "No authentication on local connections" = True - bool activated : "Activated" = True - ssl - "SSL": -@@ -13,7 +13,7 @@ - bool activated : "Activated" = True - builtin;threaded;fastcgi;lightweight server : "Server" = builtin - bool https : "Use HTTPS" = False -- ip host : "IP" = 0.0.0.0 -+ ip host : "IP" = 127.0.0.1 - int port : "Port" = 8001 - str template : "Template" = default - str prefix: "Path Prefix" = diff --git a/net-misc/pyload/files/pyload.confd b/net-misc/pyload/files/pyload.confd deleted file mode 100644 index 03c47560d6de85e891d5c27f4dc6c7de755b08a4..0000000000000000000000000000000000000000 --- a/net-misc/pyload/files/pyload.confd +++ /dev/null @@ -1,8 +0,0 @@ -#The Name of the daemon process' PID-file -PIDFILE="/var/run/pyload.pid" - -#Preset working directory for pyload -CONFIGDIR="/var/lib/pyload" -#Additional daemon options you want to use -OPTIONS="" - diff --git a/net-misc/pyload/files/pyload.service b/net-misc/pyload/files/pyload.service deleted file mode 100644 index 734972fd64675761b55d793a011057d784bd371d..0000000000000000000000000000000000000000 --- a/net-misc/pyload/files/pyload.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=PyLoad Daemon -After=network.target - -[Service] -ExecStart=/usr/bin/env python2 /opt/pyload/pyLoadCore.py -StandardOut=syslog - -[Install] -WantedBy=multi-user.target diff --git a/net-misc/pyload/pyload-0.4.9.ebuild b/net-misc/pyload/pyload-0.4.9.ebuild deleted file mode 100644 index c07ec912ec55a4a17b7dc477286cfc4ac09780c4..0000000000000000000000000000000000000000 --- a/net-misc/pyload/pyload-0.4.9.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_DEPEND="2" -PYTHON_USE_WITH="sqlite" - -inherit base eutils python systemd - -SRC_URI="http://get.pyload.org/static/${PN}-src-v${PV}.zip" -KEYWORDS="~amd64 ~x86" - -DESCRIPTION="A fast, lightweight and full featured download manager for many One-Click-Hosters." -HOMEPAGE="http://www.pyload.org" -#Upstreams says GPL but part of the source is not available to users -#We need a review about this and find the right license. -LICENSE="freedist" -SLOT="0" -IUSE="captcha clicknload container qt4 rar ssl" - -DEPEND="app-arch/unzip" - -RDEPEND="${DEPEND} - dev-python/beautifulsoup - dev-python/beaker - dev-python/feedparser - dev-python/simplejson - dev-python/pycurl - dev-python/jinja - captcha? ( - app-text/tesseract - virtual/python-imaging - ) - clicknload? ( - || ( - dev-lang/spidermonkey - dev-java/rhino - ) - ) - container? ( dev-python/pycrypto ) - qt4? ( dev-python/PyQt4 ) - rar? ( app-arch/unrar ) - ssl? ( - dev-python/pycrypto - dev-python/pyopenssl - )" -#clicknload? ( || ( ... ossp-js pyv8 ) ) - -S=${WORKDIR}/${PN} - -PYLOAD_WORKDIR=/var/lib/pyload # (/var/lib/ in lack of a better place) - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - #enewuser pyload -1 -1 ${PYLOAD_WORKDIR} -} - -src_unpack() { - if [[ ${PV} == *9999 ]]; then - mercurial_src_unpack - else - default - #base_src_unpack - fi - - cd "${S}" -} - -src_prepare() { - epatch "${FILESDIR}/${P}-sanitize-config.patch" \ - "${FILESDIR}/${P}-PIL.patch" - - # replace some shipped dependencies with the system libraries - rm -r \ - ${S}/module/lib/BeautifulSoup.py \ - ${S}/module/lib/beaker \ - ${S}/module/lib/feedparser.py \ - ${S}/module/lib/simplejson \ - ${S}/module/lib/jinja2 \ - - - find ${S}/module/ -name "*.py" -type f -print0 | xargs -0 \ - sed -i \ - -e 's:from module.lib.BeautifulSoup:from BeautifulSoup:' \ - -e 's:from module.lib \(import feedparser.*\):\1:' \ - -e 's:from module.lib.simplejson:from simplejson:' \ - -e 's:from module:from pyload:' \ - -e 's:"module\(.*\)":"pyload\1":' \ - -e 's:import module:import pyload:' \ - #${S}/module/**/*.py # globbing not working -> find - - sed -i \ - -e 's:from module:from pyload:' \ - -e 's:import module:import pyload:' \ - pyLoadCore.py - - sed -i \ - -e 's:from module:from pyload:' \ - -e 's:import module:import pyload:' \ - pyLoadCli.py - - if ! use qt4; then - rm -r ${S}/module/gui - fi -} - -src_configure() { - : -} - -src_compile() { - : -} - -src_install() { - insinto $(python_get_sitedir)/${PN} - doins -r ${S}/module/* - - insinto /usr/share/${PN} - doins -r ${S}/locale - #doins -r ${S}/module - doins -r ${S}/scripts - - exeinto /usr/bin/ - newexe ${S}/pyLoadCore.py pyLoadCore - newexe ${S}/pyLoadCli.py pyLoadCli - - - if use qt4; then - doins -r ${S}/icons - make_wrapper pyloadgui /opt/${PN}/pyLoadGui.py - fi - - dodir ${PYLOAD_WORKDIR} - # install default config - if ! test -f /etc/pyload/pyload.conf; then - insinto /etc/pyload - newins "${S}/module/config/default.conf" pyload.conf - fi - - #fix tmpdir - dosym /tmp ${PYLOAD_WORKDIR}/tmp - - newinitd ${FILESDIR}/pyload.initd pyload - newconfd ${FILESDIR}/pyload.confd pyload - - systemd_dounit ${FILESDIR}/pyload.service - - python_convert_shebangs -q -r 2 "${D}" -} - -pkg_postinst() { - python_mod_optimize ${PN} - if use ssl && ! test -f ${PYLOAD_WORKDIR}/ssl.key; then - einfo "If you plan using pyLoad's XML-RPC via SSL, you'll have to create a key in pyloads work directory" - echo - einfo "For the lazy, the list of needed commands is:" - echo - einfo "cd ${PYLOAD_WORKDIR}" - einfo "openssl genrsa 1024 > ssl.key" - einfo "openssl req -new -key ssl.key -out ssl.csr" - einfo "openssl req -days 36500 -x509 -key ssl.key -in ssl.csr > ssl.crt" - fi -} - -pkg_postrm() { - python_mod_cleanup ${PN} -} diff --git a/net-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest deleted file mode 100644 index 4e794f56f1a22fa47e880dbae54d5d38deb11460..0000000000000000000000000000000000000000 --- a/net-misc/teamviewer/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX teamviewer.sh 659 SHA256 3f30bfda8900af2fa5e2e7fd887ce9b18e7d1fba8110d3f4b086a19c1ba4d41c SHA512 9005cd5c10ecdafd60cebe3e3f188ff62329ebfa746278b139a589c8ad37c4d5ea60d61fafe713fbb35f79b3162073fae71246b21b62d4517df7af3d169d7dd6 WHIRLPOOL 7cd2552520ae137861c3936eb996b23839fd97303c2bb5563672414da7d5848fde38e03068417a9bd3fa4e1f0438513a3902d683b95d464b520852633d2ac9a2 -AUX teamviewerd.conf 230 SHA256 5cd8485974ef1c62be8fbe4d92f31a03b616e1a3e46c11bcadef7bdb2c169d8a SHA512 31d412278f61fc943f474a02db6de802f53da8b2b424adb5c8a1720bff4316ccb36d5bfbb505c056ef031dcfd52fef5ea28da96b348a76ddf9c624ca1c3cf78f WHIRLPOOL f2bb0f80d15b3dce8db6d9e598e2e050c09aa64e255edfd43567245b7f208aed725e384bcb27b120d3e81655d25e13472ed39e4daefd3bc7d855d9a0bcd3d5c6 -AUX teamviewerd.init 900 SHA256 200ad1345d137377010e4cbb55f3d82ff8f245e86c33a8cff6639afcdf75103d SHA512 1a29a5594e5cc7821a3d0a02847e7954bf79b3c9f020af3e69ce58eb1366041e1c7de8a44361ae1b3e3bc0fef9e70d230e313df3ca536bca65446f605ff4c172 WHIRLPOOL 89a5e7b35e99dcd9af6c1a6357e276cd465eeca4fc998f3195bdd23a837c02bbd42084ff12bc33e35b2ec1f3697dd39274c1a2ed755dddf63222d0d288fd41ee -DIST teamviewer_10.0.37742_i386.deb 40663492 SHA256 ad40024f9f941f33de8a3028eb1c2975be00416b8e1a61c722e1ebd4acff4f72 SHA512 6ae098e728323dbcfe17a70b8014e17090a22312c6d19fe40e5ad0dcf0ca98cd8d7809b96cbf75c0e2aa2a40a6ced88f24a44a5c095fd3ebc03bbf803a8682fd WHIRLPOOL 5164ce88794f5fbb89a5bf0b3ec867eca10632a945fc12097c8fff07285fd6ccbccd0ac579b2cfadb83f751c2106f2046ae9a8d8a3f01a905ab4ec19b1c15751 -EBUILD teamviewer-10.0.37742-r4.ebuild 2684 SHA256 57478650754089e95cd9eb55d8643d2512ef13e94e60368c7cf3eaab9d2bcf4e SHA512 1236f015b43657b4dc5c5994f14ff55ca40aa9b7347ecfb06d63db5833b76995e39a59dd0c6add5f607dcb61a30c538c1e29df7e3e1db411fa528a8f6a579f9a WHIRLPOOL 77d045f9620a2dd89571c3de997715d9ec6b5de0ef1a121a7d327b005afbd6bc77f638fc816cfd4e195d67cceb0aa7588c88246be6cc31ade467906a18ecce34 diff --git a/net-misc/teamviewer/files/teamviewer.sh b/net-misc/teamviewer/files/teamviewer.sh deleted file mode 100644 index 437899c56b9a9c8f3f167a95e65d3038a4135204..0000000000000000000000000000000000000000 --- a/net-misc/teamviewer/files/teamviewer.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -tv="$(basename $0)" -prefix="${HOME}/.wine-${tv}" -arch="win32" - -if [[ ! -d "${prefix}" ]]; then - echo "Creating prefix..." - env WINEARCH="${arch}" WINEPREFIX="${prefix}" wineboot -i &> /dev/null - echo "Copying TeamViewer files to prefix..." - cp -R "/opt/${tv}/wine/drive_c/TeamViewer" "${prefix}/drive_c/TeamViewer" - echo "Creating config and log directories in ~/.config/teamviewer10" - mkdir -p "${HOME}"/.config/teamviewer10/{config,logfiles} -fi - -env WINEDLLPATH="${prefix}/drive_c/TeamViewer" WINEPREFIX="${prefix}" wine "C:\\TeamViewer\\TeamViewer.exe" "\${[@]}" &> "${HOME}/.config/teamviewer10/logfiles/-$(date +%Y.%m.%d-%H:%M:%S)-wine.log" diff --git a/net-misc/teamviewer/files/teamviewerd.conf b/net-misc/teamviewer/files/teamviewerd.conf deleted file mode 100644 index e949660678be50e264786aac285c0bad9a870ac8..0000000000000000000000000000000000000000 --- a/net-misc/teamviewer/files/teamviewerd.conf +++ /dev/null @@ -1,6 +0,0 @@ -# This entry can be used to specify a default daemon password. -# It is set by running /etc/init.d/teamviewerd@TVV@ passwd. -# The password must be between 8 and 12 characters, and special characters should -# be avoided. - -PASSWD="" diff --git a/net-misc/teamviewer/files/teamviewerd.init b/net-misc/teamviewer/files/teamviewerd.init deleted file mode 100644 index 00c3cf6b323d67e7b59408da743bc0a93678ba6c..0000000000000000000000000000000000000000 --- a/net-misc/teamviewer/files/teamviewerd.init +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/teamviewer/files/teamviewerd.init,v 1.2 2013/04/18 13:08:45 hasufell Exp $ - -command=/opt/teamviewer@TVV@/tv_bin/teamviewerd -command_args=-d -description="daemon for TeamViewer" -pidfile=/var/run/teamviewerd.pid - -extra_stopped_ommands="passwd" - -passwd() { - if [ -z "${PASSWD}" ]; then - eerror "No password specified." - exit 1 - fi - - ebegin "Attempting to change password." - /opt/teamviewer10/tv_bin/teamviewerd --passwd "${PASSWD}" - retr=$? - case $retr in - 0) einfo "Password successfully set." ;; - 11|12) eerror "Password must be between 8 and 12 characters.";; - 13) eerror "Invalid characters detected.";; - 14) eerror "Password invalid. Validation failed.";; - *) eerror "Unknown error code";; - esac - eend $retr - exit $retr -} diff --git a/net-misc/teamviewer/teamviewer-10.0.37742-r4.ebuild b/net-misc/teamviewer/teamviewer-10.0.37742-r4.ebuild deleted file mode 100644 index b736975c9f983bdc89ce9b34fbb5230de7033575..0000000000000000000000000000000000000000 --- a/net-misc/teamviewer/teamviewer-10.0.37742-r4.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils gnome2-utils systemd unpacker - -# Major version -MV=${PV/\.*} -MY_PN=${PN}${MV} -DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet" -HOMEPAGE="https://www.teamviewer.com" -SRC_URI="https://download.teamviewer.com/download/version_${MV}x/${PN}_${PV}_i386.deb" - -LICENSE="TeamViewer" -SLOT=${MV} -KEYWORDS="-* ~amd64 ~x86" - -RESTRICT="bindist mirror" - -RDEPEND=" - app-emulation/wine[abi_x86_32(-)] - dev-qt/qtcore:4[abi_x86_32(-)] - dev-qt/qtgui:4[abi_x86_32(-)] - dev-qt/qtwebkit:4[abi_x86_32(-)] - media-libs/alsa-lib[abi_x86_32(-)] - x11-libs/libICE[abi_x86_32(-)] - x11-libs/libSM[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXau[abi_x86_32(-)] - x11-libs/libXdamage[abi_x86_32(-)] - x11-libs/libXdmcp[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - x11-libs/libXfixes[abi_x86_32(-)] - x11-libs/libXrandr[abi_x86_32(-)] - x11-libs/libXtst[abi_x86_32(-)]" - -QA_PREBUILT="opt/teamviewer${MV}/*" - -S=${WORKDIR}/opt/teamviewer/tv_bin - -src_prepare() { - sed \ - -e "s/@TVV@/${MV}/g" \ - "${FILESDIR}"/${PN}d.init > "${T}"/init || die - sed \ - -e "s/@TVV@/${MV}/g" \ - "${FILESDIR}"/${PN}d.conf > "${T}"/conf || die -} - -src_install () { - local destdir="/opt/${MY_PN}" - - # install wine prefix skeleton and reg keys - insinto "${destdir}/wine/drive_c/" - doins -r wine/drive_c/TeamViewer/ - # fix permissions - fperms 755 ${destdir}/wine/drive_c/TeamViewer/TeamViewer.exe - - # install wine wrapper - exeinto "/opt/bin" - newexe "${FILESDIR}/${PN}.sh" "${MY_PN}" - - # install teamviewer linux binaries - exeinto "${destdir}/tv_bin" - doexe TeamViewer_Desktop TVGuiDelegate TVGuiSlave.32 - use amd64 && doexe TVGuiSlave.64 - - # install daemon binary and scripts - exeinto "${destdir}/tv_bin" - doexe ${PN}d - newinitd "${T}"/init ${PN}d${MV} - newconfd "${T}"/conf ${PN}d${MV} - systemd_newunit script/${PN}d.service ${PN}d${MV}.service - - # set up logdir - keepdir /var/log/${MY_PN} - dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles - - # set up config dir - keepdir /etc/${MY_PN} - dosym /etc/${MY_PN} /opt/${MY_PN}/config - - newicon -s 48 desktop/${PN}.png ${MY_PN}.png - #dodoc ../doc/linux_FAQ_{EN,DE}.txt - make_desktop_entry ${MY_PN} "TeamViewer ${MV}" ${MY_PN} -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - - ewarn "STARTUP NOTICE:" - elog "You cannot start the daemon via \"teamviewer --daemon start\"." - elog "Instead use the provided gentoo initscript:" - elog " /etc/init.d/${PN}d${MV} start" - elog - elog "Logs are written to \"/var/log/teamviewer${MV}\"" -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/sci-libs/blas-goto2/blas-goto2-1.13.ebuild b/sci-libs/blas-goto2/blas-goto2-1.13.ebuild deleted file mode 100644 index 1df6ccb0477c5bc9d416f33a4f854da6ddc8abae..0000000000000000000000000000000000000000 --- a/sci-libs/blas-goto2/blas-goto2-1.13.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/blas-goto-1.26.ebuild,v 1.2 2009/08/18 14:22:19 bicatali Exp $ - -EAPI="5" - -inherit eutils fortran-2 flag-o-matic toolchain-funcs - -EAPI="5" - -MY_PN="GotoBLAS2" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="Fast implementations of the Basic Linear Algebra Subroutines" -HOMEPAGE="http://www.tacc.utexas.edu/research-development/tacc-projects/" -SRC_URI="${MY_P}.tar.gz" -LICENSE="tacc" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="int64 threads doc openmp" -RESTRICT="fetch" -DOWNLOAD_URL="${HOMEPAGE}" - -RDEPEND="app-admin/eselect-blas - doc? ( app-doc/blas-docs ) - openmp? ( >=sys-devel/gcc-4.3[openmp] )" -DEPEND="app-admin/eselect-blas - >=sys-devel/binutils-2.17" - -S="${WORKDIR}/${MY_PN}" -FORTRAN="gfortran g77 ifc" - -ESELECT_PROF=goto - -pkg_nofetch() { - einfo "Please download ${SRC_URI} from" - einfo "${DOWNLOAD_URL}" - einfo "and place it in ${DISTDIR}." -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch to link with m and fortran libs, works with asneeded - epatch "${FILESDIR}"/${P}-sharedlibs.patch - - # Get and test C (cross-) compiler - C_COMPILER=$(tc-getCC) - if [[ $(tc-getCC) != *gcc ]]; then - ewarn "Your C compiler is set to $(tc-getCC)." - ewarn "${PN} needs gcc to inline assembler, others compilers have reported failures." - die "Incompatible C compiler, need gcc." - fi - - # Get Fortran compiler - case ${FORTRANC} in - g77) F_COMPILER=G77;; - gfortran) F_COMPILER=GFORTRAN;; - ifc|ifort) F_COMPILER=INTEL;; - *) - die "Invalid Fortran compiler: ${FORTRANC}; valid are ${FORTRAN}." - esac - - # Set compilers - sed -i \ - -e "s:^# \(CC\s*=\).*:\1 ${C_COMPILER}:g" \ - -e "s:^# \(FC\s*=\).*:\1 ${F_COMPILER}:g" \ - Makefile.rule \ - || die "sed for compilers failed" - - # Set Threads - use threads && THREADS=1 || THREADS=0 - sed -i \ - -e "s:^# \(USE_THREAD\s*=\).*:\1 ${THREADS}:g" \ - Makefile.rule \ - || die "sed for threads failed" - - # Set BINARY - use amd64 && BINARY=64 || BINARY=32 - sed -i \ - -e "s:^# \(BINARY\s*=\).*:\1 ${BINARY}:g" \ - Makefile.rule \ - || die "sed for binary failed" - - # Set integer interface - use int64 && INT64=1 || INT64=0 - use int64 && ESELECT_PROF="${ESELECT_PROF}-int64" - sed -i \ - -e "s:^# \(INTERFACE64\s*=\).*:\1 ${INT64}:g" \ - Makefile.rule \ - || die "sed for 64 integers failed" - - # Set OpenMP - use openmp && OPENMP=1 || OPENMP=0 - sed -i \ - -e "s:^# \(USE_OPENMP\s*=\).*:\1 ${OPENMP}:g" \ - Makefile.rule \ - || die "sed for 64 binary failed" - -} - -src_compile() { - - # Make static library - emake LDFLAGS="$(raw-ldflags)" || die "emake failed" - - # Make shared library - cd exports - emake so -j1 || die "emake failed" -} - -src_test() { - cd test - emake || die "emake test failed" - make clean -} - -src_install() { - local install_dir=/usr/$(get_libdir)/blas/goto - dodir ${install_dir} - - # dolib.so doesn't support our alternate locations - exeinto ${install_dir} - doexe libgoto2_*.so || die "installing shared lib failed" - dosym libgoto2_*.so ${install_dir}/libgoto2.so - dosym libgoto2_*.so ${install_dir}/libgoto2.so.0 - dosym libgoto2_*.so ${install_dir}/libgoto2.so.0.0.0 - - # dolib.a doesn't support our alternate locations - insinto ${install_dir} - doins libgoto2_*.a || die "installing static lib failed" - dosym libgoto2_*.a ${install_dir}/libgoto2.a - - dodoc 01Readme.txt 03FAQ.txt || die - - cp "${FILESDIR}"/blas.pc.in blas.pc - local extlibs="" - use threads && extlibs="${extlibs} -lpthread" - sed -i \ - -e "s/@LIBDIR@/$(get_libdir)/" \ - -e "s/@PV@/${PV}/" \ - -e "s/@EXTLIBS@/${extlibs}/" \ - blas.pc || die "sed blas.pc failed" - insinto /usr/$(get_libdir)/blas/goto - doins blas.pc - eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.goto ${ESELECT_PROF} -} - -pkg_postinst() { - local p=blas - local current_lib=$(eselect ${p} show | cut -d' ' -f2) - if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then - # work around eselect bug #189942 - local configfile="${ROOT}"/etc/env.d/${p}/$(get_libdir)/config - [[ -e ${configfile} ]] && rm -f ${configfile} - eselect ${p} set ${ESELECT_PROF} - elog "${p} has been eselected to ${ESELECT_PROF}" - else - elog "Current eselected ${p} is ${current_lib}" - elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):" - elog "\t eselect ${p} set ${ESELECT_PROF}" - fi -} diff --git a/sci-libs/blas-goto2/files/blas-goto2-1.13-sharedlibs.patch b/sci-libs/blas-goto2/files/blas-goto2-1.13-sharedlibs.patch deleted file mode 100644 index 8c90541a899ef478c686d3865afe3f22f417d238..0000000000000000000000000000000000000000 --- a/sci-libs/blas-goto2/files/blas-goto2-1.13-sharedlibs.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- exports/Makefile.orig 2010-02-24 01:53:58.523170327 +0100 -+++ exports/Makefile 2010-02-24 01:54:38.752824907 +0100 -@@ -99,7 +99,7 @@ - ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c - $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ - -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ -- -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -+ -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -lm - $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. - rm -f linktest - diff --git a/sci-libs/blas-goto2/files/blas.pc.in b/sci-libs/blas-goto2/files/blas.pc.in deleted file mode 100644 index e0caa5dc2b3af82a735ef1064631a6257c4daa82..0000000000000000000000000000000000000000 --- a/sci-libs/blas-goto2/files/blas.pc.in +++ /dev/null @@ -1,10 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir=${prefix}/@LIBDIR@ -includedir=${prefix}/include - -Name: blas -Description: GOTO implementations of the F77 Basic Linear Algebra Subroutines -Version: @PV@ -URL: http://www.tacc.utexas.edu/resources/software/software.php -Libs: -L${libdir} -lblas @EXTLIBS@ diff --git a/sci-libs/blas-goto2/files/eselect.blas.goto b/sci-libs/blas-goto2/files/eselect.blas.goto deleted file mode 100644 index b8e2cb722c76593935929e3999185192b57dfcbe..0000000000000000000000000000000000000000 --- a/sci-libs/blas-goto2/files/eselect.blas.goto +++ /dev/null @@ -1,4 +0,0 @@ -blas/goto/libgoto2.so /usr/@LIBDIR@/libblas.so -blas/goto/libgoto2.so.0 /usr/@LIBDIR@/libblas.so.0 -blas/goto/libgoto2.a /usr/@LIBDIR@/libblas.a -../blas/goto/blas.pc /usr/@LIBDIR@/pkgconfig/blas.pc diff --git a/sci-libs/lapack-atlas/Manifest b/sci-libs/lapack-atlas/Manifest deleted file mode 100644 index dd1a00a4ccafdd3ab78c600bd85c61db2673d309..0000000000000000000000000000000000000000 --- a/sci-libs/lapack-atlas/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST atlas-3.7.39-shared-libs.patch.bz2 6612 SHA256 c4f1c572a4506931c937d71f5b72709b36066e3c33b856a8a19444f72d2f9528 SHA512 476eecfba13e087b3342d4e10edd36e630be20ab36af456d1718360eeb3486a87b34d00762845f1588782c03ff56e83e71dc5381da16a14922511b3f81f93a05 WHIRLPOOL bfbd5517b53d3638767df224e31e52f573049ce4a9441c407b7172fc0accb5d2f9e53256e673379f992c5cd447bfd90bc22e7a0cb48e592fd64884ec67f8ff54 -DIST atlas3.8.0.tar.bz2 2463051 SHA256 e9131d8ffd2dfdd12312676e38183ca45a52547fad5498e46f90c95954bf121c SHA512 bcc1b2197fd52ff1eceb58eef5a618a4f5b5117264289d5311350f315be237cddc4f42ad08447049107b542d4fa9cf12ff35634684097df254a4366eda977a2a WHIRLPOOL 68ed783af74f9af1ae621bffa2a2a136876f6e663872f95abf6c028d2ae0fb87fc3c9359a7d669cd02a87b1ee22effed63f687852d580114c4116a28070b2899 -DIST lapack-lite-3.1.1.tgz 5332509 SHA256 505a13272d0d71c45ea52be2de74b0562b234ea3ccf5160665c7a2ee74a58437 SHA512 492b932ef313339ce6b4e63ac8f778489e6870b0eb85f7b086f3c844e75f98e7f85382c7556dfa368ab8320b6f02d1df8ccfcb40b5c0b7c2d74518b7c309e75c WHIRLPOOL 11145043d16b8c2972229e17a24e92e62987c08e84d91b81a7f4767b80f13844faffb2a2798b321a78c7127d849a0fd60cbb1605f03e150b4eaa6c230f0e7fdd -DIST lapack-reference-3.1.1-autotools.patch.bz2 7233 SHA256 63e2c0b64118ca20aed3ca52dbc553ba924c242d3a0b07e6236dee99ede16802 SHA512 3ae61a9d569bdbe3d416652feedf1ae26fe85b23d919fb9d493e1474e616eeb23e87738ecb4970dde5f320812d3bb71c0f3c432548ab8e978941d90afe4cb418 WHIRLPOOL 449d9bf9c7f58c019804708b10f902919e55a722af6fe31904cd7b941074c66c68ef809e56fcce99e6f946da8e69be383b838a6a866ede6ee925268d6b24d423 -EBUILD lapack-atlas-3.8.0.ebuild 5901 SHA256 bc9240197438927beaadd7648a1bb79729d63ca4a728676636eed5c368f382a7 SHA512 0ec32299287f77f3e1ad973d537b6a047457b23748b0ef1eea6f853a90fb6cf2550fa4340bcdf71fb3b2015f66f668433c640eb1df0f2b1f7dfc270acc8670f4 WHIRLPOOL ed9486a7eb8ec26aa11ebdfafa20daf8458adb36462bec3c103bf873d67720f21b570a284a8217797948abee7a88882061bcf202cf182b5aca50a4969990c203 diff --git a/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild b/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild deleted file mode 100644 index 77e133fa58df3fdb1369140bee0f37c88a9776ef..0000000000000000000000000000000000000000 --- a/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild,v 1.17 2010/12/17 08:10:35 jlec Exp $ - -EAPI="5" - -inherit eutils flag-o-matic toolchain-funcs autotools versionator - -MY_PN="${PN/lapack-/}" -PATCH_V="3.7.39" -L_PN="lapack" -L_PV="3.1.1" -BlasRelease=$(get_version_component_range 1-3) - -DESCRIPTION="F77 and C LAPACK implementations using available ATLAS routines" -LICENSE="BSD" -HOMEPAGE="http://math-atlas.sourceforge.net/" -SRC_URI1="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2" -SRC_URI2="http://www.netlib.org/${L_PN}/${L_PN}-lite-${L_PV}.tgz" -SRC_URI="${SRC_URI1} ${SRC_URI2} - mirror://gentoo/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2 - mirror://gentoo/${L_PN}-reference-${L_PV}-autotools.patch.bz2" - -SLOT="0" -IUSE="doc" -KEYWORDS="alpha amd64 ppc ppc64 sparc x86" - -CDEPEND="virtual/blas - virtual/cblas - app-admin/eselect-lapack - ~sci-libs/blas-atlas-${BlasRelease}" -DEPEND="${CDEPEND} - dev-util/pkgconfig - >=sys-devel/libtool-1.5" -RDEPEND="${CDEPEND} - doc? ( app-doc/lapack-docs )" - -S="${WORKDIR}/ATLAS" -S_LAPACK="${WORKDIR}/${L_PN}-lite-${L_PV}" -BLD_DIR="${S}/gentoo-build" -RPATH="${DESTTREE}/$(get_libdir)/${L_PN}/${MY_PN}" - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${DISTDIR}"/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2 - epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch - - # make sure the compile picks up the proper includes - sed -i \ - -e "s|INCLUDES.*=|INCLUDES = -I/usr/include/atlas/|" \ - "${S}"/CONFIG/src/SpewMakeInc.c \ - || die "failed to append proper includes" - - BLD_DIR="${S}"/gentoo-build - mkdir "${BLD_DIR}" || die "failed to generate build directory" - cd "${BLD_DIR}" - cp "${FILESDIR}"/war . && chmod a+x war || die "failed to install war" - - # force proper 32/64bit libs - local archselect - if use amd64 || use ppc64; then - archselect="-b 64" - elif use alpha; then - archselect="" - else - archselect="-b 32" - fi - - # Remove -m64 on alpha, since the compiler doesn't support it - use alpha && sed -i -e 's/-m64//g' "${S}"/CONFIG/src/probe_comp.c - - ../configure \ - --cc="$(tc-getCC)" \ - --cflags="${CFLAGS}" \ - --prefix="${D}/${DESTTREE}" \ - --libdir="${D}/${DESTTREE}"/$(get_libdir)/atlas \ - --incdir="${D}/${DESTTREE}"/include \ - -C ac "$(tc-getCC)" -F ac "${CFLAGS}" \ - -C if $(tc-getFC) -F if "${FFLAGS:--O2}" \ - -Ss pmake "\$(MAKE) ${MAKEOPTS}" \ - -Si cputhrchk 0 ${archselect} \ - || die "configure failed" - - cd "${S_LAPACK}" - epatch "${WORKDIR}"/${L_PN}-reference-${L_PV}-autotools.patch - epatch "${FILESDIR}"/${L_PN}-reference-${L_PV}-test-fix.patch - eautoreconf - - # set up the testing routines - sed -e "s:g77:$(tc-getFC):" \ - -e "s:-funroll-all-loops -O3:${FFLAGS} $(pkg-config --cflags blas cblas):" \ - -e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS} $(pkg-config --cflags blas cblas):" \ - -e "s:../../blas\$(PLAT).a:$(pkg-config --libs blas cblas):" \ - -e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.so -Wl,-rpath,${S_LAPACK}/SRC/.libs:" \ - -e "s:EXT_ETIME$:INT_CPU_TIME:" \ - make.inc.example > make.inc \ - || die "Failed to set up make.inc" -} - -src_compile() { - # build atlas' part of lapack - cd "${BLD_DIR}" - for d in src/lapack interfaces/lapack/C/src interfaces/lapack/F77/src; do - cd "${BLD_DIR}"/${d} - make lib || die "Failed to make lib in ${d}" - done - - # build rest of lapack - S_LAPACK="${WORKDIR}"/${L_PN}-lite-${L_PV} - cd "${S_LAPACK}" - econf || die "Failed to configure reference lapack lib" - emake || die "Failed to make reference lapack lib" - - cd "${S_LAPACK}"/SRC - einfo "Copying liblapack.a/*.o to ${S_LAPACK}/SRC" - cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.o . - einfo "Copying liblapack.a/*.lo to ${S_LAPACK}/SRC" - cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.lo . - einfo "Copying liblapack.a/.libs/*.o to ${S_LAPACK}/SRC" - cp -sf "${BLD_DIR}"/gentoo/liblapack.a/.libs/*.o .libs/ - - RPATH="${DESTTREE}"/$(get_libdir)/${L_PN}/${MY_PN} - local flibs - [[ $(tc-getFC) =~ gfortran ]] && flibs=-lgfortran - [[ $(tc-getFC) =~ g77 ]] && flibs=-lg2c - ../libtool --mode=link --tag=F77 $(tc-getFC) \ - $(pkg-config --libs blas cblas) -latlas ${flibs} \ - -o liblapack.la *.lo -rpath "${RPATH}" \ - || die "Failed to create liblapack.la" - - # making pkg-config file - sed -e "s:@LIBDIR@:$(get_libdir):" \ - -e "s:@PV@:${PV}:" \ - -e "s:@EXTLIBS@:-lm ${flibs}:g" \ - "${FILESDIR}"/lapack.pc.in > "${S}"/lapack.pc \ - || die "sed lapack.pc failed" -} - -src_install () { - dodir "${RPATH}" - - cd "${S_LAPACK}"/SRC - ../libtool --mode=install cp liblapack.la "${D}/${RPATH}" \ - || die "Failed to install lapack-atlas library" - - ESELECT_PROF=atlas - eselect lapack add $(get_libdir) "${FILESDIR}"/eselect.lapack.atlas ${ESELECT_PROF} - - insinto /usr/include/atlas - doins "${S}"/include/clapack.h || die "Failed to install clapack.h" - dosym atlas/clapack.h /usr/include/clapack.h - - cd "${S}" - dodoc README doc/AtlasCredits.txt doc/ChangeLog \ - || die "Failed to install docs" - - insinto /usr/$(get_libdir)/lapack/atlas - doins "${S}"/lapack.pc || die "Failed to install lapack.pc" -} - -src_test() { - cd "${S_LAPACK}"/TESTING/MATGEN - emake || die "Failed to create tmglib.a" - cd .. - emake || die "lapack-reference tests failed" -} - -pkg_postinst() { - local current_lib=$(eselect lapack show | cut -d' ' -f2) - # this snippet works around the eselect bug #189942 and makes - # sure that users upgrading from a previous lapack-atlas - # version pick up the new pkg-config files - if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then - local configfile="${ROOT}"/etc/env.d/lapack/$(get_libdir)/config - [[ -e ${configfile} ]] && rm -f ${configfile} - eselect lapack set ${ESELECT_PROF} - elog "lapack has been eselected to ${ESELECT_PROF}" - else - elog "Current eselected lapack is ${current_lib}" - elog "To use blas ${ESELECT_PROF} implementation, you have to issue (as root):" - elog "\t eselect lapack set ${ESELECT_PROF}" - fi -} diff --git a/www-servers/lighttpd/Manifest b/www-servers/lighttpd/Manifest deleted file mode 100644 index 7c10b6644c24e8935e25112e808022747256f022..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/Manifest +++ /dev/null @@ -1,17 +0,0 @@ -AUX conf/lighttpd.conf 8383 SHA256 52598c3428ede27e2784861df16cc1f7b811feee4f4273b26515aba4a79431b6 SHA512 8befa83dd2ccc1df0187c31c233a3bffd7d059ccc1ce4aa96fbd9a6fd0c402d8ddf0f6b9bd8dc7ff2279103ee92ddd53ecf6aac509deb3ffc17d62ed1cad413e WHIRLPOOL 685806f9e770c803f7a0498b4b9f8f4d1aaad510ec93f61979c3ab8e9ed4e34893bccf03b6e33c9d7798943c1110b3409782d863c345a6e6f1f9312c1106b1fb -AUX conf/mime-types.conf 3436 SHA256 75a6fce072250ebccde2320996fdace0ebfeb525b03322f0b454f8f4e0e29a85 SHA512 a3f2f5763885d7e4f510491b24164e34aaf62bb02daa12991575dc64335c12668355af5bb8d6ce191eb4e9cce95324b1f7c9ba61b323b4e7b50a1e03e021afcf WHIRLPOOL 4302b7ea4d95d35c52f3a4f4d70b7501d5d84ab38a159f1e13a546b072fa051ed99eeac5e234e5788c788d18d1a60e31cca5af0c56a4a6bfd4e468ecbd1550ff -AUX conf/mod_cgi.conf 869 SHA256 322656b4cfd22ca9f1f8ab160e0b932f1646622422fd49c6fc82ab416223eecf SHA512 27cc638d8068dcf47bd9db44943d1db6c6f4e8e6abd6b42af7cea004b1c093440068541d98c68f8bea70b956713adaf8ed59a4b642dea826ee8620a05f8cfde5 WHIRLPOOL 6384804166120172603e92dd1642666b995fe1987fa8033518d0395b7e0b9e029a06edb989515f405dd5a5e4c5e5c0706d98e24a72ca4f1ff6c35c9607200c73 -AUX conf/mod_fastcgi.conf 677 SHA256 954bf2a030e268e7cd880d4cd7d6c13317c09e0ec4e87a8d7d887fb4e7dc83bd SHA512 0e9ba1403c44bcca6740803f8932caf2d787641d139db3ff1d3d3234234368774875493b8dd82e5e5337791de945d9ddeb578f665cec5503747e5bdf2c5318ba WHIRLPOOL b7378d44772216076ca9bba05104c03a256035a1a604f0366d76e6b5d0709212a1f3e222f8cbb9e0daabd28e513d4322eeb39e6b2e2950ffff9d3602c960bce9 -AUX conf/mod_fastcgi.conf-1.4.13-r2 687 SHA256 d1adc1358b5d9e85353caa2e706bfa231d145dd59c075cdcb3f818b3cb5d722e SHA512 1f7ca06b3501326f204bfa4de2694b1552fddfac5af52357a5cea5861c20204069adf6f92ea0c267968e5e2dc02804e34a61eb710026c213e3523a490254b3aa WHIRLPOOL 8e125710abe0467170a83f17a2b6cbe79d7a17ad9dde9b158a1be1dca2cc14ecfa2db6a4856371f1240f528caf22f0809523f1b13c81bab9e6ec70fd4f0abe59 -AUX lighttpd-1.4.23-mod_uploadprogress.patch 22472 SHA256 0e74fc4456042a3e747383743ac4cf4bd1d533bd331b7b0ccbcf02adc096ec56 SHA512 4279d02d7e1b3cc5196edbbbb5b1a8993118f40efd2ac13d126228b9f1b6c2ae67ec0e0bd635084078fb07c1ed06c6838c1859609c12be4ab03dabf384454edb WHIRLPOOL 09203f014a0d5a615c9470ba6218f31b0723744c173ae25e322114b1c84f04e941b0468f21e1aa4ac3613483fc7731cd82ba098f0f26925580a708bba3989ef1 -AUX lighttpd-1.4.28-detect-libev.patch 441 SHA256 223756902928f0f5de0100115b1e1def9e312363d16bedbc998b5d983d04ecbe SHA512 c16f434571d500bbb1250551fda8b1d134f7e90b51ce65b1d7346a01de1c455ab68f2e7e2cd6b57d3a6b4eb671ea649d4559d4d0d36073c3596ecd3cdbbdb0a2 WHIRLPOOL 6399b2f9997549c603324ee6db18e2625ea7db70d52502edf4177d6ddb83052b34dae98b968b925811ef0b1d079ffee18ca5708d78b5ef27403cf482f16e24ec -AUX lighttpd-1.4.28-mod_uploadprogress.patch 22472 SHA256 b7b13ae1de4bbe2cf2687686ae4921d4ae2f66fc524703b3c63924b6d888934f SHA512 b790e36f803765c922da970ca69a851afa7f03aa8aedb9ecaf21d326794fa8622959b953705d0d9ff4125504478da7b384fa969d1c70e35623b3a3d4bb4b90bc WHIRLPOOL 837792c531c7522a11618f99574716c2b4a1eb43f906cf6e50fcd6bf10fe85ab451ad160d072830cd0d813e69a1b15fa5eb3808db75b2516244b55418e20a92e -AUX lighttpd.confd 383 SHA256 bb6e6721f33e6582a91025f3500e159a599fb856d699e9394093e1018c7925e0 SHA512 a28bf860ed23836063c37c14ca33dcd70f4b1234326442f8c0bc23b44efb53f5752292a98cf5f4a6c6cfc0f9e06b3c8a2f9d3b9512b0146e680af021570ad16d WHIRLPOOL cea38f5edf0e0d30c46e815adbb03579816979215789944564f1b1bdb53a97f566857bb8bd72954bc91ae641a3a898ed87033980f7f69466ae33fbad5df88b35 -AUX lighttpd.initd 1631 SHA256 6d697a71257e972000df01f70aa6056628b91b9486bc8e3b8a16d1010cdeba21 SHA512 2516d17e0470dd39d380327b6e0a0750b3c6d8790f20c96bb8549c6f6ee1c7129e6c6ae1e120d16fd0987f335957559cea7e8c31c8130a135b26581e1c031968 WHIRLPOOL bb98c0e16b49bd046f45b326d8e5f0e61646d36828c7accf09bb32962f3cab737c41df52b8d0149dc2fd649ed8696f7d136b7178a057d6d73ce3085563859959 -AUX lighttpd.initd-1.4.13-r3 1454 SHA256 9dfda47a18f3e7beada18cfec37b39c66d3029b6bde42c538d82cd1292c7616a SHA512 a95243f8d24ed875a343cc25485418b5cb36a4b3cbc9ea409654c13a740cbdf5ffb8f10f8a0cf858de65db67e41ec4e64821235028acbdf545c3db14ca23d4d2 WHIRLPOOL fe818bcf0cfaad2a533883453c02b9ff8a06e624bae1c0283500f93ae7c7f48b3dc3c1122c47d5aaec46ab742d09c157bb631fc0b5fac2f7948d096d8b4b2ad0 -AUX lighttpd.logrotate 487 SHA256 503ee1cd454e2c0f9a212ef60dc8321893eda06ccf721ecbe94d189a09e0bc6c SHA512 e1284fe9ab4b9a53c21b40a5ac3e77e66343e187321b8a2f7464db64747f3a99f7e17a9e7c0e298db84a24fa1286cfe344dbff182eddd9de5c0605f5397a6972 WHIRLPOOL 96538a7fb86d6cb19dbc8eb6034e305fbc574edeb29e45d7fd8e58234fb8f1812daf7c1d845f9dfa052ebf9bfdc84b801a8aa68dfbad08aa88f32b0838a5bf5c -AUX spawn-fcgi.confd 1076 SHA256 bfa452a849165f921a2febf0b06879db18c4c921f156b1452d06bb821063f768 SHA512 d2a45db667bc60837978496ac29c85b6beb814f66a4229b0d867a2ec86803705ad0384f58c704623fdb2b4265ad49aa3b85af2ab91f064e5428adf5ea08337c2 WHIRLPOOL 5f80bd00c94b41577211fe978abad21419cd5c1aaf729ba84271a5db6459085a282187ac01609c7f7f82b03017cb21103245309f0948a257006a12369629e012 -AUX spawn-fcgi.initd 1398 SHA256 ae10c764e2bde9bfc483c57ca94a63d87c24cba00b4c06917885c533d2d245b1 SHA512 db6635650ffc7e727d475c615cfdb05fad2b8d5a1eb426c3e9dd336283d55be07c914bce8977fdb291a89853e11df84c398963bd007f4a668f80a36ac1a40029 WHIRLPOOL 44f732288a67f7dd730daec5e11adf7bd3cb95a93136fe2f3ca259a7a877ea9cb54191c6dd3f5f2ed02589b3a9f8662dde9eed9458837511a20fbf4dba4b311f -DIST lighttpd-1.4.28.tar.bz2 641702 SHA256 7e55747a4feb74545d80a1f2d85b5866b8600705eac946e4402e3364b0666ed2 SHA512 53f140cef46fa1c0952a683cd9680053c3fae54ceb087a80b7623f2b2cb215b2d79554c7adf0db420c08a5618a3b7b78d733da190120dd3ef55054090e851685 WHIRLPOOL ad50a5b5e044bce941ae2c6da257a817a62acee67cb952abb6bd06adc5f456ba8b26142053c003c871b0336c79497a4a388a6e7c58f05121c462e2170e0c2164 -EBUILD lighttpd-1.4.28-r209.ebuild 6237 SHA256 f5d2299bafccefa1b77b0c635dc89ca3c449ca3e069ea1280fa37301d23035e1 SHA512 39613cb4275109b58ae14dc60319bc7bc5d8164e24d6eda5cb66846c0add8fb8ff7e956350165df14deb2492c8c83862f542d91b389a4a3faee18affff99c17c WHIRLPOOL bd6a830525adc9569cee53c6ebbc9f124618716a42c3ab08f0a7c1ca6f99858fed164aee05dcd6b858aa774a8dce21acd2b68c4bbd8cecdd7c4f6e3e202690f4 -MISC lighttpd-1.4.28-r2.ebuild.patch 1385 SHA256 6825760d9a18344e1047781ffc98890ba313b9365085f9244cc3d396aba13701 SHA512 3ff5ac8f8c6a21e1773d8bbfcb45524bfb0224abad34255760c0bc452830f0defdf18dc5a8d2e338ed63515d7bea0c0080a08697b4241dcdb35eb5c78e686464 WHIRLPOOL 94bc5c1f0917f30eba96dd06c58d2b6b6dfe516405d4d5a943f33cf64521c5d1deb5ec059f1d4a207612f7ac80213122a2797048d107a0a0174e48fcdb4337a5 diff --git a/www-servers/lighttpd/files/conf/lighttpd.conf b/www-servers/lighttpd/files/conf/lighttpd.conf deleted file mode 100644 index 5ea46837dca44f640e406bc2229319671bb755a8..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/conf/lighttpd.conf +++ /dev/null @@ -1,330 +0,0 @@ -############################################################################### -# Default lighttpd.conf for Gentoo. -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/conf/lighttpd.conf,v 1.5 2010/11/18 15:13:47 hwoarang Exp $ -############################################################################### - -# {{{ variables -var.basedir = "/var/www/localhost" -var.logdir = "/var/log/lighttpd" -var.statedir = "/var/lib/lighttpd" -# }}} - -# {{{ modules -# At the very least, mod_access and mod_accesslog should be enabled. -# All other modules should only be loaded if necessary. -# NOTE: the order of modules is important. -server.modules = ( -# "mod_rewrite", -# "mod_redirect", -# "mod_alias", - "mod_access", -# "mod_cml", -# "mod_trigger_b4_dl", -# "mod_auth", -# "mod_status", -# "mod_setenv", -# "mod_proxy", -# "mod_simple_vhost", -# "mod_evhost", -# "mod_userdir", -# "mod_compress", -# "mod_ssi", -# "mod_usertrack", -# "mod_expire", -# "mod_secdownload", -# "mod_rrdtool", -# "mod_webdav", - "mod_accesslog" -) -# }}} - -# {{{ includes -include "mime-types.conf" -# fcgi and cgi are included below -# }}} - -# {{{ server settings -server.username = "lighttpd" -server.groupname = "lighttpd" - -server.document-root = var.basedir + "/htdocs" -server.pid-file = "/var/run/lighttpd.pid" - -server.errorlog = var.logdir + "/error.log" -# log errors to syslog instead -# server.errorlog-use-syslog = "enable" - -server.indexfiles = ("index.php", "index.html", - "index.htm", "default.htm") - -# server.tag = "lighttpd" - -server.follow-symlink = "enable" - -# event handler (defaults to "poll") -# see performance.txt -# -# for >= linux-2.4 -# server.event-handler = "linux-rtsig" -# for >= linux-2.6 -# server.event-handler = "linux-sysepoll" -# for FreeBSD -# server.event-handler = "freebsd-kqueue" - -# chroot to directory (defaults to no chroot) -# server.chroot = "/" - -# bind to port (defaults to 80) -# server.port = 81 - -# bind to name (defaults to all interfaces) -# server.bind = "grisu.home.kneschke.de" - -# error-handler for status 404 -# server.error-handler-404 = "/error-handler.html" -# server.error-handler-404 = "/error-handler.php" - -# Format: .html -# -> ..../status-404.html for 'File not found' -# server.errorfile-prefix = var.basedir + "/error/status-" - -# FAM support for caching stat() calls -# requires that lighttpd be built with USE=fam -# server.stat-cache-engine = "fam" - -# If lighttpd was build with IPv6 support, and you would like to listen on IPv6, -# uncomment the following: -# server.use-ipv6 = "enable" - -# }}} - -# {{{ mod_staticfile - -# which extensions should not be handled via static-file transfer -# (extensions that are usually handled by mod_cgi, mod_fastcgi, etc). -static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi") -# }}} - -# {{{ mod_accesslog -accesslog.filename = var.logdir + "/access.log" -# }}} - -# {{{ mod_dirlisting -# enable directory listings -# dir-listing.activate = "enable" -# -# don't list hidden files/directories -# dir-listing.hide-dotfiles = "enable" -# -# use a different css for directory listings -# dir-listing.external-css = "/path/to/dir-listing.css" -# -# list of regular expressions. files that match any of the -# specified regular expressions will be excluded from directory -# listings. -# dir-listing.exclude = ("^\.", "~$") -# }}} - -# {{{ mod_access -# see access.txt - -url.access-deny = ("~", ".inc") -# }}} - -# {{{ mod_userdir -# see userdir.txt -# -# userdir.path = "public_html" -# userdir.exclude-user = ("root") -# }}} - -# {{{ mod_ssi -# see ssi.txt -# -# ssi.extension = (".shtml") -# }}} - -# {{{ mod_ssl -# see ssl.txt -# -# ssl.engine = "enable" -# ssl.pemfile = "server.pem" -# }}} - -# {{{ mod_status -# see status.txt -# -# status.status-url = "/server-status" -# status.config-url = "/server-config" -# }}} - -# {{{ mod_simple_vhost -# see simple-vhost.txt -# -# If you want name-based virtual hosting add the next three settings and load -# mod_simple_vhost -# -# document-root = -# virtual-server-root + virtual-server-default-host + virtual-server-docroot -# or -# virtual-server-root + http-host + virtual-server-docroot -# -# simple-vhost.server-root = "/home/weigon/wwwroot/servers/" -# simple-vhost.default-host = "grisu.home.kneschke.de" -# simple-vhost.document-root = "/pages/" -# }}} - -# {{{ mod_compress -# see compress.txt -# -# compress.cache-dir = var.statedir + "/cache/compress" -# compress.filetype = ("text/plain", "text/html") -# }}} - -# {{{ mod_proxy -# see proxy.txt -# -# proxy.server = ( ".php" => -# ( "localhost" => -# ( -# "host" => "192.168.0.101", -# "port" => 80 -# ) -# ) -# ) -# }}} - -# {{{ mod_auth -# see authentication.txt -# -# auth.backend = "plain" -# auth.backend.plain.userfile = "lighttpd.user" -# auth.backend.plain.groupfile = "lighttpd.group" - -# auth.backend.ldap.hostname = "localhost" -# auth.backend.ldap.base-dn = "dc=my-domain,dc=com" -# auth.backend.ldap.filter = "(uid=$)" - -# auth.require = ( "/server-status" => -# ( -# "method" => "digest", -# "realm" => "download archiv", -# "require" => "user=jan" -# ), -# "/server-info" => -# ( -# "method" => "digest", -# "realm" => "download archiv", -# "require" => "valid-user" -# ) -# ) -# }}} - -# {{{ mod_rewrite -# see rewrite.txt -# -# url.rewrite = ( -# "^/$" => "/server-status" -# ) -# }}} - -# {{{ mod_redirect -# see redirect.txt -# -# url.redirect = ( -# "^/wishlist/(.+)" => "http://www.123.org/$1" -# ) -# }}} - -# {{{ mod_evhost -# define a pattern for the host url finding -# %% => % sign -# %0 => domain name + tld -# %1 => tld -# %2 => domain name without tld -# %3 => subdomain 1 name -# %4 => subdomain 2 name -# -# evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/" -# }}} - -# {{{ mod_expire -# expire.url = ( -# "/buggy/" => "access 2 hours", -# "/asdhas/" => "access plus 1 seconds 2 minutes" -# ) -# }}} - -# {{{ mod_rrdtool -# see rrdtool.txt -# -# rrdtool.binary = "/usr/bin/rrdtool" -# rrdtool.db-name = var.statedir + "/lighttpd.rrd" -# }}} - -# {{{ mod_setenv -# see setenv.txt -# -# setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" ) -# setenv.add-response-header = ( "X-Secret-Message" => "42" ) -# }}} - -# {{{ mod_trigger_b4_dl -# see trigger_b4_dl.txt -# -# trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db" -# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" ) -# trigger-before-download.trigger-url = "^/trigger/" -# trigger-before-download.download-url = "^/download/" -# trigger-before-download.deny-url = "http://127.0.0.1/index.html" -# trigger-before-download.trigger-timeout = 10 -# }}} - -# {{{ mod_cml -# see cml.txt -# -# don't forget to add index.cml to server.indexfiles -# cml.extension = ".cml" -# cml.memcache-hosts = ( "127.0.0.1:11211" ) -# }}} - -# {{{ mod_webdav -# see webdav.txt -# -# $HTTP["url"] =~ "^/dav($|/)" { -# webdav.activate = "enable" -# webdav.is-readonly = "enable" -# } -# }}} - -# {{{ extra rules -# -# set Content-Encoding and reset Content-Type for browsers that -# support decompressing on-thy-fly (requires mod_setenv) -# $HTTP["url"] =~ "\.gz$" { -# setenv.add-response-header = ("Content-Encoding" => "x-gzip") -# mimetype.assign = (".gz" => "text/plain") -# } - -# $HTTP["url"] =~ "\.bz2$" { -# setenv.add-response-header = ("Content-Encoding" => "x-bzip2") -# mimetype.assign = (".bz2" => "text/plain") -# } -# -# }}} - -# {{{ debug -# debug.log-request-header = "enable" -# debug.log-response-header = "enable" -# debug.log-request-handling = "enable" -# debug.log-file-not-found = "enable" -# }}} - -# {{{ cgi includes -# uncomment for cgi support -# include "mod_cgi.conf" -# uncomment for php/fastcgi support -# include "mod_fastcgi.conf" -# }}} - -# vim: set ft=conf foldmethod=marker et : diff --git a/www-servers/lighttpd/files/conf/mime-types.conf b/www-servers/lighttpd/files/conf/mime-types.conf deleted file mode 100644 index f24d4d858ff10721cfef79ae2b9ff3d2c7972cdd..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/conf/mime-types.conf +++ /dev/null @@ -1,79 +0,0 @@ -############################################################################### -# Default mime-types.conf for Gentoo. -# include'd from lighttpd.conf. -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/conf/mime-types.conf,v 1.4 2010/03/14 21:45:18 bangert Exp $ -############################################################################### - -# {{{ mime types -mimetype.assign = ( - ".svg" => "image/svg+xml", - ".svgz" => "image/svg+xml", - ".pdf" => "application/pdf", - ".sig" => "application/pgp-signature", - ".spl" => "application/futuresplash", - ".class" => "application/octet-stream", - ".ps" => "application/postscript", - ".torrent" => "application/x-bittorrent", - ".dvi" => "application/x-dvi", - ".gz" => "application/x-gzip", - ".pac" => "application/x-ns-proxy-autoconfig", - ".swf" => "application/x-shockwave-flash", - ".tar.gz" => "application/x-tgz", - ".tgz" => "application/x-tgz", - ".tar" => "application/x-tar", - ".zip" => "application/zip", - ".dmg" => "application/x-apple-diskimage", - ".mp3" => "audio/mpeg", - ".m3u" => "audio/x-mpegurl", - ".wma" => "audio/x-ms-wma", - ".wax" => "audio/x-ms-wax", - ".ogg" => "application/ogg", - ".wav" => "audio/x-wav", - ".gif" => "image/gif", - ".jpg" => "image/jpeg", - ".jpeg" => "image/jpeg", - ".png" => "image/png", - ".xbm" => "image/x-xbitmap", - ".xpm" => "image/x-xpixmap", - ".xwd" => "image/x-xwindowdump", - ".css" => "text/css", - ".html" => "text/html", - ".htm" => "text/html", - ".js" => "text/javascript", - ".asc" => "text/plain", - ".c" => "text/plain", - ".h" => "text/plain", - ".cc" => "text/plain", - ".cpp" => "text/plain", - ".hh" => "text/plain", - ".hpp" => "text/plain", - ".conf" => "text/plain", - ".log" => "text/plain", - ".text" => "text/plain", - ".txt" => "text/plain", - ".diff" => "text/plain", - ".patch" => "text/plain", - ".ebuild" => "text/plain", - ".eclass" => "text/plain", - ".rtf" => "application/rtf", - ".bmp" => "image/bmp", - ".tif" => "image/tiff", - ".tiff" => "image/tiff", - ".ico" => "image/x-icon", - ".dtd" => "text/xml", - ".xml" => "text/xml", - ".mpeg" => "video/mpeg", - ".mpg" => "video/mpeg", - ".mov" => "video/quicktime", - ".qt" => "video/quicktime", - ".avi" => "video/x-msvideo", - ".asf" => "video/x-ms-asf", - ".asx" => "video/x-ms-asf", - ".wmv" => "video/x-ms-wmv", - ".bz2" => "application/x-bzip", - ".tbz" => "application/x-bzip-compressed-tar", - ".tar.bz2" => "application/x-bzip-compressed-tar" - ) -# }}} - -# vim: set ft=conf foldmethod=marker et : diff --git a/www-servers/lighttpd/files/conf/mod_cgi.conf b/www-servers/lighttpd/files/conf/mod_cgi.conf deleted file mode 100644 index 1cb3770f9b276d67b541c2dc6b4620feef97ef00..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/conf/mod_cgi.conf +++ /dev/null @@ -1,33 +0,0 @@ -############################################################################### -# mod_cgi.conf -# include'd by lighttpd.conf. -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/conf/mod_cgi.conf,v 1.1 2005/08/27 12:36:13 ka0ttic Exp $ -############################################################################### - -# -# see cgi.txt for more information on using mod_cgi -# - -server.modules += ("mod_cgi") - -# NOTE: this requires mod_alias -alias.url = ( - "/cgi-bin/" => var.basedir + "/cgi-bin/" -) - -# -# Note that you'll also want to enable the -# cgi-bin alias via mod_alias (above). -# - -$HTTP["url"] =~ "^/cgi-bin/" { - # disable directory listings - dir-listing.activate = "disable" - # only allow cgi's in this directory - cgi.assign = ( - ".pl" => "/usr/bin/perl", - ".cgi" => "/usr/bin/perl" - ) -} - -# vim: set ft=conf foldmethod=marker et : diff --git a/www-servers/lighttpd/files/conf/mod_fastcgi.conf b/www-servers/lighttpd/files/conf/mod_fastcgi.conf deleted file mode 100644 index b70aff1d1f0d77b4ff8a44457838aaef0d5e34dc..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/conf/mod_fastcgi.conf +++ /dev/null @@ -1,17 +0,0 @@ -############################################################################### -# mod_fastcgi.conf -# include'd by lighttpd.conf. -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/conf/mod_fastcgi.conf,v 1.3 2009/04/03 20:59:34 bangert Exp $ -############################################################################### - -server.modules += ("mod_fastcgi") -fastcgi.server = ( ".php" => - ( "localhost" => - ( - "socket" => "/var/run/lighttpd/lighttpd-fastcgi-php-" + PID + ".socket", - "bin-path" => "/usr/bin/php-cgi" - ) - ) - ) - -# vim: set ft=conf foldmethod=marker et : diff --git a/www-servers/lighttpd/files/conf/mod_fastcgi.conf-1.4.13-r2 b/www-servers/lighttpd/files/conf/mod_fastcgi.conf-1.4.13-r2 deleted file mode 100644 index ca1369af79ec0571a0d0800a121c9b0891b45a2a..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/conf/mod_fastcgi.conf-1.4.13-r2 +++ /dev/null @@ -1,17 +0,0 @@ -############################################################################### -# mod_fastcgi.conf -# include'd by lighttpd.conf. -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/conf/mod_fastcgi.conf-1.4.13-r2,v 1.1 2007/04/01 23:22:00 robbat2 Exp $ -############################################################################### - -server.modules += ("mod_fastcgi") -fastcgi.server = ( ".php" => - ( "localhost" => - ( - "socket" => "/var/run/lighttpd/lighttpd-fastcgi-php-" + PID + ".socket", - "bin-path" => "/usr/bin/php-cgi" - ) - ) - ) - -# vim: set ft=conf foldmethod=marker et : diff --git a/www-servers/lighttpd/files/lighttpd-1.4.23-mod_uploadprogress.patch b/www-servers/lighttpd/files/lighttpd-1.4.23-mod_uploadprogress.patch deleted file mode 100644 index 1b328a26985047209fc91e19abef099b897c701d..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/lighttpd-1.4.23-mod_uploadprogress.patch +++ /dev/null @@ -1,738 +0,0 @@ -diff -Nru lighttpd-1.4.22.orig/src/connections.c lighttpd-1.4.22/src/connections.c ---- lighttpd-1.4.22.orig/src/connections.c 2009-02-19 14:15:14.000000000 +0100 -+++ lighttpd-1.4.22/src/connections.c 2009-04-22 17:45:20.000000000 +0200 -@@ -1401,11 +1401,15 @@ - if (http_request_parse(srv, con)) { - /* we have to read some data from the POST request */ - -+ plugins_call_handle_request_end(srv, con); -+ - connection_set_state(srv, con, CON_STATE_READ_POST); - - break; - } - -+ plugins_call_handle_request_end(srv, con); -+ - connection_set_state(srv, con, CON_STATE_HANDLE_REQUEST); - - break; -diff -Nru lighttpd-1.4.22.orig/src/Makefile.am lighttpd-1.4.22/src/Makefile.am ---- lighttpd-1.4.22.orig/src/Makefile.am 2009-02-19 14:15:14.000000000 +0100 -+++ lighttpd-1.4.22/src/Makefile.am 2009-04-22 17:46:34.000000000 +0200 -@@ -246,6 +246,11 @@ - mod_accesslog_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined - mod_accesslog_la_LIBADD = $(common_libadd) - -+lib_LTLIBRARIES += mod_uploadprogress.la -+mod_uploadprogress_la_SOURCES = mod_uploadprogress.c -+mod_uploadprogress_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined -+mod_uploadprogress_la_LIBADD = $(common_libadd) -+ - - hdr = server.h buffer.h network.h log.h keyvalue.h \ - response.h request.h fastcgi.h chunk.h \ -diff -Nru lighttpd-1.4.22.orig/src/plugin.c lighttpd-1.4.22/src/plugin.c ---- lighttpd-1.4.22.orig/src/plugin.c 2009-02-19 14:15:14.000000000 +0100 -+++ lighttpd-1.4.22/src/plugin.c 2009-04-22 17:45:20.000000000 +0200 -@@ -34,6 +34,7 @@ - PLUGIN_FUNC_UNSET, - PLUGIN_FUNC_HANDLE_URI_CLEAN, - PLUGIN_FUNC_HANDLE_URI_RAW, -+ PLUGIN_FUNC_HANDLE_REQUEST_END, - PLUGIN_FUNC_HANDLE_REQUEST_DONE, - PLUGIN_FUNC_HANDLE_CONNECTION_CLOSE, - PLUGIN_FUNC_HANDLE_TRIGGER, -@@ -262,6 +263,7 @@ - - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_CLEAN, handle_uri_clean) - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_RAW, handle_uri_raw) -+PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_END, handle_request_end) - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_DONE, handle_request_done) - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_CONNECTION_CLOSE, handle_connection_close) - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_SUBREQUEST, handle_subrequest) -@@ -389,6 +391,7 @@ - - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_CLEAN, handle_uri_clean); - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_RAW, handle_uri_raw); -+ PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_END, handle_request_end); - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_DONE, handle_request_done); - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_CONNECTION_CLOSE, handle_connection_close); - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_TRIGGER, handle_trigger); -diff -Nru lighttpd-1.4.22.orig/src/plugin.h lighttpd-1.4.22/src/plugin.h ---- lighttpd-1.4.22.orig/src/plugin.h 2009-02-19 14:15:14.000000000 +0100 -+++ lighttpd-1.4.22/src/plugin.h 2009-04-22 17:45:20.000000000 +0200 -@@ -42,12 +42,12 @@ - handler_t (* handle_uri_clean) (server *srv, connection *con, void *p_d); /* after uri is set */ - handler_t (* handle_docroot) (server *srv, connection *con, void *p_d); /* getting the document-root */ - handler_t (* handle_physical) (server *srv, connection *con, void *p_d); /* mapping url to physical path */ -+ handler_t (* handle_request_end) (server *srv, connection *con, void *p_d); /* a handler for the request content */ - handler_t (* handle_request_done) (server *srv, connection *con, void *p_d); /* at the end of a request */ - handler_t (* handle_connection_close)(server *srv, connection *con, void *p_d); /* at the end of a connection */ - handler_t (* handle_joblist) (server *srv, connection *con, void *p_d); /* after all events are handled */ - - -- - handler_t (* handle_subrequest_start)(server *srv, connection *con, void *p_d); - - /* when a handler for the request -@@ -68,6 +68,7 @@ - handler_t plugins_call_handle_uri_clean(server *srv, connection *con); - handler_t plugins_call_handle_subrequest_start(server *srv, connection *con); - handler_t plugins_call_handle_subrequest(server *srv, connection *con); -+handler_t plugins_call_handle_request_end(server *srv, connection *con); - handler_t plugins_call_handle_request_done(server *srv, connection *con); - handler_t plugins_call_handle_docroot(server *srv, connection *con); - handler_t plugins_call_handle_physical(server *srv, connection *con); -diff -Nru lighttpd-1.4.22.orig/src/mod_uploadprogress.c lighttpd-1.4.22/src/mod_uploadprogress.c ---- lighttpd-1.4.22.orig/src/mod_uploadprogress.c 1970-01-01 01:00:00.000000000 +0100 -+++ lighttpd-1.4.22/src/mod_uploadprogress.c 2009-04-22 17:32:38.000000000 +0200 -@@ -0,0 +1,648 @@ -+#include -+#include -+#include -+ -+#include "base.h" -+#include "log.h" -+#include "buffer.h" -+ -+#include "plugin.h" -+ -+#include "response.h" -+#include "stat_cache.h" -+ -+#define CONFIG_UPLOAD_PROGRESS_URL "upload-progress.progress-url" -+#define CONFIG_UPLOAD_PROGRESS_TIMEOUT "upload-progress.remove-timeout" -+#define CONFIG_UPLOAD_PROGRESS_DEBUG "upload-progress.debug" -+ -+#define SAFE_BUF_STR(x) x && x->ptr ? x->ptr : "(null)" -+ -+/** -+ * uploadprogress for lighttpd -+ * -+ * Initial: Jan Kneschke -+ * Timeout+Status addon: Bjoern Kalkbrenner [20070112] -+ * -+ * Ported to Lighttpd 1.4.22 by Radek Senfeld -+ * -+ * Backport based on revision 2369 -+ * http://redmine.lighttpd.net/projects/lighttpd/repository/changes/trunk/src/mod_uploadprogress.c -+ * -+ * the timeout is used to keep in the status information intact even if the parent -+ * connection is gone already -+ * -+ */ -+ -+typedef struct { -+ buffer *tracking_id; -+ connection *con; -+ -+ time_t timeout; -+ int status; -+ off_t size; -+} connection_map_entry; -+ -+typedef struct { -+ connection_map_entry **ptr; -+ -+ size_t used; -+ size_t size; -+} connection_map; -+ -+/* plugin config for all request/connections */ -+ -+typedef struct { -+ buffer *progress_url; -+ unsigned short debug; -+ unsigned short remove_timeout; -+} plugin_config; -+ -+typedef struct { -+ PLUGIN_DATA; -+ -+ connection_map *con_map; -+ -+ buffer *tmp_buf; /** used as temporary buffer for extracting the tracking id */ -+ -+ plugin_config **config_storage; -+ -+ plugin_config conf; -+} plugin_data; -+ -+/** -+ * -+ * connection maps -+ * -+ */ -+ -+/* init the plugin data */ -+static connection_map *connection_map_init() { -+ connection_map *cm; -+ -+ cm = calloc(1, sizeof(*cm)); -+ -+ return cm; -+} -+ -+static void connection_map_free(connection_map *cm) { -+ size_t i; -+ for (i = 0; i < cm->size; i++) { -+ connection_map_entry *cme = cm->ptr[i]; -+ -+ if (!cme) break; -+ -+ if (cme->tracking_id) { -+ buffer_free(cme->tracking_id); -+ } -+ free(cme); -+ } -+ -+ free(cm); -+} -+ -+static connection_map_entry *connection_map_insert(connection_map *cm, buffer *tracking_id, connection *con) { -+ connection_map_entry *cme; -+ size_t i; -+ -+ if (cm->size == 0) { -+ cm->size = 16; -+ cm->ptr = malloc(cm->size * sizeof(*(cm->ptr))); -+ for (i = 0; i < cm->size; i++) { -+ cm->ptr[i] = NULL; -+ } -+ } else if (cm->used == cm->size) { -+ cm->size += 16; -+ cm->ptr = realloc(cm->ptr, cm->size * sizeof(*(cm->ptr))); -+ for (i = cm->used; i < cm->size; i++) { -+ cm->ptr[i] = NULL; -+ } -+ } -+ -+ if (cm->ptr[cm->used]) { -+ /* is already alloced, just reuse it */ -+ cme = cm->ptr[cm->used]; -+ } else { -+ cme = malloc(sizeof(*cme)); -+ cme->tracking_id = buffer_init(); -+ } -+ cme->timeout = 0; -+ cme->status = 0; -+ buffer_copy_string_buffer(cme->tracking_id, tracking_id); -+ cme->con = con; -+ -+ cm->ptr[cm->used++] = cme; -+ -+ return cme; -+} -+ -+static connection_map_entry *connection_map_get_connection_entry(connection_map *cm, buffer *tracking_id) { -+ size_t i; -+ -+ for (i = 0; i < cm->used; i++) { -+ connection_map_entry *cme = cm->ptr[i]; -+ -+ if (buffer_is_equal(cme->tracking_id, tracking_id)) { -+ /* found connection */ -+ return cme; -+ } -+ } -+ return NULL; -+} -+ -+static void connection_map_remove_connection(connection_map *cm, size_t i) { -+ connection_map_entry *cme = cm->ptr[i]; -+ -+ buffer_reset(cme->tracking_id); -+ cme->timeout=0; -+ cme->status=0; -+ -+ cm->used--; -+ -+ /* swap positions with the last entry */ -+ if (cm->used) { -+ cm->ptr[i] = cm->ptr[cm->used]; -+ cm->ptr[cm->used] = cme; -+ } -+} -+ -+/** -+ * remove dead tracking IDs -+ * -+ * uploadprogress.remove-timeout sets a grace-period in which the -+ * connection status is still known even of the connection is already -+ * being removed -+ * -+ */ -+static void connection_map_clear_timeout_connections(connection_map *cm) { -+ size_t i; -+ time_t now_t = time(NULL); -+ -+ for (i = 0; i < cm->used; i++) { -+ connection_map_entry *cme = cm->ptr[i]; -+ -+ if (cme->timeout != 0 && cme->timeout < now_t) { -+ /* found connection */ -+ connection_map_remove_connection(cm, i); -+ } -+ } -+} -+ -+/** -+ * extract the tracking-id from the parameters -+ * -+ * for POST requests it is part of the request headers -+ * for GET requests ... too -+ */ -+static buffer *get_tracking_id(plugin_data *p, server *srv, connection *con) { -+ data_string *ds; -+ buffer *b = NULL; -+ char *qstr=NULL; -+ size_t i; -+ -+ /* the request has to contain a 32byte ID */ -+ if (NULL == (ds = (data_string *)array_get_element(con->request.headers, "X-Progress-ID"))) { -+ char *amp = NULL; -+ -+ /* perhaps the POST request is using the querystring to pass the X-Progress-ID */ -+ if (buffer_is_empty(con->uri.query)) { -+ /* -+ * con->uri.query will not be parsed out if a 413 error happens -+ */ -+ if (NULL != (qstr = strchr(con->request.uri->ptr, '?'))) { -+ /** extract query string from request.uri */ -+ buffer_copy_string(con->uri.query, qstr + 1); -+ } else { -+ return NULL; -+ } -+ } -+ -+ /** split the query-string and extract the X-Progress-ID */ -+ do { -+ char *eq = NULL; -+ char *start = amp ? amp + 1 : con->uri.query->ptr; -+ -+ amp = strchr(start, '&'); -+ -+ /* check the string between start and amp for = */ -+ -+ if (amp) { -+ buffer_copy_string_len(p->tmp_buf, start, amp - start); -+ } else { -+ buffer_copy_string(p->tmp_buf, start); -+ } -+ -+ eq = strchr(p->tmp_buf->ptr, '='); -+ -+ if (eq) { -+ *eq = '\0'; -+ -+ if (0 == strcmp(p->tmp_buf->ptr, "X-Progress-ID")) { -+ size_t key_len = sizeof("X-Progress-ID") - 1; -+ size_t var_len = p->tmp_buf->used - 1; -+ /* found */ -+ -+ buffer_copy_string_len(p->tmp_buf, start + key_len + 1, var_len - key_len - 1); -+ -+ b = p->tmp_buf; -+ -+ break; -+ } -+ } -+ } while (amp); -+ -+ if (!b) return NULL; -+ } else { -+ /* request header was found, use it */ -+ b = ds->value; -+ } -+ -+ if (b->used != 32 + 1) { -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "sds", "the Progress-ID has to be 32 characters long, got", b->used - 1, "characters"); -+ return NULL; -+ } -+ -+ for (i = 0; i < b->used - 1; i++) { -+ char c = b->ptr[i]; -+ -+ if (!light_isxdigit(c)) { -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "sds", "only hex-digits are allowed (0-9 + a-f): (ascii:", c, ")"); -+ return NULL; -+ } -+ } -+ -+ return b; -+} -+ -+/* init the plugin data */ -+INIT_FUNC(mod_uploadprogress_init) { -+ plugin_data *p; -+ -+ p = calloc(1, sizeof(*p)); -+ -+ p->con_map = connection_map_init(); -+ p->tmp_buf = buffer_init(); -+ -+ return p; -+} -+ -+/* detroy the plugin data */ -+FREE_FUNC(mod_uploadprogress_free) { -+ plugin_data *p = p_d; -+ -+ UNUSED(srv); -+ -+ if (!p) return HANDLER_GO_ON; -+ -+ if (p->config_storage) { -+ size_t i; -+ for (i = 0; i < srv->config_context->used; i++) { -+ plugin_config *s = p->config_storage[i]; -+ -+ buffer_free(s->progress_url); -+ s->remove_timeout=0; -+ -+ free(s); -+ } -+ free(p->config_storage); -+ } -+ -+ connection_map_free(p->con_map); -+ buffer_free(p->tmp_buf); -+ -+ free(p); -+ -+ return HANDLER_GO_ON; -+} -+ -+/* handle plugin config and check values */ -+ -+SETDEFAULTS_FUNC(mod_uploadprogress_set_defaults) { -+ plugin_data *p = p_d; -+ size_t i = 0; -+ -+ config_values_t cv[] = { -+ { CONFIG_UPLOAD_PROGRESS_URL, NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION }, /* 0 */ -+ { CONFIG_UPLOAD_PROGRESS_TIMEOUT, NULL, T_CONFIG_SHORT, T_CONFIG_SCOPE_CONNECTION }, /* 1 */ -+ { CONFIG_UPLOAD_PROGRESS_DEBUG, NULL, T_CONFIG_BOOLEAN, T_CONFIG_SCOPE_CONNECTION }, /* 2 */ -+ { NULL, NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET } -+ }; -+ -+ if (!p) return HANDLER_ERROR; -+ -+ p->config_storage = calloc(1, srv->config_context->used * sizeof(specific_config *)); -+ -+ for (i = 0; i < srv->config_context->used; i++) { -+ plugin_config *s; -+ -+ s = calloc(1, sizeof(plugin_config)); -+ s->progress_url = buffer_init(); -+ s->remove_timeout = 60; -+ s->debug = 0; -+ -+ cv[0].destination = s->progress_url; -+ cv[1].destination = &(s->remove_timeout); -+ cv[2].destination = &(s->debug); -+ -+ p->config_storage[i] = s; -+ -+ if (0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { -+ return HANDLER_ERROR; -+ } -+ } -+ -+ return HANDLER_GO_ON; -+} -+ -+#define PATCH_OPTION(x) \ -+ p->conf.x = s->x; -+static int mod_uploadprogress_patch_connection(server *srv, connection *con, plugin_data *p) { -+ size_t i, j; -+ plugin_config *s = p->config_storage[0]; -+ -+ PATCH_OPTION(progress_url); -+ PATCH_OPTION(remove_timeout); -+ PATCH_OPTION(debug); -+ -+ /* skip the first, the global context */ -+ for (i = 1; i < srv->config_context->used; i++) { -+ data_config *dc = (data_config *)srv->config_context->data[i]; -+ s = p->config_storage[i]; -+ -+ /* condition didn't match */ -+ if (!config_check_cond(srv, con, dc)) continue; -+ -+ /* merge config */ -+ for (j = 0; j < dc->value->used; j++) { -+ data_unset *du = dc->value->data[j]; -+ -+ if (buffer_is_equal_string(du->key, CONST_STR_LEN(CONFIG_UPLOAD_PROGRESS_URL))) { -+ PATCH_OPTION(progress_url); -+ } else if (buffer_is_equal_string(du->key, CONST_STR_LEN(CONFIG_UPLOAD_PROGRESS_TIMEOUT))) { -+ PATCH_OPTION(remove_timeout); -+ } else if (buffer_is_equal_string(du->key, CONST_STR_LEN(CONFIG_UPLOAD_PROGRESS_DEBUG))) { -+ PATCH_OPTION(debug); -+ } -+ } -+ } -+ -+ return 0; -+} -+ -+/** -+ * -+ * the idea: -+ * -+ * for the first request we check if it is a post-request -+ * -+ * if no, move out, don't care about them -+ * -+ * if yes, take the connection structure and register it locally -+ * in the progress-struct together with an session-id (md5 ... ) -+ * -+ * if the connections closes, cleanup the entry in the progress-struct -+ * -+ * a second request can now get the info about the size of the upload, -+ * the received bytes -+ * -+ */ -+ -+URIHANDLER_FUNC(mod_uploadprogress_uri_handler) { -+ plugin_data *p = p_d; -+ buffer *tracking_id; -+ buffer *b; -+ connection_map_entry *post_con_entry = NULL; -+ connection_map_entry *map_con_entry = NULL; -+ -+ if (buffer_is_empty(con->uri.path)) return HANDLER_GO_ON; -+ -+ /* no progress URL set, ignore request */ -+ if (buffer_is_empty(p->conf.progress_url)) return HANDLER_GO_ON; -+ -+ switch(con->request.http_method) { -+ case HTTP_METHOD_POST: -+ /** -+ * a POST request is the UPLOAD itself -+ * -+ * get the unique tracker id -+ */ -+ if (NULL == (tracking_id = get_tracking_id(p, srv, con))) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (NULL == (map_con_entry = connection_map_get_connection_entry(p->con_map, tracking_id))) { -+ connection_map_insert(p->con_map, tracking_id, con); -+ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ss", "POST: connection is new, registered:", SAFE_BUF_STR(tracking_id)); -+ } else { -+ map_con_entry->timeout = 0; -+ map_con_entry->status = 0; -+ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ss", "POST: connection is known, id:", SAFE_BUF_STR(tracking_id)); -+ } -+ -+ return HANDLER_GO_ON; -+ case HTTP_METHOD_GET: -+ /** -+ * the status request for the current connection -+ */ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ssss", "(uploadprogress) urls", SAFE_BUF_STR(con->uri.path), "==", SAFE_BUF_STR(p->conf.progress_url)); -+ -+ if (!buffer_is_equal(con->uri.path, p->conf.progress_url)) { -+ return HANDLER_GO_ON; -+ } -+ -+ /* get the tracker id */ -+ if (NULL == (tracking_id = get_tracking_id(p, srv, con))) { -+ return HANDLER_GO_ON; -+ } -+ -+ buffer_reset(con->physical.path); -+ -+ con->file_started = 1; -+ con->http_status = 200; -+ con->file_finished = 1; -+ -+ /* send JSON content */ -+ -+ response_header_overwrite(srv, con, CONST_STR_LEN("Content-Type"), CONST_STR_LEN("text/javascript")); -+ -+ /* just an attempt the force the IE/proxies to NOT cache the request */ -+ response_header_overwrite(srv, con, CONST_STR_LEN("Pragma"), CONST_STR_LEN("no-cache")); -+ response_header_overwrite(srv, con, CONST_STR_LEN("Expires"), CONST_STR_LEN("Thu, 19 Nov 1981 08:52:00 GMT")); -+ response_header_overwrite(srv, con, CONST_STR_LEN("Cache-Control"), -+ CONST_STR_LEN("no-store, no-cache, must-revalidate, post-check=0, pre-check=0")); -+ -+ b = chunkqueue_get_append_buffer(con->write_queue); -+ -+ /* get the connection */ -+ if (NULL == (post_con_entry = connection_map_get_connection_entry(p->con_map, tracking_id))) { -+ /** -+ * looks like we don't know the tracking id yet, GET and POST out of sync ? */ -+ buffer_append_string_len(b, CONST_STR_LEN("{ \"state\" : \"unknown\" }\r\n")); -+ con->response.content_length += b->used - 1; -+ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ssss", "connection unknown:", SAFE_BUF_STR(tracking_id), ", sending:", SAFE_BUF_STR(b)); -+ -+ return HANDLER_FINISHED; -+ } -+ -+ buffer_copy_string_len(b, CONST_STR_LEN("{ \"state\" : ")); -+ -+ if (post_con_entry->status == 413) { -+ /* the upload was too large */ -+ buffer_append_string_len(b, CONST_STR_LEN("\"error\", \"status\" : 413")); -+ } else if (post_con_entry->con == NULL) { -+ /* the connection is already gone */ -+ buffer_append_string_len(b, CONST_STR_LEN("\"done\", \"size\" : ")); -+ buffer_append_off_t(b, post_con_entry->size); -+ } else { -+ /* the upload is already done, but the connection might be still open */ -+ buffer_append_string(b, post_con_entry->con->state == CON_STATE_READ_POST ? "\"uploading\"" : "\"done\""); -+ buffer_append_string_len(b, CONST_STR_LEN(", \"received\" : ")); -+ buffer_append_off_t(b, post_con_entry->con->bytes_read); -+ buffer_append_string_len(b, CONST_STR_LEN(", \"size\" : ")); -+ buffer_append_off_t(b, post_con_entry->con->request.content_length); -+ } -+ buffer_append_string_len(b, CONST_STR_LEN("}\r\n")); -+ con->response.content_length += b->used - 1; -+ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ssss", "connection is known:", SAFE_BUF_STR(tracking_id), ", sending:", SAFE_BUF_STR(b)); -+ -+ return HANDLER_FINISHED; -+ default: -+ break; -+ } -+ -+ return HANDLER_GO_ON; -+} -+ -+/** -+ * check for POST request -+ */ -+CONNECTION_FUNC(mod_uploadprogress_request_end) { -+ plugin_data *p = p_d; -+ -+ buffer *tracking_id; -+ connection_map_entry *map_con_entry = NULL; -+ -+ UNUSED(srv); -+ -+ /* no request URL, ignore request */ -+ if (buffer_is_empty(con->request.uri)) return HANDLER_GO_ON; -+ -+ mod_uploadprogress_patch_connection(srv, con, p); -+ -+ /* -+ * we only want to process the upload (POST request) -+ */ -+ if (con->request.http_method != HTTP_METHOD_POST) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (p->conf.debug) { -+ log_error_write(srv, __FILE__, __LINE__, "sxsdsd", "request_end: con=", (void *) con, ", http_method=", con->request.http_method, ", http_status=", con->http_status); -+ } -+ -+ /* get the tracker id */ -+ if (NULL == (tracking_id = get_tracking_id(p, srv, con))) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (NULL == (map_con_entry = connection_map_get_connection_entry(p->con_map, tracking_id))) { -+ /** -+ * in case the request parser meant the request was too large the URI handler won't -+ * get called. Insert the connection mapping here -+ */ -+ if (NULL == (map_con_entry = connection_map_insert(p->con_map, tracking_id, con))) { -+ return HANDLER_GO_ON; -+ } -+ } -+ -+ /* ok, found our entries, setting status */ -+ map_con_entry->status = con->http_status; -+ -+ return HANDLER_GO_ON; -+} -+ -+/** -+ * remove the parent connection from the connection mapping -+ * when it got closed -+ * -+ * keep the mapping active for a while to send a valid final status -+ */ -+CONNECTION_FUNC(mod_uploadprogress_request_done) { -+ plugin_data *p = p_d; -+ buffer *tracking_id; -+ connection_map_entry *cm = NULL; -+ -+ UNUSED(srv); -+ -+ if (buffer_is_empty(con->request.uri)) return HANDLER_GO_ON; -+ -+ /* -+ * only need to handle the upload request. -+ */ -+ if (con->request.http_method != HTTP_METHOD_POST) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (NULL == (tracking_id = get_tracking_id(p, srv, con))) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (p->conf.debug) { -+ log_error_write(srv, __FILE__, __LINE__, "sssd", "upload is done, moving tracking-id to backlog: tracking-id=", SAFE_BUF_STR(tracking_id), ", http_status=", con->http_status); -+ } -+ -+ /* -+ * set timeout on the upload's connection_map_entry. -+ */ -+ if (NULL == (cm = connection_map_get_connection_entry(p->con_map, tracking_id))) { -+ if (p->conf.debug) { -+ log_error_write(srv, __FILE__, __LINE__, "sss", "tracking ID", SAFE_BUF_STR(tracking_id), "not found, can't set timeout"); -+ } -+ return HANDLER_GO_ON; -+ } -+ -+ /* save request size to be able to report it even when cm->con == NULL */ -+ cm->size = con->request.content_length; -+ -+ cm->timeout = time(NULL) + p->conf.remove_timeout; -+ cm->con = NULL; /* con becomes invalid very soon */ -+ -+ return HANDLER_GO_ON; -+} -+ -+/** -+ * remove dead connections once in while -+ */ -+TRIGGER_FUNC(mod_uploadprogress_trigger) { -+ plugin_data *p = p_d; -+ -+ if ((srv->cur_ts % 10) != 0) return HANDLER_GO_ON; -+ -+ connection_map_clear_timeout_connections(p->con_map); -+ -+ return HANDLER_GO_ON; -+} -+ -+ -+/* this function is called at dlopen() time and inits the callbacks */ -+ -+int mod_uploadprogress_plugin_init(plugin *p) { -+ p->version = LIGHTTPD_VERSION_ID; -+ p->name = buffer_init_string("uploadprogress"); -+ -+ p->init = mod_uploadprogress_init; -+ p->handle_uri_clean = mod_uploadprogress_uri_handler; -+ p->handle_request_end = mod_uploadprogress_request_end; -+ p->handle_request_done = mod_uploadprogress_request_done; -+// p->connection_reset = mod_uploadprogress_request_done; -+ p->set_defaults = mod_uploadprogress_set_defaults; -+ p->cleanup = mod_uploadprogress_free; -+ p->handle_trigger = mod_uploadprogress_trigger; -+ -+ p->data = NULL; -+ -+ return 0; -+} diff --git a/www-servers/lighttpd/files/lighttpd-1.4.28-detect-libev.patch b/www-servers/lighttpd/files/lighttpd-1.4.28-detect-libev.patch deleted file mode 100644 index c1934eacb4f459c44affbdec618659358166285f..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/lighttpd-1.4.28-detect-libev.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: lighttpd-1.4.28/configure.ac -=================================================================== ---- lighttpd-1.4.28.orig/configure.ac -+++ lighttpd-1.4.28/configure.ac -@@ -105,7 +105,7 @@ if test "$WITH_LIBEV" != "no"; then - LIBEV_LIBS="-L$WITH_LIBEV/lib -lev" - else - AC_CHECK_HEADERS([ev.h],[ -- AC_CHECK_LIB([ev], [ev_loop], [ -+ AC_CHECK_LIB([ev], [ev_time], [ - LIBEV_CFLAGS="" - LIBEV_LIBS="-lev" - ],[ diff --git a/www-servers/lighttpd/files/lighttpd-1.4.28-mod_uploadprogress.patch b/www-servers/lighttpd/files/lighttpd-1.4.28-mod_uploadprogress.patch deleted file mode 100644 index c99886af1e7b9a5e44c31d1a49a216244b1ba90a..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/lighttpd-1.4.28-mod_uploadprogress.patch +++ /dev/null @@ -1,738 +0,0 @@ -diff -Nru lighttpd-1.4.22.orig/src/connections.c lighttpd-1.4.22/src/connections.c ---- lighttpd-1.4.22.orig/src/connections.c 2009-02-19 14:15:14.000000000 +0100 -+++ lighttpd-1.4.28/src/connections.c 2009-04-22 17:45:20.000000000 +0200 -@@ -1401,11 +1401,15 @@ - if (http_request_parse(srv, con)) { - /* we have to read some data from the POST request */ - -+ plugins_call_handle_request_end(srv, con); -+ - connection_set_state(srv, con, CON_STATE_READ_POST); - - break; - } - -+ plugins_call_handle_request_end(srv, con); -+ - connection_set_state(srv, con, CON_STATE_HANDLE_REQUEST); - - break; -diff -Nru lighttpd-1.4.22.orig/src/Makefile.am lighttpd-1.4.22/src/Makefile.am ---- lighttpd-1.4.22.orig/src/Makefile.am 2009-02-19 14:15:14.000000000 +0100 -+++ lighttpd-1.4.28/src/Makefile.am 2009-04-22 17:46:34.000000000 +0200 -@@ -246,6 +246,11 @@ - mod_accesslog_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined - mod_accesslog_la_LIBADD = $(common_libadd) - -+lib_LTLIBRARIES += mod_uploadprogress.la -+mod_uploadprogress_la_SOURCES = mod_uploadprogress.c -+mod_uploadprogress_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined -+mod_uploadprogress_la_LIBADD = $(common_libadd) -+ - - hdr = server.h buffer.h network.h log.h keyvalue.h \ - response.h request.h fastcgi.h chunk.h \ -diff -Nru lighttpd-1.4.22.orig/src/plugin.c lighttpd-1.4.22/src/plugin.c ---- lighttpd-1.4.22.orig/src/plugin.c 2009-02-19 14:15:14.000000000 +0100 -+++ lighttpd-1.4.28/src/plugin.c 2009-04-22 17:45:20.000000000 +0200 -@@ -34,6 +34,7 @@ - PLUGIN_FUNC_UNSET, - PLUGIN_FUNC_HANDLE_URI_CLEAN, - PLUGIN_FUNC_HANDLE_URI_RAW, -+ PLUGIN_FUNC_HANDLE_REQUEST_END, - PLUGIN_FUNC_HANDLE_REQUEST_DONE, - PLUGIN_FUNC_HANDLE_CONNECTION_CLOSE, - PLUGIN_FUNC_HANDLE_TRIGGER, -@@ -262,6 +263,7 @@ - - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_CLEAN, handle_uri_clean) - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_RAW, handle_uri_raw) -+PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_END, handle_request_end) - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_DONE, handle_request_done) - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_CONNECTION_CLOSE, handle_connection_close) - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_SUBREQUEST, handle_subrequest) -@@ -389,6 +391,7 @@ - - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_CLEAN, handle_uri_clean); - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_URI_RAW, handle_uri_raw); -+ PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_END, handle_request_end); - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_REQUEST_DONE, handle_request_done); - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_CONNECTION_CLOSE, handle_connection_close); - PLUGIN_TO_SLOT(PLUGIN_FUNC_HANDLE_TRIGGER, handle_trigger); -diff -Nru lighttpd-1.4.22.orig/src/plugin.h lighttpd-1.4.22/src/plugin.h ---- lighttpd-1.4.22.orig/src/plugin.h 2009-02-19 14:15:14.000000000 +0100 -+++ lighttpd-1.4.28/src/plugin.h 2009-04-22 17:45:20.000000000 +0200 -@@ -42,12 +42,12 @@ - handler_t (* handle_uri_clean) (server *srv, connection *con, void *p_d); /* after uri is set */ - handler_t (* handle_docroot) (server *srv, connection *con, void *p_d); /* getting the document-root */ - handler_t (* handle_physical) (server *srv, connection *con, void *p_d); /* mapping url to physical path */ -+ handler_t (* handle_request_end) (server *srv, connection *con, void *p_d); /* a handler for the request content */ - handler_t (* handle_request_done) (server *srv, connection *con, void *p_d); /* at the end of a request */ - handler_t (* handle_connection_close)(server *srv, connection *con, void *p_d); /* at the end of a connection */ - handler_t (* handle_joblist) (server *srv, connection *con, void *p_d); /* after all events are handled */ - - -- - handler_t (* handle_subrequest_start)(server *srv, connection *con, void *p_d); - - /* when a handler for the request -@@ -68,6 +68,7 @@ - handler_t plugins_call_handle_uri_clean(server *srv, connection *con); - handler_t plugins_call_handle_subrequest_start(server *srv, connection *con); - handler_t plugins_call_handle_subrequest(server *srv, connection *con); -+handler_t plugins_call_handle_request_end(server *srv, connection *con); - handler_t plugins_call_handle_request_done(server *srv, connection *con); - handler_t plugins_call_handle_docroot(server *srv, connection *con); - handler_t plugins_call_handle_physical(server *srv, connection *con); -diff -Nru lighttpd-1.4.22.orig/src/mod_uploadprogress.c lighttpd-1.4.22/src/mod_uploadprogress.c ---- lighttpd-1.4.22.orig/src/mod_uploadprogress.c 1970-01-01 01:00:00.000000000 +0100 -+++ lighttpd-1.4.28/src/mod_uploadprogress.c 2009-04-22 17:32:38.000000000 +0200 -@@ -0,0 +1,648 @@ -+#include -+#include -+#include -+ -+#include "base.h" -+#include "log.h" -+#include "buffer.h" -+ -+#include "plugin.h" -+ -+#include "response.h" -+#include "stat_cache.h" -+ -+#define CONFIG_UPLOAD_PROGRESS_URL "upload-progress.progress-url" -+#define CONFIG_UPLOAD_PROGRESS_TIMEOUT "upload-progress.remove-timeout" -+#define CONFIG_UPLOAD_PROGRESS_DEBUG "upload-progress.debug" -+ -+#define SAFE_BUF_STR(x) x && x->ptr ? x->ptr : "(null)" -+ -+/** -+ * uploadprogress for lighttpd -+ * -+ * Initial: Jan Kneschke -+ * Timeout+Status addon: Bjoern Kalkbrenner [20070112] -+ * -+ * Ported to Lighttpd 1.4.22 by Radek Senfeld -+ * -+ * Backport based on revision 2369 -+ * http://redmine.lighttpd.net/projects/lighttpd/repository/changes/trunk/src/mod_uploadprogress.c -+ * -+ * the timeout is used to keep in the status information intact even if the parent -+ * connection is gone already -+ * -+ */ -+ -+typedef struct { -+ buffer *tracking_id; -+ connection *con; -+ -+ time_t timeout; -+ int status; -+ off_t size; -+} connection_map_entry; -+ -+typedef struct { -+ connection_map_entry **ptr; -+ -+ size_t used; -+ size_t size; -+} connection_map; -+ -+/* plugin config for all request/connections */ -+ -+typedef struct { -+ buffer *progress_url; -+ unsigned short debug; -+ unsigned short remove_timeout; -+} plugin_config; -+ -+typedef struct { -+ PLUGIN_DATA; -+ -+ connection_map *con_map; -+ -+ buffer *tmp_buf; /** used as temporary buffer for extracting the tracking id */ -+ -+ plugin_config **config_storage; -+ -+ plugin_config conf; -+} plugin_data; -+ -+/** -+ * -+ * connection maps -+ * -+ */ -+ -+/* init the plugin data */ -+static connection_map *connection_map_init() { -+ connection_map *cm; -+ -+ cm = calloc(1, sizeof(*cm)); -+ -+ return cm; -+} -+ -+static void connection_map_free(connection_map *cm) { -+ size_t i; -+ for (i = 0; i < cm->size; i++) { -+ connection_map_entry *cme = cm->ptr[i]; -+ -+ if (!cme) break; -+ -+ if (cme->tracking_id) { -+ buffer_free(cme->tracking_id); -+ } -+ free(cme); -+ } -+ -+ free(cm); -+} -+ -+static connection_map_entry *connection_map_insert(connection_map *cm, buffer *tracking_id, connection *con) { -+ connection_map_entry *cme; -+ size_t i; -+ -+ if (cm->size == 0) { -+ cm->size = 16; -+ cm->ptr = malloc(cm->size * sizeof(*(cm->ptr))); -+ for (i = 0; i < cm->size; i++) { -+ cm->ptr[i] = NULL; -+ } -+ } else if (cm->used == cm->size) { -+ cm->size += 16; -+ cm->ptr = realloc(cm->ptr, cm->size * sizeof(*(cm->ptr))); -+ for (i = cm->used; i < cm->size; i++) { -+ cm->ptr[i] = NULL; -+ } -+ } -+ -+ if (cm->ptr[cm->used]) { -+ /* is already alloced, just reuse it */ -+ cme = cm->ptr[cm->used]; -+ } else { -+ cme = malloc(sizeof(*cme)); -+ cme->tracking_id = buffer_init(); -+ } -+ cme->timeout = 0; -+ cme->status = 0; -+ buffer_copy_string_buffer(cme->tracking_id, tracking_id); -+ cme->con = con; -+ -+ cm->ptr[cm->used++] = cme; -+ -+ return cme; -+} -+ -+static connection_map_entry *connection_map_get_connection_entry(connection_map *cm, buffer *tracking_id) { -+ size_t i; -+ -+ for (i = 0; i < cm->used; i++) { -+ connection_map_entry *cme = cm->ptr[i]; -+ -+ if (buffer_is_equal(cme->tracking_id, tracking_id)) { -+ /* found connection */ -+ return cme; -+ } -+ } -+ return NULL; -+} -+ -+static void connection_map_remove_connection(connection_map *cm, size_t i) { -+ connection_map_entry *cme = cm->ptr[i]; -+ -+ buffer_reset(cme->tracking_id); -+ cme->timeout=0; -+ cme->status=0; -+ -+ cm->used--; -+ -+ /* swap positions with the last entry */ -+ if (cm->used) { -+ cm->ptr[i] = cm->ptr[cm->used]; -+ cm->ptr[cm->used] = cme; -+ } -+} -+ -+/** -+ * remove dead tracking IDs -+ * -+ * uploadprogress.remove-timeout sets a grace-period in which the -+ * connection status is still known even of the connection is already -+ * being removed -+ * -+ */ -+static void connection_map_clear_timeout_connections(connection_map *cm) { -+ size_t i; -+ time_t now_t = time(NULL); -+ -+ for (i = 0; i < cm->used; i++) { -+ connection_map_entry *cme = cm->ptr[i]; -+ -+ if (cme->timeout != 0 && cme->timeout < now_t) { -+ /* found connection */ -+ connection_map_remove_connection(cm, i); -+ } -+ } -+} -+ -+/** -+ * extract the tracking-id from the parameters -+ * -+ * for POST requests it is part of the request headers -+ * for GET requests ... too -+ */ -+static buffer *get_tracking_id(plugin_data *p, server *srv, connection *con) { -+ data_string *ds; -+ buffer *b = NULL; -+ char *qstr=NULL; -+ size_t i; -+ -+ /* the request has to contain a 32byte ID */ -+ if (NULL == (ds = (data_string *)array_get_element(con->request.headers, "X-Progress-ID"))) { -+ char *amp = NULL; -+ -+ /* perhaps the POST request is using the querystring to pass the X-Progress-ID */ -+ if (buffer_is_empty(con->uri.query)) { -+ /* -+ * con->uri.query will not be parsed out if a 413 error happens -+ */ -+ if (NULL != (qstr = strchr(con->request.uri->ptr, '?'))) { -+ /** extract query string from request.uri */ -+ buffer_copy_string(con->uri.query, qstr + 1); -+ } else { -+ return NULL; -+ } -+ } -+ -+ /** split the query-string and extract the X-Progress-ID */ -+ do { -+ char *eq = NULL; -+ char *start = amp ? amp + 1 : con->uri.query->ptr; -+ -+ amp = strchr(start, '&'); -+ -+ /* check the string between start and amp for = */ -+ -+ if (amp) { -+ buffer_copy_string_len(p->tmp_buf, start, amp - start); -+ } else { -+ buffer_copy_string(p->tmp_buf, start); -+ } -+ -+ eq = strchr(p->tmp_buf->ptr, '='); -+ -+ if (eq) { -+ *eq = '\0'; -+ -+ if (0 == strcmp(p->tmp_buf->ptr, "X-Progress-ID")) { -+ size_t key_len = sizeof("X-Progress-ID") - 1; -+ size_t var_len = p->tmp_buf->used - 1; -+ /* found */ -+ -+ buffer_copy_string_len(p->tmp_buf, start + key_len + 1, var_len - key_len - 1); -+ -+ b = p->tmp_buf; -+ -+ break; -+ } -+ } -+ } while (amp); -+ -+ if (!b) return NULL; -+ } else { -+ /* request header was found, use it */ -+ b = ds->value; -+ } -+ -+ if (b->used != 32 + 1) { -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "sds", "the Progress-ID has to be 32 characters long, got", b->used - 1, "characters"); -+ return NULL; -+ } -+ -+ for (i = 0; i < b->used - 1; i++) { -+ char c = b->ptr[i]; -+ -+ if (!light_isxdigit(c)) { -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "sds", "only hex-digits are allowed (0-9 + a-f): (ascii:", c, ")"); -+ return NULL; -+ } -+ } -+ -+ return b; -+} -+ -+/* init the plugin data */ -+INIT_FUNC(mod_uploadprogress_init) { -+ plugin_data *p; -+ -+ p = calloc(1, sizeof(*p)); -+ -+ p->con_map = connection_map_init(); -+ p->tmp_buf = buffer_init(); -+ -+ return p; -+} -+ -+/* detroy the plugin data */ -+FREE_FUNC(mod_uploadprogress_free) { -+ plugin_data *p = p_d; -+ -+ UNUSED(srv); -+ -+ if (!p) return HANDLER_GO_ON; -+ -+ if (p->config_storage) { -+ size_t i; -+ for (i = 0; i < srv->config_context->used; i++) { -+ plugin_config *s = p->config_storage[i]; -+ -+ buffer_free(s->progress_url); -+ s->remove_timeout=0; -+ -+ free(s); -+ } -+ free(p->config_storage); -+ } -+ -+ connection_map_free(p->con_map); -+ buffer_free(p->tmp_buf); -+ -+ free(p); -+ -+ return HANDLER_GO_ON; -+} -+ -+/* handle plugin config and check values */ -+ -+SETDEFAULTS_FUNC(mod_uploadprogress_set_defaults) { -+ plugin_data *p = p_d; -+ size_t i = 0; -+ -+ config_values_t cv[] = { -+ { CONFIG_UPLOAD_PROGRESS_URL, NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION }, /* 0 */ -+ { CONFIG_UPLOAD_PROGRESS_TIMEOUT, NULL, T_CONFIG_SHORT, T_CONFIG_SCOPE_CONNECTION }, /* 1 */ -+ { CONFIG_UPLOAD_PROGRESS_DEBUG, NULL, T_CONFIG_BOOLEAN, T_CONFIG_SCOPE_CONNECTION }, /* 2 */ -+ { NULL, NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET } -+ }; -+ -+ if (!p) return HANDLER_ERROR; -+ -+ p->config_storage = calloc(1, srv->config_context->used * sizeof(specific_config *)); -+ -+ for (i = 0; i < srv->config_context->used; i++) { -+ plugin_config *s; -+ -+ s = calloc(1, sizeof(plugin_config)); -+ s->progress_url = buffer_init(); -+ s->remove_timeout = 60; -+ s->debug = 0; -+ -+ cv[0].destination = s->progress_url; -+ cv[1].destination = &(s->remove_timeout); -+ cv[2].destination = &(s->debug); -+ -+ p->config_storage[i] = s; -+ -+ if (0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { -+ return HANDLER_ERROR; -+ } -+ } -+ -+ return HANDLER_GO_ON; -+} -+ -+#define PATCH_OPTION(x) \ -+ p->conf.x = s->x; -+static int mod_uploadprogress_patch_connection(server *srv, connection *con, plugin_data *p) { -+ size_t i, j; -+ plugin_config *s = p->config_storage[0]; -+ -+ PATCH_OPTION(progress_url); -+ PATCH_OPTION(remove_timeout); -+ PATCH_OPTION(debug); -+ -+ /* skip the first, the global context */ -+ for (i = 1; i < srv->config_context->used; i++) { -+ data_config *dc = (data_config *)srv->config_context->data[i]; -+ s = p->config_storage[i]; -+ -+ /* condition didn't match */ -+ if (!config_check_cond(srv, con, dc)) continue; -+ -+ /* merge config */ -+ for (j = 0; j < dc->value->used; j++) { -+ data_unset *du = dc->value->data[j]; -+ -+ if (buffer_is_equal_string(du->key, CONST_STR_LEN(CONFIG_UPLOAD_PROGRESS_URL))) { -+ PATCH_OPTION(progress_url); -+ } else if (buffer_is_equal_string(du->key, CONST_STR_LEN(CONFIG_UPLOAD_PROGRESS_TIMEOUT))) { -+ PATCH_OPTION(remove_timeout); -+ } else if (buffer_is_equal_string(du->key, CONST_STR_LEN(CONFIG_UPLOAD_PROGRESS_DEBUG))) { -+ PATCH_OPTION(debug); -+ } -+ } -+ } -+ -+ return 0; -+} -+ -+/** -+ * -+ * the idea: -+ * -+ * for the first request we check if it is a post-request -+ * -+ * if no, move out, don't care about them -+ * -+ * if yes, take the connection structure and register it locally -+ * in the progress-struct together with an session-id (md5 ... ) -+ * -+ * if the connections closes, cleanup the entry in the progress-struct -+ * -+ * a second request can now get the info about the size of the upload, -+ * the received bytes -+ * -+ */ -+ -+URIHANDLER_FUNC(mod_uploadprogress_uri_handler) { -+ plugin_data *p = p_d; -+ buffer *tracking_id; -+ buffer *b; -+ connection_map_entry *post_con_entry = NULL; -+ connection_map_entry *map_con_entry = NULL; -+ -+ if (buffer_is_empty(con->uri.path)) return HANDLER_GO_ON; -+ -+ /* no progress URL set, ignore request */ -+ if (buffer_is_empty(p->conf.progress_url)) return HANDLER_GO_ON; -+ -+ switch(con->request.http_method) { -+ case HTTP_METHOD_POST: -+ /** -+ * a POST request is the UPLOAD itself -+ * -+ * get the unique tracker id -+ */ -+ if (NULL == (tracking_id = get_tracking_id(p, srv, con))) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (NULL == (map_con_entry = connection_map_get_connection_entry(p->con_map, tracking_id))) { -+ connection_map_insert(p->con_map, tracking_id, con); -+ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ss", "POST: connection is new, registered:", SAFE_BUF_STR(tracking_id)); -+ } else { -+ map_con_entry->timeout = 0; -+ map_con_entry->status = 0; -+ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ss", "POST: connection is known, id:", SAFE_BUF_STR(tracking_id)); -+ } -+ -+ return HANDLER_GO_ON; -+ case HTTP_METHOD_GET: -+ /** -+ * the status request for the current connection -+ */ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ssss", "(uploadprogress) urls", SAFE_BUF_STR(con->uri.path), "==", SAFE_BUF_STR(p->conf.progress_url)); -+ -+ if (!buffer_is_equal(con->uri.path, p->conf.progress_url)) { -+ return HANDLER_GO_ON; -+ } -+ -+ /* get the tracker id */ -+ if (NULL == (tracking_id = get_tracking_id(p, srv, con))) { -+ return HANDLER_GO_ON; -+ } -+ -+ buffer_reset(con->physical.path); -+ -+ con->file_started = 1; -+ con->http_status = 200; -+ con->file_finished = 1; -+ -+ /* send JSON content */ -+ -+ response_header_overwrite(srv, con, CONST_STR_LEN("Content-Type"), CONST_STR_LEN("text/javascript")); -+ -+ /* just an attempt the force the IE/proxies to NOT cache the request */ -+ response_header_overwrite(srv, con, CONST_STR_LEN("Pragma"), CONST_STR_LEN("no-cache")); -+ response_header_overwrite(srv, con, CONST_STR_LEN("Expires"), CONST_STR_LEN("Thu, 19 Nov 1981 08:52:00 GMT")); -+ response_header_overwrite(srv, con, CONST_STR_LEN("Cache-Control"), -+ CONST_STR_LEN("no-store, no-cache, must-revalidate, post-check=0, pre-check=0")); -+ -+ b = chunkqueue_get_append_buffer(con->write_queue); -+ -+ /* get the connection */ -+ if (NULL == (post_con_entry = connection_map_get_connection_entry(p->con_map, tracking_id))) { -+ /** -+ * looks like we don't know the tracking id yet, GET and POST out of sync ? */ -+ buffer_append_string_len(b, CONST_STR_LEN("{ \"state\" : \"unknown\" }\r\n")); -+ con->response.content_length += b->used - 1; -+ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ssss", "connection unknown:", SAFE_BUF_STR(tracking_id), ", sending:", SAFE_BUF_STR(b)); -+ -+ return HANDLER_FINISHED; -+ } -+ -+ buffer_copy_string_len(b, CONST_STR_LEN("{ \"state\" : ")); -+ -+ if (post_con_entry->status == 413) { -+ /* the upload was too large */ -+ buffer_append_string_len(b, CONST_STR_LEN("\"error\", \"status\" : 413")); -+ } else if (post_con_entry->con == NULL) { -+ /* the connection is already gone */ -+ buffer_append_string_len(b, CONST_STR_LEN("\"done\", \"size\" : ")); -+ buffer_append_off_t(b, post_con_entry->size); -+ } else { -+ /* the upload is already done, but the connection might be still open */ -+ buffer_append_string(b, post_con_entry->con->state == CON_STATE_READ_POST ? "\"uploading\"" : "\"done\""); -+ buffer_append_string_len(b, CONST_STR_LEN(", \"received\" : ")); -+ buffer_append_off_t(b, post_con_entry->con->bytes_read); -+ buffer_append_string_len(b, CONST_STR_LEN(", \"size\" : ")); -+ buffer_append_off_t(b, post_con_entry->con->request.content_length); -+ } -+ buffer_append_string_len(b, CONST_STR_LEN("}\r\n")); -+ con->response.content_length += b->used - 1; -+ -+ if (p->conf.debug) log_error_write(srv, __FILE__, __LINE__, "ssss", "connection is known:", SAFE_BUF_STR(tracking_id), ", sending:", SAFE_BUF_STR(b)); -+ -+ return HANDLER_FINISHED; -+ default: -+ break; -+ } -+ -+ return HANDLER_GO_ON; -+} -+ -+/** -+ * check for POST request -+ */ -+CONNECTION_FUNC(mod_uploadprogress_request_end) { -+ plugin_data *p = p_d; -+ -+ buffer *tracking_id; -+ connection_map_entry *map_con_entry = NULL; -+ -+ UNUSED(srv); -+ -+ /* no request URL, ignore request */ -+ if (buffer_is_empty(con->request.uri)) return HANDLER_GO_ON; -+ -+ mod_uploadprogress_patch_connection(srv, con, p); -+ -+ /* -+ * we only want to process the upload (POST request) -+ */ -+ if (con->request.http_method != HTTP_METHOD_POST) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (p->conf.debug) { -+ log_error_write(srv, __FILE__, __LINE__, "sxsdsd", "request_end: con=", (void *) con, ", http_method=", con->request.http_method, ", http_status=", con->http_status); -+ } -+ -+ /* get the tracker id */ -+ if (NULL == (tracking_id = get_tracking_id(p, srv, con))) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (NULL == (map_con_entry = connection_map_get_connection_entry(p->con_map, tracking_id))) { -+ /** -+ * in case the request parser meant the request was too large the URI handler won't -+ * get called. Insert the connection mapping here -+ */ -+ if (NULL == (map_con_entry = connection_map_insert(p->con_map, tracking_id, con))) { -+ return HANDLER_GO_ON; -+ } -+ } -+ -+ /* ok, found our entries, setting status */ -+ map_con_entry->status = con->http_status; -+ -+ return HANDLER_GO_ON; -+} -+ -+/** -+ * remove the parent connection from the connection mapping -+ * when it got closed -+ * -+ * keep the mapping active for a while to send a valid final status -+ */ -+CONNECTION_FUNC(mod_uploadprogress_request_done) { -+ plugin_data *p = p_d; -+ buffer *tracking_id; -+ connection_map_entry *cm = NULL; -+ -+ UNUSED(srv); -+ -+ if (buffer_is_empty(con->request.uri)) return HANDLER_GO_ON; -+ -+ /* -+ * only need to handle the upload request. -+ */ -+ if (con->request.http_method != HTTP_METHOD_POST) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (NULL == (tracking_id = get_tracking_id(p, srv, con))) { -+ return HANDLER_GO_ON; -+ } -+ -+ if (p->conf.debug) { -+ log_error_write(srv, __FILE__, __LINE__, "sssd", "upload is done, moving tracking-id to backlog: tracking-id=", SAFE_BUF_STR(tracking_id), ", http_status=", con->http_status); -+ } -+ -+ /* -+ * set timeout on the upload's connection_map_entry. -+ */ -+ if (NULL == (cm = connection_map_get_connection_entry(p->con_map, tracking_id))) { -+ if (p->conf.debug) { -+ log_error_write(srv, __FILE__, __LINE__, "sss", "tracking ID", SAFE_BUF_STR(tracking_id), "not found, can't set timeout"); -+ } -+ return HANDLER_GO_ON; -+ } -+ -+ /* save request size to be able to report it even when cm->con == NULL */ -+ cm->size = con->request.content_length; -+ -+ cm->timeout = time(NULL) + p->conf.remove_timeout; -+ cm->con = NULL; /* con becomes invalid very soon */ -+ -+ return HANDLER_GO_ON; -+} -+ -+/** -+ * remove dead connections once in while -+ */ -+TRIGGER_FUNC(mod_uploadprogress_trigger) { -+ plugin_data *p = p_d; -+ -+ if ((srv->cur_ts % 10) != 0) return HANDLER_GO_ON; -+ -+ connection_map_clear_timeout_connections(p->con_map); -+ -+ return HANDLER_GO_ON; -+} -+ -+ -+/* this function is called at dlopen() time and inits the callbacks */ -+ -+int mod_uploadprogress_plugin_init(plugin *p) { -+ p->version = LIGHTTPD_VERSION_ID; -+ p->name = buffer_init_string("uploadprogress"); -+ -+ p->init = mod_uploadprogress_init; -+ p->handle_uri_clean = mod_uploadprogress_uri_handler; -+ p->handle_request_end = mod_uploadprogress_request_end; -+ p->handle_request_done = mod_uploadprogress_request_done; -+// p->connection_reset = mod_uploadprogress_request_done; -+ p->set_defaults = mod_uploadprogress_set_defaults; -+ p->cleanup = mod_uploadprogress_free; -+ p->handle_trigger = mod_uploadprogress_trigger; -+ -+ p->data = NULL; -+ -+ return 0; -+} diff --git a/www-servers/lighttpd/files/lighttpd.confd b/www-servers/lighttpd/files/lighttpd.confd deleted file mode 100644 index f3afb07a58e1fa42b8f807d365ad61d632f35f2e..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/lighttpd.confd +++ /dev/null @@ -1,12 +0,0 @@ -# /etc/conf.d/lighttpd - -# Location of a shell used by the 'include_shell' directive -# in the lighttpd's configuration file -#export SHELL="/bin/bash" - -# Location of the lighttpd configuration file -LIGHTTPD_CONF="/etc/lighttpd/lighttpd.conf" - -# Location of the lighttpd pid file -LIGHTTPD_PID="$(/usr/bin/awk '/^server.pid-file/{s=$3};{sub("\"","",s)};END{print s}' ${LIGHTTPD_CONF})" - diff --git a/www-servers/lighttpd/files/lighttpd.initd b/www-servers/lighttpd/files/lighttpd.initd deleted file mode 100644 index e14598def32821a3bc889acc003c3d49f89bc337..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/lighttpd.initd +++ /dev/null @@ -1,72 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v 1.17 2011/05/13 14:06:56 hwoarang Exp $ - -opts="reload graceful" - -depend() { - need net - use mysql logger spawn-fcgi ldap slapd netmount dns - after famd - after sshd -} - -checkconfig() { - if [ ! -f "${LIGHTTPD_CONF}" ] ; then - ewarn "${LIGHTTPD_CONF} does not exist." - return 1 - fi - - if [ -z "${LIGHTTPD_PID}" ] ; then - ewarn "server.pid-file variable in ${LIGHTTPD_CONF}" - ewarn "is not set. Falling back to lighttpd.pid" - LIGHTTPD_PID="/var/run/lighttpd.pid" - fi - /usr/sbin/lighttpd -t -f ${LIGHTTPD_CONF} >/dev/null -} - -start() { - checkconfig || return 1 - - ebegin "Starting lighttpd" - start-stop-daemon --start --quiet --exec /usr/sbin/lighttpd \ - --pidfile "${LIGHTTPD_PID}" -- -f "${LIGHTTPD_CONF}" - eend $? -} - -stop() { - local rv=0 - ebegin "Stopping lighttpd" - start-stop-daemon --stop --quiet --pidfile "${LIGHTTPD_PID}" - eend $? -} - -reload() { - if ! service_started "${SVCNAME}" ; then - eerror "${SVCNAME} isn't running" - return 1 - fi - checkconfig || return 1 - - ebegin "Re-opening lighttpd log files" - start-stop-daemon --stop --oknodo --quiet --pidfile "${LIGHTTPD_PID}" \ - --signal HUP - eend $? -} - -graceful() { - if ! service_started "${SVCNAME}" ; then - eerror "${SVCNAME} isn't running" - return 1 - fi - checkconfig || return 1 - - ebegin "Gracefully stopping lighttpd" - start-stop-daemon --stop --oknodo --quiet --pidfile "${LIGHTTPD_PID}" \ - --signal INT - if eend $? ; then - rm -f "${LIGHTTPD_PID}" - start - fi -} diff --git a/www-servers/lighttpd/files/lighttpd.initd-1.4.13-r3 b/www-servers/lighttpd/files/lighttpd.initd-1.4.13-r3 deleted file mode 100644 index 56c25d8c59e88ff20527b96dba5e60d89e484d81..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/lighttpd.initd-1.4.13-r3 +++ /dev/null @@ -1,67 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd-1.4.13-r3,v 1.3 2009/04/01 19:03:46 bangert Exp $ - -opts="reload graceful" - -depend() { - need net - use mysql logger spawn-fcgi ldap slapd netmount dns - after famd - after sshd -} - -checkconfig() { - if [ ! -f "${LIGHTTPD_CONF}" ] ; then - ewarn "${LIGHTTPD_CONF} does not exist." - return 1 - fi - - /usr/sbin/lighttpd -t -f ${LIGHTTPD_CONF} >/dev/null -} - -start() { - checkconfig || return 1 - - ebegin "Starting lighttpd" - start-stop-daemon --start --quiet --exec /usr/sbin/lighttpd \ - --pidfile "${LIGHTTPD_PID}" -- -f "${LIGHTTPD_CONF}" - eend $? -} - -stop() { - local rv=0 - ebegin "Stopping lighttpd" - start-stop-daemon --stop --quiet --pidfile "${LIGHTTPD_PID}" - eend $? -} - -reload() { - if ! service_started "${SVCNAME}" ; then - eerror "${SVCNAME} isn't running" - return 1 - fi - checkconfig || return 1 - - ebegin "Re-opening lighttpd log files" - start-stop-daemon --stop --oknodo --quiet --pidfile "${LIGHTTPD_PID}" \ - --signal HUP - eend $? -} - -graceful() { - if ! service_started "${SVCNAME}" ; then - eerror "${SVCNAME} isn't running" - return 1 - fi - checkconfig || return 1 - - ebegin "Gracefully stopping lighttpd" - start-stop-daemon --stop --oknodo --quiet --pidfile "${LIGHTTPD_PID}" \ - --signal INT - if eend $? ; then - rm -f "${LIGHTTPD_PID}" - start - fi -} diff --git a/www-servers/lighttpd/files/lighttpd.logrotate b/www-servers/lighttpd/files/lighttpd.logrotate deleted file mode 100644 index 76f0ef3ff584b92137f966dd317613f7ac5067a0..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/lighttpd.logrotate +++ /dev/null @@ -1,17 +0,0 @@ -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate,v 1.2 2006/05/30 19:49:29 bangert Exp $ -# lighttpd logrotate script for Gentoo - -/var/log/lighttpd/*.log { - daily - missingok - copytruncate - rotate 7 - compress - notifempty - sharedscripts - postrotate - if [ -f /var/run/lighttpd.pid ]; then \ - /etc/init.d/lighttpd reload > /dev/null 2>&1 || true ; \ - fi; - endscript -} diff --git a/www-servers/lighttpd/files/spawn-fcgi.confd b/www-servers/lighttpd/files/spawn-fcgi.confd deleted file mode 100644 index 2a88806ae0d41636b994162aa4d8d2255e0cdad2..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/spawn-fcgi.confd +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/spawn-fcgi.confd,v 1.1 2005/02/14 11:39:01 ka0ttic Exp $ - -# Configuration file for the FCGI-Part of /etc/init.d/lighttpd - -## Set this to "yes" to enable SPAWNFCGI -ENABLE_SPAWNFCGI="yes" - -## ABSOLUTE path to the spawn-fcgi binary -SPAWNFCGI="/usr/bin/spawn-fcgi" - -## ABSOLUTE path to the PHP binary -FCGIPROGRAM="/usr/bin/php-cgi" - -## bind to tcp-port on localhost -FCGIPORT="1026" - -## number of PHP childs to spawn -PHP_FCGI_CHILDREN=5 - -## number of request server by a single php-process until is will be restarted -PHP_FCGI_MAX_REQUESTS=1000 - -## IP adresses where PHP should access server connections from -FCGI_WEB_SERVER_ADDRS="127.0.0.1" - -# allowed environment variables sperated by spaces -ALLOWED_ENV="PATH USER" -# do NOT change line below -ALLOWED_ENV="$ALLOWED_ENV PHP_FCGI_MAX_REQUESTS FCGI_WEB_SERVER_ADDRS" - -## if this script is run as root switch to the following user -USERID=lighttpd -GROUPID=lighttpd diff --git a/www-servers/lighttpd/files/spawn-fcgi.initd b/www-servers/lighttpd/files/spawn-fcgi.initd deleted file mode 100644 index 63daa75081f9c4c0ee962d07ae54ac819a1388d8..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/files/spawn-fcgi.initd +++ /dev/null @@ -1,51 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/spawn-fcgi.initd,v 1.2 2007/04/02 12:46:08 uberlord Exp $ - -SPAWNFCGI_PID="/var/run/spawn-fcgi.pid" - -depend() { - need net -} - -start() { - local my_end - - ebegin "Starting spawn-fcgi" - export PHP_FCGI_MAX_REQUESTS FCGI_WEB_SERVER_ADDRS - - EX="${SPAWNFCGI} -p ${FCGIPORT} -f ${FCGIPROGRAM} -u ${USERID} \ - -g ${GROUPID} -C ${PHP_FCGI_CHILDREN}" - - # copy the allowed environment variables - unset E - for i in ${ALLOWED_ENV}; do - E="${E} ${i}=${!i}" - done - - # clean environment and set up a new one - env - ${E} ${EX} 2>${SPAWNFCGI_PID} - my_end=$? - if [ "$my_end" != "0" ]; then - [ -f ${SPAWNFCGI_PID} ] && rm -f ${SPAWNFCGI_PID} - eend $my_end - fi - - #extract parent-process-id and write it back to the file - FCGI_PPID=`cat ${SPAWNFCGI_PID} | cut -d':' -f4` - echo ${FCGI_PPID} > ${SPAWNFCGI_PID} - eend 0 -} - -stop() { - ebegin "Stopping spawn-fcgi" - if ! kill `cat ${SPAWNFCGI_PID}` ; then - eend $? - return 1 - fi - if [ -w ${SPAWNFCGI_PID} ]; then - rm ${SPAWNFCGI_PID} - fi - eend 0 -} diff --git a/www-servers/lighttpd/lighttpd-1.4.28-r2.ebuild.patch b/www-servers/lighttpd/lighttpd-1.4.28-r2.ebuild.patch deleted file mode 100644 index a034db9effa180afd0be729c7ae3e9da88c0e75f..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/lighttpd-1.4.28-r2.ebuild.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- /usr/portage/www-servers/lighttpd/lighttpd-1.4.28-r2.ebuild 2011-07-26 19:01:28.000000000 +0200 -+++ lighttpd-1.4.28-r209.ebuild 2011-08-21 17:07:37.000000000 +0200 -@@ -13,7 +13,7 @@ - LICENSE="BSD" - SLOT="0" - KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 sh sparc x86 ~sparc-fbsd ~x86-fbsd" --IUSE="bzip2 doc fam gdbm ipv6 ldap libev lua minimal memcache mysql pcre php rrdtool ssl test webdav xattr" -+IUSE="bzip2 doc fam gdbm ipv6 ldap libev lua minimal memcache mysql pcre php rrdtool ssl test uploadprogress webdav xattr" - - RDEPEND=" - >=sys-libs/zlib-1.1 -@@ -99,6 +99,9 @@ - sed -i -e 's|\(rst2html\)|\1.py|g' doc/Makefile.am || \ - die "sed doc/Makefile.am failed" - epatch "${FILESDIR}"/${P}-detect-libev.patch -+ if use uploadprogress; then -+ epatch "${FILESDIR}"/${P}-mod_uploadprogress.patch -+ fi - eautoreconf - } - -@@ -201,4 +204,13 @@ - elog "which is now located in /etc/lighttpd. Please migrate your" - elog "existing configuration." - fi -+ -+ if use uploadprogress; then -+ elog "WARNING! mod_uploadprogress is a backported module from the" -+ elog "1.5x-branch, which is not considered stable yet.Please go to" -+ elog "http://redmine.lighttpd.net/wiki/1/Docs:ModUploadProgress" -+ elog "for more information. This configuration also is NOT supported" -+ elog "by upstream, so please refrain from reporting bugs. You have" -+ elog "been warned!" -+ fi - } diff --git a/www-servers/lighttpd/lighttpd-1.4.28-r209.ebuild b/www-servers/lighttpd/lighttpd-1.4.28-r209.ebuild deleted file mode 100644 index db18c4da763e5db15eecbc588659320521772362..0000000000000000000000000000000000000000 --- a/www-servers/lighttpd/lighttpd-1.4.28-r209.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.28-r2.ebuild,v 1.5 2011/07/26 16:34:44 armin76 Exp $ - -EAPI="5" - -inherit base eutils autotools depend.php - -DESCRIPTION="Lightweight high-performance web server" -HOMEPAGE="http://www.lighttpd.net/" -SRC_URI="http://download.lighttpd.net/lighttpd/releases-1.4.x/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="bzip2 doc fam gdbm ipv6 ldap libev lua minimal memcache mysql pcre php rrdtool ssl test uploadprogress webdav xattr" - -RDEPEND=" - >=sys-libs/zlib-1.1 - bzip2? ( app-arch/bzip2 ) - fam? ( virtual/fam ) - gdbm? ( sys-libs/gdbm ) - ldap? ( >=net-nds/openldap-2.1.26 ) - libev? ( >=dev-libs/libev-4.01 ) - lua? ( >=dev-lang/lua-5.1 ) - memcache? ( dev-libs/libmemcache ) - mysql? ( >=virtual/mysql-4.0 ) - pcre? ( >=dev-libs/libpcre-3.1 ) - php? ( dev-lang/php[cgi] ) - rrdtool? ( net-analyzer/rrdtool ) - ssl? ( >=dev-libs/openssl-0.9.7 ) - webdav? ( - dev-libs/libxml2 - >=dev-db/sqlite-3 - sys-fs/e2fsprogs - ) - xattr? ( kernel_linux? ( sys-apps/attr ) )" - -DEPEND="${RDEPEND} - dev-util/pkgconfig - doc? ( dev-python/docutils ) - test? ( - virtual/perl-Test-Harness - dev-libs/fcgi - )" - -# update certain parts of lighttpd.conf based on conditionals -update_config() { - local config="/etc/lighttpd/lighttpd.conf" - - # enable php/mod_fastcgi settings - use php && \ - dosed 's|#.*\(include.*fastcgi.*$\)|\1|' ${config} - - # enable stat() caching - use fam && \ - dosed 's|#\(.*stat-cache.*$\)|\1|' ${config} - - # automatically listen on IPv6 if built with USE=ipv6. Bug #234987 - use ipv6 && \ - dosed 's|# server.use-ipv6|server.use-ipv6|' ${config} -} - -# remove non-essential stuff (for USE=minimal) -remove_non_essential() { - local libdir="${D}/usr/$(get_libdir)/${PN}" - - # text docs - use doc || rm -fr "${D}"/usr/share/doc/${PF}/txt - - # non-essential modules - rm -f \ - ${libdir}/mod_{compress,evhost,expire,proxy,scgi,secdownload,simple_vhost,status,setenv,trigger*,usertrack}.* - - # allow users to keep some based on USE flags - use pcre || rm -f ${libdir}/mod_{ssi,re{direct,write}}.* - use webdav || rm -f ${libdir}/mod_webdav.* - use mysql || rm -f ${libdir}/mod_mysql_vhost.* - use lua || rm -f ${libdir}/mod_{cml,magnet}.* - use rrdtool || rm -f ${libdir}/mod_rrdtool.* -} - -pkg_setup() { - if ! use pcre ; then - ewarn "It is highly recommended that you build ${PN}" - ewarn "with perl regular expressions support via USE=pcre." - ewarn "Otherwise you lose support for some core options such" - ewarn "as conditionals and modules such as mod_re{write,direct}" - ewarn "and mod_ssi." - fi - - enewgroup lighttpd - enewuser lighttpd -1 -1 /var/www/localhost/htdocs lighttpd -} - -src_prepare() { - base_src_prepare - #dev-python/docutils installs rst2html.py not rst2html - sed -i -e 's|\(rst2html\)|\1.py|g' doc/Makefile.am || \ - die "sed doc/Makefile.am failed" - epatch "${FILESDIR}"/${P}-detect-libev.patch - if use uploadprogress; then - epatch "${FILESDIR}"/${P}-mod_uploadprogress.patch - fi - eautoreconf -} - -src_configure() { - econf --libdir=/usr/$(get_libdir)/${PN} \ - --enable-lfs \ - $(use_enable ipv6) \ - $(use_with bzip2) \ - $(use_with fam) \ - $(use_with gdbm) \ - $(use_with ldap) \ - $(use_with libev) \ - $(use_with lua) \ - $(use_with memcache) \ - $(use_with mysql) \ - $(use_with pcre) \ - $(use_with ssl openssl) \ - $(use_with webdav webdav-props) \ - $(use_with webdav webdav-locks) \ - $(use_with xattr attr) -} - -src_compile() { - emake || die "emake failed" - - if use doc ; then - einfo "Building HTML documentation" - cd doc - emake html || die "failed to build HTML documentation" - fi -} - -src_test() { - if [[ ${EUID} -eq 0 ]]; then - default_src_test - else - ewarn "test skipped, please re-run as root if you wish to test ${PN}" - fi -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - - # init script stuff - newinitd "${FILESDIR}"/lighttpd.initd lighttpd || die - newconfd "${FILESDIR}"/lighttpd.confd lighttpd || die - use fam && has_version app-admin/fam && \ - sed -i 's/after famd/need famd/g' "${D}"/etc/init.d/lighttpd - - # configs - insinto /etc/lighttpd - doins "${FILESDIR}"/conf/lighttpd.conf - doins "${FILESDIR}"/conf/mime-types.conf - doins "${FILESDIR}"/conf/mod_cgi.conf - doins "${FILESDIR}"/conf/mod_fastcgi.conf - # Secure directory for fastcgi sockets - keepdir /var/run/lighttpd/ - fperms 0750 /var/run/lighttpd/ - fowners lighttpd:lighttpd /var/run/lighttpd/ - - # update lighttpd.conf directives based on conditionals - update_config - - # docs - dodoc AUTHORS README NEWS doc/scripts/*.sh - newdoc doc/config//lighttpd.conf lighttpd.conf.distrib - - use doc && dohtml -r doc/* - - docinto txt - dodoc doc/*.txt - - # logrotate - insinto /etc/logrotate.d - newins "${FILESDIR}"/lighttpd.logrotate lighttpd || die - - keepdir /var/l{ib,og}/lighttpd /var/www/localhost/htdocs - fowners lighttpd:lighttpd /var/l{ib,og}/lighttpd - fperms 0750 /var/l{ib,og}/lighttpd - - #spawn-fcgi may optionally be installed via www-servers/spawn-fcgi - rm -f "${D}"/usr/bin/spawn-fcgi "${D}"/usr/share/man/man1/spawn-fcgi.* - - use minimal && remove_non_essential -} - -pkg_postinst () { - if use ipv6; then - elog "IPv6 migration guide:" - elog "http://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config" - fi - if [[ -f ${ROOT}etc/conf.d/spawn-fcgi.conf ]] ; then - einfo "spawn-fcgi is now provided by www-servers/spawn-fcgi." - einfo "spawn-fcgi's init script configuration is now located" - einfo "at /etc/conf.d/spawn-fcgi." - fi - - if [[ -f ${ROOT}etc/lighttpd.conf ]] ; then - elog "Gentoo has a customized configuration," - elog "which is now located in /etc/lighttpd. Please migrate your" - elog "existing configuration." - fi - - if use uploadprogress; then - elog "WARNING! mod_uploadprogress is a backported module from the" - elog "1.5x-branch, which is not considered stable yet.Please go to" - elog "http://redmine.lighttpd.net/wiki/1/Docs:ModUploadProgress" - elog "for more information. This configuration also is NOT supported" - elog "by upstream, so please refrain from reporting bugs. You have" - elog "been warned!" - fi -}