rpms/cpio/devel cpio-2.9.90-defaultremoteshell.patch, NONE, 1.1 cpio.spec, 1.64, 1.65
Ondrej Vasik
ovasik at fedoraproject.org
Mon Mar 9 17:38:32 UTC 2009
Author: ovasik
Update of /cvs/extras/rpms/cpio/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18674
Modified Files:
cpio.spec
Added Files:
cpio-2.9.90-defaultremoteshell.patch
Log Message:
define default remote shell as /usr/bin/ssh(#452904), use /etc/rmt as default rmt command
cpio-2.9.90-defaultremoteshell.patch:
--- NEW FILE cpio-2.9.90-defaultremoteshell.patch ---
diff -urNp cpio-2.9.90-orig/lib/rtapelib.c cpio-2.9.90/lib/rtapelib.c
--- cpio-2.9.90-orig/lib/rtapelib.c 2007-08-12 09:57:15.000000000 +0200
+++ cpio-2.9.90/lib/rtapelib.c 2009-03-09 18:06:43.000000000 +0100
@@ -59,6 +59,10 @@
# include <netdb.h>
#endif
+#ifndef REMOTE_SHELL
+# define REMOTE_SHELL "/usr/bin/ssh"
+#endif
+
#include <rmt.h>
#include <rmt-command.h>
Index: cpio.spec
===================================================================
RCS file: /cvs/extras/rpms/cpio/devel/cpio.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- cpio.spec 24 Feb 2009 09:22:54 -0000 1.64
+++ cpio.spec 9 Mar 2009 17:38:01 -0000 1.65
@@ -3,7 +3,7 @@
Summary: A GNU archiving program
Name: cpio
Version: 2.9.90
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv3+
Group: Applications/Archiving
URL: http://www.gnu.org/software/cpio/
@@ -17,9 +17,10 @@
Patch5: cpio-2.9-dir_perm.patch
Patch6: cpio-2.9-dev_number.patch
Patch7: cpio-2.9-sys_umask.patch
+Patch8: cpio-2.9.90-defaultremoteshell.patch
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
-BuildRequires: texinfo, autoconf, gettext
+BuildRequires: texinfo, autoconf, gettext, rmt
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@@ -45,12 +46,13 @@
%patch5 -p1 -b .dir_perm
%patch6 -p1 -b .dev_number
%patch7 -p1 -b .sys_umask
+%patch8 -p1 -b .defaultremote
autoheader
%build
-CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pedantic -Wall" %configure
+CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pedantic -Wall" %configure --with-rmt="%{_sysconfdir}/rmt"
make %{?_smp_mflags}
%install
@@ -85,6 +87,10 @@
%{_infodir}/*.info*
%changelog
+* Mon Mar 9 2009 Ondrej Vasik <ovasik at redhat.com> 2.9.90-5
+- define default remote shell as /usr/bin/ssh(#452904)
+- use /etc/rmt as default rmt command
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.9.90-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list