rpms/gnupg2/devel gnupg-1.9.16-pth.patch, NONE, 1.1 gnupg-1.9.16-strsignal.patch, NONE, 1.1 gnupg-1.9.16-testverbose.patch, NONE, 1.1 gnupg-1.9.16.tar.bz2.sig, NONE, 1.1 .cvsignore, 1.2, 1.3 gnupg2.spec, 1.7, 1.8 sources, 1.3, 1.4 gnupg-1.9.15.tar.bz2.sig, 1.1, NONE

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Tue May 10 16:23:13 UTC 2005


Author: mschwendt

Update of /cvs/extras/rpms/gnupg2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26906

Modified Files:
	.cvsignore gnupg2.spec sources 
Added Files:
	gnupg-1.9.16-pth.patch gnupg-1.9.16-strsignal.patch 
	gnupg-1.9.16-testverbose.patch gnupg-1.9.16.tar.bz2.sig 
Removed Files:
	gnupg-1.9.15.tar.bz2.sig 
Log Message:
* Tue May 10 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.9.16-1
- Merge changes from Rex's 1.9.16-1 (Thu Apr 21):
-   opensc support unconditional
-   remove hard-coded .gz from %post/%postun
-   add %check section
-   add pth patch
- Put back patch modified from 1.9.15-4 to make tests verbose
  and change signal.c to describe received signals better.



gnupg-1.9.16-pth.patch:

--- NEW FILE gnupg-1.9.16-pth.patch ---
--- 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,

gnupg-1.9.16-strsignal.patch:

--- NEW FILE gnupg-1.9.16-strsignal.patch ---
diff -Nur gnupg-1.9.16-orig/common/signal.c gnupg-1.9.16/common/signal.c
--- gnupg-1.9.16-orig/common/signal.c	2004-12-21 11:03:00.000000000 +0100
+++ gnupg-1.9.16/common/signal.c	2005-05-10 07:55:06.000000000 +0200
@@ -73,12 +73,12 @@
 static const char *
 get_signal_name( int signum )
 {
-#if defined(SYS_SIGLIST_DECLARED) && defined(NSIG)
-  return (signum >= 0 && signum < NSIG) ? sys_siglist[signum] : "?";
-#else
-  return "some signal";
-#endif
+  const char* tmp = strsignal(signum);
+  if (tmp)
+    return tmp;
+  else
+    return "some signal";
 }
 #endif /*!HAVE_DOSISH_SYSTEM*/
 

gnupg-1.9.16-testverbose.patch:

--- NEW FILE gnupg-1.9.16-testverbose.patch ---
diff -Nur gnupg-1.9.16-orig/tests/runtest gnupg-1.9.16/tests/runtest
--- gnupg-1.9.16-orig/tests/runtest	2004-02-20 14:46:35.000000000 +0100
+++ gnupg-1.9.16/tests/runtest	2005-05-10 07:49:56.000000000 +0200
@@ -1,4 +1,4 @@
 #!/bin/sh
 [ -x "$1" ] && exec $1 $2
-exec ./asschk --no-echo -DGPGSM=${GPGSM} <"$1"
+exec ./asschk --verbose --no-echo -DGPGSM=${GPGSM} <"$1"
 


--- NEW FILE gnupg-1.9.16.tar.bz2.sig ---
ˆ?

Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gnupg2/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	1 Feb 2005 22:40:35 -0000	1.2
+++ .cvsignore	10 May 2005 16:23:11 -0000	1.3
@@ -1 +1 @@
-gnupg-1.9.14.tar.bz2
+gnupg-1.9.16.tar.bz2


Index: gnupg2.spec
===================================================================
RCS file: /cvs/extras/rpms/gnupg2/devel/gnupg2.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gnupg2.spec	8 May 2005 19:41:17 -0000	1.7
+++ gnupg2.spec	10 May 2005 16:23:11 -0000	1.8
@@ -1,16 +1,17 @@
-# $Id$
-
 Summary: GNU utility for secure communication and data storage
 Name:    gnupg2
-Version: 1.9.15
-Release: 4%{?dist_tag}
-
+Version: 1.9.16
+Release: 1%{?dist}
 License: GPL
 Group:   Applications/System
 Source0: ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-%{version}.tar.bz2
 Source1: ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-%{version}.tar.bz2.sig
 URL:     http://www.gnupg.org/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Patch0: gnupg-1.9.16-pth.patch
