gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r19875 - in gnunet: . src src/namestore src/nse


From: gnunet
Subject: [GNUnet-SVN] r19875 - in gnunet: . src src/namestore src/nse
Date: Mon, 20 Feb 2012 19:25:35 +0100

Author: grothoff
Date: 2012-02-20 19:25:35 +0100 (Mon, 20 Feb 2012)
New Revision: 19875

Added:
   gnunet/src/namestore/
   gnunet/src/namestore/Makefile.am
   gnunet/src/namestore/namestore.conf.in
Modified:
   gnunet/configure.ac
   gnunet/src/nse/nse_profiler_test.conf
Log:
-adding namestore directory:


Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2012-02-20 17:39:01 UTC (rev 19874)
+++ gnunet/configure.ac 2012-02-20 18:25:35 UTC (rev 19875)
@@ -877,6 +877,8 @@
 src/hostlist/Makefile
 src/mesh/Makefile
 src/mesh/mesh.conf
+src/namestore/Makefile
+src/namestore/namestore.conf
 src/nat/Makefile
 src/nse/Makefile
 src/nse/nse.conf

Added: gnunet/src/namestore/Makefile.am
===================================================================
--- gnunet/src/namestore/Makefile.am                            (rev 0)
+++ gnunet/src/namestore/Makefile.am    2012-02-20 18:25:35 UTC (rev 19875)
@@ -0,0 +1,58 @@
+INCLUDES = -I$(top_srcdir)/src/include
+
+plugindir = $(libdir)/gnunet
+
+pkgcfgdir= $(pkgnamedir)/config.d/
+
+pkgcfg_NAME = \
+  namestore.conf
+
+if MINGW
+  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
+endif
+
+if USE_COVERAGE
+  AM_CFLAGS = --coverage -O0
+  XLIBS = -lgcov
+endif
+
+
+#lib_LTLIBRARIES = \
+#  libgnunetnamestore.la
+#
+#libgnunetnamestore_la_SOURCES = \
+#  namestore_api.c namestore.h 
+#libgnunetnamestore_la_LIBADD = \
+#  $(top_builddir)/src/statistics/libgnunetstatistics.la \
+#  $(top_builddir)/src/util/libgnunetutil.la \
+#  $(GN_LIBINTL) 
+#libgnunetnamestore_la_LDFLAGS = \
+#  $(GN_LIB_LDFLAGS) $(WINFLAGS) \
+#  -version-info 0:0:0
+#
+
+#bin_PROGRAMS = \
+# gnunet-service-namestore
+#
+#gnunet_service_namestore_SOURCES = \
+# gnunet-service-namestore.c 
+#gnunet_service_namestore_LDADD = \
+#  $(top_builddir)/src/statistics/libgnunetstatistics.la \
+#  $(top_builddir)/src/util/libgnunetutil.la \
+#  $(GN_LIBINTL)
+
+if HAVE_SQLITE
+ SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
+endif
+
+plugin_LTLIBRARIES = \
+  $(SQLITE_PLUGIN) 
+
+libgnunet_plugin_namestore_sqlite_la_SOURCES = \
+  plugin_namestore_sqlite.c
+libgnunet_plugin_namestore_sqlite_la_LIBADD = \
+  $(top_builddir)/src/statistics/libgnunetstatistics.la \
+  $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
+libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
+ $(GN_PLUGIN_LDFLAGS)
+

Added: gnunet/src/namestore/namestore.conf.in
===================================================================
--- gnunet/src/namestore/namestore.conf.in                              (rev 0)
+++ gnunet/src/namestore/namestore.conf.in      2012-02-20 18:25:35 UTC (rev 
19875)
@@ -0,0 +1,30 @@
+[namestore]
+AUTOSTART = YES
+UNIXPATH = /tmp/gnunet-service-namestore.sock
+UNIX_MATCH_UID = YES
+UNIX_MATCH_GID = YES
address@hidden@ PORT = 2099
+HOSTNAME = localhost
+HOME = $SERVICEHOME
+CONFIG = $DEFAULTCONFIG
+BINARY = gnunet-service-namestore
+ACCEPT_FROM = 127.0.0.1;
+ACCEPT_FROM6 = ::1;
+DATABASE = sqlite
+
+[namestore-sqlite]
+FILENAME = $SERVICEHOME/namestore/sqlite.db
+
+[namestore-postgres]
+CONFIG = connect_timeout=10; dbname=gnunet
+
+[namestore-mysql]
+DATABASE = gnunet
+CONFIG = ~/.my.cnf
+# USER = gnunet
+# PASSWORD = 
+# HOST = localhost
+# PORT = 3306
+
+
+

Modified: gnunet/src/nse/nse_profiler_test.conf
===================================================================
--- gnunet/src/nse/nse_profiler_test.conf       2012-02-20 17:39:01 UTC (rev 
19874)
+++ gnunet/src/nse/nse_profiler_test.conf       2012-02-20 18:25:35 UTC (rev 
19875)
@@ -103,7 +103,7 @@
 PORT = 0
 
 address@hidden@ PORT = 1234
address@hidden@ PORT = 0
address@hidden@ PORT = 0
 
 [transport]
 PORT = 0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]