summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPavel Vinogradov2022-08-24 04:06:14 -0400
committerPavel Vinogradov2022-08-24 04:07:08 -0400
commit4b6614c5f3903e547ed2e7507aaf6d637986957c (patch)
treed5950efa00d73afa062b7396b4dee5a9cd058be7 /net
parent0df5cb06d6950b34bbc2fe74b82d324628f63dc6 (diff)
net/i2pd: version 2.43.0
Diffstat (limited to 'net')
-rwxr-xr-xnet/i2pd/DETAILS4
-rw-r--r--net/i2pd/HISTORY4
-rwxr-xr-xnet/i2pd/PRE_BUILD4
-rw-r--r--net/i2pd/patches/libi2pd-link.patch13
4 files changed, 23 insertions, 2 deletions
diff --git a/net/i2pd/DETAILS b/net/i2pd/DETAILS
index 1cf4f48229..a954f3a094 100755
--- a/net/i2pd/DETAILS
+++ b/net/i2pd/DETAILS
@@ -1,7 +1,7 @@
source "${GRIMOIRE}/CMAKE_FUNCTIONS"
SPELL=i2pd
- VERSION=2.42.1
- SOURCE_HASH=sha512:85df4d8d0a18bf7f3095191a5181a1fa864bfad7b84d2fc18a089b964d80166727f010dcd55a0c8fb1c4e385e1b35b3a1d975f0c0c2efa70999f3c19aba08d97
+ VERSION=2.43.0
+ SOURCE_HASH=sha512:7247850cd47cccc540346b4a1becc6dba5f40bcb333cd722e9fc59fd8b0beddee700376829d29add05cea6b84bb34303ed37e01914a1a41cf8cd94fe5c826e4a
SOURCE=${SPELL}-${VERSION}.tar.gz
SOURCE_URL[0]=https://github.com/PurpleI2P/${SPELL}/archive/${VERSION}.tar.gz
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
diff --git a/net/i2pd/HISTORY b/net/i2pd/HISTORY
index 3982a0e0ba..b62f92da78 100644
--- a/net/i2pd/HISTORY
+++ b/net/i2pd/HISTORY
@@ -1,3 +1,7 @@
+2022-08-24 Pavel Vinogradov <public@sourcemage.org>
+ * DETAILS: version 2.43.0
+ * PRE_BUILD, patches/libi2pd-link.patch: added to fix library linking
+
2022-06-26 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 2.42.1
diff --git a/net/i2pd/PRE_BUILD b/net/i2pd/PRE_BUILD
new file mode 100755
index 0000000000..0ec8ad8845
--- /dev/null
+++ b/net/i2pd/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+apply_patch_dir patches
diff --git a/net/i2pd/patches/libi2pd-link.patch b/net/i2pd/patches/libi2pd-link.patch
new file mode 100644
index 0000000000..c5966e33e9
--- /dev/null
+++ b/net/i2pd/patches/libi2pd-link.patch
@@ -0,0 +1,13 @@
+diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
+index d35bd52..e2418f4 100644
+--- a/build/CMakeLists.txt
++++ b/build/CMakeLists.txt
+@@ -267,6 +267,8 @@ if(WITH_BINARY)
+ set(DL_LIB ${CMAKE_DL_LIBS})
+ endif()
+
++
++ target_link_libraries(libi2pd ${Boost_LIBRARIES} ${ZLIB_LIBRARY})
+ target_link_libraries("${PROJECT_NAME}" libi2pd libi2pdclient libi2pdlang ${DL_LIB} ${Boost_LIBRARIES} OpenSSL::SSL OpenSSL::Crypto ${MINIUPNPC_LIBRARY} ZLIB::ZLIB Threads::Threads ${DL_LIB} ${CMAKE_REQUIRED_LIBRARIES})
+
+ install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime)