summaryrefslogtreecommitdiff
path: root/net-vpn/i2pd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /net-vpn/i2pd/files
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'net-vpn/i2pd/files')
-rw-r--r--net-vpn/i2pd/files/i2pd-2.25.0-lib-path.patch22
-rw-r--r--net-vpn/i2pd/files/i2pd-2.39.0.initd (renamed from net-vpn/i2pd/files/i2pd-2.6.0-r3.initd)7
2 files changed, 6 insertions, 23 deletions
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
deleted file mode 100644
index af0590be32f7..000000000000
--- a/net-vpn/i2pd/files/i2pd-2.25.0-lib-path.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
-index 949f6a46..a6d29990 100644
---- a/build/CMakeLists.txt
-+++ b/build/CMakeLists.txt
-@@ -103,8 +103,6 @@ set_target_properties(libi2pd PROPERTIES PREFIX "")
- if (WITH_LIBRARY)
- install(TARGETS libi2pd
- EXPORT libi2pd
-- ARCHIVE DESTINATION lib
-- LIBRARY DESTINATION lib
- COMPONENT Libraries)
- # TODO Make libi2pd available to 3rd party projects via CMake as imported target
- # FIXME This pulls stdafx
-@@ -135,8 +133,6 @@ set_target_properties(libi2pdclient PROPERTIES PREFIX "")
- if (WITH_LIBRARY)
- install(TARGETS libi2pdclient
- EXPORT libi2pdclient
-- ARCHIVE DESTINATION lib
-- LIBRARY DESTINATION lib
- COMPONENT Libraries)
- endif()
-
diff --git a/net-vpn/i2pd/files/i2pd-2.6.0-r3.initd b/net-vpn/i2pd/files/i2pd-2.39.0.initd
index b09b4454e96d..c5248b20cfee 100644
--- a/net-vpn/i2pd/files/i2pd-2.6.0-r3.initd
+++ b/net-vpn/i2pd/files/i2pd-2.39.0.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="C++ daemon for accessing the I2P network"
@@ -37,6 +37,11 @@ start_pre() {
checkpath -d -m 0750 -o "${user}" "${I2PD_PID_DIR}"
}
+stop_post() {
+ # #808845
+ rm -f "${I2PD_PID}"
+}
+
graceful() {
# on SIGINT, i2pd stops accepting tunnels and shuts down in 600 seconds
ebegin "Gracefully stopping i2pd, this takes 10 minutes"