SHA256
1
0
forked from pool/xca

Accepting request 356616 from home:computersalat:devel:security

fix deps and missing help files

OBS-URL: https://build.opensuse.org/request/show/356616
OBS-URL: https://build.opensuse.org/package/show/security/xca?expand=0&rev=6
This commit is contained in:
Christian Wittmer 2016-01-29 01:31:13 +00:00 committed by Git OBS Bridge
parent a4f852c57a
commit 579d523ead
4 changed files with 143 additions and 100 deletions

11
xca-desktop.patch Normal file
View File

@ -0,0 +1,11 @@
Index: misc/xca.desktop
===================================================================
--- misc/xca.desktop.orig
+++ misc/xca.desktop
@@ -10,5 +10,5 @@ Comment[hr]=Grafičko korisničko sučel
Exec=xca %F
Icon=xca-32x32
Terminal=false
-Categories=Application;Utility;Qt;
+Categories=Utility;DesktopUtility;
MimeType=application/x-xca-database;application/x-xca-template;application/x-x509-ca-cert;application/pkcs10;application/x-pkcs7-certificates;application/x-pkcs12;

13
xca-doc_Makefile.patch Normal file
View File

@ -0,0 +1,13 @@
Index: doc/Makefile
===================================================================
--- doc/Makefile.orig
+++ doc/Makefile
@@ -23,7 +23,7 @@ install: $(doc)
install -m 755 -d $(destdir)$(htmldir) \
$(destdir)$(mandir)/man1
install -m 644 xca*.html $(destdir)$(htmldir)
- install *.1.gz $(destdir)/$(mandir)/man1
+ install -m 644 *.1.gz $(destdir)/$(mandir)/man1
app: xca.html
mkdir -p $(APPDIR)/Resources

View File

