Package Details: i2pd-git 2.55.0.r3.g18707dd8-1

Git Clone URL: https://aur.archlinux.org/i2pd-git.git (read-only, click to copy)
Package Base: i2pd-git
Description: A full-featured C++ implementation of the I2P router (git version)
Upstream URL: https://i2pd.website/
Licenses: BSD-3-Clause
Conflicts: i2pd
Provides: i2p-router, i2pd
Submitter: robertfoster
Maintainer: dbermond
Last Packager: dbermond
Votes: 15
Popularity: 0.014094
First Submitted: 2014-08-20 15:08 (UTC)
Last Updated: 2025-01-04 14:27 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

dbermond commented on 2024-10-15 17:36 (UTC)

@kanye I have no segfault when using the systemd service. The package is building fine with shared libs enabled. I pushed a commit to update the patches.

kanye commented on 2024-10-14 06:31 (UTC) (edited on 2024-10-14 06:40 (UTC) by kanye)

The system call filter in i2pd.service will make i2pd segfault when UPnP is enabled. Also, 020-i2pd-do-not-override-config.patch was outdated and -DBUILD_SHARED_LIBS was giving me linker errors, here's a working patch.

To the maintainer: I don't think disabling -DBUILD_SHARED_LIBS is a good idea, so I suggest you check out what's causing the issue instead of this quick fix that works for end users who don't need libi2pd.so.

diff --git a/.SRCINFO b/.SRCINFO
index ce421d9..181bea9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = i2pd-git
    pkgdesc = A full-featured C++ implementation of the I2P router (git version)
-   pkgver = 2.49.0.r17.gc8ae1504
+   pkgver = 2.54.0.r11.gfbd07a52
    pkgrel = 1
    url = https://i2pd.website/
    arch = x86_64
@@ -30,8 +30,8 @@ pkgbase = i2pd-git
    sha256sums = SKIP
    sha256sums = 2ddf15f1c1cdf5d747a0af667145238023fd126ab00c65f2897cacae935015b1
    sha256sums = ed1bde650139731921bf3c8091b3332620404e7700fb9c486a4a806fe34e2d3b
-   sha256sums = e98eaa783fcd8e1ab84980f68158e3bb9eb5ec101f26c748946a313152643f11
-   sha256sums = 2b84d85d4234eb3b640925d0dd244c8abe3b48bc69c8456629af923de17acf10
+   sha256sums = 805a82f23c244afbdfae0a4f30d1707301bc0e23437f83d1c84f13c33f62ea28
+   sha256sums = abfee175f2e130e0958fe6b171a298586e39bea450595c9bc8370a7964af1e37
    sha256sums = cfcb6b07b67aff3e3af12767f4649d88b9320dc71907b6c01b465e5c138cdaa3
    sha256sums = 88b2e709228049ba11f37863f87de75ab6cde295104852871384337cfdc906a3
    sha256sums = fe8cc2ec83cb5b5c2b2ec8cce9a989e0cb6fd347e00b84e03a17b12efd152fac
diff --git a/020-i2pd-do-not-override-config.patch b/020-i2pd-do-not-override-config.patch
index f020dcd..d8a0d6a 100644
--- a/020-i2pd-do-not-override-config.patch
+++ b/020-i2pd-do-not-override-config.patch
@@ -4,7 +4,7 @@
  LogsDirectory=i2pd
  LogsDirectoryMode=0700
  Type=forking
--ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.conf.d --pidfile=/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service
+-ExecStart=/usr/bin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.conf.d --pidfile=/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service
 +ExecStart=/usr/bin/i2pd --conf=/var/lib/i2pd/i2pd.conf --pidfile=/run/i2pd/i2pd.pid --daemon --service
  ExecReload=/bin/sh -c "kill -HUP $MAINPID"
  PIDFile=/run/i2pd/i2pd.pid
