diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-03-31 07:32:20 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-03-31 07:32:20 +0000 |
commit | 20c77d2527ca0861418361c22e819588672a92fd (patch) | |
tree | 68cc9647ffb0192b1792f008bc7fac87cfa85b41 /net | |
parent | 89639aeb42feef81c119e9a51040eb8c766788fb (diff) | |
download | ports-20c77d2527ca0861418361c22e819588672a92fd.tar.gz ports-20c77d2527ca0861418361c22e819588672a92fd.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/libfreenet/Makefile | 25 | ||||
-rw-r--r-- | net/libfreenet/distinfo | 1 | ||||
-rw-r--r-- | net/libfreenet/files/patch-client_util.c | 19 | ||||
-rw-r--r-- | net/libfreenet/files/patch-protocol.c | 19 | ||||
-rw-r--r-- | net/libfreenet/files/patch-testclient.c | 10 | ||||
-rw-r--r-- | net/libfreenet/pkg-comment | 1 | ||||
-rw-r--r-- | net/libfreenet/pkg-descr | 6 | ||||
-rw-r--r-- | net/libfreenet/pkg-plist | 16 |
9 files changed, 98 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index c4ff2b939c0b..9454ac38dbd1 100644 --- a/net/Makefile +++ b/net/Makefile @@ -149,6 +149,7 @@ SUBDIR += lambdamoo SUBDIR += ldapmodule SUBDIR += ldapsdk + SUBDIR += libfreenet SUBDIR += libicq SUBDIR += libnet SUBDIR += libnids diff --git a/net/libfreenet/Makefile b/net/libfreenet/Makefile new file mode 100644 index 000000000000..b236312a8476 --- /dev/null +++ b/net/libfreenet/Makefile @@ -0,0 +1,25 @@ +# ex:ts=8 +# New ports collection makefile for: libfreenet +# Date created: Mar 31, 2001 +# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libfreenet +PORTVERSION= 0.3.0 +CATEGORIES= net +MASTER_SITES= http://thalassocracy.org/libfreenet/ + +MAINTAINER= ijliao@FreeBSD.org + +USE_OPENSSL= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --includedir=${PREFIX}/include/libfreenet + +USE_GMAKE= yes + +INSTALLS_SHLIB= yes + +.include <bsd.port.mk> diff --git a/net/libfreenet/distinfo b/net/libfreenet/distinfo new file mode 100644 index 000000000000..6d5d3cd6ab36 --- /dev/null +++ b/net/libfreenet/distinfo @@ -0,0 +1 @@ +MD5 (libfreenet-0.3.0.tar.gz) = fa474ed2ca43acd759fdefebf636b855 diff --git a/net/libfreenet/files/patch-client_util.c b/net/libfreenet/files/patch-client_util.c new file mode 100644 index 000000000000..d6a08a6655b4 --- /dev/null +++ b/net/libfreenet/files/patch-client_util.c @@ -0,0 +1,19 @@ +--- client_util.c.orig Wed Mar 28 19:27:38 2001 ++++ client_util.c Sat Mar 31 15:07:59 2001 +@@ -60,13 +60,14 @@ + + int timediff () + { ++ struct tm *tmp; + long t = time(NULL); + + /* We are calling localtime here for its side-effect of setting + the timezone global appropriately. I have no proof that this + even happens on cygwin. Please, just let me die. */ +- localtime(&t); +- return (FN_TIMEZONE / 3600); ++ tmp = localtime(&t); ++ return (tmp->tm_gmtoff / 3600); + } + + diff --git a/net/libfreenet/files/patch-protocol.c b/net/libfreenet/files/patch-protocol.c new file mode 100644 index 000000000000..59fed2289318 --- /dev/null +++ b/net/libfreenet/files/patch-protocol.c @@ -0,0 +1,19 @@ +--- protocol.c.orig Thu Mar 22 13:27:34 2001 ++++ protocol.c Sat Mar 31 15:14:32 2001 +@@ -17,6 +17,8 @@ + */ + #include <stdio.h> + #include <malloc.h> ++#include <sys/types.h> ++#include <netinet/in.h> + #include <sys/socket.h> + #include <netdb.h> + #include <string.h> +@@ -24,7 +26,6 @@ + #include <errno.h> + #include <fcntl.h> + #include <unistd.h> +-#include <sys/types.h> + #include <ctype.h> + #include <time.h> + diff --git a/net/libfreenet/files/patch-testclient.c b/net/libfreenet/files/patch-testclient.c new file mode 100644 index 000000000000..08a080bc7ce6 --- /dev/null +++ b/net/libfreenet/files/patch-testclient.c @@ -0,0 +1,10 @@ +--- testclient.c.orig Sat Mar 31 15:17:15 2001 ++++ testclient.c Sat Mar 31 15:17:24 2001 +@@ -20,7 +20,6 @@ + #include <string.h> + #include <time.h> + #include <unistd.h> +-#include <getopt.h> + + #include "protocol.h" + #include "client.h" diff --git a/net/libfreenet/pkg-comment b/net/libfreenet/pkg-comment new file mode 100644 index 000000000000..a400869f7afa --- /dev/null +++ b/net/libfreenet/pkg-comment @@ -0,0 +1 @@ +Freenet library written in C diff --git a/net/libfreenet/pkg-descr b/net/libfreenet/pkg-descr new file mode 100644 index 000000000000..0c647d2ec4f1 --- /dev/null +++ b/net/libfreenet/pkg-descr @@ -0,0 +1,6 @@ +libfreenet is a Freenet library written in C. Right now it supports basic +client functionality, as well as a lower-level API for sending and +receiving messages over a Freenet connection. It's currently very much +hackerware -- it might explode at any moment, so approach it with caution. + +WWW: http://thalassocracy.org/libfreenet/ diff --git a/net/libfreenet/pkg-plist b/net/libfreenet/pkg-plist new file mode 100644 index 000000000000..40143b8a9558 --- /dev/null +++ b/net/libfreenet/pkg-plist @@ -0,0 +1,16 @@ +bin/testclient +bin/testserver +include/libfreenet/base64.h +include/libfreenet/client.h +include/libfreenet/client_util.h +include/libfreenet/config.h +include/libfreenet/endtoend.h +include/libfreenet/protocol.h +include/libfreenet/rijndael-alg-fst.h +include/libfreenet/rijndael-api-fst.h +include/libfreenet/twofish.h +include/libfreenet/uri.h +include/libfreenet/util.h +lib/libfreenet.a +lib/libfreenet.so +lib/libfreenet.so.0 |