From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C4E7213835A for ; Tue, 16 Jun 2020 16:44:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2B10E09C7; Tue, 16 Jun 2020 16:44:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2960E09BC for ; Tue, 16 Jun 2020 16:44:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A66D34EFC9 for ; Tue, 16 Jun 2020 16:44:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23EAD288 for ; Tue, 16 Jun 2020 16:44:42 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1592325878.e90b61a4d80b7c47e0cab2ce4cc44a15c394746b.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pambase/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/pambase/Manifest sys-auth/pambase/pambase-20200616.ebuild X-VCS-Directories: sys-auth/pambase/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: e90b61a4d80b7c47e0cab2ce4cc44a15c394746b X-VCS-Branch: master Date: Tue, 16 Jun 2020 16:44:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fc03add6-16de-4b14-b99c-c4370dc87d21 X-Archives-Hash: f60f71981daaa87e6ee602cb67931d7e commit: e90b61a4d80b7c47e0cab2ce4cc44a15c394746b Author: Mikle Kolyada gentoo org> AuthorDate: Tue Jun 16 16:42:14 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Tue Jun 16 16:44:38 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90b61a4 sys-auth/pambase: Version bump (v20200616) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Mikle Kolyada gentoo.org> sys-auth/pambase/Manifest | 1 + sys-auth/pambase/pambase-20200616.ebuild | 81 ++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest index 8e35b3e7c0d..608ceec3c30 100644 --- a/sys-auth/pambase/Manifest +++ b/sys-auth/pambase/Manifest @@ -1,3 +1,4 @@ DIST pambase-20190402.tar.gz 3679 BLAKE2B 992d7bf6b6f74ef22a8808b57dd6faffb6c351eaa8be4172f320031334ca6def698b2cb17005b58ac3c18e89a94012e279b0f27cc2bea5040ae8ddc3233cba2d SHA512 565d64653e9898b9bd231c1461ec0988a19dbc9500ff1417a7197ac75804abeb13ca543121ae4afb29017c1e99073a16137e5c876f43dcc01e2641218760f4ae DIST pambase-20191128.tar.gz 3472 BLAKE2B 1028239c14eed3d06239f98667ffe136dc3c9cdb9c74d8f49e0c819d9ea308285cdd234538418357030dd39693040592b00f193cac4e37e15b9f277386096860 SHA512 09100457cacbe309eac8545818de3e4bff4f0c4a29b4c1758217dd80206c664f497570ef67207866aaf70be60ec963677b385adaf2c4a0cd931a50404098051b DIST pambase-20200304.tar.gz 3466 BLAKE2B e4d406460d435403ed7a46d517f9006cacc54a94f5019a573c81b331731c88679ed6d388354b5946894bdfada556b4c73735c3f4de88fc7678cd831c68ab46c3 SHA512 c2a7f3fd143637fbdf5c0a3c58ba5a3c23c5e8adb1f057d02b4b9d64660435fc529031a0f710a9e5fc7091710f78dcb2f3e1ff48f033fb491ddd0399ef05b189 +DIST pambase-20200616.tar.gz 3354 BLAKE2B 740669f1dc3f26e90d4edb03810d15e6470ec18bc1607896d4310bf53edbfda15808aedce149240ba648bff0160d2c587c3ac3c063d2cb8be8fc48de24e209b5 SHA512 61e43e67a38a7ae5dd8457f1a5df9b6e74840cd3ae57e9f8d5b454ed2b46934a9a91e7f76d11285064fb2e3a738b4f28ff219d1db6a7365c0613aa5ec2286c70 diff --git a/sys-auth/pambase/pambase-20200616.ebuild b/sys-auth/pambase/pambase-20200616.ebuild new file mode 100644 index 00000000000..5f9cdff6bc2 --- /dev/null +++ b/sys-auth/pambase/pambase-20200616.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PAM base configuration files" +HOMEPAGE="https://github.com/gentoo/pambase" +SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="caps consolekit debug elogind minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc securetty selinux +sha512 systemd" + +RESTRICT="binchecks" + +REQUIRED_USE="?? ( consolekit elogind systemd )" + +MIN_PAM_REQ=1.4.0 + +RDEPEND=" + >=sys-libs/pam-${MIN_PAM_REQ} + consolekit? ( sys-auth/consolekit[pam] ) + elogind? ( sys-auth/elogind[pam] ) + mktemp? ( sys-auth/pam_mktemp ) + pam_krb5? ( + >=sys-libs/pam-${MIN_PAM_REQ} + sys-auth/pam_krb5 + ) + caps? ( sys-libs/libcap[pam] ) + pam_ssh? ( sys-auth/pam_ssh ) + passwdqc? ( sys-auth/passwdqc ) + selinux? ( sys-libs/pam[selinux] ) + sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} ) + systemd? ( sys-apps/systemd[pam] ) +" +DEPEND=" + app-arch/xz-utils + app-portage/portage-utils +" + +S="${WORKDIR}/${PN}-${P}" + +src_compile() { + local linux_pam_version + if has_version sys-libs/pam; then + local ver_str=$(qatom $(best_version sys-libs/pam) | cut -d ' ' -f 3) + linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ }) + fi + + use_var() { + local varname=$(echo "$1" | tr '[:lower:]' '[:upper:]') + local usename=${2-$(echo "$1" | tr '[:upper:]' '[:lower:]')} + local varvalue=$(usex ${usename}) + echo "${varname}=${varvalue}" + } + + emake \ + GIT=true \ + $(use_var debug) \ + $(use_var LIBCAP caps) \ + $(use_var passwdqc) \ + $(use_var consolekit) \ + $(use_var elogind) \ + $(use_var systemd) \ + $(use_var selinux) \ + $(use_var nullok) \ + $(use_var mktemp) \ + $(use_var pam_ssh) \ + $(use_var securetty) \ + $(use_var sha512) \ + $(use_var KRB5 pam_krb5) \ + $(use_var minimal) \ + LINUX_PAM_VERSION=${linux_pam_version} +} + +src_test() { :; } + +src_install() { + emake GIT=true DESTDIR="${ED}" install +}