Hello community,
here is the log from the commit of package pilot-link
checked in at Fri Mar 31 15:45:36 CEST 2006.
--------
--- pilot-link/perl-PDA-Pilot.changes 2006-01-25 21:40:14.000000000 +0100
+++ pilot-link/perl-PDA-Pilot.changes 2006-03-29 16:53:38.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Mar 29 10:33:24 CEST 2006 - dgollu@suse.de
+
+- downgrade to pilot-link version 0.11.8
+ 0.12.0-prev4 is not supposed to be packaged
+
+-------------------------------------------------------------------
--- pilot-link/pilot-link.changes 2006-03-27 16:25:57.000000000 +0200
+++ pilot-link/pilot-link.changes 2006-03-29 16:57:25.000000000 +0200
@@ -1,0 +2,12 @@
+Wed Mar 29 16:54:03 CEST 2006 - dgollub@suse.de
+
+- fixed buffer overflow in realpath calling for version 0.11.8 [#153944]
+
+-------------------------------------------------------------------
+Wed Mar 29 10:30:49 CEST 2006 - dgollub@suse.de
+
+- downgrade to pilot-link version 0.11.8
+ 0.12.0-prev4 is not supposed to be packaged [#161722]
+- added pkgconfig files: pilot-link.pc pilot-link-pp.pc
+
+-------------------------------------------------------------------
Old:
----
extern-c.diff
pilot-link-0.12.0-pre4-printf.diff
pilot-link-0.12.0-pre4.tar.bz2
pilot-link-0.12.0_pre4-implicit.diff
pilot-link-0.12.0_pre4-no-tcl.diff
pilot-link-0.12.0_pre4-realpath.patch
pilot-link-0.12.0_pre4-serial.diff
pilot-link-0.12.0_pre4-uninitialized.diff
pilot-link-0.12.0_pre4-uninitialized2.patch
New:
----
pilot-link-0.11.8-autoconf-fix.diff
pilot-link-0.11.8-implicit.diff
pilot-link-0.11.8-no-tcl.diff
pilot-link-0.11.8-pkgconfig.diff
pilot-link-0.11.8-realpath.diff
pilot-link-0.11.8-serial.diff
pilot-link-0.11.8-uninitialized.diff
pilot-link-0.11.8-warnings-fix.diff
pilot-link-0.11.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-PDA-Pilot.spec ++++++
--- /var/tmp/diff_new_pack.kyTvVc/_old 2006-03-31 15:45:23.000000000 +0200
+++ /var/tmp/diff_new_pack.kyTvVc/_new 2006-03-31 15:45:23.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-PDA-Pilot (Version 0.12.0_pre4)
+# spec file for package perl-PDA-Pilot (Version 0.11.8)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,14 +13,13 @@
Name: perl-PDA-Pilot
BuildRequires: gcc-c++ pilot-link-devel
URL: http://www.pilot-link.org/
-Version: 0.12.0_pre4
-Release: 15
-%define origver 0.12.0-pre4
+Version: 0.11.8
+Release: 129
License: GPL, LGPL
Group: Development/Libraries/Perl
Autoreqprov: on
Summary: PalmPilot Perl Modules
-Source: pilot-link-%{origver}.tar.bz2
+Source: pilot-link-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description -n perl-PDA-Pilot
@@ -34,7 +33,7 @@
Kenneth Albanowski
%prep
-%setup -q -n pilot-link-%{origver}
+%setup -q -n pilot-link-%{version}
%{?suse_update_config:%{suse_update_config -f scripts}}
%build
@@ -61,6 +60,9 @@
/var/adm/perl-modules/%{name}
%changelog -n perl-PDA-Pilot
+* Wed Mar 29 2006 - dgollu@suse.de
+- downgrade to pilot-link version 0.11.8
+ 0.12.0-prev4 is not supposed to be packaged
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Aug 05 2005 - lmichnovic@suse.cz
++++++ pilot-link.spec ++++++
--- /var/tmp/diff_new_pack.kyTvVc/_old 2006-03-31 15:45:23.000000000 +0200
+++ /var/tmp/diff_new_pack.kyTvVc/_new 2006-03-31 15:45:23.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package pilot-link (Version 0.12.0_pre4)
+# spec file for package pilot-link (Version 0.11.8)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -19,20 +19,19 @@
Provides: plink
Requires: perl-PDA-Pilot
Autoreqprov: on
-Version: 0.12.0_pre4
-Release: 15
-%define origver 0.12.0-pre4
+Version: 0.11.8
+Release: 132
Summary: PalmPilot Link Utility (Backup, Uploading Tools, and more)
-Source: %{name}-%{origver}.tar.bz2
+Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}-no-tcl.diff
Patch1: resmgr.diff
Patch2: %{name}-%{version}-implicit.diff
Patch4: %{name}-%{version}-uninitialized.diff
Patch5: %{name}-%{version}-serial.diff
-Patch6: extern-c.diff
-Patch7: pilot-link-0.12.0-pre4-printf.diff
-Patch8: %{name}-%{version}-realpath.patch
-Patch9: %{name}-%{version}-uninitialized2.patch
+Patch6: %{name}-%{version}-warnings-fix.diff
+Patch7: %{name}-%{version}-autoconf-fix.diff
+Patch8: %{name}-%{version}-pkgconfig.diff
+Patch9: %{name}-%{version}-realpath.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -77,26 +76,27 @@
Kenneth Albanowski
%prep
-%setup -q -n %{name}-%{origver}
+%setup -q
%patch
%patch1
%patch2
%patch4
%patch5
%patch6
-%patch7 -p1
+%patch7
%patch8
%patch9
%build
%{?suse_update_config:%{suse_update_config -f scripts}}
+rm acinclude.m4
libtoolize --copy --force
-aclocal --force -I m4
-autoconf --force
-automake -afc
+aclocal
+automake -a
+autoconf
autoheader
-CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS" \
-CXXFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS" \
+CFLAGS="$RPM_OPT_FLAGS" \
+CXXFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=/usr \
--mandir=%{_mandir} \
@@ -135,6 +135,12 @@
/usr/%_lib/pkgconfig/*
%changelog -n pilot-link
+* Wed Mar 29 2006 - dgollub@suse.de
+- fixed buffer overflow in realpath calling for version 0.11.8 [#153944]
+* Wed Mar 29 2006 - dgollub@suse.de
+- downgrade to pilot-link version 0.11.8
+ 0.12.0-prev4 is not supposed to be packaged [#161722]
+- added pkgconfig files: pilot-link.pc pilot-link-pp.pc
* Mon Mar 27 2006 - postadal@suse.cz
- fixed uninitialized variable (uninitialized2.patch) [#160933]
* fixed serial support on 64 bit archs
++++++ pilot-link-0.11.8-autoconf-fix.diff ++++++
--- pilot-link.m4
+++ pilot-link.m4
@@ -1,4 +1,4 @@
-AC_DEFUN(AC_PILOT_LINK_HOOK,
+AC_DEFUN([AC_PILOT_LINK_HOOK],
[
PILOT_LINK_VERS=0
PILOT_LINK_MAJOR=11
++++++ pilot-link-0.12.0_pre4-implicit.diff -> pilot-link-0.11.8-implicit.diff ++++++
++++++ pilot-link-0.12.0_pre4-no-tcl.diff -> pilot-link-0.11.8-no-tcl.diff ++++++
--- pilot-link/pilot-link-0.12.0_pre4-no-tcl.diff 2005-08-09 10:33:09.000000000 +0200
+++ pilot-link/pilot-link-0.11.8-no-tcl.diff 2006-03-29 16:53:38.000000000 +0200
@@ -1,6 +1,6 @@
---- configure.ac
-+++ configure.ac
-@@ -554,6 +554,7 @@
+--- configure.in
++++ configure.in
+@@ -537,6 +537,7 @@
dnl ******************************
msg_tcl=no
PILOT_LINK_PATH_TCLCONFIG
++++++ pilot-link-0.11.8-pkgconfig.diff ++++++
--- Makefile.am
+++ Makefile.am
@@ -9,5 +9,9 @@
m4dir = $(datadir)/aclocal
m4_DATA = pilot-link.m4
-EXTRA_DIST = $(m4_DATA)
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = pilot-link.pc pilot-link-pp.pc
+EXTRA_DIST = $(m4_DATA) \
+ pilot-link.pc.in \
+ pilot-link-pp.pc.in
--- configure.in
+++ configure.in
@@ -699,6 +699,8 @@
AC_OUTPUT([
Makefile
pilot-link.m4
+ pilot-link.pc
+ pilot-link-pp.pc
libpisock/Makefile
libpisync/Makefile
libpisock++/Makefile
--- pilot-link-pp.pc.in
+++ pilot-link-pp.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Pilot Link C++
+Description:
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lpisock -lpisock++
+Cflags: -I${includedir}
--- pilot-link.pc.in
+++ pilot-link.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Pilot Link
+Description: Suite of tools to communicate with a Palm handheld over various interfaces
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lpisock
+Cflags: -g -I${includedir}
++++++ pilot-link-0.11.8-realpath.diff ++++++
--- libpisock/connect.c
+++ libpisock/connect.c
@@ -23,6 +23,7 @@
#include
#include
#include
+#include
#include
#include "pi-socket.h"
@@ -106,7 +107,7 @@
if (portname) {
- char realport[50];
+ char realport[PATH_MAX];
realpath(portname, realport);
errno = save_errno;
++++++ pilot-link-0.12.0_pre4-serial.diff -> pilot-link-0.11.8-serial.diff ++++++
--- pilot-link/pilot-link-0.12.0_pre4-serial.diff 2006-02-20 14:23:42.000000000 +0100
+++ pilot-link/pilot-link-0.11.8-serial.diff 2006-03-29 16:53:38.000000000 +0200
@@ -1,7 +1,7 @@
--- libpisock/serial.c
+++ libpisock/serial.c
-@@ -488,9 +488,21 @@
- int err;
+@@ -391,6 +391,19 @@
+ struct pi_socket *accept = NULL;
/* Wait for data */
+#ifdef linux
@@ -16,10 +16,7 @@
+ }
+ }
+#endif
- if ((err = data->impl.poll(ps, ps->accept_to * 1000)) < 0)
- goto fail;
--
+
- data->timeout = ps->accept_to * 1000;
-
- pi_socket_init(ps);
+ if (data->impl.poll(ps, ps->accept_to) < 0)
+ goto fail;
+
++++++ pilot-link-0.12.0_pre4-uninitialized.diff -> pilot-link-0.11.8-uninitialized.diff ++++++
--- pilot-link/pilot-link-0.12.0_pre4-uninitialized.diff 2006-02-21 10:02:50.000000000 +0100
+++ pilot-link/pilot-link-0.11.8-uninitialized.diff 2006-03-29 16:53:38.000000000 +0200
@@ -1,15 +1,15 @@
--- bindings/Perl/Pilot.xs
+++ bindings/Perl/Pilot.xs
-@@ -3135,7 +3135,7 @@
+@@ -2973,7 +2973,7 @@
}
SV *
-setPrefRaw(self, data, number, version, backup=1)
+setPrefRaw(self, data, number, version=0, backup=1)
- PDA::Pilot::DLP::DB *self
- SV *data
+ PDA::Pilot::DLP::DB * self
+ SV * data
int number
-@@ -3145,7 +3145,7 @@
+@@ -2983,7 +2983,7 @@
{
STRLEN len;
Char4 creator;
@@ -18,7 +18,7 @@
void * buf;
PackRaw;
buf = SvPV(data, len);
-@@ -3544,7 +3544,7 @@
+@@ -3373,7 +3373,7 @@
PPCODE:
{
STRLEN len;
@@ -29,56 +29,23 @@
buf = SvPV(data, len);
--- libpisock/dlp.c
+++ libpisock/dlp.c
-@@ -2245,7 +2245,7 @@
- {
- int result;
+@@ -2252,7 +2252,7 @@
+ int result,
+ data_len;
struct dlpRequest *req;
- struct dlpResponse *res;
+ struct dlpResponse *res = NULL;
- TraceX(dlp_ReadFeature,"creator='%4.4s' num=%d",(const char *)&creator,num);
- pi_reset_errors(sd);
+ Trace(ReadResourceByIndex);
+
--- libpisock/pi-file.c
+++ libpisock/pi-file.c
-@@ -850,7 +850,7 @@
- int db = -1,
+@@ -1307,7 +1307,7 @@
j,
reset = 0,
+ size = 0,
- flags,
-+ flags = 0,
++ flags = 0,
version,
- freeai = 0,
- result,
---- src/install-datebook.c
-+++ src/install-datebook.c
-@@ -50,7 +50,7 @@
- *file_text = NULL,
- *fields[4];
+ freeai = 0;
-- pi_buffer_t *Appointment_buf;
-+ pi_buffer_t *Appointment_buf = NULL;
- FILE *f = NULL;
-
- struct PilotUser User;
---- src/read-screenshot.c
-+++ src/read-screenshot.c
-@@ -80,7 +80,7 @@
- int i, j;
- png_structp png_ptr;
- png_infop info_ptr;
-- FILE *f;
-+ FILE *f = NULL;
-
- if( state->depth < 8 )
- gray_buf = malloc( state->w );
---- tests/versamail-test.c
-+++ tests/versamail-test.c
-@@ -186,7 +186,7 @@
- {
- struct pi_file *pi_fp;
- char *DBname;
-- int r;
-+ int r = 0;
- int idx;
- size_t size;
- int attr;
++++++ pilot-link-0.11.8-warnings-fix.diff ++++++
--- src/pilot-datebook/pilot-datebook-longtxt.c
+++ src/pilot-datebook/pilot-datebook-longtxt.c
@@ -50,7 +50,7 @@
const char LONGTXT_HEADER_INDEX_FORMAT[] = "index=%u\n";
const char LONGTXT_HEADER_CATEGORY_HEADER1_FORMAT[] = "Categories\n";
const char LONGTXT_HEADER_CATEGORY_HEADER2_FORMAT[] = "#\tID\tRenamed\tName\n";
-const char LONGTXT_HEADER_CATEGORY_ROW_FORMAT[] = "%d\t%u\t%s\t%s%s\n";
+const char LONGTXT_HEADER_CATEGORY_ROW_FORMAT[] = "%d\t%u\t%s\t%s\n";
const char LONGTXT_HEADER_RENAMED_YES[] = "Yes";
const char LONGTXT_HEADER_RENAMED_NO[] = "No";
const char LONGTXT_HEADER_RENAMED_UNUSED[] = "(unused)";
--- src/pilot-foto.c
+++ src/pilot-foto.c
@@ -249,7 +249,7 @@
}
-int main(int argc, char *argv[])
+void main(int argc, char *argv[])
{
int c,
fetch,
++++++ pilot-link-0.12.0-pre4.tar.bz2 -> pilot-link-0.11.8.tar.bz2 ++++++
++++ 209856 lines of diff (skipped)
++++++ resmgr.diff ++++++
--- /var/tmp/diff_new_pack.kyTvVc/_old 2006-03-31 15:45:28.000000000 +0200
+++ /var/tmp/diff_new_pack.kyTvVc/_new 2006-03-31 15:45:28.000000000 +0200
@@ -1,6 +1,6 @@
---- configure.ac
-+++ configure.ac
-@@ -612,6 +612,22 @@
+--- configure.in
++++ configure.in
+@@ -593,6 +593,22 @@
fi
AC_SUBST(PYTHON)
@@ -23,17 +23,17 @@
dnl *************************************
dnl ElectricFence (optional)
-@@ -789,6 +805,7 @@
+@@ -738,6 +754,7 @@
ElectricFence checks.... : $msg_efence
- CPPFLAGS................ : $CPPFLAGS
CFLAGS.................. : $CFLAGS
+ CXXFLAGS................ : $CXXFLAGS
+ Use resmgr.............. : $ac_cv_use_resmgr
- Userland Tools
+ Internal Language Support
-------------------------.
--- libpisock/freebsdusb.c
+++ libpisock/freebsdusb.c
-@@ -48,6 +48,10 @@
+@@ -46,6 +46,10 @@
#include
#endif
@@ -44,21 +44,21 @@
#ifndef O_NONBLOCK
# define O_NONBLOCK 0
#endif
-@@ -112,7 +116,12 @@
+@@ -109,7 +113,12 @@
char *pEndPoint = NULL;
/* open the usb device */
-- if ((fd = open(tty, O_RDWR, 0)) < 0) {
+- if ((fd = open(tty, O_RDWR, 0)) == -1) {
+#ifdef HAVE_RESMGR
+ fd = rsm_open_device(tty, O_RDWR, 0);
+#else
+ fd = -1;
+#endif
+ if (fd < 0 && (fd = open(tty, O_RDWR, 0)) < 0) {
- ps->last_error = PI_ERR_GENERIC_SYSTEM;
- return PI_ERR_GENERIC_SYSTEM;
+ return -1; /* errno already set */
}
-@@ -163,7 +172,14 @@
+
+@@ -153,7 +162,14 @@
sprintf(pEndPoint, "%s.%d", tty, 2);
/* open the endpoint with read write access */
@@ -76,23 +76,24 @@
free(pEndPoint);
--- libpisock/linuxusb.c
+++ libpisock/linuxusb.c
-@@ -90,7 +90,12 @@
+@@ -84,7 +84,13 @@
i;
- char *tty = addr->pi_device;
+ char *tty = addr->pi_device + 4;
-- if ((fd = open(tty, O_RDWR | O_NONBLOCK)) < 0) {
+- if ((fd = open(tty, O_RDWR | O_NONBLOCK)) == -1) {
+#ifdef HAVE_RESMGR
-+ fd = rsm_open_device(tty, O_RDWR | O_NONBLOCK);
++ fd = rsm_open_device(tty, O_RDWR | O_NONBLOCK);
+#else
-+ fd = -1;
++ fd = -1;
+#endif
-+ if (fd < 0 && (fd = open(tty, O_RDWR | O_NONBLOCK)) < 0) {
- ps->last_error = PI_ERR_GENERIC_SYSTEM;
- return PI_ERR_GENERIC_SYSTEM; /* errno already set */
++ if (fd < 0 && (fd = open(tty, O_RDWR | O_NONBLOCK)) < 0) {
++
+ return -1; /* errno already set */
}
+
--- libpisock/unixserial.c
+++ libpisock/unixserial.c
-@@ -53,6 +53,10 @@
+@@ -52,6 +52,10 @@
#include
#endif
@@ -103,18 +104,17 @@
#ifndef SGTTY
#ifndef HAVE_CFMAKERAW
-@@ -165,7 +169,13 @@
+@@ -184,7 +188,12 @@
#else
struct sgttyb tcn;
#endif
-- if ((fd = open(tty, O_RDWR | O_NONBLOCK)) < 0) {
-+
+- if ((fd = open(tty, O_RDWR | O_NONBLOCK)) == -1) {
+#ifdef HAVE_RESMGR
+ fd = rsm_open_device(tty, O_RDWR | O_NONBLOCK);
+#else
+ fd = -1;
+#endif
-+ if (fd < 0 && (fd = open(tty, O_RDWR | O_NONBLOCK)) < 0) {
- ps->last_error = PI_ERR_GENERIC_SYSTEM;
- return PI_ERR_GENERIC_SYSTEM; /* errno already set */
++ if (fd==-1 && (fd = open(tty, O_RDWR | O_NONBLOCK)) == -1) {
+ return -1; /* errno already set */
}
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...