Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

14
net/entropy/DESCR Normal file
View File

@@ -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.

16
net/entropy/MESSAGE Normal file
View File

@@ -0,0 +1,16 @@
===========================================================================
$NetBSD: MESSAGE,v 1.2 2005/09/28 14:15:49 rillig 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.
===========================================================================

61
net/entropy/Makefile Normal file
View File

@@ -0,0 +1,61 @@
# $NetBSD: Makefile,v 1.29 2013/03/02 20:33:30 wiz Exp $
#
DISTNAME= entropy_rsa-${ENTROPY_VERSION}
PKGNAME= entropy-${ENTROPY_VERSION:S/-/./}
PKGREVISION= 4
WRKSRC= ${WRKDIR}/entropy_rsa-${ENTROPY_VERSION:C/-.*$//}
CATEGORIES= net www
MASTER_SITES= http://entropy.stop1984.com/files/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://entropy.stop1984.com/
COMMENT= Anonymous peer-to-peer networking node (similar to Freenet)
GNU_CONFIGURE= yes
USE_TOOLS+= autoconf gmake
ENTROPY_VERSION= 0.9.1-439
CONFIGURE_ARGS+= --enable-setproctitle --enable-verbose --disable-posix-sem
LIBS+= -L${BUILDLINK_PREFIX.zlib}/lib -lz -L${BUILDLINK_PREFIX.expat}/lib -lexpat
INSTALLATION_DIRS= bin share/doc/entropy share/examples/entropy/de \
share/examples/entropy/node
post-patch:
${SED} -e '/^# /!s/^#//' <${WRKSRC}/seed.txt-dist >${WRKSRC}/seed.txt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/entropy_rsa ${DESTDIR}${PREFIX}/bin/entropy
${INSTALL_PROGRAM} ${WRKSRC}/monoopt ${DESTDIR}${PREFIX}/bin/entropy-monoopt
${INSTALL_PROGRAM} ${WRKSRC}/storechg ${DESTDIR}${PREFIX}/bin/entropy-storechg
${INSTALL_DATA} ${WRKSRC}/[ERT]* ${DESTDIR}${PREFIX}/share/doc/entropy/
${INSTALL_DATA} ${WRKSRC}/entropy_rsa.conf-dist ${DESTDIR}${PREFIX}/share/examples/entropy/entropy.conf
${INSTALL_DATA} ${WRKSRC}/seed.txt ${DESTDIR}${PREFIX}/share/examples/entropy/
${INSTALL_DATA} ${WRKSRC}/de/entropy_rsa.lo ${DESTDIR}${PREFIX}/share/examples/entropy/de/entropy.lo
${INSTALL_DATA} ${WRKSRC}/node/[0-9a-z]* ${DESTDIR}${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:Q}
.include "../../mk/mysql.buildlink3.mk"
.elif ${ENTROPY_STORE_TYPE} != "monolithic"
PKG_FAIL_REASON+= "unknown ENTROPY_STORE_TYPE: "${ENTROPY_STORE_TYPE:Q}""
.endif
# maximum allowed peer connections (and child processes); default 64
.if defined(ENTROPY_MAX_PEERS)
CONFIGURE_ARGS+= --enable-max-peers=${ENTROPY_MAX_PEERS:Q}
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

29
net/entropy/PLIST Normal file
View File

@@ -0,0 +1,29 @@
@comment $NetBSD: PLIST,v 1.5 2009/06/14 18:09:26 joerg Exp $
bin/entropy
bin/entropy-monoopt
bin/entropy-storechg
share/doc/entropy/ENTROPY.html
share/doc/entropy/README
share/doc/entropy/README.MySQL
share/doc/entropy/TODO
share/examples/entropy/de/entropy.lo
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.gz
share/examples/entropy/node/next.png
share/examples/entropy/node/prev.png
share/examples/entropy/node/robots.txt
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.gz
share/examples/entropy/seed.txt

9
net/entropy/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.11 2005/11/08 15:59:38 tv Exp $
SHA1 (entropy_rsa-0.9.1-439.tgz) = 264ffdfe976c154412abd4171fa8525c40414bbc
RMD160 (entropy_rsa-0.9.1-439.tgz) = 3548ecb8374b512a365dfd388699ada6596d48f3
Size (entropy_rsa-0.9.1-439.tgz) = 880745 bytes
SHA1 (patch-aa) = f094ead71b69995d6a8a48ac954bddac22339982
SHA1 (patch-ab) = 6e5ad3221243cb942b265d664e9833596c7f24c3
SHA1 (patch-ac) = 356895fa6e9309ac1479ca52a1ec3164f6a1613a
SHA1 (patch-ad) = 1ccc064bab8aa9d5d87a1f2b063a458a22bd36af

View File

@@ -0,0 +1,35 @@
$NetBSD: patch-aa,v 1.1 2005/06/30 16:31:47 tv Exp $
--- Makefile.in.orig 2005-06-29 08:28:38.000000000 -0400
+++ Makefile.in
@@ -8,7 +8,7 @@ STORE_TYPE= @STORE_TYPE@
VERBOSE= @VERBOSE@
CC= @CC@
-CPPFLAGS= -Iinclude -Isrc/zlib -Isrc/expat @CPPFLAGS@
+CPPFLAGS= -Iinclude @CPPFLAGS@
CFLAGS= $(CPPFLAGS) @CFLAGS@
LDFLAGS= @LDFLAGS@
LIBS= @LIBS@
@@ -64,21 +64,6 @@ OBJS1=\
${OBJ}/png.o \
${OBJ}/unicode.o \
${OBJ}/vt.o \
- ${OBJ}/zlib/adler32.o \
- ${OBJ}/zlib/compress.o \
- ${OBJ}/zlib/crc32.o \
- ${OBJ}/zlib/deflate.o \
- ${OBJ}/zlib/gzio.o \
- ${OBJ}/zlib/infback.o \
- ${OBJ}/zlib/inffast.o \
- ${OBJ}/zlib/inflate.o \
- ${OBJ}/zlib/inftrees.o \
- ${OBJ}/zlib/trees.o \
- ${OBJ}/zlib/uncompr.o \
- ${OBJ}/zlib/zutil.o \
- ${OBJ}/expat/xmlparse.o \
- ${OBJ}/expat/xmlrole.o \
- ${OBJ}/expat/xmltok.o \
${OBJ}/proxy.o \
${OBJ}/news.o

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1 2005/06/30 16:31:47 tv Exp $
--- include/settings.h.orig 2005-06-30 12:22:44.000000000 -0400
+++ include/settings.h
@@ -52,7 +52,7 @@
#define MINOR_LEVEL(minor) ((uint32_t)(minor)/0x10000)
#define MINOR_STEP(minor) ((uint32_t)(minor)%0x10000)
-#define PROGNAME "entropy_rsa"
+#define PROGNAME "entropy"
#define NODE_NAME "ENTROPY/RSA"

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-ac,v 1.3 2005/08/17 15:31:52 tv Exp $
--- entropy_rsa.conf-dist.orig 2005-06-28 12:40:06.000000000 -0400
+++ entropy_rsa.conf-dist
@@ -74,10 +74,10 @@ 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_rsa.log
+logfile=entropy.log
# Select a logging level from none, error, normal, minor or debug.
# none - no reporting at all. You won't see error messages either.

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ad,v 1.1 2005/11/08 15:59:39 tv Exp $
--- configure.ac.orig 2005-10-06 08:18:50.000000000 -0400
+++ configure.ac
@@ -32,6 +32,7 @@ AC_CHECK_HEADERS([sys/ipc.h], [
### sizes
AC_CHECK_SIZEOF(unsigned char)
+AC_CHECK_SIZEOF(unsigned short)
AC_CHECK_SIZEOF(unsigned int)
AC_CHECK_SIZEOF(unsigned long)
AC_CHECK_SIZEOF(unsigned long long)