diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-15 17:23:23 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-15 17:23:23 +0000 |
commit | 1454562dccd1db7545176abac991aa1187a5f1ef (patch) | |
tree | 6fa1c867e9df7244cf148b15ffafdfb52270571a /net/brutecopy/files/patch-makefile | |
parent | Don't enable SSE code if sysctl hw.instruction_sse is 0. (diff) |
Add brutecopy, an application that pushes data using UDP protocol through rotten,
overloaded and otherwise disgusting lines. It should work well even on lines
on which TCP completely chokes. The transmission is performed at
user-preprogrammed fixed data rate with no flow control, only with lost-packet
retransmits. Brutalcopy always transfers the file without error, even on
erroneous lines. It uses a CRC-32 checksum algorithm together with the checksum
in the UDP packets.
PR: ports/76239
Submitted by: Radim Kolar <hsn@netmag.cz>
Notes
Notes:
svn path=/head/; revision=126508
Diffstat (limited to 'net/brutecopy/files/patch-makefile')
-rw-r--r-- | net/brutecopy/files/patch-makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net/brutecopy/files/patch-makefile b/net/brutecopy/files/patch-makefile new file mode 100644 index 000000000000..2967b4359292 --- /dev/null +++ b/net/brutecopy/files/patch-makefile @@ -0,0 +1,32 @@ +--- Makefile.orig Sat Dec 29 15:03:13 2001 ++++ Makefile Tue Jan 11 18:55:19 2005 +@@ -1,5 +1,4 @@ +-CFLAGS= -O3 -Wall -fomit-frame-pointer -malign-functions=0 +-LDFLAGS= -s ++CFLAGS?=-O3 -Wall -fomit-frame-pointer -falign-functions=0 + + all: bcps bcpc + +@@ -7,18 +6,18 @@ + rm -f *.o bcps bcpc + + bcps.o: bcps.c def.h crc32.c +- gcc -c $(CFLAGS) bcps.c -o bcps.o ++ $(CC) -c $(CFLAGS) bcps.c -o bcps.o + + bcpc.o: bcpc.c def.h crc32.c +- gcc -c $(CFLAGS) bcpc.c -o bcpc.o ++ $(CC) -c $(CFLAGS) bcpc.c -o bcpc.o + + crc32.o: crc32.c + + bcps: bcps.o crc32.o +- gcc $(LDFLAGS) bcps.o crc32.o -o bcps ++ $(CC) $(LDFLAGS) bcps.o crc32.o -o bcps + + bcpc: bcpc.o crc32.o +- gcc $(LDFLAGS) bcpc.o crc32.o -o bcpc ++ $(CC) $(LDFLAGS) bcpc.o crc32.o -o bcpc + + install: all + install -o root -g root -m 755 bcpc $(DESTDIR)/usr/bin |