- Update to 0.7

- Remove a patch that is no longer needed

PR:		78782
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de>
This commit is contained in:
Yen-Ming Lee 2005-03-17 06:07:55 +00:00
parent a03143867b
commit 7995a7f65e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131467
4 changed files with 5 additions and 17 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= gatling
PORTVERSION= 0.6
PORTREVISION= 1
PORTVERSION= 0.7
CATEGORIES= www benchmarks ftp ipv6
MASTER_SITES= http://dl.fefe.de/

View File

@ -1,2 +1,2 @@
MD5 (gatling-0.6.tar.bz2) = 2067d666c01834f2c8702b08644f95d8
SIZE (gatling-0.6.tar.bz2) = 47267
MD5 (gatling-0.7.tar.bz2) = 3c6d3e859b539f24b6ffaffd1659d3f7
SIZE (gatling-0.7.tar.bz2) = 53029

View File

@ -24,8 +24,8 @@
$(CC) -c $< -I. $(CFLAGS)
tlsgatling: gatling.c ssl.o
- $(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) -lssl -lcrypto $(LDLIBS)
+ $(CC) -o $@ $(CFLAGS) $> -DSUPPORT_HTTPS $(LDFLAGS) -lssl -lcrypto $(LDLIBS)
- -$(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) -lssl -lcrypto $(LDLIBS)
+ -$(CC) -o $@ $(CFLAGS) $> -DSUPPORT_HTTPS $(LDFLAGS) -lssl -lcrypto $(LDLIBS)
libsocket: trysocket.c
if $(DIET) $(CC) $(CFLAGS) -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else \

View File

@ -1,11 +0,0 @@
--- gatling.c.orig Mon Jan 31 17:14:45 2005
+++ gatling.c Sun Feb 20 17:02:12 2005
@@ -3088,7 +3088,7 @@ void forkslave(int fd,buffer* in) {
}
}
error:
- write(fd,&code,4);
+ if (write(fd,&code,4)!=4) exit(0);
code=strlen(msg);
write(fd,&code,4);
{