forked from pool/libksba
This commit is contained in:
commit
90cf5f0fe2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libksba-0.9.16-1.0.0.diff.bz2
Normal file
3
libksba-0.9.16-1.0.0.diff.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:63926d5fe919dde86f2cc7d6cc5e36d7cb7112d7c0f84a4adedd51d4c6bc38d1
|
||||
size 19298
|
3
libksba-0.9.16.tar.bz2
Normal file
3
libksba-0.9.16.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b0c59b1fc58c8854b3623fa78b67b46c9ad3d5aff70dd6e7b9b1280c0e5be685
|
||||
size 496412
|
7
libksba-texi.patch
Normal file
7
libksba-texi.patch
Normal file
@ -0,0 +1,7 @@
|
||||
--- doc/version.texi
|
||||
+++ doc/version.texi
|
||||
@@ -0,0 +1,4 @@
|
||||
+@set UPDATED 30 March 2006
|
||||
+@set UPDATED-MONTH March 2006
|
||||
+@set EDITION 0.9.14
|
||||
+@set VERSION 0.9.14
|
104
libksba.changes
Normal file
104
libksba.changes
Normal file
@ -0,0 +1,104 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 12 13:54:08 CEST 2006 - pnemec@suse.cz
|
||||
|
||||
- updated to 1.0.0 by diff from author
|
||||
- change in api
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 11 15:30:15 CEST 2006 - pnemec@suse.cz
|
||||
|
||||
- updated to 0.9.16
|
||||
Fixed a character set conversion bug in BMPStrings
|
||||
Added new api functions, see readme.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 17:48:21 CEST 2006 - pnemec@suse.cz
|
||||
|
||||
- updated to 0.9.15 from CVS!
|
||||
fixed security bug #177462
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 25 11:41:24 CEST 2006 - pnemec@suse.cz
|
||||
|
||||
- updated to version 0.9.14
|
||||
* Fixed broken OCSP requests.
|
||||
* Ignore invalid bytes appended to a certificate.
|
||||
* New functions to associate user data with a certificate object.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:37:31 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 22:38:05 CEST 2005 - mls@suse.de
|
||||
|
||||
- make devel package require base package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 12:52:01 CEST 2005 - postadal@suse.cz
|
||||
|
||||
- updated to version 0.9.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 11 18:45:05 CEST 2005 - postadal@suse.cz
|
||||
|
||||
- updated to version 0.9.11
|
||||
- removed obsoleted patch autoconf-fix.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 12 14:39:35 CET 2005 - postadal@suse.cz
|
||||
|
||||
- update to version 0.9.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 30 16:45:59 CEST 2004 - postadal@suse.cz
|
||||
|
||||
- restored autoconf-fix.diff patch removed by last update [#36193, #46036]
|
||||
(fixed autoconf issue - quoted definition of AM_PATH_KSBA)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 28 12:12:29 CEST 2004 - adrian@suse.de
|
||||
|
||||
- update to version 0.9.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 14 11:52:34 CEST 2004 - adrian@suse.de
|
||||
|
||||
- create -devel sub package
|
||||
- prepare for nld
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 12 16:30:05 CEST 2004 - adrian@suse.de
|
||||
|
||||
- update to version 0.9.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 17 18:03:59 CET 2004 - postadal@suse.cz
|
||||
|
||||
- fixed autoconf issue (quoted definition of AM_PATH_KSBA) [#36193]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 10 11:53:19 CET 2004 - postadal@suse.cz
|
||||
|
||||
- fixed code that broke strict aliasing
|
||||
- bziped tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 11 11:25:05 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 16:38:16 CEST 2003 - mc@suse.de
|
||||
|
||||
- switch to version 0.4.7
|
||||
This fixes a problem mainly relevant to certificate request
|
||||
creation (if you must use the ugly way of putting the email
|
||||
address into the subject DN)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 20 18:49:13 CET 2003 - mc@suse.de
|
||||
|
||||
- initial version
|
||||
|
160
libksba.spec
Normal file
160
libksba.spec
Normal file
@ -0,0 +1,160 @@
|
||||
#
|
||||
# spec file for package libksba (Version 1.0.0)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: libksba
|
||||
BuildRequires: libgcrypt-devel
|
||||
URL: http://www.gnupg.org/aegypten/
|
||||
License: GPL
|
||||
Group: Development/Libraries/C and C++
|
||||
Autoreqprov: on
|
||||
Summary: A X.509 Library
|
||||
Version: 1.0.0
|
||||
Release: 1
|
||||
%define source_version 0.9.16
|
||||
# change also name and nfb
|
||||
%define nld_build 0
|
||||
Source: libksba-%{source_version}.tar.bz2
|
||||
Source1: libksba-%{source_version}-1.0.0.diff.bz2
|
||||
Patch1: nld-build.diff
|
||||
Patch2: libksba-texi.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
KSBA is a library to simplify the task of working with X.509
|
||||
certificates, CMS data, and related data.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Werner Koch <wk@gnupg.org>
|
||||
|
||||
%package devel
|
||||
Summary: A X.509 Library
|
||||
Group: Development/Libraries/C and C++
|
||||
%if %nld_build
|
||||
Conflicts: libksba-devel
|
||||
%else
|
||||
Provides: libksba:/usr/include/ksba.h
|
||||
Requires: libksba = %{version}
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
KSBA is a library to simplify the task of working with X.509
|
||||
certificates, CMS data, and related data.
|
||||
|
||||
This package contains the needed files to compile and link against the
|
||||
libksba.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Werner Koch <wk@gnupg.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n libksba-%{source_version}
|
||||
#
|
||||
# update to version 1.0.0
|
||||
bzcat -d %{S:1} | patch -p1
|
||||
%if %nld_build
|
||||
%patch1
|
||||
%endif
|
||||
%patch2
|
||||
|
||||
%build
|
||||
libtoolize --force
|
||||
autoreconf -fi
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=%{_libdir} \
|
||||
--infodir=%{_infodir}
|
||||
make
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README AUTHORS COPYING ChangeLog NEWS README-alpha THANKS TODO
|
||||
%_libdir/libksba*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
/usr/bin/*
|
||||
%_libdir/libksba*a
|
||||
%_libdir/libksba*.so
|
||||
/usr/include/*
|
||||
%doc %_infodir/ksba*
|
||||
/usr/share/aclocal/*
|
||||
|
||||
%changelog -n libksba
|
||||
* Tue Sep 12 2006 - pnemec@suse.cz
|
||||
- updated to 1.0.0 by diff from author
|
||||
- change in api
|
||||
* Mon Sep 11 2006 - pnemec@suse.cz
|
||||
- updated to 0.9.16
|
||||
Fixed a character set conversion bug in BMPStrings
|
||||
Added new api functions, see readme.
|
||||
* Fri Jun 23 2006 - pnemec@suse.cz
|
||||
- updated to 0.9.15 from CVS!
|
||||
fixed security bug #177462
|
||||
* Thu May 25 2006 - pnemec@suse.cz
|
||||
- updated to version 0.9.14
|
||||
* Fixed broken OCSP requests.
|
||||
* Ignore invalid bytes appended to a certificate.
|
||||
* New functions to associate user data with a certificate object.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Sep 26 2005 - mls@suse.de
|
||||
- make devel package require base package
|
||||
* Fri Aug 05 2005 - postadal@suse.cz
|
||||
- updated to version 0.9.12
|
||||
* Mon Jul 11 2005 - postadal@suse.cz
|
||||
- updated to version 0.9.11
|
||||
- removed obsoleted patch autoconf-fix.diff
|
||||
* Wed Jan 12 2005 - postadal@suse.cz
|
||||
- update to version 0.9.10
|
||||
* Thu Sep 30 2004 - postadal@suse.cz
|
||||
- restored autoconf-fix.diff patch removed by last update [#36193, #46036]
|
||||
(fixed autoconf issue - quoted definition of AM_PATH_KSBA)
|
||||
* Wed Jul 28 2004 - adrian@suse.de
|
||||
- update to version 0.9.8
|
||||
* Wed Jul 14 2004 - adrian@suse.de
|
||||
- create -devel sub package
|
||||
- prepare for nld
|
||||
* Mon Jul 12 2004 - adrian@suse.de
|
||||
- update to version 0.9.7
|
||||
* Wed Mar 17 2004 - postadal@suse.cz
|
||||
- fixed autoconf issue (quoted definition of AM_PATH_KSBA) [#36193]
|
||||
* Tue Feb 10 2004 - postadal@suse.cz
|
||||
- fixed code that broke strict aliasing
|
||||
- bziped tarball
|
||||
* Sun Jan 11 2004 - adrian@suse.de
|
||||
- add %%run_ldconfig
|
||||
* Mon Jun 02 2003 - mc@suse.de
|
||||
- switch to version 0.4.7
|
||||
This fixes a problem mainly relevant to certificate request
|
||||
creation (if you must use the ugly way of putting the email
|
||||
address into the subject DN)
|
||||
* Thu Feb 20 2003 - mc@suse.de
|
||||
- initial version
|
50
nld-build.diff
Normal file
50
nld-build.diff
Normal file
@ -0,0 +1,50 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -140,7 +140,7 @@
|
||||
|
||||
|
||||
# To be used in ksba-config
|
||||
-KSBA_CONFIG_LIBS="-lksba"
|
||||
+KSBA_CONFIG_LIBS="-lksba-nld"
|
||||
KSBA_CONFIG_CFLAGS=""
|
||||
AC_SUBST(KSBA_CONFIG_LIBS)
|
||||
AC_SUBST(KSBA_CONFIG_CFLAGS)
|
||||
--- src/Makefile.am
|
||||
+++ src/Makefile.am
|
||||
@@ -26,7 +26,7 @@
|
||||
BUILT_SOURCES = asn1-parse.c asn1-tables.c
|
||||
bin_SCRIPTS = ksba-config
|
||||
include_HEADERS = ksba.h
|
||||
-lib_LTLIBRARIES = libksba.la
|
||||
+lib_LTLIBRARIES = libksba-nld.la
|
||||
|
||||
if ! CROSS_COMPILING
|
||||
noinst_PROGRAMS = asn1-gentables ber-dump
|
||||
@@ -46,12 +46,12 @@
|
||||
|
||||
|
||||
|
||||
-libksba_la_LDFLAGS = $(libksba_version_script_cmd) -version-info \
|
||||
+libksba_nld_la_LDFLAGS = $(libksba_version_script_cmd) -version-info \
|
||||
@LIBKSBA_LT_CURRENT@:@LIBKSBA_LT_REVISION@:@LIBKSBA_LT_AGE@
|
||||
-libksba_la_INCLUDES = -I$(top_srcdir)/lib
|
||||
-libksba_la_DEPENDENCIES = $(srcdir)/libksba.vers
|
||||
+libksba_nld_la_INCLUDES = -I$(top_srcdir)/lib
|
||||
+libksba_nld_la_DEPENDENCIES = $(srcdir)/libksba.vers
|
||||
|
||||
-libksba_la_SOURCES = \
|
||||
+libksba_nld_la_SOURCES = \
|
||||
ksba.h \
|
||||
reader.c reader.h \
|
||||
writer.c writer.h \
|
||||
--- tests/Makefile.am
|
||||
+++ tests/Makefile.am
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
noinst_HEADERS = t-common.h
|
||||
noinst_PROGRAMS = $(TESTS) t-cms-parser t-crl-parser t-dnparser t-ocsp
|
||||
-LDADD = ../src/libksba.la $(GPG_ERROR_LIBS)
|
||||
+LDADD = ../src/libksba-nld.la $(GPG_ERROR_LIBS)
|
||||
|
||||
t_ocsp_SOURCES = t-ocsp.c sha1.c
|
||||
|
Loading…
Reference in New Issue
Block a user