Package Details: i2pd-git 2.39.0.r17.g76dca1b4-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
Conflicts: i2pd
Provides: i2p-router, i2pd
Submitter: robertfoster
Maintainer: dbermond
Last Packager: dbermond
Votes: 12
Popularity: 0.89
First Submitted: 2014-08-20 15:08 (UTC)
Last Updated: 2021-09-05 15:11 (UTC)

Latest Comments

dbermond commented on 2021-03-11 20:52 (UTC)

@keren_sky Patches updated.

keren_sky commented on 2021-03-11 15:11 (UTC) (edited on 2021-03-11 15:44 (UTC) by keren_sky)

Hi, build is failing w/ the following error: -> Creating working copy of i2pd git repo... Cloning into 'i2pd'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... >patching file tests/Makefile

patching file contrib/i2pd.conf patching file contrib/i2pd.service Hunk #1 FAILED at 11. 1 out of 1 hunk FAILED -- saving rejects to file contrib/i2pd.service.rej ==> ERROR: A failure occurred in prepare(). Aborting...

DDoSolitary commented on 2020-05-24 04:59 (UTC)

Build failing:

rm: cannot remove '/home/builder/build/i2pd-git/pkg/i2pd-git/usr/src': No such file or directory
rm: cannot remove '/home/builder/build/i2pd-git/pkg/i2pd-git/usr/LICENSE': No such file or directory

It seems that a recent commit removed installation of these files.

DDoSolitary commented on 2019-06-08 17:57 (UTC)

@redfish But the pkgbuild specifies the master branch directly in the URL

redfish commented on 2019-06-08 17:47 (UTC)

@phake: openssl is the default branch on github, so it is already the one cloned by this PKGBUILD.

phake commented on 2019-06-08 08:28 (UTC) (edited on 2019-06-08 08:29 (UTC) by phake)

The main branch on the SVN is now openssl. Please change the link to git+https://github.com/PurpleI2P/i2pd#branch=openssl. NTCP1 is already disabled by default. In openssl works NTCP2.

redfish commented on 2018-08-03 02:09 (UTC)

Could you please add provides=("${pkgname%%-git}=${pkgver}") so that this package satisfies the dependency of packages that depend on i2pd. I tested this one-line patch to the i2pd-git PKGBUILD: it fixes the build of xd-torrent package. Btw, some of the older suggestions might be good to merge, too. Thanks.

Jikstra commented on 2018-07-03 17:09 (UTC)

In case you get this error:

$ makepkg -si
==> FEHLER: conflicts enthält ungültige Zeichen: '${%%}'

Change line 20 to conflicts=("${pkgname%%-git}")

redfish commented on 2018-03-05 23:50 (UTC)

Since PR#1142 was merged, please remove the tmpfiles stuff on Line 42 in PKGBUILD and Line 14 in .install. Thanks! Btw, also, do not remove the user on uninstall in .install (the policy is to not remove user, to prevent orphaned objects in the file system).

DDoSolitary commented on 2017-10-24 08:08 (UTC)

Please add git to makedepends. https://wiki.archlinux.org/index.php/VCS_package_guidelines#Guidelines

redfish commented on 2017-10-10 15:11 (UTC)

Please add cmake to makedeps, otherwise build fails on clean system.

redfish commented on 2017-10-08 20:54 (UTC)

You can use contrib/debian/i2pd.service (and .tmpfiles) from upstream instead of adding a copy into the package; easier to maintain. The upstream .service has RuntimeDirectory which avoids the need for /var/run in tmpfiles.

redfish commented on 2017-06-11 16:23 (UTC)

Paths to files are broken again, here is a patch: https://gateway.ipfs.io/ipfs/QmUqhAQzP62CS8S315M81e2vyao6fHMQVUuKykS3UzVWtJ/0001-i2pd-git--fix-paths-to-contrib-files.patch

redfish commented on 2017-06-08 06:44 (UTC)

