Accepting request 1078483 from home:msmeissn

add for clevis

OBS-URL: https://build.opensuse.org/request/show/1078483
OBS-URL: https://build.opensuse.org/package/show/security/luksmeta?expand=0&rev=1
This commit is contained in:
Marcus Meissner 2023-04-12 07:01:55 +00:00 committed by Git OBS Bridge
commit 4bed80e4bb
6 changed files with 114 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libluksmeta0

3
luksmeta-9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ca0c35b551b331ba1444fc9d36e8c48ff8cae53dd4e6155b028e8904edc202a
size 267561

4
luksmeta.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Apr 11 16:02:03 UTC 2023 - Marcus Meissner <meissner@suse.com>
- added luks meta data storage helper library for clevis

82
luksmeta.spec Normal file
View File

@ -0,0 +1,82 @@
#
# spec file for package luksmeta
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_ver 0
Name: luksmeta
Version: 9
Release: 0
Summary: Utility for storing metadata in a LUKSv1 header
License: LGPL-2.1-or-later
URL: https://github.com/latchset/luksmeta
Source0: https://github.com/latchset/luksmeta/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: asciidoc
BuildRequires: gcc
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcryptsetup) >= 1.5.1
%description
The luksmeta utility enables an administrator to store metadata in the gap
between the end of the LUKSv1 header and the start of the encrypted data.
%package -n lib%{name}%{so_ver}
Summary: Simple library for storing metadata in the LUKSv1 header
%description -n lib%{name}%{so_ver}
LUKSMeta is a simple library for storing metadata in the LUKSv1 header.
%package -n lib%{name}-devel
Summary: Development files for lib%{name}
Requires: lib%{name}%{so_ver} = %{version}
Requires: pkgconfig(libcryptsetup) >= 1.5.1
%description -n lib%{name}-devel
The lib%{name}-devel package contains libraries and header files for
developing applications that use lib%{name}.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n lib%{name}%{so_ver} -p /sbin/ldconfig
%postun -n lib%{name}%{so_ver} -p /sbin/ldconfig
%files
%license COPYING
%{_bindir}/*
%{_mandir}/man8/*
%files -n lib%{name}%{so_ver}
%license COPYING
%{_libdir}/*.so.*
%files -n lib%{name}-devel
%license COPYING
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%changelog