From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 1/3] keyutils: New package
Date: Tue, 21 Feb 2023 15:45:50 +0100 [thread overview]
Message-ID: <20230221144552.857087-1-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2276 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
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 <info(a)ipfire.org> #
+###############################################################################
+
+name = keyutils
+version = 1.6.1
+release = 1
+
+groups = System/Tools
+url = http://people.redhat.com/~dhowells/keyutils/
+license = GPLv2+ and LGPLv2+
+summary = 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 = http://people.redhat.com/~dhowells/keyutils/
+sources = %{thisapp}.tar.bz2
+
+build
+ requires
+ kernel-headers
+ end
+
+ make_build_targets += \
+ NO_ARLIB=1 \
+ ETCDIR=%{sysconfdir} \
+ LIBDIR=%{libdir} \
+ USRLIBDIR=%{libdir} \
+ BINDIR=%{bindir} \
+ SBINDIR=%{sbindir} \
+ MANDIR=%{mandir} \
+ INCLUDEDIR=%{includedir} \
+ SHAREDIR=%{datadir}/%{name} \
+ NO_GLIBC_KEYERR=1 \
+ CFLAGS="-Wall %{CFLAGS}" \
+ LDFLAGS="%{LDFLAGS}"
+
+ make_install_targets += \
+ NO_ARLIB=1 \
+ ETCDIR=%{sysconfdir} \
+ LIBDIR=%{libdir} \
+ USRLIBDIR=%{libdir} \
+ BINDIR=%{bindir} \
+ SBINDIR=%{sbindir} \
+ MANDIR=%{mandir} \
+ INCLUDEDIR=%{includedir} \
+ SHAREDIR=%{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 += libkeyutils = %{thisver}
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end
--
2.30.2
next reply other threads:[~2023-02-21 14:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 14:45 Stefan Schantl [this message]
2023-02-21 14:45 ` [PATCH 2/3] nfs-utils: Update to 2.6.2 Stefan Schantl
2023-02-21 14:45 ` [PATCH 3/3] libnfsidmap: Drop package Stefan Schantl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230221144552.857087-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox