rpms/gnupg2/FC-5 .cvsignore, 1.8, 1.9 gnupg2.spec, 1.34, 1.35 gpg-agent-shutdown.sh, 1.1, 1.2 gpg-agent-startup.sh, 1.1, 1.2 sources, 1.9, 1.10 gnupg-1.9.18-lvalue.patch, 1.1, NONE
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Thu Jun 22 16:55:12 UTC 2006
- Previous message (by thread): rpms/asymptote/FC-5 .cvsignore, 1.2, 1.3 asymptote.spec, 1.3, 1.4 sources, 1.2, 1.3 asy-init.el, 1.1, NONE asymptote-1.05-docdir.patch, 1.1, NONE
- Next message (by thread): rpms/gnupg2/FC-4 .cvsignore, 1.7, 1.8 gnupg2.spec, 1.17, 1.18 gpg-agent-shutdown.sh, 1.1, 1.2 gpg-agent-startup.sh, 1.1, 1.2 sources, 1.8, 1.9 gnupg-1.9.18-lvalue.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rdieter
Update of /cvs/extras/rpms/gnupg2/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21140
Modified Files:
.cvsignore gnupg2.spec gpg-agent-shutdown.sh
gpg-agent-startup.sh sources
Removed Files:
gnupg-1.9.18-lvalue.patch
Log Message:
* Thu Jun 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.9.21-3
- fix "gpg-agent not restarted after kde session crash/killed (#196327)
* Thu Jun 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.9.21-2
- 1.9.21
- omit gpg2 binary to address CVS-2006-3082 (#196190)
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gnupg2/FC-5/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore 20 Dec 2005 13:32:53 -0000 1.8
+++ .cvsignore 22 Jun 2006 16:55:12 -0000 1.9
@@ -1,2 +1,2 @@
-gnupg-1.9.20.tar.bz2
-gnupg-1.9.20.tar.bz2.sig
+gnupg-1.9.21.tar.bz2
+gnupg-1.9.21.tar.bz2.sig
Index: gnupg2.spec
===================================================================
RCS file: /cvs/extras/rpms/gnupg2/FC-5/gnupg2.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- gnupg2.spec 6 Mar 2006 20:35:49 -0000 1.34
+++ gnupg2.spec 22 Jun 2006 16:55:12 -0000 1.35
@@ -2,9 +2,16 @@
# Keep an eye on http://bugzilla.redhat.com/bugzilla/175744, in case these dirs go away or change
%define kde_scriptdir %{_sysconfdir}/kde
+# define _enable_gpg to build/include gnupg2 binary, currently disabled because:
+# * currently doesn't build
+# * has security issue (CVE-2006-3082)
+# * upstream devs say "You shall not build the gpg part. There is a reason why it is not
+# enabled by default"
+#define _enable_gpg --enable-gpg
+
Summary: Utility for secure communication and data storage
Name: gnupg2
-Version: 1.9.20
+Version: 1.9.21
Release: 3%{?dist}
License: GPL
@@ -20,7 +27,6 @@
Source10: gpg-agent-startup.sh
Source11: gpg-agent-shutdown.sh
-Patch1: gnupg-1.9.18-lvalue.patch
Patch2: gnupg-1.9.16-testverbose.patch
Obsoletes: newpg < 0.9.5
@@ -31,12 +37,7 @@
BuildRequires: libassuan-devel >= 0.6.10
BuildRequires: libgcrypt-devel => 1.2.0
BuildRequires: libgpg-error-devel => 1.0
-#ifarch x86_64
-# Hard-code libksba-0.9.11 for now (x86_64 'make check' fails)
-#BuildRequires: libksba-devel = 0.9.11
-#else
-BuildRequires: libksba-devel >= 0.9.13
-#endif
+BuildRequires: libksba-devel >= 0.9.15
BuildRequires: gettext
BuildRequires: openldap-devel
@@ -52,8 +53,10 @@
Requires: pinentry >= 0.7.1
+%if "%{?_enable_gpg:1}" == "1"
Provides: gpg
Provides: openpgp
+%endif
%description
GnuPG 1.9 is the future version of GnuPG; it is based on some gnupg-1.3
@@ -73,13 +76,8 @@
%prep
%setup -q -n gnupg-%{version}
-%patch1 -p1 -b .lvalue
%patch2 -p1 -b .testverbose
-#ifarch x86_64
-#sed -i -e 's|^NEED_KSBA_VERSION=.*|NEED_KSBA_VERSION=0.9.11|' configure.ac configure
-#endif
-
# pcsc-lite library major: 0 in 1.2.0, 1 in 1.2.9+ (dlopen()'d in pcsc-wrapper)
# Note: this is just the name of the default shared lib to load in scdaemon,
# it can use other implementations too (including non-pcsc ones).
@@ -97,7 +95,7 @@
%configure \
--disable-rpath \
--disable-dependency-tracking \
- --enable-gpg
+ %{?_enable_gpg}
make %{?_smp_mflags}
@@ -136,10 +134,12 @@
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
+%if "%{?_enable_gpg:1}" == "1"
#docs say to install suid root, but we won't, for now.
#attr(4755,root,root) %{_bindir}/gpg2
%{_bindir}/gpg2
%{_bindir}/gpgv2
+%endif
%{_bindir}/gpg-connect-agent
%{_bindir}/gpg-agent
%{_bindir}/gpgconf
@@ -163,8 +163,15 @@
%changelog
+* Thu Jun 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.9.21-3
+- fix "gpg-agent not restarted after kde session crash/killed (#196327)
+
+* Thu Jun 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.9.21-2
+- 1.9.21
+- omit gpg2 binary to address CVS-2006-3082 (#196190)
+
* Mon Mar 6 2006 Ville Skyttä <ville.skytta at iki.fi>> 1.9.20-3
-- Don't hardcode pcsc-lite lib name.
+- Don't hardcode pcsc-lite lib name (#184123)
* Thu Feb 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.9.20-2
- use /etc/kde/(env|shutdown) for scripts (#175744)
Index: gpg-agent-shutdown.sh
===================================================================
RCS file: /cvs/extras/rpms/gnupg2/FC-5/gpg-agent-shutdown.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gpg-agent-shutdown.sh 1 Dec 2005 19:53:39 -0000 1.1
+++ gpg-agent-shutdown.sh 22 Jun 2006 16:55:12 -0000 1.2
@@ -1,5 +1,4 @@
#!/bin/sh
-# $Id$
## The nice way
if test -n "${GPG_AGENT_INFO}"; then
Index: gpg-agent-startup.sh
===================================================================
RCS file: /cvs/extras/rpms/gnupg2/FC-5/gpg-agent-startup.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gpg-agent-startup.sh 1 Dec 2005 19:53:39 -0000 1.1
+++ gpg-agent-startup.sh 22 Jun 2006 16:55:12 -0000 1.2
@@ -1,14 +1,23 @@
#!/bin/sh
-# $Id$
-GPG_AGENT=$(which gpg-agent)
+GPG_AGENT=/usr/bin/gpg-agent
## Run gpg-agent only if not already running, and available
if [ -z "${GPG_AGENT_INFO}" -a -x ${GPG_AGENT} ] ; then
+
+ # check validity of GPG_SOCKET (in case of session crash)
if [ -f ${HOME}/.gpg-agent-info ]; then
- export GPG_AGENT_INFO=$(cat $HOME/.gpg-agent-info)
+ GPG_SOCKET=$(cat .gpg-agent-info |cut -f1 -d:)
+ if ! test -S ${GPG_SOCKET} -o ! test -O ${GPG_SOCKET} ; then
+ rm -f ${HOME}/.gpg-agent-info 2>&1 >/dev/null
+ fi
+ fi
+
+ if [ -f ${HOME}/.gpg-agent-info ]; then
+ export GPG_AGENT_INFO=$(cat ${HOME}/.gpg-agent-info)
export GPG_TTY=$(tty)
else
eval "$(${GPG_AGENT} -s --daemon ${GPG_OPTIONS})"
- echo $GPG_AGENT_INFO > $HOME/.gpg-agent-info
+ echo ${GPG_AGENT_INFO} > ${HOME}/.gpg-agent-info
fi
+
fi
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gnupg2/FC-5/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources 20 Dec 2005 13:32:53 -0000 1.9
+++ sources 22 Jun 2006 16:55:12 -0000 1.10
@@ -1,2 +1,2 @@
-93899203fc0530f03e146d49b65c1e28 gnupg-1.9.20.tar.bz2
-76e3a5c1ac153c24a4fd3e0e83b0e9f6 gnupg-1.9.20.tar.bz2.sig
+94f4e2ded63820efa6903543c2e06017 gnupg-1.9.21.tar.bz2
+89d22744e0afe45528184b7b09d4c8a0 gnupg-1.9.21.tar.bz2.sig
--- gnupg-1.9.18-lvalue.patch DELETED ---
- Previous message (by thread): rpms/asymptote/FC-5 .cvsignore, 1.2, 1.3 asymptote.spec, 1.3, 1.4 sources, 1.2, 1.3 asy-init.el, 1.1, NONE asymptote-1.05-docdir.patch, 1.1, NONE
- Next message (by thread): rpms/gnupg2/FC-4 .cvsignore, 1.7, 1.8 gnupg2.spec, 1.17, 1.18 gpg-agent-shutdown.sh, 1.1, 1.2 gpg-agent-startup.sh, 1.1, 1.2 sources, 1.8, 1.9 gnupg-1.9.18-lvalue.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list