[arch-commits] Commit in fscrypt/repos (3 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Tue Oct 19 18:58:12 UTC 2021
Date: Tuesday, October 19, 2021 @ 18:58:12
Author: anatolik
Revision: 1030993
archrelease: copy trunk to community-testing-x86_64
Added:
fscrypt/repos/community-testing-x86_64/
fscrypt/repos/community-testing-x86_64/PKGBUILD
(from rev 1030992, fscrypt/trunk/PKGBUILD)
fscrypt/repos/community-testing-x86_64/pam_config
(from rev 1030992, fscrypt/trunk/pam_config)
------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
pam_config | 2 ++
2 files changed, 35 insertions(+)
Copied: fscrypt/repos/community-testing-x86_64/PKGBUILD (from rev 1030992, fscrypt/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-10-19 18:58:12 UTC (rev 1030993)
@@ -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.1
+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=('9b8ca50363f1fc95ac6f69f46255e77ca7755830f6f4456e67c4b4731c08d7ae0c1faa33c86135a87e7e28cd87f769d59751a330e7636ac7d961bd37421c4744'
+ '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 1030992, fscrypt/trunk/pam_config)
===================================================================
--- community-testing-x86_64/pam_config (rev 0)
+++ community-testing-x86_64/pam_config 2021-10-19 18:58:12 UTC (rev 1030993)
@@ -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