diff options
author | dannyboy <dannyboy@FreeBSD.org> | 2001-03-05 01:30:32 +0800 |
---|---|---|
committer | dannyboy <dannyboy@FreeBSD.org> | 2001-03-05 01:30:32 +0800 |
commit | 629b20c24ac35ea132b50e9c8dcf740c7fac06f6 (patch) | |
tree | 92fcb302dc0ca06a025968ac06393b5d8c598510 /net-p2p | |
parent | bbca0ec3873a9b6f4e187fb14d3e7f97f4547cf6 (diff) | |
download | freebsd-ports-graphics-629b20c24ac35ea132b50e9c8dcf740c7fac06f6.tar.gz freebsd-ports-graphics-629b20c24ac35ea132b50e9c8dcf740c7fac06f6.tar.zst freebsd-ports-graphics-629b20c24ac35ea132b50e9c8dcf740c7fac06f6.zip |
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')
-rw-r--r-- | net-p2p/hagelslag/Makefile | 34 | ||||
-rw-r--r-- | net-p2p/hagelslag/distinfo | 1 | ||||
-rw-r--r-- | net-p2p/hagelslag/files/patch-Makefile | 14 | ||||
-rw-r--r-- | net-p2p/hagelslag/files/patch-gui-api-c++-Makefile | 18 | ||||
-rw-r--r-- | net-p2p/hagelslag/files/patch-gui-test-Makefile | 18 | ||||
-rw-r--r-- | net-p2p/hagelslag/files/patch-src-Makefile | 26 | ||||
-rw-r--r-- | net-p2p/hagelslag/pkg-comment | 1 | ||||
-rw-r--r-- | net-p2p/hagelslag/pkg-descr | 12 | ||||
-rw-r--r-- | net-p2p/hagelslag/pkg-plist | 14 |
9 files changed, 138 insertions, 0 deletions
diff --git a/net-p2p/hagelslag/Makefile b/net-p2p/hagelslag/Makefile new file mode 100644 index 00000000000..e340e3f82fc --- /dev/null +++ b/net-p2p/hagelslag/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: hagelslag +# Date created: 14 February 2001 +# Whom: Johann Visagie <johann@egenetics.com> +# +# $FreeBSD$ +# + +PORTNAME= hagelslag +PORTVERSION= 0.12.1 +CATEGORIES= net +MASTER_SITES= http://tiefighter.et.tudelft.nl/hagelslag/ \ + ftp://tiefighter.et.tudelft.nl/pub/hagelslag/v${PORTVERSION}/ +EXTRACT_SUFX= .tgz + +MAINTAINER= johann@egenetics.com + +BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend + +USE_GMAKE= yes +MAKEFILES= Makefile gui/Makefile gui-api/Makefile +HS_DOCDIR= ${PREFIX}/share/doc/${PORTNAME} + +post-patch: +.for mfile in ${MAKEFILES} + @ ${PERL} -pi -e 's#make -C#\$${MAKE} -C#' ${WRKSRC}/${mfile} +.endfor + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${HS_DOCDIR} + @ ${INSTALL_MAN} ${WRKSRC}/doc/* ${HS_DOCDIR} +.endif + +.include <bsd.port.mk> diff --git a/net-p2p/hagelslag/distinfo b/net-p2p/hagelslag/distinfo new file mode 100644 index 00000000000..3cf1bcf016c --- /dev/null +++ b/net-p2p/hagelslag/distinfo @@ -0,0 +1 @@ +MD5 (hagelslag-0.12.1.tgz) = 65142f58f170f23ee0a6d097cfa11cf9 diff --git a/net-p2p/hagelslag/files/patch-Makefile b/net-p2p/hagelslag/files/patch-Makefile new file mode 100644 index 00000000000..c2833715386 --- /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 00000000000..c08e636c1fa --- /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 00000000000..9229aca6b7b --- /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 00000000000..42d7c183000 --- /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 diff --git a/net-p2p/hagelslag/pkg-comment b/net-p2p/hagelslag/pkg-comment new file mode 100644 index 00000000000..7ba19974a72 --- /dev/null +++ b/net-p2p/hagelslag/pkg-comment @@ -0,0 +1 @@ +A flexible command-line Gnutella implementation with advanced features diff --git a/net-p2p/hagelslag/pkg-descr b/net-p2p/hagelslag/pkg-descr new file mode 100644 index 00000000000..e849fdd4e51 --- /dev/null +++ b/net-p2p/hagelslag/pkg-descr @@ -0,0 +1,12 @@ +Hagelslag is a Gnutella servent which emphasises flexibility, stability and +performance. It boasts several advanced features including flexible +configuration and operation, and strategies to guard against network flooding +and spam. It also includes extensive documentation. + +Hagelslag currently only has a command-line interface, but it provides a +(documented) API which may be used to write a GUI. + +Author: Fokko Beekhof <lucifer@tiefighter.et.tudelft.nl> +WWW: http://tiefighter.et.tudelft.nl/hagelslag/ + +-- Johann Visagie <johann@egenetics.com> diff --git a/net-p2p/hagelslag/pkg-plist b/net-p2p/hagelslag/pkg-plist new file mode 100644 index 00000000000..ef328a3dae3 --- /dev/null +++ b/net-p2p/hagelslag/pkg-plist @@ -0,0 +1,14 @@ +%%PORTDOCS%%share/doc/hagelslag/Hagelslag-design.txt +%%PORTDOCS%%share/doc/hagelslag/HagelslagInternal.txt +%%PORTDOCS%%share/doc/hagelslag/LICENSE +%%PORTDOCS%%share/doc/hagelslag/ProgrammersManual.txt +%%PORTDOCS%%share/doc/hagelslag/README +%%PORTDOCS%%share/doc/hagelslag/TODO +%%PORTDOCS%%share/doc/hagelslag/UsersManual.txt +%%PORTDOCS%%share/doc/hagelslag/hagelslag-classes.fig +%%PORTDOCS%%share/doc/hagelslag/hagelslag-classes.jpg +%%PORTDOCS%%share/doc/hagelslag/hagelslag-structure.fig +%%PORTDOCS%%share/doc/hagelslag/hagelslag-structure.jpg +bin/hagelslag +bin/testgui +%%PORTDOCS%%@dirrm share/doc/hagelslag |