From nobody Tue Oct 19 10:42:15 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3AE2517FFB30; Tue, 19 Oct 2021 10:42:23 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HYVgM0BCDz4nk7; Tue, 19 Oct 2021 10:42:23 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wr1-f50.google.com with SMTP id r7so46989631wrc.10; Tue, 19 Oct 2021 03:42:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=rQ4V1ViLPCO3SA3aDNVCLc7LwNZOnyJoMWpC4eGql0I=; b=Yd9goeQBemHfIZGGytYGUSL48rj70tjLkoSsYQyz/zCnRvHGM2sCwg9B0ncUAONtTF 0yhRqsiWAuedvWI5SsXxZ6EnyoRZXp1hWokn9iKMDi3wrEWCwphxzEYbGOXPuN/DvKen ZXIlqswzCoFGCzwO1n/NwCCtmrvCCH7JsrDdyvSpZy+1bGdEEmHBksp6en8tvaGj1Ps/ q175guUfQScvW/3HeQmSZZzvSnm0xcIudXk7L6/GC8MF+bSOarfmOtAROJzkUABRMww+ BvPME+Wvi5IStXT0fLvGMcQHiwYMKHuE0ypCOeQjH6BfQy3Hf/CKYZipa/KETs6ZDw7i RLpw== X-Gm-Message-State: AOAM5336Zf+AXAIvnqjvH3jGWviEyQRT35fIS9H0XepEyldf7X4IMjBo 6cvRHf2N0rPbtniPMeFf+PUJgwp4Tjo= X-Google-Smtp-Source: ABdhPJwatdMSYAdslfimOpsk71UQwsRMaFe156Cqd/6AbajrSO1CyqjDv1/GyU9IGDNUUK+sa98BKw== X-Received: by 2002:a5d:4002:: with SMTP id n2mr5772620wrp.420.1634640136311; Tue, 19 Oct 2021 03:42:16 -0700 (PDT) Received: from [192.168.0.15] (ip5f5bd4ef.dynamic.kabel-deutschland.de. [95.91.212.239]) by smtp.gmail.com with ESMTPSA id p18sm1899118wmq.4.2021.10.19.03.42.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Oct 2021 03:42:15 -0700 (PDT) Message-ID: Date: Tue, 19 Oct 2021 12:42:15 +0200 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: git: 43f214641272 - main - security/py-django-auth-kerberos: Add new port Content-Language: en-US To: Dan Langille , ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org References: <202110181807.19II7Tx1086557@gitrepo.freebsd.org> From: Mateusz Piotrowski <0mp@FreeBSD.org> In-Reply-To: <202110181807.19II7Tx1086557@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HYVgM0BCDz4nk7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N 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 > AuthorDate: 2021-10-18 18:06:44 +0000 > Commit: Dan Langille > 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