i2pd: add vlogger

This commit is contained in:
Frank Steinborn 2022-12-06 11:09:17 +01:00 committed by classabbyamp
parent 393e635865
commit ea87af77f6
2 changed files with 2 additions and 8 deletions

View File

@ -0,0 +1 @@
/usr/bin/vlogger

View File

@ -1,7 +1,7 @@
# Template file for 'i2pd' # Template file for 'i2pd'
pkgname=i2pd pkgname=i2pd
version=2.44.0 version=2.44.0
revision=1 revision=2
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 openssl-devel miniupnpc-devel makedepends="zlib-devel boost-devel openssl-devel miniupnpc-devel
@ -26,13 +26,6 @@ case "${XBPS_TARGET_MACHINE}" in
*) make_build_args+=" USE_AESNI=no" ;; *) make_build_args+=" USE_AESNI=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