2007-01-16 00:15:33 +01:00
|
|
|
#
|
2007-05-11 15:35:54 +02:00
|
|
|
# spec file for package gpg2 (Version 2.0.4)
|
2007-01-16 00:15:33 +01:00
|
|
|
#
|
2007-01-29 16:59:51 +01:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:15:33 +01:00
|
|
|
# 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: gpg2
|
2007-05-23 23:18:51 +02:00
|
|
|
BuildRequires: expect krb5 libassuan libgcrypt-devel libksba-devel pcsc-lite
|
|
|
|
BuildRequires: libusb-devel pth readline-devel zlib-devel
|
2007-06-21 21:56:01 +02:00
|
|
|
BuildRequires: openldap2 openldap2-devel
|
2007-01-16 00:15:33 +01:00
|
|
|
URL: http://www.gnupg.org/aegypten2/
|
|
|
|
License: GNU General Public License (GPL)
|
|
|
|
Group: Productivity/Networking/Security
|
|
|
|
PreReq: %install_info_prereq
|
|
|
|
Autoreqprov: on
|
2007-05-16 16:20:18 +02:00
|
|
|
Requires: pinentry, dirmngr
|
2007-06-21 21:56:01 +02:00
|
|
|
Provides: newpg gpg = 1.4.7 gnupg = %{version}
|
|
|
|
Obsoletes: newpg gpg <= 1.4.7
|
2007-01-16 00:15:33 +01:00
|
|
|
Summary: GnuPG 2
|
2007-05-11 15:35:54 +02:00
|
|
|
Version: 2.0.4
|
2007-06-21 21:56:01 +02:00
|
|
|
Release: 18
|
2007-05-11 15:35:54 +02:00
|
|
|
Source: gnupg-%{version}-svn4472.tar.bz2
|
2007-01-16 00:15:33 +01:00
|
|
|
%define nld_build 0
|
|
|
|
Patch2: nld-build.diff
|
|
|
|
Patch5: gnupg-1.9.22-ccid-driver-fix.diff
|
|
|
|
Patch6: gnupg-1.9.18-tmpdir.diff
|
2007-06-21 21:56:01 +02:00
|
|
|
Patch7: gnupg-2.0.4-install_tools.diff
|
2007-01-16 00:15:33 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
GnuPG 2 is the successor of "GnuPG" or GPG. It provides: GPGSM,
|
|
|
|
gpg-agent, and a keybox library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Werner Koch <wk@gnupg.org>
|
|
|
|
Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
%prep
|
2007-05-11 15:35:54 +02:00
|
|
|
%setup -q -n gnupg-%{version}-svn4472
|
2007-01-16 00:15:33 +01:00
|
|
|
%if %nld_build
|
|
|
|
%patch2
|
|
|
|
%endif
|
|
|
|
%patch5
|
|
|
|
%patch6
|
2007-06-21 21:56:01 +02:00
|
|
|
%patch7
|
2007-01-16 00:15:33 +01:00
|
|
|
|
|
|
|
%build
|
2007-06-21 21:56:01 +02:00
|
|
|
gcc_version=`gcc -dumpversion 2>&1 | sed 's/^\([0-9]\+\)\..*/\1/'`
|
2007-01-16 00:15:33 +01:00
|
|
|
# opensc should be added to neededforbuild, but the support
|
|
|
|
# in gpg2 is broken atm.
|
|
|
|
autoreconf -fi
|
|
|
|
./configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
--with-agent-pgm=%{_prefix}/bin/gpg-agent \
|
|
|
|
--with-pinentry-pgm=%{_prefix}/bin/pinentry \
|
|
|
|
--with-dirmngr-pgm=%{_prefix}/bin/dirmngr \
|
|
|
|
--enable-ldap \
|
|
|
|
--enable-external-hkp \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-gpgsm=yes \
|
|
|
|
--enable-gpg \
|
|
|
|
--enable-static-rnd=linux \
|
|
|
|
--with-gnu-ld \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--libexecdir=%{_libdir} \
|
|
|
|
--program-prefix="" %{_target_cpu}-suse-linux \
|
|
|
|
--with-scdaemon-pgm=%{_prefix}/bin/scdaemon
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
rm $RPM_BUILD_ROOT/usr/share/info/dir
|
2007-02-15 18:18:20 +01:00
|
|
|
rm $RPM_BUILD_ROOT/usr/share/gnupg/FAQ
|
|
|
|
rm $RPM_BUILD_ROOT/usr/share/gnupg/faq.html
|
2007-06-21 21:56:01 +02:00
|
|
|
# compat symlinks
|
|
|
|
ln -sf gpg2 $RPM_BUILD_ROOT/usr/bin/gpg
|
|
|
|
ln -sf gpgv2 $RPM_BUILD_ROOT/usr/bin/gpgv
|
|
|
|
ln -sf gpg2.1 $RPM_BUILD_ROOT/usr/share/man/man1/gpg.1
|
|
|
|
ln -sf gpgv2.1 $RPM_BUILD_ROOT/usr/share/man/man1/gpgv.1
|
2007-01-16 00:15:33 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/gnupg.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnupg.info.gz
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-02-15 18:18:20 +01:00
|
|
|
%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO VERSION doc/FAQ doc/faq.html
|
2007-01-16 00:15:33 +01:00
|
|
|
%doc %_infodir/gnupg*
|
2007-01-29 16:59:51 +01:00
|
|
|
%doc %{_mandir}/*/*.gz
|
2007-01-16 00:15:33 +01:00
|
|
|
/usr/bin/*
|
2007-01-30 00:52:49 +01:00
|
|
|
%{_libdir}/[^d]*
|
2007-01-16 00:15:33 +01:00
|
|
|
/usr/sbin/addgnupghome
|
2007-04-04 20:30:29 +02:00
|
|
|
/usr/sbin/applygnupgdefaults
|
2007-01-29 16:59:51 +01:00
|
|
|
/usr/share/locale/*/LC_MESSAGES/gnupg2.mo
|
2007-01-16 00:15:33 +01:00
|
|
|
/usr/share/gnupg
|
|
|
|
|
2007-03-30 02:08:34 +02:00
|
|
|
%changelog
|
2007-06-21 21:56:01 +02:00
|
|
|
* Thu Jun 21 2007 - ro@suse.de
|
|
|
|
- install compat symlinks for gpg2 and gpgv2
|
|
|
|
- install gpg-zip and gpgsplit
|
|
|
|
- added openldap2 to buildrequires (for gpgkeys_ldap)
|
|
|
|
- added fPIE/pie to CFLAGS/LDFLAGS for gpgsplit
|
2007-05-23 23:18:51 +02:00
|
|
|
* Wed May 23 2007 - dmueller@suse.de
|
|
|
|
- add libusb-devel build requires
|
2007-05-16 16:20:18 +02:00
|
|
|
* Wed May 16 2007 - ltinkl@suse.cz
|
|
|
|
- remove gpg from Require's (#273491)
|
2007-05-11 15:35:54 +02:00
|
|
|
* Fri May 11 2007 - ltinkl@suse.cz
|
|
|
|
- updated to 2.0.4 stable snapshot
|
2007-04-04 20:30:29 +02:00
|
|
|
* Wed Apr 04 2007 - ltinkl@suse.cz
|
|
|
|
- update to 2.0.3
|
|
|
|
- fixed #251605 - VUL-0: signing issues within GNUPG
|
|
|
|
- removed outdated patches
|
2007-03-30 02:08:34 +02:00
|
|
|
* Fri Mar 30 2007 - ro@suse.de
|
|
|
|
- added zlib-devel to buildreq
|
2007-02-15 18:18:20 +01:00
|
|
|
* Wed Feb 14 2007 - ltinkl@suse.cz
|
|
|
|
- fix file conflicts with gpg (#242133)
|
2007-01-30 00:52:49 +01:00
|
|
|
* Tue Jan 30 2007 - ro@suse.de
|
|
|
|
- fix build (exclude possible debuginfo directory)
|
2007-01-29 16:59:51 +01:00
|
|
|
* Mon Jan 29 2007 - ltinkl@suse.cz
|
|
|
|
- fix #221212 - gpg2 is not updated and do not contain documentation
|
|
|
|
- fix #233525 - gpg1/2: bug in vasprintf() implementation
|
2007-01-16 00:15:33 +01:00
|
|
|
* Thu Nov 30 2006 - anicka@suse.cz
|
|
|
|
- fix overflow in openfile.c (CVE-2006-6169, #224108)
|
|
|
|
* Mon Sep 11 2006 - pnemec@suse.cz
|
|
|
|
- updated gnupg to new version 1.9.22
|
|
|
|
Enhanced pkcs#12 support
|
|
|
|
Support for the CardMan 4040 PCMCIA
|
|
|
|
Collected bug fixes
|
|
|
|
- updated pth library to 2.0.7
|
|
|
|
- changed using pinetry-qt to pinentry
|
|
|
|
- removed -cfb.diff -signature.patch -cap_large_uid.patch patches
|
|
|
|
they are no longer needed
|
|
|
|
- change patch -warnings-fix.diff -ccid-driver-fix.diff
|
|
|
|
* Thu Aug 17 2006 - pnemec@suse.de
|
|
|
|
- remove unused package in build requires
|
|
|
|
* Wed Aug 09 2006 - pnemec@suse.cz
|
|
|
|
- fix spec file to build with new gettext 0.15
|
|
|
|
* Mon Aug 07 2006 - pnemec@suse.cz
|
|
|
|
- fixed security fix with large uid CVE-2006-3746 [#195569]
|
|
|
|
* Thu Feb 23 2006 - pnemec@suse.cz
|
|
|
|
- fixed signature security problem CVE-2006-0455 (bugzilla#150742)
|
|
|
|
* Thu Feb 02 2006 - pnemec@suse.cz
|
|
|
|
- fixed install info in spec file
|
|
|
|
* Thu Jan 26 2006 - sbrabec@suse.cz
|
|
|
|
- Added missing %%install_info.
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Fri Aug 05 2005 - postadal@suse.cz
|
|
|
|
- updated to version to 1.9.18
|
|
|
|
- removed obsoleted gcc patch
|
|
|
|
- added patch tmpdir.diff for using $TMPDIR by gpg-agent [#bug95732]
|
|
|
|
* Tue Jul 12 2005 - postadal@suse.cz
|
|
|
|
- updated to version to 1.9.17
|
|
|
|
- updated pth to version 2.0.4
|
|
|
|
- removed obsoleted patch agent-cache-fix.diff
|
|
|
|
- fixed ccid-driver.c
|
|
|
|
- fixed gcc4
|
|
|
|
- explicitly enabled gpg building in configure
|
|
|
|
* Thu Mar 24 2005 - postadal@suse.cz
|
|
|
|
- fixed caching passphrase in gpg-agent [#71975]
|
|
|
|
* Tue Mar 22 2005 - postadal@suse.cz
|
|
|
|
- fixed on 64bit archs [#72440]
|
|
|
|
* Wed Feb 23 2005 - postadal@suse.cz
|
|
|
|
- security fix for cfb-cipher issue [#65862]
|
|
|
|
* Wed Jan 12 2005 - postadal@suse.cz
|
|
|
|
- update to version 1.9.14
|
|
|
|
- removed obsoleted patch automake-fixes.diff
|
|
|
|
* Tue Sep 28 2004 - adrian@suse.de
|
|
|
|
- link against libpth staticaly to make S/MIME support in kmail
|
|
|
|
usable. Hopefully we can convert this to a native thread implementation
|
|
|
|
later. (#46260)
|
|
|
|
* Sat Jul 31 2004 - adrian@suse.de
|
|
|
|
- update to version 1.9.10
|
|
|
|
* Tue Jul 20 2004 - adrian@suse.de
|
|
|
|
- remove openct and opensc packages from nfb
|
|
|
|
(we will need thread support, when enabling card reader support,
|
|
|
|
but it isn't anyway implemented yet in gpg2)
|
|
|
|
* Mon Jul 12 2004 - adrian@suse.de
|
|
|
|
- use GnuPG 2 sources version 1.9.9
|
|
|
|
- opensc support misses some functions atm, support disabled for now
|
|
|
|
- threading is disabled, since we do not have a pth package for now
|
|
|
|
- prepare for nld
|
|
|
|
* Thu Feb 26 2004 - postadal@suse.cz
|
|
|
|
- adapted some functions to the libgcrypt version 1.1.91 [#34987]
|
|
|
|
- added libgpg-error to needforbuild flag
|
|
|
|
* Wed Feb 18 2004 - kukuk@suse.de
|
|
|
|
- Don't build against libpth.
|
|
|
|
* Tue Feb 10 2004 - postadal@suse.cz
|
|
|
|
- fixed code that broke strict aliasing
|
|
|
|
* Fri Dec 05 2003 - garloff@suse.de
|
|
|
|
- disable core dumpe in child after forking. [#33499]
|
|
|
|
* Mon Aug 11 2003 - adrian@suse.de
|
|
|
|
- cleanup #neededforbuild and requires
|
|
|
|
* Mon Aug 04 2003 - ro@suse.de
|
|
|
|
- added openct to neededforbuild
|
|
|
|
* Fri Jul 18 2003 - mc@suse.de
|
|
|
|
- build against opensc
|
|
|
|
* Thu Jun 19 2003 - schwab@suse.de
|
|
|
|
- Add %%install_info.
|
|
|
|
* Mon Mar 17 2003 - adrian@suse.de
|
|
|
|
- add signal handler to check if the parent is still alive and
|
|
|
|
exit if not
|
|
|
|
- use pinentry-qt by default (/usr/bin/pinentry do not exist)
|
|
|
|
* Tue Feb 11 2003 - mc@suse.de
|
|
|
|
- initial release
|