1 |
commit: 1c0d7d298402386bf4ac8dd298b22a127c988008 |
2 |
Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru> |
3 |
AuthorDate: Tue Sep 14 08:22:08 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 21 07:03:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0d7d29 |
7 |
|
8 |
net-vpn/i2pd: version bump 2.39.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/812843 |
11 |
Bug: https://bugs.gentoo.org/808845 |
12 |
Signed-off-by: Alexey Korepanov <kaikaikai <AT> yandex.ru> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/22289 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
net-vpn/i2pd/Manifest | 2 +- |
17 |
net-vpn/i2pd/files/i2pd-2.25.0-lib-path.patch | 22 ---------------------- |
18 |
.../{i2pd-2.6.0-r3.initd => i2pd-2.39.0.initd} | 7 ++++++- |
19 |
.../{i2pd-2.38.0-r4.ebuild => i2pd-2.39.0.ebuild} | 6 +----- |
20 |
4 files changed, 8 insertions(+), 29 deletions(-) |
21 |
|
22 |
diff --git a/net-vpn/i2pd/Manifest b/net-vpn/i2pd/Manifest |
23 |
index 17680236dae..055ce2cb5c5 100644 |
24 |
--- a/net-vpn/i2pd/Manifest |
25 |
+++ b/net-vpn/i2pd/Manifest |
26 |
@@ -1 +1 @@ |
27 |
-DIST i2pd-2.38.0.tar.gz 555543 BLAKE2B a47c4b77e3a1d4c88cfd18b288b53592a8096509e0bed01bbf57f8d81b715699f822059cd9eecc0deb8fc82d98c23a8c0f6a67ac71654da528f81785338bfe54 SHA512 01e160394dc07621b3d236fcc13d78b46e109290f59dbb77f282c05f4d80fdfa01c9b062de5ca91d6d6e739beb8a5b6f731508b48d9483f1a132a93a71d88e6f |
28 |
+DIST i2pd-2.39.0.tar.gz 579825 BLAKE2B 14f4167fd7752529f513f89cf9d08fd9dbf086f9336c5dae47ef30fa81a753c955de7e622131214f6924a7af8fb62e6a3b5b59c8ae0d407ed7305c3c6dc8a692 SHA512 6b38e6e2e763e94ffe9d11eb2f9a0e9554560bb4fec95891240adf5bc0a9639f879dac4ff3712a9f8e00895b7bbeabc854887e61fe9f9755c33f96899e20aa76 |
29 |
|
30 |
diff --git a/net-vpn/i2pd/files/i2pd-2.25.0-lib-path.patch b/net-vpn/i2pd/files/i2pd-2.25.0-lib-path.patch |
31 |
deleted file mode 100644 |
32 |
index af0590be32f..00000000000 |
33 |
--- a/net-vpn/i2pd/files/i2pd-2.25.0-lib-path.patch |
34 |
+++ /dev/null |
35 |
@@ -1,22 +0,0 @@ |
36 |
-diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt |
37 |
-index 949f6a46..a6d29990 100644 |
38 |
---- a/build/CMakeLists.txt |
39 |
-+++ b/build/CMakeLists.txt |
40 |
-@@ -103,8 +103,6 @@ set_target_properties(libi2pd PROPERTIES PREFIX "") |
41 |
- if (WITH_LIBRARY) |
42 |
- install(TARGETS libi2pd |
43 |
- EXPORT libi2pd |
44 |
-- ARCHIVE DESTINATION lib |
45 |
-- LIBRARY DESTINATION lib |
46 |
- COMPONENT Libraries) |
47 |
- # TODO Make libi2pd available to 3rd party projects via CMake as imported target |
48 |
- # FIXME This pulls stdafx |
49 |
-@@ -135,8 +133,6 @@ set_target_properties(libi2pdclient PROPERTIES PREFIX "") |
50 |
- if (WITH_LIBRARY) |
51 |
- install(TARGETS libi2pdclient |
52 |
- EXPORT libi2pdclient |
53 |
-- ARCHIVE DESTINATION lib |
54 |
-- LIBRARY DESTINATION lib |
55 |
- COMPONENT Libraries) |
56 |
- endif() |
57 |
- |
58 |
|
59 |
diff --git a/net-vpn/i2pd/files/i2pd-2.6.0-r3.initd b/net-vpn/i2pd/files/i2pd-2.39.0.initd |
60 |
similarity index 93% |
61 |
rename from net-vpn/i2pd/files/i2pd-2.6.0-r3.initd |
62 |
rename to net-vpn/i2pd/files/i2pd-2.39.0.initd |
63 |
index b09b4454e96..c5248b20cfe 100644 |
64 |
--- a/net-vpn/i2pd/files/i2pd-2.6.0-r3.initd |
65 |
+++ b/net-vpn/i2pd/files/i2pd-2.39.0.initd |
66 |
@@ -1,5 +1,5 @@ |
67 |
#!/sbin/openrc-run |
68 |
-# Copyright 1999-2016 Gentoo Foundation |
69 |
+# Copyright 1999-2021 Gentoo Foundation |
70 |
# Distributed under the terms of the GNU General Public License v2 |
71 |
|
72 |
description="C++ daemon for accessing the I2P network" |
73 |
@@ -37,6 +37,11 @@ start_pre() { |
74 |
checkpath -d -m 0750 -o "${user}" "${I2PD_PID_DIR}" |
75 |
} |
76 |
|
77 |
+stop_post() { |
78 |
+ # #808845 |
79 |
+ rm -f "${I2PD_PID}" |
80 |
+} |
81 |
+ |
82 |
graceful() { |
83 |
# on SIGINT, i2pd stops accepting tunnels and shuts down in 600 seconds |
84 |
ebegin "Gracefully stopping i2pd, this takes 10 minutes" |
85 |
|
86 |
diff --git a/net-vpn/i2pd/i2pd-2.38.0-r4.ebuild b/net-vpn/i2pd/i2pd-2.39.0.ebuild |
87 |
similarity index 94% |
88 |
rename from net-vpn/i2pd/i2pd-2.38.0-r4.ebuild |
89 |
rename to net-vpn/i2pd/i2pd-2.39.0.ebuild |
90 |
index 48d52261fdc..95c83095ba6 100644 |
91 |
--- a/net-vpn/i2pd/i2pd-2.38.0-r4.ebuild |
92 |
+++ b/net-vpn/i2pd/i2pd-2.39.0.ebuild |
93 |
@@ -26,10 +26,6 @@ CMAKE_USE_DIR="${S}/build" |
94 |
|
95 |
DOCS=( README.md contrib/i2pd.conf contrib/tunnels.conf ) |
96 |
|
97 |
-PATCHES=( |
98 |
- "${FILESDIR}/i2pd-2.25.0-lib-path.patch" |
99 |
-) |
100 |
- |
101 |
pkg_pretend() { |
102 |
if use i2p-hardening && ! tc-is-gcc; then |
103 |
die "i2p-hardening requires gcc" |
104 |
@@ -66,7 +62,7 @@ src_install() { |
105 |
|
106 |
# openrc and systemd daemon routines |
107 |
newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd |
108 |
- newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd |
109 |
+ newinitd "${FILESDIR}/i2pd-2.39.0.initd" i2pd |
110 |
systemd_newunit "${FILESDIR}/i2pd-2.38.0.service" i2pd.service |
111 |
|
112 |
# logrotate |