@ -1,102 +1,117 @@
-------------------------------------------------------------------
Fri Jan 29 01:07:37 UTC 2016 - chris@computersalat.de
- fix Changelog
- fix deps
* openssl-devel >= 0.9.8
* openssl >= 0.9.8
- fix missing help files
- fix rpmlint
* spurious-executable-perm /usr/share/man/man1/xca.1.gz
* spurious-executable-perm /usr/share/man/man1/xca.1.gz
- add xca-doc_Makefile.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 16 07:13:41 UTC 2015 - ecsos@opensuse.org Fri Oct 16 07:13:41 UTC 2015 - ecsos@opensuse.org
- update to 1.3.2 - update to 1.3.2
* Gentoo Bug #562288 linking fails * Gentoo Bug #562288 linking fails
* Add OID resolver, move some Menu items to "Extra" * Add OID resolver, move some Menu items to "Extra"
* SF. Bug. #81 Make xca qt5 compatible * SF. Bug. #81 Make xca qt5 compatible
* SF. Bug. #107 error:0D0680A8:asn1 encoding * SF. Bug. #107 error:0D0680A8:asn1 encoding
* Don't validate notBefore and notAfter if they are disabled. * Don't validate notBefore and notAfter if they are disabled.
- xca 1.3.1
- previous changes from 1.3.1 * Fix endless loop while searching for a signer of a CRL
* Fix endless loop while searching for a signer of a CRL - xca 1.3.0
* Update to OpenSSL 1.0.2d for Windows and MAC
- previous changes from 1.3.0 * SF Bug #105 1.2.0 OS X Retina Display Support
* Update to OpenSSL 1.0.2d for Windows and MAC * Digitaly sign Windows and MAC binaries with a valid certificate
* SF Bug #105 1.2.0 OS X Retina Display Support * Refactor the context menu. Exporting many selected items
* Digitaly sign Windows and MAC binaries with a valid certificate to the clipboard or a PEM file now works. Certificate renewal
* Refactor the context menu. Exporting many selected items and revocation may now be performed on a batch of certificates.
to the clipboard or a PEM file now works. Certificate renewal * Feat. Reg. #83 Option to revoke old certificate when renewing
and revocation * Refactor revocation handling. All revocation information is
may now be performed on a batch of certificates. stored with the CA and may be modified.
* Feat. Reg. #83 Option to revoke old certificate when renewing Revoked certificates may now be deleted from the database
* Refactor revocation handling. All revocation information is * Support nameConstraints, policyMappings, InhibitAnyPolicy,
stored with the CA and may be modified. PolicyConstraint and (OSCP)noCheck when transforming
Revoked certificates may now be deleted from the database certificates to templates or OpenSSL configs
* Support nameConstraints, policyMappings, InhibitAnyPolicy, * Fix SF Bug #104 Export to template introduces spaces
PolicyConstraint and (OSCP)noCheck when transforming * Add option for disabling legacy Netscape extensions
certificates to templates or OpenSSL configs * Support exporting SSH2 public key to the clipboard
* Fix SF Bug #104 Export to template introduces spaces * SF Bug #102 Weak entropy source used for key generation:
* Add option for disabling legacy Netscape extensions Use /dev/random, mouse/kbd entropy, token RNG
* Support exporting SSH2 public key to the clipboard * SF Feat. Req. #80 Create new certificate,
* SF Bug #102 Weak entropy source used for key generation: based on existing certificate, same for requests
Use /dev/random, mouse/kbd entropy, token RNG * Add Cert/Req Column for Signature Algorithm
* SF Feat. Req. #80 Create new certificate, * SF Feat. Req. #81 Show key size in New Certificate dialog
based on existing certificate, same for requests * Distinguish export from transform:
* Add Cert/Req Column for Signature Algorithm - Export writes to an external file,
* SF Feat. Req. #81 Show key size in New Certificate dialog - Transform generates another XCA item
* Distinguish export from transform:
- Export writes to an external file,
- Transform generates another XCA item
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 31 09:28:37 UTC 2015 - ecsos@opensuse.org Tue Mar 31 09:28:37 UTC 2015 - ecsos@opensuse.org
- update to 1.2.0 - update to 1.2.0
- Update to OpenSSL 1.0.2a for Windows and MAC drop brainpool * Update to OpenSSL 1.0.2a for Windows and MAC drop brainpool
extra builds extra builds
- Use CTRL +/- to change the font size in the view * Use CTRL +/- to change the font size in the view
- Add Row numbering for easy item counting * Add Row numbering for easy item counting
- Support SSH2 public key format for import and export * Support SSH2 public key format for import and export
- Add support for SHA-224 * Add support for SHA-224
- add "xca extract" to export items from the database on the * add "xca extract" to export items from the database on the
commandline commandline
- previous changes from 1.1.0 -------------------------------------------------------------------
- SF Bug #79 Template export from WinXP cannot be imported in Thu Nov 27 10:46:50 UTC 2014 - chris@computersalat.de
Linux and Mac OS X
- Support for Brainpool windows and MacOSX binaries
- SF Feat. Req. #70 ability to search certificates
- SF Feat. Req. #75 show SHA-256 digest
- RedHat Bug #1164340 - segfault when viewing a RHEL
entitlement certificate
- Database hardening
- Delete invalid items (on demand)
- Be more tolerant against database errors
- Gracefully handle and repair corrupt databases
- Add "xca_db_stat(.exe)" binary to all installations
- Translation updates
- Optionally allow hash algos not supported by the token
- Select whether to translate established x509 terms
- Finish Token EC and DSA support - generate, import, export,
sign
- SF Feat. Req. #57 More options for Distinguished Name
- Switch to autoconf for the configure script
- SF Feature Req. #76 Export private keys to clipboard
- EC Keys: show Curve name in table
- Support EC key generation on PKCS#11 token
- PKCS#11: Make EC and RSA signatures work
- PKCS#11: Fix reading EC keys from card
- SF Bug #82 Certificate Creation out of Spec
- SF Bug #95 XCA 1.0 only runs in French on a UK English Mac
- previous changes from 1.0.0 - update to 1.1.0
- SF Bug #89 Validating CRL distribution point results in error * SF#xca#79 Template export from WinXP cannot be imported in Linux
- SF Feature Req. #69 Create "Recent databases..." file menu item and Mac OS X
- SF Bug #75 authorityInfoAccess set error * Support for Brainpool windows and MacOSX binaries
- SF Bug #88 Minor spelling error * SF Feat. Req. #70 ability to search certificates
- SF Bug #87 Unable to set default key length The Key generation * SF Feat. Req. #75 show SHA-256 digest
* RedHat Bug #1164340 - segfault when viewing a RHEL entitlement
certificate
* Database hardening
* Delete invalid items (on demand)
* Be more tolerant against database errors
* Gracefully handle and repair corrupt databases
* Add "xca_db_stat(.exe)" binary to all installations
* Translation updates
* Optionally allow hash algos not supported by the token
* Select whether to translate established x509 terms
* Finish Token EC and DSA support - generate, import, export, sign
* SF Feat. Req. #57 More options for Distinguished Name
* Switch to autoconf for the configure script
* SF Feature Req. #76 Export private keys to clipboard
* EC Keys: show Curve name in table
* Support EC key generation on PKCS#11 token
* PKCS#11: Make EC and RSA signatures work
* PKCS#11: Fix reading EC keys from card
* SF#xca#82 Certificate Creation out of Spec
* SF#xca#95 XCA 1.0 only runs in French on a UK English Mac
- xca 1.0.0
* SF#xca#89 Validating CRL distribution point results in error
* SF Feature Req. #69 Create "Recent databases..." file menu item
* SF#xca#75 authorityInfoAccess set error
* SF#xca#88 Minor spelling error
* SF#xca#87 Unable to set default key length The Key generation
dialog now allows to remember the current settings dialog now allows to remember the current settings
- Do not interpret HTML tags in message boxes * Do not interpret HTML tags in message boxes
- Overwite extensions from the PKCS#10 request by local * Overwite extensions from the PKCS#10 request by local extensions
extensions. This avoids duplication errors and allows to This avoids duplication errors and allows to overwrite some
overwrite some extensions from the request extensions from the request
- SF Bug #78 replace path separators in export filenames * SF#xca#78 replace path separators in export filenames
- SF Feature Req. #71 Add KDC Authentication OIDs to default * SF Feature Req. #71 Add KDC Authentication OIDs to default files
files * SF#xca#82 Certificate Creation out of Spec
- SF Bug #82 Certificate Creation out of Spec * Add Croatian translation
- Add Croatian translation * SF#xca#83 Inappropriate gcc argument order in configure script
- SF Bug #83 Inappropriate gcc argument order in configure script - update dependencies
* qt >= 4.6.0
- remove obsolete 0001-Fix-for-openssl-1.0.1i.patch
- replace xca-configure.patch with xca-linuxdoc.patch
- rebase xca-desktop.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 9 10:29:12 UTC 2014 - mrueckert@suse.de Thu Oct 9 10:29:12 UTC 2014 - mrueckert@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package xca # spec file for package xca
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,13 +25,15 @@ License: BSD-3-Clause
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Url: http://sourceforge.net/projects/xca/ Url: http://sourceforge.net/projects/xca/
Autoreqprov: on Autoreqprov: on
Source: http://downloads.sourceforge.net/project/xca/xca/%{version}/%{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Patch0: %{name}-doc_Makefile.patch
Patch1: %{name}-desktop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ >= 3.1.0 BuildRequires: gcc-c++ >= 3.1.0
%if 0%{?sles_version} == 10 %if 0%{?sles_version} == 10
BuildRequires: qt-devel >= 4.3.0 BuildRequires: qt-devel >= 4.6.0
%else %else
BuildRequires: libqt4-devel >= 4.3.0 BuildRequires: libqt4-devel >= 4.6.0
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: libtool BuildRequires: libtool
@ -39,14 +41,14 @@ BuildRequires: update-desktop-files
%else %else
BuildRequires: libtool-ltdl-devel BuildRequires: libtool-ltdl-devel
%endif %endif
BuildRequires: openssl-devel >= 1.0.1 BuildRequires: openssl-devel >= 0.9.8
BuildRequires: sgmltool BuildRequires: sgmltool
%if 0%{?sles_version} == 10 %if 0%{?sles_version} == 10
Requires: qt >= 4.3.0 Requires: qt >= 4.6.0
%else %else
Requires: libqt4 >= 4.3.0 Requires: libqt4 >= 4.6.0
%endif %endif
Requires: openssl >= 1.0.1 Requires: openssl >= 0.9.8
Requires: db Requires: db
%description %description
@ -57,31 +59,33 @@ Graphical certification authority is an interface for managing RSA keys and cert
%prep %prep
%setup -n %{name}-%{version} %setup -n %{name}-%{version}
%patch0
%patch1
%build %build
CFLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix} lib=%{_lib} libdir=%{_libdir} mandir=%{_mandir} \ #bootstrap
./configure --docdir=%{_docdir}/%{name} CFLAGS="$RPM_OPT_FLAGS" \
%configure --docdir=%{_datadir}/%{name}
%{__make} destdir=$PRM_BUILD_ROOT prefix=%{_prefix} %{?_smp_mflags} %{__make} destdir=$PRM_BUILD_ROOT prefix=%{_prefix} %{?_smp_mflags}
%install %install
%{__make} destdir=$RPM_BUILD_ROOT prefix=/usr install %{__make} destdir=$RPM_BUILD_ROOT prefix=/usr install
%suse_update_desktop_file -i -r %{name} Utility DesktopUtility %suse_update_desktop_file -i %{name} DesktopUtility
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS changelog COPYRIGHT VERSION %doc AUTHORS changelog COPYRIGHT VERSION
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/xca_db_stat %{_bindir}/%{name}_db_stat
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/mime/packages/%{name}.xml %{_datadir}/mime/packages/%{name}.xml
%{_datadir}/pixmaps/%{name}* %{_datadir}/pixmaps/%{name}*
%{_datadir}/%{name} %{_datadir}/%{name}
%{_mandir}/man1/%{name}.1.gz %{_mandir}/man1/%{name}.1.gz
%{_mandir}/man1/xca_db_stat.1.gz %{_mandir}/man1/%{name}_db_stat.1.gz
%changelog %changelog