public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
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	[thread overview]
Message-ID: <37D52C9A-1F86-42CB-AE07-D44A7E684A9F@ipfire.org> (raw)
In-Reply-To: <20210820200428.3535766-4-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 6728 bytes --]

Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>

> On 20 Aug 2021, at 21:04, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
> 
> - creation of lfs and rootfile for libtasn1
> 
> Signed-off-by: Adolf Belka <adolf.belka(a)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(a)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
> 


  reply	other threads:[~2021-08-23 10:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-20 20:04 [PATCH 1/4] ca-certificates: Update to work with python3 version of certdata2pem.py Adolf Belka
2021-08-20 20:04 ` [PATCH 2/4] make.sh: Added p11-kit and libtasn1 for python3 based ca-certificates approach Adolf Belka
2021-08-23 10:34   ` Michael Tremer
2021-08-20 20:04 ` [PATCH 3/4] p11-kit: New program required for python3 compatibility of ca-certificates Adolf Belka
2021-08-23 10:34   ` Michael Tremer
2021-08-20 20:04 ` [PATCH 4/4] libtasn1: New program required as build dependency for p11-kit Adolf Belka
2021-08-23 10:34   ` Michael Tremer [this message]
2021-08-23 10:34 ` [PATCH 1/4] ca-certificates: Update to work with python3 version of certdata2pem.py Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37D52C9A-1F86-42CB-AE07-D44A7E684A9F@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox