keyutils: New package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-10-22 19:49:14 +01:00
parent 64ce3098b5
commit 14fb55a555
4 changed files with 131 additions and 0 deletions

View File

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

View File

@@ -0,0 +1 @@
../../../common/keyutils

79
lfs/keyutils Normal file
View File

@@ -0,0 +1,79 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# 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 <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# 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)

View File

@@ -1379,6 +1379,7 @@ buildipfire() {
lfsmake2 rsync
lfsmake2 libtirpc
lfsmake2 rpcbind
lfsmake2 keyutils
lfsmake2 nfs
lfsmake2 gnu-netcat
lfsmake2 ncat