Compare commits

...

98 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
5e5786c0d0 updated to 4.16.0 2020-02-02 09:49:10 +01:00
Fedora Release Engineering
e87e5f6cfb - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 10:30:46 +00:00
Simo Sorce
1b52aeecb7 Add missing binary in files section
Signed-off-by: Simo Sorce <simo@redhat.com>
2019-11-21 08:44:46 -05:00
Simo Sorce
c624abce7a Update to 4.15.0 (#1775065) 2019-11-21 08:30:35 -05:00
Fedora Release Engineering
8f2e1258b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 14:30:12 +00:00
Nikos Mavrogiannopoulos
46082357c5 corrected bogus date 2019-07-22 22:50:01 +02:00
Nikos Mavrogiannopoulos
a0c7a41577 updated to 4.14 2019-07-22 22:49:17 +02:00
Fedora Release Engineering
b2ce513c42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:20:04 +00:00
Igor Gnatenko
43c596d11f
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 19:39:04 +01:00
Nikos Mavrogiannopoulos
930215f823 bumped version 2018-10-30 08:19:16 +01:00
Nikos Mavrogiannopoulos
2af08181d4 Remove ldconfig scriptlet, now done via. transfiletrigger in glibc. 2018-10-30 08:14:51 +01:00
Nikos Mavrogiannopoulos
00ba0f202e libtasn1-devel requires the tools subpackage; it is necessary for development. 2018-10-22 11:48:44 +02:00
Peter Robinson
12419dc633 Add missing gcc/gnupg2 deps, spec cleanups 2018-07-22 10:43:03 +01:00
Fedora Release Engineering
a556fc4b52 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:54:35 +00:00
Fedora Release Engineering
d1518d0bb2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 23:28:17 +00:00
Nikos Mavrogiannopoulos
032961dd7b updated to 4.13 2018-01-17 09:23:48 +01:00
Sergey Turivniy
e45c099f06 Add CI tests using the standard test interface 2018-01-15 18:31:19 +02:00
Fedora Release Engineering
9bc81da661 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 02:21:41 +00:00
Fedora Release Engineering
01e2474398 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 19:48:26 +00:00
Nikos Mavrogiannopoulos
f68e79d83b updated to 4.12 (#1456190) 2017-05-29 08:01:35 +02:00
Fedora Release Engineering
47170124b6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 19:32:18 +00:00
Nikos Mavrogiannopoulos
d5091c2658 added gpg key in repo 2017-01-17 08:32:02 +01:00
Nikos Mavrogiannopoulos
2e616e7be9 updated to 4.10 2017-01-17 08:24:42 +01:00
Peter Robinson
dff5e8bd54 Move development related docs to devel sub package, Cleanup spec and macros, Update valgrind ExclusiveArch 2016-11-07 01:36:05 +00:00
Nikos Mavrogiannopoulos
447b5eaed8 do not compile with -Werror 2016-08-26 17:13:09 +02:00
Nikos Mavrogiannopoulos
93183ad3f8 updated to 4.9 2016-08-26 17:01:12 +02:00
Nikos Mavrogiannopoulos
0f9251f9cc Resolve issue which prevented the decoding of long OIDs
Resolves: rhbz#1353838
2016-07-08 10:19:27 +02:00
Nikos Mavrogiannopoulos
ef382f88eb added source verification on build 2016-04-11 10:50:07 +02:00
Nikos Mavrogiannopoulos
ee39dc48e1 updated to 4.8 2016-04-11 10:17:24 +02:00
Dennis Gilmore
383b84ce53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 03:59:55 +00:00
Nikos Mavrogiannopoulos
e0dfbba76e updated to 4.7 2015-09-15 08:55:25 +02:00
Dennis Gilmore
0fb2900221 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 17:24:04 +00:00
Nikos Mavrogiannopoulos
49d94edcb2 Update to 4.5 (#1217282) 2015-04-30 09:50:04 +02:00
Nikos Mavrogiannopoulos
a2b950e7cc do not run tests under valgrind
This prevents random issues in the built machine from affecting this
build.
2015-03-30 09:07:59 +02:00
Nikos Mavrogiannopoulos
9c07a35162 corrected date in log 2015-03-30 08:57:11 +02:00
Nikos Mavrogiannopoulos
66dc478356 new upstream release 2015-03-30 08:55:39 +02:00
Nikos Mavrogiannopoulos
81c0e516c3 new upstream release 2015-03-10 16:26:49 +01:00
Nikos Mavrogiannopoulos
70b5418b1f updated to version 4.2 2014-09-16 17:55:22 +02:00
Nikos Mavrogiannopoulos
a5fcceedac added bug fix for octet string decoding
Resolves: rhbz#1138218
2014-09-04 12:41:51 +02:00
Nikos Mavrogiannopoulos
81140a4cc1 new upstream release
Resolves: rhbz#1133205
2014-08-25 09:32:27 +02:00
Peter Robinson
2dd57f1a9e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 06:15:23 +00:00
Tom Callaway
6b5611bde6 fix license handling 2014-07-18 15:25:45 -04:00
Nikos Mavrogiannopoulos
48a0b4cf36 Updated to libtasn1 4.0 2014-06-30 10:18:24 +02:00
Dennis Gilmore
df55a82205 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:38:29 -05:00
Nikos Mavrogiannopoulos
e4d6e18463 updated sources 2014-05-26 11:09:29 +02:00
Nikos Mavrogiannopoulos
34a94ae61b new upstream release 2014-05-26 11:04:45 +02:00
Nikos Mavrogiannopoulos
80262df3c7 added signature 2014-05-02 13:48:45 +02:00
Nikos Mavrogiannopoulos
1c40dfa910 new upstream release. 2014-05-02 13:43:01 +02:00
Nikos Mavrogiannopoulos
977b32a26c correct info in spec 2013-11-27 14:31:35 +01:00
Nikos Mavrogiannopoulos
f6eca8861f corrected wrong date 2013-11-27 14:30:12 +01:00
Nikos Mavrogiannopoulos
c2258d226c updated sources 2013-11-27 14:29:26 +01:00
Nikos Mavrogiannopoulos
3e97e24f29 avoid regeneration of docs 2013-11-27 14:26:56 +01:00
Nikos Mavrogiannopoulos
593a6c4a1b updated for libtasn1 3.4 2013-11-27 14:17:43 +01:00
Tomas Mraz
e48f22c334 Updated the bundled gnulib checkout date. 2013-08-26 11:48:45 +02:00
Dennis Gilmore
bc59966d63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 02:10:44 -05:00
Tomas Mraz
276fdc6d41 new upstream release
- improved description
2013-03-25 11:56:37 +01:00
Tomas Mraz
6d0ccf8b64 drop the temporary compat libtasn1 2013-03-07 16:05:13 +01:00
Tomas Mraz
0d0c458135 now with temporary compat libtasn1 taken from old build 2013-02-05 13:08:34 +01:00
Tomas Mraz
f5c24364f3 new upstream release
- SONAME bumped
2013-02-05 11:53:24 +01:00
Tomas Mraz
608d40c28e Add comment about bundled gnulib. 2012-11-09 19:57:12 +01:00
Tomas Mraz
f839f9fc2c Bundled gnulib Provides. 2012-11-09 19:55:21 +01:00
Tomas Mraz
428497ecdc new upstream release 2012-11-09 14:31:41 +01:00
Dennis Gilmore
a68cb789db - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 16:20:31 -05:00
Tomas Mraz
cfefbf7dca new upstream release 2012-06-18 09:29:59 +02:00
Tomas Mraz
e024ef7de6 new upstream release 2012-03-20 15:12:33 +01:00
Dennis Gilmore
e84caa1289 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 02:30:48 -06:00
Dennis Gilmore
ff5bb84131 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 05:58:51 -06:00
Enrico Scholz
3c139237c0 readded makefile 2010-08-16 00:03:47 +02:00
Tomas Mraz
18e31cd64e Fix date 2010-08-03 23:01:03 +02:00
Tomas Mraz
71b8d6c7ed * Tue Aug 2 2010 Tomas Mraz <tmraz@redhat.com> - 2.7-1
- new upstream release
2010-08-03 20:38:29 +02:00
Fedora Release Engineering
a6081a6b1a dist-git conversion 2010-07-28 21:44:03 +00:00
Tomáš Mráz
a9343f9af3 - drop superfluous rpath 2010-01-28 12:58:40 +00:00
Tomáš Mráz
637f324428 - new upstream release 2010-01-18 09:50:45 +00:00
Tomáš Mráz
3630fafae8 - no longer ignore make check result on ppc64 2010-01-11 16:42:17 +00:00
ensc
662ed0025e whitespace cleanups 2010-01-03 11:59:56 +00:00
Bill Nottingham
92c898e04d Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:51:20 +00:00
Tomáš Mráz
1354db1340 - updated to new upstream version
- fix warnings when installed with --excludedocs (#515950)
2009-08-11 14:38:08 +00:00
Jesse Keating
dd79d6fefa - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 08:44:07 +00:00
Tomáš Mráz
5440c80d90 - updated to new upstream version
- SMP build should work now
- drop fix for spurious rpath - no longer necessary
2009-05-29 12:05:28 +00:00
Jesse Keating
9d6e09b013 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 19:17:19 +00:00
ensc
4652275afc updated 2009-01-27 08:22:16 +00:00
Caolan McNamara
52eba08d36 rebuild to get provides pkgconfig(libtasn1) 2008-12-12 09:22:41 +00:00
Tomáš Mráz
da87b87813 - updated to new upstream version 2008-11-21 11:15:26 +00:00
Tomáš Mráz
11721bb38c - updated to new upstream version
- fixed license tag
- fix spurious rpath in the tool binaries
2008-09-30 19:52:56 +00:00
Tom Callaway
8bed64ad25 fix license tag 2008-08-07 15:53:31 +00:00
ensc
d582145200 removed CVS tags 2008-06-21 15:05:31 +00:00
Tomáš Mráz
1c2594d117 - seems that the http download location contains base64 encoded signature
this is better for CVS
2008-06-05 12:57:44 +00:00
Tomáš Mráz
5e34481e54 - updated to new upstream version 2008-06-05 12:43:19 +00:00
ensc
b439f02147 - updated to 1.3 (#426488, #431334)
- use wrapper around libtasn1-config which should make it multilib safe
    (#342411); this implies an untagged 'Requires: pkgconfig' for
-devel now
- conditionalized BR of valgrind (#401041)
2008-02-13 12:56:03 +00:00
ensc
44147e0e64 use wrapper around libtasn1-config which should make it multilib safe 2008-02-13 12:53:52 +00:00
ensc
70b34ef0ca updated to 1.3 2008-02-13 12:51:44 +00:00
ensc
cb78a9786c workaround 'make check' errors on ppc64 2007-09-04 07:12:58 +00:00
ensc
ddfd3ed0b4 updated to 1.1 2007-09-03 06:38:34 +00:00
ensc
54d8c10553 initial checkin 2007-09-01 14:45:05 +00:00
ensc
a588c16716 updated to 0.3.10 2007-06-14 18:34:09 +00:00
ensc
7635808a1e updated to 0.3.9 2007-03-02 18:07:33 +00:00
ensc
ff4f30a60f updated to 0.3.8 2007-02-03 15:48:46 +00:00
ensc
dacbdb31f0 - updated to 0.3.6
- BR valgrind
2006-11-05 19:08:42 +00:00
18 changed files with 648 additions and 90 deletions

View File

@ -1,2 +0,0 @@
libtasn1-*.tar.gz
libtasn1-*.tar.gz.sig

45
.gitignore vendored Normal file
View File

@ -0,0 +1,45 @@
libtasn1-2.4.tar.gz
libtasn1-2.7.tar.gz
/libtasn1-2.12.tar.gz
/libtasn1-2.13.tar.gz
/libtasn1-2.14.tar.gz
/libtasn1-3.2.tar.gz
/libtasn1-3.2.tar.gz.sig
/libtasn1-3.3.tar.gz
/libtasn1-3.3.tar.gz.sig
/libtasn1-3.4.tar.gz
/libtasn1-3.4.tar.gz.sig
/libtasn1-3.5.tar.gz
/libtasn1-3.5.tar.gz.sig
/libtasn1-3.6.tar.gz
/libtasn1-3.6.tar.gz.sig
/libtasn1-4.0.tar.gz
/libtasn1-4.0.tar.gz.sig
/libtasn1-4.1.tar.gz.sig
/libtasn1-4.1.tar.gz
/libtasn1-4.2.tar.gz.sig
/libtasn1-4.2.tar.gz
/libtasn1-4.3.tar.gz.sig
/libtasn1-4.3.tar.gz
/libtasn1-4.4.tar.gz.sig
/libtasn1-4.4.tar.gz
/libtasn1-4.5.tar.gz.sig
/libtasn1-4.5.tar.gz
/libtasn1-4.7.tar.gz
/libtasn1-4.7.tar.gz.sig
/libtasn1-4.8.tar.gz.sig
/libtasn1-4.8.tar.gz
/libtasn1-4.9.tar.gz.sig
/libtasn1-4.9.tar.gz
/libtasn1-4.10.tar.gz
/libtasn1-4.10.tar.gz.sig
/libtasn1-4.12.tar.gz.sig
/libtasn1-4.12.tar.gz
/libtasn1-4.13.tar.gz.sig
/libtasn1-4.13.tar.gz
/libtasn1-4.14.tar.gz
/libtasn1-4.14.tar.gz.sig
/libtasn1-4.15.0.tar.gz
/libtasn1-4.15.0.tar.gz.sig
/libtasn1-4.16.0.tar.gz
/libtasn1-4.16.0.tar.gz.sig

View File

@ -1,21 +1,2 @@
# Makefile for source rpm: libtasn1 MAKEFILE_COMMON = $(HOME)/.fedora/common.mk
# $Id$ -include $(MAKEFILE_COMMON)
NAME := libtasn1
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

Binary file not shown.

1
lastver Normal file
View File

@ -0,0 +1 @@
1.8

10
libtasn1-2.14.tar.gz.sig Normal file
View File

@ -0,0 +1,10 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iO4EAAECADgFAlBgV0YxFIAAAAAAFQATcGthLWFkZHJlc3NAZ251cGcub3Jnc2lt
b25Aam9zZWZzc29uLm9yZwAKCRDtoh6UtWVxb03gBP9Tci1rntihNtZx4wAEvkUL
25vUQlUpnYWZZUpmMwHXa9U73MbUWEEd6N/thIUnlxuWmdfh2tTkaPfxIaXN7S/H
C3rMtqmi5eGr4CNqAwl0gxKBRFjaK2tW25k/6ervoo2jEeEIPGVAKEgW49qmfl9o
19AwICHcqMP5qVZp9dqkuiJxqYp5CducZqz3cTmYXyD6B7Afw3/zfrdlCN4379gA
=TjUp
-----END PGP SIGNATURE-----

12
libtasn1-3.4-rpath.patch Normal file
View File

@ -0,0 +1,12 @@
diff -ur libtasn1-3.4.orig/configure libtasn1-3.4/configure
--- libtasn1-3.4.orig/configure 2013-11-25 20:24:23.000000000 +0100
+++ libtasn1-3.4/configure 2013-11-27 14:08:42.872612379 +0100
@@ -12376,7 +12376,7 @@
shlibpath_overrides_runpath=unknown
version_type=none
dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64"
need_lib_prefix=unknown
hardcode_into_libs=no

View File

@ -1,67 +1,70 @@
## $Id$ Summary: The ASN.1 library used in GNUTLS
%{!?release_func:%global release_func() %1%{?dist}}
Summary: This is the ASN.1 library used in GNUTLS
Name: libtasn1 Name: libtasn1
Version: 0.3.5 Version: 4.16.0
Release: %release_func 1 Release: 1%{?dist}
License: LGPL # The libtasn1 library is LGPLv2+, utilities are GPLv3+
Group: System Environment/Libraries License: GPLv3+ and LGPLv2+
URL: http://www.gnu.org/software/gnutls/download.html URL: http://www.gnu.org/software/libtasn1/
Source0: ftp://ftp.gnutls.org/pub/gnutls/libtasn1/%name-%version.tar.gz Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
Source1: ftp://ftp.gnutls.org/pub/gnutls/libtasn1/%name-%version.tar.gz.sig Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
BuildRoot: %_tmppath/%name-%version-%release-buildroot Source2: gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
BuildRequires: bison Patch1: libtasn1-3.4-rpath.patch
BuildRequires: gnupg2
BuildRequires: gcc
BuildRequires: bison, pkgconfig, help2man
BuildRequires: autoconf, automake, libtool
BuildRequires: valgrind-devel
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
Provides: bundled(gnulib) = 20130324
%package devel %package devel
Summary: Files for development of applications which will use libtasn1 Summary: Files for development of applications which will use libtasn1
Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %name = %version-%release Requires: %name = %version-%release
Requires(pre): automake pkgconfig Requires: %{name}-tools = %{version}-%{release}
Requires(postun): automake pkgconfig Requires: pkgconfig
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
%package tools %package tools
Summary: Some ASN.1 tools Summary: Some ASN.1 tools
Group: Applications/Text License: GPLv3+
Requires: %name = %version-%release Requires: %{name}%{?_isa} = %{version}-%{release}
%description %description
This is the ASN.1 library used in GNUTLS. More up to date information can A library that provides Abstract Syntax Notation One (ASN.1, as specified
be found at http://www.gnu.org/software/gnutls and http://www.gnutls.org by the X.680 ITU-T recommendation) parsing and structures management, and
Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.
%description devel %description devel
This is the ASN.1 library used in GNUTLS. More up to date information can
be found at http://www.gnu.org/software/gnutls and http://www.gnutls.org
This package contains files for development of applications which will This package contains files for development of applications which will
use libtasn1. use libtasn1.
%description tools %description tools
This is the ASN.1 library used in GNUTLS. More up to date information can This package contains simple tools that can decode and encode ASN.1
be found at http://www.gnu.org/software/gnutls and http://www.gnutls.org data.
This package contains tools using the libtasn library.
%prep %prep
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%setup -q %setup -q
%patch1 -p1 -b .rpath
%build %build
%configure --disable-static autoreconf -v -f --install
%configure --disable-static --disable-silent-rules
# libtasn1 likes to regenerate docs
touch doc/stamp_docs
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf "$RPM_BUILD_ROOT"
make DESTDIR="$RPM_BUILD_ROOT" install make DESTDIR="$RPM_BUILD_ROOT" install
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir} rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
@ -70,46 +73,249 @@ rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
%check %check
make check make check
%clean
rm -rf "$RPM_BUILD_ROOT"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel
/sbin/install-info --info-dir=%_infodir %_infodir/%name.info || :
%preun devel
test "$1" != 0 ||
/sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || :
%files %files
%defattr(-,root,root,-) %license LICENSE doc/COPYING*
%doc doc/TODO doc/*.pdf %doc AUTHORS NEWS README.md
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS %{_libdir}/*.so.6*
%_libdir/*.so.*
%files tools %files tools
%defattr(-,root,root,-) %{_bindir}/asn1*
%_bindir/asn1* %{_mandir}/man1/asn1*
%_mandir/man1/asn1*
%files devel %files devel
%defattr(-,root,root,-) %doc doc/TODO doc/*.pdf
%_bindir/*-config %{_libdir}/*.so
%_libdir/*.so %{_libdir}/pkgconfig/*.pc
%_libdir/pkgconfig/*.pc %{_includedir}/*
%_includedir/* %{_infodir}/*.info.*
%_datadir/aclocal/libtasn1.m4 %{_mandir}/man3/*asn1*
%_infodir/*.info.*
%_mandir/man3/*asn1*
%changelog %changelog
* Sun Feb 02 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.16.0-1
- Update to 4.14 (#1621973)
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Nov 21 2019 Simo Sorce <simo@redhat.com> - 4.15.0-1
- Update to 4.15.0 (#1775065)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jul 22 2019 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.14-1
- Update to 4.14 (#1621973)
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Oct 29 2018 James Antill <james.antill@redhat.com> - 4.13-6
- Remove ldconfig scriptlet, now done via. transfiletrigger in glibc.
* Mon Oct 22 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.13-5
- libtasn1-devel requires the tools subpackage; it is necessary for
development.
* Sat Jul 21 2018 Peter Robinson <pbrobinson@fedoraproject.org> 4.13-4
- Add missing gcc/gnupg2 deps, spec cleanups
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 17 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.13-1
- Update to 4.13 (#1535261)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon May 29 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.12-1
- Update to 4.12 (#1456190)
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jan 17 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.10-1
- Update to 4.10 (#1413792)
* Mon Nov 7 2016 Peter Robinson <pbrobinson@fedoraproject.org> 4.9-2
- Move development related docs to devel sub package
- Cleanup spec and macros
- Update valgrind ExclusiveArch
* Fri Aug 26 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.9-1
- Update to 4.9 (#1360315)
* Fri Jul 8 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.8-2
- Resolve issue which prevented the decoding of long OIDs (#1353838)
* Mon Apr 11 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.8-1
- Update to 4.8
- Resolves infinite loop recursion in the decode of certain BER structures.
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Sep 15 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.7-1
- Update to 4.7 (#1260325)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Apr 30 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.5-1
- Update to 4.5 (#1217282)
* Mon Mar 30 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.4-1
- new upstream release (#1206968)
- fixes stack overflow in DER decoder
* Tue Mar 10 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.3-1
- new upstream release
* Tue Sep 16 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.2-1
- new upstream release
* Mon Aug 25 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.1-2
- added bug fix for octet string decoding (#1138218)
* Mon Aug 25 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.1-1
- new upstream release
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 4.0-2
- fix license handling
* Mon Jun 30 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.0-1
- new upstream release
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon May 26 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.6-1
- new upstream release
* Fri May 02 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.5-1
- new upstream release
* Wed Nov 27 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.4-1
- new upstream release
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Mar 25 2013 Tomáš Mráz <tmraz@redhat.com> - 3.3-1
- new upstream release
- improved description
* Thu Mar 7 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-3
- drop the temporary compat libtasn1
* Tue Feb 5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-2
- now with temporary compat libtasn1 taken from old build
* Tue Feb 5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-1
- new upstream release
- SONAME bumped
* Fri Nov 9 2012 Tomas Mraz <tmraz@redhat.com> - 2.14-1
- new upstream release
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 18 2012 Tomas Mraz <tmraz@redhat.com> - 2.13-1
- new upstream release
* Tue Mar 20 2012 Tomas Mraz <tmraz@redhat.com> - 2.12-1
- new upstream release
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Aug 3 2010 Tomas Mraz <tmraz@redhat.com> - 2.7-1
- new upstream release
* Thu Jan 28 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-2
- drop superfluous rpath
* Mon Jan 18 2010 Tomas Mraz <tmraz@redhat.com> - 2.4-1
- new upstream release
* Mon Jan 11 2010 Tomas Mraz <tmraz@redhat.com> - 2.3-2
- no longer ignore make check result on ppc64
* Tue Aug 11 2009 Tomas Mraz <tmraz@redhat.com> - 2.3-1
- updated to new upstream version
- fix warnings when installed with --excludedocs (#515950)
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Fri May 29 2009 Tomas Mraz <tmraz@redhat.com> - 2.2-1
- updated to new upstream version
- SMP build should work now
- drop fix for spurious rpath - no longer necessary
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Jan 27 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.8-1
- updated to 1.8
- updated URLs
- disabled SMP builds for now
* Fri Dec 12 2008 Caolán McNamara <caolanm@redhat.com> - 1.7-2
- rebuild to get provides pkgconfig(libtasn1)
* Fri Nov 21 2008 Tomas Mraz <tmraz@redhat.com> - 1.7-1
- updated to new upstream version
* Tue Sep 30 2008 Tomas Mraz <tmraz@redhat.com> - 1.5-1
- updated to new upstream version
- fix license tag
- fix spurious rpath in the tool binaries
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-2
- fix license tag
* Thu Jun 5 2008 Tomas Mraz <tmraz@redhat.com> - 1.4-1
- updated to new upstream version
* Wed Feb 13 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.3-1
- updated to 1.3 (#426488, #431334)
- use wrapper around libtasn1-config which should make it multilib
safe (#342411); this implies an untagged 'Requires: pkgconfig' for
-devel now
- conditionalized BR of valgrind (#401041)
* Mon Sep 3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.1-1
- updated to 1.1
- workaround 'make check' errors on ppc64
* Thu Jun 14 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.10-1
- updated to 0.3.10
* Fri Mar 2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.9-1
- updated to 0.3.9
* Sat Feb 3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.8-1
- updated to 0.3.8
* Sun Nov 5 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.6-1
- updated to 0.3.6
- BR valgrind
* Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.5-1 * Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.3.5-1
- updated to 0.3.5 - updated to 0.3.5
@ -131,7 +337,7 @@ test "$1" != 0 ||
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.2.6-3 * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.2.6-3
- rebuild on all arches - rebuild on all arches
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt - rebuilt
* Tue Nov 18 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.2.6-0.fdr.1 * Tue Nov 18 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.2.6-0.fdr.1

View File

@ -1,2 +1,2 @@
6315b320944e3a4e4c4e73d98cb6123e libtasn1-0.3.5.tar.gz SHA512 (libtasn1-4.16.0.tar.gz) = b356249535d5d592f9b59de39d21e26dd0f3f00ea47c9cef292cdd878042ea41ecbb7c8d2f02ac5839f5210092fe92a25acd343260ddf644887b031b167c2e71
dd3a54bd747c7017af9ad8a1746dbb06 libtasn1-0.3.5.tar.gz.sig SHA512 (libtasn1-4.16.0.tar.gz.sig) = 53254c2ce61e9bb889fe00b43ef2130ab9f122c44832538e3f7b38cb75ada1656213cf5c8c85321078c6b98d325c46eff41ea64d1971d3183f2ec568a18f7ed2

View File

@ -0,0 +1,64 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Makefile of /CoreOS/libtasn1/Regression/libtasn1-doesn-t-handle-OIDs-which-have-elements
# Description: Test for libtasn1 doesn't handle OIDs which have elements
# Author: Hubert Kario <hkario@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2016 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# 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, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export TEST=/CoreOS/libtasn1/Regression/libtasn1-doesn-t-handle-OIDs-which-have-elements
export TESTVERSION=1.0
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile PURPOSE
.PHONY: all install download clean
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
test -x runtest.sh || chmod a+x runtest.sh
clean:
rm -f *~ $(BUILT_FILES)
include /usr/share/rhts/lib/rhts-make.include
$(METADATA): Makefile
@echo "Owner: Hubert Kario <hkario@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "Description: Test for libtasn1 doesn't handle OIDs which have elements" >> $(METADATA)
@echo "Type: Regression" >> $(METADATA)
@echo "TestTime: 10m" >> $(METADATA)
@echo "RunFor: libtasn1" >> $(METADATA)
@echo "Requires: libtasn1 libtasn1-tools openssl" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
@echo "Destructive: no" >> $(METADATA)
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
rhts-lint $(METADATA)

View File

@ -0,0 +1,6 @@
PURPOSE of /CoreOS/libtasn1/Regression/libtasn1-doesn-t-handle-OIDs-which-have-elements
Description: Test for libtasn1 doesn't handle OIDs which have elements
Author: Hubert Kario <hkario@redhat.com>
Bug summary: libtasn1 doesn't handle OIDs which have elements of size which exceed 32-bits
Test that libtasn1 does handle OIDs which have elements of size which exceed 32-bits

View File

@ -0,0 +1,71 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /CoreOS/libtasn1/Regression/libtasn1-doesn-t-handle-OIDs-which-have-elements
# Description: Test for libtasn1 doesn't handle OIDs which have elements
# Author: Hubert Kario <hkario@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2016 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# 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, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="libtasn1"
TOP_DIR="$(rpm --eval=%{_topdir})"
rlJournalStart
rlPhaseStartSetup
rlAssertRpm $PACKAGE
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
rlRun "pushd $TmpDir"
rlRun "echo 'PKIX1 { }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
Dss-Sig-Value ::= SEQUENCE {
r OBJECT IDENTIFIER,
s INTEGER
}
END' > pkix.asn"
rlRun "echo 'dp PKIX1.Dss-Sig-Value
r 1.3.6.1.4.1.2312.9.2.1461701120873.1.6
s 255' > assign.asn1"
rlPhaseEnd
rlPhaseStartTest
rlRun -s "asn1Coding pkix.asn assign.asn1"
rlAssertGrep "1.3.6.1.4.1.2312.9.2.1461701120873.1.6" $rlRun_LOG
rlRun "rm $rlRun_LOG"
rlRun -s "openssl asn1parse -in assign.out -inform DER"
rlAssertGrep "1.3.6.1.4.1.2312.9.2.1461701120873.1.6" $rlRun_LOG
rlPhaseEnd
rlPhaseStartCleanup
rlRun "popd"
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

68
tests/smoke-test/Makefile Normal file
View File

@ -0,0 +1,68 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Makefile of /CoreOS/libtasn1/Sanity/smoke-test
# Description: Test calls upstream test suite.
# Author: Ondrej Moris <omoris@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2010 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# 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, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export TEST=/CoreOS/libtasn1/Sanity/smoke-test
export TESTVERSION=1.0
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile PURPOSE
.PHONY: all install download clean
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
chmod a+x runtest.sh
clean:
rm -f *~ $(BUILT_FILES)
include /usr/share/rhts/lib/rhts-make.include
$(METADATA): Makefile
@echo "Owner: Ondrej Moris <omoris@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "Description: Test calls upstream test suite." >> $(METADATA)
@echo "Type: Sanity" >> $(METADATA)
@echo "TestTime: 10m" >> $(METADATA)
@echo "RunFor: libtasn1" >> $(METADATA)
@echo "Requires: libtasn1" >> $(METADATA)
@echo "Requires: libtasn1-devel" >> $(METADATA)
@echo "Requires: valgrind" >> $(METADATA)
@echo "Requires: nfs-utils" >> $(METADATA)
@echo "Requires: rpm-build" >> $(METADATA)
@echo "Releases: -RHEL3 -RHEL4 -RHELServer5 -RHELClient5" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
@echo "Destructive: no" >> $(METADATA)
rhts-lint $(METADATA)

3
tests/smoke-test/PURPOSE Normal file
View File

@ -0,0 +1,3 @@
PURPOSE of /CoreOS/libtasn1/Sanity/smoke-test
Description: Test calls upstream test suite.
Author: Ondrej Moris <omoris@redhat.com>

View File

74
tests/smoke-test/runtest.sh Executable file
View File

@ -0,0 +1,74 @@
#!/bin/bash
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /CoreOS/libtasn1/Sanity/smoke-test
# Description: Test calls upstream test suite.
# Author: Ondrej Moris <omoris@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2010 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# 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, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include rhts environment
. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="libtasn1"
PACKAGES=( "libtasn1" "valgrind" )
TOPDIR=`rpm --eval %_topdir`
rlJournalStart
rlPhaseStartSetup
for P in "${PACKAGES[@]}"; do rlAssertRpm $P || rlDie; done
rlFetchSrcForInstalled $PACKAGE
rlRun "dnf builddep -y libtasn1*.rpm"
rlRun "rpm -ihv `ls libtasn1*.rpm`" 0
rlRun "rpmbuild -vv -bc $TOPDIR/SPECS/libtasn1.spec" 0
rlPhaseEnd
rlPhaseStartTest
rlRun "make -C $TOPDIR/BUILD/libtasn1-* check > make_check.out" 0
cat make_check.out
if grep "All [0-9]\+ tests passed" make_check.out; then
rlPass "All tests passed -- have seen the old format of test summary in the output"
elif grep "Testsuite summary" make_check.out; then
TOTAL=`sed -rn 's/^# TOTAL: *([0-9]*).*/\1/p' make_check.out`
PASS=`sed -rn 's/^# PASS: *([0-9]*).*/\1/p' make_check.out`
rlAssertEquals "The number of tests that ran and passed should be equal" "$TOTAL" "$PASS"
else
rlFail "Tests reported summary in an unknown way"
rlBundleLogs make_check.out
fi
rlPhaseEnd
rlPhaseStartCleanup
rlRun "rm libtasn1*.rpm -rf" 0
rlRun "rm $TOPDIR/BUILD/libtasn1-* -rf" 0
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

17
tests/tests.yml Normal file
View File

@ -0,0 +1,17 @@
---
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
- container
tests:
- libtasn1-doesn-t-handle-OIDs-which-have-elements
required_packages:
- libtasn1
- libtasn1-devel
- libtasn1-tools
- openssl
- valgrind
- nfs-utils
- rpm-build

2
verinfo Normal file
View File

@ -0,0 +1,2 @@
http://ftp.gnu.org/pub/gnu/gnutls/
libtasn1-(.*?)\.tar\.