- drop pth patch (--enable-gpg build fixed)
- update description (from README)
This commit is contained in:
Rex Dieter 2005-08-08 19:19:59 +00:00
parent 5cea16c68d
commit fb20eb6c92
6 changed files with 49 additions and 42 deletions

View File

@ -1,2 +1 @@
gnupg-1.9.17.tar.bz2 gnupg-1.9.18.tar.bz2
gnupg-1.9.17.tar.bz2.sig

View File

@ -1,11 +0,0 @@
--- gnupg-1.9.16/scd/command.c.pth 2005-04-20 05:23:46.000000000 -0500
+++ gnupg-1.9.16/scd/command.c 2005-04-26 09:17:35.000000000 -0500
@@ -1264,7 +1264,7 @@
else
locked_session = ctrl->server_local;
-#ifdef USE_GNU_PTH
+#if 0
if (rc && has_option (line, "--wait"))
{
pth_sleep (1); /* Better implement an event mechanism. However,

11
gnupg-1.9.18-lvalue.patch Normal file
View File

@ -0,0 +1,11 @@
--- gnupg-1.9.18/g10/misc.c.lvalue 2005-07-27 09:18:04.000000000 -0500
+++ gnupg-1.9.18/g10/misc.c 2005-08-08 14:00:37.000000000 -0500
@@ -986,7 +986,7 @@
}
else {
int rc;
- char *buffer;
+ unsigned char *buffer;
rc = gcry_mpi_aprint( GCRYMPI_FMT_HEX, &buffer, NULL, a );
assert( !rc );

BIN
gnupg-1.9.18.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -5,7 +5,7 @@
Summary: GNU utility for secure communication and data storage Summary: GNU utility for secure communication and data storage
Name: gnupg2 Name: gnupg2
Version: 1.9.17 Version: 1.9.18
Release: 1%{?dist} Release: 1%{?dist}
License: GPL License: GPL
Group: Applications/System Group: Applications/System
@ -14,8 +14,7 @@ Source1: ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-%{version}.tar.bz2.sig
URL: http://www.gnupg.org/ URL: http://www.gnupg.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: gnupg-1.9.16-pth.patch Patch1: gnupg-1.9.18-lvalue.patch
Patch1: gnupg-1.9.17-lvalue.patch
Patch2: gnupg-1.9.16-testverbose.patch Patch2: gnupg-1.9.16-testverbose.patch
Obsoletes: newpg < 0.9.5 Obsoletes: newpg < 0.9.5
@ -23,19 +22,23 @@ Obsoletes: newpg < 0.9.5
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info Requires(postun): /sbin/install-info
## gcc version in use? # Build with -pie/-fPIE?
BuildRequires: gcc BuildRequires: gcc
%define gcc_ver %(rpm -q --qf '%%{version}' gcc ) %define gcc_ver %(gcc -dumpversion)
%if "%{gcc_ver}" >= "3.2.3" %if "%{gcc_ver}" < "3.2.3"
%define pie 1 %define _without_pie --without pie
%endif %endif
%{!?_without_pie:%define _with_pie --with pie}
BuildRequires: libassuan-devel >= 0.6.10
BuildRequires: libgcrypt-devel => 1.2.0 BuildRequires: libgcrypt-devel => 1.2.0
BuildRequires: libgpg-error-devel => 1.0 BuildRequires: libgpg-error-devel => 1.0
Requires: libgpg-error >= 1.0 # We can probably get away without this explicit Requires: now. -- Rex
BuildRequires: libassuan-devel >= 0.6.10 #Requires: libgpg-error >= 1.0
BuildRequires: libksba-devel >= 0.9.11 BuildRequires: libksba-devel >= 0.9.12
BuildRequires: opensc-devel >= 0.9 # No longer used (?) -- Rex
#BuildRequires: opensc-devel >= 0.9
BuildRequires: gettext BuildRequires: gettext
BuildRequires: openldap-devel BuildRequires: openldap-devel
BuildRequires: libusb-devel BuildRequires: libusb-devel
@ -52,23 +55,24 @@ Provides: gpg
Provides: openpgp Provides: openpgp
%description %description
GnuPG 1.9 is the development version of GnuPG; it is based on some old GnuPG 1.9 is the future version of GnuPG; it is based on some gnupg-1.3
GnuPG 1.3 code and the previous NewPG package. It will eventually code and the previous newpg package. It will eventually lead to a
lead to a GnuPG 2.0 release. Note that GnuPG 1.4 and 1.9 are not yet GnuPG 2.0 release. Note that GnuPG 1.4 and 1.9 are not always in sync
in sync and thus features and bug fixes done in 1.4 are not available and thus features and bug fixes done in 1.4 are not necessarily
in 1.9. *Please keep on using 1.4.x for OpenPGP*; 1.9.x and 1.4.x may available in 1.9.
be installed simultaneously.
You should use this GnuPG version if you want to use the gpg-agent or
gpgsm (the S/MIME variant of gpg). Note that the gpg-agent is also
helpful when using the standard gpg versions (1.4.x as well as some of
the old 1.2.x). There are no problems installing 1.4 and 1.9
alongside; in act we suggest to do this.
You should use GnuPG 1.9 if you want to use the gpg-agent or gpgsm
(the S/MIME variant of gpg). The gpg-agent is also helpful when using
the stable gpg version 1.4 (as well as the old 1.2 series).
%prep %prep
%setup -q -n gnupg-%{version} %setup -q -n gnupg-%{version}
%patch0 -p1 -b .pth %patch1 -p1 -b .lvalue
%patch1 -p0 -b .lvalue
%patch2 -p1 -b .testverbose %patch2 -p1 -b .testverbose
sed -i -e 's/"libpcsclite\.so"/"%{pcsc_lib}"/' scd/{scdaemon,pcsc-wrapper}.c sed -i -e 's/"libpcsclite\.so"/"%{pcsc_lib}"/' scd/{scdaemon,pcsc-wrapper}.c
@ -76,11 +80,11 @@ sed -i -e 's/"libpcsclite\.so"/"%{pcsc_lib}"/' scd/{scdaemon,pcsc-wrapper}.c
%build %build
%{?pie:CFLAGS="$RPM_OPT_FLAGS -fPIE" ; export CFLAGS} %{?_with_pie:CFLAGS="$RPM_OPT_FLAGS -fPIE" ; export CFLAGS}
%{?pie:LDFLAGS="$RPM_OPT_FLAGS -pie" ; export LDFLAG} %{?_with_pie:LDFLAGS="$RPM_OPT_FLAGS -pie" ; export LDFLAG}
%configure \ %configure \
--program-prefix="%{?_program_prefix}" \ --disable-dependency-tracking \
--disable-rpath \ --disable-rpath \
--enable-gpg --enable-gpg
@ -117,17 +121,17 @@ fi
#docs say to install suid root, but we won't, for now. #docs say to install suid root, but we won't, for now.
#attr(4755,root,root) %{_bindir}/gpg2 #attr(4755,root,root) %{_bindir}/gpg2
%{_bindir}/gpg2 %{_bindir}/gpg2
%{_bindir}/gpgv2
%{_datadir}/gnupg
%{_bindir}/gpg-connect-agent %{_bindir}/gpg-connect-agent
%{_bindir}/gpg-agent %{_bindir}/gpg-agent
%{_bindir}/gpgconf %{_bindir}/gpgconf
%{_bindir}/gpgkey2ssh %{_bindir}/gpgkey2ssh
%{_bindir}/gpgsm* %{_bindir}/gpgsm*
%{_bindir}/gpgv2
%{_bindir}/kbxutil %{_bindir}/kbxutil
%{_bindir}/scdaemon %{_bindir}/scdaemon
%{_bindir}/watchgnupg %{_bindir}/watchgnupg
%{_sbindir}/* %{_sbindir}/*
%{_datadir}/gnupg
%{_libdir}/gnupg %{_libdir}/gnupg
%{_libexecdir}/* %{_libexecdir}/*
%{_infodir}/* %{_infodir}/*
@ -138,6 +142,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Aug 8 2005 Rex Dieter <rexdieter[AT]users.sf.net> - 1.9.18-1
- 1.9.18
- drop pth patch (--enable-gpg build fixed)
- update description (from README)
* Fri Jul 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.9.17-1 * Fri Jul 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.9.17-1
- 1.9.17, signal info patch applied upstream (#162264). - 1.9.17, signal info patch applied upstream (#162264).
- Patch to fix lvalue build error with gcc4 (upstream #485). - Patch to fix lvalue build error with gcc4 (upstream #485).

View File

@ -1,2 +1 @@
a1bf98c5ec0c5c316b4ae6f017f02fa3 gnupg-1.9.17.tar.bz2 221d843dc23b4f33cdb8a91788a00e4d gnupg-1.9.18.tar.bz2
9c60e57f39a65d7be048344f2c03a4b2 gnupg-1.9.17.tar.bz2.sig