public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/3] keyutils: New package
@ 2023-02-21 14:45 Stefan Schantl
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Schantl @ 2023-02-21 14:45 UTC (permalink / raw)
  To: development

[-- 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-21 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 14:45 [PATCH 1/3] keyutils: New package Stefan Schantl
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox