From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] i2pd: new package
Date: Sun, 25 Mar 2018 23:27:59 +0200 [thread overview]
Message-ID: <20180325232759.51802cb4@windsurf> (raw)
In-Reply-To: <20180315195012.12760-1-fontaine.fabrice@gmail.com>
Hello,
On Thu, 15 Mar 2018 20:50:12 +0100, Fabrice Fontaine wrote:
> i2pd (I2P Daemon) is a full-featured C++ implementation of I2P
> client.
>
> I2P (Invisible Internet Protocol) is a universal anonymous
> network layer.
> All communications over I2P are anonymous and end-to-end
> encrypted, participants don't reveal their real IP addresses.
>
> http://i2pd.website
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Generally looks good. Just a few questions.
> ...ix-cmake-error-when-DBUILD_SHARED_LIBS-ON.patch | 28 +++++++++
> package/i2pd/0002-Install-libi2pdclient.patch | 69 +++++++++++++++++++++
Did you send those patches upstream ?
> diff --git a/package/i2pd/S99i2pd b/package/i2pd/S99i2pd
> new file mode 100644
> index 0000000000..68ba792dd2
> --- /dev/null
> +++ b/package/i2pd/S99i2pd
> @@ -0,0 +1,38 @@
> +#!/bin/sh
> +
> +NAME=i2pd
> +PIDFILE=/var/run/$NAME.pid
> +DAEMON=/usr/bin/$NAME
> +DAEMON_ARGS="--conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --pidfile=/var/run/i2pd.pid --logfile=/var/log/i2pd.log --daemon --service"
> +
> +start() {
> + printf "Starting $NAME: "
> + $DAEMON $DAEMON_ARGS
> + [ $? = 0 ] && echo "OK" || echo "FAIL"
> +}
> +stop() {
> + printf "Stopping $NAME: "
> + kill $PIDFILE
> + [ $? = 0 ] && echo "OK" || echo "FAIL"
Any reason not to use start-stop-daemon in this init script ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-03-25 21:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-15 19:50 [Buildroot] [PATCH 1/1] i2pd: new package Fabrice Fontaine
2018-03-25 21:27 ` Thomas Petazzoni [this message]
2018-03-27 21:22 ` Fabrice Fontaine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180325232759.51802cb4@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.