diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-01-14 09:45:35 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-01-14 09:45:35 +0000 |
commit | 11f41f816c47c81e0030214756e7df1b390eb121 (patch) | |
tree | c12f2ab7772ae5cc02ce6cb5827b8edcbe879920 /www/httest/Makefile | |
parent | 66a3f1a87d27e00971ebfa9f598d56f21919ded8 (diff) | |
download | ports-11f41f816c47c81e0030214756e7df1b390eb121.tar.gz ports-11f41f816c47c81e0030214756e7df1b390eb121.zip |
- Update `www/httest' to the latest version 2.4.24
- Reluctantly start to demand contemporary OpenSSL
Notes
Notes:
svn path=/head/; revision=561548
Diffstat (limited to 'www/httest/Makefile')
-rw-r--r-- | www/httest/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/www/httest/Makefile b/www/httest/Makefile index 35c45a5c550b..3081cc942d35 100644 --- a/www/httest/Makefile +++ b/www/httest/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= httest -PORTVERSION= 2.4.23 -PORTREVISION= 3 +PORTVERSION= 2.4.24 CATEGORIES= www MASTER_SITES= SF/htt/htt${PORTVERSION:R}/${PORTNAME}-${PORTVERSION} @@ -41,18 +40,15 @@ MAKE_JOBS_UNSAFE= yes .include <bsd.port.pre.mk> -# Reported upstream: -# https://sourceforge.net/p/htt/tickets/5/ - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 -BROKEN= does not build with OpenSSL 1.1.1 +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base +BROKEN= requires OpenSSL 1.1.1, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf .endif post-patch: @${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||; s|-llua|-llua-${LUA_VER}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/generate_modules_c.sh - @${REINPLACE_CMD} -e 's|<pcre/pcre.h>|<pcre.h>|' ${WRKSRC}/src/httest.c ${WRKSRC}/src/regex.c \ - ${WRKSRC}/src/body.c ${WRKSRC}/src/module.h ${WRKSRC}/src/worker.c + @${REINPLACE_CMD} -e 's|^apr_time_t start_time|extern &|' \ + ${WRKSRC}/src/perf_module.c post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |