rpms/pilot-link/devel pilot-link-0.11.8-realpath.path, NONE, 1.1 pilot-link.spec, 1.40, 1.41
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Fri Apr 21 11:08:19 UTC 2006
- Previous message (by thread): rpms/beagle/FC-5 beagle.spec,1.52,1.53
- Next message (by thread): rpms/foomatic/devel .cvsignore, 1.38, 1.39 foomatic.spec, 1.133, 1.134 sources, 1.38, 1.39 foomatic-cleanup.patch, 1.1, NONE foomatic-default0.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: than
Update of /cvs/dist/rpms/pilot-link/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17719
Modified Files:
pilot-link.spec
Added Files:
pilot-link-0.11.8-realpath.path
Log Message:
- fix pilot-xfer crash on missing device node #186779, #175334
- don't include unnecessary man page #185147
--- NEW FILE pilot-link-0.11.8-realpath.path ---
--- pilot-link-0.11.8/libpisock/connect.c.orig 2006-04-14 17:58:37.000000000 +0200
+++ pilot-link-0.11.8/libpisock/connect.c 2006-04-14 18:01:37.000000000 +0200
@@ -24,6 +24,12 @@
#include <errno.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <limits.h>
+
+/* PATH_MAX is not defined in limits.h on some platforms */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
#include "pi-socket.h"
#include "pi-dlp.h"
@@ -106,7 +112,7 @@
if (portname) {
- char realport[50];
+ char realport[PATH_MAX];
realpath(portname, realport);
errno = save_errno;
Index: pilot-link.spec
===================================================================
RCS file: /cvs/dist/rpms/pilot-link/devel/pilot-link.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- pilot-link.spec 29 Mar 2006 20:24:01 -0000 1.40
+++ pilot-link.spec 21 Apr 2006 11:08:15 -0000 1.41
@@ -4,7 +4,7 @@
Summary: File transfer utilities between Linux and PalmPilots.
Name: pilot-link
Version: 0.11.8
-Release: 14
+Release: 15
Source: pilot-link-%{version}.tar.bz2
Url: http://www.pilot-link.org/
Patch1: pilot-link-0.11.0-perlmd5.patch
@@ -15,6 +15,7 @@
Patch7: pilot-link-0.11.8-readfile.patch
Patch8: pilot-link-0.11.8-underquoted.patch
Patch9: pilot-link-0.11.8-misc1.patch
+Patch10: pilot-link-0.11.8-realpath.path
Epoch: 2
License: GPL
Group: Applications/Communications
@@ -69,9 +70,10 @@
%patch7 -p1 -b .read
%patch8 -p1 -b .underquoted
%patch9 -p1 -b .misc1
+%patch10 -p1 -b .realpath
%build
-CFLAGS="$RPM_OPT_FLAGS" %configure \
+CFLAGS="%{optflags}" %configure \
--with-python=no \
--with-itcl=no \
--with-tk=no \
@@ -87,13 +89,13 @@
make
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%if %{support_perl}
if test -f bindings/Perl/Makefile.PL ; then
cd bindings/Perl
perl -pi -e 's|^\$libdir =.*|\$libdir = "%{buildroot}%{_libdir}";|g' Makefile.PL
- CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
+ CFLAGS="%{optflags}" perl Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor
make
cd ../..
fi
@@ -106,10 +108,12 @@
make install -C bindings/Perl
rm -f %{buildroot}%{_libdir}/perl5/vendor_perl/%{perl_version}/*/auto/PDA/Pilot/Pilot.bs \
%{buildroot}%{_libdir}/perl5/site_perl/*/*/*/PDA/Pilot/.packlist
+%else
+ rm -f %{buildroot}%{_mandir}/man1/ietf2datebook*
%endif
# remove files we don't want to include
-rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+rm -f %{buildroot}%{_libdir}/*.la
# remove broken prog
rm -f %{buildroot}%{_bindir}/pilot-prc
@@ -119,7 +123,7 @@
%postun -p /sbin/ldconfig
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
%defattr(-,root,root)
@@ -141,6 +145,10 @@
%{_datadir}/aclocal/*.m4
%changelog
+* Fri Apr 21 2006 Than Ngo <than at redhat.com> 2:0.11.8-15
+- fix pilot-xfer crash on missing device node #186779, #175334
+- don't include unnecessary man page #185147
+
* Wed Mar 29 2006 Than Ngo <than at redhat.com> 2:0.11.8-14
- rebuild to get rid of libpisock.so.9
- Previous message (by thread): rpms/beagle/FC-5 beagle.spec,1.52,1.53
- Next message (by thread): rpms/foomatic/devel .cvsignore, 1.38, 1.39 foomatic.spec, 1.133, 1.134 sources, 1.38, 1.39 foomatic-cleanup.patch, 1.1, NONE foomatic-default0.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list