From 3a96ab7e91145b367d05e98533b5f426f762f83f Mon Sep 17 00:00:00 2001 From: "Paul Buetow (mars.fritz.box)" Date: Sun, 15 Dec 2013 11:49:02 +0100 Subject: add packages --- yhttpd/COPYING | 338 ---- yhttpd/IMPORTANT.txt | 1 + yhttpd/INSTALL | 1 - yhttpd/Makefile | 90 -- yhttpd/README | 462 ------ yhttpd/RELEASES | 43 - yhttpd/SHORTDESC | 2 - ...THIS_IS_LEGACY_SOFTWARE_AND_MIGHT_BE_BROKEN.txt | 2 + yhttpd/VERSION | 1 - yhttpd/configure | 77 - yhttpd/desc/BRANCH_0_7 | 1 + yhttpd/desc/BRANCH_0_8 | 1 + yhttpd/etc/yhttpd.conf | 126 -- yhttpd/html/index.html | 27 - yhttpd/html/notfound.html | 12 - yhttpd/html/style.css | 48 - yhttpd/html/test.cgi | 9 - yhttpd/log/.keepme | 0 yhttpd/log/access_log | 41 - yhttpd/log/system_log | 114 -- yhttpd/scripts/README | 6 - yhttpd/scripts/astyle.sh | 14 - yhttpd/scripts/buildnr.pl | 26 - yhttpd/scripts/checkperl.sh | 13 - yhttpd/scripts/config.pl | 133 -- yhttpd/scripts/makedist.sh | 27 - yhttpd/scripts/modules/file.pm | 28 - yhttpd/scripts/screen.sh | 3 - yhttpd/scripts/setglobvals.pl | 32 - yhttpd/scripts/stats.pl | 95 -- yhttpd/scripts/version.sh | 11 - yhttpd/src/Makefile.in | 21 - yhttpd/src/cli/cli.cpp | 300 ---- yhttpd/src/cli/cli.h | 61 - yhttpd/src/conf/conf.cpp | 186 --- yhttpd/src/conf/conf.h | 29 - yhttpd/src/configure | 350 ----- yhttpd/src/contrib/README | 5 - yhttpd/src/contrib/xml/README | 504 ------ yhttpd/src/contrib/xml/tinyxml.cpp | 1428 ----------------- yhttpd/src/contrib/xml/tinyxml.h | 1630 -------------------- yhttpd/src/contrib/xml/tinyxmlerror.cpp | 51 - yhttpd/src/contrib/xml/tinyxmlparser.cpp | 1553 ------------------- yhttpd/src/glob.h | 198 --- yhttpd/src/html.cpp | 133 -- yhttpd/src/html.h | 38 - yhttpd/src/incl.h | 13 - yhttpd/src/logd.cpp | 175 --- yhttpd/src/logd.h | 37 - yhttpd/src/main.cpp | 101 -- yhttpd/src/maps/hashmap.h | 53 - yhttpd/src/maps/hashmap.tmpl | 126 -- yhttpd/src/maps/mtools.h | 11 - yhttpd/src/maps/mtools.tmpl | 12 - yhttpd/src/maps/nhashmap.h | 21 - yhttpd/src/maps/nhashmap.tmpl | 11 - yhttpd/src/maps/shashmap.h | 49 - yhttpd/src/maps/shashmap.tmpl | 157 -- yhttpd/src/monitor/dump.cpp | 109 -- yhttpd/src/monitor/dump.h | 62 - yhttpd/src/monitor/stats.cpp | 102 -- yhttpd/src/monitor/stats.h | 36 - yhttpd/src/msgs.h | 145 -- yhttpd/src/name.cpp | 49 - yhttpd/src/name.h | 24 - yhttpd/src/ncur/menu.cpp | 117 -- yhttpd/src/ncur/menu.h | 39 - yhttpd/src/ncur/ncur.cpp | 259 ---- yhttpd/src/ncur/ncur.h | 51 - yhttpd/src/reqp.cpp | 285 ---- yhttpd/src/reqp.h | 41 - yhttpd/src/sign.cpp | 54 - yhttpd/src/sign.h | 21 - yhttpd/src/sock/sock.cpp | 473 ------ yhttpd/src/sock/sock.h | 91 -- yhttpd/src/sock/sslsock.cpp | 141 -- yhttpd/src/sock/sslsock.h | 41 - yhttpd/src/thrd/pool.cpp | 157 -- yhttpd/src/thrd/pool.h | 55 - yhttpd/src/thrd/thro.cpp | 43 - yhttpd/src/thrd/thro.h | 30 - yhttpd/src/time/timo.cpp | 38 - yhttpd/src/time/timo.h | 22 - yhttpd/src/time/timr.cpp | 177 --- yhttpd/src/time/timr.h | 64 - yhttpd/src/tool/dir.cpp | 66 - yhttpd/src/tool/dir.h | 35 - yhttpd/src/tool/tool.cpp | 240 --- yhttpd/src/tool/tool.h | 29 - yhttpd/src/wrap.cpp | 121 -- yhttpd/src/wrap.h | 105 -- yhttpd/yhttpd-0.7.0.tar.bz2 | Bin 0 -> 192570 bytes yhttpd/yhttpd-0.7.1.tar.bz2 | Bin 0 -> 194129 bytes yhttpd/yhttpd-0.7.2.tar.bz2 | Bin 0 -> 70500 bytes 94 files changed, 5 insertions(+), 12354 deletions(-) delete mode 100644 yhttpd/COPYING create mode 100644 yhttpd/IMPORTANT.txt delete mode 100644 yhttpd/INSTALL delete mode 100644 yhttpd/Makefile delete mode 100644 yhttpd/README delete mode 100644 yhttpd/RELEASES delete mode 100644 yhttpd/SHORTDESC create mode 100644 yhttpd/THIS_IS_LEGACY_SOFTWARE_AND_MIGHT_BE_BROKEN.txt delete mode 100644 yhttpd/VERSION delete mode 100755 yhttpd/configure create mode 100644 yhttpd/desc/BRANCH_0_7 create mode 100644 yhttpd/desc/BRANCH_0_8 delete mode 100644 yhttpd/etc/yhttpd.conf delete mode 100644 yhttpd/html/index.html delete mode 100644 yhttpd/html/notfound.html delete mode 100644 yhttpd/html/style.css delete mode 100644 yhttpd/html/test.cgi delete mode 100644 yhttpd/log/.keepme delete mode 100644 yhttpd/log/access_log delete mode 100644 yhttpd/log/system_log delete mode 100644 yhttpd/scripts/README delete mode 100755 yhttpd/scripts/astyle.sh delete mode 100755 yhttpd/scripts/buildnr.pl delete mode 100755 yhttpd/scripts/checkperl.sh delete mode 100755 yhttpd/scripts/config.pl delete mode 100755 yhttpd/scripts/makedist.sh delete mode 100644 yhttpd/scripts/modules/file.pm delete mode 100755 yhttpd/scripts/screen.sh delete mode 100755 yhttpd/scripts/setglobvals.pl delete mode 100755 yhttpd/scripts/stats.pl delete mode 100755 yhttpd/scripts/version.sh delete mode 100644 yhttpd/src/Makefile.in delete mode 100644 yhttpd/src/cli/cli.cpp delete mode 100644 yhttpd/src/cli/cli.h delete mode 100644 yhttpd/src/conf/conf.cpp delete mode 100644 yhttpd/src/conf/conf.h delete mode 100755 yhttpd/src/configure delete mode 100644 yhttpd/src/contrib/README delete mode 100644 yhttpd/src/contrib/xml/README delete mode 100644 yhttpd/src/contrib/xml/tinyxml.cpp delete mode 100644 yhttpd/src/contrib/xml/tinyxml.h delete mode 100644 yhttpd/src/contrib/xml/tinyxmlerror.cpp delete mode 100644 yhttpd/src/contrib/xml/tinyxmlparser.cpp delete mode 100644 yhttpd/src/glob.h delete mode 100644 yhttpd/src/html.cpp delete mode 100644 yhttpd/src/html.h delete mode 100644 yhttpd/src/incl.h delete mode 100644 yhttpd/src/logd.cpp delete mode 100644 yhttpd/src/logd.h delete mode 100644 yhttpd/src/main.cpp delete mode 100644 yhttpd/src/maps/hashmap.h delete mode 100644 yhttpd/src/maps/hashmap.tmpl delete mode 100644 yhttpd/src/maps/mtools.h delete mode 100644 yhttpd/src/maps/mtools.tmpl delete mode 100644 yhttpd/src/maps/nhashmap.h delete mode 100644 yhttpd/src/maps/nhashmap.tmpl delete mode 100644 yhttpd/src/maps/shashmap.h delete mode 100644 yhttpd/src/maps/shashmap.tmpl delete mode 100644 yhttpd/src/monitor/dump.cpp delete mode 100644 yhttpd/src/monitor/dump.h delete mode 100644 yhttpd/src/monitor/stats.cpp delete mode 100644 yhttpd/src/monitor/stats.h delete mode 100644 yhttpd/src/msgs.h delete mode 100644 yhttpd/src/name.cpp delete mode 100644 yhttpd/src/name.h delete mode 100644 yhttpd/src/ncur/menu.cpp delete mode 100644 yhttpd/src/ncur/menu.h delete mode 100644 yhttpd/src/ncur/ncur.cpp delete mode 100644 yhttpd/src/ncur/ncur.h delete mode 100644 yhttpd/src/reqp.cpp delete mode 100644 yhttpd/src/reqp.h delete mode 100644 yhttpd/src/sign.cpp delete mode 100644 yhttpd/src/sign.h delete mode 100644 yhttpd/src/sock/sock.cpp delete mode 100644 yhttpd/src/sock/sock.h delete mode 100644 yhttpd/src/sock/sslsock.cpp delete mode 100644 yhttpd/src/sock/sslsock.h delete mode 100644 yhttpd/src/thrd/pool.cpp delete mode 100644 yhttpd/src/thrd/pool.h delete mode 100644 yhttpd/src/thrd/thro.cpp delete mode 100644 yhttpd/src/thrd/thro.h delete mode 100644 yhttpd/src/time/timo.cpp delete mode 100644 yhttpd/src/time/timo.h delete mode 100644 yhttpd/src/time/timr.cpp delete mode 100644 yhttpd/src/time/timr.h delete mode 100644 yhttpd/src/tool/dir.cpp delete mode 100644 yhttpd/src/tool/dir.h delete mode 100644 yhttpd/src/tool/tool.cpp delete mode 100644 yhttpd/src/tool/tool.h delete mode 100644 yhttpd/src/wrap.cpp delete mode 100644 yhttpd/src/wrap.h create mode 100644 yhttpd/yhttpd-0.7.0.tar.bz2 create mode 100644 yhttpd/yhttpd-0.7.1.tar.bz2 create mode 100644 yhttpd/yhttpd-0.7.2.tar.bz2 (limited to 'yhttpd') diff --git a/yhttpd/COPYING b/yhttpd/COPYING deleted file mode 100644 index 27058a5..0000000 --- a/yhttpd/COPYING +++ /dev/null @@ -1,338 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - Appendix: How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) 19yy - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) 19yy name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/yhttpd/IMPORTANT.txt b/yhttpd/IMPORTANT.txt new file mode 100644 index 0000000..b559b9a --- /dev/null +++ b/yhttpd/IMPORTANT.txt @@ -0,0 +1 @@ +Important notice: The development of the yhttpd has been stalled. There will be no further development on this project. This project always was a proof of concept only. For current programming projects please visit http://programming.buetow.org and enjoy :) diff --git a/yhttpd/INSTALL b/yhttpd/INSTALL deleted file mode 100644 index b112205..0000000 --- a/yhttpd/INSTALL +++ /dev/null @@ -1 +0,0 @@ -See the README file. diff --git a/yhttpd/Makefile b/yhttpd/Makefile deleted file mode 100644 index a33780f..0000000 --- a/yhttpd/Makefile +++ /dev/null @@ -1,90 +0,0 @@ -MAKE=`tail -n 1 make.version` -PREFIX=`grep "define PREFIX" src/glob.h | cut -d'"' -f2` -all: version base modules - @echo "Now edit the yhttpd.conf and run yhttpd!" - @echo "The config file is searched in the following order:" - @echo " ./yhttpd.conf " - @echo " ~/.yhttpd/yhttpd.conf " - @echo " ./etc/yhttpd.conf " - @echo " /etc/yhttpd.conf " - @echo " $(PREFIX)/etc/yhttpd.conf " - @echo If you want to help the yhttpd project please run gmake mail - @echo so that the developers receive an email about the platform - @echo being used. - @echo WARNING! This software is EXPERIMENTAL! -mail: - @echo "VERSION:" > mail.tmp - @${MAKE} version >> mail.tmp - @echo >> mail.tmp - @echo "UNAME:" >> mail.tmp - @uname -a >> mail.tmp - @echo >> mail.tmp - @echo "DATE:" >> mail.tmp - @date >> mail.tmp - @echo >> mail.tmp - @echo "COMPILER AND MAKE:" >> mail.tmp - @cat g++.version make.version >> mail.tmp - @cat mail.tmp | mail -s "Successfull build of yhttpd" successfullbuild@yChat.org - @rm -f mail.tmp -install: deinstall -uninstall: deinstall -deinstall: - @echo Install/deinstall is not supported! - @echo Start yhttpd with ./bin/yhttpd instead! - @exit 1 -modules: - @if test -d ./src/mods; then ${MAKE} -C ./src/mods; fi -clean_modules: - @if test -d ./src/mods; then ${MAKE} -C ./src/mods clean; fi -base: - @if test -f bin/yhttpd; then echo "Backing up old binary";if test -f bin/yhttpd.old; then rm -f bin/yhttpd.old; fi; mv bin/yhttpd bin/yhttpd.old; fi - @perl ./scripts/buildnr.pl - @perl ./scripts/setglobvals.pl - @${MAKE} -C ./src -clean_base: - @${MAKE} -C ./src clean -stats: - @perl scripts/stats.pl -run: - ./bin/yhttpd -base_start: base - ./bin/yhttpd -gpl: - @more COPYING -clean: clean_base clean_modules -help: - @echo "You may run ${MAKE} with the following parameters:" - @grep "^ ${MAKE} " README - @echo "For more questions read the README file or contact mail@yChat.org!" -setup: - @./configure - @${MAKE} -config: - @sh -c "scripts/config.sh" - @echo If you run ${MAKE} config from the command line then you may need - @echo to rerun ./configure and recompile all now! - -mrproper: clean - @if test -f src/glob.h.org; then mv -f src/glob.h.org src/glob.h;fi - @if test -f g++.version; then rm -f g++.version; fi - @if test -f make.version; then rm -f make.version; fi - @if test -f src/Makefile; then rm -f src/Makefile; fi - @if test -f bin/yhttpd; then find bin/ -name "*yhttpd*" | xargs rm -f; fi - @if test -d src/mods; then find src/mods/*/ -name Makefile | xargs rm -f; fi - @find . -name "*.add" | xargs rm -f - @ls | grep core | xargs rm -f -version: - @./scripts/version.sh -debug: - @gdb bin/yhttpd yhttpd.core -confdebug: - ./configure -g3 -ggdb -dist: - @./scripts/makedist.sh -ssltest: - openssl genrsa -des3 -out privkey.pem 2048 - openssl req -new -x509 -key privkey.pem -out cert.pem -days 1095 - @mv -f privkey.pem cert.pem etc - - - diff --git a/yhttpd/README b/yhttpd/README deleted file mode 100644 index 5fa183e..0000000 --- a/yhttpd/README +++ /dev/null @@ -1,462 +0,0 @@ -yhttpd; Homepage: www.yChat.org; Version 0.8-CURRENT - -Copyright (C) 2003 Paul C. Buetow, Volker Richter -Copyright (C) 2004 Paul C. Buetow -Copyright (C) 2005 EXA Digital Solutions GbR ------------------------------------------------------------------ -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ------------------------------------------------------------------ - -YHTTPD TABLE OF CONTENTS: - -1.0 GENERAL -1.1 ABOUT DEVELS -2.0 INSTALLATION AND SETUP -2.1 REQUIREMENTS -2.2 TESTED PLATFORMS -2.3 HOW TO OBTAIN YHTTPD -2.4 INSTALLATION QUICK-START -2.4 INSTALLATION -2.3 HOW TO USE OPENSSL WITH YHTTPD -2.3 HOW TO USE SCREEN WITH YHTTPD -2.3 HOW TO USE SIGNALS WITH YHTTPD -2.4 CONFIGURING YHTTPD -3.0 EXTENDING YHTTPD -3.1 SOURCE FILES -4.0 DIVERSE -4.1 WRITING BUG REPORTS -4.2 CONTACT ADDRESSES -4.3 CREDITS - -1.0 GENERAL - -1.1 ABOUT DEVELS - -There are several projects involved: - -- The chat - -Its a HTTP based chat server written in C++. Clients are normal web browsers -such as MSIE or Gecko based browsers using only CSS, HTML and JavaScript. - -- The httpd - -Its a small http server based on the chat's socket and threading engine. -yhttpd does not have as much features but is easy to use and faster than -apache. yhttpd is a subset of the chat. It can be generated using the -srcipts/yhttpdbase.pl script in the chat's source tree. - -- The ycurses - -ycurses is a easy to use and small C++ wrapper around the C ncurses API. - -There are different branches: - -- CURRENT - -The CURRENT branch is unstable, this is the bleeding developing edge with -all the new experimental features. - -A DEVEL of CURRENT can be referred as CURRENTDEVEL. - -- STABLE - -The STABLE branch is more stable than CURRENT. This branch may get new -features as well. But those will be more conservative compared to -CURRENT. - -A DEVEL of STABLE can be referred as STABLDEVEL. - -- LEGACY - -The LEGACY branch has no real support. This branch may get bugfixes and -updates and might get minor improvements. But there is no garuantee to -be bug free and stable at all. LEGACY versions are of historic meaning. - -- DEVEL - -DEVEL is only a meta name. If a version is labeled with DEVEL, then its -currently undefined if this is a CURRENT, STABLE or LEGACY branch. It -can be everything. Commonly DEVEL versions are CURRENT. - -There are also releases made: - -- DEVEL - -There can be DEVELs made out of each branch. While a branch can get -new features, a DEVEL can not. A DEVEL of a branch is just like -a snapshot. DEVELs are complete versions to test and use. But keep -in mind, that a DEVEL of the STABLE branch is recommended over a -DEVEL of a CURRENT or a LEGACY branch in a production environment. -DEVELs of CURRENT are still the bleeding edge and DEVELs of LEGACY -may be out of date. - -- Short names - - -In addition, each description also has short names: (short names are needed -if your text space is limited which happens very fast in IRC channel topics) - -CURRENT aka CUR aka C -DEVEL aka REL aka R -LEGACY aka LEG aka L -STABLE aka SBL aka S -DEVEL aka DEV aka D -PRE aka P - -STABLDEVEL aka STBREL aka SR -DEVEL aka PREREL aka PR -PRELEGACYDEVEL aka PRELEGREL aka PLR -etc... - -The short name of the chat is "yC" -The short name of the httpd is "yh" -The short name of ycurses is "yu" - -- Versioning - -In general, versions are made up like X.Y.Z.W. X specifies the major version, -Y specifies the branch of the major version, Z specifies a sub revision -of a specific branch. The optional W can be used to specify a maintenance -revision which only changes small issues. Version numbers can be also normal -alphabetic characters. Example: Version 0.7.A follows 0.7. Version 0.T.Y.2 -would be also valid. - -Therefore: The lowest value is 0, the highest possible value is Z. - - -2.0 INSTALLATION AND SETUP - -2.1 REQUIREMENTS: - -- GNU GCC G++ - The GNU C++ compiler version 3.1 or up. - -- GNU make 3.80 (gmake) or higher - If you dont have a gmake executable but make is gnu make then you need - to add a symlink or alias from gmake to make. - yhttpd Makefiles only have been tested with GNU make and may not work with - other make versions. - -- SGI STL extension - Includes ext/hash_map which may be already default on every Linux distro. - On *BSD you have to install it first before compiling. On FreeBSD - /usr/ports/devel/stlport is your friend. - -- OpenSSL - Includes libssl and the ssl header files of the open source SSL library. - OpenSSL is only needed if you chose to compile yhttpd w/OpenSSL support. - -- ncurses 5.x - Includes libncurses and the ncurses.h header files. - -- Screen - Only needed if yhttpd should run in background with - ncurses or CLI enabled. - -- Perl 5.x - Is needed for some scripts. Is not needed if you use precompiled binaries. - -2.1 TESTED PLATFORMS: - -The following platforms have been tested with success. If you find out that -a listed platform did not work at all please contact me: - - Operating system (arch) GNU G++ GNU make -- FreeBSD 5.4-DEVEL (i386) 3.4 3.80 -- FreeBSD 5.3-DEVEL (i386) 3.4 3.80 - - Tested longer time before: -- FreeBSD 5.2-DEVEL (i386) 3.3 3.80 -- FreeBSD 4.10-DEVEL (i386) 3.4 3.80 -- FreeBSD 4.9-DEVEL (i386) 3.3 3.80 -- Gentoo Linux 2004 (i386) 3.3 3.80 -- OpenBSD 3.6 SMP (i386) 3.3 3.80 -- Red Hat Linux 8.0 SMP (i386) 3.2-7 3.79 -- Slackware Linux 10.0 (i386) 3.4 3.80 -- SUSE Linux 9.0 (i386) 3.3 3.80 -- SUSE Linux 8.1 (i386) 3.2 3.79 - -Other platforms like Linux based systems, other BSD-Systems or UNICES -are very likely to work too. - -2.3 HOW TO OBTAIN YHTTPD: - -yhttpd can be downloaded as a source package or through CVS. - -The packages are located at http://www.yChat.org -> Sourcecode -> -Packages or go to http://pub.buetow.org/yhttpd/yhttpd . - -For CVS download type: - -cvs -d:pserver:anonymous@buetow.org:/usr/home/cvs/cvsroot login -( You will be asked for a password. Use "just enter" ). - -vs -z3 -d:pserver:anonymous@buetow.org:/usr/home/cvs/cvsroot co BRANCH -( The sources will be copied into your local folder ) - -cvs -d:pserver:anonymous@buetow.org:/usr/home/cvs/cvsroot logout -( Logs your CVS session out ). - -Now you may continue with the installation. - -here are different branches in the CVS: - -yhttpd: This is the latest CURRENT branch of yhttpd. -yhttpd-stable: This is the latest STABLE branch of yhttpd. -yhttpd-X.Y: This is the branch with the specified version prefix. -yhttpd: This is the latest CURRENT snapshot of yhttpd. - -The CURRENT branch of yhttpd is mostly untested and unstable, so don't -cry if you get errors. - -2.4 INSTALLATION QUICK START - -If you in hury, then you may just type gmake setup. In the yhttpd configurator -you may just choose all the default values. If done, yhttpd will get compiled -and is ready to run with ./bin/yhttpd! If you chose OpenSSL support, then -also run gmake ssltest before starting yhttpd. - -2.3 INSTALLATION - -Invoke "./configure". Afterwards you will get prompted with the before-compile -options of yhttpd. After choosing those options you are ready to type "gmake" -afterwards. See below what gmake is doing. - - -You may also invoke gmake with the following options (the PREFIX can be set -in the yhttpd configurator which will be launched by the top configure script -or gmake config): - - gmake or gmake all (compiles everything, also modules and runs "gmake mail") - gmake base (only compiles the base) - gmake base_start (only compiles the base and starts the server) - gmake clean (cleans everything) - gmake clean_base (only cleans the base obj and rpo files) - gmake clean_modules (only cleans the modules .so files) - gmake confdebug (runs ./configure with enabling debugging) - gmake config (runs yhttpd configurator) - gmake debug (runs gdb on ./yhttpd.core) - gmake dist (creates a .tar.bz2 ball) - gmake gpl (shows the GNU General Public License) - gmake help (shows all available yhttpd gmake targets) - gmake mail (sends a mail to the yhttpd developers containing build opts.) - gmake modules (only compiles modules) - gmake mrproper (same as gmake clean plus removing all temp files) - gmake setup (runs all configure scripts and afterwards gmake all) - gmake stats (generates yhttpd statistics) - gmake ssltest (generates a self signed ssl test certificate) - gmake version (shows the current version of yhttpd) - -Example: "gmake all install clean" compiles everything, installs it to PREFIX -and cleans the source directories. - -Now its time to run the server with ./bin/yhttpd. - -Aferwards point your webbrowser to http://yourip:port ! - -... have fun :-). - -2.3 HOW TO USE OPENSSL WITH YHTTPD - -If you chose to use OpenSSL support you have to have a valid SSL private and -public key. If you are in hurry, use the gmake ssltest command from the top -source tree directory and follow the instructions. Otherwise type the -following commands manually: - -The private key can be created w/the following command: - - openssl genrsa -des3 -out privkey.pem 2048 - -Afterwards, you can create a self-signed test certificate using the following -command: - - openssl req -new -x509 -key privkey.pem -out cert.pem -days 1095 - -Be sure to move the privkey.pem and cert.pem files into the ./etc directory -or edit the path names in the ./etc/yhttpd.conf file. yhttpd wont start if there -are no valid files found. - -To learn more about SSL certificates, visit http://www.openssl.org/docs/HOWTO/. - -Now use https:// and NOT http:// to connect to the yhttpd server. - - -2.3 HOW TO USE SCREEN WITH YHTTPD: - -If you are running yhttpd in ncurses mode you might want to install -the tool which is called "screen". This will enable you putting the -ncurses interface into the background, closing the terminal session -and reusing the interface later through another terminal. - -Just do: - - screen -S yhttpd ./bin/yhttpd ( creates a new session and starts yhttpd in it ) - ctrl+d+a ( will detach the yhttpd session ) - ( closing the terminal ) - ( opening a new terminal ) - screen -r yhttpd ( will return you to the yhttpd process ) - -Screen will terminate automaticaly if all processes in its sessions are -terminated. - -For a closer look read the screen manual page ( man screen ). - -2.3 HOW TO USE SIGNALS WITH YHTTPD: - -You can send UNIX signals to yhttpd. This becomes very interesting if you -don't use the command line interface or the ncurses interface and you -don't have access to the options below. - -Run one of the following commands to send the signal you want: -($PID is here the process id of the current yhttpd process) - -kill -USR1 $PID # yhttpd clears the HTML template cache -kill -HUP $PID # yhttpd will shutdown savely - -2.4 CONFIGURING YHTTPD: - -If you like to customize the design/layout/language of yhttpd, you will have -to edit src/msgs.h and src/glob.h before you compile the sources. Afterwards -you can change the html-template files which are placed in the html/ -subdirectory and the language-templates which are placed in the XML config -file (etc/yhttpd.conf). - -Notice, that you dont have to edit the src/glob.h file by hand any more, its -already done by the top ./configure script for you. - -You can edit the etc/yhttpd.conf to fit your needs. If you dont want to change -the config file, then you also can use yhttpd start parameters. - -Exmpl: ./bin/yhttpd -o chat.database.password secretpassword - -You can also use multiple words for a specific option. - -Exmpl: ./bin/yhttpd -o yhttpd.version "word1 word2 word3" - -will overwrite the default database password value of the yhttpd.conf. You can -do this with every configuration element by adding several -o option value -arguments to the start command. - -Dynamic loadable modules can be found in the mods/ subdirectory. (chat -commands are realized through modules too). Sources of modules can be found -in src/mods instead. If you want to create a new module just create a new -.cpp file and run in src/mods the ./configure script again. Next time -you run gmake your new module gets compiled. - -All messages defined in the msgs.h file contain server messages only ( a chat -user never wont read them, only the administrator will get to see them ). - -Read also section 3.0 of this README. - - -3.0 EXTENDING YHTTPD - -3.1 SOURCE FILES - -This list is not complete. Only the most important files are listed here! - -etc/yhttpd.conf - The yhttpd configuration file -html/* - The html template files -src/* - The yhttpd base sources -src/mods/* - The dynamic loadable modules sources -scripts/* - Some nice scripts needed for building & co. - -The following is created by building yhttpd: -obj/* - The object files of the compiled yhttpd base -mods/* - The compiled dynamic loadable modules -bin/yhttpd - The yhttpd binary (linked by the object files) - -Customizable source files (if changed you need to run gmake clean all) -src/glob.h - Contains some global building options -src/msgs.h - Defines some server side messages - - -4.0 DIVERSE - -4.1 WRITING BUG REPORTS - -How to submit a good bug report? - -Send them to Mail at yhttpd dot org. - -First you should give the following information: -- yhttpd version, if CVS (or devel. tarball) then which day? -- operating system / distribution and it's version -- when did it crash? did you do something? can you reproduce the crash? - -Getting backtrace of the crash also helps a lot, especially if yhttpd crashes -randomly. If after crash you see text: - - "segmentation fault (core dumped)" - -It writes a file named "core" or "yhttpd.core" depending on your OS to directory -where you started yhttpd. If it doesn't print the "(core dumped)" or you can't -find the core file, you'll have to raise the limit for max. core file size -before running yhttpd. To do this, say: - - ulimit -c unlimited - -So, if you have the core file and GNU debugger (gdb), you can get the -backtrace with: - - gdb ./bin/yhttpd yhttpd.core - bt - -Paste all the lines starting from line having #0 at the beginning. - -Here's an example session: - - in reqp::parse(thrd*, std::string, std::map, std::allocator > >&) () - (gdb) bt - #0 0x0805c287 in reqp::parse(thrd*, std::string, std::map, std::allocator > >&) () - #1 0x0806060f in sock::read_write(thrd*, int) () - #2 0x080612ba in thrd::run() () - #3 0x0805a3b8 in pool::run_func(void*) () - #4 0x0805a375 in pool::tpool_thread(void*) () - #5 0x281d44ae in _thread_start () from /usr/lib/libc_r.so.5 - (gdb) - -If you dont get such a gdb output, you need to recompile the yhttpd using -debuggig symbols. You can do it this way: - -gmake clean confdebug all run - -4.2 CONTACT ADDRESSES - -You may contact us through the following addresses: - -- Homepage - The yhttpd homepage is located at http://www.yChat.org - The EXA Digital Solutions homepage is located at http://www.exa-ds.com - -- E-Mail - Paul C. Buetow: buetow at yhttpd point org ( core developer ) - Mail at yhttpd dot org ( reaches everybody of yhttpd ) - -- ICQ - Paul C. Buetow: 11655527 - -- IRC - #Ychat and #Coding at irc.german-elite.net - -- EXA Digital Solutions GbR - Laubenstr. 16b - D-44866 Bochum - Germany - -4.2 CREDITS - -Thanks to the following persons. Without them yhttpd would not be like today: - -- Volker Richter of EXA Digital Solutions GbR - for adding initial MySQL support and lots of more code. - -- Joshua Teitelbaum of CryptpMail.org for adding - initial OpenSSL support and lots of security patches in the HTTP header - handling. diff --git a/yhttpd/RELEASES b/yhttpd/RELEASES deleted file mode 100644 index 4096d8e..0000000 --- a/yhttpd/RELEASES +++ /dev/null @@ -1,43 +0,0 @@ -Release table - -Release date Release name and version Release focus - -Planing: yhttpd 0.7.9.5-STABLERELEASE Maintenance -Planing: ycurses 0.1-RELEASE________ Initial release -Planing: yhttpd 0.8-RELEASE_________ Features -Planing: yhttpd 0.9.0-RELEASE________ Major rewrite -Planing: yhttpd 0.8.3-RELEASE________ Not yet defined - -Aug 04th 05: yhttpd 0.8.2-RELEASE Minor enhancements -May 26th 05: yhttpd 0.7.9.4-STABLERELEASE Minor bugfixes -Jun 21st 05: yhttpd 0.8.1-RELEASE Major features -May 25th 05: yhttpd 0.8.0-RELEASE Major features -May 08th 05: yhttpd 0.7.9.3-STABLERELEASE Security bugfixes -Apr 11th 05: yhttpd 0.5.5-STABLERELEASE__ Minor security fixes -Apr 10th 05: yhttpd 0.7.9.2-RELEASE______ Major security fixes -Apr 07th 05: yhttpd 0.7.9.1-RELEASE______ Minor bugfixes -Mar 11th 05: yhttpd 0.7.9-RELEASE________ -Mar 08th 05: yhttpd 0.5.4-STABLERELEASE__ -Mar 05th 05 yhttpd 0.7.8-RELEASE________ -Mar 02th 05 yhttpd 0.5.3-LEGACYRELEASE__ -Feb 27th 05 yhttpd 0.5.2-LEGACYRELEASE__ -Feb 24th 05 yhttpd 0.7.7.1-RELEASE______ Major bugfixes -Feb 21th 05 yhttpd 0.7.7-RELEASE________ -Feb 18th 05 yhttpd 0.7.6-RELEASE________ -Feb 15th 05 yhttpd 0.7.5-RELEASE________ -Feb 14th 05 yhttpd 0.7.4.1-RELEASE______ Major bugfixes -Feb 12th 05 yhttpd 0.7.4-RELEASE________ -Feb 10th 05 yhttpd 0.7.4-PRERELEASE_____ -Dec 29th 04 yhttpd 0.7.3-RELEASE________ -Nov 09th 04 yhttpd 0.7.2-RELEASE________ -Nov 06th 04 yhttpd 0.7.1-RELEASE_______ -Nov 06th 04 yhttpd 0.7.1-RELEASE________ -Nov 01st 04 yhttpd 0.7-RELEASE_________ Initial release -Oct 31st 04 yhttpd 0.7-RELEASE__________ -Jan 03rd 04 yhttpd 0.5.1-RELEASE________ -Sep 15th 03 yhttpd 0.6-RELEASE__________ -Sep 15th 03 yhttpd 0.5.0-RELEASE________ -Apr 26th 03 yhttpd 0.4-RELEASE__________ -Mar 30th 03 yhttpd 0.3-RELEASE__________ -Mar 24th 03 yhttpd 0.2-RELEASE__________ -Mar 20th 03 yhttpd 0.1-RELEASE__________ Initial release diff --git a/yhttpd/SHORTDESC b/yhttpd/SHORTDESC deleted file mode 100644 index f16c9de..0000000 --- a/yhttpd/SHORTDESC +++ /dev/null @@ -1,2 +0,0 @@ -The yhttpd 0.8 branch is marked as CURRENT. All brand new stuff will go into -this branch. diff --git a/yhttpd/THIS_IS_LEGACY_SOFTWARE_AND_MIGHT_BE_BROKEN.txt b/yhttpd/THIS_IS_LEGACY_SOFTWARE_AND_MIGHT_BE_BROKEN.txt new file mode 100644 index 0000000..ab645fa --- /dev/null +++ b/yhttpd/THIS_IS_LEGACY_SOFTWARE_AND_MIGHT_BE_BROKEN.txt @@ -0,0 +1,2 @@ +This is legacy software and might be broken +Please go to http://dev.buetow.org diff --git a/yhttpd/VERSION b/yhttpd/VERSION deleted file mode 100644 index 691d30f..0000000 --- a/yhttpd/VERSION +++ /dev/null @@ -1 +0,0 @@ -yhttpd 0.8.3-CURRENT Build 4003 diff --git a/yhttpd/configure b/yhttpd/configure deleted file mode 100755 index 9aab971..0000000 --- a/yhttpd/configure +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -if ! ./scripts/checkperl.sh -then - exit 1 -fi - -perl -e ' - use strict; - $|=1; - sub check_gcc { - my $f = shift; - my $s = shift; - my $r = 0; - print "Checking for GNU G++ $f.$s\n"; - if ( `g++ -v 2> g++.version && tail -n 1 g++.version` =~ / $f\.$s/ ) { - `echo $f.$s >> g++.version`; - `echo g++ >> g++.version`; - $r = 1; - } else { - if (`g++$f$s -v 2> g++.version && tail -n 1 g++.version` =~ / $f\.$s/) { - `echo $f.$s >> g++.version`; - `echo g++$f$s >> g++.version`; - $r = 1; - } - } - print "No " if $r == 0; - print "GNU G++ $f.$s found!\n"; - return $r; - } - sub check_make { - print "Checking for GNU make\n"; - my $err = "No GNU make found.\nPlease install a version of GNU make!\n"; - my $make; - if (`which gmake`) { - $make = "gmake"; - } elsif ( `which make` ) { - $make = "make"; - } else { - print $err; - exit(1); - } - - `sh -c "$make -v > make.version 2>/dev/null"`; - if ( `cat make.version` =~ /GNU Make/ ) { - `echo $make >> make.version`; - } else { - print $err; - exit(1); - } - } - &check_make; - print "Checking compiler version\n"; - my $r = 0; - for (my $i = 4; $i > 0 && $r == 0; --$i ) { - $r = &check_gcc(3,$i); - } - if ($r == 0) { - print "No suitable g++ compiler found!\n"; - print "Please install a right version of GNU G++!\n"; - exit(1); - } - - system("perl \"scripts/config.pl\""); - chdir("src"); - system("./configure ".join(" ", @ARGV)); - chdir(".."); - - exit(0); -' `echo "$*" | sed "s/-//g"` - -if test -f err -then - rm -f err -else - echo You are ready to type gmake now! -fi diff --git a/yhttpd/desc/BRANCH_0_7 b/yhttpd/desc/BRANCH_0_7 new file mode 100644 index 0000000..6833df3 --- /dev/null +++ b/yhttpd/desc/BRANCH_0_7 @@ -0,0 +1 @@ +STABLE diff --git a/yhttpd/desc/BRANCH_0_8 b/yhttpd/desc/BRANCH_0_8 new file mode 100644 index 0000000..81785e9 --- /dev/null +++ b/yhttpd/desc/BRANCH_0_8 @@ -0,0 +1 @@ +CURRENT diff --git a/yhttpd/etc/yhttpd.conf b/yhttpd/etc/yhttpd.conf deleted file mode 100644 index 690f82d..0000000 --- a/yhttpd/etc/yhttpd.conf +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/yhttpd/html/index.html b/yhttpd/html/index.html deleted file mode 100644 index 66dca39..0000000 --- a/yhttpd/html/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - %%yhttpd.version%% - - - - - - - - - - - - - - -
%%yhttpd.version%%

