From 54b501a54925ca24c0d842bdc897067c3dc2b796 Mon Sep 17 00:00:00 2001 From: sev Date: Thu, 8 Dec 2022 00:48:28 -0600 Subject: [PATCH 1/1] testing/web2ldap: fix openrc, add host/port vars --- testing/web2ldap/APKBUILD | 4 ++-- testing/web2ldap/web2ldap.initd | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/testing/web2ldap/APKBUILD b/testing/web2ldap/APKBUILD index 5623633..d13a89e 100644 --- a/testing/web2ldap/APKBUILD +++ b/testing/web2ldap/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: sev pkgname=web2ldap pkgver=1.8.1 -pkgrel=0 +pkgrel=1 pkgdesc="Full-featured LDAP client running as web application" url="https://web2ldap.de" arch="noarch" @@ -34,5 +34,5 @@ package() { sha512sums=" c752266cc94aaea4d13c98ccf434821e53662348a265abd3a636b11956cbaad7dbc6dc9fb7bb36c4bc6168622a54b9d39920ea0b7c27f67340ca03fabe445c71 web2ldap-1.8.1.tar.gz -24e2ae01ff17afbeb8b7ef3b4ae80ba0d982a150da3d3606e9c642c3fcd01d759057851813f46949b2464f8b5d653b674fb67d8196269a96244bc3c95bf0558f web2ldap.initd +e1c43bf3b6aeb96c327bd6c1b3ff2ef2f834b6fe58ced31e2b02d3a6006ded5da665faa27f4971df9ef5e8305b2f0a2ccbb626191f08085eef77e88caac5d4d1 web2ldap.initd " diff --git a/testing/web2ldap/web2ldap.initd b/testing/web2ldap/web2ldap.initd index 44264e5..8030785 100644 --- a/testing/web2ldap/web2ldap.initd +++ b/testing/web2ldap/web2ldap.initd @@ -3,11 +3,13 @@ name="web2ldap" description="Full-featured LDAP client running as web application" -: ${command_user:="nobody:nogroup"} +: ${host:="127.0.0.1"} +: ${port:="1760"} command="/usr/bin/python3" -command_args="-m web2ldap.wsgi $command_args" +command_args="-m web2ldap $host $port $command_args" command_background=true +: ${command_user:="nobody:nogroup"} pidfile="/run/web2ldap.pid" depends() { -- 2.46.2