summaryrefslogtreecommitdiff
path: root/net-p2p/hagelslag/files
diff options
context:
space:
mode:
authorDaniel Harris <dannyboy@FreeBSD.org>2001-03-04 17:30:32 +0000
committerDaniel Harris <dannyboy@FreeBSD.org>2001-03-04 17:30:32 +0000
commitf1edca2736a0ecedbfeb39ae837fa85907721fe3 (patch)
tree376e0eed7b4efed289615327c052b094366168c5 /net-p2p/hagelslag/files
parentChange MASTER_SITE and FTP/WWW lines: caos.kun.nl is cmbi.kun.nl now. (diff)
Add hagelslag 0.12.1, a flexible command-line Gnutella
implementation with advanced features. PR: 25098 Submitted by: Johann Visagie <johann@egenetics.com>
Diffstat (limited to 'net-p2p/hagelslag/files')
-rw-r--r--net-p2p/hagelslag/files/patch-Makefile14
-rw-r--r--net-p2p/hagelslag/files/patch-gui-api-c++-Makefile18
-rw-r--r--net-p2p/hagelslag/files/patch-gui-test-Makefile18
-rw-r--r--net-p2p/hagelslag/files/patch-src-Makefile26
4 files changed, 76 insertions, 0 deletions
diff --git a/net-p2p/hagelslag/files/patch-Makefile b/net-p2p/hagelslag/files/patch-Makefile
new file mode 100644
index 000000000000..c28337153865
--- /dev/null
+++ b/net-p2p/hagelslag/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.orig Wed Jan 31 20:40:56 2001
++++ Makefile Wed Feb 14 15:05:19 2001
+@@ -4,10 +4,7 @@
+ make -C gui all
+
+ install:
+- cp bin/* /usr/local/bin
+- mkdir ~/.hagelslag
+- cp doc/hosts.txt ~/.hagelslag/hagelslag.hosts
+- @echo remember to copy doc/hosts.txt to ~/.hagelslag/hagelslag.hosts
++ ${BSD_INSTALL_PROGRAM} bin/* ${PREFIX}/bin
+
+
+ gui-all:
diff --git a/net-p2p/hagelslag/files/patch-gui-api-c++-Makefile b/net-p2p/hagelslag/files/patch-gui-api-c++-Makefile
new file mode 100644
index 000000000000..c08e636c1fa7
--- /dev/null
+++ b/net-p2p/hagelslag/files/patch-gui-api-c++-Makefile
@@ -0,0 +1,18 @@
+--- gui-api/c++/Makefile.orig Thu Feb 1 16:28:34 2001
++++ gui-api/c++/Makefile Wed Feb 14 14:43:15 2001
+@@ -1,5 +1,4 @@
+-CXX=g++
+-CXXFLAGS=-Wall -O2 -g
++CXXFLAGS+=-Wall -O2 -g
+
+ H_FILES = List.h DownloadList.h ResultList.h UploadList.h ConnectionList.h \
+ ShareList.h HostList.h OptionList.h StatList.h QueryList.h \
+@@ -24,7 +23,7 @@
+ rm -f *~ *.o *.a *.bak
+
+ depend:
+- makedepend $(CPP_FILES) -Y
++ makedepend $(CPP_FILES)
+
+ count:
+ @echo GUI-API c++
diff --git a/net-p2p/hagelslag/files/patch-gui-test-Makefile b/net-p2p/hagelslag/files/patch-gui-test-Makefile
new file mode 100644
index 000000000000..9229aca6b7b5
--- /dev/null
+++ b/net-p2p/hagelslag/files/patch-gui-test-Makefile
@@ -0,0 +1,18 @@
+--- gui/test/Makefile.orig Thu Feb 1 16:28:43 2001
++++ gui/test/Makefile Wed Feb 14 14:42:42 2001
+@@ -1,5 +1,4 @@
+-CXX=g++
+-CXXFLAGS=-Wall -O2 -g -I../../gui-api/c++
++CXXFLAGS+=-Wall -O2 -g -I../../gui-api/c++
+ LFLAGS= ../../lib/HagelslagInterface.a
+
+ H_FILES = TestGui.h UserTranslator.h ListTranslator.h
+@@ -14,7 +13,7 @@
+ rm -f *~ core *.o testgui *.bak
+
+ depend:
+- makedepend $(CPP_FILES) -Y
++ makedepend $(CPP_FILES) -I../../gui-api/c++/
+
+ testgui: TestGui.h TestGui.cpp $(O_FILES) ../../lib/HagelslagInterface.a
+ $(CXX) $(CXXFLAGS) TestGui.cpp $(O_FILES) $(LFLAGS) -o testgui
diff --git a/net-p2p/hagelslag/files/patch-src-Makefile b/net-p2p/hagelslag/files/patch-src-Makefile
new file mode 100644
index 000000000000..42d7c1830005
--- /dev/null
+++ b/net-p2p/hagelslag/files/patch-src-Makefile
@@ -0,0 +1,26 @@
+--- src/Makefile.orig Thu Feb 1 16:27:37 2001
++++ src/Makefile Wed Feb 14 14:41:23 2001
+@@ -1,5 +1,4 @@
+ # Don't change this...
+-CXX=g++
+ LFLAGS=
+ COMMONFLAGS=-Wall -O2 -g
+ ROUTER_FLAGS=$(COMMONFLAGS) -DROUTER
+@@ -7,7 +6,7 @@
+ CONSOLE_FLAGS=$(COMMONFLAGS) -DCONSOLE
+
+ # Change this instead.
+-CXXFLAGS=$(CONSOLE_FLAGS)
++CXXFLAGS+=$(CONSOLE_FLAGS)
+
+ # Nothing below here should be changed
+
+@@ -70,7 +69,7 @@
+ cp hagelslagd ../bin
+
+ depend:
+- makedepend -Y -- $(CPP_FILES)
++ makedepend -- $(CPP_FILES)
+
+ clean:
+ rm -f hagelslag hagelslagd hagelslagrouter *.o *~ core *.bak