@robsmith11: workaround: on line 28, change -DWITH_PCH=1 to -DWITH_PCH=OFF. @MORf30: might be worth it to change PKGBUILD on AUR to just disable this precompiled headers stuff -- it should not have an effect on the resulting binary.

robsmith11 commented on 2017-06-08 02:56 (UTC)

Latest git fails and I'm not sure how to fix it: CMake Error at CMakeLists.txt:291 (add_library): Cannot find source file: ../libi2pd/stdafx.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error: Cannot determine link language for target "stdafx". CMake Error: CMake can not determine linker language for target: stdafx

redfish commented on 2017-04-22 19:08 (UTC)

Broken paths, again; patch: https://gateway.ipfs.io/ipfs/QmXbKTPAzWpmvVLWbihuvN1qRwCZCb2oeqYxg41op4EpQZ Btw, as far as I know, the guidelines say not to remove the user on uninstall, even if the user is created upon install, in order to avoid orphaned files on the system.

redfish commented on 2017-02-06 07:37 (UTC)

Paths broke again; patch: https://gateway.ipfs.io/ipfs/QmXRNt1isqMA6vnLp1om849HnQ39PojgAQfDmfeCr7Goy9 Also, added armv7h arch (I've been using on armv7h for a long time now).

kurych commented on 2016-12-19 06:54 (UTC)

I think if in i2pd package we create a "i2pd" user, probable in i2pd-git we should do the same. As usual I propose right version of packages with my viewpoint in dropbox share: https://www.dropbox.com/sh/wxcl2lhtp8bejnh/AACYq4GNtESC6HCGEkL-iBrca?dl=0

redfish commented on 2016-08-21 17:49 (UTC)

Paths have changed. Here is the patch: - install -Dm0644 $srcdir/i2pd/debian/tunnels.conf $pkgdir/${_conf_dest}/tunnels.conf - install -Dm0644 $srcdir/i2pd/debian/subscriptions.txt $pkgdir/${_conf_dest}/subscriptions.txt + install -Dm0644 $srcdir/i2pd/docs/tunnels.conf $pkgdir/${_conf_dest}/tunnels.conf + install -Dm0644 $srcdir/i2pd/docs/subscriptions.txt $pkgdir/${_conf_dest}/subscriptions.txt PS. Also, while at it please bump ver to 2.9 in PKGBUILD and .SRCINFO.

kurych commented on 2016-05-19 12:58 (UTC)

redfish: You are right, your version string is more informative. And CXXFLAGS was needed in early versions i2pd. Now it must be cleaned. But remove links to config files not yet time while soft still under construction. New tarballs as usual can find at https://www.dropbox.com/sh/wxcl2lhtp8bejnh/AACYq4GNtESC6HCGEkL-iBrca?dl=0

redfish commented on 2016-05-18 16:56 (UTC) (edited on 2016-05-18 17:01 (UTC) by redfish)

Please use this for pkgver to construct the correct version string: version.g<height>.r<commit>: git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' Btw, why the symlinks in /etc instead of just putting the files there, and passing --conf /etc/... in i2pd.service? EDIT: Also, please remove compiler flags. It should just use what's in /etc/makepkg.conf; those kind of flags are up to the user, not the packager.

kurych commented on 2016-04-29 14:03 (UTC)

What do you think about necessity UPNP option? May be better it will get rid of this dependence?

mayurkr commented on 2016-04-29 12:07 (UTC)

The build is crashing because one of the dependency is not meet i.e miniupnpc Please add miniupnpc to makedepends

Nyarcel commented on 2016-04-12 21:27 (UTC)

debian/i2pd.conf is now docs/i2pd.conf Please fix.

kurych commented on 2016-04-04 09:00 (UTC)

Since version 2.6.0 changed names of config files. Now i2pd.conf and tunnels.conf.

tee commented on 2016-04-01 20:55 (UTC)

need to add miniupnpc to makedepends