%%INFO%%
 
-This is the demo website provided by yhttpd :-) -
-

-
yhttpd is OpenSource - get it at http://www.yChat.org
- - diff --git a/yhttpd/html/notfound.html b/yhttpd/html/notfound.html deleted file mode 100644 index a14d44b..0000000 --- a/yhttpd/html/notfound.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - %%HTML_TITLE_TAG_CONTENT%% - - - - Page not found. - - diff --git a/yhttpd/html/style.css b/yhttpd/html/style.css deleted file mode 100644 index 4b6d9ca..0000000 --- a/yhttpd/html/style.css +++ /dev/null @@ -1,48 +0,0 @@ -body, div { - font-family: Verdana, Helvetica, sans-serif; - background-color: #000000; - color: #FFFFEF; - font-size: 11pt; -} - -input { - color: #000000; - font-family: Verdana, Helvetica, sans-serif; - text-decoration: none; - font-size: 9pt; - padding: 2px; -} - -input.text { - background-color: #FFFFEF; -} - -.fancy { - font-family: Verdana, Helvetica, sans-serif; - font-size: 9pt; - color: #FFFFEF; - padding: 2px; -} - -a:hover.fancy { - text-decoration: none; - color: #FFFFEF; - background-color: #000000; -} - -h1 { - background-color: #ffa500; - border: solid #000000 1px; - font-size: 20pt; - padding: 13px; - font-width: bold; -} - -body.stream { - background-color: #323232; -} - -.signature { - color: #AAAAAA; - font-size: 9pt; -} diff --git a/yhttpd/html/test.cgi b/yhttpd/html/test.cgi deleted file mode 100644 index 12b7f75..0000000 --- a/yhttpd/html/test.cgi +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/perl -w - -use strict; - -print "\n"; -print "Hello World!\n"; -print "\n"; - - diff --git a/yhttpd/log/.keepme b/yhttpd/log/.keepme deleted file mode 100644 index e69de29..0000000 diff --git a/yhttpd/log/access_log b/yhttpd/log/access_log deleted file mode 100644 index aa9a3e2..0000000 --- a/yhttpd/log/access_log +++ /dev/null @@ -1,41 +0,0 @@ -127.0.0.1 - - [04/Aug/2005:00:50:17 +0000] "GET / HTTP/1.1" 200 0 "index.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:17 +0000] "GET /style.css HTTP/1.1" 200 0 "style.css" "" -127.0.0.1 - - [04/Aug/2005:00:50:21 +0000] "POST /frameset.html HTTP/1.1" 200 0 "frameset.html" "Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050722 Epiphany/1.6.4" -127.0.0.1 - - [04/Aug/2005:00:50:21 +0000] "GET /input.html?event=input&tmpid=0n81ffo3r9a_2.p_f0b81eer8py4idfoxAZ2HCXcvWcjChcXeShR1 HTTP/1.1" 200 0 "input.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:21 +0000] "GET /online.html?event=online&tmpid=0n81ffo3r9a_2.p_f0b81eer8py4idfoxAZ2HCXcvWcjChcXeShR1 HTTP/1.1" 200 0 "online.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:21 +0000] "GET /blank.html HTTP/1.1" 200 0 "blank.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:21 +0000] "GET /style.css HTTP/1.1" 200 0 "style.css" "" -127.0.0.1 - - [04/Aug/2005:00:50:22 +0000] "GET /style.css HTTP/1.1" 200 0 "style.css" "" -127.0.0.1 - - [04/Aug/2005:00:50:24 +0000] "GET /input.html?message=sdfsdf&scroll=on&event=input&tmpid=0n81ffo3r9a_2.p_f0b81eer8py4idfoxAZ2HCXcvWcjChcXeShR1 HTTP/1.1" 200 0 "input.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:24 +0000] "GET /style.css HTTP/1.1" 200 0 "style.css" "" -127.0.0.1 - - [04/Aug/2005:00:50:24 +0000] "GET /input.html?message=fds&scroll=on&event=input&tmpid=0n81ffo3r9a_2.p_f0b81eer8py4idfoxAZ2HCXcvWcjChcXeShR1 HTTP/1.1" 200 0 "input.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:24 +0000] "GET /style.css HTTP/1.1" 200 0 "style.css" "" -127.0.0.1 - - [04/Aug/2005:00:50:24 +0000] "GET /input.html?message=sdf&scroll=on&event=input&tmpid=0n81ffo3r9a_2.p_f0b81eer8py4idfoxAZ2HCXcvWcjChcXeShR1 HTTP/1.1" 200 0 "input.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:24 +0000] "GET /style.css HTTP/1.1" 200 0 "style.css" "" -127.0.0.1 - - [04/Aug/2005:00:50:25 +0000] "GET /input.html?message=fsd&scroll=on&event=input&tmpid=0n81ffo3r9a_2.p_f0b81eer8py4idfoxAZ2HCXcvWcjChcXeShR1 HTTP/1.1" 200 0 "input.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:25 +0000] "GET /style.css HTTP/1.1" 200 0 "style.css" "" -127.0.0.1 - - [04/Aug/2005:00:50:30 +0000] "GET /input.html?event=input&tmpid=0n81ffo3r9a_2.p_f0b81eer8py4idfoxAZ2HCXcvWcjChcXeShR1&message=%2Fq HTTP/1.1" 200 0 "input.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:30 +0000] "GET /stream.html?event=stream&tmpid=0n81ffo3r9a_2.p_f0b81eer8py4idfoxAZ2HCXcvWcjChcXeShR1 HTTP/1.1" 200 0 "stream.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:30 +0000] "GET /style.css HTTP/1.1" 200 0 "style.css" "" -127.0.0.1 - - [04/Aug/2005:00:50:30 +0000] "GET /index.html HTTP/1.1" 200 0 "index.html" "" -127.0.0.1 - - [04/Aug/2005:00:50:30 +0000] "GET /style.css HTTP/1.1" 200 0 "style.css" "" -127.0.0.1 - - [04/Aug/2005:00:51:02 +0000] "POST /frameset.html HTTP/1.1" 200 0 "frameset.html" "Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050722 Epiphany/1.6.4" -127.0.0.1 - - [04/Aug/2005:00:51:02 +0000] "GET /online.html?event