[arch-commits] Commit in fscrypt/repos (3 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Wed Feb 16 16:50:19 UTC 2022
Date: Wednesday, February 16, 2022 @ 16:50:19
Author: anatolik
Revision: 1133485
archrelease: copy trunk to community-testing-x86_64
Added:
fscrypt/repos/community-testing-x86_64/
fscrypt/repos/community-testing-x86_64/PKGBUILD
(from rev 1133484, fscrypt/trunk/PKGBUILD)
fscrypt/repos/community-testing-x86_64/pam_config
(from rev 1133484, fscrypt/trunk/pam_config)
------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
pam_config | 2 ++
2 files changed, 35 insertions(+)
Copied: fscrypt/repos/community-testing-x86_64/PKGBUILD (from rev 1133484, fscrypt/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-02-16 16:50:19 UTC (rev 1133485)
@@ -0,0 +1,33 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Maintainer: Eric Biggers <ebiggers3 at gmail dot com>
+
+pkgname=fscrypt
+pkgver=0.3.2
+pkgrel=1
+pkgdesc='A tool for managing Linux filesystem encryption'
+arch=('x86_64')
+url='https://github.com/google/fscrypt'
+license=('Apache')
+makedepends=('go')
+depends=('pam')
+source=("fscrypt-$pkgver.zip::https://github.com/google/fscrypt/archive/v$pkgver.zip"
+ "pam_config")
+sha512sums=('0c2414b55e22b314aa771c3f205c45c2c7f45f51fed48d10006f60fb3371383d91d4c8a57f159bedfd4cf20e86ea4874531df511bafda531f5b9a25424768ecd'
+ '56f443cd2fbed9c164693c800cd8dc08bb35b88bb9c912fb35eb43cc6c6bc3b966d22d9810f43580d12b9faa8d753419a06336f08c47a0e602c48a103a705299')
+
+build() {
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+ cd "fscrypt-$pkgver"
+ BUILDDATE="`date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}"`" make
+}
+
+package() {
+ cd "fscrypt-$pkgver"
+ make PREFIX="${pkgdir}/usr" install
+ install -Dm644 ../pam_config "${pkgdir}/etc/pam.d/fscrypt"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/fscrypt/" LICENSE
+
+ # Remove Ubuntu-specific PAM file
+ rm -r "$pkgdir"/usr/share/pam-configs/
+}
Copied: fscrypt/repos/community-testing-x86_64/pam_config (from rev 1133484, fscrypt/trunk/pam_config)
===================================================================
--- community-testing-x86_64/pam_config (rev 0)
+++ community-testing-x86_64/pam_config 2022-02-16 16:50:19 UTC (rev 1133485)
@@ -0,0 +1,2 @@
+# Allow fscrypt to check your login passphrase when you create a login protector
+auth required pam_unix.so
More information about the arch-commits
mailing list