cvsdist 682f7d3
Summary: A GNU utility for secure communication and data storage.
cvsdist 682f7d3
Name: gnupg
9833c03
Version: 1.4.2
f6d0552
Release: 3.2.1
cvsdist d944fb6
License: GPL
cvsdist 75b91a5
Group: Applications/System
cvsdist b8e58ed
Source0: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2
cvsdist b8e58ed
Source1: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2.sig
cvsdist 4492a69
Source2: gnupg-shm-coprocessing.expect
cvsdist b8e58ed
Source3: 57548DCD.gpg
123e804
Patch0: gnupg-1.4.1-gcc.patch
9833c03
Patch1: gnupg-1.4.2-curl.patch
03dc10f
Patch2: gnupg-1.4.2-none.patch
cvsdist 682f7d3
URL: http://www.gnupg.org/
cb24e1c
BuildPrereq: autoconf, automake, bzip2-devel, expect, ncurses-devel
f5a7438
BuildPrereq: openldap-devel, readline-devel, zlib-devel
cb24e1c
#%ifnarch s390 s390x
cb24e1c
#BuildPrereq: libusb-devel
cb24e1c
#%endif
cvsdist 3d8a9a2
Provides: gpg, openpgp
cvsdist e5a9682
Prereq: /sbin/install-info
cvsdist 75b91a5
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist 682f7d3
cvsdist 682f7d3
%description
cvsdist 682f7d3
GnuPG (GNU Privacy Guard) is a GNU utility for encrypting data and
cvsdist 682f7d3
creating digital signatures. GnuPG has advanced key management
cvsdist 682f7d3
capabilities and is compliant with the proposed OpenPGP Internet
cvsdist 3d8a9a2
standard described in RFC2440. Since GnuPG doesn't use any patented
cvsdist 682f7d3
algorithm, it is not compatible with any version of PGP2 (PGP2.x uses
cvsdist e59fcd2
only IDEA for symmetric-key encryption, which is patented worldwide).
cvsdist 682f7d3
cvsdist 682f7d3
%prep
cvsdist 682f7d3
%setup -q
9833c03
%patch0 -p1 -b .gcc
9833c03
%patch1 -p0 -b .curl
df07538
pushd g10
df07538
%patch2 -p0 -b .none
df07538
popd
cb24e1c
autoreconf
cvsdist 682f7d3
cvsdist 682f7d3
%build
cvsdist 4b76578
configure_flags=
cvsdist 4b76578
cvsdist 4b76578
%ifarch ppc64
cvsdist 4b76578
configure_flags=--disable-asm
cvsdist 4b76578
%endif
0b4d7ae
CFLAGS="$RPM_OPT_FLAGS -fPIE -DPIC" ; export CFLAGS
cb24e1c
LDFLAGS="$RPM_OPT_FLAGS -pie -Wl,-z,relro,-z,now" ; export LDFLAGS
f5a7438
%configure \
f5a7438
	--disable-rpath \
f5a7438
	--libexecdir=%{_libdir} \
123e804
	--with-zlib --with-bzip2 --with-readline --enable-noexecstack \
f5a7438
	$configure_flags
cvsdist 4b76578
make %{?_smp_mflags}
cvsdist 4492a69
make check
e318985
env LANG=C expect -f $RPM_SOURCE_DIR/gnupg-shm-coprocessing.expect
cvsdist 682f7d3
cvsdist 682f7d3
%clean
cvsdist 682f7d3
rm -rf $RPM_BUILD_ROOT
cvsdist 682f7d3
cvsdist 682f7d3
%install
cvsdist e5a9682
rm -rf $RPM_BUILD_ROOT
cfe79f1
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist e5a9682
install -m644 doc/gpg.info doc/gpgv.info $RPM_BUILD_ROOT/%{_infodir}
cvsdist 682f7d3
sed 's^\.\./g[0-9\.]*/^^g' tools/lspgpot > lspgpot
cvsdist 682f7d3
install -m755 lspgpot $RPM_BUILD_ROOT%{_bindir}/lspgpot
cvsdist e899983
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
cvsdist 75b91a5
%find_lang %name
cvsdist 75b91a5
cvsdist e5a9682
%post
3feae88
if test -s %{_infodir}/gpg.info.gz ; then
3feae88
    /sbin/install-info --entry="* gpg: (gpg).                encryption and signing tool" %{_infodir}/gpg.info.gz %{_infodir}/dir
