[4/4] libtasn1: New program required as build dependency for p11-kit
Commit Message
- creation of lfs and rootfile for libtasn1
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/common/libtasn1 | 54 +++++++++++++++++++++
lfs/libtasn1 | 82 ++++++++++++++++++++++++++++++++
2 files changed, 136 insertions(+)
create mode 100644 config/rootfiles/common/libtasn1
create mode 100644 lfs/libtasn1
Comments
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
> On 20 Aug 2021, at 21:04, Adolf Belka <adolf.belka@ipfire.org> wrote:
>
> - creation of lfs and rootfile for libtasn1
>
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
> config/rootfiles/common/libtasn1 | 54 +++++++++++++++++++++
> lfs/libtasn1 | 82 ++++++++++++++++++++++++++++++++
> 2 files changed, 136 insertions(+)
> create mode 100644 config/rootfiles/common/libtasn1
> create mode 100644 lfs/libtasn1
>
> diff --git a/config/rootfiles/common/libtasn1 b/config/rootfiles/common/libtasn1
> new file mode 100644
> index 000000000..33c729cf5
> --- /dev/null
> +++ b/config/rootfiles/common/libtasn1
> @@ -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
> diff --git a/lfs/libtasn1 b/lfs/libtasn1
> new file mode 100644
> index 000000000..155608807
> --- /dev/null
> +++ b/lfs/libtasn1
> @@ -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)
> --
> 2.33.0
>
new file mode 100644
@@ -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
new file mode 100644
@@ -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)