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