1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- Add LICENSE

- Fix shebangs
- Simplify WRKSRC handling
- Fix stripping
- Drop @dirrm* from plist
This commit is contained in:
Dmitry Marakasov 2015-06-08 01:20:07 +00:00
parent f55b57f826
commit ddaa235652
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388810
4 changed files with 26 additions and 21 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= webstone
PORTVERSION= 2.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www benchmarks
MASTER_SITES= http://crypto.stanford.edu/~nagendra/projects/WebStone/download/
PKGNAMESUFFIX= -ssl
@ -12,10 +12,15 @@ DISTNAME= WebStone-SSL-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= World wide web server benchmarking with SSL support
WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}/src
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= shebangfix tar:tgz
SHEBANG_FILES= bin/*.wpl bin/*.pl
GNU_CONFIGURE= yes
USES= tar:tgz
WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}
CONFIGURE_WRKSRC= ${WRKSRC}/src
BUILD_WRKSRC= ${WRKSRC}/src
USE_OPENSSL= yes
ALL_TARGET= install
MAKE_JOBS_UNSAFE= yes
@ -24,23 +29,27 @@ CPPFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
pre-configure:
@${RM} -f ${WRKSRC}/config.cache
@${RM} -f ${WRKSRC}/src/config.cache
do-install:
@${RMDIR} ${WRKSRC}/../bin/runs
@${RMDIR} ${WRKSRC}/bin/runs
@${MKDIR} ${STAGEDIR}${PREFIX}/webstone-ssl/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/webstone-ssl/conf
@${MKDIR} ${STAGEDIR}${PREFIX}/webstone-ssl/lgm
${INSTALL_SCRIPT} ${WRKSRC}/../bin/* ${STAGEDIR}${PREFIX}/webstone-ssl/bin
${INSTALL_SCRIPT} ${WRKSRC}/../lgm/* ${STAGEDIR}${PREFIX}/webstone-ssl/lgm
${INSTALL_DATA} ${WRKSRC}/../conf/* ${STAGEDIR}${PREFIX}/webstone-ssl/conf
${INSTALL_SCRIPT} ${WRKSRC}/../webstone ${STAGEDIR}${PREFIX}/webstone-ssl
@${MKDIR} ${WRKSRC}/../bin/runs
${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/webstone-ssl/bin
${INSTALL_SCRIPT} ${WRKSRC}/lgm/* ${STAGEDIR}${PREFIX}/webstone-ssl/lgm
${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${PREFIX}/webstone-ssl/conf
${INSTALL_SCRIPT} ${WRKSRC}/webstone ${STAGEDIR}${PREFIX}/webstone-ssl
@${MKDIR} ${WRKSRC}/bin/runs
.for i in webclient webmaster genrand
${CHMOD} u+w ${STAGEDIR}${PREFIX}/webstone-ssl/bin/${i}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/bin/${i}
${CHMOD} u-w ${STAGEDIR}${PREFIX}/webstone-ssl/bin/${i}
.endfor
.for i in ws20_cgi ws25_cgi
${CHMOD} u+w ${STAGEDIR}${PREFIX}/webstone-ssl/lgm/${i}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/lgm/${i}
${CHMOD} u-w ${STAGEDIR}${PREFIX}/webstone-ssl/lgm/${i}
.endfor
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
--- Makefile.in.orig Fri Jun 16 05:49:19 2000
+++ Makefile.in Tue Mar 13 04:51:41 2001
@@ -29,7 +29,7 @@
--- src/Makefile.in.orig 2000-06-15 20:49:19 UTC
+++ src/Makefile.in
@@ -29,7 +29,7 @@ PRODUCT = @PRODUCT@
VERSION = @VERSION@
CC = @CC@
@ -9,7 +9,7 @@
LDFLAGS = @LDFLAGS@
INCLUDES =
CFLAGS = @CFLAGS@ -DSTONE_SSL
@@ -47,11 +47,11 @@
@@ -47,11 +47,11 @@ EXECUTABLE3 = genrand
MAIN3 = genrand.c
MASTERSRCS = timefunc.c bench.c parse_file_list.c statistics.c \
@ -23,7 +23,7 @@
COMPILE = $(CC) $(CFLAGS) $(DEFS) $(INCLUDES)
@@ -64,9 +64,9 @@
@@ -64,9 +64,9 @@ TARGETS = $(EXECUTABLE1) $(EXECUTABLE2)
.SUFFIXES:
.SUFFIXES: .c .o

View File

@ -1,5 +1,5 @@
--- get.c.orig 2000-06-21 19:15:41 UTC
+++ get.c
--- src/get.c.orig 2000-06-21 19:15:41 UTC
+++ src/get.c
@@ -169,27 +169,33 @@ get(char *loc, NETPORT port, char *url,
OpenSSL_add_all_algorithms();
OpenSSL_add_ssl_algorithms();

View File

@ -49,7 +49,3 @@ webstone-ssl/lgm/keepme
webstone-ssl/lgm/ws20_cgi
webstone-ssl/lgm/ws25_cgi
webstone-ssl/webstone
@dirrm webstone-ssl/bin
@dirrm webstone-ssl/conf
@dirrm webstone-ssl/lgm
@dirrm webstone-ssl