mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
libtasn1: New program required as build dependency for p11-kit
- creation of lfs and rootfile for libtasn1 Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
fbd7a03e78
commit
7c5041698c
54
config/rootfiles/common/libtasn1
Normal file
54
config/rootfiles/common/libtasn1
Normal file
@@ -0,0 +1,54 @@
|
||||
#usr/bin/asn1Coding
|
||||
#usr/bin/asn1Decoding
|
||||
#usr/bin/asn1Parser
|
||||
#usr/include/libtasn1.h
|
||||
#usr/lib/libtasn1.la
|
||||
#usr/lib/libtasn1.so
|
||||
usr/lib/libtasn1.so.6
|
||||
usr/lib/libtasn1.so.6.6.1
|
||||
#usr/lib/pkgconfig/libtasn1.pc
|
||||
#usr/share/info/libtasn1.info
|
||||
#usr/share/man/man1/asn1Coding.1
|
||||
#usr/share/man/man1/asn1Decoding.1
|
||||
#usr/share/man/man1/asn1Parser.1
|
||||
#usr/share/man/man3/asn1_array2tree.3
|
||||
#usr/share/man/man3/asn1_bit_der.3
|
||||
#usr/share/man/man3/asn1_check_version.3
|
||||
#usr/share/man/man3/asn1_copy_node.3
|
||||
#usr/share/man/man3/asn1_create_element.3
|
||||
#usr/share/man/man3/asn1_decode_simple_ber.3
|
||||
#usr/share/man/man3/asn1_decode_simple_der.3
|
||||
#usr/share/man/man3/asn1_delete_element.3
|
||||
#usr/share/man/man3/asn1_delete_structure.3
|
||||
#usr/share/man/man3/asn1_delete_structure2.3
|
||||
#usr/share/man/man3/asn1_der_coding.3
|
||||
#usr/share/man/man3/asn1_der_decoding.3
|
||||
#usr/share/man/man3/asn1_der_decoding2.3
|
||||
#usr/share/man/man3/asn1_der_decoding_element.3
|
||||
#usr/share/man/man3/asn1_der_decoding_startEnd.3
|
||||
#usr/share/man/man3/asn1_dup_node.3
|
||||
#usr/share/man/man3/asn1_encode_simple_der.3
|
||||
#usr/share/man/man3/asn1_expand_any_defined_by.3
|
||||
#usr/share/man/man3/asn1_expand_octet_string.3
|
||||
#usr/share/man/man3/asn1_find_node.3
|
||||
#usr/share/man/man3/asn1_find_structure_from_oid.3
|
||||
#usr/share/man/man3/asn1_get_bit_der.3
|
||||
#usr/share/man/man3/asn1_get_length_ber.3
|
||||
#usr/share/man/man3/asn1_get_length_der.3
|
||||
#usr/share/man/man3/asn1_get_object_id_der.3
|
||||
#usr/share/man/man3/asn1_get_octet_der.3
|
||||
#usr/share/man/man3/asn1_get_tag_der.3
|
||||
#usr/share/man/man3/asn1_length_der.3
|
||||
#usr/share/man/man3/asn1_number_of_elements.3
|
||||
#usr/share/man/man3/asn1_object_id_der.3
|
||||
#usr/share/man/man3/asn1_octet_der.3
|
||||
#usr/share/man/man3/asn1_parser2array.3
|
||||
#usr/share/man/man3/asn1_parser2tree.3
|
||||
#usr/share/man/man3/asn1_perror.3
|
||||
#usr/share/man/man3/asn1_print_structure.3
|
||||
#usr/share/man/man3/asn1_read_node_value.3
|
||||
#usr/share/man/man3/asn1_read_tag.3
|
||||
#usr/share/man/man3/asn1_read_value.3
|
||||
#usr/share/man/man3/asn1_read_value_type.3
|
||||
#usr/share/man/man3/asn1_strerror.3
|
||||
#usr/share/man/man3/asn1_write_value.3
|
||||
82
lfs/libtasn1
Normal file
82
lfs/libtasn1
Normal file
@@ -0,0 +1,82 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# 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 = 4.17.0
|
||||
|
||||
THISAPP = libtasn1-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
CFLAGS += -fcommon
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = c46f6eb3bd1287031ae5d36465094402
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
###############################################################################
|
||||
# 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)
|
||||
$(UPDATE_AUTOMAKE)
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--disable-static
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
Reference in New Issue
Block a user