From 14fb55a555ec567a710baf91d15caa91ecc60dcd Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 22 Oct 2018 19:49:14 +0100 Subject: [PATCH] keyutils: New package Signed-off-by: Michael Tremer --- config/rootfiles/common/keyutils | 50 +++++++++++++ config/rootfiles/core/125/filelists/keyutils | 1 + lfs/keyutils | 79 ++++++++++++++++++++ make.sh | 1 + 4 files changed, 131 insertions(+) create mode 100644 config/rootfiles/common/keyutils create mode 120000 config/rootfiles/core/125/filelists/keyutils create mode 100644 lfs/keyutils diff --git a/config/rootfiles/common/keyutils b/config/rootfiles/common/keyutils new file mode 100644 index 0000000000..10058de1c4 --- /dev/null +++ b/config/rootfiles/common/keyutils @@ -0,0 +1,50 @@ +bin/keyctl +etc/request-key.conf +etc/request-key.d +#lib/libkeyutils.so +lib/libkeyutils.so.1 +lib/libkeyutils.so.1.7 +sbin/key.dns_resolver +sbin/request-key +#usr/include/keyutils.h +#usr/share/keyutils +#usr/share/keyutils/request-key-debug.sh +#usr/share/man/man1/keyctl.1 +#usr/share/man/man3/find_key_by_type_and_name.3 +#usr/share/man/man3/keyctl.3 +#usr/share/man/man3/keyctl_assume_authority.3 +#usr/share/man/man3/keyctl_chown.3 +#usr/share/man/man3/keyctl_clear.3 +#usr/share/man/man3/keyctl_describe.3 +#usr/share/man/man3/keyctl_describe_alloc.3 +#usr/share/man/man3/keyctl_dh_compute.3 +#usr/share/man/man3/keyctl_dh_compute_alloc.3 +#usr/share/man/man3/keyctl_dh_compute_kdf.3 +#usr/share/man/man3/keyctl_get_keyring_ID.3 +#usr/share/man/man3/keyctl_get_persistent.3 +#usr/share/man/man3/keyctl_get_security.3 +#usr/share/man/man3/keyctl_get_security_alloc.3 +#usr/share/man/man3/keyctl_instantiate.3 +#usr/share/man/man3/keyctl_instantiate_iov.3 +#usr/share/man/man3/keyctl_invalidate.3 +#usr/share/man/man3/keyctl_join_session_keyring.3 +#usr/share/man/man3/keyctl_link.3 +#usr/share/man/man3/keyctl_negate.3 +#usr/share/man/man3/keyctl_read.3 +#usr/share/man/man3/keyctl_read_alloc.3 +#usr/share/man/man3/keyctl_reject.3 +#usr/share/man/man3/keyctl_restrict_keyring.3 +#usr/share/man/man3/keyctl_revoke.3 +#usr/share/man/man3/keyctl_search.3 +#usr/share/man/man3/keyctl_session_to_parent.3 +#usr/share/man/man3/keyctl_set_reqkey_keyring.3 +#usr/share/man/man3/keyctl_set_timeout.3 +#usr/share/man/man3/keyctl_setperm.3 +#usr/share/man/man3/keyctl_unlink.3 +#usr/share/man/man3/keyctl_update.3 +#usr/share/man/man3/recursive_key_scan.3 +#usr/share/man/man3/recursive_session_key_scan.3 +#usr/share/man/man5/request-key.conf.5 +#usr/share/man/man7/keyutils.7 +#usr/share/man/man8/key.dns_resolver.8 +#usr/share/man/man8/request-key.8 diff --git a/config/rootfiles/core/125/filelists/keyutils b/config/rootfiles/core/125/filelists/keyutils new file mode 120000 index 0000000000..4311917e57 --- /dev/null +++ b/config/rootfiles/core/125/filelists/keyutils @@ -0,0 +1 @@ +../../../common/keyutils \ No newline at end of file diff --git a/lfs/keyutils b/lfs/keyutils new file mode 100644 index 0000000000..67b6f44fa6 --- /dev/null +++ b/lfs/keyutils @@ -0,0 +1,79 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.5.11 + +THISAPP = keyutils-$(VER) +DL_FILE = $(THISAPP).tar.bz2 +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = bcc0984181572461850a37c39f8b167a + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make NO_ARLIB=1 install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index cca40d0f31..5276c8fe48 100755 --- a/make.sh +++ b/make.sh @@ -1379,6 +1379,7 @@ buildipfire() { lfsmake2 rsync lfsmake2 libtirpc lfsmake2 rpcbind + lfsmake2 keyutils lfsmake2 nfs lfsmake2 gnu-netcat lfsmake2 ncat -- 2.39.2