ports/52688: Update net/gnunet: 0.5.1a -> 0.5.4
Kirill Ponomarew
ponomarew at oberon.net
Mon May 26 09:40:05 UTC 2003
>Number: 52688
>Category: ports
>Synopsis: Update net/gnunet: 0.5.1a -> 0.5.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon May 26 02:40:03 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Kirill Ponomarew
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net
>Environment:
>Description:
* support for large result (search) sets (DBs deteriorated
for thousands of replies for a query)
* peers can now communicate down-stream limitations (and of
course they control how much they send)
* knapsack-solver for message construction reduces noise
and increases bandwidth efficiency
* more precise disk-space (quota) control
* http-download of initial hostlist only when needed but not only during startup
* segmentation fauls and deadlock fixes
* disk-full death prevention
* improvements in the build system
* extensive valgrinding of the code with many fixes
* grab maintainership
* this PR supersede PR/51489
>How-To-Repeat:
>Fix:
diff -urN gnunet.orig/Makefile gnunet/Makefile
--- gnunet.orig/Makefile Sun May 25 12:28:52 2003
+++ gnunet/Makefile Mon May 26 11:29:29 2003
@@ -7,33 +7,72 @@
#
PORTNAME= gnunet
-PORTVERSION= 0.5.1a
+PORTVERSION= 0.5.4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU} \
http://www.ovmj.org/GNUnet/download/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= GNUnet-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ponomarew at oberon.net
COMMENT= An anonymous, distributed, reputation-based network
-LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
-
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
USE_BZIP2= yes
USE_OPENSSL= yes
USE_GNOME= gtk12
-USE_REINPLACE= yes
-USE_GMAKE= yes
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-INSTALLS_SHLIB= yes
-MAN1= gnunet-chat.1 gnunet-check.1 gnunet-download.1 gnunet-gtk.1 \
+.if defined(WITH_GDBM)
+LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
+PLIST_SUB+= WITH_GDBM=""
+.else
+CONFIGURE_ARGS+= --without-gdbm
+PLIST_SUB+= WITH_GDBM="@comment "
+.endif
+
+.if defined(WITH_MYSQL)
+LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+.else
+CONFIGURE_ARGS+= --without-mysql
+.endif
+
+.if defined(WITH_TDB)
+LIB_DEPENDS+= tdb.1:${PORTSDIR}/databases/tdb
+PLIST_SUB+= WITH_TDB=""
+.else
+CONFIGURE_ARGS+= --without-tdb
+PLIST_SUB+= WITH_TDB="@comment "
+.endif
+
+.if defined(WITH_BDB3)
+LIB_DEPENDS+= db3:${PORTSDIR}/databases/db3
+CONFIGURE_ARGS+= --with-bdb=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --without-bdb
+.endif
+
+MAN1= gnunet-chat.1 gnunet-check.1 gnunet-convert.1 \
+ gnunet-delete.1 gnunet-download.1 gnunet-gtk.1 \
gnunet-insert-multi.1 gnunet-insert.1 gnunet-search.1 \
- gnunet-tbench.1 gnunetd.1
+ gnunet-tbench.1 gnunet-tracekit.1 \
+ gnunet-transport-check.1 gnunetd.1
MAN5= gnunet.conf.5
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "You can build GNUnet with the following options:"
+ @${ECHO_MSG} " WITH_MYSQL=yes Turn on MySQL support"
+ @${ECHO_MSG} " WITH_TDB=yes Turn on TDB support"
+ @${ECHO_MSG} " WITH_BDB41=yes Turn on Berkely DB library support"
+ @${ECHO_MSG} " WITH_GDBM=yes Turn on GNU dbm support"
+ @${ECHO_MSG} ""
post-patch:
@${REINPLACE_CMD} -e \
diff -urN gnunet.orig/distinfo gnunet/distinfo
--- gnunet.orig/distinfo Sun Feb 16 04:42:11 2003
+++ gnunet/distinfo Mon May 26 00:45:25 2003
@@ -1 +1 @@
-MD5 (GNUnet-0.5.1a.tar.bz2) = 0e506d602cdc168e6a0f8065da85e565
+MD5 (GNUnet-0.5.4.tar.bz2) = 885476e1234d5cb71bc0fa044e868e49
diff -urN gnunet.orig/files/patch-configure gnunet/files/patch-configure
--- gnunet.orig/files/patch-configure Sun Feb 16 04:42:11 2003
+++ gnunet/files/patch-configure Thu Jan 1 01:00:00 1970
@@ -1,10 +0,0 @@
---- configure.orig Sat Dec 21 01:25:22 2002
-+++ configure Sun Dec 22 15:27:06 2002
-@@ -8701,6 +8701,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN gnunet.orig/pkg-plist gnunet/pkg-plist
--- gnunet.orig/pkg-plist Tue Feb 18 15:31:14 2003
+++ gnunet/pkg-plist Mon May 26 11:17:52 2003
@@ -1,7 +1,7 @@
- at comment $FreeBSD: ports/net/gnunet/pkg-plist,v 1.4 2003/02/16 03:42:11 naddy Exp $
bin/gnunet-chat
bin/gnunet-check
bin/gnunet-convert
+bin/gnunet-delete
bin/gnunet-download
bin/gnunet-gtk
bin/gnunet-insert
@@ -9,56 +9,66 @@
bin/gnunet-search
bin/gnunet-stats
bin/gnunet-tbench
+bin/gnunet-tracekit
bin/gnunet-transport-check
bin/gnunetd
-lib/libgnunetafs_blocks.a
+lib/libgnunetafs_blocks.la
lib/libgnunetafs_blocks.so
lib/libgnunetafs_blocks.so.0
-lib/libgnunetafs_database.a
+lib/libgnunetafs_database.la
lib/libgnunetafs_database.so
lib/libgnunetafs_database.so.0
-lib/libgnunetafs_database_directory.a
+lib/libgnunetafs_database_directory.la
lib/libgnunetafs_database_directory.so
lib/libgnunetafs_database_directory.so.0
-lib/libgnunetafs_database_gdbm.a
-lib/libgnunetafs_database_gdbm.so
-lib/libgnunetafs_database_gdbm.so.0
-lib/libgnunetafs_decoding.a
+%%WITH_GDBM%%lib/libgnunetafs_database_gdbm.la
+%%WITH_GDBM%%lib/libgnunetafs_database_gdbm.so
+%%WITH_GDBM%%lib/libgnunetafs_database_gdbm.so.0
+%%WITH_TDB%%lib/libgnunetafs_database_tdb.la
+%%WITH_TDB%%lib/libgnunetafs_database_tdb.so
+%%WITH_TDB%%lib/libgnunetafs_database_tdb.so.0
+lib/libgnunetafs_decoding.la
lib/libgnunetafs_decoding.so
lib/libgnunetafs_decoding.so.0
-lib/libgnunetafs_encoding.a
+lib/libgnunetafs_delete.la
+lib/libgnunetafs_delete.so
+lib/libgnunetafs_delete.so.0
+lib/libgnunetafs_encoding.la
lib/libgnunetafs_encoding.so
lib/libgnunetafs_encoding.so.0
-lib/libgnunetafs_policy.a
+lib/libgnunetafs_policy.la
lib/libgnunetafs_policy.so
lib/libgnunetafs_policy.so.0
-lib/libgnunetafs_protocol.a
+lib/libgnunetafs_protocol.la
lib/libgnunetafs_protocol.so
lib/libgnunetafs_protocol.so.0
-lib/libgnunetafs_search.a
+lib/libgnunetafs_search.la
lib/libgnunetafs_search.so
lib/libgnunetafs_search.so.0
-lib/libgnunetafs_util.a
+lib/libgnunetafs_util.la
lib/libgnunetafs_util.so
lib/libgnunetafs_util.so.0
-lib/libgnunetchat_protocol.a
+lib/libgnunetchat_protocol.la
lib/libgnunetchat_protocol.so
lib/libgnunetchat_protocol.so.0
-lib/libgnunetcommon.a
+lib/libgnunetcommon.la
lib/libgnunetcommon.so
lib/libgnunetcommon.so.0
-lib/libgnunettbench_protocol.a
+lib/libgnunettbench_protocol.la
lib/libgnunettbench_protocol.so
lib/libgnunettbench_protocol.so.0
-lib/libgnunettransport_smtp.a
+lib/libgnunettracekit_protocol.la
+lib/libgnunettracekit_protocol.so
+lib/libgnunettracekit_protocol.so.0
+lib/libgnunettransport_smtp.la
lib/libgnunettransport_smtp.so
lib/libgnunettransport_smtp.so.0
-lib/libgnunettransport_tcp.a
+lib/libgnunettransport_tcp.la
lib/libgnunettransport_tcp.so
lib/libgnunettransport_tcp.so.0
-lib/libgnunettransport_udp.a
+lib/libgnunettransport_udp.la
lib/libgnunettransport_udp.so
lib/libgnunettransport_udp.so.0
-lib/libgnunetutil.a
+lib/libgnunetutil.la
lib/libgnunetutil.so
lib/libgnunetutil.so.0
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list