1 Star 0 Fork 13

yaokai13/libtasn1

forked from src-openEuler/libtasn1 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libtasn1.spec 2.91 KB
一键复制 编辑 原始数据 按行查看 历史
Liquor 提交于 2020-06-06 10:39 . fix fuzz issues
Summary: Libtasn1 is a ASN.1 parsing library
Name: libtasn1
Version: 4.13
Release: 9
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
License: GPLv3+ and LGPLv2+
URL: http://www.gnu.org/software/libtasn1/
Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
Patch0000: 0001-Fix-endless-loop-in-_asn1_check_identifier.patch
patch0001: 0002-_asn1_expand_object_id-Limit-recursion.patch
Patch0002: 0003-_asn1_add_static_node-made-thread-safe.patch
Patch0003: 0004-_asn1_expand_object_id-fix-memory-leak-on-error.patch
Patch0004: 0005-Fix-two-memleaks-in-asn1_array2tree.patch
Patch0005: 0006-Fix-memleaks-in-asn1_array2tree.patch
Patch0006: 0007-fix-memleaks-in-asn1-arrat2tree.patch
BuildRequires: gcc, autoconf, automake, libtool, gnupg2, bison, pkgconfig, help2man
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
Provides: bundled(gnulib) = 20130324
Provides: %{name}-tools = %{version}-%{release}
Obsoletes: %{name}-tools < %{version}-%{release}
%description
Libtasn1 is the ASN.1 library used by GnuTLS, p11-kit and some other packages.
The goal of this implementation is to be highly portable, and only require an
ANSI C99 platform.This library provides Abstract Syntax Notation One (ASN.1,
as specified by the X.680 ITU-T recommendation) parsing and structures management,
and Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
Requires: info
%description devel
This package contains header files and so files for development.
%package_help
%prep
%autosetup -p1
%build
autoreconf -vfi
%configure --disable-static --disable-silent-rules
make %{?_smp_mflags}
%install
%make_install
%delete_la
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post help
test -f %_infodir/%name.info.gz && \
/sbin/install-info --info-dir=%_infodir %_infodir/%name.info || :
%preun help
test "$1" = 0 -a -f %_infodir/%name.info.gz && \
/sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || :
%files
%license COPYING*
%doc AUTHORS NEWS README THANKS
%{_bindir}/asn1*
%{_libdir}/*.so.6*
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%files help
%doc doc/TODO doc/*.pdf
%{_mandir}/man1/asn1*
%{_mandir}/man3/*asn1*
%{_infodir}/*.info.*
%changelog
* Sat Jun 6 2020 lirui <[email protected]> - 4.13-9
- fix fuzz issues
* Fri Mar 29 2020 whoisxxx <[email protected]> - 4.13-8
- Valgrind support specific arches
* Fri Mar 20 2020 wangye <[email protected]> - 4.13-7
- Fix CVE-2018-1000654
* Sun Jan 12 2020 openEuler Buildteam <[email protected]> - 4.13-6
- simplify functions
* Fri Sep 06 2019 openEuler Buildteam <[email protected]> - 4.13-5
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yaokai13/libtasn1.git
[email protected]:yaokai13/libtasn1.git
yaokai13
libtasn1
libtasn1
master

搜索帮助