diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-07-10 18:42:29 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-07-10 18:42:29 +0000 |
commit | 2a638a7154d3367d0e74bc74b95aec62d86cf119 (patch) | |
tree | 1bf0ae99d7eea7e0f4bb59287601ee1fb8961157 /net-p2p/gnunet/files | |
parent | New package. Submitted by Ilian Zarov. Fixes #4284 (diff) | |
download | historical-2a638a7154d3367d0e74bc74b95aec62d86cf119.tar.gz historical-2a638a7154d3367d0e74bc74b95aec62d86cf119.tar.bz2 historical-2a638a7154d3367d0e74bc74b95aec62d86cf119.zip |
New package. submitted by Ilian Zarov. Fixes #4298
Diffstat (limited to 'net-p2p/gnunet/files')
-rw-r--r-- | net-p2p/gnunet/files/digest-gnunet-0.4.2 | 1 | ||||
-rw-r--r-- | net-p2p/gnunet/files/gnunet | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/net-p2p/gnunet/files/digest-gnunet-0.4.2 b/net-p2p/gnunet/files/digest-gnunet-0.4.2 new file mode 100644 index 000000000000..174699995005 --- /dev/null +++ b/net-p2p/gnunet/files/digest-gnunet-0.4.2 @@ -0,0 +1 @@ +MD5 b820139fe4d9dcb7a9fad79e37b3c0a8 GNUnet-0.4.2.tar.bz2 199906 diff --git a/net-p2p/gnunet/files/gnunet b/net-p2p/gnunet/files/gnunet new file mode 100644 index 000000000000..df52d40b1834 --- /dev/null +++ b/net-p2p/gnunet/files/gnunet @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 +# description: Gnunet is an anonymous distributed secure network +# this server is required to connect to the network, +# it will open a TCP port to communicate with the +# GUI and an UDP port to communicate with the world. +# NOTE: I have not tested this script. + +depend() { + need net +} + +start() { + ebegin "Starting gnunetd" + # -u username, -c path to gnunet.conf file + start-stop-daemon --start --quiet --exec /usr/local/bin/gnunetd -u gnunet \ + -c /var/lib/GNUnet/gnunet.conf + eend $? "Failed to start gnunetd" +} + +stop() { + ebegin "Stopping gnunetd" + start-stop-daemon --stop --quiet --exec /usr/local/bin/gnunetd + eend $? "Failed to stop gnunetd" +} |