From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 1/3] keyutils: New package Date: Tue, 21 Feb 2023 15:45:50 +0100 Message-ID: <20230221144552.857087-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5544923370676245612==" List-Id: --===============5544923370676245612== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- keyutils/keyutils.nm | 76 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 keyutils/keyutils.nm diff --git a/keyutils/keyutils.nm b/keyutils/keyutils.nm new file mode 100644 index 000000000..2fec320d1 --- /dev/null +++ b/keyutils/keyutils.nm @@ -0,0 +1,76 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D keyutils +version =3D 1.6.1 +release =3D 1 + +groups =3D System/Tools +url =3D http://people.redhat.com/~dhowells/keyutils/ +license =3D GPLv2+ and LGPLv2+ +summary =3D Linux Key Management Utilities + +description + Utilities to control the kernel key management facility and to provide + a mechanism by which the kernel call back to user space to get a key + instantiated. +end + +source_dl =3D http://people.redhat.com/~dhowells/keyutils/ +sources =3D %{thisapp}.tar.bz2 + +build + requires + kernel-headers + end + + make_build_targets +=3D \ + NO_ARLIB=3D1 \ + ETCDIR=3D%{sysconfdir} \ + LIBDIR=3D%{libdir} \ + USRLIBDIR=3D%{libdir} \ + BINDIR=3D%{bindir} \ + SBINDIR=3D%{sbindir} \ + MANDIR=3D%{mandir} \ + INCLUDEDIR=3D%{includedir} \ + SHAREDIR=3D%{datadir}/%{name} \ + NO_GLIBC_KEYERR=3D1 \ + CFLAGS=3D"-Wall %{CFLAGS}" \ + LDFLAGS=3D"%{LDFLAGS}" + + make_install_targets +=3D \ + NO_ARLIB=3D1 \ + ETCDIR=3D%{sysconfdir} \ + LIBDIR=3D%{libdir} \ + USRLIBDIR=3D%{libdir} \ + BINDIR=3D%{bindir} \ + SBINDIR=3D%{sbindir} \ + MANDIR=3D%{mandir} \ + INCLUDEDIR=3D%{includedir} \ + SHAREDIR=3D%{datadir}/%{name} + + install_cmds + # Fix broken symlink. + ln -svf libkeyutils.so.1 %{BUILDROOT}%{libdir}/libkeyutils.so + end +end + +packages + package %{name} + + package libkeyutils + template LIBS + end + + package libkeyutils-devel + template DEVEL + + requires +=3D libkeyutils =3D %{thisver} + end + + package %{name}-debuginfo + template DEBUGINFO + end +end --=20 2.30.2 --===============5544923370676245612==--