diff --git a/srcpkgs/xq-api/files/xq-api/conf b/srcpkgs/xq-api/files/xq-api/conf index 4d6059d70cb..869fe0ace99 100644 --- a/srcpkgs/xq-api/files/xq-api/conf +++ b/srcpkgs/xq-api/files/xq-api/conf @@ -1,6 +1,7 @@ NET=tcp ADDR=127.0.0.1:8197 MAX_QUERIES=16 +LOG_V= LOG_ACCESS=f LOG_TO_STDERR=t LOG_DIR= diff --git a/srcpkgs/xq-api/files/xq-api/run b/srcpkgs/xq-api/files/xq-api/run index 6d77e4d1fe4..d998291d039 100755 --- a/srcpkgs/xq-api/files/xq-api/run +++ b/srcpkgs/xq-api/files/xq-api/run @@ -7,6 +7,7 @@ exec chpst -u _xqapi:_xqapi xq-api \ ${NET:+-net="$NET"} \ ${ADDR:+-listen="$ADDR"} \ ${MAX_QUERIES:+-max-queries="$MAX_QUERIES"} \ + ${LOG_V:+-v="$LOG_V"} \ ${LOG_ACCESS:+-log-access="$LOG_ACCESS"} \ ${LOG_TO_STDERR:+-logtostderr="$LOG_TO_STDERR"} \ ${LOG_DIR:+-log_dir="$LOG_DIR"} \ diff --git a/srcpkgs/xq-api/template b/srcpkgs/xq-api/template index 5d3c3ea81e8..24c041f3ddb 100644 --- a/srcpkgs/xq-api/template +++ b/srcpkgs/xq-api/template @@ -1,6 +1,6 @@ # Template file for 'xq-api' pkgname=xq-api -version=0.1.1 +version=0.2.0 revision=1 build_style=go go_import_path=go.spiff.io/xq-api @@ -11,7 +11,7 @@ maintainer="Noel Cower " license="BSD-2-Clause" homepage="https://github.com/nilium/xq-api" distfiles="https://github.com/nilium/xq-api/archive/v${version}.tar.gz" -checksum=a2409ff28abc19e2968624105d914c38134a86df29252a7b23b33a531836dadd +checksum=34d88a8ee3448aa066d79479e0f35736cf5e63d20a0358ea7fb25860b40991c7 system_accounts="_xqapi" _xqapi_homedir="/var/lib/xq-api"