1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Update to 1.5.0

- Add OCSP stapling smarts to port [1]

PR:		232436 [1]
Submitted by:	Graham Percival [1]
This commit is contained in:
Ryan Steinmetz 2018-12-20 21:07:47 +00:00
parent eb82eb3946
commit 32f57c225b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487922
5 changed files with 17 additions and 8 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= hitch
PORTVERSION= 1.4.8
PORTREVISION= 2
PORTVERSION= 1.5.0
CATEGORIES= security
MASTER_SITES= http://hitch-tls.org/source/ \
ZI
@ -27,11 +26,15 @@ CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB}" \
USE_RC_SUBR= ${PORTNAME}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lcrypto -lssl
CACHE_DIR?= /var/cache/hitch
PLIST_SUB= CACHE_DIR=${CACHE_DIR}
SUB_LIST+= CACHE_DIR="${CACHE_DIR}"
SUB_FILES= ${PORTNAME}.conf.sample
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/
${MKDIR} ${STAGEDIR}${PREFIX}/etc ${STAGEDIR}${CACHE_DIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1526906812
SHA256 (hitch-1.4.8.tar.gz) = d52ba690d90c25bbfca73f5e0ed427738366dac12faf46fb5834e497cc2d1ac3
SIZE (hitch-1.4.8.tar.gz) = 297107
TIMESTAMP = 1545338657
SHA256 (hitch-1.5.0.tar.gz) = 0ec254699292f73e419ff279d2834db31026192ef373a91badd82e2dc7154d0b
SIZE (hitch-1.5.0.tar.gz) = 304169

View File

@ -45,6 +45,11 @@ prefer-server-ciphers = off
# type: string
ssl-engine = ""
# Directory for OCSP staple retrieval
#
# type: string
ocsp-dir = "%%CACHE_DIR%%"
# Number of worker processes
#
# type: integer

View File

@ -1,2 +1,2 @@
Don't forget to append DH params to your pem file using:
openssl dhparam -rand - 1024 >> /path/to/cert.pem
openssl dhparam -rand - 2048 >> /path/to/cert.pem

View File

@ -5,3 +5,4 @@ sbin/hitch
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/hitch.conf.example
@sample etc/hitch.conf.sample
@dir(hitch,hitch,) %%CACHE_DIR%%