From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 4/4] libtasn1: New program required as build dependency for p11-kit Date: Mon, 23 Aug 2021 11:34:34 +0100 Message-ID: <37D52C9A-1F86-42CB-AE07-D44A7E684A9F@ipfire.org> In-Reply-To: <20210820200428.3535766-4-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8276138902463494943==" List-Id: --===============8276138902463494943== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael Tremer > On 20 Aug 2021, at 21:04, Adolf Belka wrote: >=20 > - creation of lfs and rootfile for libtasn1 >=20 > Signed-off-by: Adolf Belka > --- > 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 >=20 > diff --git a/config/rootfiles/common/libtasn1 b/config/rootfiles/common/lib= tasn1 > 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 = # > +# = # > +# 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 =3D 4.17.0 > + > +THISAPP =3D libtasn1-$(VER) > +DL_FILE =3D $(THISAPP).tar.gz > +DL_FROM =3D $(URL_IPFIRE) > +DIR_APP =3D $(DIR_SRC)/$(THISAPP) > +TARGET =3D $(DIR_INFO)/$(THISAPP) > + > +CFLAGS +=3D -fcommon > + > +##########################################################################= ##### > +# Top-level Rules > +##########################################################################= ##### > + > +objects =3D $(DL_FILE) > + > +$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) > + > +$(DL_FILE)_MD5 =3D 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=3D/usr \ > + --disable-static > + cd $(DIR_APP) && make $(MAKETUNING) > + cd $(DIR_APP) && make install > + @rm -rf $(DIR_APP) > + @$(POSTBUILD) > --=20 > 2.33.0 >=20 --===============8276138902463494943==--