summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorMichel Alexandre Salim <michel@michel-slm.name>2021-06-22 17:40:33 -0700
committerMichel Alexandre Salim <michel@michel-slm.name>2021-06-22 17:40:33 -0700
commit46603cf2ec20c5d1b7fa09b3073014eafeb959d9 (patch)
treee9d3fcd21d9e7b16a7a5f1623dd60e20ee060cd1 /admin
parent8cf1cad615948d79f9ffa7f12f1a193081863472 (diff)
downloadspecs-46603cf2ec20c5d1b7fa09b3073014eafeb959d9.tar.gz
specs-46603cf2ec20c5d1b7fa09b3073014eafeb959d9.tar.xz
specs-46603cf2ec20c5d1b7fa09b3073014eafeb959d9.zip
- pam-cryptsetup
Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
Diffstat (limited to 'admin')
-rw-r--r--admin/pam-cryptsetup.spec77
1 files changed, 0 insertions, 77 deletions
diff --git a/admin/pam-cryptsetup.spec b/admin/pam-cryptsetup.spec
deleted file mode 100644
index 3d2750b..0000000
--- a/admin/pam-cryptsetup.spec
+++ /dev/null
@@ -1,77 +0,0 @@
-%global commit 7b42892ea42cd710eab962236b3dd0ac55fbb402
-%global shortcommit 7b42892
-%global snapshot_date 20190823
-%global snapinfo %{snapshot_date}.%{shortcommit}
-
-Name: pam-cryptsetup
-Version: 0.1
-Release: 0.3.%{snapinfo}%{?dist}
-Summary: PAM module for updating LUKS-encrypted volumes
-
-License: ASL 2.0
-URL: https://github.com/google/pam-cryptsetup/
-# git archive --format=tar --prefix=pam-cryptsetup/ -o /tmp/pam-cryptsetup-0.1-$(git rev-parse --short HEAD).tar master
-Source0: %{url}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
-# https://github.com/google/pam-cryptsetup/pull/9
-Patch0: %{name}-0.1-fix-stringop-truncation.patch
-
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gcc
-BuildRequires: libtool
-BuildRequires: cryptsetup-devel
-BuildRequires: device-mapper-devel
-BuildRequires: pam-devel
-BuildRequires: pkgconfig(glib-2.0)
-
-%description
-pam-cryptsetup provides a PAM module that allows LUKS-based disk encryption
-passwords to be kept in sync with account passwords automatically based on
-factors like if the user has decrypted the disk successfully previously.
-
-The project as a whole consists of two parts: a PAM module pam_cryptsetup.so for
-triggering on user authentication, and a helper program pam_cryptsetup_helper to
-perform the actual encryption checks and modifications required.
-
-
-%prep
-%autosetup -n %{name}-%{commit} -p1
-
-
-%build
-./autogen.sh
-%configure
-# Workaround libtool reordering -Wl,--as-needed after all the libraries.
-sed -i 's|CC="\(.*g..\)"|CC="\1 -Wl,--as-needed"|' libtool
-%make_build
-
-
-%install
-%make_install
-rm $RPM_BUILD_ROOT%{_libdir}/security/pam_cryptsetup.la
-
-
-%check
-# Only works if run as root outside of mock
-# make check
-
-
-%files
-%license LICENSE
-%doc CONTRIBUTING.md README.md
-%{_libdir}/security/pam_cryptsetup.so
-%{_libexecdir}/pam-cryptsetup
-
-
-
-%changelog
-* Thu Mar 26 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.1-0.3.20190823.7b42892
-- Add missing BR on gcc
-- Spec cleanup
-- Make source downloadable
-
-* Tue Mar 3 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.1-0.2.20190823.7b42892
-- Update patch to use #pragma to suppress stringop-truncation
-
-* Fri Feb 14 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.1-0.1.20190823.7b42892
-- Initial package