Date: Wed, 14 Mar 2012 02:22:20 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/166053: Update port: www/httest Message-ID: <20120314022220.0073c182.tkato432@yahoo.com> Resent-Message-ID: <201203131810.q2DIADcf055206@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 166053 >Category: ports >Synopsis: Update port: www/httest >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 13 18:10:13 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p5 i386 >Organization: >Environment: >Description: - Support CFLAGS properly - Add MAKE_JOBS_SAFE - Support PORTEXAMPLES/PLIST_FILES Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/www/httest/Makefile www/httest/Makefile --- /usr/ports/www/httest/Makefile 2012-03-10 03:19:00.000000000 +0900 +++ www/httest/Makefile 2012-03-10 03:22:15.000000000 +0900 @@ -7,30 +7,47 @@ PORTNAME= httest PORTVERSION= 2.1.18 +PORTREVISION= 1 CATEGORIES= www -MASTER_SITES= SF -MASTER_SITE_SUBDIR= htt/htt2.1/${PORTNAME}-${PORTVERSION} +MASTER_SITES= SF/htt/htt${PORTVERSION:R}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= HTTP Test Tool -LICENSE= AL2 - -LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr1 \ +LIB_DEPENDS= apr-1.4:${PORTSDIR}/devel/apr1 \ pcre.1:${PORTSDIR}/devel/pcre -GNU_CONFIGURE= yes -USE_OPENSSL= yes -USE_LUA= yes - -LDFLAGS+= -L${LUA_LIBDIR} -lm +LICENSE= AL2 -CONFIGURE_ARGS+=--with-apr="${LOCALBASE}/bin" \ +USE_LUA= yes +USE_OPENSSL= yes +USE_ICONV= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-apr="${LOCALBASE}/bin" \ --with-apr-util="${LOCALBASE}/bin" \ --with-pcre="${LOCALBASE}/bin" \ - --with-lua="${LUA_INCDIR}" \ + --with-ssl="${OPENSSLLIB}" \ + --with-lua="${LUA_LIBDIR}" \ --enable-lua-module +MAKE_JOBS_SAFE= yes + +CPPFLAGS+= -I${LUA_INCDIR} MAN1= httest.1 htproxy.1 htntlm.1 htremote.1 +PORTEXAMPLES= * +PLIST_FILES= bin/htntlm bin/htproxy bin/htremote bin/httest bin/hturlext \ + bin/htx2b + +post-patch: + @${REINPLACE_CMD} -e \ + 's|`$$APR_CONFIG --cflags`||' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|/bin/bash|/bin/sh|' ${WRKSRC}/generate_modules_c.sh + +post-install: +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.htt ${EXAMPLESDIR} +.endif .include <bsd.port.mk> diff -urN /usr/ports/www/httest/pkg-plist www/httest/pkg-plist --- /usr/ports/www/httest/pkg-plist 2011-06-16 01:01:06.000000000 +0900 +++ www/httest/pkg-plist 1970-01-01 09:00:00.000000000 +0900 @@ -1,6 +0,0 @@ -bin/htntlm -bin/htproxy -bin/htremote -bin/httest -bin/hturlext -bin/htx2b >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120314022220.0073c182.tkato432>