# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="nginx-auth-ldap"
MY_COMMIT="241200eac8e4acae74d353291bd27f79e5ca3dc4"
NGINX_MOD_S="${WORKDIR}/${MY_PN}-${MY_COMMIT}"

inherit nginx-module

DESCRIPTION="LDAP authentication module for NGINX"
HOMEPAGE="https://github.com/kvspb/nginx-auth-ldap"
SRC_URI="
	https://github.com/kvspb/nginx-auth-ldap/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz
"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="net-nds/openldap"
RDEPEND="${DEPEND}"