diff --git a/www-apps/ktra/files/ktra.confd b/www-apps/ktra/files/ktra.confd index 9484006..16bcc64 100644 --- a/www-apps/ktra/files/ktra.confd +++ b/www-apps/ktra/files/ktra.confd @@ -1,14 +1,14 @@ -# Krta configuration -KTRA_CONF="/etc/krta/app.ini" +# Ktra configuration +KTRA_CONF="/etc/ktra.toml" -# Krta user -KTRA_USER="git" +# Ktra user +KTRA_USER="ktra" -# Krta group -KTRA_GROUP="git" +# Ktra group +KTRA_GROUP="ktra" -# Krta working directory -KTRA_WORK_DIR="/var/lib/krta" +# Ktra working directory +KTRA_WORK_DIR="/var/lib/ktra" -# Krta custom directory +# Ktra custom directory KTRA_CUSTOM="${KTRA_WORK_DIR}/custom" diff --git a/www-apps/ktra/files/ktra.initd b/www-apps/ktra/files/ktra.initd index 984b084..422108c 100644 --- a/www-apps/ktra/files/ktra.initd +++ b/www-apps/ktra/files/ktra.initd @@ -5,8 +5,8 @@ description="Ktra, your little cargo registry." : ${KTRA_CONF:=/etc/ktra.toml} -: ${KTRA_USER:=git} -: ${KTRA_GROUP:=git} +: ${KTRA_USER:=ktra} +: ${KTRA_GROUP:=ktra} : ${KTRA_WORK_DIR:=/var/lib/ktra} : ${KTRA_CUSTOM:=${KTRA_WORK_DIR}/custom} diff --git a/www-apps/ktra/files/ktra.toml b/www-apps/ktra/files/ktra.toml index 01d0120..17c7bea 100644 --- a/www-apps/ktra/files/ktra.toml +++ b/www-apps/ktra/files/ktra.toml @@ -1,3 +1,4 @@ +# config-options: https://book.ktra.dev/configurations.html [index_config] remote_url = "https://your-git-service.tld/YOUR_USERNAME/YOUR_INDEX.git" https_username = "YOUR_USERNAME" diff --git a/www-apps/ktra/ktra-0.5.1.ebuild b/www-apps/ktra/ktra-0.5.1-r1.ebuild similarity index 98% rename from www-apps/ktra/ktra-0.5.1.ebuild rename to www-apps/ktra/ktra-0.5.1-r1.ebuild index 80752b4..37a906d 100644 --- a/www-apps/ktra/ktra-0.5.1.ebuild +++ b/www-apps/ktra/ktra-0.5.1-r1.ebuild @@ -314,7 +314,11 @@ REQUIRED_USE="^^ ( mongo redis sled )" COMMON_DEPEND=" acct? ( acct-group/ktra - acct-user/ktra )" + acct-user/ktra ) + mongo? ( dev-db/mongodb ) + redis? ( dev-db/redis ) +