diff --git a/030-i2pd-systemd-service-hardening.patch b/030-i2pd-systemd-service-hardening.patch
index c816822..f078414 100644
--- a/030-i2pd-systemd-service-hardening.patch
+++ b/030-i2pd-systemd-service-hardening.patch
@@ -14,7 +14,6 @@
 +NoNewPrivileges=true
 +MemoryDenyWriteExecute=true
 +LockPersonality=true
-+SystemCallFilter=@system-service
 +RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
 +ProtectHostname=true
 +ProtectClock=true
diff --git a/PKGBUILD b/PKGBUILD
index 5f3dac2..cd2beaf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 # Contributor: DDoSolitary <DDoSolitary@gmail.com>

 pkgname=i2pd-git
-pkgver=2.49.0.r17.gc8ae1504
+pkgver=2.54.0.r11.gfbd07a52
 pkgrel=1
 pkgdesc='A full-featured C++ implementation of the I2P router (git version)'
 arch=('x86_64')
@@ -29,8 +29,8 @@ source=('git+https://github.com/PurpleI2P/i2pd.git#branch=openssl'
 sha256sums=('SKIP'
             '2ddf15f1c1cdf5d747a0af667145238023fd126ab00c65f2897cacae935015b1'
             'ed1bde650139731921bf3c8091b3332620404e7700fb9c486a4a806fe34e2d3b'
-            'e98eaa783fcd8e1ab84980f68158e3bb9eb5ec101f26c748946a313152643f11'
-            '2b84d85d4234eb3b640925d0dd244c8abe3b48bc69c8456629af923de17acf10'
+            '805a82f23c244afbdfae0a4f30d1707301bc0e23437f83d1c84f13c33f62ea28'
+            'abfee175f2e130e0958fe6b171a298586e39bea450595c9bc8370a7964af1e37'
             'cfcb6b07b67aff3e3af12767f4649d88b9320dc71907b6c01b465e5c138cdaa3'
             '88b2e709228049ba11f37863f87de75ab6cde295104852871384337cfdc906a3'
             'fe8cc2ec83cb5b5c2b2ec8cce9a989e0cb6fd347e00b84e03a17b12efd152fac')
@@ -54,9 +54,10 @@ build() {
         -G 'Unix Makefiles' \
         -DCMAKE_BUILD_TYPE:STRING='None' \
         -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-        -DBUILD_SHARED_LIBS:BOOL='ON' \
+        -DBUILD_SHARED_LIBS:BOOL='OFF' \
         -DWITH_UPNP:BOOL='ON' \
         -DBUILD_TESTING:BOOL='ON' \
+   -DWITH_HARDENING:BOOL='ON' \
         -Wno-dev
     cmake --build build
 }

dbermond commented on 2024-06-06 21:01 (UTC)

@assasinfil there is no real version in the package name or in the package description, except for a mention of 'git version' in the description (which is not a real version, but just a generic description indicating that this is a VCS package).

assasinfil commented on 2024-06-06 20:36 (UTC)

@dbermond, Perhaps then it is worth removing the version number from the package name or description? Because it is misleading. Thanks for the explanation, I saw in the code that the repository with the last commit is being cloned.

dbermond commented on 2024-05-29 21:37 (UTC)

@assasinfil this is a VCS package, and not a stable package. Being such, there is no version bump to be made here. The version of VCS packages are automatically updated by the 'pkgver()' function when you run makepkg. Just run makepkg and the version will be automatically updated to the latest available code in upstream git master.

assasinfil commented on 2024-05-28 17:38 (UTC)

Update pls to latest version (2.52.0). It containing important fixes.

dbermond commented on 2024-05-11 01:45 (UTC)

@Sir-Photch I cannot support the aarch64 architecture, sorry.

shtrophic commented on 2024-04-29 18:28 (UTC)

This also builds fine and works on aarch64, so you can add that to the arch array :)

keren_sky commented on 2023-02-15 01:20 (UTC)

Thank you.

dbermond commented on 2023-01-14 14:00 (UTC)

@keren_sky I've just checked, and the patches are applying fine. Probably you have an outdated checkout of this git repository. Make sure to update it with git pull or do a new clone.