1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-29 00:20:40 -04:00
Commit graph

3 commits

Author SHA1 Message Date
Alexey Dokuchaev
a6de0a3f68 - Update to version 2.26 and cleanup MASTER_SITES; define LICENSE
- Change default WWW root from ${PREFIX}/www/data to more expected (and
  standard) ${WWWDIR} (${PREFIX}/www/thttpd) and default CGI pattern to
  "/cgi-bin/*" since this goes better in line with default installation
- Enable IPREAL option by default (do not convert it to unconditional
  patch as it could lead to privacy violation, which might be unwanted)
- Change served data default MIME type to "application/octet-stream"
- Rename thttpdpasswd(1) and its manpage to thtpasswd(1); this not just
  makes it shorter, but is more consistent with what popular GNU/Linux
  distributions do
- Stop generating index pages for directories by default for security
  reasons, provide an option for that
- Properly stagify port by patching upstream makefiles instead of doing
  entire installation by hand (and thus retire `do-install' target)
- Adjust and sort pkg-plist in accordance with the the above changes
2015-01-18 13:37:34 +00:00
Alexey Dokuchaev
31b51c9317 Bring another several patches from Gentoo and Red Hat (also relevant to the
upcoming 2.26):

- Fix potential buffer overflow in expand_symlinks() function of libhttpd.c
- Better handling of tempfile and additional input validation in htpasswd(1)
- Make sure that the logfile is created or reopened as read/write by thttpd
  (www) user only (modified to allow group read access as well so web admin
  won't have to su(1) to super-user or "www" to be able to read logs) [1]

Bump port revision to account for these and previous changes.

Gentoo bug:	458896 [1]
Security:	CVE-2013-0348 [1]
2015-01-18 12:01:18 +00:00
Anders Nordby
1e6eb53ae0 Add Alfred Perlstein's sendfile patches, as an optional knob. 2002-10-21 00:29:02 +00:00