New package: i2pd-2.10.2 (#5367)
This commit is contained in:
parent
b87b79ca9f
commit
698a88410e
3 changed files with 47 additions and 0 deletions
17
srcpkgs/i2pd/patches/60-musl.patch
Normal file
17
srcpkgs/i2pd/patches/60-musl.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
diff --git a/DaemonLinux.cpp b/DaemonLinux.cpp
|
||||
index edd15f07..126b4689 100644
|
||||
--- DaemonLinux.cpp
|
||||
+++ DaemonLinux.cpp
|
||||
@@ -78,9 +78,9 @@ namespace i2p
|
||||
|
||||
#if !defined(__OpenBSD__)
|
||||
// point std{in,out,err} descriptors to /dev/null
|
||||
- stdin = freopen("/dev/null", "r", stdin);
|
||||
- stdout = freopen("/dev/null", "w", stdout);
|
||||
- stderr = freopen("/dev/null", "w", stderr);
|
||||
+ freopen("/dev/null", "r", stdin);
|
||||
+ freopen("/dev/null", "w", stdout);
|
||||
+ freopen("/dev/null", "w", stderr);
|
||||
#endif
|
||||
}
|
||||
|
28
srcpkgs/i2pd/template
Normal file
28
srcpkgs/i2pd/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'i2pd'
|
||||
pkgname=i2pd
|
||||
version=2.10.2
|
||||
revision=1
|
||||
short_desc="I2P Daemon - a full-featured C++ implementation of I2P client"
|
||||
homepage="http://i2pd.website/"
|
||||
license="BSD"
|
||||
build_style=gnu-makefile
|
||||
make_build_args="USE_UPNP=yes"
|
||||
maintainer="Obosob <obosob@riseup.net>"
|
||||
makedepends="zlib-devel boost-devel libressl-devel miniupnpc-devel"
|
||||
distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"
|
||||
checksum=9d1f8dd33f537ad629fc69f0ccfa4cde22ca5023981a9c5b6acd5d551b9c7b8b
|
||||
|
||||
pre_build() {
|
||||
if [[ "$XBPS_TARGET_MACHINE" =~ aarch64(-musl)? ]]; then
|
||||
make_build_args="$make_build_args USE_AESNI=no"
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin i2pd
|
||||
vman debian/i2pd.1
|
||||
vsconf docs/i2pd.conf
|
||||
vsconf docs/tunnels.conf
|
||||
vsconf docs/subscriptions.txt
|
||||
vlicense LICENSE
|
||||
}
|
2
srcpkgs/i2pd/update
Normal file
2
srcpkgs/i2pd/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site="https://api.github.com/repos/PurpleI2P/i2pd/tags"
|
||||
pattern='"name":\s*"\K([\d\.]+)(?=")'
|
Loading…
Reference in a new issue