View | Details | Raw Unified | Return to bug 45452
Collapse All | Expand All

(-)www/httperf/Makefile (-15 / +13 lines)
Lines 6-33 Link Here
6
#
6
#
7
7
8
PORTNAME=	httperf
8
PORTNAME=	httperf
9
PORTVERSION=	0.6
9
PORTVERSION=	0.8
10
CATEGORIES=	www
10
CATEGORIES=	www
11
MASTER_SITES=	ftp://ftp.hpl.hp.com/pub/httperf/
11
MASTER_SITES=	ftp://ftp.hpl.hp.com/pub/httperf/
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
14
15
USE_GMAKE=	yes
15
USE_OPENSSL=	yes
16
MAN1=		httperf.1
16
GNU_CONFIGURE=	yes
17
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
18
		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
17
19
18
# there is no "install" target in the Makefile.
20
MAN1=		httperf.1
19
# chmod'ing httperf as it could be exploited by normal users to overload
20
# a webserver, instead of for its actual purpose.
21
21
22
do-install:
22
post-install:
23
	@${INSTALL_PROGRAM} ${WRKSRC}/httperf ${PREFIX}/bin
24
	${CHMOD} 750 ${PREFIX}/bin/httperf
23
	${CHMOD} 750 ${PREFIX}/bin/httperf
25
	@${INSTALL_MAN} ${WRKSRC}/httperf.man ${PREFIX}/man/man1/httperf.1
24
.if !defined(NOPORTDOCS)
26
	@${MKDIR} ${PREFIX}/share/doc/httperf
25
	@${MKDIR} ${DOCSDIR}
27
	@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/httperf
26
.for file in ChangeLog NEWS README TODO
28
	@${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/httperf
27
	@${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
29
	@${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/httperf
28
.endfor
30
	@${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/httperf
29
.endif
31
	@${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/httperf
32
30
33
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)www/httperf/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (httperf-0.6.tar.gz) = d67ee49eb06e14d0bf8dbf5bce954c5b
1
MD5 (httperf-0.8.tar.gz) = 2971956d4846349f9e8d3c54acd591a5
(-)www/httperf/files/patch-Makefile.in (+10 lines)
Line 0 Link Here
1
--- Makefile.in.orig	Thu Oct 19 16:38:59 2000
2
+++ Makefile.in	Wed Nov 13 06:30:08 2002
3
@@ -6,6 +6,7 @@
4
 top_builddir = .
5
 
6
 prefix = @prefix@
7
+exec_prefix = @exec_prefix@
8
 bindir = @bindir@
9
 mandir = @mandir@
10
 
(-)www/httperf/files/patch-httperf.c (+13 lines)
Line 0 Link Here
1
--- httperf.c.orig	Wed Nov  1 05:20:00 2000
2
+++ httperf.c	Wed Nov 13 06:19:41 2002
3
@@ -68,6 +68,10 @@
4
 #include <conn.h>
5
 #include <timer.h>
6
 
7
+#ifdef __FreeBSD__
8
+#include <machine/floatingpoint.h>
9
+#endif
10
+
11
 #ifdef HAVE_SSL
12
 #  include <openssl/rand.h>
13
 #endif
(-)www/httperf/files/patch-lib::ssl_writev.c (+13 lines)
Line 0 Link Here
1
--- lib/ssl_writev.c.orig	Thu Oct 12 09:09:47 2000
2
+++ lib/ssl_writev.c	Wed Nov 13 06:22:01 2002
3
@@ -31,7 +31,10 @@
4
 
5
 #ifdef HAVE_OPENSSL_SSL_H
6
 
7
+#ifdef HAVE_ALLOCA_H
8
 #include <alloca.h>
9
+#endif
10
+
11
 #include <string.h>
12
 
13
 #include <sys/types.h>
(-)www/httperf/pkg-plist (-6 / +5 lines)
Lines 1-7 Link Here
1
bin/httperf
1
bin/httperf
2
share/doc/httperf/COPYRIGHT
2
%%PORTDOCS%%share/doc/httperf/ChangeLog
3
share/doc/httperf/ChangeLog
3
%%PORTDOCS%%share/doc/httperf/NEWS
4
share/doc/httperf/NEWS
4
%%PORTDOCS%%share/doc/httperf/README
5
share/doc/httperf/README
5
%%PORTDOCS%%share/doc/httperf/TODO
6
share/doc/httperf/TODO
6
%%PORTDOCS%%@dirrm share/doc/httperf
7
@dirrm share/doc/httperf

Return to bug 45452