Source: publicfile
Section: net
Priority: optional
Maintainer: Joost van Baal-Ilić <joostvb@debian.org>
Standards-Version: 3.9.8
Build-Depends: debhelper-compat (= 13), dh-exec, gcc-13
Homepage: http://cr.yp.to/publicfile.html
Vcs-Git: https://salsa.debian.org/debian/publicfile.git
Vcs-Browser: https://salsa.debian.org/debian/publicfile

Package: publicfile
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ucspi-tcp-ipv6 (>> 1:0.88) | ucspi-tcp (>> 1:0.88), adduser
Recommends: runit-init | runit-run | daemontools-run (>> 1:0.76)
Suggests: curl, zsh | zsh-beta
Provides: httpd
Conflicts: merecat (<< 2.31+git20220513+ds-6)
Description: http and ftp server by Daniel J Bernstein
 publicfile supplies files to the public through HTTP and FTP.
 .
 Security features:
  - Before accepting any commands, publicfile chroot()s to the public file area
    and sheds root privileges.
  - doesn't let users log in. Intruders can't use publicfile to
    check your usernames and passwords.
  - refuses to supply files that are unreadable to owner, unreadable
    to group, or unreadable to world.
  - never attempts to modify the public file area. It refuses all
    HTTP and FTP modification commands.
  - never runs any other programs. It does not support HTTP CGI or
    FTP SITE EXEC.
 .
 HTTP features: publicfile supports:
  - virtual hosts through the Host field as well as through absolute URLs.
  - HTTP/1.1 persistent connections and chunked responses.
  - user-controlled content types.
  - exact-prefix If-Modified-Since.
 .
 FTP features: publicfile:
  - has built-in LIST and NLST commands. You don't have to bother
    setting up bin/ls, shared libraries, et al. inside the public file area.
  - provides EPLF LIST responses, including options "i", "s", and "m".
  - supports restarted transfers and pipelining.
  - uses local ports above 1024 for PORT connections.
  - prohibits remote ports below 1024 for PORT and prohibits PORT relaying.
  - includes automatic PASV IP protection.
 .
 Next to upstream code, this package contains three simple small shellscripts
 by the package maintainter: ad1810-autoindex - a tool to generate index.html
 from directory listings; get-publicfile-docs - a tool to download and
 install publicfile documentation; and update-publicfile-contenttype -
 helpful in making publicfile give suitable MIME types with files served.
 .
 Three patches are applied to the sources: errno.patch and implicit-int.patch
 (both fixing compilation) and filetype.patch (adding functionality for
 handling extra MIME types).
 .
 publicfile was written in 1999 and didn't change a lot after that.
 Modern features (e.g. SSL / https) are not supported.  However, if you're
 looking for a small, simple and secure webserver, which integrates with
 the runit and daemontools UNIX service managers, publicfile will suit
 your needs.
