pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/entropy Entropy, a P2P anonymity network much like...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf847d5cf80b
branches:  trunk
changeset: 471638:cf847d5cf80b
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Mar 29 18:40:43 2004 +0000

description:
Entropy, a P2P anonymity network much like Freenet, but written in C.
>From the DESCR:

=====

ENTROPY is developed as a response to increasing censorship and surveillance
in the internet. The program connects your computer to a network of machines
which all run this software. The ENTROPY network is running parallel to the
WWW and also other internet services like FTP, email, ICQ. etc.

For the user the ENTROPY network looks like a collection of WWW pages. The
difference to the WWW however is that there are no accesses to central
servers. And this is why there is no site operator who could log who
downloaded what and when. Every computer taking part in the ENTROPY network
(every node) is at the same time server, router for other nodes, caching
proxy and client for the user: that is You.

diffstat:

 net/entropy/DESCR            |  14 ++++++++++
 net/entropy/MESSAGE          |  16 ++++++++++++
 net/entropy/Makefile         |  58 ++++++++++++++++++++++++++++++++++++++++++++
 net/entropy/PLIST            |  25 ++++++++++++++++++
 net/entropy/distinfo         |   6 ++++
 net/entropy/patches/patch-ac |  13 +++++++++
 6 files changed, 132 insertions(+), 0 deletions(-)

diffs (156 lines):

