From bfbefd4d3588f369cefbe586c12db1d0bd35e27e Mon Sep 17 00:00:00 2001 From: "diva.exchange" <61228890+diva-exchange@users.noreply.github.com> Date: Sun, 21 Jan 2024 17:23:32 +0100 Subject: [PATCH] changed: - build with upnp enabled - I2Pd v2.50.2 (see ChangeLog-i2pd) --- ChangeLog | 4 ++++ Dockerfile | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 707ca05..efe9108 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # for this file format description, # see https://github.com/olivierlacan/keep-a-changelog +## [2.50.2] - 2024-01-20 +### Changed +- fix: WITH_UPNP (with libupnp) + ## [2.50.2] - 2024-01-17 ### Changed - I2Pd v2.50.2 (see ChangeLog-i2pd) diff --git a/Dockerfile b/Dockerfile index 032df1e..a53251a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,10 +34,12 @@ RUN mkdir -p /home/i2pd/data/addressbook \ git \ autoconf \ automake \ + miniupnpc \ + miniupnpc-dev \ && cd /tmp \ - && git clone -b openssl https://github.com/PurpleI2P/i2pd.git \ + && git clone --depth 1 -b openssl https://github.com/PurpleI2P/i2pd.git \ && cd /tmp/i2pd/build \ - && cmake -DWITH_AESNI=ON . \ + && cmake -DWITH_AESNI=ON -DWITH_UPNP=ON . \ && make \ && strip i2pd \ && mv /tmp/i2pd/build/i2pd /home/i2pd/bin/i2pd \ @@ -58,6 +60,7 @@ RUN mkdir -p /home/i2pd/data/addressbook \ musl-utils \ libstdc++ \ sed \ + miniupnpc \ && cp /home/i2pd/conf/addresses-initial.org.csv /home/i2pd/data/addressbook/addresses.csv \ && addgroup -g 1000 i2pd \ && adduser -u 1000 -G i2pd -s /bin/sh -h "/home/i2pd" -D i2pd \