freebsd-ports/www/wwwoffle/Makefile
Pawel Pekala 8f5bd56efd - Update to version 2.9j [1]
- Add LICENSE_FILE
- Configure script is generated by GNU tools
- Use @sample for configuration file instead of
  deprecated @unexec, remove part of pkg-message
  about copying config file, it's done automatically now
- Regenerate patches with make makepatch

Version 2.9j of WWWOFFLE released : Sat 23 Mar 2016
---------------------------------------------------
Bug Fixes
 Fix to remove compilation warnings for [gs]etres[ug]id() functions.
 Don't delete newlines from within quoted strings when modifying HTML.
 Accept 'Transfer-Encoding: Chunked' instead of '... chunked'.
 Increase the socket backlog to queue requests better.
 Documentation changes for mailing lists, web-page and e-mail addresses.
 Accept data from servers that use gzip encoding but don't send the tail.
 Improve the error messages for gnutls problems. [*]
 Some gnutls fixes and improvements. [*]
 Fix an error with chunked encoding and compression from slow servers.
 Fix HTML (and CSS) parsing problems related to media types.

Improvements:
 Increase the root certificate and fake certificates to 2048 bits. [*]
 Change the certificate hash function to SHA256 (SHA1 is deprecated). [*]
 Use the SNI TLS extension for incoming and outgoing https connections. [*]

*NOTE* *These only apply if WWWOFFLE is compiled with SSL/https support*

PR:		212831 (based on) [1]
Submitted by:	Jochen Neumeister [1]
2016-10-01 14:28:18 +00:00

38 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= wwwoffle
PORTVERSION= 2.9j
CATEGORIES= www ipv6
MASTER_SITES= http://www.gedanken.org.uk/software/wwwoffle/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Caching proxy server for HTTP and FTP designed for dial-up hosts
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/COPYING
LIB_DEPENDS= libgnutls.so:security/gnutls
USES= perl5 gmake tar:tgz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc --with-ipv6 \
--with-gnutls=${LOCALBASE} \
--with-spooldir=${WWWOFFLE_SPOOL} \
--docdir=${DOCSDIR}
LIBS+= -lmd
PLIST_SUB+= WWWOFFLE_SPOOL=${WWWOFFLE_SPOOL}
SUB_FILES= pkg-message
SUB_LIST= WWWOFFLE_SPOOL="${WWWOFFLE_SPOOL}"
USE_RC_SUBR= ${PORTNAME}d
# $SPOOL seems like a common name which could be used for other things, so
# use $WWWOFFLE_SPOOL as the overriding setting.
WWWOFFLE_SPOOL?= /var/spool/wwwoffle
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/conf/upgrade-config.pl ${STAGEDIR}${WWWOFFLE_SPOOL}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}* ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}d
.include <bsd.port.mk>