From nobody Tue Oct 19 13:38:58 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 4A4321808D50; Tue, 19 Oct 2021 13:39:07 +0000 (UTC) (envelope-from dan@langille.org) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HYZbH0t4Mz4m3Y; Tue, 19 Oct 2021 13:39:07 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 0A6763201C6A; Tue, 19 Oct 2021 09:38:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 19 Oct 2021 09:39:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=N 05qV2bDJcU445pyWGs7bc8MWTF9K1fOhPzBEAals8c=; b=lgfw80JCYZl6NSDgz OfiIexOa/SAVjs2P6ClhUrV7TMqnqhbjWsra38G3b44JjAWUo+2NQuGAmCvJGg+a Zix/2BzPE6gDqrL2CsDmu40qXTKA3sIs0ibrxYtkHi1SOb8aClG92zcfdSX3mPLT /mBOX1lsA9JsgbPnKc9vOthGkRMvyRYCkE3e0Ie4S3qhIQqipdl1jV11Nr3aAUG/ DioSgQc8kC07YdaJLj1xSCnNg6wq3W/EWEMFdlSptmpJTsn0eYNkSjFexazcXYi+ 9rO3w+sZeiwM6tAFCHArBhZe3bq2VtSCfUNy0k1LGPH+IjDnOj9E+lAy8hHXrbce sYqdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=N05qV2bDJcU445pyWGs7bc8MWTF9K1fOhPzBEAals 8c=; b=elUgAq8A2HRJzIVRpLwtQhTBJR/g/bmEI6S86Liu/x879Q3GOEmjYyc9q /Lo+cz6/UVawGD2fL1qSfGuiJp2hF9FkPJ6kH9zKBveozzgWysR29zVcn6/HuWo5 MfM1iCd13JB+xpc7+oswis9j/z2QgMwoFXcM4J8R49NWMkdrcobA37CwrQVn2Bm6 BxqHvHdpfygbaYc+wF98C6ylxFJqso99a0SC4Qhd948rhlRxeIA/8Pfj+s3tLu+T M8Z5pVGNi3bRsyGm+NMtNUO7fso0bKFHGR4CX1NonICyU7MQAndoIv6qrn+V3/0L AxhEMz/WTnA3nLIXzdi94wFtsIyLg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddvvddgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpeffrghnucfnrghnghhilhhlvgcuoegurghnsehlrghnghhi lhhlvgdrohhrgheqnecuggftrfgrthhtvghrnhepfeehgeegleeuveeluedvkefggefhgf dukedugfehvedtfeehvdfgtdeijefhffelnecuffhomhgrihhnpehfrhgvvggsshgurdho rhhgpdhgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegurghnsehlrghnghhilhhlvgdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 19 Oct 2021 09:38:59 -0400 (EDT) Subject: Re: git: 43f214641272 - main - security/py-django-auth-kerberos: Add new port To: Mateusz Piotrowski <0mp@FreeBSD.org> Cc: 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: Dan Langille Message-ID: Date: Tue, 19 Oct 2021 09:38:58 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.49 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 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HYZbH0t4Mz4m3Y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N 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 >> 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? That is a fine idea. Committed via: https://cgit.freebsd.org/ports/commit/?id=83386c08b80f770775f9da1679a05a297b829d7f Thank you. -- Dan Langille dan@langille.org