3feae88
fi
3feae88
if test -s %{_infodir}/gpgv.info.gz ; then
3feae88
    /sbin/install-info --entry="* gpgv: (gpgv).              signature verification tool" %{_infodir}/gpgv.info.gz %{_infodir}/dir
3feae88
fi
3feae88
exit 0
cvsdist e5a9682
cvsdist e5a9682
%preun
cvsdist e5a9682
if [ $1 = 0 ]; then
3feae88
    if test -s %{_infodir}/gpgv.info.gz ; then
3feae88
        /sbin/install-info --delete %{_infodir}/gpgv.info.gz %{_infodir}/dir
3feae88
    fi
3feae88
    if test -s %{_infodir}/gpg.info.gz ; then
3feae88
        /sbin/install-info --delete %{_infodir}/gpg.info.gz %{_infodir}/dir
3feae88
    fi
cvsdist e5a9682
fi
3feae88
exit 0
cvsdist e5a9682
cvsdist 75b91a5
%files -f %{name}.lang
cvsdist 682f7d3
%defattr(-,root,root)
cvsdist e5a9682
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS PROJECTS README THANKS TODO
cvsdist e899983
%doc doc/DETAILS doc/HACKING doc/OpenPGP doc/samplekeys.asc
cvsdist 3d8a9a2
%{_bindir}/*
cvsdist e5a9682
%dir %{_datadir}/%{name}
cvsdist e899983
%{_datadir}/%{name}/FAQ
cvsdist e899983
%{_datadir}/%{name}/faq.html
cvsdist e5a9682
%{_datadir}/%{name}/options.skel
cvsdist e5a9682
%{_infodir}/*
cvsdist 3d8a9a2
%{_libdir}/%{name}
cvsdist 3d8a9a2
%{_mandir}/man1/*
cvsdist e899983
%{_mandir}/man7/*
cvsdist 682f7d3
cvsdist 682f7d3
%changelog
f6d0552
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.4.2-3.2.1
f6d0552
- bump again for double-long bug on ppc(64)
f6d0552
4fd2205
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.4.2-3.2
4fd2205
- rebuilt for new gcc4.1 snapshot and glibc changes
4fd2205
110f5dc
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
110f5dc
- rebuilt
110f5dc
cfe79f1
* Tue Aug  9 2005 Nalin Dahyabhai <nalin@redhat.com> 1.4.2-3
cfe79f1
- don't override libexecdir any more; we don't need to (#165462)
cfe79f1
df07538
* Thu Aug  4 2005 Nalin Dahyabhai <nalin@redhat.com> 1.4.2-2
df07538
- pull in David Shaw's fix for key generation in batch mode
df07538
3feae88
* Fri Jul 29 2005 Nalin Dahyabhai <nalin@redhat.com>
3feae88
- change %%post to check if the info files are there before attempting to
3feae88
  add or remove them from the info index (#91641)
3feae88
9833c03
* Wed Jul 27 2005 Nalin Dahyabhai <nalin@redhat.com> 1.4.2-1
9833c03
- update to 1.4.2
9833c03
0b4d7ae
* Thu May  5 2005 Nalin Dahyabhai <nalin@redhat.com> 1.4.1-3
0b4d7ae
- fix the execstack problem correctly this time (arjanv)
0b4d7ae
e804946
* Thu Apr 28 2005 Nalin Dahyabhai <nalin@redhat.com> 1.4.1-2
e804946
- add -Wa,--noexecstack back to CFLAGS when invoking configure, the
e804946
  --enable-noexecstack flag only seems to affect asm modules
e804946
123e804
* Wed Mar 16 2005 Nalin Dahyabhai <nalin@redhat.com> 1.4.1-1
123e804
- update to 1.4.1
123e804
f89cc5c
* Tue Mar  8 2005 Nalin Dahyabhai <nalin@redhat.com> 1.4.0-2
f89cc5c
- build asm modules with -Wa,--noexecstack
f89cc5c
cb24e1c
* Mon Jan 24 2005 Nalin Dahyabhai <nalin@redhat.com> 1.4.0-1
cb24e1c
- comment out libusb-devel req for now so that we can build
cb24e1c
- build the mpi asm modules with gcc, not a cpp/as setup so that we don't end
cb24e1c
  up with text relocations in the resulting binaries (#145836)
cb24e1c
cb24e1c
* Wed Dec 22 2004 Nalin Dahyabhai <nalin@redhat.com>
f5a7438
- update to 1.4.0
f5a7438
f5a7438
* Mon Nov  1 2004 Nalin Dahyabhai <nalin@redhat.com>
f5a7438
- add a pile of buildprereq
f5a7438
9978329
* Mon Nov  1 2004 Robert Scheck <redhat@linuxnetz.de> 1.2.6-2
e318985
- set LANG=C before running shm coprocessing build-time check (#129873)
e318985
cvsdist f2ef8b9
* Thu Aug 26 2004 Nalin Dahyabhai <nalin@redhat.com> 1.2.6-1
cvsdist f2ef8b9
- update to 1.2.6
cvsdist f2ef8b9
cvsdist f2ef8b9
* Tue Jul 27 2004 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e754599
- update to 1.2.5
cvsdist f2ef8b9
- reenable optimization on ppc64
cvsdist e754599
cvsdist d12cf67
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist d12cf67
- rebuilt
cvsdist d12cf67
cvsdist 0ac0221
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 0ac0221
- rebuilt
cvsdist 0ac0221
cvsdist 0ac0221
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 0ac0221
- rebuilt
cvsdist 0ac0221
cvsdist 0ac0221
* Fri Feb  6 2004 Nalin Dahyabhai <nalin@redhat.com> 1.2.4-1
cvsdist 0ac0221
- update to 1.2.4, dropping separate ElGamal disabling patch
cvsdist 0ac0221
cvsdist 8ae3a76
* Fri Dec 12 2003 Nalin Dahyabhai <nalin@redhat.com> 1.2.3-3
cvsdist 8ae3a76
- rebuild
cvsdist 8ae3a76
cvsdist 8ae3a76
* Mon Dec  1 2003 Nalin Dahyabhai <nalin@redhat.com> 1.2.3-2
cvsdist 8ae3a76
- incorporate patch from gnupg-announce which removes the ability to create
cvsdist 8ae3a76
  ElGamal encrypt+sign keys or to sign messages with such keys
cvsdist 8ae3a76
cvsdist b8e58ed
* Mon Oct 27 2003 Nalin Dahyabhai <nalin@redhat.com> 1.2.3-1
cvsdist b8e58ed
- use -fPIE instead of -fpie because some arches need it
cvsdist b8e58ed
cvsdist b8e58ed
* Mon Oct 27 2003 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b8e58ed
- build gnupg as a position-independent executable (Arjan van de Ven)
cvsdist b8e58ed
cvsdist b8e58ed
* Mon Aug 25 2003 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b8e58ed
- add Werner's key as a source file
cvsdist b8e58ed
cvsdist b8e58ed
* Fri Aug 22 2003 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b8e58ed
- update to 1.2.3
cvsdist b8e58ed
cvsdist 4b76578
* Thu Jun 19 2003 Nalin Dahyabhai <nalin@redhat.com> 1.2.2-3
cvsdist 4492a69
- disable asm and optimization on ppc64
cvsdist 4492a69
cvsdist 4b76578
* Fri Jun 13 2003 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 4492a69
- add a build-time check to ensure that shm coprocessing was enabled
cvsdist 4492a69
cvsdist 4b76578
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 4b76578
- rebuilt
cvsdist 4b76578
cvsdist 4b76578
* Mon May  5 2003 Nalin Dahyabhai <nalin@redhat.com> 1.2.2-1
cvsdist 4b76578
- update to 1.2.2, fixing CAN-2003-0255
cvsdist e076035
cvsdist 4b76578
* Thu May  1 2003 Elliot Lee <sopwith@redhat.com> 1.2.1-5
cvsdist 4b76578
- Add ppc64 patch to fix up global symbol names in assembly
cvsdist 4b76578
cvsdist 4b76578
* Fri Feb 28 2003 Kevin Sonney <ksonney@redhat.com> 1.2.1-4
cvsdist 4492a69
- remove autoconf call on sparc
cvsdist 4b76578
cvsdist e899983
* Fri Feb  7 2003 Nalin Dahyabhai <nalin@redhat.com> 1.2.1-3
cvsdist e899983
- modify g10defs to look for helpers in libexecdir, because that's where they
cvsdist e899983
  get installed, per gnupg-users
cvsdist e899983
- actually drop updates for 1.0.7 which are no longer needed for 1.2.1
cvsdist e899983
  
cvsdist e899983
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist e899983
- rebuilt
cvsdist e899983
cvsdist e899983
* Mon Oct 28 2002 Nalin Dahyabhai <nalin@redhat.com> 1.2.1-1
cvsdist e899983
- update to 1.2.1
cvsdist e899983
cvsdist e899983
* Tue Sep 24 2002 Nalin Dahyabhai <nalin@redhat.com> 1.2.0-1
cvsdist e899983
- update to 1.2.0
cvsdist e899983
- stop stripping files manually, let the buildroot policies handle it
cvsdist e899983
- add translations updates ca and fr
cvsdist ada5cfe
cvsdist d18329c
* Tue Aug 27 2002 Nalin Dahyabhai <nalin@redhat.com> 1.0.7-6
cvsdist d18329c
- rebuild
cvsdist d18329c
cvsdist 0619b01
* Fri Jul 24 2002 Nalin Dahyabhai <nalin@redhat.com> 1.0.7-5
cvsdist 0619b01
- specify a menu entry when installing info pages
cvsdist 0619b01
cvsdist e5a9682
* Thu Jul 24 2002 Nalin Dahyabhai <nalin@redhat.com> 1.0.7-4
cvsdist e5a9682
- add and install info pages (#67931)
cvsdist e5a9682
- don't include two copies of the faq, add new doc files (#67931)
cvsdist e5a9682
cvsdist e5a9682
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist e5a9682
- automated rebuild
cvsdist e5a9682
cvsdist e5a9682
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist e5a9682
- automated rebuild
cvsdist e5a9682
cvsdist e5a9682
* Tue Apr 30 2002 Nalin Dahyabhai <nalin@redhat.com> 1.0.7-1
cvsdist e5a9682
- update to 1.0.7
cvsdist e5a9682
cvsdist 3d8a9a2
* Fri Feb 22 2002 Nalin Dahyabhai <nalin@redhat.com> 1.0.6-5
cvsdist 3d8a9a2
- rebuild
cvsdist 3d8a9a2
cvsdist 3d8a9a2
* Wed Jan 23 2002 Nalin Dahyabhai <nalin@redhat.com> 1.0.6-4
cvsdist 3d8a9a2
- make the codeset patch unconditional
cvsdist 3d8a9a2
cvsdist 3d8a9a2
* Thu Aug  9 2001 Nalin Dahyabhai <nalin@redhat.com> 1.0.6-3
cvsdist c975d6c
- set message output encoding to match the message encoding, based on a
cvsdist c975d6c
  patch by goeran@uddeborg.pp.se (#49182)
cvsdist c975d6c
cvsdist 3d8a9a2
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> 1.0.6-2
cvsdist c98a90c
- Bump release + rebuild.
cvsdist c98a90c
cvsdist 3d8a9a2
* Wed May 30 2001 Nalin Dahyabhai <nalin@redhat.com> 1.0.6-1
cvsdist d944fb6
- update to 1.0.6, fixes format string exploit
cvsdist d944fb6
cvsdist 2a52796
* Mon Apr 30 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2a52796
- update to 1.0.5, dropping various patches
cvsdist 2a52796
cvsdist 75b91a5
* Tue Feb 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 75b91a5
- langify
cvsdist 75b91a5
- strip binaries in /usr/lib/gnupg
cvsdist 75b91a5
cvsdist 75b91a5
* Tue Feb 27 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 75b91a5
- fix the group
cvsdist 75b91a5
cvsdist 390d3a7
* Tue Dec 18 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 390d3a7
- go with this version -- 1.0.4c includes a lot of changes beyond just the
cvsdist 390d3a7
  two security fixes
cvsdist 390d3a7
cvsdist 390d3a7
* Thu Dec 14 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 390d3a7
- add the --allow-secret-key-import patch from CVS in case we don't get a 1.0.5
cvsdist 390d3a7
cvsdist 390d3a7
* Fri Dec  8 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 390d3a7
- build as an errata for 7
cvsdist 390d3a7
cvsdist 390d3a7
* Fri Dec  1 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 390d3a7
- add a security patch for a problem with detached signature verification...
cvsdist 390d3a7
  might hold off for an impending 1.0.5, though
cvsdist 390d3a7
cvsdist e59fcd2
* Thu Oct 19 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e59fcd2
- fix a bug preventing creation of .gnupg directories
cvsdist e59fcd2
cvsdist e59fcd2
* Wed Oct 18 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e59fcd2
- add patch to recognize AES signatures properly (#19312)
cvsdist e59fcd2
- add gpgv to the package
cvsdist e59fcd2
cvsdist e59fcd2
* Tue Oct 17 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e59fcd2
- update to 1.0.4 to get security fix
cvsdist e59fcd2
cvsdist e59fcd2
* Tue Oct 10 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e59fcd2
- fix man page typos (#18797)
cvsdist e59fcd2
cvsdist e59fcd2
* Thu Sep 21 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e59fcd2
- update to 1.0.3
cvsdist e59fcd2
- switch to bundled copy of the man page
cvsdist e59fcd2
cvsdist 682f7d3
* Wed Aug 30 2000 Matt Wilson <msw@redhat.com>
cvsdist 682f7d3
- rebuild to cope with glibc locale binary incompatibility, again
cvsdist 682f7d3
cvsdist 682f7d3
* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 682f7d3
- revert locale patch (#16222)
cvsdist 682f7d3
cvsdist 682f7d3
* Tue Aug 15 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 682f7d3
- set all locale data instead of LC_MESSAGES and LC_TIME (#16222)
cvsdist 682f7d3
cvsdist 682f7d3
* Sun Jul 23 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 682f7d3
- update to 1.0.2
cvsdist 682f7d3
cvsdist 682f7d3
* Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 682f7d3
- rebuild to cope with glibc locale binary incompatibility
cvsdist 682f7d3
cvsdist 682f7d3
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
cvsdist 682f7d3
- automatic rebuild
cvsdist 682f7d3
cvsdist 682f7d3
* Wed Jul 12 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 682f7d3
- include lspgpot (#13772)
cvsdist 682f7d3
cvsdist 682f7d3
* Mon Jun  5 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 682f7d3
- rebuild in new build environment
cvsdist 682f7d3
cvsdist 682f7d3
* Fri Feb 18 2000 Bill Nottingham <notting@redhat.com>
cvsdist 682f7d3
- build of 1.0.1
cvsdist 682f7d3
cvsdist 682f7d3
* Fri Sep 10 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 682f7d3
- version 1.0.0 build for 6.1us