i2pd: update to 2.25.0.

This commit is contained in:
Daniel Eyßer 2019-05-10 23:36:14 +02:00 committed by Helmut Pozimski
parent aa2274be18
commit fe6ce36391
2 changed files with 28 additions and 13 deletions

View file

@ -1,2 +1,4 @@
#!/bin/sh #!/bin/sh
exec chpst -u _i2pd:_i2pd i2pd --service 2>&1 exec chpst -u _i2pd:_i2pd i2pd --service \
--conf=/etc/i2pd/i2pd.conf \
--tunconf=/etc/i2pd/tunnels.conf 2>&1

View file

@ -1,35 +1,48 @@
# Template file for 'i2pd' # Template file for 'i2pd'
pkgname=i2pd pkgname=i2pd
version=2.24.0 version=2.25.0
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="USE_UPNP=yes" make_build_args="USE_UPNP=yes"
makedepends="zlib-devel boost-devel libressl-devel miniupnpc-devel makedepends="zlib-devel boost-devel libressl-devel miniupnpc-devel
libatomic-devel" libatomic-devel"
short_desc="I2P Daemon - a full-featured C++ implementation of I2P client" short_desc="Full-featured C++ implementation of I2P client"
maintainer="Obosob <obosob@riseup.net>" maintainer="Obosob <obosob@riseup.net>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="http://i2pd.website/" homepage="https://i2pd.website/"
changelog="https://raw.githubusercontent.com/PurpleI2P/i2pd/openssl/ChangeLog"
distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz" distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"
checksum=809b37100f0f176432b01ab6edee96dc62b0f65d5bf7531e008a87117e742566 checksum=80486b51abbf082ca427c95a298f037a28504eb3c6c788a700273de34ae1bd6b
system_accounts="_i2pd"
disable_parallel_build=true disable_parallel_build=true
make_dirs="/var/lib/i2pd 0755 _i2pd _i2pd" conf_files="
/etc/i2pd/i2pd.conf
/etc/i2pd/tunnels.conf"
system_accounts="_i2pd"
_i2pd_homedir="/var/lib/i2pd"
make_dirs="/var/lib/i2pd 0700 _i2pd _i2pd"
case "${XBPS_TARGET_MACHINE}" in case "${XBPS_TARGET_MACHINE}" in
aarch64*|armv*|mips*) make_build_args+=" USE_AESNI=no USE_AVX=no" ;; aarch64*|armv*|mips*) make_build_args+=" USE_AESNI=no USE_AVX=no" ;;
esac esac
pre_install() {
# Log errors to syslog
vsed -e "s/^# log = .*/log = syslog/" \
-e "s/^# loglevel = .*/loglevel = error/" \
-i contrib/i2pd.conf
}
do_install() { do_install() {
vbin i2pd vbin i2pd
vman debian/i2pd.1 vman debian/i2pd.1
vsconf contrib/i2pd.conf vinstall contrib/i2pd.conf 644 etc/i2pd
vsconf contrib/tunnels.conf vinstall contrib/tunnels.conf 644 etc/i2pd
vsconf contrib/subscriptions.txt
vlicense LICENSE vlicense LICENSE
}
post_install() {
vsv i2pd vsv i2pd
# Family, reseed and router certificates
vmkdir usr/share/i2pd
vcopy contrib/certificates usr/share/i2pd
vmkdir var/lib/i2pd
ln -s /usr/share/i2pd/certificates ${DESTDIR}/var/lib/i2pd/certificates
} }