dwww-1.12.1/0000755000000000000000000000000012265062111007446 5ustar dwww-1.12.1/BUGS0000644000000000000000000000015512265062111010132 0ustar Problem on ntp web page Create man pages, docs on how to create menus Make perl replace thing more efficient dwww-1.12.1/COPYING0000644000000000000000000004310512265062111010504 0ustar GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 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 these conditions, and telling the user how to view a copy of this 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 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) 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 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) year 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. dwww-1.12.1/Makefile0000644000000000000000000000043312265062111011106 0ustar # vim:ts=2 # Makefile for dwww. # ALL_TARGET := SUBDIRS := data man perl scripts src include ./common.mk docfiles := README TODO install-local: $(call install,$(docdir),$(docfiles)) $(call install,$(libdir)) $(call install,$(webdocrootdir)) $(call install,$(cachedir)) dwww-1.12.1/README0000644000000000000000000000233612265062111010332 0ustar README for dwww ``To boldly go where no doc has gone before'' --------------------------------------------------------------------------- dwww is a web interface to all on-line documentation on a Debian system. It builds some web pages that list all installed documents, and converts all documents to HTML. The conversion is done when the user requests the document. dwww requires running a web server with CGI support (i.e. apache, boa, roxen, wn, etc., but NOT dhttpd or fnord.) Sorry. For more information, read the manual page dwww(7), and the other manual pages it refers to. Automatic fancy index of documents -------------------------------------- Debian now has a "doc-base" package that provides a uniform way of registering documentation; it supports other documentation systems besides dwww. Please read install-docs(8) for further reference. _ _ | | dwww is still under development! |_ _| dwww is already quite usable, however. Please use it, and report bugs via the Debian bug tracking system so that they can be fixed. vim:ts=4:et:ai dwww-1.12.1/TODO0000644000000000000000000000243712265062111010144 0ustar Things to do to dwww ==================== Improve Navigation - Navigation bar Faster - searching should be much faster More MIME Types - postscript, PDF, etc., etc. - separate config file More Data - bug-reports - mailing list archives - links to FAQs, HOWTOs - index of packages - ordered by - distribution category - menu placement - available packages ie. /var/lib/dpkg/available - control files and scripts ie. /var/lib/dpkg/info - ability to view documentation for non-installed packages - Debian specific information - newbie guide - FAQ, Installation Guide, Unix tutorial - System administration interface (probably in another package) - better documentation for system programmers - Perl, Java, Python, shells, libc, lisp, etc. - "smart" search engine Improve Looks - different look based on keyword "Mozilla" in User-Agent string - configurable background colour - configurable lightweight graphics Multiple Language Support - man pages for German, Spanish, French, Italian Known Bugs (please submit bugs for these if they are causing you problems) - 'dwww gnus' doesn't pull up index to info file --- Comments? Ideas? Send a wishlist bug to Debian Bug Tracking System (http://bugs.debian.org) dwww-1.12.1/common.mk0000644000000000000000000002136412265062111011275 0ustar # vim:ts=2:et # common includes for dwww # getCurrentMakefileName := $(CURDIR)/$(lastword $(MAKEFILE_LIST)) override TOPDIR := $(dir $(call getCurrentMakefileName)) override PACKAGE := dwww PATH := /usr/bin:/usr/sbin:/bin:/sbin:$(PATH) # build abstraction install_file := install -p -o root -g root -m 644 install_script := install -p -o root -g root -m 755 install_dir := install -d -o root -g root -m 755 install_link := ln -sf compress := gzip -9f prefix := /usr etcdir := /etc bindir := $(prefix)/bin sbindir := $(prefix)/sbin mandir := $(prefix)/share/man sharedir := $(prefix)/share pkgsharedir := $(prefix)/share/$(PACKAGE) perllibdir := $(prefix)/share/perl5 docdir := $(prefix)/share/doc/$(PACKAGE) libdir := /var/lib/$(PACKAGE) nlsdir := $(prefix)/share/locale cachedir := /var/cache/$(PACKAGE) webdocrootdir := /var/www webcgidir := $(prefix)/lib/cgi-bin applicationsdir := $(prefix)/share/applications PERL = /usr/bin/perl ifndef COMPILER_FLAGS_ALREADY_SET export CC ?= gcc export CPPFLAGS += -DVERSION='"$(VERSION)"' export CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g $(shell getconf LFS_CFLAGS) export LDFLAGS += export LIBS += -lpub export COMPILER_FLAGS_ALREADY_SET := 1 endif # determine our version number ifndef VERSION CHANGELOGFILE := $(TOPDIR)/debian/changelog VERSION := $(shell LC_ALL=C dpkg-parsechangelog -l$(CHANGELOGFILE) \ | sed -ne 's/^Version: *//p') ### DATE := $(shell LC_ALL=C dpkg-parsechangelog -l$(CHANGELOGFILE) \ ### | sed -n 's/^Date: *//p') ### # pretty-print the date; I wish this was dynamic like the top-level makefile but oh well ### DATE_EN := $(shell LC_ALL=C date --date="$(DATE)" '+%d %B, %Y') export VERSION DATE DATE_EN ifndef DISTIBUTOR ifneq (,$(findstring ubuntu,$(VERSION))) DISTRIBUTOR := Ubuntu else DISTRIBUTOR := `lsb_release -is` endif endif ifneq (Ubuntu,$(DISTRIBUTOR)) DISTRIBUTOR := Debian endif distributor := $(shell echo $(DISTRIBUTOR) | tr "[:upper:]" "[:lower:]") export DISTRIBUTOR distributor unexport CDPATH ifdef DESTDIR ifneq ($(DESTDIR),$(abspath $(DESTDIR))) $(error DESTDIR "$(DESTDIR)" is not an absolute path) endif override ddirshort := [DESTDIR] export ddirshort endif endif sdir := $(CURDIR) ifndef bdir ifneq (,$(ALL_TARGET)) bdir := _build else bdir := endif endif ifndef DIR DIR := . endif XGETTEXT_COMMON_OPTIONS := --msgid-bugs-address $(PACKAGE)@packages.debian.org \ --package-name $(PACKAGE) \ --package-version $(VERSION) \ --copyright-holder='Robert Luberda ' ifndef MAKE_VERBOSE MAKEFLAGS += --no-print-directory AT := @ else AT := endif #SHELL:=/bin/echo # install(dir,files,mode=compress|script|notdir) define install $(AT) set -e; \ tgt="$1"; dir="$1"; files="$2"; prg="$(install_file)"; \ doCompress=0; bfile=""; what="file "; \ set -- $3; \ while [ "$$1" ] ; do \ if [ "$$1" = "notdir" ] ; then \ dir="`dirname "$$dir"`"; \ bfile="`basename "$$tgt"`"; \ elif [ "$$1" = "compress" ] ; then \ doCompress=1; \ elif [ "$$1" = "script" ] ; then \ prg="$(install_script)"; \ what="script"; \ else \ echo "Unknown parameter for install $$files: $$1" >&2; \ exit 1; \ fi; \ shift; \ done; \ [ -n "$$files" ] || \ echo "installing dir $(ddirshort)$$dir"; \ $(install_dir) "$(DESTDIR)/$$dir"; \ for file in $$files; do \ [ -n "$$bfile" ] && tgt="$$dir/$$bfile" || \ tgt="$$dir/`basename "$$file"`"; \ echo "installing $$what $(ddirshort)$$tgt"; \ $$prg "$$file" "$(DESTDIR)/$$tgt"; \ if [ "$$doCompress" -eq 1 ] ; then \ echo "compressing file $(ddirshort)$$tgt"; \ $(compress) "$(DESTDIR)/$$tgt"; \ fi; \ done; endef # install(link_target,files) define install_links $(AT) set -e; \ for file in $2; do \ echo "installing link $(ddirshort)$$file"; \ $(install_dir) $(DESTDIR)/`dirname "$$file"`; \ rm -f "$(DESTDIR)/$$file"; \ $(install_link) "$1" "$(DESTDIR)/$$file"; \ done; endef define pochanged $(AT) set -e; \ [ ! -e $(1) ] && rename=1 || rename=0 ; \ if [ $$rename = 0 ] ; then \ diff -q -I'POT-Creation-Date:' -I'PO-Revision-Date:' $(1) $(2) >/dev/null \ || rename=1; \ fi; \ [ $$rename = 1 ] && mv -f $(2) $(1) || rm -f $(2); \ touch $(1) endef define recurse $(AT) set -e; \ for dir in $(SUBDIRS); do \ $(MAKE) -C "$$dir" DIR="$(DIR)/$$dir" $(1); \ done endef define podtoman $(AT) set -e; \ find $(1) -type f -name '*.pod' -path '*/man*' \ | while read file; do \ sed -ne '1i=encoding utf8\n' -e '/^=head1/,$$p' < $$file \ | pod2man --utf8 --section=8 --center="Debian" \ --release="$(PACKAGE) v$(VERSION)" \ --date="$(DATE_EN)" \ --name="INSTALL-DOCS" \ > `dirname $$file`/`basename $$file .pod`; \ done endef all: $(ALL_TARGET) | $(bdir) $(call recurse,$@) clean-local: install-local: $(ALL_TARGET) clean: clean-local @ test -z "$(bdir)" || echo "removing $(CURDIR)/$(bdir)" $(AT) test -z "$(bdir)" || rm -rf $(bdir) $(call recurse,$@) install: install-local $(call recurse,$@) $(AFTER_INSTALL) $(bdir): $(AT) test -z "$(bdir)" || mkdir -p $(bdir) $(bdir)/%: %.in | $(bdir) $(MAKEFILE_LIST) # try to be compatible with the both sarge and sid versions of make $(AT) echo "creating $(CURDIR)/$@" $(AT) PERL5LIB="$(TOPDIR)/perl" $(PERL) -e \ 'exec ("'$(PERL)'", "-e", join("",@ARGV)) if $$#ARGV >-1; '\ ' $$|=1; '\ ' use Debian::Dwww::ConfigFile; '\ ' $$d=ReadConfigFile("/dev/null"); '\ ' $$v=""; '\ ' foreach $$k (sort keys %{$$d}) { '\ ' $$v.="\t$$k=\"$$d->{$$k}->{defval}\"\n" '\ ' if $$k !~ /(TITLE)$$/; '\ ' } '\ ' while (<>) { '\ ' s/#VERSION#/$(VERSION)/g; '\ ' s/#DISTRIBUTOR#/$(DISTRIBUTOR)/g; '\ ' s/#distributor#/$(distributor)/g; '\ ' s/^.*#DWWWVARS#.*$$/$$v/g; '\ ' print; '\ ' } '\ < $< > $@ $(AT) touch -r $< $@ # debug print-%: $(AT) echo "$* is >>$($*)<<" ifdef SHOW_DEPS OLD_SHELL := $(SHELL) SHELL = $(warning [$@ ($^) \ ($?)])$(OLD_SHELL) endif .PHONY: all clean install $(ALL_TARGET) clean-local install-local .DEFAULT: all dwww-1.12.1/data/0000755000000000000000000000000012265062111010357 5ustar dwww-1.12.1/data/Makefile0000644000000000000000000000071412265062111012021 0ustar # vim:ts=2 # Makefile for dwww. # ALL_TARGET := all-local SUBDIRS := img mozilla templates include ../common.mk generated := $(bdir)/dwww.css templatefiles := $(sort $(wildcard mozilla-dwww.*) swish++.conf $(generated)) all-local: $(generated) | $(bdir) install-local: $(call install,$(pkgsharedir),$(templatefiles)) $(call install,$(etcdir)/apache2/conf-available/dwww.conf,apache.conf,notdir) $(call install,$(applicationsdir),dwww.desktop) dwww-1.12.1/data/apache.conf0000644000000000000000000000077212265062111012455 0ustar # Dwww configuration file for apache 2.4 or later Alias /dwww /var/www/dwww Require local # Require ip 192.0.2.0/24 # Require ip 2001:db8::a00:20ff:fea7:ccea/10 Require local # Require ip 192.0.2.0/24 # Require ip 2001:db8::a00:20ff:fea7:ccea/10 # vim: syntax=apache ts=4 sw=4 sts=4 sr noet dwww-1.12.1/data/dwww.css.in0000644000000000000000000001052512265062111012471 0ustar /* dwww.css by KV5R. Ver 02/15/09 for dwww. by Harold Melton, KV5R Web Designs. http://kv5r.com - font-family specs are fully Windows/Mac/Linux/W3C-compatible. - font sizes relative, not constrained (1em=16px in most browsers) To override these settings, please see the section "CUSTOMISING DWWW PAGES LAYOUT" in dwww(7) man page. $Id: dwww.css.in 531 2009-02-15 12:54:08Z robert $ */ body { font-family:Verdana, Geneva, "Bitstream Vera Sans", "DejaVu Sans", sans-serif; margin:20px; background-color:#FFEEDD; } p,li { margin:0 0 0.5em 0; color:#404040; } a { color:#000099; text-decoration:none; } a:visited { color:#660066; } a:active { color:#CC0000; } a:hover { color:#AA0000; background-color:#EEEEEE; } a.nohref { color:#000099; text-decoration:inherit; background-color:inherit; } table { border-collapse:collapse; border:0; background:#FFF9F0; margin:1em auto 1em auto; } /* centers them if < 100% */ table.wide { width:100% } th, td { border:#FFEEDD 1px solid; padding:1px 5px 2px 5px; vertical-align:top; } td.w15 { width:15%; } td.w33 { width:33%; } th { text-align:left; } h1,h2,h3,h4,h5 { margin:0.5em 0 0.25em 0; font-family:"Century Gothic", Futura, "URW Gothic L", sans-serif; } h1 { font-size:1.7em; color:#C6822F; font-weight:normal; } h2 { font-size:1.5em; color:#6666AA; font-weight:normal; } h3 { font-size:1.3em; color:#993300; font-weight:bold; } h4 { font-size:1.1em; color:#993300; font-weight:bold; } h5 { font-size:1.0em; color:#993300; font-weight:bold; } /* This arrangement evens out the line-spacing in nested lists. */ ul,ol { margin-top:0; margin-bottom:0.5em; line-height:1.5em; } li, li ul, li ol { margin-top:0; margin-bottom:0; } /* Most browsers render monospace at 13px - TOO SMALL! font-size:100% forces it to same size as body text. */ pre,code { margin-top:0; padding:3px; background-color:#FFF9F6; font-size:100%; border-top:1px solid #DDDDDD; border-right:1px solid #999999; border-bottom:1px solid #999999; border-left:1px solid #DDDDDD; font-family:Consolas,'Lucida Console','Bitstream Vera Sans Mono','DejaVu Sans Mono',monospace; white-space:pre-wrap; /* css-3 */ /* the validator complains about these and I don't care -- they work: */ word-wrap:break-word; /* Internet Explorer 5.5+ */ white-space:-moz-pre-wrap !important; /* Mozilla, since 1999 */ white-space:-pre-wrap; /* Opera 4-6 */ white-space:-o-pre-wrap; /* Opera 7 */ } tt { font-size:100%; font-family:Consolas,'Lucida Console','Bitstream Vera Sans Mono','DejaVu Sans Mono',monospace; } hr { size:1px; color:#996633; margin:0.5em auto; } hr.w15c { text-align:center; width:15%; } /* dwww template formatting (req. kv5r mods in templates) */ form, input { margin:0.25em auto; } div#head { min-height:45px; _height:45px; /* ugly IE6 hack */ background: url('/dwww/#distributor#.png') no-repeat scroll top left; } div#head h1 { padding:10px 0 0 150px; text-align:center; } div#men p, div#men a { text-align:center; border-top:1px solid #996633; border-bottom:1px solid #996633; } p.foot { margin:10px auto; border-top:1px solid #996633; color:#663300; font-size:12px; font-style:italic; text-align:center; } /* Image Control */ img { border:0; } .bdr { border:4px ridge #e3b68c; } .ctr { display:block; margin:0 auto 0 auto; text-align:center !important; } .fl { margin:5px 20px 5px 0; float:left; } .fr { margin:5px 0 5px 20px; float:right; } .clrboth { clear:both; } /* text formatting handies */ .dcap { font-size:2.3em; line-height:2.3ex; float:left; /* 2-line Drop-Cap */ margin:0 3px 0 0; padding:0 0.1em 0.05em 0.1em; background-color:#D2CCB7; color:#928c77; } .small { margin:0; color:#663300; font-size:12px !important; font-style:normal; font-weight:normal; } .tiny { margin:0; color:#663300; font-size:10px !important; font-style:normal; font-weight:normal; } .b { font-weight:bold !important; } .i { font-style:italic !important; } .u { text-decoration:underline !important; } .l { text-align:left !important; } .c { text-align:center !important; } .r { text-align:right !important; } .j { text-align:justify !important; } .close { margin-top:0px !important; margin-bottom:0px !important; line-height:1 !important; } .nomar { margin:0 !important; } .norap { white-space:nowrap; line-height:1 !important; } dwww-1.12.1/data/dwww.desktop0000644000000000000000000000034612265062111012745 0ustar [Desktop Entry] Name=Debian Documentation Browser Exec=dwww Terminal=false X-MultipleArgs=false Type=Application Icon=gnome-touristinfo Categories=Application;Utility; Keywords=documentation;information;manual; StartupNotify=true dwww-1.12.1/data/editorial/0000755000000000000000000000000012265062111012333 5ustar dwww-1.12.1/data/editorial/adminlinks.html0000644000000000000000000000456412265062111015363 0ustar Documents for system administrators

Documents for system administrators

This page contains some links to documents that are of use for system administrators. Not all of the documents are necessarily installed.

Sysadmins should look especially at manual page section 8. The LDP books Network Administrators' Guide and System Administrators' Guide (draft) are important.

Software installation

The Debian package management tools are dselect, and dpkg. With them, it is quite simple to install, upgrade, and uninstall programs.

For programs installed from source, you usually need to use make or imake. You may need some programming skills to compile some programs, if they haven't been ported to Linux already. Read the README or other documentation for each package for closer details.

Backups and archives

Traditional tools for making backups are tar, cpio, and dump. Also available for Debian are afio, tob, and taper. These tools can also be used for archiving. They're mostly intended for tape drives.

User administration

Users are created with adduser, groups with addgroup. There are currently no good tools for removing either, you have to edit /etc/passwd and /etc/group by hand.

In Debian, each user `foo' has his own group `foo'. Most other Unix systems are different. You may want to read the reason for this.


This page is part of dwww. dwww-1.12.1/data/editorial/docintro.html0000644000000000000000000002002212265062111015036 0ustar Introduction to documentation on Debian Contents:
Manual pages
Info files
Other document formats
The Linux Documentation Project
Finding documents on a Debian system
Suggested reading order

Introduction to documentation on Debian

This document is an overview of the different kinds of documentation that are available on-line on a Debian GNU/Linux system. The same kinds of documentation is available on all Linux and most UNIX systems as well.

Most of the documentation is targeted at the user of a specific program, command, or library function, but there are also some more general tutorials. The documents come as manual pages, Info files, plain text files, HTML files, and in various other formats. The Debian on-line documentation system gives access to all of them via a WWW browser by converting the documents to HTML, if possible.

Manual pages

Manual pages are the traditional form of UNIX documentation. Each command, library function, special file, and so on, has a separate ``page'' of documentation. The manual pages follow a common format, with named sections.
NAME
The name of the command or commands (one manual page sometimes documents several commands), and a short summary of what the command does (only a few words).
SYNOPSIS or SUMMARY
A terse description of what options and arguments the command has. For an experienced user, the synopsis is often enough to see how to use the command.
DESCRIPTION
The detailed description of the command.
OPTIONS
What each of the options means. Sometimes this is not a separate section, but is included in the description.
ERRORS
What the program does is various error situations.
FILES
Important files that the program uses.
SEE ALSO
Other manual pages or documents that you might also want to read.
BUGS
Problems and restrictions in the program that you should be aware of.
Many manual pages contain many other sections, and few include all of the above.

Manual pages make it possible to find information quickly. The manual pages form the UNIX reference manual, but they are not very useful if you haven't used a UNIX system before. Most manual pages assume that you understand the common concepts of using UNIX. You should start by reading a tutorial (see below). Then, when you need to learn a new command, you can read its manual page.

Manual pages are read with the man command. You give the name of the manual page (usually the same as the command) as the argument. For example, to read the manual page for the ls command, you'd give the following command:

man ls
You can also read manual pages using your WWW browser through the Debian on-line documentation system.

Info files

The GNU Project uses the Texinfo system to produce manuals. Texinfo is a markup language, and produces either printed manuals (using the TeX typesetting system), or on-line manuals in Info format. Info files are a simple form of hypertext. They are usually structured like like books, and are usually larger than manual pages.

Few people outside the GNU Project use Texinfo, but since GNU has produced so much software, there are many Info files. Since a manual page should be short, and an Info file need not be, the Info files are sometimes easier to read.

Info files can be read directly using the GNU Emacs help system (started with C-h i from within Emacs), or the standalone Info browser (started with info from the shell). You can also read manual pages using your WWW browser through the info2www interface that comes with the Debian on-line documentation system.

Other document formats

Most programs come with a ``README'' file, which is a simple text file, often called README that describes the program and often includes instructions on how to install it. The README is usually not important for people who use the program, but it can be interesting to read it if you want to know how things work. On a Debian system, the README's, and other similar files, are installed in a package specific directory, under /usr/share/doc (see below).

It is becoming more common for complicated programs to include documentation in HTML or Postscript format, in addition to (sometimes incomplete) manual pages. HTML is the markup language that WWW uses, and all such documents are easily accessible via the Debian on-line documentation system. Postscript, however, is a complicated typesetting language, and it cannot easily be converted to other formats. There is no easy way to read the Postscript manuals via the Debian on-line documentation system.

The Linux Documentation Project

Since 1993, the Linux Documentation Project has produced FAQ's and HOWTO's and books to explain how to install and use Linux. The LDP books have been converted to HTML, but are not currently available as Debian packages, and cannot therefore be read through the Debian on-line documentation system.

Finding documents on a Debian system

Manual pages are typically stored under /usr/share/man, and /usr/local/man. Each manual page is in its own file. They are written using an old markup language (see documentation for groff and the mandoc macros), and are formatted into a more readable format using nroff. Since the formatting can be slow, the formatted page is stored into /var/catman; that directory is automatically cleaned from old formatted versions.

Info documents are stored in /usr/share/info. Info files are not quite plain text, so they also need to be formatted for easier reading. However, this formatting is fast enough that the formatted version is not saved.

Each installed Debian package creates its own documentation directory below /usr/share/doc. For example, documentation for Debian itself is in /usr/share/doc/debian. All documentation that is not manual pages of Info files is stored in the package's documentation directory.

The /usr/share/common-licenses directory contains the common copyright statements like GPL, and /usr/share/doc//examples contains example configurations and programs.

Suggested reading order

If you're new to UNIX-like systems, you should probably start with Matt Welsh's Installation and Getting Started. It includes much information about installing Linux, but that part is not relevant for a Debian system. However, the book also includes introductions on how to use Linux, and you should read those to get a feel for what using UNIX is like.

At some point, you should read the manual pages for your shell (bash), and some of the essential file handling commands (ls, less, cd, mkdir, rmdir, cp, mv, rm). You might also want to check out Midnight Commander and GNU Interactive Tools, which can be nicer to use than the traditional commands. Also read the manual for your editor (for example, Pico, ae, Emacs, Jed, vim, nvi, or elvis, depending on taste and on what is installed). After that, browse the Debian on-line documentation system and read about whatever happens to interest you.

dwww-1.12.1/data/editorial/man-sections.html0000644000000000000000000000240512265062111015622 0ustar Manual page sections

Manual page sections

UNIX manual pages are divided into eight sections or chapters. Each section covers a specific area. Section 9 is a Linux addition. Some sections have subsections, indicated by some letters after the section number. For example, manual pages for X programs are in section 1x.