kurych commented on 2016-03-03 10:40 (UTC) (edited on 2016-03-04 10:17 (UTC) by kurych)

In new tarballs, which you can find on same path on dropbox, was taken off dependencies from "cmake", because main developer support only Makefile in current time. And all configuration files placed to expected point - /etc/i2pd.

kurych commented on 2016-01-12 16:41 (UTC) (edited on 2016-01-16 13:05 (UTC) by kurych)

Hi! I could propose new tarball for i2pd-git package. This version more useful to last changes in upstream code. Complete tarball you can find at https://www.dropbox.com/sh/wxcl2lhtp8bejnh/AACYq4GNtESC6HCGEkL-iBrca?dl=0

kurych commented on 2016-01-11 12:51 (UTC) (edited on 2016-01-11 12:53 (UTC) by kurych)

In one of recent commits was added --pidfile cli option. I think that files i2pd.tmpfiles.conf and i2pd.service should be modified to create pid-file in /run/i2pd/ directory. Respectively, i2pd.tmpfiles.conf: d /run/i2pd 0755 i2p i2p - and ExecStart= in i2pd.service should looks like ExecStart=/usr/bin/i2pd --pidfile=/run/i2pd/i2pd.pid --conf=... etc. This will restart the service and use the Restart= option to automatically restart service if crash occurred.

kurych commented on 2015-12-16 15:33 (UTC)

Makefile was changed in GitHub repository: renamed main binary to "i2pd". Therefore it is necessary to make changes to files PKGBUILD and i2pd.service.

sehraf commented on 2015-09-16 11:08 (UTC)

The package doesn't build anymore since it now requires cmake.

comefaith commented on 2015-05-15 13:42 (UTC)

here's gentoo service file, probably restart requires pid file [Unit] Description=C++ daemon for accessing the I2P network After=network.target [Service] Type=forking Restart=on-abnormal PIDFile=/var/run/i2pd.pid User=i2pd Group=i2pd PermissionsStartOnly=yes ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log ExecStart=/usr/lib/i2pd/i2p --conf=/etc/i2pd.conf [Install] WantedBy=multi-user.target

archeando commented on 2015-04-02 11:48 (UTC)

Restart i2pd not work, problem: not exist /run/i2pd.pid Please add backup to pkgbuild: backup=/var/lib/i2pd/i2p.conf

Nefelim4ag commented on 2015-01-18 00:42 (UTC)

#Maintainer: M0Rf30 pkgname=i2pd-git pkgver=1440.3c9e605 pkgrel=1 pkgdesc="Simplified C++ implementation of I2P client" arch=('any') url="https://github.com/PrivacySolutions/i2pd" license=('GPL2') depends=('crypto++' 'boost-libs') makedepends=('git' 'boost') source=('i2pd::git+https://github.com/PrivacySolutions/i2pd.git' i2pd.service i2p.conf i2pd.tmpfiles.conf) install=i2pd.install build() { cd i2pd make CXXFLAGS="$CXXFLAGS" } package(){ cd i2pd install -Dm755 i2p $pkgdir/usr/bin/i2p install -Dm0644 $srcdir/i2pd.service $pkgdir/usr/lib/systemd/system/i2pd.service install -Dm0644 ../i2p.conf $pkgdir/var/lib/i2pd/i2p.conf install -Dm0644 $srcdir/i2pd.tmpfiles.conf $pkgdir/usr/lib/tmpfiles.d/i2pd.conf } pkgver() { cd i2pd echo $(git rev-list --count master).$(git rev-parse --short master) } md5sums=('SKIP' 'c37b5470c959e826be8eb40c8f1ece93' 'b145e41e22806bd4ca4f4064ec4721a2' '862be388708f2b1bd5f727715ec7508d')

gim commented on 2014-10-26 18:09 (UTC)

You may be interested in maintaining i2pd package - https://aur.archlinux.org/packages/i2pd/