[Buildroot] [PATCH 1/1] i2pd: new package

Fabrice Fontaine fontaine.fabrice at gmail.com
Tue Mar 27 21:22:16 UTC 2018


Dear Thomas,

2018-03-25 23:27 GMT+02:00 Thomas Petazzoni <thomas.petazzoni at bootlin.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 at 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 ?
>
Yes, both were sent and applied upstream:
 - https://github.com/PurpleI2P/i2pd/commit/6d15be9a32989b0d00312a5b2589e3
6ba0ea7836
 - https://github.com/PurpleI2P/i2pd/commit/1d934bd543360bfdd40e1501d16d8b
eb2016ccd8

>
>
> > 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 ?
>
Not really, I will update my patch to use it.

>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
Best Regards,

Fabrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180327/a100d151/attachment.html>


More information about the buildroot mailing list