Re: git: 43f214641272 - main - security/py-django-auth-kerberos: Add new port

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Tue, 19 Oct 2021 10:42:15 UTC
Hey Dan,

On 18/10/2021 20:07, Dan Langille wrote:
> The branch main has been updated by dvl:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=43f214641272504d6f81c2a5f234ea6916daf104
>
> commit 43f214641272504d6f81c2a5f234ea6916daf104
> Author:     Dan Langille <dvl@FreeBSD.org>
> AuthorDate: 2021-10-18 18:06:44 +0000
> Commit:     Dan Langille <dvl@FreeBSD.org>
> CommitDate: 2021-10-18 18:06:44 +0000
>
>      security/py-django-auth-kerberos: Add new port
>      
>      Kerberos authentication backend for Django
[snip]
> diff --git a/security/py-django-auth-kerberos/pkg-descr b/security/py-django-auth-kerberos/pkg-descr
> new file mode 100644
> index 000000000000..c40b8cfece50
> --- /dev/null
> +++ b/security/py-django-auth-kerberos/pkg-descr
> @@ -0,0 +1,23 @@
> +Make sure following settings are configured in settings.py:
> +
> +INSTALLED_APPS = (
> +    ...
> +    'django_auth_kerberos',
> +    ...
> +)
> +
> +# kerberos realm and service
> +KRB5_REALM = 'EXAMPLE.COM'
> +KRB5_SERVICE = '[hostname]/EXAMPLE.COM'
> +
> +# Enabled KDC verification defending against rogue KDC responses
> +# by validating the ticket against the local keytab.
> +KRB5_VERIFY_KDC = True
> +
> +# Enable case-sensitive matching between Kerberos and database user names
> +KRB5_USERNAME_MATCH_IEXACT = True
> +
> +# redirect url after login
> +LOGIN_REDIRECT_URL = '/'
> +
> +WWW: https://github.com/02strich/django-auth-kerberos

Perhaps this could go to pkg-message instead?

Cheers,

Mateusz