diff -r d8f4af3df63c -r cf847d5cf80b net/entropy/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/entropy/DESCR Mon Mar 29 18:40:43 2004 +0000
@@ -0,0 +1,14 @@
+ENTROPY stands for Emerging Network To Reduce Orwellian Potency Yield and as
+such describes the main goal of the project.
+
+ENTROPY is developed as a response to increasing censorship and surveillance
+in the internet. The program connects your computer to a network of machines
+which all run this software. The ENTROPY network is running parallel to the
+WWW and also other internet services like FTP, email, ICQ. etc.
+
+For the user the ENTROPY network looks like a collection of WWW pages. The
+difference to the WWW however is that there are no accesses to central
+servers. And this is why there is no site operator who could log who
+downloaded what and when. Every computer taking part in the ENTROPY network
+(every node) is at the same time server, router for other nodes, caching
+proxy and client for the user: that is You.
diff -r d8f4af3df63c -r cf847d5cf80b net/entropy/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/entropy/MESSAGE       Mon Mar 29 18:40:43 2004 +0000
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/03/29 18:40:43 tv Exp $
+
+NOTE:  Entropy is currently a project under rapid development.  Sometimes
+the network protocol changes, requiring an upgrade.  Please keep watch on
+this package and update it whenever a newer version is available.
+
+You will need to copy the contents of
+
+    ${PREFIX}/share/examples/entropy
+
+to a new, writable directory, and edit "entropy.conf".  Once done, you
+may run "entropy" to start the daemon, or "entropy -k" to stop it.  
+The option "-v" may be added for verbose start/stop messages.
+
+===========================================================================
diff -r d8f4af3df63c -r cf847d5cf80b net/entropy/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/entropy/Makefile      Mon Mar 29 18:40:43 2004 +0000
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/29 18:40:43 tv Exp $
+#
+
+DISTNAME=              entropy-${ENTROPY_VERSION}
+PKGNAME=               entropy-${ENTROPY_VERSION:S/-/./}
+WRKSRC=                        ${WRKDIR}/entropy-${ENTROPY_VERSION:C/-.*$//}
+CATEGORIES=            net
+MASTER_SITES=          http://entropy.stop1984.com/files/ \
+                       http://www.duh.org/entropy/files/
+EXTRACT_SUFX=          .tgz
+
+MAINTAINER=            tv%duh.org@localhost
+HOMEPAGE=              http://entropy.stop1984.com/
+COMMENT=               Anonymous peer-to-peer networking node (similar to Freenet)
+
+GNU_CONFIGURE=         yes
+USE_BUILDLINK3=                yes
+USE_GNU_TOOLS+=                make
+
+ENTROPY_VERSION=       0.8.2-415
+
+CONFIGURE_ARGS+=       --enable-verbose --disable-posix-sem
+
+post-patch:
+       ${SED} -e '/^# /!s/^#//' <${WRKSRC}/seed.txt-dist >${WRKSRC}/seed.txt
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/entropy ${PREFIX}/bin/entropy
+       ${INSTALL_PROGRAM} ${WRKSRC}/monoopt ${PREFIX}/bin/entropy-monoopt
+       ${INSTALL_PROGRAM} ${WRKSRC}/storechg ${PREFIX}/bin/entropy-storechg
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/entropy
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/entropy/node
+       ${INSTALL_DATA} ${WRKSRC}/entropy.conf-dist ${PREFIX}/share/examples/entropy/entropy.conf
+       ${INSTALL_DATA} ${WRKSRC}/seed.txt ${PREFIX}/share/examples/entropy/
+       ${INSTALL_DATA} ${WRKSRC}/node/[0-9a-z]* ${PREFIX}/share/examples/entropy/node/
+
+.include "../../mk/bsd.prefs.mk"
+
+# tree is most efficient on *ix; can also be "monolithic" or "mysql"
+ENTROPY_STORE_TYPE?=   tree
+
+.if ${ENTROPY_STORE_TYPE} == "tree"
+CONFIGURE_ARGS+=       --with-tree
+.elif ${ENTROPY_STORE_TYPE} == "mysql"
+CONFIGURE_ARGS+=       --with-mysql=${LOCALBASE}
+.include "../../databases/mysql-client/buildlink2.mk"
+.elif ${ENTROPY_STORE_TYPE} != "monolithic"
+.error unknown ENTROPY_STORE_TYPE: ${ENTROPY_STORE_TYPE}
+.endif
+
+# maximum allowed peer connections (and child processes); default 64
+.ifdef ENTROPY_MAX_PEERS
+CONFIGURE_ARGS+=       --enable-max-peers=${ENTROPY_MAX_PEERS}
+.endif
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d8f4af3df63c -r cf847d5cf80b net/entropy/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/entropy/PLIST Mon Mar 29 18:40:43 2004 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/29 18:40:43 tv Exp $
+bin/entropy
+bin/entropy-monoopt
+bin/entropy-storechg
+share/examples/entropy/entropy.conf
+share/examples/entropy/node/background.png
+share/examples/entropy/node/bar.png
+share/examples/entropy/node/favicon.ico
+share/examples/entropy/node/font8x13.txt
+share/examples/entropy/node/gateway.de.html
+share/examples/entropy/node/gateway.en.html
+share/examples/entropy/node/logo_small.png
+share/examples/entropy/node/mime.types
+share/examples/entropy/node/my0812.bdf.lzw
+share/examples/entropy/node/next.png
+share/examples/entropy/node/prev.png
+share/examples/entropy/node/s15.gif
+share/examples/entropy/node/s30.gif
+share/examples/entropy/node/s45.gif
+share/examples/entropy/node/s60.gif
+share/examples/entropy/node/style.css
+share/examples/entropy/node/unicode.txt.lzw
+share/examples/entropy/seed.txt
+@dirrm share/examples/entropy/node
+@dirrm share/examples/entropy
diff -r d8f4af3df63c -r cf847d5cf80b net/entropy/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/entropy/distinfo      Mon Mar 29 18:40:43 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/29 18:40:43 tv Exp $
+
+SHA1 (entropy-0.8.2-415.tgz) = 9e25c516ef3170fd45215b97c3d30b347098cdb8
+Size (entropy-0.8.2-415.tgz) = 794623 bytes
+SHA1 (patch-aa) = 3316426dd695713fe83279df416deb5707909623
+SHA1 (patch-ac) = 3651aec19ae8e079217121de231467a30fb1f73a
diff -r d8f4af3df63c -r cf847d5cf80b net/entropy/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/entropy/patches/patch-ac      Mon Mar 29 18:40:43 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/03/29 18:40:43 tv Exp $
+
+--- entropy.conf-dist.orig     Wed Nov 19 12:40:20 2003
++++ entropy.conf-dist
+@@ -66,7 +66,7 @@ crypto_default=lorenz
+ # If you list modules here, your node will reject connections trying to
+ # use the specified module. The modules crypt0, crypt1 and incr could
+ # be listed here, but they aren't (currently) used anyways.
+-crypto_reject=crypt0,incr
++crypto_reject=crypt0,crypt1,crypt2,vmc1,incr
+ 
+ # Select a log filename. Default is entropy.log in the current directory.
+ logfile=entropy.log



Home | Main Index | Thread Index | Old Index