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 D6DF71382C5 for ; Tue, 20 Apr 2021 07:08:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30280E0849; Tue, 20 Apr 2021 07:08:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 12D7CE0849 for ; Tue, 20 Apr 2021 07:08:38 +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 A3E9B335C02 for ; Tue, 20 Apr 2021 07:08:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58A0559C for ; Tue, 20 Apr 2021 07:08:36 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1618902465.6a212ea835e3bc70ab1e9f4f4c52aa8c4d96924a.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/fscrypt/, sys-fs/fscrypt/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-fs/fscrypt/files/0001-Makefile-Optionally-avoid-installation-of-Ubuntu-spe.patch sys-fs/fscrypt/fscrypt-0.3.0-r1.ebuild X-VCS-Directories: sys-fs/fscrypt/ sys-fs/fscrypt/files/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 6a212ea835e3bc70ab1e9f4f4c52aa8c4d96924a X-VCS-Branch: dev Date: Tue, 20 Apr 2021 07:08:36 +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: 6352957f-c968-42b6-839a-ea9aee93f4dc X-Archives-Hash: f372af18151c420c7069fe5d363beb22 commit: 6a212ea835e3bc70ab1e9f4f4c52aa8c4d96924a Author: Florian Schmaus geekplace eu> AuthorDate: Tue Apr 20 07:07:45 2021 +0000 Commit: Florian Schmaus geekplace eu> CommitDate: Tue Apr 20 07:07:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a212ea8 sys-fs/fscrypt: sync "no Ubuntu specific files" patch Sync "no Ubuntu specific files" patch with pull request that upstreams it, i.e. https://github.com/google/fscrypt/pull/284. Signed-off-by: Florian Schmaus geekplace.eu> ...tionally-avoid-installation-of-Ubuntu-spe.patch | 22 ++++++++++++---------- sys-fs/fscrypt/fscrypt-0.3.0-r1.ebuild | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/sys-fs/fscrypt/files/0001-Makefile-Optionally-avoid-installation-of-Ubuntu-spe.patch b/sys-fs/fscrypt/files/0001-Makefile-Optionally-avoid-installation-of-Ubuntu-spe.patch index ba2402209..f1732df62 100644 --- a/sys-fs/fscrypt/files/0001-Makefile-Optionally-avoid-installation-of-Ubuntu-spe.patch +++ b/sys-fs/fscrypt/files/0001-Makefile-Optionally-avoid-installation-of-Ubuntu-spe.patch @@ -1,4 +1,4 @@ -From 4aeb699562b0c50ac0061dcbbed7248f5f5be4f9 Mon Sep 17 00:00:00 2001 +From 3e08e9d634ae6fe259ba35139ef0a7bb4b7e60d8 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 17 Apr 2021 18:19:59 +0200 Subject: [PATCH] Makefile: Optionally avoid installation of Ubuntu-specific @@ -11,20 +11,22 @@ of Ubuntu-specific PAM files. 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile -index 6e79421356de..447ccf193745 100644 +index 6e79421356de..307eeedc5153 100644 --- a/Makefile +++ b/Makefile -@@ -173,14 +173,17 @@ PAM_MODULE_DIR := $(PREFIX)/lib/security - PAM_INSTALL_PATH := $(PAM_MODULE_DIR)/$(PAM_NAME).so - PAM_CONFIG := $(BIN)/config - PAM_CONFIG_DIR := $(PREFIX)/share/pam-configs -+INSTALL_UBUNTU_PAM_CONFIG := true - - install-pam: $(PAM_MODULE) +@@ -28,6 +28,7 @@ PAM_NAME := pam_$(NAME) + # BINDIR: Where to install the fscrypt binary. Default: $(PREFIX)/bin + # PAM_MODULE_DIR: Where to install pam_fscrypt.so. Default: $(PREFIX)/lib/security + # PAM_CONFIG_DIR: Where to install Ubuntu PAM config. Default: $(PREFIX)/share/pam-configs ++# If the empty string, then the Ubuntu PAM config will not be installed. + # + # MOUNT: The filesystem where our tests are run. Default: /mnt/fscrypt_mount + # Ex: make test-setup MOUNT=/foo/bar +@@ -178,9 +179,11 @@ install-pam: $(PAM_MODULE) install -d $(DESTDIR)$(PAM_MODULE_DIR) install $(PAM_MODULE) $(DESTDIR)$(PAM_MODULE_DIR) -+ifeq ($(INSTALL_UBUNTU_PAM_CONFIG), true) ++ifdef $(PAM_CONFIG_DIR) m4 --define=PAM_INSTALL_PATH=$(PAM_INSTALL_PATH) < $(PAM_NAME)/config > $(PAM_CONFIG) install -d $(DESTDIR)$(PAM_CONFIG_DIR) install $(PAM_CONFIG) $(DESTDIR)$(PAM_CONFIG_DIR)/$(NAME) diff --git a/sys-fs/fscrypt/fscrypt-0.3.0-r1.ebuild b/sys-fs/fscrypt/fscrypt-0.3.0-r1.ebuild index f19412826..df4d50515 100644 --- a/sys-fs/fscrypt/fscrypt-0.3.0-r1.ebuild +++ b/sys-fs/fscrypt/fscrypt-0.3.0-r1.ebuild @@ -90,7 +90,7 @@ src_install() { DESTDIR="${ED}" \ PREFIX="/usr" \ PAM_MODULE_DIR="$(getpam_mod_dir)" \ - INSTALL_UBUNTU_PAM_CONFIG="false" \ + PAM_CONFIG_DIR= \ install einstalldocs