+Patch1: gnupg-1.9.16-strsignal.patch
+Patch2: gnupg-1.9.16-testverbose.patch
 
 Obsoletes: newpg < 0.9.5
 
@@ -28,12 +29,9 @@
 BuildRequires: libgpg-error-devel => 1.0
 Requires: libgpg-error >= 1.0
 BuildRequires: libassuan-devel >= 0.6.9
-BuildRequires: libksba-devel >= 0.9.7
-# to build without opensc support: --without opensc
-%{!?_without_opensc:BuildRequires: opensc-devel >= 0.9}
-%{!?_without_opensc:BuildRequires: pcsc-lite-devel }
-%{?_without_opensc:BuildConflicts: opensc-devel }
-
+BuildRequires: libksba-devel >= 0.9.11
+BuildRequires: opensc-devel >= 0.9
+BuildRequires: pcsc-lite-devel
 BuildRequires: gettext
 BuildRequires: openldap-devel
 BuildRequires: libusb-devel
@@ -50,20 +48,25 @@
 Provides: openpgp
 
 %description
-GnuPG 1.9 is the future version of GnuPG; it is based on the gnupg-1.3
-code and the previous newpg package.  It will eventually lead to a
-GnuPG 2.0 release.  Note that GnuPG 1.3 and 1.9 are not always in sync
-and thus features and bug fixes done in 1.3 are not necessary
-available in 1.9.
-
-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.2.x or 1.3.x).
+GnuPG 1.9 is the development version of GnuPG; it is based on some old
+GnuPG 1.3 code and the previous NewPG package.  It will eventually
+lead to a GnuPG 2.0 release.  Note that GnuPG 1.4 and 1.9 are not yet
+in sync and thus features and bug fixes done in 1.4 are not available
+in 1.9.  *Please keep on using 1.4.x for OpenPGP*; 1.9.x and 1.4.x may
+be installed simultaneously.
+
+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
 %setup -q -n gnupg-%{version}
 
+%patch0 -p1 -b .pth
+%patch1 -p1 -b .strsignal
+%patch2 -p1 -b .testverbose
+
 
 %build
 
@@ -72,15 +75,14 @@
 
 %configure \
   --program-prefix="%{?_program_prefix}" \
-  --disable-rpath
+  --disable-rpath \
+  --enable-gpg
 
 make %{?_smp_mflags}
 
-make check
-
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%check || :
+make check
 
 
 %install
@@ -94,11 +96,11 @@
 
 
 %post
-/sbin/install-info %{_infodir}/gnupg.info.gz %{_infodir}/dir 2>/dev/null ||:
+/sbin/install-info %{_infodir}/gnupg.info %{_infodir}/dir 2>/dev/null ||:
 
 %preun
 if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete %{_infodir}/gnupg.info.gz %{_infodir}/dir \
+  /sbin/install-info --delete %{_infodir}/gnupg.info %{_infodir}/dir \
     2>/dev/null ||:
 fi
 
@@ -106,8 +108,10 @@
 %files -f %{name}.lang
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
+#docs say to install suid root, but we won't, for now.
 #attr(4755,root,root) %{_bindir}/gpg2
 %{_bindir}/gpg2
+%{_bindir}/gpg-connect-agent
 %{_bindir}/gpg-agent
 %{_bindir}/gpgconf
 %{_bindir}/gpgsm*
@@ -123,7 +127,20 @@
 %{_infodir}/*
 
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
 %changelog
+* Tue May 10 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.9.16-1
+- Merge changes from Rex's 1.9.16-1 (Thu Apr 21):
+-   opensc support unconditional
+-   remove hard-coded .gz from %%post/%%postun
+-   add %%check section
+-   add pth patch
+- Put back patch modified from 1.9.15-4 to make tests verbose
+  and change signal.c to describe received signals better.
+
 * Sun May  8 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
 - Drop patch0 again.
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gnupg2/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	2 Feb 2005 17:20:20 -0000	1.3
+++ sources	10 May 2005 16:23:11 -0000	1.4
@@ -1 +1 @@
-7b1d0562b66b1853b77d511feb786629  gnupg-1.9.15.tar.bz2
+1282755dce9cf4a84e904ca0191017a3  gnupg-1.9.16.tar.bz2


--- gnupg-1.9.15.tar.bz2.sig DELETED ---




More information about the fedora-extras-commits mailing list