(The links above are to lists of all manual pages in each section. Note that all links may not work, if you don't have any manual pages in that section installed.) dwww-1.12.1/data/editorial/search-docs.html0000644000000000000000000000450412265062111015417 0ustar Search Debian documenation

Search Debian documentation

This page lets you search for documents containing one or more words. By default, all documents are searched, but you can restrict this by selecting one or more classes of documents. Selections for manual pages are additive: if you select both manual page section 1, and manual pages beginning with A, the search covers only those manual pages in section 1 that begin with A. Selections for Info and other documents are not additive.

Enter the words to search for: ................................

Select document classes to search in:

dwww-1.12.1/data/img/0000755000000000000000000000000012265062111011133 5ustar dwww-1.12.1/data/img/Makefile0000644000000000000000000000030012265062111012564 0ustar # vim:ts=2 # Makefile for dwww. # ALL_TARGET := SUBDIRS := include ../../common.mk templatefiles := $(distributor).png install-local: $(call install,$(pkgsharedir),$(templatefiles)) dwww-1.12.1/data/img/debian.png0000644000000000000000000001506412265062111013071 0ustar PNG  IHDR(sRGBbKGD pHYs+tIME '׶tEXtCommentfor dwww IDATx^ xU_[B$! "j 2NhӢ3*. v:;nM" d_ߛ߹yW,}SWy/U{9{P(]B֩VsY޴!O^W]Z_ʁs“V^c`mξdp{u퇞piMyCmi9rھSjjju?ٛJR/ i zຯr/{C).ջǞaMR@/J)Uz/qOs9>i9 2߿/ښ={voqmmmo.m ?kzjh(Z sW=CsV鐋BU'jɈ8߯}/mWfjR* xBmׄڂA#d`8Յ[3#(3%%宪ھhGh$%%ҲP #ohhJ3禢 54M>d9ap}'][x`XS#s483H-ZR3%ƥxb We,`Sf&֬D#s}Dx[yyy?ͳ_4ni[W*˚wEH2ůosˏ T ΐҌP?[KˌIE*B`3 EkfQ6-LSa&P# d5 VғNV.-Mlj%VGe}6 @OhUY-WkkkΝ;zKoaYՇ]Xr;z:se8uQ.+- ,bd)[f{_Qtzn\'EyVFY{dz#˵<..N;{eǺЭKyRSS+1gi q7>Cc= U:3rTzQQoM*Vm ][f>6N+,6OQz<9ڰp52'WAEW?'~@" XLKg"teObp_ _e5Tm$M^m=ݶlٲLzzz eYbv#nc?f X幗p(m=vy0Ak;gyoҙ H;vl\`pSO=,qOҶ3fLs1c({ܣH4CxY(s8pn&]^YK]r['ܐh9漅Nav2 + Ql(#,'wF-'\i483w<*CK9| ̠moP#4ϟQtBh{od|_~'SvVʊ#V~6Z]G/i) 7Eyaߙ,t&ScW}P@UIيA]݀j @Wޗ pKfc/Y:ؘ,t05ꊑ/ 0k#H`q*WSm„ C+#؁Bkyo%FY@ Xfި]æ&4Q Yט,m":]K:i*Lå_/]\d2*쪜`}Sdjig/C<[Ӥ}44|qZگEnbX>jf,'EC1{àe ɷAr ~_Kbmu1>aDeee%CS#"kz 4F)Xko[ui"0}st-)//QaecG13.}6!˶ d;t~}>?3:/ك-1g~>]P^ c-XnAy(/,Y^~{9&0q\z<ڃK1F+i }Ƅ40;vB#*DF 6X" %woza|lJԡL&c?3yأ(LEs݃Π6eʔt:[MHhIi*fգB#`ѵ@byLKH>+e+T)c@(д/9OR_{.{Q)Ž4X&B:B0F+6! d(z+dr[E]}ԧZ:s b=&`Iy4;hmȋ,cQcaREe=^Z{@8,;,v 3:͒$mɽF"WiHYCg(SAaÎنqd&~Y;jkk3cXC v $Nj!`!1D%g;pt1hG7K$N[T@,}L&-k$AFgX^K`-n[K~^2suyBI5X[w+~m{ hRì]fJ\2Ƕ^2J-Q@R59Q4LY}N=G&2 $Jc:4D p^&+D{L3pfټ1&h% /A~kIq%̌C/>ɗ`vY,I;xIOIWhn5hܢjxW u{Z|΀ so.O`%5fݏ>h K\2lE= /X !RHV4k!\e'`RT;V z,<UrXJSg'Z-a׋\ z@F7lDl1 Z xSf[A3Neٽn͵. aXx)Xe1Ržx13P}ypPW>"9stX(Gdcl6زpD~3,f>ck9PQqAiۈ`D B%Li:VA媒WeF>\ќD+ ?#^auoEbȨd8eM7d ,; -TnvjIWĘ9íݛ5 ~MҐm&KoB;L ^{]bQ> >2w&/:ߣ 8mrw B9A5*E|8t\݇2NUh;/{I1a`e]Vp5j]7d[leht\~Xl)Ǭo:ąpB>˴.Ee1ҧ k`t,_❗MNqX'e|0/$tK˫`ʿ_!ĀX.؃׎ܳKu-/iwb K/..^Xڜɬmz{" *clB v;O[d47 0cP/*~Ol_Œgխy5T>+;79}Ck|3Zȱr>*?[_QLg0mMl e&o0ba*̚S_~ <nTM=TD]p`;fĉ ; aФI·aDf9i9*tӧKhHPT}G z/pJLKh YƁqv6^'Xf?'XT [;l3VWͻk6@"NF%^x*a;lZwߝ <LNy @syM,+{bɢax]ـ zדpo"v7zk֬N{Mxoy*# \xF8VƱw&I|v,ۼgcVסJ%LNDGÏEu-d[>.ϻ4&UڣMhLyc^x|Ty?6HdTDyI9"k>kO%Cc_}YK vOO2^;.^ hS%?rX.1o91tR2F2: ȪI$6RA"mERjbTˆs7 ÍDQ~%9=P~)BL'/}n,K€v 5EKܭcj]byvsjg:Q8}w.5Y>v`>P PKaUM6DVtE{:u+g-IEsaIq<>C4~vrj8Dڕ^hkEp)QFi./3^I Gk$SG:n2x(HY&[vAfrY:'Wyu[)9:s<% I1d9t9^䏘+ue#߿y-o-2f˹#=Csmq|H'ʉC!R_;u~C;$I4( N9qe*RF}gtﶷ&OڲD1]1K qj/N`o_)x''oaq])Q0C~_2+m1h wIN AqMd?tG9HN eu8\%W" ;c7=ᠱ~fo%l7g$%69 Gư ն4T7o{dדuDc.#ro&Q 3~?v,$X[|>B{tw[\ND|N L]7oL8Ɇ^=`3F}Q`tNǧE&CKY3+L'm޼p42TGf~5]&Ա%.)$!!R7,t0Ryχˡ5̻f+GyK7{7r湱E Yҽ*(&,lIûN6\xg]n;v콙`)e$$H{Yb&%;¼p%1DneqoZƍi $1~.JxIENDB`dwww-1.12.1/data/img/ubuntu.png0000644000000000000000000000640212265062111013165 0ustar PNG  IHDR(sRGBbKGD pHYs+tIME l IDATx{pU?!Mx UV uZGKCpjVa,ViӖTS8%Dm$XaD"B *$977$1L?If~ Ȱ([0]Eٝϙ|L鵂j cĶLek~V40[Qީ q\~J6.e|A]EY,?%} @.֖LW U98֩ꓱԭ,iA${YUb` 9? ȹtuƘTTUA4.T*ȫc&E$ zϳڷ[}XZ/NBm(;wQU ,s| X{@|py/?YN>v L([Q0ܿg\yJeem?a$Nݫg3[*HC/tʃ tz* X8R@ ,ΕGԉv!mT"6N}Hl㲕843iUlyP$gCjX]jo 9Px((`}b'#aq܇72nzk-gD_ 6f. 0vQ ok눱Ƌ9Q9'U]ӡc)R-Fo3 QorhH= h@a q&+ Pz8 c*RH? uڨ{1q]{9M{Wki.m-hm fi{zañ}j;%sM:MJǾ;bBo@.&(!˝X2*M6"7\6\# fmoD=/K.>x95ފNvZhR\Vԫs\`]*7Ȩ  $ ȯ8q` l><@f{e{?SLfh2!qꌐ5p/_sͬhՆͪ: -̦{({ES Y$ͱdN8j>qC2n\UN;ˊ1Zy_$)rXa'.tp>ޙ`Udw;[@EKȚEd6cRkuX,O"8SYAV?+={uvh}L X&?:W&Y4OX0@=CF#æ AQ/  x v劓}lcЮ.C-Ė7٘9hNCgl*.IdDYCl$$mu{E'k6~H0/#( >kـxLm ˔RlP h+PRA"}M{;#Al϶5 ضZ:`qr{Gf'qm~G932:AV> .;\'+qLaքoltj)"V"6FAPׂ*k`ļFQ}d y!m(ҵe Rx߲Q SRZYjXTA 39 Lsx P\fw?@ ȳ:KQc n 0.U eyPR*TXtj' Y:m]Lh%ZyzHAYC(ttG U;LF%O͙ȯrFǿ>d$Wz3~ NŤ'/tlUlv~8Er8;x??ĤBY b +_S3Ḱ5ep4)EbRӤ:c'|s[q{ !IENDB`dwww-1.12.1/data/mozilla/dwww.src0000644000000000000000000000101712265062111013526 0ustar # searching all dwww-1.12.1/data/swish++.conf0000644000000000000000000001746112265062111012522 0ustar ### ## dwww's swish++.conf file ## $Id: swish++.conf,v 1.7 2007-01-06 17:05:11 robert Exp $ ### AssociateMeta yes # # used by: index; when "no", same as the -A option. # # Associate words with meta names during indexing. #ExcludeClass no_index # # used by: index; same as the -C option. # # For HTML and XHTML files only (as specified by IncludeFile), a set of # class names of HTML and XHTML elements whose content text is not to be # indexed. ExcludeFile *.gif *.jpg *.png *.tar* # # used by: index, extract; same as the -E option. # # A set of filename patterns of files not to index or extract. Case is # significant. You normally specify either IncludeFile or ExtractFile # -OR- ExcludeFile (whichever is easier to specify), but not both. #ExtractExtension txt # # used by extract; same as the -x option. # # The extension to append to filenames during extraction. #ExtractFile *.doc *.ppt *.xls # # used by extract; same as the -e option. # # A set of filename patterns of files to extract. Case is significant. # Filename patterns specified here MUST NOT also be specified in # ExcludeFile below. # # You should modify the set to include only those that you are actually # using for increased performance. #ExtractFilter no # # used by extract; when "yes", same as the -f option. # # When "yes", extract a single file to standard output. #FilesGrow 100 # # used by: index; same as the -g option. # # The number of files to grow reserved space for when incrementally # indexing. The number may be specified as either an absolute number or # a percentage (when a trailing % is present). #FilesReserve 1000 # # used by: index; same as the -F option. # # The initial number of files to reserve space for. During indexing, # this can be exceeded without any problem, but there will be a slight # performance penalty. # # If you know approximately how many files you have, modify the above # value! FilterFile *.bz2 bunzip2 -c %f > @/var/cache/dwww/swish.tmp.%B FilterFile *.gz gunzip -c %f > @/var/cache/dwww/swish.tmp.%B FilterFile *.Z uncompress -c %f > @/var/cache/dwww/swish.tmp.%B #FilterFile *.doc antiword %f @/var/cache/dwww/swish.tmp.%B.txt #FilterFile *.pdf pdftotext %f @/var/cache/dwww/swish.tmp.%B.txt #FilterFile *.ps pstotext %f > @/var/cache/dwww/swish.tmp.%B.txt # # used by: index, extract; no option equivalent. # # Filter files having certain extensions prior to either indexing or # extraction. # # See http://www.wvware.com/ for information about the wvText program. # For Debian: antiword is doing a very good job # See http://www.research.compaq.com/SRC/virtualpaper/pstotext.html for # information about the pstotext program. #FollowLinks no # # used by: index, extract; same as the -l opt ion. # # Follow symbolic links during indexing or extraction. IncludeFile text *.txt *.text IncludeFile HTML *.asp *.*htm* *.jsp #IncludeFile ID3 *.mp3 IncludeFile LaTeX *.tex #IncludeFile Mail *.m IncludeFile Man *.[1-9n] *.[1-9][a-z] IncludeFile RTF *.rtf # # used by: index; same as the -e option. # # A set of filename patterns of files to index and the modules they map # to. Case is irrelevant for the module name but significant for the # patterns. Filename patterns specified here MUST NOT also be specified # in ExcludeFile. # # You should modify the set to include only those that you are actually # using for increased performance. #IndexFile /var/cache/dwww/dwww.swish++.index ### This option is set by dwww via commandline switch # # used by: index, search; same as the -i option. # # The name of the index file either generated or searched. RecurseSubdirs no # # used by: index, extract; when "no", same as the -r option. # # When "no", do not recursively index the files in subdirectories, that # is when a directory is encountered, all the files in that directory are # indexed (modulo the filename patterns specified via the IncludeFile, # ExcludeFile, or ExtractFile variables), but subdirectories encountered # are ignored and therefore the files contained in them are not indexed. # (This variable is most useful when specifying the directories and files # via standard input.) The default is to index the files in # subdirectories recursively. ResultsMax 100 # # used by: search; same as the -m option. # # The maximum number of results to return overriding the compiled-in # default (which is usually 100). ResultSeparator "__--__" # # used by: search; same as the -R option # # The string to separate the parts in a search result when ResultsFormat # is "classic". Either single or double quotes can be used to preserve # whitespace. Quotes are stripped only if they match. ResultsFormat classic # # used by: search; same as the -F option # # The output format of search results: either "classic" or "XML". SearchBackground no # # used by: search; when "no", same as the -B option. # # When "yes" and SearchDaemon is not "none", automatically detach from # the terminal and run in the background. #StemWords no # # used by: search; when "yes", same as the -s option. # # Perform stemming (suffix stripping) on words during searches. Words # that end in the wildcard character are not stemmed. #StopWordFile custom_stop_word_file # # used by: index, extract; same as the -s option. # # The name of a file containing the set of stop-words to use instead of # the built-in set. StoreWordPositions no # # used by: index; when "no", same as the -P option. # # Store word positions during indexing needed to do "near" searches. # Storing said data approximately doubles the size of the generated # index. TempDirectory /var/cache/dwww # # used by: index # # Directory to use for temporary files during indexing. If your OS # mounts swap space on /tmp, as indexing progresses and more files get # created in /tmp, you will have less swap space, indexing will get # slower, and you may run out of memory. If this is the case, you can # specify a directory on a real filesystem, i.e., one on a physical # disk. The directory must exist. #ThreadsMin 5 #ThreadsMax 100 # # used by: search; same as the -t or -T option, respectively. # # The minimum/maximum number of simultanous threads, respectively; used # only when SearchDaemon is not "none". #ThreadTimeout 30 # # used by: search; same as the -O option. # # Number of seconds until an idle spare thread times out and destroys # itself; used only when SearchDaemon is not "none". #TitleLines 12 # # used by: index; same as the -t option. # # For HTML and XHTML files only, the maximum number of lines into a file # to look at for HTML and XHTML tags. The default is 12. Larger # numbers slow indexing. #Verbosity 0 # # used by: index, extract; same as the -v option. # # Print additional information to standard output during indexing or # extraction. The verbosity levels are 0-4; see index(1) or extract(1) # for details. # WordFilesMax 10000 # # used by: index, search; same as the -f option. # # The maximum number of files a word may occur in before it is discarded # as being too frequent. The default is infinity. WordPercentMax 101 # # used by: index, search; same as the -p option. # # The maximum percentage of files a word may occur in before it is # discarded as being too frequent. If you want to keep all words # regardless, specify 101. WordThreshold 50000 # # used by: index; same as the -W option. # # The word count past which partial indicies are generated and merged # since all the words are too big to fit into memory at the same time. # If you index and your machine begins to swap like mad, lower this # value. The above works OK in a 64MB machine. A rule of thumb is to # add 250000 words for each additional 64MB of RAM you have. These # numbers are for a SPARC machine running Solaris. Other machines # running other operating systems use memory differently. You simply # have to experiment. Only the super-user can specify a value larger # than the compiled-in default. # the end ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������dwww-1.12.1/data/templates/�������������������������������������������������������������������������0000755�0000000�0000000�00000000000�12265062111�012355� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������dwww-1.12.1/data/templates/Makefile�����������������������������������������������������������������0000644�0000000�0000000�00000000675�12265062111�014025� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# vim:ts=2 # Makefile for dwww. # "@(#)dwww:$Id: Makefile 521 2009-01-16 23:34:26Z robert $" # ALL_TARGET := SUBDIRS := include ../../common.mk templatefiles := $(sort $(wildcard *.*)) dwwwendlinks := dwww-convert.dir.end dwww-convert.end dwww-find.end install-local: $(call msg,$@) $(call install,$(pkgsharedir)/templates,$(templatefiles)) $(call install_links,dwww.end,$(patsubst %,$(pkgsharedir)/templates/%,$(dwwwendlinks))) �������������������������������������������������������������������dwww-1.12.1/data/templates/dwww-convert.dir.start���������������������������������������������������0000644�0000000�0000000�00000001212�12265062111�016653� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!-- dwww-convert.dir.start --> <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="robots" content="noindex,nofollow"> <title>%TITLE% dwww-1.12.1/data/templates/dwww-convert.start0000644000000000000000000000120312265062111016076 0ustar %TITLE% dwww-1.12.1/data/templates/dwww-find.start0000644000000000000000000000177512265062111015354 0ustar %TITLE%


dwww-1.12.1/data/templates/dwww.end0000644000000000000000000000020312265062111014030 0ustar

Generated by dwww version %VERSION% on %DATE%.

dwww-1.12.1/data/templates/dwww.template0000644000000000000000000000337612265062111015113 0ustar %TITLE%

Find documentation:

You can search:


Generated by dwww version %VERSION% on %DATE%.
Please read the on-line documentation for more details on dwww.
Send comments, wishes and bug reports using the Debian Bugtracking System.

dwww-1.12.1/data/templates/man-begins-with.end0000644000000000000000000000030012265062111016027 0ustar
%SECTIONS%

Generated by dwww version %VERSION% on %DATE%.

dwww-1.12.1/data/templates/man-begins-with.start0000644000000000000000000000227612265062111016434 0ustar %TITLE% - Man pages starting with %LETTER%


%SECTIONS%

Man pages starting with %LETTER%

dwww-1.12.1/data/templates/man-in-section.end0000644000000000000000000000025312265062111015666 0ustar
%LETTERS%

Generated by dwww version %VERSION% on %DATE%.

dwww-1.12.1/data/templates/man-in-section.start0000644000000000000000000000235412265062111016261 0ustar %TITLE% - Man pages in section %SECTION%

Man pages in section %SECTION%


%LETTERS%

Man pages in section %SECTION% %SECTIONDESC%

dwww-1.12.1/data/templates/man-index.end0000644000000000000000000000053212265062111014725 0ustar

Hey! Sections without descriptions? Please report them using the Debian Bugtracking System.

Generated by dwww version %VERSION% on %DATE%.

dwww-1.12.1/data/templates/man-index.start0000644000000000000000000000203612265062111015315 0ustar %TITLE% - Man pages

Man pages index


Manual pages

dwww-1.12.1/data/templates/menu.all.start0000644000000000000000000000217212265062111015151 0ustar %TITLE% - All Documents


%SECTIONLIST% dwww-1.12.1/data/templates/menu.end0000644000000000000000000000041512265062111014011 0ustar

List of dwww errors and warnings generated while building menu

Generated by dwww version %VERSION% on %DATE%.

dwww-1.12.1/data/templates/menu.errors.end0000644000000000000000000000022112265062111015317 0ustar

Generated by dwww version %VERSION% on %DATE%.

dwww-1.12.1/data/templates/menu.errors.start0000644000000000000000000000122712265062111015715 0ustar %TITLE% - List of dwww errors/warnings
dwww-1.12.1/data/templates/menu.nosections0000644000000000000000000000215112265062111015426 0ustar %TITLE% - All Documents

Debian Documentation Menu contains no documents.

Generated by dwww version %VERSION% on %DATE%.

dwww-1.12.1/data/templates/menu.single.start0000644000000000000000000000233512265062111015663 0ustar %TITLE% - Documents in section %SECTION%


%SECTIONLIST%

%SECTION%

dwww-1.12.1/debian/0000755000000000000000000000000012265062111010670 5ustar dwww-1.12.1/debian/NEWS0000644000000000000000000000215512265062111011372 0ustar dwww (1.11.1) unstable; urgency=low New design of the dwww-generated web pages introduced in 1.11.0. Thanks to Harold Melton (kv5r at kv5r.com), now the pages have light peach background menu bar, and larger mono face fonts for the man pages, much more suitable for the newer LCD monitors with sub-pixel anti-aliasing. The layout can be customised by a user, please see dwww(7) for details. -- Robert Luberda Sun, 15 Feb 2009 13:53:54 +0100 dwww (1.10.0) unstable; urgency=low dwww no longer touches links in the request HTML files, but just passes them unchanged. This allows embedded javascript to work correctly (see Bug#265573) and of course is more efficient. Because of the above change and broken handling of the CGI specification by the BOA and THTTPD web servers, dwww WON'T WORK correctly with them! (see Bug#164306 and Bug#365763) dwww generates its pages directly in the /var/www/ (or other dir specified with DWWW_DOCROOTDIR variable) instead of creating links. -- Robert Luberda Sun, 4 Jun 2006 16:43:40 +0200 dwww-1.12.1/debian/changelog0000644000000000000000000022301212265062111012542 0ustar dwww (1.12.1) unstable; urgency=medium * apache.conf: add an `Alias /dwww /var/www/dwww' line to accommodate to the default document root change in apache 2.4.7 (closes: #734090). * apache.conf: enclose `Require' lines with `' section (closes: #734957). * dwww-refresh-cache: change regexp used to find installed packages to include packages selected to install as well. * Add support for cross-building. * Standards-Version: 3.9.5 (no changes). -- Robert Luberda Mon, 13 Jan 2014 23:09:58 +0100 dwww (1.12.0) unstable; urgency=low * Apache 2.4 transition (closes: #669745): + move configuration file for apache into /etc/apache2/conf-available dir with dpkg-mainscript-helper, and add preinst script as work-around for the tool's bug #711598; + update the file with new `Require' directives; + enable `Require local' only by default to restrict access to dwww to localhost only (closes: #328906); + use dh-apache2 for handling apache2 in maintainer scripts; + require (via Breaks and Build-Conflicts) version 2.2.4-6~ or later of apache2 packages (see #711479, #711483). * Fix FTBFS with clang. * dwww.cron.weekly: pass `-t' option to ionice to ignore eventual failures to set the priority (closes: #690398). * Update Makefiles to properly handle CFLAGS from environment and make build process more verbose. * Standards-Version: 3.9.4 (no changes). * Build with large file support (lintian). * Add Keywords field to desktop file (lintian). -- Robert Luberda Wed, 12 Jun 2013 07:52:48 +0200 dwww (1.11.8) unstable; urgency=low * dwww-find: Make regexp used to get packages' description from apt-cache output aware of the new `Description-xx' fields. * Bump build-dependency on debhelper for v9 (lintian). -- Robert Luberda Sat, 11 Feb 2012 23:57:16 +0100 dwww (1.11.7) unstable; urgency=low * debian/templates: set dwww/index_docs default to false (closes: #645240). * debian/config: check if @ret is initialized before referencing it (closes: #646988). * Switch to debhelper v9 for dpkg-buildflags support. * Fix errors found by cppcheck: + dwww-cache.c: memory leak; + dwww-txt2html.c: undefined behavior: variable is used as parameter and destination in s[n]printf(). * makefile_common: define msg variable also when MAKE_VERBOSE is set. * debian/control: correct Vcs-Browser field. -- Robert Luberda Sun, 20 Nov 2011 23:49:42 +0100 dwww (1.11.6) unstable; urgency=low * Add Italian translation of the debconf templates (closes: #620530). * Add Danish translation of the debconf templates (closes: #626301). * Improve configuration file management: + include all supported variables and provide theirs descriptions (closes: #622892); + add a ConfigFile.pm utility module; + update maintainer scripts and use ucf to manage changes in the file. * Remove references to non-FHS dirs like /usr/doc from programs and documentation. Use /usr/local/share/{doc,man,info} hierarchy instead of /usr/local/{doc,man,info}. * debian/control: + sort dependency fields with wrap-and-sort from the devscripts package; + add build dependency on lsb-release; + bump Standards-Version to 3.9.2 (no changes); + add VCS-* fields; + add dependency on ucf. -- Robert Luberda Mon, 27 Jun 2011 20:10:10 +0200 dwww (1.11.5) unstable; urgency=low * Upload to unstable. * dwww-refresh-cache: while generating list of packages, do not exclude packages in triggers-pending/triggers-awaited state. * dwww-find: + call dpkg-query directly instead of dpkg when dlocate is not available; + quote special regexp characters for `dlocate/dpkg-query -S' arguments; + split arguments passed to the program on whitespaces. * debian/rules: + use minimised debhelper rules files; + set CFLAGS and LDFLAGS from dpkg-buildflags; + add build-{arch,indep} targets. * Makefile: don't create /var/lib/dwww/html directory. * dwww.preinst, dwww.lintian, dwww.install: removed, no longer needed. * dwww.config: Fix path to dwww.swish++.index file. -- Robert Luberda Tue, 08 Feb 2011 23:30:59 +0100 dwww (1.11.4) experimental; urgency=low * dwww.cgi, dwww-find, dwww-build-menu: when a single doc-base file registers multiple files in a format that doesn't provide any index file, show a list of all such files (closes: #191534). * functions.sh: fix functions used to re-creating cache directory. * Set source format to `3.0 (native)'. * Bump debhelper compat mode to 8. * Standards-Version: 3.9.1 (no changes). -- Robert Luberda Wed, 19 Jan 2011 20:39:37 +0100 dwww (1.11.3) unstable; urgency=low * Really ignore dpkg-query errors (closes: #561653). * Remove asterisks from Debian.NEWS (lintian). -- Robert Luberda Wed, 06 Jan 2010 23:19:48 +0100 dwww (1.11.2) unstable; urgency=low * DwwInitialize.pm: convert DWWW_DOCPATH to array even if dwww.conf file does not exist or is not readable (closes: #560422). * dwww-refresh-cache: ignore dpkg-query errors (closes: #561653). * Upgrade Suggests into Recommends on swish++ (closes: #530282). * dwww-cache.c: small refactoring, hopefully fix FTBFS on Ubuntu. * Bump Standards-Version to 3.8.3. * rules: remove dh_desktop call (lintian). * Install lintian overrides for bogus `unused debconf template' infos. -- Robert Luberda Wed, 23 Dec 2009 17:39:04 +0100 dwww (1.11.1) unstable; urgency=low * dwww.css.in: + move logo from main background to head background; + apply a few additional Harold's fixes. * dwww-build: add support for local user CSS file. * Move the dwww man page from section 8 to more appropriate section 7, update references in other pages and README file. * dwww(7): describe how to customise dwww style sheets. * debian/NEWS: announce the design changes. * mozilla/dwww.png: converted from dwww.gif, made transparent. * dwww-refresh-cache: don't exclude half-configured packages. * dwww-txt2html.c: fix bug in utf8hyphen to '-' conversion, and remove some debugging output, both introduced in previous version. * common.mk: pass -Werror to gcc. * Refer to GPL-2 in copyright (lintian). -- Robert Luberda Sun, 15 Feb 2009 18:51:39 +0100 dwww (1.11.0) experimental; urgency=low * Apply a patch from Harold Melton (kv5r at kv5r.com) for a better design of dwww-generated pages with a light peach background (closes: #180733), menu bar, and larger pre/code/tt mono face for the man pages, much more suitable for the newer 1280x1024 LCD monitors with sub-pixel anti-aliasing. His changes are: + Added css file manuals.css; + Change most dwww template files; + Minor output-related changes in dwww.cgi, dwww-build, dwww-build-menu, dwww-convert, dwww-find and Utils.pm; + Changed iso-8859-1 to UTF-8 in all files, for compatibility with some of the newer documentation (some were displaying wacky characters). + Logos: created a ubuntu.png; recreated a better debian.png. Many thanks for the patch, Harold! * Rename manuals.css to dwww.css. * Standardise menu bar in `by name' and `by section' man indices. * dwww-txt2html.c: convert utf8hyphen to '-'. * Add desktop file based on patch from the bug log (closes: #478845), but with the following changes: + remove encoding line (lintian); + exec dwww(1) instead of x-www-browser (lintian). * dwww-build-menu: don't display "..." when menu section is expanded. * dwww-build, Utils.pm: don't specify widths for cells of `man by name' table. * Fix minus as hyphen usage in dwww-index++(8), dwww-convert(8), dwww(8), and dwww-build-menu(8) man pages. * Reorganise source tree: + rename lib to data; + make dirs src and scripts and move there files from top-level directory; + move templates to data/templates; + move mozilla-dwww.* files to data/mozilla; + remove dwww.man.template, it's no used; + compile with -Wextra, fix warnings; + use build system from doc-base. * dwww-text2html: add support for LP: tags. * dwww-convert: ignore broken links in BuiltinDwww2HTML(). * Reorganise binary tree: + move template files to new templates sub-directory of /usr/share/dwww; + move mozilla files to new mozilla sub-dir. * dwww-links: put link into /usr/share/iceape instead of /usr/lib/mozilla. * Made binary package a bit different when compiled on Ubuntu: + use theirs logo on the dwww pages; + install search plugins in unbranded directories. * Update copyright. * Standards-Version: 3.8.0 (no changes). * Remove 2nd "Section: doc" line from control file (lintian). * Bump debhelper compat version to 7. -- Robert Luberda Fri, 30 Jan 2009 22:10:54 +0100 dwww (1.10.15) unstable; urgency=low * Upload to unstable. * Add Galician translation of debconf templates (closes: #482671). * Exclude /var/www/dwww from binary package (lintian). -- Robert Luberda Mon, 26 May 2008 20:23:07 +0200 dwww (1.10.14) experimental; urgency=low * Remove menu-method file and completely drop support for registering docs with menu files. * dwww-txt2html.c: + better support for UTF8-encoded documents; + add --utf8 option; + refactor code; + handle basic CSI sequences. * dwww-txt2html(8): updated. * dwww-refresh-cache: remove dwww-build-menu* temporary dirs. * dwww-quickfind, dwww-refresh-cache, dwww-find: add support for displaying other packages built from the same source (closes: #49353, as all other things mentioned is have been already fixed). * dwww-convert: use `man -E' to show man pages in UTF-8. * control: remove dependency on menu, bump dependency on man-db. -- Robert Luberda Tue, 13 May 2008 22:09:32 +0200 dwww (1.10.13) unstable; urgency=medium * dwww-build-menu: Don't fail if no documents are registered with doc-base. -- Robert Luberda Sun, 20 Apr 2008 12:35:29 +0200 dwww (1.10.12) unstable; urgency=medium * dwww-build-menu, dwww-index++: don't parse /var/lib/dwww/menu-methods compatibility dir. This means that support for old method of registering docs with dwww is effectively dropped (however update-menus still is used until doc-base switches to call dwww-update-menu directly). * dwww-build-menu(8): updated for the above change. * dwww.preinst: run background building of dwww pages in a new session to avoid apt bug#463030. * dwww-cache.c: print real help message. * dwww-refresh-case: also clean temporary dirs left by dwww-build and dwww-build-menu. -- Robert Luberda Thu, 10 Apr 2008 21:25:39 +0200 dwww (1.10.11) unstable; urgency=low * dwww-convert, dwww-find, dwww-quickfind: + pass "--" before arguments to external commands call, + add support for "--" options' separator. * Build with debhelper v6. * debian/copyright: add copyright notice (lintian). * lib/menu*start: set charset to UTF-8. * debian/control: bump dependency on doc-base. * dwww-convert: fix setting encoding of copyright and changelogs files, which got broken in 1.10.6. -- Robert Luberda Sun, 24 Feb 2008 11:49:32 +0100 dwww (1.10.10) unstable; urgency=low * dwww-index++: + apply patch with improvements from Ian Zimmerman (closes: #454757), + rewrite and refactor the code, + add support for incremental indexing (closes: #454612). By default generate full index each month and incremental index each week. * dwww-refresh-cache: made it work when /var/cache/dwww is a symlink. * cron.weekly: use ionice(1) to set the lowest io scheduling class. * Add support for https protocol (closes: #456371). * Remove empty /u/s/lintian/overrides directory (lintian). * Standards-Version: 3.7.3 (no changes). * Update documentation. -- Robert Luberda Sat, 15 Dec 2007 18:12:58 +0100 dwww (1.10.9) unstable; urgency=low * Read doc-base files from /var/lib/doc-base/documents. * Bump dependency on doc-base. -- Robert Luberda Sun, 02 Dec 2007 14:33:15 +0100 dwww (1.10.8) unstable; urgency=low * Switch dependency to apache2|httpd-cgi, since apache has been removed from sid. -- Robert Luberda Wed, 17 Oct 2007 15:51:16 +0200 dwww (1.10.7) unstable; urgency=low * dwww-convert: set the MAN_KEEP_FORMATTING environment variable before calling man, remove `-Tascii8' option from man added in dwww 1.9.28. * debian/control: bump man-db dependency to >> 2.5.0. * dww-find: + support the Homepage control field; + try to avoid shell while executing external commands. -- Robert Luberda Mon, 15 Oct 2007 20:26:57 +0200 dwww (1.10.6) unstable; urgency=low * Don't override encoding of html documents (closes: #403180). * Fix lintian's ` debian-rules-ignores-make-clean-error' warning. * Set mime type of shtml files to text/html. -- Robert Luberda Tue, 25 Sep 2007 23:51:33 +0200 dwww (1.10.5) unstable; urgency=low * dwww.cgi (comment at the top): Replace reference to README.Debian with an instruction how to enable CGI in apache2 (closes: #417095). -- Robert Luberda Sun, 01 Apr 2007 20:58:35 +0200 dwww (1.10.4) unstable; urgency=medium * dwww.menu-method: check for existence of the /var/lib/dwww/menu-method directory (used for backward compatibility reasons) before trying to remove files from that location. -- Robert Luberda Fri, 30 Mar 2007 22:23:16 +0200 dwww (1.10.3) unstable; urgency=low * Initial Russian translation of debconf templates (closes: #406243). Thanks to Yuri Kozlow. -- Robert Luberda Sun, 14 Jan 2007 13:16:09 +0100 dwww (1.10.2) unstable; urgency=low * swish++.conf: Half a value of `WordThreshold' and add `StoreWordPositions no' to make index++ consume less memory and disk space (closes: #352774). -- Robert Luberda Sat, 6 Jan 2007 18:04:30 +0100 dwww (1.10.1) unstable; urgency=high * Applied NMU patch from Frank Küster, see previous log entry. Thanks, Frank! (Note however the NMU was never uploaded). * debian/postinst: + restart all apache web servers, not apache2 only; + use invoke-rc.d to do the job. * dwww-find: + set proper type for links generated by SearchDocFile(); + BasePkgFiles(): make regexp not to fail on packages' names containing metacharacters (e.g. `swish++'). -- Robert Luberda Mon, 1 Jan 2007 22:53:01 +0100 dwww (1.10.0-0.1) unstable; urgency=high * NMU to fix RC, important and l10n bugs * Change firefox to iceweasel in dwww.links. This broke installing iceweasel when dwww was present, hence the urgency. (closes: #404775, #404662) * In postinst, restart apache2 if it is running (closes: #374665) * Use readlink -f instead of realpath, which isn't available in the packages dwww depends on (closes: #404666) * Spanish debconf translation update, by Steve Lord Flaubert and others (closes: #397061, #404748, #396474, #385051) -- Frank Küster Thu, 28 Dec 2006 17:58:59 +0100 dwww (1.10.0) unstable; urgency=low * Upload to unstable. * Summarise the most important changes made from the last unstable version in debian/NEWS. * Update man pages. * dwww.prerm: remove /var/www/dwww on package removal. -- Robert Luberda Sun, 4 Jun 2006 16:54:48 +0200 dwww (1.9.95) experimental; urgency=low * Move perl modules to perl/Debian/Dwww dir. * dwww-convert: Re-add support for DWWW_USEFILEDIR. * dwww-find: fix a typo. * dwww.links: move firefox search plugin to /usr/share/firefox dir. * debian/dwww.cron.*: remove unneeded source'ing the functions.sh file. * debian/*: bump to debhelper v5. * README: remove the note about apache2. * Remove realpath sources. * dwww.templates, po/*: fix `malformed-prompt-in-templates' lintian warning by replacing ending dots with colons. * Standards-Version: 3.7.2 (no changes needed). * Remove unneeded source.linian-overrides file. -- Robert Luberda Tue, 30 May 2006 21:32:03 +0200 dwww (1.9.94) experimental; urgency=low * Stop building the realpath package, which was moved to its own source package. -- Robert Luberda Sun, 7 May 2006 21:50:21 +0200 dwww (1.9.93) experimental; urgency=low * Common.pm: add missing slash for dirs URL (closes: #365552). * dwww-find: include links for some common package files, like copyright, changelogs or READMEs. * control: lower the menu package dependency. * dwww-build: description for man pages' section 3xp. -- Robert Luberda Thu, 4 May 2006 21:52:38 +0200 dwww (1.9.92) experimental; urgency=low * dwww.cgi: thttpd is broken and won't work with dwww (see bug#164306), warn users about it. * Utils.pm, dwww-build*: Add RenameDir() function, which uses rename() or File::NCopy::copy() to rename the temporary directory into the real one (closes: #363319). * Move GetURL() funcions from various perl scripts to newly added Common.pm module. * debian/control: Add dependency on libfile-ncopy-perl for the above change. * COPYING: Update FSF address. * dwww-format-man: rewrite in Perl to avoid su with its new behaviour. * Update dwww-format-man(8) page. * dwww-convert, dwww.cgi: add and pass new internal option (--no-path-info) to mark the arguments as using the old-style dwww URLs (i.e. not using PATH_INFO variable). * lib/dwww.template: use the new-style URL for the /usr/share/doc directory. -- Robert Luberda Sun, 23 Apr 2006 23:37:15 +0200 dwww (1.9.91) experimental; urgency=low * dwww-build, dwww-build-menu: generate dwww HTML dir directly in DWWW_DOCROOTDIR (i.e. /var/www/) (closes: #337158) to make dwww work with thttpd. * lib/*: use GET instead of POST for form submission (closes: #356023). * dwww.menu-method: add removemenu entry (closes: #358046). * apache.conf: remove alias for /dwww, use /var/www/dwww in Directory entry. * preinst: + remove /var/lib/dwww/html dir on upgrade to this version. + also remove some old stuff from the script. * Add support for searching packages containing file given by user: + lib*: include link for "Find package" using %MENUADD% and %FILEURL% variables. * dwww-convert: support those variables. + dwww-find: add --docfile argument. + moved printing HTTP headers from dwww-cgi to dwww-find. * Utils.pm: show the correct message in CheckAccess(). -- Robert Luberda Sat, 25 Mar 2006 14:27:02 +0100 dwww (1.9.90) experimental; urgency=low * Pass file locations using the PATH_INFO variable, not the QUERY_STRING. This allows us to send HTML files directly to client, without any convertions, so any embeeded javascript will just work (closes: #265573). * dwww.cgi, dwww-build, and others: update for the above change. * dwww-convert: + rewritten in Perl + use MIME:Types module for handling mime types. + move access checking code to Dwww::Utils. + drop html2html and css2css conversions code, no longer needed. + temporary drop handling of DWWW_USEFILEDIR, will be readded soon. * Dwww/Initialize.pl: split DWWW_DOCPATH & ALLOWEDLINKPATH into array for better access in other modules. * Dwww/Utils.pl: + Add CheckAccesss & StripDir functions, to check if we're allowed to show the requested file to client. Now we're using Cwd::realpath module instead of realpath(1) program. + Add RedirectToURL and ErrorMsg functions. * dwww-txt2html: add links to CVE and CAN lists. * debian/control: add dependency on libmime-types-perl & mime-support, drop dependency on realpath. -- Robert Luberda Sat, 18 Feb 2006 16:19:41 +0100 dwww (1.9.28) unstable; urgency=low * dwww-convert: while converting man pages pass `-Tascii8' argument to the man program. With this argument man seems not to filter the page with col(1). See Bug#340673. * Dwww/Initialize.pm: close filehandle used to read the dwww.conf file. -- Robert Luberda Sun, 22 Jan 2006 12:05:47 +0100 dwww (1.9.27) unstable; urgency=low * Fix FTBFS with new make (closes: #347357). * Initial translations of debconf templates: + Swedish (closes: #339547) + Portuguese (closes: #336926). * realpath.1: add reference to basename(1) and dirname(1) (closes: #342149). * menu-method: update path for install-menu program (lintian). -- Robert Luberda Sat, 14 Jan 2006 12:06:10 +0100 dwww (1.9.26) unstable; urgency=low * dwww.cgi: delete unsafe environment variables like IFS (closes: #330663). * dwww-refresh-cache: fix the find command warnings (closes: #328721). * Install searchplugins for mozilla & firefox (closes: #328945). -- Robert Luberda Wed, 5 Oct 2005 22:06:41 +0200 dwww (1.9.25) unstable; urgency=low * dwww.postinst: Fix confusing error message when $cgiuser is set to "root" (closes: #326796). * dwww-find: Remove the newly introduced 'Tag:' field from packages descriptions. * Fix possible bashisms as found by lintian in the maintainer scripts. -- Robert Luberda Fri, 16 Sep 2005 00:27:35 +0200 dwww (1.9.24) unstable; urgency=low * Initial Czech translation of debconf messages (closes: #315836). Thanks to Miroslav Kure . * dww-index++: change temporary file name, so it can be eventually cleaned by dwww-refresh-cache. -- Robert Luberda Sat, 16 Jul 2005 21:09:01 +0200 dwww (1.9.23) unstable; urgency=low * realpath: implement --zero option (closes: #307018), update man page. * Correct German translation of debconf templates (closes: #312410) Thanks to Jens Seidel . * Depend on httpd-cgi, not on httpd (closes: #186395). * Build-depend on the newest debhelper to have menu file moved to /usr/share/menu. * Dwww/*.pm: use perl built-in functions to get date and hostname instead of spawning external programs. * Standards-Version: 3.6.2. -- Robert Luberda Thu, 23 Jun 2005 22:56:34 +0200 dwww (1.9.22) unstable; urgency=low * Add Vietnamese translation of debconf templates (closes: #311600). Thanks to Clytie Siddall . * dwww-build: refer to external BTS documentation if the doc-debian is not installed (closes: #309951). * dwww-build: use Cwd 'realpath' instead of local no-op function. -- Robert Luberda Sun, 5 Jun 2005 16:06:34 +0200 dwww (1.9.21) unstable; urgency=medium * dwww-find: surround the search argument passed to man or dpkg with quotation marks. * dwww-find: add

header on the reg. docs search results page to make it look like other pages. * Utils.pm: remove some unnecessary spaces. -- Robert Luberda Fri, 6 May 2005 22:49:24 +0200 dwww (1.9.20) unstable; urgency=low * Add two new cache files: one for caching parsed contents of the doc-base files and the second one for mapping doc-base files names to package names. * Introduced the new script: dwww-refresh-cache to generate the second of the above mentioned cache and to manage the cache directory in general. * dwww-build-menu: + generate the first of above mentioned files while building the menu + use the second cache file to display links to packages including the doc-base files. * dwww-find: make use of the first cache file and add the "Registered documentation" section to program/package search output page. * dwww-refresh-cache: clear possible temporary files generated by index++ in case dwww-index++ was interrupted. * dwww.cron.daily: simplified; call dwww-refesh-cache. * Updated dwww(8) man page. * Makefile, functions.sh.in: simplified generation of the dwww variables set in the functions.sh script. * dwww-convert: redirect error output of man program to /dev/null not to clutter the web server log files with bogus "reformatting..." messages. -- Robert Luberda Sat, 9 Apr 2005 17:42:46 +0200 dwww (1.9.19) unstable; urgency=low * lib/man-in-section.start: correct logo image height. * dwww-build: a few missing sections descriptions. * lib/menu*: make menu background colour darker, so it's displayed on LCD monitors. * dwww-find: fix searching for a package or program when quickfind cache file is not available. * dwww-build.menu.8: update-menus man page is in the section 1, not 8. * swish++.conf: generate temporary files in /var/cache/dwww, not in /var/lib/dwww. -- Robert Luberda Thu, 7 Apr 2005 23:57:07 +0200 dwww (1.9.18) unstable; urgency=medium * Fix typo in the dwww(1) man page (closes: #302824). * dwww-build: added missing sections descriptions - extracted all manual sections from the Contents-i386.gz file and wrote their descriptions. * Replace the Debian logo with a better, PNG version stolen from the info2www package. * dwww-build-menu: don't display dwww warnings when doc-base file does not contain title or abstract fields. -- Robert Luberda Mon, 4 Apr 2005 08:06:31 +0200 dwww (1.9.17) unstable; urgency=low * Dwww/Initialize.pm: correct broken regexp used to read configuration file. * Move swish++ and quickfind.dat cache files to from /var/lib/dwww to /var/cache/dwww. Also change dwww-cache directory to /var/cache/dwww/db. * lib/menu* templates: change background colour of the left side menu to some nicer value. * Include /etc/dwww/apache.conf file symlinked from /etc/apache*/conf.d/dwww (closes: #298678). * dwww-index++: + add DWWW_INDEX_DOCUMENTATION variable to allow disabling documentation indexing. + use man2html's generated index of man pages when the another newly added configuration variable DWWW_MERGE_MAN2HTML_INDEX is set to `yes'. + split `Files:' field on spaces. -- Robert Luberda Sun, 13 Mar 2005 11:06:34 +0100 dwww (1.9.16) unstable; urgency=low * dwww.menu-method: rename repeat_lang to outputlanguage (closes: #282494). * lib/menu.end: temporaily removed link to the "errors & warnings" page (but the page itself is still generated); I will restore it after sarge is released. BTW. I think it should be lintian (or linda) job to report errors in doc-base files. -- Robert Luberda Tue, 23 Nov 2004 20:25:02 +0100 dwww (1.9.15) unstable; urgency=low * Rebuild for unstable. -- Robert Luberda Thu, 26 Aug 2004 20:48:05 +0200 dwww (1.9.14) testing-proposed-updates; urgency=low * Fix bad English grammar in debconf templates (closes: #265658). Thanks to Julian Mehnle for the patch! * Run debconf-updatepo and manually remove any `#,fuzzy' marks. * README: added short note about the cgi module disabled by default in apache2 (closes: #262328). * Put some stupid ;-) comment at the top of dwww.cgi in case of it would be displayed instead of executed... -- Robert Luberda Thu, 26 Aug 2004 19:39:54 +0200 dwww (1.9.13) unstable; urgency=low * New, simplified front page layout (closes: #253403) Many thanks to August Mayer for this! * Allow `+' in mail addresses (closes: #261215). -- Robert Luberda Thu, 29 Jul 2004 23:42:39 +0200 dwww (1.9.12) unstable; urgency=medium * `realpath -s' works with relative pathnames again (closes: #253494). -- Robert Luberda Mon, 14 Jun 2004 23:43:59 +0200 dwww (1.9.11) unstable; urgency=low * Correct `realpath -s' which incorrectly treated all files containing `.' or `..' as if they were the `.' or `..' directories (closes: #250455). Thanks to mwright@acad.stedwards.edu for noticing this. * Add source lintian overrides file for `cvsignore-file-in-source'. -- Robert Luberda Mon, 24 May 2004 21:36:30 +0200 dwww (1.9.10) unstable; urgency=low * Add Dutch translation of debconf templates (closes: #245267) Thanks to Luk Claes . * dwww.menu-method: set repeat_lang=""; to be consistent with doc-base which do not support translations. -- Robert Luberda Fri, 30 Apr 2004 00:37:24 +0200 dwww (1.9.9) unstable; urgency=low * cron.daily: recreate /var/cache/dwww if needed (closes: #241920). * dwww-txt2html.c: stricter checking of mail addresses (closes: #243088). -- Robert Luberda Sun, 18 Apr 2004 18:03:51 +0200 dwww (1.9.8) unstable; urgency=low * Add Japanese translation of debconf templates (closes: #236983). Thanks to OHURA Makoto . * Run debconf-updatepo. * dwww-quickfind.c: parse package list separated with commas. -- Robert Luberda Sat, 27 Mar 2004 11:16:02 +0100 dwww (1.9.7) unstable; urgency=low * dwww-find improve searching for menu items: + make search results independent of search words order (closes: #225050) + quote perl regexp characters, so e.g searching for `..' does not return all menu entries. * debian/control: mention `readlink -f' in the realpath package's description (closes: #212119). * Minor improvements in the realpath(1) man page. -- Robert Luberda Sat, 24 Jan 2004 12:02:43 +0100 dwww (1.9.6) unstable; urgency=low * dwww-build rewritten in Perl: + supports strange characters in man pages names. + combine "man by section index" and "man by name index" pages into one page, as suggested in #49353 + change structure of http://localhost/dwww/man/ directory * Updated dwww templates. * Fixed typos in dwww-find(8) and dwww-index++(8) man pages. * Updated a Brazilian Portuguese debconf template translation. Thanks to Andre Luis Lopes . (Closes: #207966). * Standards-Versions: 3.6.1 (no changes). -- Robert Luberda Thu, 11 Sep 2003 19:47:48 +0200 dwww (1.9.5) unstable; urgency=medium * dwww-build: limit characters, which can be used in man pages' paths, to alphanumerics and few other known characters. Now we just ignore broken man pages with a quotation mark in section name (closes: #204903). * dwww.config: Removed a bogus `print "$p\n"' from mkdir_p procedure. It confused debconf and caused strange errors in some cases. (closes: #189378) * Description improvements (closes: #206039). -- Robert Luberda Wed, 20 Aug 2003 08:22:14 +0200 dwww (1.9.4) unstable; urgency=low * dwww: use sensible-browser to load URLs (closes: #201101). + updated dwww(1) man page. + added dependency on debianutils (>=2.5) for sensible-browser. * dwww-convert: + when converting html files, do not set charset in HTTP header. Proper charset should be set in the html file itself using appropriate META tag (closes: #202710). + set charset of changelog.Debian.gz files to UTF-8. * Minor fixes in dwww-build and dwww's templates. * Recode this changelog to UTF-8. * Standards-Version: 3.6.0. -- Robert Luberda Sun, 27 Jul 2003 18:16:36 +0200 dwww (1.9.3) unstable; urgency=low * dwww-build-menu: don't complain about directories that don't need to exist (closes: #190362). * DocBase.pm: strip trailing whitespace while parsing doc-base files (closes: #193449). * dwww.menu-method: replace `$' with `-' in generated file names. * dwww-convert: it seems magic2mime command was removed from current file package, use `file -i' to find out mime types of files. * Minor fixes in html templates. -- Robert Luberda Mon, 19 May 2003 07:04:56 +0200 dwww (1.9.2) unstable; urgency=low * dwww-find: + packages' info files wasn't shown; fix regexp I broke in 1.9.0. + if dpkg-www is installed, add links to packages' pages created by its CGI script. * debian/control: suggests dpkg-www package. * debian/dwww.config: create /usr/lib/cgi-bin and /var/www if they don't exist (closes: #188267). * dwww needs CGI-capable web server, it won't work with e.g. dhttpd. Add this information to both README and description of dwww package. This addresses #186395, but doesn't fix it. * various files: fix spelling typos found with ispell. -- Robert Luberda Fri, 11 Apr 2003 00:28:14 +0200 dwww (1.9.1) unstable; urgency=low * Update French translation of debconf templates (closes: #186166). Thanks to Denis Barbier . * Update German translation of templates from DDTP page. * Minor fixes in dwww-build-menu, dwww-convert and html templates. -- Robert Luberda Thu, 3 Apr 2003 22:58:43 +0200 dwww (1.9.0) unstable; urgency=low * Added new command dwww-build-menu, which creates `Debian Documentation Menu' page by parsing /usr/share/doc-base/* files. This give us better control on the content and look of the generated page (closes: #110354, #180603, #60483). * dwww.menu-method was changed to generate doc-base-like files in /var/lib/dwww/menu-methods for backward compatibility and to call call dwww-build-menu. * cron.daily: + call dwww-build-menu + code cleaning. * Added new dwww-index++, which parses doc-base files and generates index of registered documentation using index++ command from swish++ package * debian/dwww.cron.weekly: new script, calls dwww-index++ * debian/control: dwww suggests swish++ package * dwww-find: + rewritten in Perl + add support for searching in `Debian Documentation Menu' page + add support for searching in registered documentation files (closes: #51886). * Wrote Perl modules, installed into /usr/share/perl5/Debian/Dwww, used by the above mentioned commands. * dwww.cgi: + pass some new arguments to dwww-find command. + don't fork a new process, just exec other programs. + some code cleanup. * Reorganise source tree: + removed old, unused files. + moved man pages to man/ directory. + moved cron.daily to debian/dwww.cron.daily. * lib/*: enclose templates variables with '%'s (e.g. change TITLE to %TITLE%) * Modified all dwww programs to support the above change in templates. * Update all man pages and wrote man pages for new commands. * Update COPYING from /usr/share/common-licenes/GPL. * Update TODO file. * Fix spelling of `man page' (s/manpage/man page) in all files. * Add dependency on doc-base (>= 0.7.17). * Drop build dependency on po-debconf as debhelper depends on it. * Bump Standards-Version to 3.5.9. -- Robert Luberda Mon, 17 Mar 2003 23:31:15 +0100 dwww (1.8.8) unstable; urgency=low * debian/dwww.preinst: + remove an old code from dwww 1.5.0 + remove any `*.saved_by_dwww_preinst' files, generated by dwww 1.5.0 (closes: #182920). + remove `/index.html' misgenerated by dwww 1.8.0 (see: #181036, #162905). * dwww-build (man_by_section_index): add more descriptions. * functions.sh.in: add `/var/www' to default value of DWWW_ALLOWEDLINKPATH (info2www doc-base entry needs this). * dwww.8: update for new version of man2html package. * lib/dwww.template: fix line endings. -- Robert Luberda Sun, 2 Mar 2003 16:30:55 +0100 dwww (1.8.7) unstable; urgency=low * dwww-convert: + convert_html_anchors(): do not convert absolute links that starts with /cgi-bin/. * dwww-txt2html.c: + allow `+' and `@' in URLs (e.g. http://www.suse.de/~florian/kernel+egcs.html and http://bugs.debian.org/debian-gcc@lists.debian.org) + allow `+' in dirnames. -- Robert Luberda Sat, 25 Jan 2003 12:58:56 +0100 dwww (1.8.6) unstable; urgency=low * dwww-txt2html.c: + output the last line of file even if it doesn't end with `\n' + while converting man pages cut off the repeated newlines. -- Robert Luberda Sat, 4 Jan 2003 10:26:45 +0100 dwww (1.8.5) unstable; urgency=low * dwww-convert: convert_html_anchors(): do properly quote $1 and $2 passed to perl, so it now works with html files which names contain spaces, like `CCCC User Guide.html' in /usr/share/doc/cccc. * dwww-find: improve perl regexp used to handle output of apropos command. -- Robert Luberda Sun, 15 Dec 2002 13:10:21 +0100 dwww (1.8.4) unstable; urgency=low * Converted debconf templates to po-debconf. * Removed dependency on awk (lintian). -- Robert Luberda Tue, 10 Dec 2002 00:31:08 +0100 dwww (1.8.3) unstable; urgency=low * dwww-find: + better formatting of package descriptions + apropos search handles lines like `foo (1) [bar] - foobar' correctly (i.e. makes reference to bar.1, not to foo.1) + improve html formatting of search results page. * Rename dwww.find.start (in /usr/share/dwww) to dwww-find.start. * dwww-cache: + fix format string used to generate paths (s|%20s|%.20s|g) + s/size_t/ssize_t/ everywhere where it's needed. * Many files: encode `&' as `&' in URLs. * Makefile: added -Wstrict-prototypes -Wmissing-prototypes to CFLAGS. * dwww: support www-browser. * Standards-Version: 3.5.8 (no changes). -- Robert Luberda Mon, 25 Nov 2002 23:45:30 +0100 dwww (1.8.2) unstable; urgency=low * dwww: add support for x-www-browser and galeon (closes: #162515). -- Robert Luberda Thu, 24 Oct 2002 07:48:36 +0200 dwww (1.8.1) unstable; urgency=high * dwww-build: Oops, don't create index.html in the root directory (closes: #162905). -- Robert Luberda Thu, 3 Oct 2002 09:25:54 +0200 dwww (1.8.0) unstable; urgency=low * Remove DWWW_SERVERTYPE and automatic searching for installed web servers. Now dwww doesn't try to guess DWWW_DOCROOTDIR, DWWW_CGIDIR, and other variables. You have to set them by hand (with debconf or by editing /etc/dwww/dwww.conf (closes: #157023). Rationale: We have almost 20 different web servers in Debian. It's very hard to handle them all, and probably it's not even needed since most of them uses default settings as required by the Debian Policy. Updated flies: debian/{dwww.config, dwww.postinst, dwww.templates*}. * dwww-convert: + If requested file does not exist, check for file with suffix ".en" (closes: #117781). + Introduced distinction between type=file&location=/path/to/directory (shows index.htm* file if exists) and type=dir&file=/path/to/directory (shows contents of the directory). + If file extension starts with a number, and file path contains "/man/", assume it is a man page. * dwww-build: + Don't use subdirectory of /var/cache/dwww (which can be removed by a local admin) for temporary files; use `tmpfile' command instead. + man_by_section_index: If we have man pages in section Nxxx, but not in section N, force section N to be listed (e.g. 9gii and 9). + Add `set -e'. + Remove unneeded (and already commented out) parts of code. * dwww: added elinks to TXT_BROWSERS. * Standards-Version: 3.5.7 * Build with debhelper v4. * Handle DEB_BUILD_OPTIONS=noopt,nostrip (and as my addition: nodebug) -- Robert Luberda Fri, 13 Sep 2002 08:59:45 +0200 dwww (1.7.9) unstable; urgency=low * dwww-convert: + Do not convert css files to html (closes: #155993). + Added builtin_css2css function which converts URIs in url() property. + Print the Last-Modified header. + Always print the Content-Disposition header. -- Robert Luberda Thu, 15 Aug 2002 21:11:15 +0200 dwww (1.7.8) unstable; urgency=low * dwww-convert: + Applied patch from Daniel Martin , who rewrote the html2html convert procedure, so it can correctly handle `+' symbols in URIs now (closes: #151637). + Fixed the bad_symlink function (closes: #154801). Many thanks for your help, Daniel! * dwww-convert: + Added ErrorMsg function for better handling of errors. + If a file doesn't exist, check with badfile() if the file would be under some directory in DWWW_DOCPATH, and if yes - show "File not found" error message instead of "Access denied". * dwww-find: fixed broken regexp in apropos handling function (closes: #155188). * I can't reproduce the "Use of uninitialised value ..." bug, probably it was a debconf bug (closes: #137254). -- Robert Luberda Thu, 8 Aug 2002 23:27:36 +0200 dwww (1.7.7) unstable; urgency=low * Recompile for unstable. -- Robert Luberda Mon, 24 Jun 2002 23:47:46 +0200 dwww (1.7.6.woody.1) woody-proposed-updates; urgency=low * Upload to woody, no changes in source. The current dwww version in woody is 1.7.4, but I'd like to see 1.7.6 there: it has fixed a few of bugs and no new bug has been reported for 6 weeks. So it really is worth including in woody, I think. -- Robert Luberda Mon, 24 Jun 2002 23:23:25 +0200 dwww (1.7.6) unstable; urgency=low * dwww-quickfind.c: don't allow package names to contain spaces or commas (closes: #146116). * dwww-find: show info for all packages returned by dwww-quickfind, not only the first one. * dwww-find, dwww-build: signal handling with `trap' command. -- Robert Luberda Wed, 8 May 2002 08:47:22 +0200 dwww (1.7.5) unstable; urgency=medium * dwww-find: removed bashism (closes: #144253). * dwww.cgi: Allow `[' character (closes: #142019). * dwww(1) now uses DWWW_BROWSER or DWWW_X11_BROWSER, if defined in /etc/dwww/dwww.conf, to load the dwww page. Also if the variables are not defined, we prefer mozilla over netscape (closes: #143850, #130500). * Minor fixes in html templates. -- Robert Luberda Thu, 25 Apr 2002 08:58:12 +0200 dwww (1.7.4) unstable; urgency=low * dwww-find: + call tmpfile to create temporary files insted of putting them in /var/cache/dwww. + it now can display packages' description (using apt-cache for that). + to speedup use dlocate, if found. * debian/control: recommend dlocate and apt. * Modified and cleaned up templates, esp. changed foot of generated pages. * dwww-convert: + generate Content-Disposition header. + readded support for type=info; new builtin_info2html just calls info2www. * dwww-daily, dwww-format-man: call su with option -s to override user www-data's shell (closes: #141459). * Closing old bugs, which seem to have been already fixed: closes: #36088, #15767. -- Robert Luberda Sun, 7 Apr 2002 19:41:25 +0200 dwww (1.7.3) unstable; urgency=low * dwww-txt2html.c: it now supports references divided into two lines, when converting man pages. * Added Spanish translation of template file (closes: #136482). Thanks to Carlos Valdivia Yagüe . * Added French translation of template file (closes: #137055). Thanks to Philippe Batailler . * debian/control: dwww recommends doc-base. * dwww-daily: added `set -e'. * realpath -s does not check if file exists. * Modified maintainer scripts (dwww.config, dwww.postinst, dwww.preinst) to better handle upgrading from potato (dwww version 1.4.3.5-1.9): + read settings from dwww.conf and don't ask about them (closes: #103329). + remove /etc/*/dwww files unless modified. * dwww(8) updated and reformatted: + described missing configuration variables. + added information how to configure dwww to use man2html to convert man pages (closes: #61802). + added dwww.conf(5) as symlink to dwww(8). -- Robert Luberda Tue, 19 Mar 2002 08:07:04 +0100 dwww (1.7.2) unstable; urgency=low * It seems the boa web server sets strange umask (0177) and closes stderr for spawned cgi programs. Because of that, dwww-cache had written its error messages to .cache_db and than segfaulted on such broken database file. To fix the problem (closes: #134382): + functions.sh: added dwww_initialize function, which i.a. sets default umask 022 for all dwww scripts. + added utils.c with dwww_initialize, which sets umask and reopens stdin, stdout and stderr. + dwww-cache.c: s/sprintf/snprintf/ almost all. * dwww-convert: + builtin_html2html no longer uses DWWW_SERVERNAME when converting anchors. Now it outputs anchors like "/cgi-bin/dwww....", not "http://$DWWW_SERVERNAME/cgi-bin/dwww..." (closes: #112843). + it also converts links. + correctly handles case when type=dir and location=/path/to/not/dir. * dwww-quickfind rewritten, now it stores informations about packages, not only programs (closes: #132000). + removed an item from TODO, updated dwww(1) man page. * dwww.template: rewritten by William Clifford , so it now uses CSS and validates with w3's html validator. Thanks, William! * cron.daily/dwww: set maxdepth in find expression to 2, so now cache dir will get cleaned. -- Robert Luberda Fri, 22 Feb 2002 08:47:54 +0100 dwww (1.7.1) unstable; urgency=low * dwww-txt2html partially rewritten to adds anchors for more types of URIs: + http and ftp sites (e.g. ftp.somewhere.com) + mail addresses (foo@bar.com) + documentation references in /usr{/|/share|/local}/{doc|man} dirs + `closes #bug_no' statements * Option --man is ignored, dwww-txt2html converts manual page references in all documents. * Cache also text/plain documents. * Added new file /usr/share/dwww/functions.sh with common functions. * Do better output formatting using tags in dwww-find and function builtin_dir2html from dwww-convert. * dwww-convert:builtin_man2html now displays man pages which contains '.so' requests like lastb(1). * dwww-convert: added /usr/share/common-licenses/ to DWWW_DOCPATH. * dwww.cgi, dwww-convert: handle filenames with spaces like "Readme Win32.txt" in /usr/share/doc/overkill. * Ups, dwww-format-man got broken in 1.7.0 :(. Now is OK, I think. * Updated dwww-txt2html(8) and some other man pages. * Removed items about packaging style from TODO file. -- Robert Luberda Tue, 29 Jan 2002 21:15:21 +0100 dwww (1.7.0) unstable; urgency=low * Cache improvements (closes: #113529, #128263): + when a document is stored in the cache, set its mtime to mtime of original file. + create lock on cache database with flock. + added DWWW_USE_CACHE variable, so cache mechanism can be turned off if somebody doesn't like it. + action --store does not only store file in the cache, but also it outputs the file into the stdout. + cached documents are stored in subdirectories. + minor other modifications. * Applied patch from Chris Tillman (closes: #126851). * dwww-format-man: su to $DWWW_USER. -- Robert Luberda Tue, 15 Jan 2002 09:05:10 +0100 dwww (1.6.12) unstable; urgency=low * Fixed long description of realpath package (closes: #125306, #124253). -- Robert Luberda Sat, 22 Dec 2001 21:52:27 +0100 dwww (1.6.11) unstable; urgency=low * realpath moved to a separate package (closes: #52483). * dwww-convert: handle (closes: #121909). * debian/config: fixed perl warning (closes:#113891). -- Robert Luberda Sat, 8 Dec 2001 08:47:03 +0100 dwww (1.6.10) unstable; urgency=low * Added support for apache-ssl (closes: #111377). -- Robert Luberda Sun, 23 Sep 2001 22:26:18 +0200 dwww (1.6.9) unstable; urgency=low * Fix problem with permissions of /var/cache/dwww, introduced in 1.6.7 (closes: #110692). -- Robert Luberda Mon, 3 Sep 2001 00:35:10 +0200 dwww (1.6.8) unstable; urgency=low * dwww: added support from more browsers, including X11 browsers, based on script from dpkg-www package (closes: #110549). * We suggests links|www-browser since now. * Some fixes in man pages. -- Robert Luberda Wed, 29 Aug 2001 22:55:58 +0200 dwww (1.6.7) unstable; urgency=low * Fix "argument list too long" bug in postinst script (closes: #110377). * dwww-build: added --verbose option; print all "bad file ... skipped" warnings only in --verbose mode (closes: #110364). * Fix question in debconf template (closes: #110136). -- Robert Luberda Tue, 28 Aug 2001 20:32:55 +0200 dwww (1.6.6) unstable; urgency=low * realpath.c: added a -s option. * dwww-convert: corrected DWWW_ALLOWEDLINKPATH code, so this feature should work now (closes: #106819). * dwww-convert: code cleanups. -- Robert Luberda Thu, 23 Aug 2001 23:49:23 +0200 dwww (1.6.5) unstable; urgency=low * dwww-convert: Removed debugging code left by my mistake. -- Robert Luberda Fri, 17 Aug 2001 07:41:17 -0400 dwww (1.6.4) unstable; urgency=low * Added a Brazilian Portuguese debconf template translation. Thanks to Andre Luis Lopes . (Closes: #108525). * dwww-convert: added a DWWW_ALLOWEDLINKPATH variable (default to /usr/share: /usr/lib). This allows dwww to display a file, which is a symlink which points from file in directory included in DWWW_DOCPATH to file in a directory from DWWW_ALLOWEDLINKPATH (closes: #106819). * dwww.template: change location of documentation folders, really this time. -- Robert Luberda Tue, 14 Aug 2001 00:18:28 +0200 dwww (1.6.3) unstable; urgency=low * Added support for thttpd (closes: #103664) and roxen (closes: #104035). * menu-method: Encode URLs in generated menu file (closes: #106817). * Standards-Version: 3.5.6. * dwww.template: Change location of documentation folders to /usr/share/doc (closes: #107664). * Fix a typo in templates files. * Commented out unused parts of dwww-build. * Added dependency on awk, changed dependency on man to man-db. -- Robert Luberda Mon, 13 Aug 2001 01:09:05 +0200 dwww (1.6.2) unstable; urgency=low * Added German translation of debconf templates (closes: #99453) Thanks to Sebastian Feltel . * Added Polish translation of templates. * dwww-build: more fixes with building of man pages. * dwww-build: set $PATH explicitly (closes: #101339). * Changed debian logo (closes: #100016). * Do not install unused *.html files from lib/editorials. -- Robert Luberda Wed, 4 Jul 2001 23:47:35 +0200 dwww (1.6.1) unstable; urgency=low * dwww-convert: encode URL in dir2html and html2html functions (closes: #98396). * dwww-build: fix bug in building indexes of man pages. -- Robert Luberda Thu, 24 May 2001 19:34:22 +0200 dwww (1.6.0) unstable; urgency=low * Drop support for .dwww-index files, dwww-doc-index script removed too. (closes: #67739) * The menu method is now only method of generating documentation's index, so increased dependency on a menu package from `Recommends:' to `Depends:'. * Updated README file. * Debconf support added, old dwwwconfig script removed. New debconf config script should fix the problems listed below: + "dwww produces lots of output at installation time" (closes: #11897) + "dwww postinstall emits diagnostic but does not fail!" (closes: #29272) + "dwwwconfig does not honour SERVERTYPE setting..." (closes: #62605) + "wrong heuristic for finding active www server" (closes: #94297). * Modified dwww's html templates and Debian logo added (closes: #29015). * debian/prerm, debian/postrm: remove & purge cleanly (closes: #96059). * Wrote missing man pages: dwww-find.8, dwww-quickfind.8, dwww-txt2html.8 (closes: #23315). * dwww works with wn again (closes: #26074). * dwww-build, dwww.cgi, dwww-text2html: do proper URL encoding. * Include /var/www/dwww symlink in the package as /var/www is a standard Debian `web document root' (closes: #9365). * The above mentioned symlink must be absolute (because /var/www can be a symlink itself), so override lintian complains about that. * Standards-Version: 3.5.4 -- Robert Luberda Sun, 20 May 2001 17:02:10 +0200 dwww (1.5.2) unstable; urgency=low * dwww.cgi: convert %XX to alphanumeric *before* checking for invalid characters (closes: #93764). * dwww-build: we don't run update-menus, so we need to copy and save the menu.html file. * menu-method: remove generated menudefs.hook in postrun. * Added menu entry. * Updated debian/copyright. -- Robert Luberda Wed, 18 Apr 2001 23:23:23 +0200 dwww (1.5.1) unstable; urgency=low * dwww-convert: Applied patch from Jean-Philippe Guerard : + Several fixes in the HTML URLs conversion Perl script used in "dwww-convert". Should now correctly handle all URLs, including fragments, links splited over several lines, and unquoted URLs. + The HTML URLs conversion code used in "dwww-convert" is now in the "builtin_html2html" subroutine. + The HTML URLs conversion code in "dwww-convert" now handle tags (closes: #11535). + In "dwww-convert", when trying to find out the file type, the file extension is checked to guess the file type, then, if unsuccessful, the "file" command is used (closes: #62735). Many thanks for the patch, Jean. * dwww-convert: minor other improvements. * debian/postinst: dwww's database is built in the background (closes: #8907). * Fixes in menu-method: + make it compatible with menu-2 (closes: #37378). + add "runonlyasroot" option (closes: #51206). + add support for external links with "url" entry (closes: #14041). * dwww-build: do not call update-menus. There is no such need since every package which provides menu entry file, should call updates-menu in its postinst script (closes: #29502, #54694, #64263, #77331). * Closing NMU fixed bugs: closes: #8940, #10042, #10756, #17478, #19054, closes: #30058, #34432, #34855, #37856, #38317, #38821, #43904, #45902, closes: #45375, #47469, #48892, #49072, #49336, #49664, #51177, #53355, closes: #59185, #60557, #60664, #62158, #62394, #62596, #62726. -- Robert Luberda Sun, 8 Apr 2001 22:42:02 +0200 dwww (1.5.0) unstable; urgency=low * New maintainer (closes: #90877). * realpath: accept multiple arguments as documented in man page (closes: #65628). * dwww-convert: check if we are allowed to show a file before checking if the file exists (closes: #69968). * dwww-convert: if requested file does not exist, check if we can show compressed file (closes: #67916, #67917, #9338). * dwww-txt2html.c: dots and colons are allowed in manual pages names (closes: #9694, #26794, #41106). * dwww.cgi: if called without arguments, send redirect to dwww main page (closes: #76622). * dwwwconfig: fix typo in regular expression (closes: #63983). * dwww: added support for links and w3m browsers (closes: #23786). * Repackaged with debhelper v3. * Added Build-Depends (closes: #70364). * Supports DEB_BUILD_OPTIONS=debug,nostrip. * Updated man pages. * FHS updates: move cache dir to /var/cache/dwww, dwww templates to /usr/share/dwww. -- Robert Luberda Mon, 26 Mar 2001 22:56:32 +0200 dwww (1.4.3.5-1.9) frozen unstable; urgency=medium * Non-maintainer upload on behalf of Jean-Philippe Guerard . * Really solve the relative link bug in html documents. dwww-convert now take into account links starting with "#" that are references to the current document. -- J.H.M. Dassen (Ray) Sun, 14 May 2000 14:15:05 +0200 dwww (1.4.3.5-1.8) frozen unstable; urgency=medium * Non maintainer upload. * Updated the search pattern to include files in /usr/share/doc/. (Closes: #62726) * Empty arguments for dwww-build are now equivalent to --default. (Closes: #62596) * If the file is a link, overall file type is found by looking at the file, not at the file link. (Closes: #62394, #30058) * dwww now points only to /usr/doc, but lists also symlinks to /usr/share/doc. (Closes: #62158, #50260, #49664) * Rephrased the document root selection dialog. (Closes: #59185) * Updated dpkg-build to accept dates containing "/" characters. Patch by Mike Charlton. (Closes: #51177, #60664) * Added support for method HEAD in dwww.cgi. Patch by Jon Nelson. (Closes: #17478) * These bugs seem to be already fixed ! (Closes: #48892, #49060, #49132, #49336, #10756, #37250, #42979) (Closes: #45151, #53424, #38317, #37856, #34855, #9338) -- Jean-Philippe Guerard Mon, 8 May 2000 21:26:54 +0000 dwww (1.4.3.5-1.7) frozen unstable; urgency=medium * Non maintainer upload. I think dwww should be considered orphaned. * Fixed browsing of directories. Support both /usr/doc and /usr/share/doc. More consistent "type" handling in dwww-convert. Patch by Jean-Philippe Guérard. (Fixes: #55858, #57791) * Added /usr/share/info and /usr/local/info to dwww-convert's DWWW_DOCPATH. * Have both /usr/doc and /usr/share/doc in the top file. * Install postrm. * FHS migration. (Fixes: #48885) * Updated Standards-Version and made it lintian-clean. * Cleaned up the source archive. * Fixed HTML files and added DOCTYPE; they now validate using nsgmls. * Updated locations in copyright file. * Remove /etc/dwww/dwww.conf on purge. (Fixes: #37621) * Some bug reports are no longer applicable/reproducable. (Fixes: #10449, #34398, #25477, #26492, #32556, #32032, #34447, #36701, #46697) -- J.H.M. Dassen (Ray) Sun, 5 Mar 2000 15:45:34 +0100 dwww (1.4.3.5-1.6) frozen unstable; urgency=low * Non maintainer upload. * Corrected MIME type returned for converted manual pages using Roland Rosenfeld's patch. (Fixes: #53355, #54220, #58021) -- J.H.M. Dassen (Ray) Wed, 23 Feb 2000 20:23:12 +0100 dwww (1.4.3.5-1.4) unstable; urgency=low * Non maintainer upload. * [dwww-convert] Determine file types using file + magic2mime rather than guessing on the basis of a filename extension. (introduces dependency on file). Handle compression of non-HTML files. * [dwww-convert] Handle more types of links: * LINK HREF, so style-sheets like in wdg-html-reference's "html40/index.html" works. * BODY BACKGROUND. (Closes: #8940) * Fixed links to "undocumented" man page. (Closes: #51045) -- J.H.M. Dassen (Ray) Sat, 4 Dec 1999 11:51:32 +0100 dwww (1.4.3.5-1.3) unstable; urgency=low * Non maintainer upload. * [debian/rules] Added removal of debian/files to clean target (closes: #49072). -- Torsten Landschoff Mon, 8 Nov 1999 19:33:23 +0100 dwww (1.4.3.5-1.2) unstable; urgency=low * Fixing small thinko, really closing #43094 -- Martin Bialasinski Tue, 2 Nov 1999 21:47:28 +0100 dwww (1.4.3.5-1.1) unstable; urgency=low * NMU. * Recompiled against fixed publib-dev; fixes dwww-txt2html crashes. (Closes: #38821, #45092, #45375). * [dwwwconfig] Fixed chown call to protect against whole system chown in case of pilot error. (Closes: #43094). * [dwww-find] use /bin/sh rather than bash. (Closes: #19054). * [dwww.cgi] Fixed filename match regexp as per Mark Summerfield's suggestion. Makes dwww deal with perl module man pages properly. (Closes: #26794, #34015, #34456, #35788, #41106) * [Makefile] Use '!' as negator in character-class glob to remove '^' bashism. (Closes: #47469) * Applied AMAZING CURE 4 HAIR LOSS to README and make it go boldly. (Closes: #34432) * Put in a note in the README to point to doc-base as the uniform documentation registration system. * My older NMU has been acknowledged implictly. (Closes: #37378) * The cron job cds to a known-good directory since 1.4.1-1 (Closes: #10042) * The cron job does not seem to call update-menus anymore. (Closes: #29502) * Call update-menus in postinst and postrm (Lintian). -- J.H.M. Dassen (Ray) Sat, 30 Oct 1999 15:57:54 +0200 dwww (1.4.3.5-1) unstable; urgency=low * Change dependency to perl5. -- Jim Pick Mon, 5 Jul 1999 21:36:14 -0700 dwww (1.4.3.4-0.3) unstable; urgency=low * Use new-style menu-methods file (from menu's examples), as menu's handling of old-style menu-methods is currently broken (#37379). Fixes #37378. -- J.H.M. Dassen (Ray) Mon, 24 May 1999 12:18:56 +0200 dwww (1.4.3.4-0.2) frozen unstable; urgency=high * Remove reference to i386 and make it build on "any" again * Fix postrm to make purge really work this time. -- Joost Kooij Thu, 25 Jun 1998 16:51:52 +0200 dwww (1.4.3.4-0.1) frozen unstable; urgency=high * Fix detection of wn webserver to make it work with newer version. (Bug#23790) -- Joost Kooij Tue, 23 Jun 1998 11:55:20 +0200 dwww (1.4.3.3-0.1) frozen unstable; urgency=high * Back out chowning group of /var/spool/dwww in /usr/sbin/dwwwconfig. (Bug#237716) -- Joost Kooij Mon, 22 Jun 1998 09:29:40 +0200 dwww (1.4.3.2-0.1) frozen unstable; urgency=high * Fix use of /tmp for tempfiles in a lot of places: tempfiles are now created in /var/spool/dwww. Also fixed earlier "fix" that used /var/lib/dwww for tempfiles. This should fix the errors from various dwww-* tools that also caused cron.daily/dwww to send a daily complaint mail to root. (Bug#16212) * Install the dwww cgi script in /usr/lib/cgi-bin instead of /usr/lib/dwww. Changed dwwwconfig to create a copy instead of a symlink of the dwww cgi script to the effective cgi-bin directory if it is in a non-standard location. (Bug#11584,22018,22153,22173,23439) * Fix $ENV{PATH} in /usr/lib/dwww/dwww.cgi ; don't be so paranoid that dwww's children can't find basic stuff like grep and awk anymore. (Bug#16506,19045) * The "_" character is not a real security hazard. But it is used in a surprisingly high number of documentation filenames. (Bug#18203,18356,22229,23440) * Actually install dwww.1 man page. (Bug#9366,9369,9817) * Remove old backup file dwww.cgi~ from the source * Fixed the following reported lintian errors & warnings: - binaries w/o man pages (linked to undocumented.7.gz); (Bug#8327) - don't compress copyright file; - do compress man pages; (Bug#15706) - made symlinks to cgidir and webroot absolute. This should leave only the warning about the standards version, which is a good reminder to really audit dwww sometime soon. (Bug#6356) * No need to use the anti-social bashist "function" keyword in a /bin/sh script. ;-) (Bug#23624,10713) * Added descriptions for man pages in section 3thr (Bug#8875) and section 1db. * Added postrm script that can purge /etc/dwww/dwww.conf. (Bug#18110) * Added perl to the Depends: because dwwwconfig uses Getopts::Long which is only available in perl. (Bug#9101) * Added Suggests: lynx. (Bug#23546) * Upped the upstreams version number. -- Joost Kooij Thu, 18 Jun 1998 9:25:58 +0200 dwww (1.4.3-1) unstable; urgency=high * Another CGI security bug that allowed execution of arbitrary commands. I am now specifying a set of acceptable characters, rather than excluding certain ones and using perl -T. Fixes bug #18107 (Thanks to Martin Bialasinksi) * I know there are lots of other non-security bugs outstanding. They will be fixed in an upcoming, more substantial release. * libc6 version. -- Jim Pick Thu, 12 Feb 1998 00:51:17 -0800 dwww (1.4.2-1) stable; urgency=high * Another CGI security bug that allowed execution of arbitrary commands. I am now specifying a set of acceptable characters, rather than excluding certain ones and using perl -T. Fixes bug #18107 (Thanks to Martin Bialasinksi) * I know there are lots of other non-security bugs outstanding. They will be fixed in an upcoming, more substantial release. * Compiled for libc5 for bo-updates. -- Jim Pick Wed, 11 Feb 1998 23:22:37 -0800 dwww (1.4.1-1.1) unstable; urgency=high * libc6 compile * non-maintainer release * changed filelist="/tmp/dwww-find.list.$$" in dwww-find to filelist="/var/lib/dwww/find.list.$$" (Fixes: Bug#11830) -- Joel Klecker Wed, 31 Dec 1997 12:13:36 -0800 dwww (1.4.1-1) frozen unstable; urgency=high * Fixed major security flaw: dwww.cgi would accept backquotes and '$' characters, then pass them on to bash. This enables people to execute commands as the CGI user. Particularily dangerous if someone configures their web server to run CGI programs as root. dwww.cgi was modified to convert all backquotes and dollar signs into underscores. * dwww.cgi: don't convert '+' characters into spaces - fixes bug #8563 (Thanks Lars Wirzenius and Joost Witteveen) * dwwwconfig: place quotes around DWWW_SERVERTYPE in /etc/dwww/dwww.conf to cope with server names with space such as CERN httpd - fixes bug #8525 * /etc/cron.daily/dwww: added line to cd to /var/spool/dwww to prevent error message that someone was having (not me) - fixed bug #8591 -- Jim Pick Tue, 8 Apr 1997 12:00:21 -0700 dwww (1.4-1) unstable; urgency=low * Added emacs lines to changelog * dwww-convert: accepts HTML files that end in .htm - previously only .html was supported) (Thanks to Susan G. Kleinmann) * dwww-convert: properly handles files that do not exist * dwww-convert: checks for a .html.gz file if a .html file does not exist, and vice-versa (Thanks to Brian C. White) * dwww-convert: modified perl code in script to do replacements over the entire HTML file instead of doing it line by line * added full path to dwww-cache in /etc/cron.daily/dwww (Thanks to Herbert Xu for reporting the bug, and Henrik Wallin for the fix) - fixes bug #7088 * made fixes to dwww-find and dwww-doc-index to make dwww work with bash 2.0 - fixes bugs #7103, #7143 and #7156 (Thanks to Szymon M. Rusinkiewicz and Joey Hess) * dwww-convert: fixed small bug which confused newlines with contents of href tags * dwww-convert: recognize when filename is a directories. It it is, then check for index.htm* files, and display them as standard files if found. Removed code from builtin_dir2html() that would display index.htm* files. * dwww-convert: optimized builtin_dir2html() by using new feature of accessing directories using 'file' type. Removed sed scripts. Massive performance boost. :-) * dwww-convert: fixed builtin_dir2html() to do file links to all types of *.htm* files when using DWWW_USEFILEURL * dwww-convert: added code to check for .htm, .html, .htm.gz, and .html.gz files when file not found. Also, strip off HTML anchors. * Makefile, debian/rules: reworked directories, added /var/lib/dwww/html. Changed documentation files to be mode 0644. Removed sticky bit from /var/spool/dwww directory and removed /var/spool/dwww/.cache_db file. * dwww-doc-index: changed function names to be compatible with sh and bash - fixes bug #7267 (Thanks Bill Wohler) * adminlinks.htm, docintro.html, search-docs.html: removed these incomplete .html files to ./lib/editorial directory * dwww-build, dwww.template: Make more lynx friendly -- build man page indexes in separate directories. Put search engine first. Remove link to docintro.html (it's incomplete). Add link to menu.html. * dwww, dwww-build, dwww.1, dwww.8, postinst: Change location of main index page from http://localhost/dwww/dwww.html to http://localhost/dwww/index.html. * dwww-build, html templates: modified so that there are new indexes to the man pages, and they are in separate directories (much like how Yahoo is set up). * dwww-build, dwww.8: Make title configurable. * Added Joost Witteveen's Debian Documentation Menu (Thanks!). * change location for /etc/dwww.conf to /etc/dwww/dwww.conf * control: added Recommends: menu (>= 0.11) * dwwwconfig, Makefile, rules: moved dwwwconfig from debian directory in source to main directory * added /var/www/dwww and /usr/lib/cgi-bin/dwww symlinks - to conform to web standard * removed INSTALL.Debian file and removed many items from to do list * dwww-build: modified it to create index files for wn web server -- Jim Pick Sat, 22 Mar 1997 17:12:55 -0800 dwww (1.3-1) unstable; urgency=low * Removed references to localhost in dwww.template * Replaced references to file://localhost with reference to '/cgi-bin/dwww?type=file\&location=/usr/doc' * modified dwww-doc-index so that it doesn't complain if /usr/local/doc doesn't exist * added Perl code to dwww-convert to make links in html files point to cgi-script * added MIME headers to dwww-convert and removed them from cgi-script * added DWWW_SERVERNAME, DWWW_CGIUSER, and DWWW_USEFILEURL options to /etc/dwww.conf. Modified dwww.8 man page. * modified dwww script, and dwww-convert script to use DWWW_SERVERNAME instead of localhost * if DWWW_USEFILEURL is set, revert back to old behaviour of using file:// URL's for performance * modified dwww-build so that it doesn't complain about directories in the manpath that don't exist * modified dwww-daily (/etc/cron.daily/dwww) to use DWWW_CGIUSER when calling dwww-cache --clean * tested dwww against five different web servers and wrote INSTALL.Debian file -- Jim Pick Sun, 19 Jan 1997 20:28:51 -0800 dwww (1.2.1-1) unstable; urgency=low * New maintainer, Jim Pick * Added dwww-txt2html, dwww-doc-index and dwww-format-man to /usr/sbin directory - this should fix bugs #5604, #5674, #5785 * Added set -e to postinst, prerm - fixes bug #5975 * Modified dwww-daily, postinst to use www-data user when modifying /var/spool/dwww/.cache_db and set www-data to be owner of that file - fixes bug #5603 -- Jim Pick Sun, 15 Dec 1996 23:25:55 -0800 dwww (1.2-1) unstable; urgency=low * Added debian/* into upstream source. This changelog now works for upstream source as well. * Moved dwwwconfig into debian/dwwwconfig. * Added /usr/local/doc and /usr/share/doc into dwww front page. * Fixed dwww-cache's --list and --list-all show that they don't show out-of-date documents. * Changed "Package specific directories" into a normal "dir" request to dwww.cgi. This makes new packages immediately visible. * Removed "Copyrights" and "Examples" from front page. They're now inside package specific directories. * Added a C program to convert text to HTML. Much faster than the old sed jungle, and works better, too. Does manual pages too. However, doesn't remove headers and footers yet (and the old shell script code was buggy, so I removed it). * Removed package specific directory listing and copyrights from front page (and dwww-build). The latter is no longer needed, the former is better done with dir2html and caching. * Removed support for Info files (use info2www instead, since it actually works). * Removed support for compressed files in the cache. It slowed things too much, and wasn't all that useful, unless you were _really_ short on disk space. * Fixed bug in dwww-quickfind: now searching for "sh" doesn't find tkdesksh (for example), but always finds something that ends in /sh, i.e., /bin/sh. Still a problem if there is both a /bin/sh and a /usr/bin/sh. * dwww-quickfind: Reads output of "dpkg --search '*'" instead of /var/lib/dpkg/info/*.list. This gives more portability, but makes dwww-daily somewhat slower. Only looks at files that contain /bin/, /sbin/, /usr/games/, for speed reasons. * dwww-cache: strip unnecessary .html end from files in /var/spool/dwww. * Added dwww-format-man: batch format manual pages into the cache. * Added dependency on man, for obvious reasons. * Added lists of documents (dwww-doc-linux). * Added GPL as file COPYING. * Fixed man-sections.html. * dwww-cache: Added prefix compression. * dwww-build: fixed suffix removal from name (in.telnetd.8 used to result in "in", now in "in.telnetd") * dwww-build: doesn't find non-English manual pages (because they make lists confusing; a future version will create separate lists for each language) -- Lars Wirzenius Sun, 17 Nov 1996 01:44:19 +0200 dwww (1.1-3) unstable; urgency=low * Previous upload failed due to bad .changes file. -- Lars Wirzenius Wed, 9 Oct 1996 03:33:07 +0300 dwww (1.1-2) unstable; urgency=low * Updated to recognize new Apache setup. * Moved dwww link updating from postinst to /usr/sbin/dwwwconfig. * Upgrade does not require rebuild of dwww pages. -- Lars Wirzenius Fri, 4 Oct 1996 23:52:00 +0300 dwww (1.1-1) unstable; urgency=low * New upstream release. * Fixed compilation bug: cern-httpd no longer needs to be installed. * Fixed postinst bug: now works if Apache is the only httpd installed. -- Lars Wirzenius Wed, 2 Oct 1996 17:15:51 +0300 dwww (1.0-2) unstable; urgency=low * Added recommendation for info2www. * Fixed build-time dependency on cern-httpd (/home/httpd-data). -- Lars Wirzenius Tue, 24 Sep 1996 21:26:46 +0300 dwww (1.0-1) unstable; urgency=low * First release. -- Lars Wirzenius Tue, 24 Sep 1996 16:00:57 +0300 dwww-1.12.1/debian/compat0000644000000000000000000000000212265062111012066 0ustar 9 dwww-1.12.1/debian/control0000644000000000000000000000222412265062111012273 0ustar Source: dwww Section: doc Priority: optional Maintainer: Robert Luberda Build-Depends: debhelper (>= 9), dh-apache2, lsb-release, publib-dev Build-Conflicts: apache2-dev (<< 2.4.4-6~) Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/users/robert/dwww.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/robert/dwww.git Package: dwww Architecture: any Depends: apache2 | httpd-cgi, debianutils (>= 2.5), doc-base (>= 0.8.12), file, libfile-ncopy-perl, libmime-types-perl (>= 1.15), man-db (>> 2.5.2), mime-support, ucf (>= 3.12), ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Breaks: apache2 (<< 2.4.4-6~) Recommends: apt, dlocate (>= 0.5-0.1), info2www, swish++, ${misc:Recommends} Suggests: doc-debian, dpkg-www, links | www-browser Description: Read all on-line documentation with a WWW browser All installed on-line documentation will be served via a local HTTP server. When possible, dwww converts the documentation to HTML. You need to install both a CGI-capable HTTP server and a WWW browser to read the documentation. dwww-1.12.1/debian/copyright0000644000000000000000000000136412265062111012627 0ustar This is dwww, packaged for Debian by Lars Wirzenius . Original author is also Lars Wirzenius. The package is now maintained by Robert Luberda . Former maintainer was Jim Pick . Copyright: (C) 1996 Lars Wirzenius (C) 1996-1998 Jim Pick (C) 2001-2009 Robert Luberda (C) 2009 Harold Melton dwww is free software. You may copy it according to the GNU General Public License, version 2. A copy of the license is not included, but you can get one from most FTP sites that have GNU software, for example, ftp.gnu.org. On a Debian GNU/Linux system, the GPL can be found as /usr/share/common-licenses/GPL-2 . dwww-1.12.1/debian/dwww.config0000644000000000000000000001241512265062111013052 0ustar #!/usr/bin/perl -w # vim:ft=perl:cindent:ts=4:sts=4:et:sw # config for dwww use Debconf::Client::ConfModule qw(:all); use strict; version('2.0'); capb('backup'); my $cfgfile = '/etc/dwww/dwww.conf'; my %dwwwcfg; # Create directories we need, see bug #188267 &mkdir_p("/usr/lib/cgi-bin"); &mkdir_p("/var/www"); if ( -r $cfgfile ) { &ScanDwwwConfFile ( $cfgfile ); foreach my $cfgvar (('docrootdir', 'cgidir', 'cgiuser', 'serverport', 'servername')) { my $val = $dwwwcfg{'DWWW_' . uc($cfgvar)}; if ($val) { set("dwww/$cfgvar", $val); fset("dwww/$cfgvar", 'seen', 'true'); } } } if (not defined $dwwwcfg{'DWWW_SERVERNAME'}) { my $host=`hostname --fqdn`; chomp($host); set('dwww/servername', $host) if $host =~ /\w/; } my $state = 1; while ($state > 0 && $state < 4) { my @ret; if ($state == 1) { beginblock(); input('medium', 'dwww/docrootdir'); input('medium', 'dwww/cgidir'); input('medium', 'dwww/cgiuser'); endblock(); @ret = go(); # error handling my $dir = scalar get('dwww/docrootdir'); while ( ($ret[0] == 0) and not (($dir =~ m|^/|) and (-d $dir)) ) { subst('dwww/nosuchdir', 'dir', $dir); fset('dwww/nosuchdir', 'seen', 'false'); fset('dwww/docrootdir', 'seen', 'false'); set('dwww/docrootdir', '/var/www'); beginblock(); input('high', 'dwww/nosuchdir'); input('high', 'dwww/docrootdir'); endblock(); @ret = go(); $dir = scalar get('dwww/docrootdir'); } set('dwww/docrootdir', canondir($dir)); $dir = scalar get('dwww/cgidir'); while ( ($ret[0] == 0) and not (($dir =~ m|^/|) and (-d $dir)) ) { subst('dwww/nosuchdir', 'dir', $dir); fset('dwww/nosuchdir', 'seen', 'false'); fset('dwww/cgidir', 'seen', 'false'); set('dwww/cgidir', '/usr/lib/cgi-bin'); beginblock(); input('high', 'dwww/nosuchdir'); input('high', 'dwww/cgidir'); endblock(); @ret = go(); $dir = scalar get('dwww/cgidir'); } set('dwww/cgidir', canondir($dir)); my $usr = scalar get('dwww/cgiuser'); while ( ($ret[0] == 0) and not (($usr =~ m/^\s*\d+\s*$/) or (defined getpwnam($usr))) ) { subst('dwww/nosuchuser', 'user', $usr); fset('dwww/nosuchuser', 'seen', 'false'); fset('dwww/cgiuser', 'seen', 'false'); set('dwww/cgiuser', 'www-data'); beginblock(); input('high', 'dwww/nosuchuser'); input('high', 'dwww/cgiuser'); endblock(); @ret = go(); $usr = scalar get('dwww/cgiuser'); } } elsif ($state == 2) { beginblock(); input('medium', 'dwww/servername'); input('medium', 'dwww/serverport'); endblock(); @ret = go(); my $port = scalar get('dwww/serverport'); while ( ($ret[0] == 0) and ($port !~ /^\s*\d+\s*$/)) { subst('dwww/badport', 'port', $port); fset('dwww/badport', 'seen', 'false'); fset('dwww/serverport', 'seen', 'false'); set('dwww/serverport', '80'); beginblock(); input('high', 'dwww/badport'); input('high', 'dwww/serverport'); endblock(); @ret = go(); $port = scalar get('dwww/serverport'); } $port =~ s/\s+//g; set('dwww/serverport', $port); } elsif ($state == 3) { if (-x '/usr/bin/index++' and not -s '/var/cache/dwww/dwww.swish++.index') { beginblock(); input('low', 'dwww/index_docs'); endblock(); @ret = go(); } } if ( @ret and $ret[0] == 30 ) { $state--; # go back } else { $state++; # go forward } } # SUBROUTINES # Subroutine to Scan Dwww configuration file # Configfile to parse is the argument to the subroutine sub ScanDwwwConfFile($) { my $filename = shift; $dwwwcfg{'DWWW_SERVERPORT'} = 80; if ($filename && -r $filename) { open DWWWCONF, "<", $filename or die "Can't open $filename: $!\n"; while () { chomp(); # Note: the same regexp is used in Debian::Dwww:ConfigFile. next if /^\s*#/; if (m/^\s*([^=]+)\s*=\s*['"]?([^'"\s]+)['"]?\s*$/) { $dwwwcfg{$1} = $2 } } close DWWWCONF or die "Can't close $filename: $!\n"; } } sub canondir { my $dir = $_[0]; $dir =~ s|/+|/|g; $dir =~ s|/$||; return $dir; } # Check if $a exists in @_ sub exists_in { my $a = lc (shift); foreach $b (@_) { return 1 if ($a cmp (lc $b)) == 0; } return 0; } # Same as `mkdir -p' sub mkdir_p { my $dir = shift; return if (-d $dir); my $p = ""; foreach my $f (split "/", $dir) { $p .= $f . "/"; (-d $p) or (mkdir $p, 0755) or die "Can't create directory $p: $!\n"; } } dwww-1.12.1/debian/dwww.cron.daily0000644000000000000000000000101012265062111013634 0ustar #!/bin/sh # $Id: dwww.cron.daily,v 1.16 2006-05-30 18:56:45 robert Exp $ # # This housekeeping shell script is installed as /etc/cron.daily/dwww. # Cron automatically runs it once a day. # # This script re-builds the dwww web pages, and removes old documents # from the cache that have not been accessed for some number of days. # check if dwww is still installed test -x /usr/sbin/dwww-build || exit 0 set -e dwww-refresh-cache > /dev/null dwww-build --default > /dev/null dwww-build-menu > /dev/null exit 0 dwww-1.12.1/debian/dwww.cron.weekly0000644000000000000000000000074412265062111014047 0ustar #!/bin/sh # $Id: dwww.cron.weekly,v 1.3 2007-12-16 09:56:31 robert Exp $ # # This script creates an index of Debian documentation registered # with doc-base. See dwww-index++(8) man page for details. # check if swish++ is installed test -x /usr/bin/index++ || exit 0 # check if dwww is still installed test -x /usr/sbin/dwww-index++ || exit 0 set -e # See ionice(1) [ -x /usr/bin/ionice ] && IONICE="/usr/bin/ionice -c3 -t" || IONICE= $IONICE dwww-index++ > /dev/null exit 0 dwww-1.12.1/debian/dwww.dirs0000644000000000000000000000005112265062111012537 0ustar etc/dwww var/lib/dwww/ var/cache/dwww/db dwww-1.12.1/debian/dwww.lintian-overrides0000644000000000000000000000042312265062111015237 0ustar # The templates are used in debian/config. It seems lintian doesn't handle Perl scripts well. dwww: unused-debconf-template dwww/nosuchdir dwww: unused-debconf-template dwww/nosuchuser dwww: unused-debconf-template dwww/badport dwww: unused-debconf-template dwww/index_docs dwww-1.12.1/debian/dwww.maintscript0000644000000000000000000000012012265062111014130 0ustar mv_conffile /etc/dwww/apache.conf /etc/apache2/conf-available/dwww.conf 1.12.0~ dwww-1.12.1/debian/dwww.menu0000644000000000000000000000026312265062111012547 0ustar ?package(dwww):needs="x11" \ section="Help" \ title="Dwww" \ command="/usr/bin/dwww" ?package(dwww):needs="text" \ section="Help" \ title="Dwww" \ command="/usr/bin/dwww" dwww-1.12.1/debian/dwww.postinst0000644000000000000000000000761412265062111013475 0ustar #!/usr/bin/perl -w # vim:ft=perl:cindent:ts=4:sts=4:et:sw # # postinst for dwww # use Debconf::Client::ConfModule qw(:all); use Debian::Dwww::ConfigFile qw(ReadConfigFile WriteConfigFile); use strict; my $stdcgidir = '/usr/lib/cgi-bin'; my $cfgfile = '/etc/dwww/dwww.conf'; my $newcfgfile = '/etc/dwww/dwww.conf.dpkg-new'; $|=1; version('2.0'); if ($ARGV[0] eq 'configure' or $ARGV[0] eq 'reconfigure') { my $dwwwcfg = ReadConfigFile($cfgfile); # docrootdir my $old_docdir = $dwwwcfg->{DWWW_DOCROOTDIR}->{cfgval} ? canondir($dwwwcfg->{DWWW_DOCROOTDIR}->{cfgval}) : ''; my $old_cgidir = $dwwwcfg->{DWWW_CGIDIR}->{cfgval} ? canondir($dwwwcfg->{DWWW_CGIDIR}->{cfgval}): ''; $dwwwcfg->{DWWW_DOCROOTDIR}->{cfgval} = canondir(scalar get('dwww/docrootdir')); $dwwwcfg->{DWWW_CGIDIR}->{cfgval} = canondir(scalar get('dwww/cgidir')); $dwwwcfg->{DWWW_CGIUSER}->{cfgval} = get('dwww/cgiuser'); $dwwwcfg->{DWWW_SERVERPORT}->{cfgval} = get('dwww/serverport'); $dwwwcfg->{DWWW_SERVERNAME}->{cfgval} = get('dwww/servername'); my $do_index = (-x '/usr/bin/index++' and not -s '/var/cache/dwww/dwww.swish++.index' and scalar get('dwww/index_docs') eq 'true') ? 1 : 0; &SetupDwwwLinks ($old_docdir, $dwwwcfg->{DWWW_DOCROOTDIR}->{cfgval}, $old_cgidir, $dwwwcfg->{DWWW_CGIDIR}->{cfgval}); WriteConfigFile($newcfgfile, $dwwwcfg); my @cmd = ("ucf","--debconf-ok", "--three-way", $newcfgfile, $cfgfile); system (@cmd) == 0 or die "system @cmd failed: $!\n"; @cmd = ("ucfr", "dwww", $cfgfile); system (@cmd) == 0 or die "system @cmd failed: $!\n"; unlink ($newcfgfile); stop(); # stop debconf if ( ! -d "/var/cache/dwww" ) { mkdir "/var/cache/dwww", 0755 or die "Cannot create directory /var/cache/dwww: $!\n"; chown 0, 0, "/var/cache/dwww"; } else { system("rm", "-rf", "/var/cache/dwww/db"); } mkdir "/var/cache/dwww/db", 0755 or die "Cannot create directory /var/cache/dwww/db: $!\n"; my $cgiuser = $dwwwcfg->{DWWW_CGIUSER}->{cfgval}; my $uid = (getpwnam($cgiuser))[2] ; defined $uid or die "User $cgiuser does not exist\n"; $uid or die "You DON'T want to run the dwww CGI script as root!\n"; chown $uid, 0, "/var/cache/dwww/db"; if ( -x "/etc/cron.daily/dwww" ) { print STDERR "\nBuilding dwww pages in the background...\n"; system("setsid /etc/cron.daily/dwww &"); } if ($do_index and -x "/usr/sbin/dwww-index++") { print STDERR "\nIndexing documentation files in the background...\n"; system("dwww-index++ &"); } } else { stop(); # stop debconf } my $dh_commands="set -- @ARGV\n" . << 'EOF'; set -e if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "1.12.0~"; then for apache in "apache" "apache-perl" "apache-ssl" "apache2"; do confd="/etc/$apache/conf.d"; if [ -L "$confd/dwww" ] ; then rm -f "$confd/dwww" rmdir --ignore-fail-on-non-empty "$confd" "/etc/$apache" elif [ -e "$confd/dwww" ]; then echo "Warning: $confd/dwww exists, but it is not a symbolic link, " \ "please remove it manually." >&2 fi done fi #DEBHELPER# EOF system ($dh_commands) / 256 == 0 or die "Problem with shell scripts: $!"; exit 0; # SOUBROUTINES sub SetupDwwwLinks { my ($olddocdir, $newdocdir, $oldcgidir, $newcgidir) = @_; if (($olddocdir ne "") and ($olddocdir ne $newdocdir)) { system("rm", "-rf", "$olddocdir/dwww"); } if (($oldcgidir ne $stdcgidir) and ($oldcgidir ne "")) { unlink "$oldcgidir/dwww"; } if (($newcgidir ne $stdcgidir) and ( -d $newcgidir )) { unlink "$newcgidir/dwww"; system("cp","-p","$stdcgidir/dwww", "$newcgidir/dwww"); } } sub canondir { my $dir = $_[0]; $dir =~ s|/+|/|g; $dir =~ s|/$||; return $dir; } dwww-1.12.1/debian/dwww.postrm0000644000000000000000000000065612265062111013135 0ustar #!/bin/sh # vim:ft=sh:cindent:ts=4:sts=4:et:sw # # Debian postrm script for dwww. # set -e if [ "X$1" = "Xpurge" ]; then ! which ucf > /dev/null || ucf --purge /etc/dwww/dwww.conf ! which ucfr > /dev/null || ucfr --purge dwww /etc/dwww/dwww.conf if [ -d /etc/dwww ] ; then echo -n "Purging configuration data in /etc/dwww/ ... " rm -rf /etc/dwww echo "done." fi fi #DEBHELPER# exit 0 dwww-1.12.1/debian/dwww.preinst0000644000000000000000000000065312265062111013272 0ustar #!/bin/sh # vim:ft=sh:cindent:ts=4:sts=4:et:sw # # Debian preinst script for dwww. set -e #DEBHELPER# oldf=/etc/dwww/apache.conf newd=/etc/apache2/conf-available newf="$newd/dwww.conf" # Work-around for dpkg bug #711598 if [ -f "$oldf" ] && [ ! -e "$newf" ] && [ "$1" = "install" -o "$1" = "upgrade" ] && dpkg --compare-versions "$2" le-nl "1.12.0~"; then [ -d "$newd" ] || mkdir -p "$newd" mv "$oldf" "$newf" fi dwww-1.12.1/debian/dwww.prerm0000644000000000000000000000154112265062111012730 0ustar #!/bin/sh # # Debian prerm script for dwww. # "@(#)dwww:$Id: dwww.prerm,v 1.5 2007-01-01 10:42:36 robert Exp $" # set -e #DEBHELPER# if [ "X$1" = "Xremove" ] ; then rm -rf /var/lib/dwww rm -rf /var/cache/dwww rm -rf /var/www/dwww for apache in "apache" "apache-perl" "apache-ssl" "apache2"; do cfile="/etc/$apache/conf.d/dwww" dwwwf="/etc/dwww/apache.conf" if [ -L "$cfile" ] && [ x`readlink -f "$cfile"` = x"$dwwwf" ]; then rm -f "$cfile" elif [ -e "$cfile" ]; then echo "$cfile exists, but isn't symlinked to $dwwwf. Not removing" fi done if [ -r /etc/dwww/dwww.conf ]; then set +e . /etc/dwww/dwww.conf if [ -n "$DWWW_CGIDIR" ] && [ -x "$DWWW_CGIDIR/dwww" ] ; then rm -f "$DWWW_CGIDIR/dwww" fi if [ -n "$DWWW_DOCROOTDIR" ] && [ -d "$DWWW_DOCROOTDIR/dwww" ]; then rm -rf "$DWWW_DOCROOTDIR/dwww" fi fi fi exit 0 dwww-1.12.1/debian/dwww.templates0000644000000000000000000000361012265062111013600 0ustar Template: dwww/docrootdir Type: string Default: /var/www _Description: Location of web server's document root: dwww needs to know the path of the directory which contains your web server's document root. The web standard suggests /var/www. Template: dwww/cgidir Type: string Default: /usr/lib/cgi-bin _Description: Location of web server's cgi directory: dwww needs to know the path of the directory which contains your web server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your web server may already be configured for a different location. Template: dwww/cgiuser Type: string Default: www-data _Description: Name of CGI user: dwww needs to know what user will be running the dwww CGI script, as the cache directory must be owned by that user. Template: dwww/servername Type: string Default: localhost _Description: Host name of the web server: dwww needs to know the host name of your web server. Template: dwww/serverport Type: string Default: 80 _Description: Web server's port: dwww needs to know what port your web server is running on. Normally web servers run on port 80. Template: dwww/nosuchdir Type: note _Description: Directory does not exist! Directory ${dir} does not exist. Template: dwww/nosuchuser Type: note _Description: User not found! User ${user} does not exist. Template: dwww/badport Type: note _Description: Port value should be a number! Value entered for port: ${port} is invalid. Template: dwww/index_docs Type: boolean Default: false _Description: Should post-installation script index your documentation files? dwww-index++(8) program will be run once a week to index your documentation files registered with doc-base package. . The index can also be generated (in the background) by the post-installation script. This process needs quite a lot of computer resources, and can take several minutes so you can choose now if you would like to do this. dwww-1.12.1/debian/po/0000755000000000000000000000000012265062111011306 5ustar dwww-1.12.1/debian/po/POTFILES.in0000644000000000000000000000005112265062111013057 0ustar [type: gettext/rfc822deb] dwww.templates dwww-1.12.1/debian/po/cs.po0000644000000000000000000001213612265062111012256 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: dwww\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2005-06-25 20:05+0200\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Umístění kořene dokumentů webového serveru:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "dwww potřebuje znát cestu k adresáři, který obsahuje kořen dokumentů vašeho " "webového serveru. Obvykle to bývá /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Umístění adresáře cgi webového serveru:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "dwww potřebuje znát cestu k adresáři, který obsahuje CGI skripty vašeho " "webového serveru. Obvykle to bývá /usr/lib/cgi-bin, ale je možné, že je váš " "webový server nastaven jinak." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Jméno CGI uživatele:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "dwww potřebuje vědět, pod kterým uživatelem poběží CGI skript dwww, protože " "adresář s cache musí být tímto uživatelem vlastněn." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Jméno počítače s webovým serverem:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "dwww potřebuje znát jméno počítače s vaším webovým serverem." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Port webového serveru:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "dwww potřebuje znát port, na kterém běží váš webový server. Webové servery " "obvykle běží na portu 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Adresář neexistuje!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "Adresář ${dir} neexistuje." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Uživatel nebyl nalezen!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "Uživatel ${user} neexistuje." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Hodnota portu by mělo být číslo!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "Zadaná hodnota portu ${port} není platná." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "Má poinstalační skript vytvořit index vašich souborů s dokumentací?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Program dwww-index++(8) se bude spouštět jednou týdně, aby vytvořil index " "všech dokumentačních souborů registrovaných s balíkem doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "Index se také může vytvořit (na pozadí) poinstalačním skriptem. Proces " "vyžaduje spoustu počítačových prostředků a může trvat několik minut, takže " "máte na vybranou, zda jej chcete spustit nyní nebo až později." dwww-1.12.1/debian/po/da.po0000644000000000000000000001124012265062111012230 0ustar # Danish translation dwww. # Copyright (C) 2011 dwww & nedenstående oversættere. # This file is distributed under the same license as the dwww package. # Joe Hansen , 2011. # msgid "" msgstr "" "Project-Id-Version: dwww\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2011-05-03 17:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Placering af internetserverens dokumentrod:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "dwww skal kende stien på mappen som indeholder din internetservers " "dokumentrod. Internetstandarden foreslår /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Placering af internetserverens cgi-mappe:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "dwww skal kende stien på mappen, som indeholder din internetservers CGI-skript. " "Internetstandarden foreslår /usr/lib/cgi-bin, men din internetserver er måske " "allerede konfigureret til en anden placering." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Navn på CGI-bruger:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "dwww skal kende brugeren, som vil køre dwww CGI-skriptet, da mappen til " "mellemlageret skal være ejet af den bruger." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Værtsnavn på internetserveren:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "dwww skal vide værtsnavnet på din internetserver." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Internetserveres port:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "dwww skal vide hvilken port din internetserver kører på. Normale internetservere " "kører på port 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Mappe findes ikke!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "Mappe ${dir} findes ikke." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Bruger ikke fundet!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "Bruger ${user} findes ikke." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Portværdi skal være et nummer!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "Værdien indtastet for port: ${port} er ugyldig." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "Skal et efterinstallationsskript indeksere dine dokumentationsfiler?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Programmet dwww-index++(8) vil køre en gang om ugen og indeksere dine " "dokumentationsfiler registreret med pakken doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "Indekset kan også oprettes (i baggrunden) af efterinstallationsskriptet. Denne " "proces kræver en del computerressourcer og kan vare flere minutter, så du " "kan nu vælge, om du ønsker at udføre opgaven." dwww-1.12.1/debian/po/de.po0000644000000000000000000001215612265062111012243 0ustar # # This file is from the DDTP, the Debian Description Translation Project # # See http://ddtp.debian.org/ for more information. # msgid "" msgstr "" "Project-Id-Version: dwww\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2005-06-07 15:00+0200\n" "Last-Translator: Debian Description Translation Project \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" # Template: dwww/docrootdir # ddtp-prioritize: 42 # #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Wo ist das Dokument-Start-Verzeichnis?" # #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "dwww muss den Pfad fr das Dokument-Start-Verzeichnis des Webservers kennen. " "Standardmig ist dies das Verzeichnis /var/www." # Template: dwww/cgidir # ddtp-prioritize: 42 # #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Wo ist das CGI-Verzeichnis?" # #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "dwww muss den Pfad fr die CGI-Skripte kennen. Nach Web-Standard ist dies " "das Verzeichnis /usr/lib/cgi, aber Ihr Server knnte fr ein anderes " "Verzeichnis konfiguriert sein." # Template: dwww/cgiuser # ddtp-prioritize: 42 # #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Name des CGI-Nutzers:" # #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "dwww muss die Nutzerkennung wissen unter der dwww CGI-Skripte ausfhren " "kann, da dieser Nutzer auch Eigner des Cache-Verzeichnisses sein muss." # Template: dwww/servername # ddtp-prioritize: 42 # #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Rechnername des Webservers:" # #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "dwww muss den Rechnernamen Ihres Webservers kennen." # Template: dwww/serverport # ddtp-prioritize: 42 # #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Port des Webservers:" # #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "Auf welchem Port luft dwww? Normalerweise ist dies der Port 80." # Template: dwww/nosuchdir # ddtp-prioritize: 42 # #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Verzeichnis existiert nicht." # #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "Das Verzeichnis ${dir} existiert nicht." # Template: dwww/nosuchuser # ddtp-prioritize: 42 # #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Benutzer nicht gefunden!" # #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "Der Benutzer ${user} existiert nicht." # Template: dwww/badport # ddtp-prioritize: 42 # #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Der Port sollte eine Nummer sein!" # #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "Der angegebene Wert (${port}) ist nicht zulssig." # Template: dwww/index_docs # ddtp-prioritize: 42 # #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "Sollen nach der Installation Ihre Doc-Dateien indiziert werden?" # #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Das dwww-index++(8)-Programm wird jede Woche einmal aufgerufen und indiziert " "alle Ihre Dokumentations-Dateien, die beim doc-base-Paket angemeldet sind." # #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "Dieser Index kann auch nach der Installation (im Hintergrund) erstellt " "werden. Dieser Prozess braucht viel Computerleistung und kann mehrere " "Minuten dauern. Daher knnen Sie jetzt whlen, ob Sie dies mchten." dwww-1.12.1/debian/po/es.po0000644000000000000000000001363112265062111012261 0ustar # dwww po-debconf translation to spanish # Copyright (C) 2006 Software in the Public Interest, SPI Inc. # This file is distributed under the same license as the dwww package. # # Changes: # - Initial translation # Rudy Godoy , 2006 # Steve Lord Flaubert , 2006 # # Traductores, si no conoce el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducción en # http://www.debian.org/intl/spanish/notas # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # # Si tiene dudas o consultas sobre esta traducción consulte con el último # traductor (campo Last-Translator) y ponga en copia a la lista de # traducción de Debian al español () # , fuzzy # msgid "" msgstr "" "Project-Id-Version: dwww 1.10.0\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2006-12-26 04:57+0100\n" "Last-Translator: Steve Lord Flaubert \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Ubicación de la raíz de documentos del servidor web:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "Debe indicar a dwww la ubicación del directorio que contiene la raíz de " "documentos del servidor web. El estándar web sugiere «/var/www»." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Ubicación del directorio cgi del servidor web:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "Debe indicar el directorio que contiene los programas cgi del servidor web. " "El estándar web sugiere «/usr/lib/cgi-bin», pero puede que haya configurado " "el servidor web para utilizar una ubicación distinta." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Nombre del usuario que ejecuta el CGI:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "Debe indicar el usuario que va a ejecutar el programa CGI «dwww», pues éste " "debe ser el propietario del directorio de caché." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Nombre del sistema que aloja el servidor web:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "" "Debe indicar el nombre de la máquina en la que se encuentra el servidor web." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Puerto del servidor web:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "dwww necesita conocer en qué puerto está escuchando el servidor web. " "Usualmente, los servidores web utilizan el puerto 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "¡No existe el directorio!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "El directorio ${dir} no existe." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "¡Usuario no encontrado!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "El usuario ${user} no existe." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "¡El puerto debe ser un número!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "El valor proporcionado: ${port} no es válido." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "" "¿Desea indexar sus archivos de documentación después de la instalación?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "El programa dwww-index++(8) se ejecutará una vez a la semana para indexar " "sus ficheros de documentación registrados con el paquete doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "El índice también puede generarse (en segundo plano) con el programa de " "postinstalación Este proceso requiere muchos recursos del sistema y lleva " "varios minutos, por lo tanto usted puede escoger ahora si desea hacerlo." dwww-1.12.1/debian/po/fr.po0000644000000000000000000001222512265062111012257 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: dwww 1.9.0\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2003-03-21 21:51+0100\n" "Last-Translator: Denis Barbier \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "O se trouve le document racine du serveur web?" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "dwww a besoin de connatre l'emplacement du rpertoire o se trouve le " "document racine du serveur web. /var/www est l'emplacement standard." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "O se trouve le rpertoire cgi du serveur web?" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "dwww a maintenant besoin de connatre l'emplacement du rpertoire o se " "trouvent les scripts CGI de votre serveur web. /usr/lib/cgi-bin est " "l'emplacement standard, mais votre serveur peut avoir t configur " "autrement." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Nom de l'utilisateur CGI:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "dwww a maintenant besoin de savoir qui excutera les scripts CGI car cet " "utilisateur doit tre propritaire du rpertoire cache." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Quel est le nom d'hte de votre serveur?" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "dwww doit connatre le nom d'hte de votre serveur." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Quel est le port de votre serveur?" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "dwww doit connatre le port de votre serveur. Habituellement les serveurs " "web utilisent le port 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Rpertoire introuvable!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "Le rpertoire ${dir} n'existe pas." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Utilisateur introuvable!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "L'utilisateur ${user} n'existe pas." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Le numro de port doit tre un nombre!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "La valeur donne pour le port ${port} n'est pas un nombre." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "Indexer vos fichiers de documentation aprs l'installation?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Le programme dwww-index++(8) sera excut toutes les semaines pour indexer " "vos fichiers de documentation enregistrs auprs du paquet doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "L'index peut aussi tre gnr (en arrire-plan) par le script de post-" "installation. Ce processus prend beaucoup de ressources de la machine, et " "peut durer plusieurs minutes; vous pouvez dcider si vous souhaitez le " "faire maintenant ou non." dwww-1.12.1/debian/po/gl.po0000644000000000000000000001133712265062111012255 0ustar # Galician translation of dwww's debconf templates # This file is distributed under the same license as the dwww package. # Jacobo Tarrio , 2008. # msgid "" msgstr "" "Project-Id-Version: dwww\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2008-05-24 12:16+0100\n" "Last-Translator: Jacobo Tarrio \n" "Language-Team: Galician \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Ubicación da raíz de documentos do servidor web:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "dwww precisa de coñecer a ruta do directorio que contén a raíz de documentos " "do servidor web. O estándar web suxire /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Ubicación do directorio cgi do servidor web:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "dwww precisa de coñecer a ruta do directorio que contén os scripts CGI do " "servidor web. O estándar web suxire /usr/lib/cgi-bin, pero o servidor web " "pode estar xa configurado para outra ubicación." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Nome do usuario do CGI:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "dwww precisa de saber que usuario ha executar o script CGI de dwww, xa que o " "directorio de caché ha ser propiedade dese usuario." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Nome do servidor web:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "dwww precisa de coñecer o nome do servidor web." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Porto do servidor web:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "dwww precisa de saber en que porto funciona o servidor web. Normalmente, os " "servidores web funcionan no porto 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "O directorio non existe." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "O directorio \"${dir}\" non existe." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Non se atopou o usuario." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "O usuario ${user} non existe." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "O valor do porto debe ser un número." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "O valor introducido para o porto, ${port}, non é válido." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "" "¿Quere que os scripts de post-instalación indexen os ficheiros de " "documentación?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Hase executar o programa dwww-index++(8) unha vez por semana para indexar os " "ficheiros de documentación rexistrados co paquete doc-base.." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "Tamén se pode xerar o índice (en segundo plano) co script de post-" "instalación. Este proceso precisa de bastantes recursos do ordenador, e pode " "levar varios minutos, así que agora pode indicar se quere facelo." dwww-1.12.1/debian/po/it.po0000644000000000000000000001164512265062111012271 0ustar # Italian translation of dwww'S PO-DEBCONF FILE. # Copyright (C) 2011 Free Software Foundation, Inc. # This file is distributed under the same license as the dwww package. # Mirco Scottà , 2011. # Collaboratively translated during an online sprint, thanks to all contributors! # msgid "" msgstr "" "Project-Id-Version: 1.11.5\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2011-03-24 22:00+0100\n" "Last-Translator: Mirco Scottà \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Posizione della document root del server web:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "È necessario che dwww conosca il percorso della directory contenente " "la document root del server web. Lo standard web suggerisce /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Posizione della directory cgi del server web:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "È necessario che dwww conosca il percorso della directory che contiene " "gli script CGI del server web. Lo standard web suggerisce /usr/lib/cgi-bin, ma il " "server web potrebbe essere già configurato per una posizione differente." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Nome dell'utente CGI:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "È necessario che dwww conosca quale utente eseguirà lo script CGI, " "in modo che la directory della cache sia attribuita a quell'utente." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Nome host del server web:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "È necessario che dwww conosca il nome host del server web." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Porta del server web:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "È necessario che dwww conosca la porta su cui il server web è in esecuzione. " "Solitamente i server web utilizzano la porta 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Directory inesistente!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "La directory ${dir} non esiste." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Utente non trovato!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "L'utente ${user} non esiste." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Il valore della porta dovrebbe essere un numero!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "Il valore inserito per la porta: ${port} non è corretto." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "Permettere allo script di post installazione di indicizzare la documentazione?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Il programma dwww-index++(8) sarà eseguito una volta alla settimana per " "indicizzare la documentazione registrata con il pacchetto doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "L'indice può anche essere generato, in background, dallo script di post " "installazione. Dato che il processo necessita di una discreta quantità di risorse e può " "impiegare diversi minuti, si può scegliere se generarlo ora." dwww-1.12.1/debian/po/ja.po0000644000000000000000000001200212265062111012233 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: dwww 1.9.7\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2004-02-02 23:15+0900\n" "Last-Translator: OHURA Makoto \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=EUC-JP\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Web Ф document root ΰ" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "Web Ф document root ޤǤǥ쥯ȥΰ֤ꤹɬפ" "ޤWeb ɸǤ /var/www Ǥ뤳ȤƤƤޤ" #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Web Ф cgi ǥ쥯ȥΰ" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "Web Ф CGI ץȤǥ쥯ȥΰ֤ꤹɬפޤ" "Web ɸ /usr/lib/cgi-bin Ǥ뤳ȤƤƤޤǤˡWeb " "¾ξȤ褦ꤵƤ뤫Τޤ" #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "CGI ¹Ԥ桼̾" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "dwww CGI ץȤư桼ꤹɬפޤϡ" "桼åǥ쥯ȥνͭäƤɬפ뤫Ǥ" #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Web ФΥۥ̾" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "Web ФΥۥ̾Ǥ뤫ꤹɬפޤ" #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Web ФΥݡֹ" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "Web ФưƤݡֹꤹɬפޤ̡Web " " 80 ֥ݡȤưƤޤ" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "ǥ쥯ȥ꤬¸ߤޤ" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "ǥ쥯ȥ ${dir} ¸ߤޤ" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "桼¸ߤޤ" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "桼 ${user} ¸ߤޤ" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "ݡֹϿͤǤʤФʤޤ" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "ݡֹȤϤ줿: ${port} ̵Ǥ" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "󥹥ȡ塢ʸեΥǥåޤ" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "dwww-index++(8) ץ doc-base ѥåϿ줿ʸեΥ" "ǥå뤿˽˰¹Ԥޤ" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "Υǥåϥ󥹥ȡΥץȤǤ(Хå饦ɤ)" "ȤǤޤβ¿Υԥ塼λ񸻤Ȥޤʬ֤" "ޤΤǡ뤫ɤ򤹤뤳ȤǤޤ" dwww-1.12.1/debian/po/nl.po0000644000000000000000000001212412265062111012257 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: dwww 1.9.8\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2004-04-22 11:23+0100\n" "Last-Translator: Luk Claes \n" "Language-Team: Debian l10n Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Locatie van de wortel van de documentenboom van de webserver:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "dwww moet nu weten waar de map is die de wortel van de documentenboom van de " "webserver bevat. De webstandaard suggereert /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Locatie van de cgi-map van de webserver:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "dwww moet nu weten waar de map is die de CGI-scripts bevat voor uw " "webserver. De webstandaard suggereert /usr/lib/cgi-bin, maar uw webserver " "kan reeds geconfigureerd zijn voor een andere locatie." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Naam van de CGI-gebruiker:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "dwww moet nu weten welke gebruiker het dwww-CGI-script zal uitvoeren omdat " "deze gebruiker eigenaar moet zijn van de cache-map." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Computernaam van de webserver:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "dwww moet weten wat de computernaam van uw webserver is." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Poort van de webserver:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "dwww moet weten op welke poort uw webserver draait. Normaalgesproken draaien " "webservers op poort 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Map bestaat niet!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "Map ${dir} bestaat niet." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Gebruiker niet gevonden!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "Gebruiker ${user} bestaat niet." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Poortwaarde moet een getal zijn!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "De ingegeven waarde voor de poort: ${port} is ongeldig." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "Moet het post-installatie-script uw documentatiebestanden indexeren?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Het dwww-index++(8)-programma zal n keer per week worden uitgevoerd om uw " "documentatiebestanden die geregistreerd zijn met het doc-base-pakket te " "indexeren." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "De index kan ook worden gegenereerd (op de achtergrond) door het post-" "installatie-script. Dit proces gebruikt nogal veel computerbronnen " "(resources), en kan verschillende minuten duren dus u kunt nu kiezen of u " "dit wilt doen." dwww-1.12.1/debian/po/pl.po0000644000000000000000000001201612265062111012261 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: dwww 1.9.0\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2003-03-16 13:03+0100\n" "Last-Translator: Robert Luberda \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Lokalizacja gwnego katalogu dokumentw serwera www:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "dwww musi wiedzie, gdzie znajduje si katalog bdcy gwnym katalogiem " "serwera www. Standardowo jest to katalog /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Lokalizacja katalogu CGI serwera:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "dwww musi zna lokalizacj katalogu zawierajcego skrypty CGI. W " "standardowej konfiguracji jest to katalog /usr/lib/cgi-bin, ale Twj serwer " "www moe by inaczej skonfigurowany." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Nazwa uytkownika wykonujcego programy CGI:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "dwww musi zna nazw uytkownika, ktry bdzie wykonywa skrypty CGI uywane " "przez program dwww. Uytkownik bdzie wacicielem katalogu cache dwww." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Nazwa sieciowa serwera www:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "dwww musi zna nazw sieciow Twojego serwera www." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr " Numer portu serwera www:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "dwww musi zna numer portu, na ktrym nasuchuje serwer www. Zazwyczaj " "serwer www jest uruchamiany na porcie 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Katalog nie istnieje!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "Katalog ${dir} nie istnieje." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Nie znaleziono uytkownika!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "Uytkownik ${user} nie istnieje." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Port powinien by typu numerycznego!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "Warto podana w polu port: ${port} jest niepoprawna." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "Czy skrypt poinstalacyjny powinien poindeksowa pliki z dokumentacj?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Program dwww-index++(8) bdzie raz w tygodniu generowa indeks plikw z " "dokumentacj, zarejestrowanych przez pakiet doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "Indeks moe rwnie zosta wygenerowany (w tle) przez skrypt poinstalacyjny. " "Proces ten wymaga do duo zasobw komputera i moe trwa par minut, " "dlatego moesz teraz zdecydowa, czy chcesz go uruchomi." dwww-1.12.1/debian/po/pt.po0000644000000000000000000001134212265062111012272 0ustar # Simão Pedro Cardoso, pthell@gmail.com, first translation on 01/11/2005 # msgid "" msgstr "" "Project-Id-Version: dwww 1.9.26\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2005-11-01 19:32+0000\n" "Last-Translator: Simão Pedro Cardoso \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Caminho da DocumentRoot do servidor web:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "o dwww precisa saber a directório que contém a DocumentRootdo servidor web. " "A normalização web sugere /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Caminho do directório de cgis do servidor web:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "o dwww precisca de saber o directório que contém os scripts CGI do seu " "servidor web. A normalização web sugere /usr/lib/cgi-bin, mas o seu servidor " "web pode estar já configurado para um local diferente." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Nome do utilizador CGI:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "o dwww precisa saber qual o utilizador que irá correr o script CGI dwww, já " "que o mesmo utilizador terá de ser dono do directório de cache." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Nome de máquina do servidor web:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "o dwww precisa saber o nome de maquina do seu servidor web." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Porta do servidor web:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "o dwww precisa saber qual a porta em que o seu servidor web está a correr. " "Nomalmente os servidores web correm na porta 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "O directório não existe!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "O directório ${dir} não existe." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "O utilizador não foi encontrado!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "O utilizador ${user} não existe." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "O valor da porta deverá ser um número!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "O valor introduzido para a porta: ${port} é inválido." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "" "Deverá o script de pós-instalação criar um índice para os seus ficheiros de " "documentação?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "o programa dwww-index++(8) irá correr uma vez por semana para criar um " "índice dos seud ficheiros de documentação registados com pacote doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "O índice pode também ser gerado (em background) pelo script de pós-" "instalação. Este processo precisa de alguns recursos de computador, e pode " "demorar váriosminutos, por isso pode escolher agora se gostaria o de fazer." dwww-1.12.1/debian/po/pt_BR.po0000644000000000000000000001222112265062111012652 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: dwww_1.9.5\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2003-08-29 21:57-0300\n" "Last-Translator: Andr Lus Lopes \n" "Language-Team: Debian-BR Project \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Localizao da raz de documentos do servidor web:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "O dwww precisa conhecer onde est o diretrio o qual contm a raz de " "documentos para seu servidor web. Os padres web sugerem /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Localizao do diretrio cgi do servidor web:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "O dwww precisa conhecer onde existe o diretrio o qual contm os scripts CGI " "para seu servidor web. Os padres web sugerem /usr/lib/cgi-bin, mas seu " "servidor web pode j estar configurado para uma localizao diferente." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Nome do usurio CGI:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "O dwww agora precisa saber que usurio estar executando o script CGI dwww, " "uma vez que esse usurio precisa ser o proprietrio do diretrio cache." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Nome do servidor web:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "O dwww precisa conhecer o nome de seu servidor web." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Porta do servidor Web:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "O dwww precisa saber em qual porta seu servidor web est sendo executado. " "Normalmente servidores web so executados na porta 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Diretrio no existe !" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "O diretrio ${dir} no existe." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Usurio no encontrado !" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "Usurio ${user} no existe." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Valor da porta deve ser um nmero !" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "O valor informado para a porta : ${port} invlido." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "" "O script de ps-instalao deve indexar seus arquivos de documentao ?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "O programa dwww-index++(8) ser excutado uma vez por semana para indexar " "seus arquivos de documentao registrados com o pacote doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "O ndice pode tambm ser gerado (em segundo plano) pelo script de ps-" "instalao. Esse processo precisa de muitos recursos computacionais e pode " "requerer diversos minutos para finalizar portanto voc pode agora optar por " "execut-lo." dwww-1.12.1/debian/po/ru.po0000644000000000000000000001406612265062111012303 0ustar # translation of dwww_1.10.2_debconf_ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov , 2007. msgid "" msgstr "" "Project-Id-Version: 1.10.2\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2007-01-09 22:06+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Расположение корня документов веб-сервера:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "Для dwww нужно указать путь к каталогу, который содержит корневой документ " "вашего веб-сервера. В стандартах веб предполагается /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Расположение cgi-каталога веб-сервера:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "Для dwww нужно указать путь к каталогу, который содержит сценарии CGI вашего " "веб-сервера. В стандартах веб предполагается /usr/lib/cgi-bin, но для вашего " "веб-сервера может быть уже настроен другой каталог." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Имя пользователя CGI:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "Для dwww нужно указать с правами какого пользователя будут работать CGI " "сценарии, так как каталог кэширования должен принадлежать этому пользователю." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Имя хоста веб-сервера:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "Для dwww нужно указать имя хоста вашего веб-сервера." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Порт веб-сервера:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "Для dwww нужно указать номер порта, на котором работает веб-сервер. Обычно, " "веб-серверы работают на 80 порту." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Каталог не существует!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "Каталог ${dir} не существует." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Пользователь не найден!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "Пользователь ${user} не существует." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Значение порта должно быть задано числом!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "Введённое значение порта: ${port} недопустимо." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "" "Должен ли пост-установочный сценарий проиндексировать ваши файлы " "документации?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Программа dwww-index++(8) будет запускаться один раз в неделю для индексации " "файлов документации, зарегистрированных с помощью пакета doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "Также, индекс может быть сгенерирован (в фоновом режиме) пост-установочным " "сценарием. Этот процесс потребляет много компьютерных ресурсов и может " "занять несколько минут, поэтому вам решать, хотите ли вы это сделать прямо " "сейчас." dwww-1.12.1/debian/po/sv.po0000644000000000000000000001205412265062111012300 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: dwww 1.9.25\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2005-11-17 03:08+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: sv\n" "X-Poedit-Country: sv\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Plats fr webbserverns dokumentrot:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "dwww behver veta skvgen till den katalog som innehller din webbservers " "dokumentrot. Webbstandarden freslr /var/www." #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Plats fr webbserverns cgi-katalog:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "dwww behver veta skvgen till katalogen som innehller din webbservers CGI-" "skript. Webbstandarden freslr /usr/lib/cgi-bin men din webbserver kan " "redan vara konfigurerad fr en annan plats." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Namnet p CGI-anvndaren:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "dwww behver veta vilken anvndare som kommer att kra dwww:s CGI-skript " "eftersom cache-katalogen mste gas av den anvndaren." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Vrdnamnet fr webbservern:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "dwww behver veta vrdnamnet fr din webbserver." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Webbserverns port:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" "dwww behver veta vilken port din webbserver krs p. Normalt sett krs " "webbservrar p port 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Katalogen existerar inte!" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "Katalogen ${dir} existerar inte!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Anvndaren hittades inte!" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "Anvndaren ${user} existerar inte." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Portvrdet br vara ett nummer!" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "Vrdet som angavs fr porten: ${port} r ogiltig." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "" "Ska skriptet som krs efter installationen indexera dina dokumentationsfiler?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Programmet dwww-index++(8) kommer att kras en gng i veckan fr att " "indexera dina dokumenationsfiler som r registrerade med paketet doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "Indexet kan ocks genereras (i bakgrunden) av skriptet som krs efter " "installationen. Denna process behver ganska mycket av datorns resurser och " "kan ta flera minuter s du kan vlja nu om du vill gra detta." dwww-1.12.1/debian/po/templates.pot0000644000000000000000000000647712265062111014046 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "" #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "" #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "" #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "" #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" dwww-1.12.1/debian/po/vi.po0000644000000000000000000001211412265062111012263 0ustar # Vietnamese Translation for dwww. # Copyright © 2005 Free Software Foundation, Inc. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: dwww 1.9.21\n" "Report-Msgid-Bugs-To: robert@debian.org\n" "POT-Creation-Date: 2007-04-03 01:36+0200\n" "PO-Revision-Date: 2005-06-02 15:57+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" #. Type: string #. Description #: ../dwww.templates:1001 msgid "Location of web server's document root:" msgstr "Ví trị của gốc tài liệu của máy phục vụ Mạng:" #. Type: string #. Description #: ../dwww.templates:1001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's document root. The web standard suggests /var/www." msgstr "" "Trình dwww cần biết đường dẫn thư mục chứa gốc tài liệu của trình phục vụ " "Mạng của bạn. Tiêu chuẩn Mạng đệ nghị: /var/www" #. Type: string #. Description #: ../dwww.templates:2001 msgid "Location of web server's cgi directory:" msgstr "Ví trị của thư mục CGI của trình phục vụ Mạng:" #. Type: string #. Description #: ../dwww.templates:2001 msgid "" "dwww needs to know the path of the directory which contains your web " "server's CGI scripts. The web standard suggests /usr/lib/cgi-bin, but your " "web server may already be configured for a different location." msgstr "" "Trình dwww cần biết đường dẫn thư mục chứa các tập lệnh CGI của máy phục vụ " "Mạng. Tiêu chuẩn Mạng đệ nghị /usr/lib/cgi-bin, nhưng mà có lẽ bạn đã cấu " "hình một ví trị khác trên máy phục vụ Mạng này." #. Type: string #. Description #: ../dwww.templates:3001 msgid "Name of CGI user:" msgstr "Tên của người dùng CGI:" #. Type: string #. Description #: ../dwww.templates:3001 msgid "" "dwww needs to know what user will be running the dwww CGI script, as the " "cache directory must be owned by that user." msgstr "" "Trình dwww cần biết người dùng nào sẽ chạy tập lệnh CGI dwww, vì người dùng " "ấy phải sở hữu thư mục nhớ tạm." #. Type: string #. Description #: ../dwww.templates:4001 msgid "Host name of the web server:" msgstr "Tên máy của máy phục vụ Mạng:" #. Type: string #. Description #: ../dwww.templates:4001 msgid "dwww needs to know the host name of your web server." msgstr "Trình dwww cần biết tên máy của máy phục vụ Mạng của bạn." #. Type: string #. Description #: ../dwww.templates:5001 msgid "Web server's port:" msgstr "Cổng máy phục vụ Mạng:" #. Type: string #. Description #: ../dwww.templates:5001 msgid "" "dwww needs to know what port your web server is running on. Normally web " "servers run on port 80." msgstr "Trình dwww cần biết máy phục vụ bạn dùng cổng nào. Thường là cổng 80." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory does not exist!" msgstr "Không có thư mục ấy." #. Type: note #. Description #: ../dwww.templates:6001 msgid "Directory ${dir} does not exist." msgstr "Không có thư mục ${dir}." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User not found!" msgstr "Không tìm thấy người dùng ấy." #. Type: note #. Description #: ../dwww.templates:7001 msgid "User ${user} does not exist." msgstr "Không tìm thấy người dùng ${user}." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Port value should be a number!" msgstr "Giá trị cỗng phải là số." #. Type: note #. Description #: ../dwww.templates:8001 msgid "Value entered for port: ${port} is invalid." msgstr "Đã gõ giá trị không hợp lệ cho cổng: ${port}." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "Should post-installation script index your documentation files?" msgstr "" "Tập lệnh sẽ chạy sau khi cài đặt thì sẽ chỉ mục các tập tin tài liệu của bạn " "không?" #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "dwww-index++(8) program will be run once a week to index your documentation " "files registered with doc-base package." msgstr "" "Trình dwww-index++(8) sẽ chạy một lần trong mỗi tuần, để chỉ mục các tập tin " "tài liệu củã bạn mà được đăng ký với gói tin doc-base." #. Type: boolean #. Description #: ../dwww.templates:9001 msgid "" "The index can also be generated (in the background) by the post-installation " "script. This process needs quite a lot of computer resources, and can take " "several minutes so you can choose now if you would like to do this." msgstr "" "Tập lệnh sẽ chạy sau khi cài đặt cũng có thể tạo ra mục lục này (nằm nền). " "Tiến trình ấy cần thiết nhiều tiềm năng máy, và có lẽ sẽ mất vài phút, thì " "lúc này bạn có thể chọn nếu muốn làm như thế." dwww-1.12.1/debian/rules0000755000000000000000000000032012265062111011743 0ustar #!/usr/bin/make -f include /usr/share/dpkg/architecture.mk ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) export CC = $(DEB_HOST_GNU_TYPE)-gcc else export CC = gcc endif %: dh "$@" --with apache2 dwww-1.12.1/debian/source/0000755000000000000000000000000012265062111012170 5ustar dwww-1.12.1/debian/source/format0000644000000000000000000000001512265062111013377 0ustar 3.0 (native) dwww-1.12.1/debian/source/options0000644000000000000000000000003312265062111013602 0ustar --diff-ignore --tar-ignore dwww-1.12.1/kv5r-notes.txt0000644000000000000000000000540712265062111012232 0ustar Some notes on customizing DWWW with css. Rev. 26 Nov. 2008 -- 7 Jan. 2009 My css and other changes are not copyrighted, and should these changes be incorporated into the DWWW package(s), such are a contribution and fall under the existing GPL for DWWW. I ask that my link kv5r.com remain in the css file. Purpose: Update DWWW to HTML 4.01 Strict and CSS2 standards, improve appearance and usability, and make it easy to customize via css. DWWW's output is themed by the css, including processed man pages. Info pages are themed if my modified info2www is used. Debian docs are not themed (that'd be a rather gigantic project). Overview of mods to DWWW 1.10.15: * Added css file manuals.css * Change most dwww template files in /usr/share/dwww * Minor changes in /cgi-bin/dwww (commented therein) and a customized /cgi-bin/info2www for use with dwww's new css (not cmtd), * Minor changes to /usr/sbin/dwww-build (to copy the css file); * Minor changes in dwww-build-menu, -find, -convert, and Utils.pm (output-related). * Changed iso-8859-1 to UTF-8 in all files, for compatibility with some of the newer documentation (some were displaying wacky characters). * Logos: created a ubuntu.png; recreated a better debian.png. CSS file manuals.css is in the templates directory /usr/share/dwww, and it gets copied to {webserver}/dwww by dwww-build -- edit the css in /usr/share/dwww then run dwww-build (or copy it manually), else editing the copy in /var/www/dwww it'll get overwritten by the next dwww cron event. The logos (either debian or ubuntu) png files are also copied; logo is set in the body descriptor in the css file, as a page background image. Note that long titles on narrow displays may overlap the logo -- if this is a problem, the logo will need to be moved to the headers in the template files. Logo files should be 150x40 px, transparent bg png. dwww-build copies *.png, so other file formats won't work. The CSS file includes some extras that are not used, but may be if desired. Template files rewritten to HTML 4.01 Strict, UTF-8, en_us. This means: * removing all deprecated tag attribs such as FONT, ALIGN, etc. * lowercasing all tags * adding appropriate css hooks to divs, etc. Note that XHTML was not used, as it is will soon be deprecated, and serves no useful purpose. (HUH? See http://www.webdevout.net/articles/beware-of-xhtml) Various html formatting was removed from the templates and the cgi script, such as


as these are handled with margin and border-bottom in the css. Also fixed Utils.pm table functions to make compliant markup. Anomaly: The file dwww.man.template does not seem to be used. Remove? The manuals.css file may be copied and renamed into any doc directories whose html files include a css file link, to improve their appearance. --kv5r-- dwww-1.12.1/man/0000755000000000000000000000000012265062111010221 5ustar dwww-1.12.1/man/Makefile0000644000000000000000000000100612265062111011656 0ustar # vim:ts=2 # Makefile for dwww. # "@(#)dwww:$Id: Makefile 531 2009-02-15 12:54:08Z robert $" # ALL_TARGET := SUBDIRS := include ../common.mk man1mans := $(sort $(wildcard *.1)) man7mans := $(sort $(wildcard *.7)) man8mans := $(sort $(wildcard *.8)) install-local: $(call msg,$@) $(call install,$(mandir)/man1,$(man1mans),compress) $(call install,$(mandir)/man7,$(man7mans),compress) $(call install,$(mandir)/man8,$(man8mans),compress) $(call install_links,../man7/dwww.7.gz,$(mandir)/man5/dwww.conf.5.gz) dwww-1.12.1/man/dwww-build-menu.80000644000000000000000000000224612265062111013345 0ustar .\" "$Id: dwww-build-menu.8 531 2009-02-15 12:54:08Z robert $" .\" .TH DWWW\-BUILD\-MENU 8 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww\-build\-menu \- builds dwww Debian Documentation Menu .\" .SH SYNOPSIS .B dwww\-build\-menu .\" .SH DESCRIPTION .PP .B dwww\-build\-menu is part of the dwww package, which provides access to on\-line documentation on a Debian system via WWW. .PP .B dwww\-build\-menu generates the Debian Documentation Menu pages (available on .IR http://localhost/dwww/menu/ ), from files registered with doc\-base program, found in the .I /var/lib/doc\-base/documents .\" .PP The generated pages are stored in DWWW_DOCROOTDIR/dwww/menu directory. (Default is .IR /var/www/dwww/menu .) .SH FILES .TP .I /etc/dwww/dwww.conf Configuration file for dwww. .TP .I /var/www/dwww/menu Default directory for generated menu pages. .TP .I /var/lib/dwww Temporary directory used while generating the pages. .\" .SH "SEE ALSO" .BR dwww (7), .BR dwww\-build (8), .BR install\-docs (8), .RI "Debian doc\-base Manual in " /usr/share/doc/doc\-base/doc\-base.html/index.html . .\" .SH AUTHOR Robert Luberda . See .BR dwww (7) for copyrights and stuff. dwww-1.12.1/man/dwww-build.80000644000000000000000000000310712265062111012400 0ustar .\" $Id: dwww-build.8 531 2009-02-15 12:54:08Z robert $ .TH DWWW\-BUILD 8 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww\-build \- build dwww index lists .SH SYNOPSIS .B dwww\-build .RB [ \-\-verbose ] .B \-\-default .br .B "dwww\-build " .RB [ \-\-verbose ] .I html\-directory .SH DESCRIPTION .B dwww\-build builds the index lists of all available documents (manual pages, Info files, and so on); it should be run whenever documentation is installed or removed. .BR dwww (7) does not work unless .B dwww\-build has been run at least once; when the package is installed, it is run automatically. The default .B dwww installation creates a .IR /etc/cron.daily/dwww , which automatically updates the pages each day. .PP The .I html\-directory argument specifies the directory where all the .B dwww HTML files will be stored. No other files should be stored there. If .B \-\-default is used, the files are generated in .I dwww subdirectory of the directory specified in the DWWW_DOCROOTDIR variable in the .I /etc/dwww/dwww.conf file. (Default is .IR /var/www/dwww .) .SH FILES .TP .I /etc/dwww/dwww.conf Configuration file for .BR dwww (7). .SH FILES .TP .I /etc/dwww/dwww\-user.css If such a file exists, its contents will be appended to the dwww.css file. .TP .I /var/www/dwww Where all dwww HTML files are stored, if nothing else is specified. .TP .I /var/lib/dwww Directory used for temporary created files. Can be overridden with the DWWW_TMPDIR variable. .SH "SEE ALSO" .BR dwww\-build\-menu (8), .BR dwww (7). .SH AUTHOR Lars Wirzenius. .br See .BR dwww (7) for copyrights and stuff. dwww-1.12.1/man/dwww-cache.80000644000000000000000000000577412265062111012360 0ustar .\" $Id: dwww-cache.8 531 2009-02-15 12:54:08Z robert $ .\" .TH DWWW\-CACHE 8 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww\-cache \- manage the dwww cache of converted documents .SH SYNOPSIS .BI "dwww\-cache \-\-lookup " "type location" .br .BI "dwww\-cache \-\-store " "type location" .br .BI "dwww\-cache \-\-list " "type location" .br .BI "dwww\-cache \-\-list\-all" .br .BI "dwww\-cache \-\-clean" .SH "DESCRIPTION" .B dwww\-cache manages the cache of converted documents; it is part of .BR dwww (7). An option (the first argument) specifies the operation. Some operations operate on the whole cache, and need no other arguments. Others need the second and third argument to specify the type and pathname of the original document. (See .BR dwww\-convert (8) for more information about the arguments.) .PP The operations are: .TP .B \-\-lookup If the document is in the cache, output it to the standard output. Otherwise, output nothing and return a non-zero status. .TP .B \-\-store Read the document from the standard input, output it to the standard output and store it into the cache. If there was an older version already in the cache, remove it. .TP .B \-\-list Output information about one document in the cache to the standard output. The information is one line, with four space delimited fields: type, pathname of original, pathname of cached, and permanent flag (y or n). .TP .B \-\-list\-all Like .BR \-\-list , but for all documents. .TP .B \-\-clean Forget all cached documents that have been deleted. .PP .B dwww\-cache maintains a database with information of the cached documents. The documents themselves are stored in separate files in the cache directory. When old documents are removed from the cache by a suitable crontab entry, they will still exist in the database. This operation removes all entries from the database where either the original or the converted file is now missing. .PP To stop the cache from growing too large, an entry in root's .B crontab should remove cached files that have not been accessed for a while. For example, the following commands remove all documents that have not been accessed for ten days: .PP .RS find /var/cache/dwww \-atime +10 | xargs rm \-f .br dwww\-cache \-\-clean .RE .PP The idea is to first delete the old cached files and then clean up the database. The policy of cleaning the cache has been kept outside of .B dwww\-cache to keep the program simple, and to allow maximum flexibility. The default .B dwww installation creates a .IR /etc/cron.daily/dwww , which automatically cleans the cache each day. .SH FILES .TP .I /var/cache/dwww/db The cache directory. .TP .I /var/cache/dwww/db/.cache_db The database with information about all cached documents. This is a binary file, specially encoded for small size and high speed, and should not be touched by anyone but .BR dwww\-cache . .SH "SEE ALSO" .BR dwww (7), .BR dwww\-convert (8). .SH AUTHOR Lars Wirzenius . Modified by Robert Luberda . .br See .BR dwww (7) for copyrights and stuff. dwww-1.12.1/man/dwww-convert.80000644000000000000000000000457212265062111012770 0ustar .\" $Id: dwww-convert.8 531 2009-02-15 12:54:08Z robert $ .TH DWWW\-CONVERT 8 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww\-convert \- convert files to HTML for dwww .SH SYNOPSIS .B dwww\-convert .RB [ \-\-no\-path\-info ] .I type .I location .SH "DESCRIPTION" .B dwww\-convert is part of the dwww package, which provides access to on-line documentation on a Debian system via WWW. .B dwww\-convert converts documentation to HTML so that it can be viewed with a WWW browser. .B dwww\-convert is usually run by the WWW server, but can also be run by hand. .PP The .I type argument gives the type of the file, one of: .IP file An arbitrary file; the type is guessed using simple heuristics based on the filename. .IP dir A directory. If the directory contains the file .IR index.html " or " index.htm that file will be returned. Otherwise, A listing of the files in the directory is generated. .IP html An HTML file. The file is returned as is. .IP man A manual page. The location is the pathname of the nroff source file. .IP runman A manual page. The location is the name of the manual page and its section, separated by a slash. For example, the location would be .B intro/1 to refer to the .BR intro (1) manual page. .IP info An Info file. .IP text A plain text file (using the ISO\-8859\-1 character set). .PP An unknown file type is treated as .BR text . .PP The .I location argument gives the filename of the file. The name must be complete, i.e., it must start at the root directory (/). The name must not contain any symbolic links (cf. .BR realpath (1)). The file must be located in or below a directory that has been allowed by the system administrator; see .BR dwww (7) for more info. .PP The file may be compressed with .BR gzip (1) or .BR bzip2 (1). It is uncompressed automatically and invisibly. Compression is indicated by a filename that ends in `.gz' or `.bz2'. .SH OPTIONS .TP .B \-\-no\-path\-info Internal option used by the dwww's CGI script to let .B dwww\-convert know, that the arguments following the option do not come from the PATH_INFO variable, but from the QUERY_STRING. .SH FILES .TP .I /etc/dwww/dwww.conf Configuration file for dwww. See .BR dwww (7) for more information. .SH "SEE ALSO" .BR dwww (7), .BR dwww\-txt2html (8), .BR dwww\-build (8), .BR dwww\-cache (8). .SH AUTHOR Lars Wirzenius. Modified by Robert Luberda. .br See .BR dwww (7) for copyrights and stuff. dwww-1.12.1/man/dwww-find.80000644000000000000000000000425112265062111012222 0ustar .\" $Id: dwww-find.8 547 2011-01-15 15:29:55Z robert $ .\" .TH DWWW\-FIND 8 "January 15th, 2011" "dwww 1.11.4" "Debian" .SH NAME dwww\-find \- find documentation related to a search argument .SH SYNOPSIS .B "dwww-find" .RB [ \-\-program | \-\-menu | \-\-documentation | \-\-docfile | \-\-doc-base-list ] .RB [ \-\-skip=\fInumber\fP ] .IR "argument " [ ... ] .SH DESCRIPTION .B dwww-find is part of the dwww package, which provides access to on-line documentation on a Debian system via WWW. .PP .B dwww\-find searches for a documentation related to a given program, for entries from Debian Documentation Menu, or at least for documents registered with doc-base. It returns a HTML-formatted document with search results. .SH OPTIONS .TP .B \-\-program Search for documentation (man pages, info files, etc.) related to program specified by .IR argument . .TP .B \-\-menu Search for entries in Debian Documentation Menu pages generated by .BR dwww\-build\-menu (8). .TP .B \-\-documentation Search in documentation files registered with doc\-base. It uses .BR search++ (1) for searching. .TP .B \-\-docfile Search for documentation for package, which contains the file specified by the .IR argument . The file must be located in or below a directory that has been allowed by the system administrator; see .BR dwww (7) for more info. .TP .B \-\-doc\-base\-list Show list of registerered doc-base files for given .IR argument , which should be specified as .IR format/document\-id , where .I document\-id is an identificator of registered doc\-base document, and .I format is a name of format (e.g. text or pdf) registered by the document, for which the list list is to be generated. .TP .BI \-\-skip= number Works only with .BR \-\-documentation . Skip .I number of search results. .PP When no options are specified, .B \-\-program is assumed. .SH FILES .TP .I /etc/dwww/dwww.conf Configuration file for dwww. .SH "SEE ALSO" .BR dwww (7), .BR dwww\-quickfind (8), .BR dwww\-build\-menu (8), .BR dwww\-index++ (8), .BR search++ (1), .RI "Debian doc\-base Manual in " /usr/share/doc/doc\-base/doc\-base.html/index.html . .SH AUTHORS Lars Wirzenius. Robert Luberda. .br See .BR dwww (7) for copyrights and stuff. dwww-1.12.1/man/dwww-format-man.80000644000000000000000000000220612265062111013341 0ustar .\" "$Id: dwww-format-man.8 531 2009-02-15 12:54:08Z robert $" .\" .TH DWWW\-FORMAT\-MAN 8 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww\-format\-man \- batch format manual pages for dwww .SH SYNOPSIS .BR dwww\-format\-man " [" \-v | \-\-verbose ] .I directory .I ... .SH DESCRIPTION .B dwww\-format\-man looks for manual pages in the directories named on the command line. It formats each manual page, and puts the formatted version into the dwww document cache. System administrator's can run .B dwww\-format\-man if they want to make it faster to retrieve manual pages via dwww. If .B dwww\-format\-man is not run, dwww will automatically format manual pages not in its cache. Long pages take a few moments to format, but rarely so slow that it is worth running. .PP .B dwww\-format\-man runs .BR dwww\-convert (8) with privileges of DWWW_CGIUSER (see .BR dwww (7). .SH "OPTIONS" .TP .BR \-v ", " \-\-verbose Print each proceeded file name. .SH "SEE ALSO" .BR dwww (7), .BR dwww\-convert (8). .SH AUTHOR Lars Wirzenius . Slightly modified by Robert Luberda . .br See .BR dwww (7) for copyrights and stuff. dwww-1.12.1/man/dwww-index++.80000644000000000000000000000534212265062111012541 0ustar .\" "$Id: dwww-index++.8 531 2009-02-15 12:54:08Z robert $" .\" .TH DWWW\-INDEX++ 8 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww\-index++ \- build index of registered Debian documentation. .\" .SH SYNOPSIS .B dwww\-index++ .RB [ \-f ] .RB [ \-i ] .RB [ \-l ] .RB [ \-v ] .RB [ \-\- .IR swish_option " [" ... ]] .\" .SH DESCRIPTION .PP .B dwww\-index++ is part of the dwww package, which provides access to on-line documentation on a Debian system via WWW. .PP .B dwww\-index++ uses .BR index++ (1) program from swish++ package to generate index of Debian documentation files registered with doc\-base. .SH OPTIONS .TP .B \-f Force generation of the full documentation index even if it is disabled in the configuration file. .TP .B \-i Force generation of the incremental documentation index even if it is disabled in the configuration file. .TP .B \-l Print a list of files which would be indexed on standard output. Can be used together with .BR \-f " or " \-i to show files which would be indexed by full or incremental indexing. .TP .B \-v Be more verbose. .TP .B "\-\-" Any option after .B "\-\-" is passed directly to .BR index++ (1). .br For example to see which files are indexed, use .RS 10 .nf dwww\-index++ \-\- \-v4 .fi .RE 10 .SH CONFIGURATION FILE ITEMS .\" .IP DWWW_INDEX_DOCUMENTATION If this variable is set to .B "yes" (default), then the documentation index is generated. This setting can be overridden with the .B \-f option. .IP DWWW_MERGE_MAN2HTML_INDEX If this variable is set to .BR "yes" , then index of registered documentation files will be merged with index of man pages generated by the man2html package (if it is available). .\" .IP DWWW_INDEX_FULL_TIME_INTERVAL Specifies how often (in days) .BR dwww\-index++ (8) will generate full index of documentation. The default value is .BR 28 . .\" .IP DWWW_INDEX_INCREMENTAL_TIME_INTERVAL Specifies how often (in days) .BR dwww\-index++ (8) will run incremental indexing of new documentation files. The default value is .BR 7 . .\" .SH FILES .TP .I /etc/dwww/dwww.conf Configuration file for dwww. .TP .I /etc/cron.weekly/dwww A Bourne shell script which calls .BR dwww\-index++ . .TP .I /usr/share/dwww/swish++.conf Swish++ configuration file, used by .BR dwww\-index++ . .TP .I /var/cache/dwww/dwww.swish++.index Generated index file. .TP .I /var/cache/dwww/index.files.db List of already indexed files. .TP .I /var/cache/dwww/index.runinfo Timestamps of the latest full and incremental index generations. .\" .SH "SEE ALSO" .BR dwww (7), .BR dwww\-find (8), .BR index++ (1), .BR install\-docs (8), .RI "Debian doc\-base Manual in " /usr/share/doc/doc\-base/doc\-base.html/index.html . .\" .SH AUTHOR Robert Luberda . See .BR dwww (7) for copyrights and stuff. dwww-1.12.1/man/dwww-quickfind.80000644000000000000000000000152712265062111013262 0ustar .\" $Id: dwww-quickfind.8 531 2009-02-15 12:54:08Z robert $ .TH DWWW\-QUICKFIND 8 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww\-quickfind \- find quickly which package a program belongs to. .SH SYNOPSIS .BI "dwww\-quickfind \-\-build " "dbfile" .br .BI "dwww\-quickfind " "program" .I "dbfile" .SH DESCRIPTION .B dwww\-quickfind is part of the dwww package, which provides access to on\-line documentation on a Debian system via WWW. .PP .B dwww\-quickfind searches for .I program using the database file .I dbfile. If used with .BR "\-\-build" , .B dwww\-quickfind builds programs database and stores it in the file .IR dbfile . .SH FILES .TP .I /var/cache/dwww/quickfind.dat Default file used as the database file. .SH "SEE ALSO" .BR dwww (7), .BR dwww\-find (8). .SH AUTHOR Lars Wirzenius. .br See .BR dwww (7) for copyrights and stuff. dwww-1.12.1/man/dwww-refresh-cache.80000644000000000000000000000261012265062111013776 0ustar .\" $Id: dwww-refresh-cache.8 531 2009-02-15 12:54:08Z robert $ .TH DWWW\-REFRESH\-CACHE 8 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww\-refresh\-cache \- rebuilds dwww cache directory .SH SYNOPSIS .B dwww\-refresh\-cache .SH DESCRIPTION .B dwww\-refresh\-cache is a simple shell script, which deletes outdated cache files and rebuilds contents of the dwww cache directory .IR /var/cache/dwww . In default installation, the script is called from .IR /etc/cron.daily/dwww , so the cache is refreshed every day. .SH CONFIGURATION VARIABLES .IP "DWWW_KEEPDAYS" Specifies, how many days documents that have not been accessed should be kept in the cache. Default is .B 10 days. .\" .IP "DWWW_QUICKFIND_DB" Location of the installed packages and programs cache file, generated with help of .BR dwww\-quickfind (8). Default is .IR /var/cache/dwww/quickfind.dat . .\" .IP "DWWW_DOCBASE2PKG_DB" Location of the cache file, which maps installed doc\-base files to packages names, used by the .BR dwww\-build\-menu (8). Default is .IR /var/cache/dwww/docbase2pkg.dat . .\" .SH FILES .TP .I /etc/dwww/dwww.conf Configuration file for .BR dwww (7). .TP .I /var/cache/dwww dwww cache directory. .TP .I /etc/cron.daily/dwww. dwww daily cron job .SH "SEE ALSO" .BR dwww (7), .BR dwww\-build\-menu (8), .BR dwww\-cache (8), .BR dwww\-find (8). .SH AUTHOR Robert Luberda. .br See .BR dwww (7), for copyrights and stuff. dwww-1.12.1/man/dwww-txt2html.80000644000000000000000000000236612265062111013075 0ustar .\" "$Id: dwww-txt2html.8 531 2009-02-15 12:54:08Z robert $" .TH DWWW\-TXT2HTML 8 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww\-txt2html \- simple txt to HTML converter for dwww .SH SYNOPSIS .B "dwww\-txt2html" .RB [ \-\-man ] .RB [ \-\-utf8 ] .RI [ file ] .SH "DESCRIPTION" .B dwww\-txt2html is part of the dwww package, which provides access to on-line documentation on a Debian system via WWW. .PP .B dwww\-txt2html is a very simple text to HTML filter, which reads text to convert from a .I file argument if was given or .I stdin otherwise. Converts `<', `>', and `&' properly. Adds
 and 
tags, but it does not add or tags. Handles backspace characters. .br Converts local man pages and documentation files references to anchors and adds links for both http and ftp sites, mail addresses or Debian `closes: #bug_no' statements (e.g. closes: #100000). .PP .B dwww\-txt2html is usually run by the .BR dwww\-convert (8) command. .SH "OPTIONS" .TP .B \-\-man Input is an uncompressed manual page. .TP .B \-\-utf8 Input is encoded in UTF-8. .SH "SEE ALSO" .BR dwww (7), .BR dwww\-convert (8), .BR dwww\-cache (8). .SH AUTHOR Lars Wirzenius. Modified and improved by Robert Luberda. .br See .BR dwww (7) for copyrights and stuff. dwww-1.12.1/man/dwww.10000644000000000000000000000315212265062111011274 0ustar .\" $Id: dwww.1 531 2009-02-15 12:54:08Z robert $ .TH DWWW 1 "February 15th, 2009" "dwww 1.11.1" "Debian" .SH NAME dwww \- access documentation via WWW .SH SYNOPSIS http://localhost/dwww/index.html .br .B dwww .br .B dwww .IR program-name " | " package-name .SH DESCRIPTION A typical Linux system has documentation in many formats (manual pages, info files, READMEs, and so on). dwww makes it possible to access all of these via the same interface, a WWW browser. This makes it easier to use the documentation. .PP To use dwww, load the URL given in the SYNOPSIS. If you have a web browser installed, you can also just run the dwww command which loads the URL. If BROWSER environment variable is set, .B dwww uses .BR sensible\-browser (1) to load the URL. Otherwise, .B dwww first tries to use browser specified by DWWW_BROWSER or DWWW_X11_BROWSER configuration variable (cf. .BR dwww (7)), than will use .BR sensible\-browser (1) command. .PP If optional argument .IR program-name " or " package-name is specified, .B dwww will search all documentation related to given program or package. .SH ENVIRONMENT .IP BROWSER Program used to load the above mentioned URL. .SH FILES .TP .I /etc/dwww/dwww.conf Configuration file for dwww. .SH "SEE ALSO" .BR dwww\-find (8), .BR dwww (7), .BR sensible\-browser (1). .SH AUTHOR Lars Wirzenius . Modified by Robert Luberda . .br Bugs should be reported via the Debian Bug Tracking System at . .PP dwww is licensed via the GNU General Public License. While it has been written for Debian, porting it to other systems is strongly encouraged. dwww-1.12.1/man/dwww.70000644000000000000000000002423412265062111011306 0ustar .TH DWWW 7 "June 26th, 2011" "dwww 1.11.6" "Debian" .SH NAME dwww \- access documentation via WWW .SH SYNOPSIS http://localhost/dwww/index.html .SH DESCRIPTION A typical Linux system has documentation in many formats (manual pages, Info files, READMEs, and so on). dwww makes it possible to access all of these via the same interface, a WWW browser. This makes it easier to use the documentation. .PP dwww consists of several programs: .TP .B cgi\-bin/dwww Run by the WWW server when user requests document via dwww. Parses the request and runs .BR dwww\-convert (8) or .BR dwww\-find (8) with suitable arguments. Installed in the server's cgi\-bin directory. .\" .TP .BR dwww\-convert (8) Converts any document to HTML. .TP .BR dwww\-format\-man (8) Auxiliary program to convert man pages or text files to HTML. .\" .TP .BR dwww\-find (8) Searches for documentation. .\" .TP .BR dwww\-quickfind (8) Used by .BR dwww\-find (8) to quickly find which package a program belongs to. .\" .TP .BR dwww\-cache (8) Manages the cache of converted documents. .\" .TP .BR dwww\-refresh\-cache (8) Cleans outdated documents from the cache. .\" .TP .BR dwww\-build (8) Builds static lists of manual pages. Needs to be re-run whenever documents are installed or removed. (In default configuration is called by the dwww daily cron job). .\" .TP .BR dwww\-build\-menu (8) Builds the Debian Documentation Menu pages. Needs to be re-run whenever documents are installed or removed. (In default configuration is called by the .BR install\-docs (8) or by the dwww daily cron job). .\" .TP .BR dwww\-index++ (8) Uses .BR index++ (1) to build index of the documentation registered with doc-base. In default configuration is called be the dwww weekly cron job. .\" .PP For speed reasons, the converted documents are stored in .IR /var/cache/dwww . The cache is cleaned by .BR dwww\-refresh\-cache (8) of old documents to keep it from growing too large. .\" .PP .SH CONFIGURATION dwww is configured via the .I /etc/dwww/dwww.conf file. That file is a Bourne shell .RI ( /bin/sh ) script that defines some or all the following variables (defaults are used if the file doesn't exist, or doesn't define the variable). .\" .SS Basic configuration variables These variables can be also configured by debconf script. You can change them using the following command: .RS 4 .I dpkg\-reconfigure dwww .RE .IP DWWW_SERVERNAME Name of the www server. Default is .BR localhost . .\" .IP DWWW_SERVERPORT Port on which the www server listen to. Default is .BR 80 . .\" .IP DWWW_USEHTTPS If enabled, .BR dwww (1) will connect to DWWW_SERVERNAME:DWWW_SERVERPORT through the HTTPS protocol. Default is .BR no . .\" .IP DWWW_DOCROOTDIR The document root for web server. Default is .BR /var/www . .\" .IP DWWW_CGIDIR The directory which contains the CGI scripts for your web server. Default is .BR /usr/lib/cgi\-bin . .\" .IP DWWW_CGIUSER Name of the user that the web server uses to execute CGI scripts. Default is .BR www\-data . .\" .SS Browser variables .IP DWWW_BROWSER Web\-browser used by .BR dwww (1) to load dwww main page. .IP DWWW_X11_BROWSER Web\-browser used by .BR dwww (1) to load dwww main page when in X11. .\" .SS Path variables .IP DWWW_DOCPATH Colon\-delimited list of directories from which .BR dwww\-convert (8) supplies files. For security reasons, it will refuse to convert files outside the directories named by this variable. Default is .I /usr/share/doc:/usr/share/info:/usr/share/man: .I /usr/local/share/doc:/usr/local/share/info:/usr/local/share/man: .IR "/usr/share/common\-licenses" . .\" .IP DWWW_ALLOWEDLINKPATH Colon-delimited list of directories which can be targets of symlinks from files from directories inside DWWW_DOCPATH. Default value is .IR /usr/share:/usr/lib:/usr/local/share:/var/www . .br For example, \fI/usr/share/doc/package/foo.html\fR may be symlinked to a file \fI/usr/share/package/foo.html\fR, and this file can be displayed by .BR dwww . .\" .SS Converters .\" .IP DWWW_MAN2HTML .\" Command to convert a manual page to HTML. .\" Default is .\" .BR builtin_man2html , .\" which uses .\" .BR dwww\-txt2html (8) .\" to convert man pages. .\" .br .\" If you have .\" .BR man2html (1) .\" installed and would prefer to use it, please add the following code .\" to dwww's configuration file: .\" .RS .\" .nf .\" .\" if [ \-x /usr/lib/cgi\-bin/man/man2html ] ; then .\" man2html_cmd () { .\" /usr/lib/cgi\-bin/man/man2html "$1" .\" } .\" DWWW_MAN2HTML=man2html_cmd .\" .\" elif [ \-x /usr/lib/cgi\-bin/man2html ] ; then .\" man2html_cmd () { .\" /usr/lib/cgi\-bin/man2html "$1" .\" } .\" DWWW_MAN2HTML=man2html_cmd .\" fi .\" .\" .fi .\" .RE .\" .\" .\" .IP DWWW_TEXT2HTML .\" Command to convert a plain text file to HTML. .\" Default is .\" .BR builtin_text2html . .\" .\" .\" .IP DWWW_DIR2HTML .\" Command to show contents of a directory as HTML. .\" Default is .\" .BR builtin_dir2html . .\" .PP .\" The converters get the filename as their argument, .\" and should output the converted document to stdout. .SS Cache files locations .IP "DWWW_QUICKFIND_DB" Location of the installed packages and programs cache file, generated by .BR dwww\-refresh\-cache (8) with the help of .BR dwww\-quickfind (8). Default is .IR /var/cache/dwww/quickfind.dat . .\" .IP "DWWW_DOCBASE2PKG_DB" Location of the cache file, which maps installed doc\-base files to packages names, used by the .BR dwww\-build\-menu (8). Default is .IR /var/cache/dwww/docbase2pkg.dat . .\" .IP "DWWW_REGDOCS_DB" Location of doc\-base registered documents contents cache. The cache is generated by .BR dwww\-build\-menu (8) and read by .BR dwww\-find (8) Default is .IR /var/cache/dwww/regdocs.dat . .\" .SS Documentation indexing variables .IP DWWW_INDEX_DOCUMENTATION If this variable is set to .B "yes" (default), and the swish++ package is installed, then .BR dwww\-index++ (8) will generate index of registered documentation. .\" .IP DWWW_INDEX_FULL_TIME_INTERVAL Specifies how often (in days) .BR dwww\-index++ (8) will generate full index of documentation. The default value is .BR 28 . .\" .IP DWWW_INDEX_INCREMENTAL_TIME_INTERVAL Specifies how often (in days) .BR dwww\-index++ (8) will run incremental indexing of new documentation files. The default value is .BR 7 . .\" .IP DWWW_MERGE_MAN2HTML_INDEX If this variable is set to .BR "yes" , then while generating index of registered documents, .BR dwww\-index++ (8) will use man pages index generated by man2html package, if it's available. .SS Other variables .\" .IP DWWW_KEEPDAYS How many days should .BR dwww\-refresh\-cache (8) keep documents that have not been accessed? Default is .B 10 days. .\" .IP DWWW_TMPDIR Directory used by .BR dwww\-build (8) and .BR dwww\-build\-menu (8) to temporally store the web pages it generates. Default is .IR /var/lib/dwww . For security reason any public writable directory like .I /tmp should not be used. .IP DWWW_USEFILEURL If this variable is set, dwww will use file:/ style URLs to access html files \- bypassing the CGI script. This is faster on slow machines. Of course, you will not be able to read the html documentation on a non\-local machine. Default is to not enable this feature. .\" .IP DWWW_TITLE Title to appear on dwww generated files. Default is .BR "dwww: $(hostname)" .\" .IP DWWW_USE_CACHE If this variable is set to .B "yes" (default), dwww will cache accessed documents in /var/cache/dwww/db. See .BR dwww\-cache (8). .\" .SS Deprecated variables Since version 1.10, dwww no longer uses the following variables: DWWW_HTMLDIR, DWWW_MAN2HTML, DWWW_TEXT2HTML, DWWW_DIR2HTML. .SH CUSTOMISING DWWW PAGES LAYOUT dwww uses a CSS file for managing the layout of the pages it generates. The file is built from two other files, namely .IR /usr/share/dwww/dwww.css , which is a global one, provided by the package, and .IR /etc/dwww/dwww\-user.css , a local one, that can be provided by the user to override settings from the former file. The latter file does not exist by default, but when it exists, .BR dwww\-build(8) will append its contents at the end of generated file. Since web browsers tend to use the last one setting defined for a given CSS element, this has the expected effect of customisation. .SS Example To use some image as a background for dwww pages, please put something like this in .IR /etc/dwww/dwww\-user.css : .RS 4 .nf body { background: url(\(aqhttp://host/path/to/background.png\(aq) repeat; } table,pre,code,tt { opacity: 0.7; } .fi .RE Please make sure to run .BR dwww\-build (8) afterwards. .SH FILES .TP .I /etc/dwww/dwww.conf Configuration file for dwww. It's not necessary for this file to exist, there are sensible defaults for everything. .TP .I /etc/dwww/apache.conf Default configuration file for various apache\-based web servers. The dwww package post-installation script creates symlinks from .I /etc/apache*/conf.d/dwww to this file. .TP .I /etc/dwww/dwww-user.css If such a file exists, its contents will be appended to the dwww.css file. This allows local administrators to customise dwww pages layout. .TP .I /etc/cron.daily/dwww Dwww daily cron job, which rebuilds cache directory and dwww HTML pages. .TP .I /etc/cron.weekly/dwww Dwww weekly cron job. Uses .BR dwww\-index++ (8) to rebuild registered documentation index. .TP .I /var/cache/dwww Directory, where are placed various cache files generated and used by dwww. .TP .I /var/cache/dwww/db Cache for the converted documents. .TP .I /usr/share/dwww Templates for the dwww web pages (used by .BR dwww\-build (8) and others). .TP .I /var/lib/dwww The dwww pages. The server's document root directory should have a link to this directory. .SH "SEE ALSO" .BR dwww (1), .BR dwww\-build (8), .BR dwww\-build\-menu (8), .BR dwww\-cache (8), .BR dwww\-convert (8), .BR dwww\-find (8), .BR dwww\-format\-man (8), .BR dwww\-index++ (8), .BR dwww\-quickfind (8), .BR dwww\-refresh\-cache (8), .BR dwww\-txt2html (8). .SH AUTHOR Originally by Lars Wirzenius . Modified by Jim Pick and Robert Luberda . Bugs should be reported via the normal Debian bug reporting system, see .I /usr/share/doc/debian/bug\-reporting.txt file or .BR reportbug (1) man page. .PP dwww is licensed via the GNU General Public License. While it has been written for Debian, porting it to other systems is strongly encouraged. dwww-1.12.1/perl/0000755000000000000000000000000012265062111010410 5ustar dwww-1.12.1/perl/Debian/0000755000000000000000000000000012265062111011572 5ustar dwww-1.12.1/perl/Debian/Dwww/0000755000000000000000000000000012265062111012522 5ustar dwww-1.12.1/perl/Debian/Dwww/Common.pm0000644000000000000000000000451712265062111014317 0ustar # vim:ft=perl:cindent:ts=4:sw=4:et:fdm=marker:cms=\ #\ %s # # $Id: Common.pm 547 2011-01-15 15:29:55Z robert $ # package Debian::Dwww::Common; use Exporter(); use strict; use Debian::Dwww::Utils; use vars qw(@ISA @EXPORT); @ISA = qw(Exporter); @EXPORT = qw(GetURL); my $dwww_url = "/cgi-bin/dwww"; my %href = # {{{ ( 'debiandoc-sgml'=> "$dwww_url#FILE#?type=application/sgml", 'docbook-xml' => "$dwww_url#FILE#?type=text/xml", 'dvi' => "$dwww_url#FILE#?type=application/x-dvi", 'html' => "$dwww_url#FILE#?type=html", 'info' => "/cgi-bin/info2www?file=", 'latex' => "$dwww_url#FILE#?type=application/x-latex", 'linuxdoc-sgml' => "$dwww_url#FILE#?type=application/sgml", 'pdf' => "$dwww_url#FILE#?type=application/pdf", 'postscript' => "$dwww_url#FILE#?type=application/postscript", 'ps' => "$dwww_url#FILE#?type=application/postscriptps", 'rtf' => "$dwww_url#FILE#?type=text/rtf", 'sgml' => "$dwww_url#FILE#?type=application/sgml", 'tar' => "$dwww_url#FILE#?type=application/tar", 'texinfo' => "$dwww_url#FILE#?type=application/x-texinfo", 'dwww-url' => "", 'text' => "$dwww_url#FILE#?type=text/plain", 'pkgsearch' => "$dwww_url?search=", "man" => "$dwww_url#FILE#?type=man", "runman" => "$dwww_url?type=runman&location=", 'doc-base' => "$dwww_url?search=#FILE#&searchtype=b", "dir" => "$dwww_url#FILE#/?type=dir", "info" => "/cgi-bin/info2www?file=", "file" => "$dwww_url", "menu" => "/dwww/menu/", "search" => "$dwww_url?search=", "dpkg" => "/cgi-bin/dpkg?query=", ); # }}} sub GetURL{ # {{{ my $format_name = shift; my $format_url = shift; my $dont_encode = shift; $dont_encode = $FALSE unless defined $dont_encode; $format_url = &URLEncode($format_url) unless ($dont_encode || $format_name eq 'dwww-url'); if ($href{$format_name} =~ /#FILE#/) { return $` . $format_url . $'; } else { return $href{$format_name} . $format_url; } } # }}} 1; dwww-1.12.1/perl/Debian/Dwww/ConfigFile.pm0000644000000000000000000001505612265062111015074 0ustar # vim:ft=perl:cindent:ts=4:sts=4:sw=4:et:fdm=marker:cms=\ #\ %s # package Debian::Dwww::ConfigFile; use Exporter(); use Sys::Hostname; use strict; use vars qw(@ISA @EXPORT); @ISA = qw(Exporter); @EXPORT = qw(ReadConfigFile WriteConfigFile); sub ReadConfigFile($) { my $filename = shift; my $hostname = &hostname(); $hostname =~ s/\..*$//; my $cfgvars = { # Basic configuration variables 'DWWW_SERVERNAME' => { sort => 10, defval => 'localhost', descr => 'Name of the www server dwww(1) will connect to.' }, 'DWWW_SERVERPORT' => { sort => 10, defval => 80, descr => 'Port of the www server dwww(1) will connect to.' }, 'DWWW_USEHTTPS' => { sort => 15, defval => 'no', descr => 'Should dwww(1) use the HTTPS protocol for connecting.' }, 'DWWW_DOCROOTDIR' => { sort => 10, defval => '/var/www', descr => 'The document root for web server.' }, 'DWWW_CGIDIR' => { sort => 10, defval => '/usr/lib/cgi-bin', descr => 'The directory which contains the CGI scripts for the web server.' }, 'DWWW_CGIUSER' => { sort => 10, defval => 'www-data', descr => 'Name of the user the web server uses to execute CGI script.' }, # Browser variables 'DWWW_BROWSER' => { sort => 20, defval => '', descr => 'Web-browser used by dwww(1) to load dwww main page.' }, 'DWWW_X11_BROWSER' => { sort => 20, defval => '', descr => 'Web-browser used by dwww(1) to load dwww main page in X11 mode.' }, # Path variables 'DWWW_DOCPATH' => { sort => 30, defval => '/usr/share/doc:/usr/share/info:/usr/share/man:/usr/local/share/doc:' . '/usr/local/share/info:/usr/local/share/man:/usr/share/common-licenses', descr => 'Colon-delimited list of directories dwww-convert(8) supplies files from.' }, 'DWWW_ALLOWEDLINKPATH' => { sort => 35, defval => '/usr/share:/usr/lib:/usr/local/share:/var/www', descr => 'Colon-delimited list of directories that could be targets of symlinks.' }, # Cache files locations 'DWWW_QUICKFIND_DB' => { sort => 40, defval => '/var/cache/dwww/quickfind.dat', descr => 'Location of cache of installed packages and programs.' }, 'DWWW_REGDOCS_DB' => { sort => 45, defval => '/var/cache/dwww/regdocs.dat', descr => 'Location of cache of doc-base registered documents.' }, 'DWWW_DOCBASE2PKG_DB' => { sort => 45, defval => '/var/cache/dwww/docbase2pkg.dat', descr => 'Location of cache of doc-base file to package mapping.' }, # Documentation indexing variables 'DWWW_INDEX_DOCUMENTATION' => { sort => 50, defval => 'yes', descr => 'Should dwww-index++(8) index documentation with swish++.' }, 'DWWW_INDEX_FULL_TIME_INTERVAL' => { sort => 50, defval => 28, descr => 'How often (in days) dwww-index++(8) will generate full index of documentation.' }, 'DWWW_INDEX_INCREMENTAL_TIME_INTERVAL' => { sort => 50, defval => 7, descr => 'How often (in days) dwww-index++(8) will generate incremental index of documentation.' }, 'DWWW_MERGE_MAN2HTML_INDEX' => { sort => 55, defval => 'no', descr => 'Should dwww-index++(8) use index generated by man2html.' }, # Other variables 'DWWW_KEEPDAYS' => { sort => 60, defval => 10, descr => 'How many days should dwww-refresh-cache(8) keep documents that have not been accessed.' }, 'DWWW_TMPDIR' => { sort => 60, defval => '/var/lib/dwww', descr => 'Temporary directory used by dwww-build(8) and dwww-build-menu(8).' }, 'DWWW_USEFILEURL' => { sort => 60, defval => 'no', descr => 'Should dwww-convert(8) generate file:/ urls.' }, 'DWWW_TITLE' => { sort => 60, defval => 'dwww: ' . $hostname, descr => 'Title to appear on dwww generated files.' }, 'DWWW_USE_CACHE' => { sort => 60, defval => 'yes', descr => 'Should dwww cache accessed documents?' } }; if ($filename && -r $filename) { open DWWWCONF, "<", $filename or die "Can't open $filename: $!\n"; while () { chomp(); # Note: the same regexp is used in debian/dwww.config next if /^\s*#/; if (m/^\s*([^=]+)\s*=\s*['"]?([^'"\s]+)['"]?\s*$/) { $cfgvars->{$1}->{'cfgval'} = $2; } } close DWWWCONF or die "Can't close $filename: $!\n"; } return $cfgvars; } sub WriteConfigFile($$) { my $filename = shift; my $cfgvars = shift; open DWWWCONF, ">", "$filename" or die "Can't open $filename for writing: $!\n"; print DWWWCONF "## Dwww configuration file, see dwww(7) for details.\n"; print DWWWCONF "## The file is in Bourne shell script format, thus no spaces\n"; print DWWWCONF "## may be used in variables assignments.\n\n"; foreach my $key(sort { my $s1 = defined $cfgvars->{$a}->{'sort'} ? $cfgvars->{$a}->{'sort'} : 999; my $s2 = defined $cfgvars->{$b}->{'sort'} ? $cfgvars->{$b}->{'sort'} : 999; my $v = $s1 <=> $s2; return $v == 0 ? $a cmp $b: $v; } keys %$cfgvars) { my $defval = $cfgvars->{$key}->{'defval'}; my $cfgval = $cfgvars->{$key}->{'cfgval'}; my $descr = $cfgvars->{$key}->{'descr'}; print DWWWCONF "## $descr\n" if $descr; print DWWWCONF "## default: $defval\n" if $defval; if ($cfgval) { print DWWWCONF "$key='$cfgval'\n"; } elsif (defined $defval) { print DWWWCONF "# $key='$defval'\n"; } print DWWWCONF "\n"; } close DWWWCONF or die "Can't close $filename: $!\n"; } 1; dwww-1.12.1/perl/Debian/Dwww/DocBase.pm0000644000000000000000000000445012265062111014363 0ustar # vim:ft=perl:cindent # # $Id: DocBase.pm,v 1.5 2003-05-16 17:22:33 robert Exp $ # package Debian::Dwww::DocBase; use Exporter(); use Debian::Dwww::Version; use strict; use vars qw(@ISA @EXPORT $ErrorProc); @ISA = qw(Exporter); @EXPORT = qw(ParseDocBaseFile DwwwSection2Section $ErrorProc); sub ParseDocBaseFile { my $file = shift; my $format = undef; my $entry = {}; my ($fld, $val, $lastfld) = ('', '', ''); my $line = 0; local $_; if (not open DOCFILE, $file) { &$ErrorProc($file, "Can't be opened: $!"); return undef; } while () { chomp; s/\s+$//; $line++; if (/^\s*$/) { # empty lines separate sections $format = ''; # here we define $format $lastfld = ''; } elsif (/^(\S+)\s*:\s*(.*)\s*$/) { ($fld, $val) = (lc $1, $2); if (not defined $format) { $entry->{$fld} = $val; } elsif ($format eq '' and $fld eq 'format') { $format = lc $val; } elsif ($format ne '' and $fld eq 'index') { $entry->{'formats'}->{$format}->{'index'} = $val; } elsif ($format ne '' and $fld eq 'files') { $entry->{'formats'}->{$format}->{'files'} = $val; } else { goto PARSE_ERROR; } $lastfld = $fld; } elsif (/^\s+/ and $lastfld ne '') { $entry->{$lastfld} .= "\n$_"; } else { goto PARSE_ERROR; } } close DOCFILE; return $entry; PARSE_ERROR: &$ErrorProc($file, "Parse error at line $line"); close DOCFILE; return undef; } sub DwwwSection2Section { my $entry = shift; my $sec = $entry->{'dwww-section'} if defined $entry->{'dwww-section'}; my $title = defined $entry->{'dwww-title'} ? $entry->{'dwww-title'} : defined $entry->{'title'} ? $entry->{'title'} : undef; return unless defined $sec and defined $title; if (length($sec) > length($title) && substr ($sec, -length($title)) eq $title) { $sec = substr ($sec, 0, -length($title)); } else { return; } $sec =~ s|^/+||; $sec =~ s|/+$||; $entry->{'section'} = $sec; } 1; dwww-1.12.1/perl/Debian/Dwww/Initialize.pm0000644000000000000000000000253412265062111015165 0ustar # vim:ft=perl:cindent:ts=4:sts=4:sw=4:et:fdm=marker:cms=\ #\ %s # package Debian::Dwww::Initialize; use Exporter(); use Sys::Hostname; use Debian::Dwww::ConfigFile; use strict; use vars qw(@ISA @EXPORT); @ISA = qw(Exporter); @EXPORT = qw(DwwwInitialize DwwwSetupDirs); sub DwwwInitialize($) { my $filename = shift; my $hostname = &hostname(); $hostname =~ s/\..*$//; my $cfgvars = ReadConfigFile($filename); my $dwwwvars = {}; map +{ $dwwwvars->{$_} = $cfgvars->{$_}->{'cfgval'} ? $cfgvars->{$_}->{'cfgval'} : $cfgvars->{$_}->{'defval'} }, keys %$cfgvars; umask (022); $ENV{'PATH'} = "/usr/sbin:/usr/bin:$ENV{'PATH'}"; foreach my $k ( 'DWWW_DOCPATH', 'DWWW_ALLOWEDLINKPATH' ) { my @paths = split( /:/, $dwwwvars->{$k} ); $dwwwvars->{$k} = \@paths; } return $dwwwvars; } sub DwwwSetupDirs() { my $dwwwvars = shift; my $dir = "/var/cache/dwww"; if ( ! -d "$dir" ) { mkdir "$dir", 0755 or die "Cannot create directory $dir"; chown 0, 0, "$dir" } if ( ! -d "$dir/db" ) { mkdir "$dir/db", 0755 or die "Cannot create directory $dir/db"; my $uid = (getpwnam("$dwwwvars->{'DWWW_CGIUSER'}"))[2] or die "User $dwwwvars->{'DWWW_CGIUSER'} does not exist\n"; chown $uid, 0, "$dir/db"; } } 1; dwww-1.12.1/perl/Debian/Dwww/Makefile0000644000000000000000000000061412265062111014163 0ustar # vim ts=2 # Makefile for dwww. # ALL_TARGET := all-local SUBDIRS := include ../../../common.mk generated := $(bdir)/Version.pm SOURCE_FILES := $(sort $(wildcard *.pm) $(generated)) INSTALL_DIR := $(subst $(realpath $(TOPDIR)/perl),,$(realpath $(CURDIR))) all-local: $(generated) install-local: $(call msg,$@) $(call install,$(perllibdir)/$(INSTALL_DIR),$(SOURCE_FILES)) dwww-1.12.1/perl/Debian/Dwww/Utils.pm0000644000000000000000000002071312265062111014163 0ustar # vim:ft=perl:cindent:ts=4:sts=4:sw=4:et:fdm=marker:cms=\ #\ %s # # $Id: Utils.pm 507 2009-01-10 15:37:23Z robert $ # package Debian::Dwww::Utils; use Exporter(); use Debian::Dwww::Version; use Cwd qw(cwd realpath); use POSIX qw(strftime locale_h); use File::Path qw/rmtree mkpath/; use File::NCopy qw/copy/; use strict; #use warnings; use vars qw(@ISA @EXPORT); @ISA = qw(Exporter); @EXPORT = qw(URLEncode HTMLEncode HTMLEncodeAbstract StripDirs CheckAccess RedirectToURL ErrorMsg TemplateFile BeginTable AddToTable EndTable GetCommandOutput RenameDir $TRUE $FALSE); our $TRUE = 1; our $FALSE = 0; sub URLEncode { my $url = shift; $url =~ s/([^A-Za-z0-9\_\-\.\/])/"%" . unpack("H*", $1)/eg; # $url =~ tr/ /+/; return $url; } # HTMLEncode(what) sub HTMLEncode { # {{{ my $text = shift; $text =~ s/&/&/g; $text =~ s//>/g; $text =~ s/"/"/g; return $text; } # }}} sub HTMLEncodeAbstract { # {{{ my $text = &HTMLEncode(@_); $text =~ s/^\s\s+(.*)$/
 $1<\/TT>
/gm; $text =~ s/^\s\.\s*$/
/gm; $text =~ s/(
\s*)+/
\n/g; $text =~ s/(http|ftp)s?:\/([\w\/~\.%#-])+[\w\/]/$&<\/A>/g; $text =~ s/
\s*$//; return $text; } # }}} sub GetDate { # {{{ my $old_locale = &setlocale(LC_ALL, "C"); my $date = &strftime ("%a %b %e %H:%M:%S %Z %Y", localtime(time)); &setlocale(LC_ALL, $old_locale) unless $old_locale eq "C"; return $date; } # }}} sub TemplateFile { # {{{ my $file= shift; my $vars= shift; # hash reference my $res = ''; local $_; open TEMPLATE , "<$file" or die "Can't open $file: $!"; while (