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

From: Dan Langille <dan_at_langille.org>
Date: Tue, 19 Oct 2021 13:38:58 UTC
Mateusz Piotrowski wrote on 10/19/21 6:42 AM:
> 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?

That is a fine idea. Committed via:

https://cgit.freebsd.org/ports/commit/?id=83386c08b80f770775f9da1679a05a297b829d7f

Thank you.

-- 
Dan Langille
dan@langille.org