openSUSE Commits
Threads by month
- ----- 2024 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
May 2006
- 1 participants
- 1219 discussions
Hello community,
here is the log from the commit of package kmobiletools
checked in at Fri May 26 14:51:59 CEST 2006.
--------
--- KDE/kmobiletools/kmobiletools.changes 2006-05-25 09:34:42.000000000 +0200
+++ kmobiletools/kmobiletools.changes 2006-05-26 13:45:10.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 13:45:02 CEST 2006 - adrian(a)suse.de
+
+- fix typo to unbreak build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kmobiletools.spec ++++++
--- /var/tmp/diff_new_pack.P4Ji0C/_old 2006-05-26 14:51:49.000000000 +0200
+++ /var/tmp/diff_new_pack.P4Ji0C/_new 2006-05-26 14:51:49.000000000 +0200
@@ -17,7 +17,7 @@
Group: Productivity/Networking/Other
Summary: Mobile Phone Management
Version: 0.4.3.3
-Release: 3
+Release: 4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%version.tar.bz2
@@ -51,8 +51,7 @@
%if %suse_version < 1010
%suse_update_desktop_file %name Utility Telephony
%else
-%suse_update_desktop_file -G "Mobile Phone Tool" -C "" %name Utility Teleph
-ony
+%suse_update_desktop_file -G "Mobile Phone Tool" -C "" %name Utility Telephony
%endif
%clean
@@ -68,6 +67,8 @@
/opt/kde3/share/icons/*/*/apps/kmobiletools.png
%changelog -n kmobiletools
+* Fri May 26 2006 - adrian(a)suse.de
+- fix typo to unbreak build
* Thu May 25 2006 - adrian(a)suse.de
- fix build for < 10.1
* Wed May 17 2006 - stbinner(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package k3b
checked in at Fri May 26 14:51:43 CEST 2006.
--------
--- KDE/k3b/k3b.changes 2006-05-24 10:09:35.000000000 +0200
+++ k3b/k3b.changes 2006-05-26 10:59:25.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 10:59:15 CEST 2006 - adrian(a)suse.de
+
+- fix %opensuse_bs for autobuild
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ k3b.spec ++++++
--- /var/tmp/diff_new_pack.Sd6G4J/_old 2006-05-26 14:51:30.000000000 +0200
+++ /var/tmp/diff_new_pack.Sd6G4J/_new 2006-05-26 14:51:30.000000000 +0200
@@ -12,7 +12,7 @@
Name: k3b
BuildRequires: cdparanoia flac-devel hal-devel kdelibs3-devel libmusicbrainz-devel libsamplerate-devel taglib-devel
-%if %opensuse_bs
+%if %{?opensuse_bs:1}0
%else
BuildRequires: ffmpeg-devel mad-devel
%endif
@@ -25,7 +25,7 @@
Summary: A Universal CD and DVD Burning Application
Requires: /usr/bin/cdrecord /usr/bin/mkisofs /usr/bin/cdrdao dvd+rw-tools
Version: 0.12.15
-Release: 5
+Release: 6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%version.tar.bz2
Source1: %name-i18n-%version.tar.bz2
@@ -193,7 +193,7 @@
%files arts
%defattr(-,root,root)
/opt/kde3/%_lib/kde3/libk3bartsoutputplugin.*
-%if %opensuse_bs
+%if %{?opensuse_bs:1}0
%else
%files mad
@@ -207,6 +207,8 @@
%endif
%changelog -n k3b
+* Fri May 26 2006 - adrian(a)suse.de
+- fix %%opensuse_bs for autobuild
* Wed May 24 2006 - adrian(a)suse.de
- fix build for openSUSE bpild service
* Mon May 15 2006 - stbinner(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package gnucash
checked in at Fri May 26 14:51:22 CEST 2006.
--------
--- GNOME/gnucash/gnucash.changes 2006-05-11 21:06:33.000000000 +0200
+++ gnucash/gnucash.changes 2006-05-25 17:28:17.000000000 +0200
@@ -1,0 +2,7 @@
+Thu May 25 16:59:44 CEST 2006 - sbrabec(a)suse.cz
+
+- Updated to version 1.9.6.
+- Do not install shared mime info files, now integrated to
+ freedesktop.org.xml.
+
+-------------------------------------------------------------------
Old:
----
gnucash-1.9.5.tar.bz2
minmem
New:
----
gnucash-1.9.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnucash.spec ++++++
--- /var/tmp/diff_new_pack.ovDAXv/_old 2006-05-26 14:46:15.000000000 +0200
+++ /var/tmp/diff_new_pack.ovDAXv/_new 2006-05-26 14:46:15.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package gnucash (Version 1.9.5)
+# spec file for package gnucash (Version 1.9.6)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,8 +11,8 @@
# norootforbuild
Name: gnucash
-Version: 1.9.5
-Release: 3
+Version: 1.9.6
+Release: 1
URL: http://www.gnucash.org/
Group: Productivity/Office/Finance
License: GPL
@@ -23,7 +23,7 @@
PreReq: gnome-filesystem gconf2
PreReq: %install_info_prereq
Requires: guile slib
-BuildRequires: doxygen g-wrap-devel gconf2-devel glib2-devel goffice-devel graphviz gtk2-devel gtkhtml2-devel guile indent ktoblzcheck-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libgsf-devel libofx-devel libxml2-devel perl-XML-Parser popt-devel qof-devel slib update-desktop-files
+BuildRequires: doxygen g-wrap-devel gconf2-devel glib2-devel goffice-devel graphviz gtk2-devel gtkhtml2-devel guile indent ktoblzcheck-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libgsf-devel libofx-devel libxml2-devel perl-XML-Parser popt-devel slib update-desktop-files
# Optional features:
BuildRequires: aqbanking-devel libofx-devel openhbci-devel postgresql-devel
# Needed for autoreconf:
@@ -218,7 +218,7 @@
%package devel
Group: Productivity/Office/Finance
Summary: Personal Finance Manager
-Requires: %{name} = %{version} aqbanking-devel g-wrap-devel gconf2-devel goffice-devel libgsf-devel gtk2-devel gtkhtml2-devel gwenhywfar-devel ktoblzcheck-devel libglade2-devel libgnomeui-devel libgnomeprint-devel libgnomeprintui-devel libofx-devel libtool popt-devel qof-devel
+Requires: %{name} = %{version} aqbanking-devel g-wrap-devel gconf2-devel goffice-devel libgsf-devel gtk2-devel gtkhtml2-devel gwenhywfar-devel ktoblzcheck-devel libglade2-devel libgnomeui-devel libgnomeprint-devel libgnomeprintui-devel libofx-devel libtool popt-devel
%description devel
GnuCash is a personal finance manager. A check-book like register GUI
@@ -422,11 +422,9 @@
--libexecdir=/opt/gnome/lib\
--libdir=/opt/gnome/%{_lib}\
--disable-schemas-install\
- --enable-qof\
--enable-sql\
--enable-ofx\
--enable-mt940\
- --enable-aqbanking\
--enable-aqbanking-test\
--enable-hbci\
--enable-locale-specific-tax
@@ -436,7 +434,6 @@
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
cp AUTHORS COPYING ChangeLog ChangeLog.2003 ChangeLog.2004 ChangeLog.2005 DOCUMENTERS HACKING LICENSE NEWS README README.dependencies README.patches TODO $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
make DESTDIR=$RPM_BUILD_ROOT install
-DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime
mkdir -p $RPM_BUILD_ROOT/opt/gnome/share/pixmaps
( cd $RPM_BUILD_ROOT/opt/gnome/share/pixmaps ; ln -s ../gnucash/pixmaps/gnucash-icon.png )
%suse_update_desktop_file gnucash
@@ -450,9 +447,6 @@
%post
%run_ldconfig
-if [ -f usr/bin/update-mime-database ]; then
- usr/bin/update-mime-database usr/share/mime > /dev/null
-fi
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/apps_gnucash_dialog_business_common.schemas >/dev/null
opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/apps_gnucash_dialog_commodities.schemas >/dev/null
@@ -472,9 +466,6 @@
%postun
%run_ldconfig
-if [ -f usr/bin/update-mime-database ]; then
- usr/bin/update-mime-database usr/share/mime > /dev/null
-fi
%install_info_delete --info-dir=/opt/gnome/share/info /opt/gnome/share/info/gnucash-design.info.gz
%files -f gnucash.lang
@@ -515,7 +506,6 @@
/opt/gnome/share/mime-info/*.*
/opt/gnome/share/pixmaps/*.png
/opt/gnome/share/xml/gnucash
-/usr/share/mime/packages/*.xml
# FIXME: Should be part of gnome-filesystem (now gnome-doc-utils)
%dir /opt/gnome/share/xml
@@ -526,6 +516,10 @@
/opt/gnome/include/gnucash
%changelog -n gnucash
+* Thu May 25 2006 - sbrabec(a)suse.cz
+- Updated to version 1.9.6.
+- Do not install shared mime info files, now integrated to
+ freedesktop.org.xml.
* Thu May 11 2006 - sbrabec(a)suse.cz
- Updated to version 1.9.5 (GNOME2 branch).
- Split g-wrap and devel into separate packages.
++++++ gnucash-1.9.5.tar.bz2 -> gnucash-1.9.6.tar.bz2 ++++++
GNOME/gnucash/gnucash-1.9.5.tar.bz2 gnucash/gnucash-1.9.6.tar.bz2 differ: char 11, line 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package foomatic-filters
checked in at Fri May 26 14:46:08 CEST 2006.
--------
--- foomatic-filters/foomatic-filters.changes 2006-01-25 21:35:59.000000000 +0100
+++ foomatic-filters/foomatic-filters.changes 2006-05-24 11:00:19.000000000 +0200
@@ -1,0 +2,5 @@
+Tue May 23 21:02:40 CEST 2006 - kssingvo(a)suse.de
+
+- fixed remote command execution vulnerability SWAMP#4432 (bugzilla#59233)
+
+-------------------------------------------------------------------
New:
----
foomatic-filters-3.0.1-exec.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ foomatic-filters.spec ++++++
--- /var/tmp/diff_new_pack.PyXJMZ/_old 2006-05-26 14:44:08.000000000 +0200
+++ /var/tmp/diff_new_pack.PyXJMZ/_new 2006-05-26 14:44:08.000000000 +0200
@@ -5,7 +5,7 @@
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
@@ -18,10 +18,10 @@
Requires: perl, a2ps
Autoreqprov: on
Version: 3.0.2
-Release: 7
+Release: 20
Source0: %{name}-%{cvsdate}.tar.bz2
# Source0: %{name}-%{version}.tar.bz2
-# Patch0: %{name}-%{version}-exec.patch
+Patch0: %{name}-3.0.1-exec.patch
URL: http://www.linuxprinting.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Filter Scripts Used by Printer Spoolers
@@ -29,8 +29,8 @@
%description
Filter scripts used by the printer spoolers to convert the incoming
-PostScript data into the printer's native format using a printer/driver
-specific, but spooler-independent PPD file.
+PostScript data into the printer's native format using a printer and
+driver-specific, but spooler-independent PPD file.
@@ -42,7 +42,7 @@
%prep
%setup -n %{name}-%{cvsdate}
# %setup
-# %patch0 -p1
+%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
@@ -84,6 +84,8 @@
%doc COPYING ChangeLog README TODO USAGE
%changelog -n foomatic-filters
+* Tue May 23 2006 - kssingvo(a)suse.de
+- fixed remote command execution vulnerability SWAMP#4432 (bugzilla#59233)
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 - meissner(a)suse.de
++++++ foomatic-filters-3.0.1-exec.patch ++++++
--- foomatic-filters-3.0.1/foomatic-rip.in.orig 2004-01-22 04:42:35.000000000 +0100
+++ foomatic-filters-3.0.1/foomatic-rip.in 2004-08-25 19:59:06.221371554 +0200
@@ -124,6 +124,15 @@
# USA.
#
+# strip out dangerous \x01 chars in arguments to avoid a security hole in cups.
+for (my $i=0; $i<=$#ARGV; $i++)
+{
+ if (defined($ARGV[$i]))
+ {
+ $ARGV[$i] =~ s/\001//g;
+ }
+}
+
my $added_lf = "\n";
# Flush everything immediately.
@@ -936,7 +945,7 @@
# Load the PPD file and build a data structure for the renderer's
# command line and the options
-open PPD, "$ppdfile" || do {
+open PPD, "< $ppdfile" || do {
print $logh "error opening $ppdfile.\n";
rip_die ("Unable to open PPD file $ppdfile",
$EXIT_PRNERR_NORETRY_BAD_SETTINGS);
--- foomatic-filters-3.0.1/foomatic-rip.in.orig 2004-08-30 19:05:55.086453941 +0200
+++ foomatic-filters-3.0.1/foomatic-rip.in 2004-08-30 19:06:13.151591298 +0200
@@ -248,13 +248,14 @@
'-f -P- -');
# spooler-specific file converters, default for the specific spooler when
-# none of the converters above is chosen.
-my @fixed_args = (
- defined($ARGV[0])?$ARGV[0]:"",
- defined($ARGV[1])?$ARGV[1]:"",
- defined($ARGV[2])?$ARGV[2]:"",
- defined($ARGV[3])?$ARGV[3]:"",
- defined($ARGV[4])?$ARGV[4]:"" );
+# none of the converters above is chosen. Remove weird characters from the
+# command line arguments to enhance security
+my @fixed_args =
+ (defined($ARGV[0])?removespecialchars($ARGV[0]):"",
+ defined($ARGV[1])?removespecialchars($ARGV[1]):"",
+ defined($ARGV[2])?removespecialchars($ARGV[2]):"",
+ defined($ARGV[3])?removespecialchars($ARGV[3]):"",
+ defined($ARGV[4])?removespecialchars($ARGV[4]):"");
my $spoolerfileconverters = {
'cups' => "${programdir}texttops '$fixed_args[0]' '$fixed_args[1]' '$fixed_args[2]' " .
"'$fixed_args[3]' '$fixed_args[4] page-top=36 page-bottom=36 " .
@@ -292,10 +293,12 @@
# "PPD": PPD file name for CUPS or PPR (if we run as PPR RIP)
if (defined($ENV{'PPD'})) {
- $ppdfile = $ENV{'PPD'};
+ # Clean the file name from weird characters which could cause
+ # unexpected behaviour
+ $ppdfile = removespecialchars($ENV{'PPD'});
# CUPS and PPR (RIP filter) use the "PPD" environment variable to
# make the PPD file name available (we set CUPS here preliminarily,
- # in the next step we check for PPR
+ # in the next step we check for PPR)
$spooler = 'cups';
}
@@ -310,14 +313,16 @@
# PPR 1.5 allows the user to specify options for the PPR RIP with the
# "--ripopts" option on the "ppr" command line. They are provided to
# the RIP via the "PPR_RIPOPTS" environment variable.
- $optstr .= "$ENV{'PPR_RIPOPTS'} ";
+ # Clean the option string from weird characters which could cause
+ # unexpected behaviour
+ $optstr .= removespecialchars("$ENV{'PPR_RIPOPTS'} ");
# We have PPR
$spooler = 'ppr';
}
# "LPOPTS": Option settings for some LPD implementations (ex: GNUlpr)
if (defined($ENV{'LPOPTS'})) {
- my @lpopts = split(/,/, $ENV{'LPOPTS'});
+ my @lpopts = split(/,/, removespecialchars($ENV{'LPOPTS'}));
foreach my $opt (@lpopts) {
$opt =~ s/^\s+//;
$opt =~ s/\s+$//;
@@ -340,8 +345,16 @@
# options this way when printing without spooler.
# Make one option string with a non-printable character as separator,
-# So we can parse it more easily
-my $argstr = "\x01" . join("\x01",@ARGV) . "\x01";
+# So we can parse it more easily.
+
+# To avoid the separator to be in the options itselves, it is filters
+# out of the options. This does not break anything as having non
+# printable characters in the command line options does not make sense
+# nor is this needed. This way misinterpretation and even abuse is
+# prevented.
+
+my $argstr = "\x01" .
+ join("\x01", map { removeunprintables($_) } @ARGV) . "\x01";
# Debug mode activated via command line
if ($argstr =~ s/\x01--debug\x01/\x01/) {
@@ -382,7 +395,7 @@
## Start debug logging
if ($debug) {
- # If we are not debug mode, we do this later, as we must find out at
+ # If we are not in debug mode, we do this later, as we must find out at
# first which spooler is used. When printing without spooler we
# suppress logging because foomatic-rip is called directly on the
# command line and so we avoid logging onto the console.
@@ -414,7 +427,7 @@
shift @pc;
foreach (@pc) {
if( /^ppd=(.*)$/ or /^ppdfile=(.*)$/ ){
- $ppdfile = $1 if $1;
+ $ppdfile = removespecialchars($1) if $1;
}
}
} elsif ($argstr =~ s/\x01--lprng\x01/\x01/g) {
@@ -426,10 +439,10 @@
# PPD file name given via the command line
# allow duplicates, and use the last specified one
while ( ($spooler ne 'lprng') and ($argstr =~ s/\x01-p(\x01|)([^\x01]+)\x01/\x01/)) {
- $ppdfile = $2;
+ $ppdfile = removeshellescapes($2);
}
while ($argstr =~ s/\x01--ppd(\x01|=|)([^\x01]+)\x01/\x01/) {
- $ppdfile = $2;
+ $ppdfile = removeshellescapes($2);
}
# Check for LPD/GNUlpr by typical options which the spooler puts onto
@@ -456,6 +469,7 @@
foreach my $opt (@lpopts) {
$opt =~ s/^\s+//;
$opt =~ s/\s+$//;
+ $opt = removeshellescapes($opt);
if ($opt =~ /\s+/) {
$opt = "\"$opt\"";
}
@@ -468,7 +482,7 @@
# Job title and options for stock LPD
if ($argstr =~ s/\x01-[jJ](\x01|)([^\x01]+)\x01/\x01/) {
# An LPD
- $jobtitle = $2;
+ $jobtitle = removeshellescapes($2);
# Classic LPD hack
if ($spooler eq "lpd") {
$optstr .= "$jobtitle ";
@@ -486,6 +500,7 @@
my $opt = $2;
$opt =~ s/^\s+//;
$opt =~ s/\s+$//;
+ $opt = removeshellescapes($opt);
if ($opt =~ /\s+/) {
$opt = "\"$opt\"";
}
@@ -499,11 +514,11 @@
# Printer for spooler-less printing or PDQ
if ($argstr =~ s/\x01-d(\x01|)([^\x01]+)\x01/\x01/) {
- $printer = $2;
+ $printer = removeshellescapes($2);
}
# Printer for spooler-less printing, PDQ, or LPRng
if ($argstr =~ s/\x01-P(\x01|)([^\x01]+)\x01/\x01/) {
- $printer = $2;
+ $printer = removeshellescapes($2);
}
# Were we called from a PDQ wrapper?
@@ -524,9 +539,9 @@
$genpdqfile = ">&STDOUT";
} else {
if ($1 eq 'gen') {
- $genpdqfile = "> $4";
+ $genpdqfile = "> " . removeshellescapes($4);
} else {
- $genpdqfile = ">> $4";
+ $genpdqfile = ">> " . removeshellescapes($4);
}
}
# Do we want to have a PDQ driver declaration for a raw printer?
@@ -580,7 +595,7 @@
my @definitions;
for my $file (("lib/interface.sh", "lib/signal.sh")) {
- open FILE, "$file" || do {
+ open FILE, "< $file" || do {
print $logh "error opening $file.\n";
next;
};
@@ -617,17 +632,17 @@
# PPR directory.
# Get all command line parameters
- $ppr_printer = $rargs[0];
+ $ppr_printer = removeshellescapes($rargs[0]);
$ppr_address = $rargs[1];
- $ppr_options = $rargs[2];
+ $ppr_options = removeshellescapes($rargs[2]);
$ppr_jobbreak = $rargs[3];
$ppr_feedback = $rargs[4];
$ppr_codes = $rargs[5];
- $ppr_jobname = $rargs[6];
- $ppr_routing = $rargs[7];
+ $ppr_jobname = removeshellescapes($rargs[6]);
+ $ppr_routing = removeshellescapes($rargs[7]);
$ppr_for = $rargs[8];
$ppr_filetype = $rargs[9];
- $ppr_filetoprint = $rargs[10];
+ $ppr_filetoprint = removeshellescapes($rargs[10]);
# Common job parameters
$printer = $ppr_printer;
@@ -639,6 +654,7 @@
# Get the path of the PPD file from the queue configuration
$ppdfile = `LANG=en_US; ppad show $ppr_printer | grep PPDFile`;
+ $ppdfile = removeshellescapes($ppdfile);
$ppdfile =~ s/PPDFile:\s+//;
if ($ppdfile !~ m!^/!) {
$ppdfile = "../../share/ppr/PPDFiles/$ppdfile";
@@ -655,12 +671,12 @@
$cups_filename );
if ($spooler eq 'cups') {
# Get all command line parameters
- $cups_jobid = $rargs[0];
- $cups_user = $rargs[1];
- $cups_jobtitle = $rargs[2];
- $cups_copies = $rargs[3];
- $cups_options = $rargs[4];
- $cups_filename = $rargs[5];
+ $cups_jobid = removeshellescapes($rargs[0]);
+ $cups_user = removeshellescapes($rargs[1]);
+ $cups_jobtitle = removeshellescapes($rargs[2]);
+ $cups_copies = removeshellescapes($rargs[3]);
+ $cups_options = removeshellescapes($rargs[4]);
+ $cups_filename = removeshellescapes($rargs[5]);
# Common job parameters
#$printer = $cups_printer;
@@ -682,7 +698,7 @@
($spooler eq 'gnulpr')) {
# Get PPD file name as the last command line argument
- $ppdfile = $rargs[$#rargs];
+ $ppdfile = removeshellescapes($rargs[$#rargs]);
}
@@ -690,7 +706,7 @@
# No spooler, CPS, or PDQ
if (($spooler eq 'direct') || ($spooler eq 'cps') || ($spooler eq 'pdq')) {
# Which files do we want to print?
- @filelist = @rargs;
+ @filelist = map { removeshellescapes($_) } @rargs;
}
@@ -4707,6 +4723,25 @@
return %conf;
}
+sub removeunprintables {
+ # Remove unprintable characters
+ my $str = $_[0];
+ $str =~ s/[\x00-\x1f]//g;
+ return $str;
+}
+
+sub removeshellescapes {
+ # Remove shell escape characters
+ my $str = $_[0];
+ $str =~ s/[\|<>&!\$\'\"\#\*\?\(\)\[\]\{\}]//g;
+ return $str;
+}
+
+sub removespecialchars {
+ # Remove unprintable and shell escape characters
+ return removeshellescapes(removeunprintables($_[0]));
+}
+
sub unhtmlify {
# Replace HTML/XML entities by the original characters
my $str = $_[0];
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package eric
checked in at Fri May 26 14:44:01 CEST 2006.
--------
--- KDE/eric/eric.changes 2006-05-17 23:58:03.000000000 +0200
+++ eric/eric.changes 2006-05-26 14:30:27.000000000 +0200
@@ -1,0 +2,6 @@
+Wed May 24 13:47:13 CEST 2006 - adrian(a)suse.de
+
+- fix build for < 10.1
+ * remove obsolete BuildRequires
+
+-------------------------------------------------------------------
@@ -4 +10 @@
-- update buildrequires
+- update buildrequires
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ eric.spec ++++++
--- /var/tmp/diff_new_pack.RrN4RL/_old 2006-05-26 14:42:48.000000000 +0200
+++ /var/tmp/diff_new_pack.RrN4RL/_new 2006-05-26 14:42:48.000000000 +0200
@@ -11,7 +11,7 @@
# norootforbuild
Name: eric
-BuildRequires: libdrm-devel libjpeg-devel python-devel python-xml qscintilla-devel qt3-devel update-desktop-files
+BuildRequires: libjpeg-devel python-devel python-xml qscintilla-devel qt3-devel update-desktop-files
URL: http://www.die-offenbachs.de/detlev/eric3.html
%define python_site %{_prefix}/%{_lib}/python%{py_ver}/site-packages
License: GPL
@@ -22,7 +22,7 @@
Requires: python-xml
%endif
Version: 3.9.0
-Release: 4
+Release: 5
Source0: %name-%version.tar.gz
Source1: %name.desktop
Source2: APIs.tar.bz2
@@ -65,6 +65,9 @@
/%python_site/*
%changelog -n eric
+* Wed May 24 2006 - adrian(a)suse.de
+- fix build for < 10.1
+ * remove obsolete BuildRequires
* Wed May 17 2006 - dmueller(a)suse.de
- update buildrequires
* Wed May 17 2006 - stbinner(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package compiz
checked in at Fri May 26 14:42:40 CEST 2006.
--------
--- compiz/compiz.changes 2006-05-21 15:40:12.000000000 +0200
+++ compiz/compiz.changes 2006-05-26 12:47:45.000000000 +0200
@@ -1,0 +2,19 @@
+Fri May 26 12:34:27 CEST 2006 - dreveman(a)suse.de
+
+- Task switcher (ALT-TAB) able to "show all" (bnc 173376)
+- Fix so swicher doesn't eat keystrokes (bnc 177650)
+- MSB byte order fix (bnc 178171)
+- Fix keyboard navigation in scale plugin (bnc 178216)
+- Don't add windows that appear after the switcher is popped up
+ (bnc 178350)
+- Add maximize_window_horizontally,
+ maximize_window_vertically, toggle_window_maximized,
+ toggle_window_maximized_horizontally,
+ toggle_window_maximized_vertically bindings (bnc 178220)
+- Fix window gravity issue (bnc 178765)
+- Fix cube rendering issue (bnc 178233)
+- Treat dock windows with below state as normal windows
+ (bnc 178316)
+- Make sloppy focus default in scale mode (bnc 174788)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ compiz.spec ++++++
--- /var/tmp/diff_new_pack.vZdlpg/_old 2006-05-26 14:40:57.000000000 +0200
+++ /var/tmp/diff_new_pack.vZdlpg/_new 2006-05-26 14:40:57.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package compiz (Version cvs_060521)
+# spec file for package compiz (Version cvs_060526)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -17,7 +17,7 @@
PreReq: %fillup_prereq
Requires: libpng libdrm gconf2 gtk2 gnome-desktop control-center2 libsvg libsvg-cairo libwnck xgl-hardware-list >= 060519
Autoreqprov: on
-Version: cvs_060521
+Version: cvs_060526
Release: 1
Summary: OpenGL window and compositing manager.
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -138,6 +138,22 @@
/etc/opt/gnome/gconf/schemas/compiz.schemas
%changelog -n compiz
+* Fri May 26 2006 - dreveman(a)suse.de
+- Task switcher (ALT-TAB) able to "show all" (bnc 173376)
+- Fix so swicher doesn't eat keystrokes (bnc 177650)
+- MSB byte order fix (bnc 178171)
+- Fix keyboard navigation in scale plugin (bnc 178216)
+- Don't add windows that appear after the switcher is popped up
+ (bnc 178350)
+- Add maximize_window_horizontally,
+ maximize_window_vertically, toggle_window_maximized,
+ toggle_window_maximized_horizontally,
+ toggle_window_maximized_vertically bindings (bnc 178220)
+- Fix window gravity issue (bnc 178765)
+- Fix cube rendering issue (bnc 178233)
+- Treat dock windows with below state as normal windows
+ (bnc 178316)
+- Make sloppy focus default in scale mode (bnc 174788)
* Sun May 21 2006 - dreveman(a)suse.de
- Fix stacking and sync request issues. (bnc #173416)
- Fix shadow performance in g-w-d.
++++++ compiz-0.0.11.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/ChangeLog new/compiz-0.0.11/ChangeLog
--- old/compiz-0.0.11/ChangeLog 2006-05-21 15:18:52.000000000 +0200
+++ new/compiz-0.0.11/ChangeLog 2006-05-26 12:05:57.000000000 +0200
@@ -1,5 +1,96 @@
+2006-05-26 David Reveman <davidr(a)novell.com>
+
+ * plugins/compiz.schemas.in.in: Regen.
+
+ * plugins/scale.c (SCALE_SLOPPY_FOCUS_DEFAULT): TRUE.
+
+ * plugins/decoration.c (decorWindowUpdate): No drop-shadow decoration
+ on windows with below state.
+
+ * src/window.c (recalcWindowType): Treat dock windows with below state
+ as normal windows. (bnc #178316)
+
+ * plugins/cube.c (cubePaintTransformedScreen): Avoid optimized case
+ when more than 4 cube sides.
+
+2006-05-25 David Reveman <davidr(a)novell.com>
+
+ * plugins/compiz.schemas.in.in: Regen.
+
+ * src/window.c (moveResizeWindow): Don't adjust position for NorthWest
+ gravity. (bnc 178765) (fdo #6992)
+
+ * plugins/compiz.schemas.in.in:
+ * include/compiz.h:
+ * src/event.c (handleEvent):
+ * src/display.c: Add maximize_window_horizontally,
+ maximize_window_vertically, toggle_window_maximized,
+ toggle_window_maximized_horizontally,
+ toggle_window_maximized_vertically.
+
+ * src/event.c (handleEvent): Track changes to maximizeWindow function.
+
+ * plugins/move.c (moveHandleMotionEvent): Make sure we have a saved
+ width before we use it. Track changes to maximizeWindow function.
+
+ * plugins/wobbly.c (wobblyHandleEvent): Handle the case where
+ window is not both vertically and horizontally maximized better.
+
+ * include/compiz.h: Add MAXIMIZE_STATE macro.
+
+ * include/compiz.h:
+ * src/window.c: Remove unmaximizeWindow and make maximizeWindow
+ take a state mask so it can be used for both maximizing and
+ unmaximizing.
+
+ * plugins/switcher.c: Don't add windows that appear after the switcher
+ is popped up. (bnc 178350)
+ (switchWindowRemove): Don't create a new list. Instead remove
+ window from the existing list and make sure we're positioned
+ correctly.
+
+2006-05-24 David Reveman <davidr(a)novell.com>
+
+ * plugins/scale.c (scaleMoveFocusWindow): When moving to window on
+ left, make sure the window we're moving to is completely left of
+ currently selected window. And same thing when moving to window on
+ right, top, bottom.
+ (layoutThumbs): Set slot->x2 and slot->y2 correctly. (bnc 178216)
+
+2006-05-23 David Reveman <davidr(a)novell.com>
+
+ * plugins/water.c: GL_UNSIGNED_INT_8_8_8_8_REV as pixel data type on
+ MSBFirst machines.
+
+ * src/texture.c: Include config.h before compiz.h so that
+ IMAGE_BYTE_ORDER is defined correctly. (bnc 178171)
+
+ * include/compiz.h: Define LSBFirst, MSBFirst, IMAGE_BYTE_ORDER,
+ BITMAP_BIT_ORDER. (bnc 178171)
+
+2006-05-23 Dan Winship <danw(a)novell.com>
+
+ * plugins/switcher.c (switchToWindow): use ss->windows here as
+ well so that multiple activeNum==0 windows don't get skipped.
+ (switchTerminate): Remove the screen grab right away so that
+ keystrokes don't get dropped. bnc 177650
+ (switchPreparePaintScreen, switchPaintScreen,
+ switchDonePaintScreen): update for that
+
+2006-05-22 Dan Winship <danw(a)novell.com>
+
+ * src/window.c (moveResizeWindow): deal with both vertical and
+ horizontal struts; but not when moving a dock window
+
+ * plugins/switcher.c (switchHandleEvent): Check init_all binding
+ before init, so you can bind "<Alt>" to init_all and so end up
+ with "<Alt>Tab" being init_all rather than init (but with no way
+ to get "init"...). bnc 173376
+
2006-05-21 David Reveman <davidr(a)novell.com>
+ * src/display.c (addDisplay): Select for button events on root windows.
+
* configure.ac: Bump version to 0.0.11.
* gnome/window-decorator/gnome-window-decorator.c: Fix shadow
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/include/compiz.h new/compiz-0.0.11/include/compiz.h
--- old/compiz-0.0.11/include/compiz.h 2006-05-20 12:51:42.000000000 +0200
+++ new/compiz-0.0.11/include/compiz.h 2006-05-25 05:43:37.000000000 +0200
@@ -42,6 +42,21 @@
#include <GL/gl.h>
#include <GL/glx.h>
+/*
+ * WORDS_BIGENDIAN should be defined before including this file for
+ * IMAGE_BYTE_ORDER and BITMAP_BIT_ORDER to be set correctly.
+ */
+#define LSBFirst 0
+#define MSBFirst 1
+
+#ifdef WORDS_BIGENDIAN
+# define IMAGE_BYTE_ORDER MSBFirst
+# define BITMAP_BIT_ORDER MSBFirst
+#else
+# define IMAGE_BYTE_ORDER LSBFirst
+# define BITMAP_BIT_ORDER LSBFirst
+#endif
+
typedef struct _CompPlugin CompPlugin;
typedef struct _CompDisplay CompDisplay;
typedef struct _CompScreen CompScreen;
@@ -101,6 +116,9 @@
#define CompWindowStateDemandsAttentationMask (1 << 11)
#define CompWindowStateDisplayModalMask (1 << 12)
+#define MAXIMIZE_STATE (CompWindowStateMaximizedHorzMask | \
+ CompWindowStateMaximizedVertMask)
+
#define CompWindowActionMoveMask (1 << 0)
#define CompWindowActionResizeMask (1 << 1)
#define CompWindowActionStickMask (1 << 2)
@@ -387,17 +405,22 @@
#define COMP_DISPLAY_OPTION_UNMAXIMIZE_WINDOW 34
#define COMP_DISPLAY_OPTION_MINIMIZE_WINDOW 35
#define COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW 36
-#define COMP_DISPLAY_OPTION_OPACITY_INCREASE 37
-#define COMP_DISPLAY_OPTION_OPACITY_DECREASE 38
-#define COMP_DISPLAY_OPTION_SCREENSHOT 39
-#define COMP_DISPLAY_OPTION_RUN_SCREENSHOT 40
-#define COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT 41
-#define COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT 42
-#define COMP_DISPLAY_OPTION_WINDOW_MENU 43
-#define COMP_DISPLAY_OPTION_SHOW_DESKTOP 44
-#define COMP_DISPLAY_OPTION_RAISE_ON_CLICK 45
-#define COMP_DISPLAY_OPTION_AUDIBLE_BELL 46
-#define COMP_DISPLAY_OPTION_NUM 47
+#define COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ 37
+#define COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT 38
+#define COMP_DISPLAY_OPTION_OPACITY_INCREASE 39
+#define COMP_DISPLAY_OPTION_OPACITY_DECREASE 40
+#define COMP_DISPLAY_OPTION_SCREENSHOT 41
+#define COMP_DISPLAY_OPTION_RUN_SCREENSHOT 42
+#define COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT 43
+#define COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT 44
+#define COMP_DISPLAY_OPTION_WINDOW_MENU 45
+#define COMP_DISPLAY_OPTION_SHOW_DESKTOP 46
+#define COMP_DISPLAY_OPTION_RAISE_ON_CLICK 47
+#define COMP_DISPLAY_OPTION_AUDIBLE_BELL 48
+#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED 49
+#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ 50
+#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT 51
+#define COMP_DISPLAY_OPTION_NUM 52
typedef CompOption *(*GetDisplayOptionsProc) (CompDisplay *display,
int *count);
@@ -1831,10 +1854,8 @@
unminimizeWindow (CompWindow *w);
void
-maximizeWindow (CompWindow *w);
-
-void
-unmaximizeWindow (CompWindow *w);
+maximizeWindow (CompWindow *w,
+ int state);
Bool
getWindowUserTime (CompWindow *w,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/plugins/compiz.schemas.in.in new/compiz-0.0.11/plugins/compiz.schemas.in.in
--- old/compiz-0.0.11/plugins/compiz.schemas.in.in 2006-05-19 10:28:18.000000000 +0200
+++ new/compiz-0.0.11/plugins/compiz.schemas.in.in 2006-05-26 12:04:55.000000000 +0200
@@ -527,6 +527,34 @@
</schema>
<schema>
+ <key>/schemas/apps/compiz/general/allscreens/options/maximize_window_horizontally</key>
+ <applyto>/apps/compiz/general/allscreens/options/maximize_window_horizontally</applyto>
+ <owner>compiz</owner>
+ <type>string</type>
+ <default>Disabled</default>
+ <locale name="C">
+ <short>Maximize Window Horizontally</short>
+ <long>
+ Maximize active window horizontally
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/compiz/general/allscreens/options/maximize_window_vertically</key>
+ <applyto>/apps/compiz/general/allscreens/options/maximize_window_vertically</applyto>
+ <owner>compiz</owner>
+ <type>string</type>
+ <default>Disabled</default>
+ <locale name="C">
+ <short>Maximize Window Vertically</short>
+ <long>
+ Maximize active window vertically
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
<key>/schemas/apps/compiz/general/allscreens/options/opacity_increase</key>
<applyto>/apps/compiz/general/allscreens/options/opacity_increase</applyto>
<owner>compiz</owner>
@@ -667,6 +695,48 @@
</schema>
<schema>
+ <key>/schemas/apps/compiz/general/allscreens/options/toggle_window_maximized</key>
+ <applyto>/apps/compiz/general/allscreens/options/toggle_window_maximized</applyto>
+ <owner>compiz</owner>
+ <type>string</type>
+ <default>Disabled</default>
+ <locale name="C">
+ <short>Toggle Window Maximized</short>
+ <long>
+ Toggle active window maximized
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/compiz/general/allscreens/options/toggle_window_maximized_horizontally</key>
+ <applyto>/apps/compiz/general/allscreens/options/toggle_window_maximized_horizontally</applyto>
+ <owner>compiz</owner>
+ <type>string</type>
+ <default>Disabled</default>
+ <locale name="C">
+ <short>Toggle Window Maximized Horizontally</short>
+ <long>
+ Toggle active window maximized horizontally
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/compiz/general/allscreens/options/toggle_window_maximized_vertically</key>
+ <applyto>/apps/compiz/general/allscreens/options/toggle_window_maximized_vertically</applyto>
+ <owner>compiz</owner>
+ <type>string</type>
+ <default>Disabled</default>
+ <locale name="C">
+ <short>Toggle Window Maximized Vertically</short>
+ <long>
+ Toggle active window maximized vertically
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
<key>/schemas/apps/compiz/general/screen0/options/detect_refresh_rate</key>
<applyto>/apps/compiz/general/screen0/options/detect_refresh_rate</applyto>
<owner>compiz</owner>
@@ -1985,7 +2055,7 @@
<applyto>/apps/compiz/plugins/scale/screen0/options/sloppy_focus</applyto>
<owner>compiz</owner>
<type>bool</type>
- <default>false</default>
+ <default>true</default>
<locale name="C">
<short>Sloppy Focus</short>
<long>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/plugins/cube.c new/compiz-0.0.11/plugins/cube.c
--- old/compiz-0.0.11/plugins/cube.c 2006-05-09 17:54:10.000000000 +0200
+++ new/compiz-0.0.11/plugins/cube.c 2006-05-25 16:22:05.000000000 +0200
@@ -1225,7 +1225,7 @@
/* outside cube */
if (cs->invert == 1)
{
- if (cs->grabIndex)
+ if (cs->grabIndex || s->size > 4)
{
GLenum filter;
int i;
@@ -1234,7 +1234,7 @@
sa.yRotate += (360.0f / size) * ((s->size >> 1) - 1);
filter = s->display->textureFilter;
- if (cs->opt[CUBE_SCREEN_OPTION_MIPMAP].value.b)
+ if (cs->grabIndex && cs->opt[CUBE_SCREEN_OPTION_MIPMAP].value.b)
s->display->textureFilter = GL_LINEAR_MIPMAP_LINEAR;
for (i = 0; i < s->size; i++)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/plugins/decoration.c new/compiz-0.0.11/plugins/decoration.c
--- old/compiz-0.0.11/plugins/decoration.c 2006-05-02 22:33:41.000000000 +0200
+++ new/compiz-0.0.11/plugins/decoration.c 2006-05-26 03:48:40.000000000 +0200
@@ -820,6 +820,10 @@
case CompWindowTypeDockMask:
if (w->region->numRects == 1 && !w->alpha)
decor = ds->decor[DECOR_BARE];
+
+ /* no decoration on windows with below state */
+ if (w->state & CompWindowStateBelowMask)
+ decor = NULL;
break;
default:
break;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/plugins/move.c new/compiz-0.0.11/plugins/move.c
--- old/compiz-0.0.11/plugins/move.c 2006-05-03 16:41:34.000000000 +0200
+++ new/compiz-0.0.11/plugins/move.c 2006-05-25 06:17:45.000000000 +0200
@@ -296,8 +296,7 @@
}
else
{
- unsigned int state = w->state;
- int min, max;
+ int min, max;
dx = md->x;
dy = md->y;
@@ -319,22 +318,26 @@
{
if (yRoot - ms->snapOffY >= SNAP_OFF)
{
+ int width = w->attrib.width;
+
w->saveMask |= CWX | CWY;
- w->saveWc.x = xRoot - (w->saveWc.width >> 1);
+ if (w->saveMask & CWWidth)
+ width = w->saveWc.width;
+
+ w->saveWc.x = xRoot - (width >> 1);
w->saveWc.y = yRoot + (w->input.top >> 1);
md->x = md->y = 0;
- unmaximizeWindow (w);
+ maximizeWindow (w, 0);
ms->snapOffY = ms->snapBackY;
return;
}
}
- else if ((ms->origState & CompWindowStateMaximizedVertMask) &&
- (ms->origState & CompWindowStateMaximizedHorzMask))
+ else if (ms->origState & CompWindowStateMaximizedVertMask)
{
if (yRoot - ms->snapBackY < SNAP_BACK)
{
@@ -342,7 +345,7 @@
{
int wy;
- maximizeWindow (w);
+ maximizeWindow (w, ms->origState);
wy = s->workArea.y + (w->input.top >> 1);
wy += w->sizeHints.height_inc >> 1;
@@ -355,7 +358,7 @@
}
}
- if (state & CompWindowStateMaximizedVertMask)
+ if (w->state & CompWindowStateMaximizedVertMask)
{
min = s->workArea.y + w->input.top;
max = s->workArea.y + s->workArea.height -
@@ -367,7 +370,7 @@
dy = max - w->attrib.y;
}
- if (state & CompWindowStateMaximizedHorzMask)
+ if (w->state & CompWindowStateMaximizedHorzMask)
{
if (w->attrib.x > s->width || w->attrib.x + w->width < 0)
return;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/plugins/scale.c new/compiz-0.0.11/plugins/scale.c
--- old/compiz-0.0.11/plugins/scale.c 2006-05-19 16:02:57.000000000 +0200
+++ new/compiz-0.0.11/plugins/scale.c 2006-05-26 12:02:13.000000000 +0200
@@ -42,7 +42,7 @@
#define SCALE_SPACING_MIN 0
#define SCALE_SPACING_MAX 250
-#define SCALE_SLOPPY_FOCUS_DEFAULT FALSE
+#define SCALE_SLOPPY_FOCUS_DEFAULT TRUE
#define SCALE_INITIATE_KEY_DEFAULT "Pause"
#define SCALE_INITIATE_MODIFIERS_DEFAULT 0
@@ -831,10 +831,16 @@
{
ss->slots[i].y1 += ss->windows[i]->input.top;
ss->slots[i].x1 += ss->windows[i]->input.left;
+ ss->slots[i].y2 += ss->windows[i]->input.top;
+ ss->slots[i].x2 += ss->windows[i]->input.left;
ss->slots[i].y1 = (float) ss->slots[i].y1 * ss->scale;
ss->slots[i].x1 = (float) ss->slots[i].x1 * ss->scale;
+ ss->slots[i].y2 = (float) ss->slots[i].y2 * ss->scale;
+ ss->slots[i].x2 = (float) ss->slots[i].x2 * ss->scale;
ss->slots[i].x1 += s->workArea.x;
ss->slots[i].y1 += s->workArea.y;
+ ss->slots[i].x2 += s->workArea.x;
+ ss->slots[i].y2 += s->workArea.y;
}
}
@@ -1164,10 +1170,10 @@
d = abs (x - cx) + abs (y - cy);
if (d < min)
{
- if ((dx > 0 && x < sw->slot->x2) ||
- (dx < 0 && x > sw->slot->x1) ||
- (dy > 0 && y < sw->slot->y2) ||
- (dy < 0 && y > sw->slot->y1))
+ if ((dx > 0 && slot->x1 < sw->slot->x2) ||
+ (dx < 0 && slot->x2 > sw->slot->x1) ||
+ (dy > 0 && slot->y1 < sw->slot->y2) ||
+ (dy < 0 && slot->y2 > sw->slot->y1))
continue;
min = d;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/plugins/switcher.c new/compiz-0.0.11/plugins/switcher.c
--- old/compiz-0.0.11/plugins/switcher.c 2006-05-19 13:00:55.000000000 +0200
+++ new/compiz-0.0.11/plugins/switcher.c 2006-05-26 02:11:36.000000000 +0200
@@ -116,7 +116,6 @@
DonePaintScreenProc donePaintScreen;
PaintScreenProc paintScreen;
PaintWindowProc paintWindow;
- DamageWindowRectProc damageWindowRect;
CompOption opt[SWITCH_SCREEN_OPTION_NUM];
CompOption init_all_bind, prev_bind, prev_all_bind;
@@ -606,26 +605,8 @@
switchUpdateWindowList (CompScreen *s,
int count)
{
- CompWindow *w;
-
SWITCH_SCREEN (s);
- ss->nWindows = 0;
-
- for (w = s->windows; w; w = w->next)
- {
- if (isSwitchWin (w))
- switchAddWindowToList (s, w);
- }
-
- qsort (ss->windows, ss->nWindows, sizeof (CompWindow *), compareWindows);
-
- if (ss->nWindows == 2)
- {
- switchAddWindowToList (s, ss->windows[0]);
- switchAddWindowToList (s, ss->windows[1]);
- }
-
if (count > 1)
{
count -= (count + 1) & 1;
@@ -647,79 +628,58 @@
}
static void
-switchToWindow (CompScreen *s,
- Bool toNext)
+switchCreateWindowList (CompScreen *s,
+ int count)
{
- CompWindow *next = NULL;
- CompWindow *prev = NULL;
CompWindow *w;
SWITCH_SCREEN (s);
- if (!ss->grabIndex)
- return;
+ ss->nWindows = 0;
for (w = s->windows; w; w = w->next)
{
- if (w->id == ss->selectedWindow)
- continue;
-
if (isSwitchWin (w))
- {
- if (w->activeNum < ss->lastActiveNum)
- {
- if (next)
- {
- if (toNext)
- {
- if (w->activeNum > next->activeNum)
- next = w;
- }
- else
- {
- if (w->activeNum < next->activeNum)
- next = w;
- }
- }
- else
- next = w;
- }
- else if (w->activeNum > ss->lastActiveNum)
- {
- if (prev)
- {
- if (toNext)
- {
- if (w->activeNum > prev->activeNum)
- prev = w;
- }
- else
- {
- if (w->activeNum < prev->activeNum)
- prev = w;
- }
- }
- else
- prev = w;
- }
- }
+ switchAddWindowToList (s, w);
}
- if (toNext)
+ qsort (ss->windows, ss->nWindows, sizeof (CompWindow *), compareWindows);
+
+ if (ss->nWindows == 2)
{
- if (next)
- w = next;
- else
- w = prev;
+ switchAddWindowToList (s, ss->windows[0]);
+ switchAddWindowToList (s, ss->windows[1]);
}
- else
+
+ switchUpdateWindowList (s, count);
+}
+
+static void
+switchToWindow (CompScreen *s,
+ Bool toNext)
+{
+ CompWindow *w;
+ int cur;
+
+ SWITCH_SCREEN (s);
+
+ if (!ss->grabIndex)
+ return;
+
+ for (cur = 0; cur < ss->nWindows; cur++)
{
- if (prev)
- w = prev;
- else
- w = next;
+ if (ss->windows[cur]->id == ss->selectedWindow)
+ break;
}
+ if (cur == ss->nWindows)
+ return;
+
+ if (toNext)
+ w = ss->windows[(cur + 1) % ss->nWindows];
+ else
+ w = ss->windows[(cur + ss->nWindows - 1) % ss->nWindows];
+
if (w)
{
Window old = ss->selectedWindow;
@@ -912,7 +872,7 @@
{
ss->lastActiveNum = s->activeNum;
- switchUpdateWindowList (s, count);
+ switchCreateWindowList (s, count);
ss->sTranslate = ss->zoom;
@@ -975,13 +935,13 @@
sendWindowActivationRequest (w->screen, w->id);
}
+ removeScreenGrab (s, ss->grabIndex, 0);
+ ss->grabIndex = 0;
+
if (!ss->zooming)
{
ss->selectedWindow = None;
ss->zoomedWindow = None;
-
- removeScreenGrab (s, ss->grabIndex, 0);
- ss->grabIndex = 0;
}
else
{
@@ -1003,21 +963,103 @@
w = findWindowAtDisplay (d, id);
if (w)
{
- int i;
+ Bool inList = FALSE;
+ int count, j, i = 0;
+ Window selected, old;
SWITCH_SCREEN (w->screen);
- for (i = 0; i < ss->nWindows; i++)
+ if (isSwitchWin (w))
+ return;
+
+ old = selected = ss->selectedWindow;
+
+ while (i < ss->nWindows)
{
if (ss->windows[i] == w)
{
- ss->lastActiveNum = w->screen->activeNum;
+ inList = TRUE;
- switchUpdateWindowList (w->screen,
- switchCountWindows (w->screen));
+ if (w->id == selected)
+ {
+ if (i < ss->nWindows)
+ selected = ss->windows[i + 1]->id;
+ else
+ selected = ss->windows[0]->id;
+ }
- break;
+ ss->nWindows--;
+ for (j = i; j < ss->nWindows; j++)
+ ss->windows[j] = ss->windows[j + 1];
}
+ else
+ {
+ i++;
+ }
+ }
+
+ if (!inList)
+ return;
+
+ count = ss->nWindows;
+
+ if (ss->nWindows == 2)
+ {
+ if (ss->windows[0] == ss->windows[1])
+ {
+ ss->nWindows--;
+ count = 1;
+ }
+ else
+ {
+ switchAddWindowToList (w->screen, ss->windows[0]);
+ switchAddWindowToList (w->screen, ss->windows[1]);
+ }
+ }
+
+ if (ss->nWindows == 0)
+ {
+ switchTerminate (w->screen, FALSE);
+ return;
+ }
+
+ if (!ss->grabIndex)
+ return;
+
+ switchUpdateWindowList (w->screen, count);
+
+ for (i = 0; i < ss->nWindows; i++)
+ {
+ ss->selectedWindow = ss->windows[i]->id;
+
+ if (ss->selectedWindow == selected)
+ break;
+
+ ss->pos -= WIDTH;
+ if (ss->pos < -ss->nWindows * WIDTH)
+ ss->pos += ss->nWindows * WIDTH;
+ }
+
+ if (ss->popupWindow)
+ {
+ CompWindow *popup;
+
+ popup = findWindowAtScreen (w->screen, ss->popupWindow);
+ if (popup)
+ addWindowDamage (popup);
+
+ setSelectedWindowHint (w->screen);
+ }
+
+ if (old != ss->selectedWindow)
+ {
+ addWindowDamage (w);
+
+ w = findWindowAtScreen (w->screen, old);
+ if (w)
+ addWindowDamage (w);
+
+ ss->moreAdjust = 1;
}
}
}
@@ -1040,13 +1082,13 @@
if (!ss->switching)
{
- if (eventMatches (d, event,
- &ss->opt[SWITCH_SCREEN_OPTION_INITIATE]) ||
- eventMatches (d, event, &ss->prev_bind))
- switchInitiate (s, FALSE);
- else if (eventMatches (d, event, &ss->init_all_bind) ||
- eventMatches (d, event, &ss->prev_all_bind))
+ if (eventMatches (d, event, &ss->init_all_bind) ||
+ eventMatches (d, event, &ss->prev_all_bind))
switchInitiate (s, TRUE);
+ else if (eventMatches (d, event,
+ &ss->opt[SWITCH_SCREEN_OPTION_INITIATE]) ||
+ eventMatches (d, event, &ss->prev_bind))
+ switchInitiate (s, FALSE);
}
if (eventMatches (d, event,
@@ -1191,11 +1233,11 @@
ss->translate = 0.0f;
ss->sTranslate = ss->zoom;
+ ss->selectedWindow = None;
+ ss->zoomedWindow = None;
+
if (ss->grabIndex)
{
- ss->selectedWindow = None;
- ss->zoomedWindow = None;
-
removeScreenGrab (s, ss->grabIndex, 0);
ss->grabIndex = 0;
}
@@ -1244,7 +1286,7 @@
SWITCH_SCREEN (s);
- if (ss->grabIndex)
+ if (ss->grabIndex || ss->zooming)
{
ScreenPaintAttrib sa = *sAttrib;
CompWindow *zoomed;
@@ -1330,7 +1372,7 @@
{
SWITCH_SCREEN (s);
- if (ss->grabIndex && ss->moreAdjust)
+ if ((ss->grabIndex || ss->zooming) && ss->moreAdjust)
{
if (ss->zooming)
{
@@ -1671,52 +1713,6 @@
}
static Bool
-switchDamageWindowRect (CompWindow *w,
- Bool initial,
- BoxPtr rect)
-{
- Bool status;
-
- SWITCH_SCREEN (w->screen);
-
- if (ss->grabIndex && ss->switching)
- {
- if (initial)
- {
- if (isSwitchWin (w))
- {
- ss->lastActiveNum = w->screen->activeNum;
-
- switchUpdateWindowList (w->screen,
- switchCountWindows (w->screen));
- }
- else if (w->id == ss->popupWindow)
- {
- updateWindowAttributes (w, TRUE);
- }
- }
- else if (!ss->moreAdjust)
- {
- if (isSwitchWin (w))
- {
- CompWindow *popup;
-
- popup = findWindowAtScreen (w->screen, ss->popupWindow);
- if (popup)
- addWindowDamage (popup);
-
- }
- }
- }
-
- UNWRAP (ss, w->screen, damageWindowRect);
- status = (*w->screen->damageWindowRect) (w, initial, rect);
- WRAP (ss, w->screen, damageWindowRect, switchDamageWindowRect);
-
- return status;
-}
-
-static Bool
switchInitDisplay (CompPlugin *p,
CompDisplay *d)
{
@@ -1817,7 +1813,6 @@
WRAP (ss, s, donePaintScreen, switchDonePaintScreen);
WRAP (ss, s, paintScreen, switchPaintScreen);
WRAP (ss, s, paintWindow, switchPaintWindow);
- WRAP (ss, s, damageWindowRect, switchDamageWindowRect);
s->privates[sd->screenPrivateIndex].ptr = ss;
@@ -1834,7 +1829,6 @@
UNWRAP (ss, s, donePaintScreen);
UNWRAP (ss, s, paintScreen);
UNWRAP (ss, s, paintWindow);
- UNWRAP (ss, s, damageWindowRect);
if (ss->windowsSize)
free (ss->windows);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/plugins/water.c new/compiz-0.0.11/plugins/water.c
--- old/compiz-0.0.11/plugins/water.c 2006-05-05 10:30:03.000000000 +0200
+++ new/compiz-0.0.11/plugins/water.c 2006-05-23 16:36:16.000000000 +0200
@@ -23,6 +23,10 @@
* Author: David Reveman <davidr(a)novell.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "../config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -495,7 +499,13 @@
ws->height,
0,
GL_BGRA,
+
+#if IMAGE_BYTE_ORDER == MSBFirst
+ GL_UNSIGNED_INT_8_8_8_8_REV,
+#else
GL_UNSIGNED_BYTE,
+#endif
+
ws->t0);
}
@@ -807,7 +817,13 @@
ws->height,
0,
GL_BGRA,
- GL_UNSIGNED_BYTE,
+
+#if IMAGE_BYTE_ORDER == MSBFirst
+ GL_UNSIGNED_INT_8_8_8_8_REV,
+#else
+ GL_UNSIGNED_BYTE,
+#endif
+
ws->t0);
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/plugins/wobbly.c new/compiz-0.0.11/plugins/wobbly.c
--- old/compiz-0.0.11/plugins/wobbly.c 2006-05-19 10:28:19.000000000 +0200
+++ new/compiz-0.0.11/plugins/wobbly.c 2006-05-25 06:14:39.000000000 +0200
@@ -38,9 +38,6 @@
#define WIN_W(w) ((w)->width + (w)->output.left + (w)->output.right)
#define WIN_H(w) ((w)->height + (w)->output.top + (w)->output.bottom)
-#define MAXIMIZE_STATE (CompWindowStateMaximizedVertMask | \
- CompWindowStateMaximizedHorzMask)
-
#define GRID_WIDTH 4
#define GRID_HEIGHT 4
@@ -2330,8 +2327,7 @@
{
WOBBLY_WINDOW (ws->grabWindow);
- if (ww->state & (CompWindowStateMaximizedVertMask |
- CompWindowStateMaximizedHorzMask))
+ if (ww->state & MAXIMIZE_STATE)
{
WOBBLY_WINDOW (ws->grabWindow);
@@ -2339,8 +2335,15 @@
{
int dx, dy;
- dx = pointerX - lastPointerX;
- dy = pointerY - lastPointerY;
+ if (ww->state & CompWindowStateMaximizedHorzMask)
+ dx = pointerX - lastPointerX;
+ else
+ dx = 0;
+
+ if (ww->state & CompWindowStateMaximizedVertMask)
+ dy = pointerY - lastPointerY;
+ else
+ dy = 0;
ww->model->anchorObject->position.x += dx;
ww->model->anchorObject->position.y += dy;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/src/display.c new/compiz-0.0.11/src/display.c
--- old/compiz-0.0.11/src/display.c 2006-05-17 11:25:15.000000000 +0200
+++ new/compiz-0.0.11/src/display.c 2006-05-24 23:01:45.000000000 +0200
@@ -308,6 +308,24 @@
XKeysymToKeycode (display->display,
XStringToKeysym (MAXIMIZE_WINDOW_KEY_DEFAULT));
+ o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ];
+ o->name = "maximize_window_horizontally";
+ o->shortDesc = "Maximize Window Horizontally";
+ o->longDesc = "Maximize active window horizontally";
+ o->type = CompOptionTypeBinding;
+ o->value.bind.type = CompBindingTypeNone;
+ o->value.bind.u.key.modifiers = 0;
+ o->value.bind.u.key.keycode = 0;
+
+ o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT];
+ o->name = "maximize_window_vertically";
+ o->shortDesc = "Maximize Window Vertically";
+ o->longDesc = "Maximize active window vertically";
+ o->type = CompOptionTypeBinding;
+ o->value.bind.type = CompBindingTypeNone;
+ o->value.bind.u.key.modifiers = 0;
+ o->value.bind.u.key.keycode = 0;
+
o = &display->opt[COMP_DISPLAY_OPTION_SHOW_DESKTOP];
o->name = "show_desktop";
o->shortDesc = "Hide all windows and focus desktop";
@@ -451,6 +469,35 @@
o->longDesc = "Audible system beep";
o->type = CompOptionTypeBool;
o->value.b = AUDIBLE_BELL_DEFAULT;
+
+ o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED];
+ o->name = "toggle_window_maximized";
+ o->shortDesc = "Toggle Window Maximized";
+ o->longDesc = "Toggle active window maximized";
+ o->type = CompOptionTypeBinding;
+ o->value.bind.type = CompBindingTypeNone;
+ o->value.bind.u.key.modifiers = 0;
+ o->value.bind.u.key.keycode = 0;
+
+ o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ];
+ o->name = "toggle_window_maximized_horizontally";
+ o->shortDesc = "Toggle Window Maximized Horizontally";
+ o->longDesc =
+ "Toggle active window maximized horizontally";
+ o->type = CompOptionTypeBinding;
+ o->value.bind.type = CompBindingTypeNone;
+ o->value.bind.u.key.modifiers = 0;
+ o->value.bind.u.key.keycode = 0;
+
+ o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT];
+ o->name = "toggle_window_maximized_vertically";
+ o->shortDesc = "Toggle Window Maximized Vertically";
+ o->longDesc =
+ "Toggle active window maximized vertically";
+ o->type = CompOptionTypeBinding;
+ o->value.bind.type = CompBindingTypeNone;
+ o->value.bind.u.key.modifiers = 0;
+ o->value.bind.u.key.keycode = 0;
}
CompOption *
@@ -561,6 +608,8 @@
case COMP_DISPLAY_OPTION_RUN_DIALOG:
case COMP_DISPLAY_OPTION_MINIMIZE_WINDOW:
case COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW:
+ case COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ:
+ case COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT:
case COMP_DISPLAY_OPTION_UNMAXIMIZE_WINDOW:
case COMP_DISPLAY_OPTION_SHOW_DESKTOP:
case COMP_DISPLAY_OPTION_RUN_COMMAND0:
@@ -582,6 +631,9 @@
case COMP_DISPLAY_OPTION_RUN_SCREENSHOT:
case COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT:
case COMP_DISPLAY_OPTION_WINDOW_MENU:
+ case COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED:
+ case COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ:
+ case COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT:
if (addDisplayBinding (display, &value->bind))
{
removeDisplayBinding (display, &o->value.bind);
@@ -1583,6 +1635,10 @@
addScreenBinding (s,
&d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW].value.bind);
addScreenBinding (s,
+ &d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ].value.bind);
+ addScreenBinding (s,
+ &d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT].value.bind);
+ addScreenBinding (s,
&d->opt[COMP_DISPLAY_OPTION_UNMAXIMIZE_WINDOW].value.bind);
addScreenBinding (s, &d->opt[COMP_DISPLAY_OPTION_SHOW_DESKTOP].value.bind);
addScreenBinding (s, &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND0].value.bind);
@@ -1607,6 +1663,13 @@
addScreenBinding (s, &d->opt[COMP_DISPLAY_OPTION_RUN_SCREENSHOT].value.bind);
addScreenBinding (s, &d->opt[COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT].value.bind);
addScreenBinding (s, &d->opt[COMP_DISPLAY_OPTION_WINDOW_MENU].value.bind);
+ addScreenBinding (s,
+ &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED].value.bind);
+ addScreenBinding (s,
+ &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ].value.bind);
+ addScreenBinding (s,
+ &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT].value.bind);
+
}
void
@@ -2020,6 +2083,8 @@
EnterWindowMask |
KeyPressMask |
KeyReleaseMask |
+ ButtonPressMask |
+ ButtonReleaseMask |
FocusChangeMask |
ExposureMask);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/src/event.c new/compiz-0.0.11/src/event.c
--- old/compiz-0.0.11/src/event.c 2006-05-21 14:23:56.000000000 +0200
+++ new/compiz-0.0.11/src/event.c 2006-05-25 15:54:12.000000000 +0200
@@ -423,7 +423,29 @@
{
w = findTopLevelWindowAtScreen (s, event->xbutton.window);
if (w)
- maximizeWindow (w);
+ maximizeWindow (w, MAXIMIZE_STATE);
+
+ eventMode = AsyncPointer;
+ }
+
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ]))
+ {
+ w = findTopLevelWindowAtScreen (s, event->xbutton.window);
+ if (w)
+ maximizeWindow (w, w->state |
+ CompWindowStateMaximizedHorzMask);
+
+ eventMode = AsyncPointer;
+ }
+
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT]))
+ {
+ w = findTopLevelWindowAtScreen (s, event->xbutton.window);
+ if (w)
+ maximizeWindow (w, w->state |
+ CompWindowStateMaximizedVertMask);
eventMode = AsyncPointer;
}
@@ -433,7 +455,7 @@
{
w = findTopLevelWindowAtScreen (s, event->xbutton.window);
if (w)
- unmaximizeWindow (w);
+ maximizeWindow (w, 0);
eventMode = AsyncPointer;
}
@@ -567,6 +589,37 @@
eventMode = AsyncPointer;
}
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED]))
+ {
+ w = findTopLevelWindowAtScreen (s, event->xbutton.window);
+ if (w)
+ {
+ if ((w->state & MAXIMIZE_STATE) == MAXIMIZE_STATE)
+ maximizeWindow (w, 0);
+ else
+ maximizeWindow (w, MAXIMIZE_STATE);
+ }
+ }
+
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ]))
+ {
+ w = findTopLevelWindowAtScreen (s, event->xbutton.window);
+ if (w)
+ maximizeWindow (w, w->state ^
+ CompWindowStateMaximizedHorzMask);
+ }
+
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT]))
+ {
+ w = findTopLevelWindowAtScreen (s, event->xbutton.window);
+ if (w)
+ maximizeWindow (w, w->state ^
+ CompWindowStateMaximizedVertMask);
+ }
+
if (!d->screens->maxGrab)
XAllowEvents (d->display, eventMode, event->xbutton.time);
}
@@ -594,7 +647,25 @@
{
w = findTopLevelWindowAtScreen (s, d->activeWindow);
if (w)
- maximizeWindow (w);
+ maximizeWindow (w, MAXIMIZE_STATE);
+ }
+
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ]))
+ {
+ w = findTopLevelWindowAtScreen (s, d->activeWindow);
+ if (w)
+ maximizeWindow (w, w->state |
+ CompWindowStateMaximizedHorzMask);
+ }
+
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT]))
+ {
+ w = findTopLevelWindowAtScreen (s, d->activeWindow);
+ if (w)
+ maximizeWindow (w, w->state |
+ CompWindowStateMaximizedVertMask);
}
if (eventMatches (d, event,
@@ -602,7 +673,7 @@
{
w = findTopLevelWindowAtScreen (s, d->activeWindow);
if (w)
- unmaximizeWindow (w);
+ maximizeWindow (w, 0);
}
if (eventMatches (d, event,
@@ -704,6 +775,37 @@
if (eventMatches (d, event,
&d->opt[COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT]))
runCommand (s, d->opt[COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT].value.s);
+
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED]))
+ {
+ w = findTopLevelWindowAtScreen (s, d->activeWindow);
+ if (w)
+ {
+ if ((w->state & MAXIMIZE_STATE) == MAXIMIZE_STATE)
+ maximizeWindow (w, 0);
+ else
+ maximizeWindow (w, MAXIMIZE_STATE);
+ }
+ }
+
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ]))
+ {
+ w = findTopLevelWindowAtScreen (s, d->activeWindow);
+ if (w)
+ maximizeWindow (w, w->state ^
+ CompWindowStateMaximizedHorzMask);
+ }
+
+ if (eventMatches (d, event,
+ &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT]))
+ {
+ w = findTopLevelWindowAtScreen (s, d->activeWindow);
+ if (w)
+ maximizeWindow (w, w->state ^
+ CompWindowStateMaximizedVertMask);
+ }
}
break;
case KeyRelease:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/src/texture.c new/compiz-0.0.11/src/texture.c
--- old/compiz-0.0.11/src/texture.c 2006-05-09 17:51:37.000000000 +0200
+++ new/compiz-0.0.11/src/texture.c 2006-05-23 16:33:13.000000000 +0200
@@ -23,6 +23,10 @@
* Author: David Reveman <davidr(a)novell.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "../config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/compiz-0.0.11/src/window.c new/compiz-0.0.11/src/window.c
--- old/compiz-0.0.11/src/window.c 2006-05-21 14:43:05.000000000 +0200
+++ new/compiz-0.0.11/src/window.c 2006-05-26 03:46:05.000000000 +0200
@@ -592,6 +592,9 @@
type = CompWindowTypeDialogMask;
}
+ if (type == CompWindowTypeDockMask && (w->state & CompWindowStateBelowMask))
+ type = CompWindowTypeNormalMask;
+
if ((type & (CompWindowTypeNormalMask | CompWindowTypeDialogMask)) &&
(w->state & CompWindowStateModalMask))
type = CompWindowTypeModalDialogMask;
@@ -2135,13 +2138,6 @@
if (xwcm & (CWX | CWWidth))
{
switch (gravity) {
- case NorthWestGravity:
- case WestGravity:
- case SouthWestGravity:
- if (xwcm & CWX)
- xwc->x += w->input.left;
- break;
-
case NorthGravity:
case CenterGravity:
case SouthGravity:
@@ -2169,13 +2165,6 @@
if (xwcm & (CWY | CWHeight))
{
switch (gravity) {
- case NorthWestGravity:
- case NorthGravity:
- case NorthEastGravity:
- if (xwcm & CWY)
- xwc->y += w->input.top;
- break;
-
case WestGravity:
case CenterGravity:
case EastGravity:
@@ -2200,17 +2189,33 @@
xwcm |= CWY;
}
- if (xwcm & CWY)
+ if (!(w->type & (CompWindowTypeDockMask | CompWindowTypeUnknownMask)))
{
- int min, max;
+ if (xwcm & CWY)
+ {
+ int min, max;
+
+ min = w->screen->workArea.y + w->input.top;
+ max = w->screen->workArea.y + w->screen->workArea.height;
+
+ if (xwc->y < min)
+ xwc->y = min;
+ else if (xwc->y > max)
+ xwc->y = max;
+ }
+
+ if (xwcm & CWX)
+ {
+ int min, max;
- min = w->screen->workArea.y + w->input.top;
- max = w->screen->workArea.y + w->screen->workArea.height;
+ min = w->screen->workArea.x + w->input.left;
+ max = w->screen->workArea.x + w->screen->workArea.width;
- if (xwc->y < min)
- xwc->y = min;
- else if (xwc->y > max)
- xwc->y = max;
+ if (xwc->x < min)
+ xwc->x = min;
+ else if (xwc->x > max)
+ xwc->x = max;
+ }
}
if (xwcm & CWBorderWidth)
@@ -3449,24 +3454,24 @@
}
void
-maximizeWindow (CompWindow *w)
+maximizeWindow (CompWindow *w,
+ int state)
{
- int state = 0;
-
if (w->attrib.override_redirect)
return;
- if (w->actions & CompWindowActionMaximizeHorzMask)
- state |= CompWindowStateMaximizedHorzMask;
+ if (!(w->actions & CompWindowActionMaximizeHorzMask))
+ state &= ~CompWindowStateMaximizedHorzMask;
- if (w->actions & CompWindowActionMaximizeVertMask)
- state |= CompWindowStateMaximizedVertMask;
+ if (!(w->actions & CompWindowActionMaximizeVertMask))
+ state &= ~CompWindowStateMaximizedVertMask;
- state &= ~w->state;
+ state &= MAXIMIZE_STATE;
- if (!state)
+ if (state == (w->state & MAXIMIZE_STATE))
return;
+ w->state &= ~MAXIMIZE_STATE;
w->state |= state;
recalcWindowType (w);
@@ -3477,27 +3482,6 @@
setWindowState (w->screen->display, w->state, w->id);
}
-void
-unmaximizeWindow (CompWindow *w)
-{
- if (w->attrib.override_redirect)
- return;
-
- if (!(w->state & (CompWindowStateMaximizedHorzMask |
- CompWindowStateMaximizedVertMask)))
- return;
-
- w->state &= ~(CompWindowStateMaximizedHorzMask |
- CompWindowStateMaximizedVertMask);
-
- recalcWindowType (w);
- recalcWindowActions (w);
-
- updateWindowAttributes (w, FALSE);
-
- setWindowState (w->screen->display, w->state, w->id);
-}
-
Bool
getWindowUserTime (CompWindow *w,
Time *time)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package bbtools
checked in at Fri May 26 14:38:06 CEST 2006.
--------
--- bbtools/bbtools.changes 2006-01-25 21:34:35.000000000 +0100
+++ bbtools/bbtools.changes 2006-05-26 12:54:19.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 12:54:13 CEST 2006 - schwab(a)suse.de
+
+- Don't strip binaries.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bbtools.spec ++++++
--- /var/tmp/diff_new_pack.A0oSB1/_old 2006-05-26 14:35:47.000000000 +0200
+++ /var/tmp/diff_new_pack.A0oSB1/_new 2006-05-26 14:35:47.000000000 +0200
@@ -1,11 +1,11 @@
#
-# spec file for package bbtools (Version 2006.1.20)
+# spec file for package bbtools (Version 2006.5.26)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
@@ -16,7 +16,7 @@
Group: System/GUI/Other
Autoreqprov: on
Requires: blackbox
-Version: 2006.1.20
+Version: 2006.5.26
Release: 1
Summary: Tools for the Blackbox Window Manager
URL: http://bbtools.sourceforge.net/
@@ -103,6 +103,7 @@
# automake
# autoconf
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
+ LDFLAGS=" " \
./configure \
--prefix=/usr \
--libdir=%_libdir \
@@ -115,7 +116,6 @@
done
%install
-rm -rf $RPM_BUILD_ROOT
for i in %{list}; do
cd $i-*
make "DESTDIR=$RPM_BUILD_ROOT" install
@@ -145,6 +145,8 @@
/usr/share/bbkeys
%changelog -n bbtools
+* Fri May 26 2006 - schwab(a)suse.de
+- Don't strip binaries.
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 20 2006 - hvogel(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package repoview
checked in at Fri May 26 14:37:20 CEST 2006.
--------
--- repoview/repoview.changes 2006-01-25 21:47:40.000000000 +0100
+++ repoview/repoview.changes 2006-05-25 14:56:49.000000000 +0200
@@ -1,0 +2,15 @@
+Thu May 25 14:55:25 CEST 2006 - cthiel(a)suse.de
+
+- update to version 0.5.1
+ * Hack around the comps.xml API changes in yum-2.5.x
+- changes in version 0.5:
+ * Switch to optparse. This may break older Pythons, not sure.
+ * Dropped "-t toplevel" switch, since it complicated the code a lot and
+ not used by anyone, to my knowledge.
+ * Moved "-l title" to "-t title" with a deprecation note in place.
+ * Added RSS generation routines. Template for the entries is in kid.rss.
+ Feed published into repodata/latest-feed.xml. To enable rss feed
+ generation, pass a "-u URL" flag (repoview has no other way of knowing
+ where your data will be published).
+
+-------------------------------------------------------------------
Old:
----
repoview-0.4.1.diff
repoview-0.4.1.tar.bz2
New:
----
repoview-0.5.1.patch
repoview-0.5.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ repoview.spec ++++++
--- /var/tmp/diff_new_pack.ps9Rjs/_old 2006-05-26 14:36:00.000000000 +0200
+++ /var/tmp/diff_new_pack.ps9Rjs/_new 2006-05-26 14:36:00.000000000 +0200
@@ -1,25 +1,25 @@
#
-# spec file for package repoview (Version 0.4.1)
+# spec file for package repoview (Version 0.5.1)
#
-# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://www.suse.de/feedback/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: repoview
BuildRequires: python-devel python-kid yum
-Version: 0.4.1
+Version: 0.5.1
Release: 1
Summary: Creates a set of static HTML pages in a yum repository for easy browsing
Group: System/Packages
License: GPL
URL: http://linux.duke.edu/projects/mini/repoview/
Source: %{name}-%{version}.tar.bz2
-Patch: %{name}-%{version}.diff
+Patch: %{name}-%{version}.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: python-kid
@@ -61,6 +61,18 @@
%{_datadir}/%{name}
%changelog -n repoview
+* Thu May 25 2006 - cthiel(a)suse.de
+- update to version 0.5.1
+ * Hack around the comps.xml API changes in yum-2.5.x
+- changes in version 0.5:
+ * Switch to optparse. This may break older Pythons, not sure.
+ * Dropped "-t toplevel" switch, since it complicated the code a lot and
+ not used by anyone, to my knowledge.
+ * Moved "-l title" to "-t title" with a deprecation note in place.
+ * Added RSS generation routines. Template for the entries is in kid.rss.
+ Feed published into repodata/latest-feed.xml. To enable rss feed
+ generation, pass a "-u URL" flag (repoview has no other way of knowing
+ where your data will be published).
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 26 2005 - cthiel(a)suse.de
++++++ repoview-0.5.1.patch ++++++
--- repoview.py
+++ repoview.py
@@ -67,7 +67,7 @@
idxfile = 'index.html'
VERSION = '0.5.1'
-DEFAULT_TEMPLATEDIR = './templates'
+DEFAULT_TEMPLATEDIR = '/usr/share/repoview/templates'
emailre = re.compile('<.*?@.*?>')
def _webify(text):
++++++ repoview-0.4.1.tar.bz2 -> repoview-0.5.1.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/repoview-0.4.1/ChangeLog new/repoview-0.5.1/ChangeLog
--- old/repoview-0.4.1/ChangeLog 2005-10-07 23:42:25.000000000 +0200
+++ new/repoview-0.5.1/ChangeLog 2006-02-16 05:27:07.000000000 +0100
@@ -1,29 +1,43 @@
-Version 0.4.1
- * Add -V, --version, -h, and -? command-line options
- (#504, patch by Ville Skyttä)
- * Fix Changelog sorting (introduced in 0.4 with parser logic change)
-
-Version 0.4
- * Add DOCTYPE declarations (#482)
- * Use YUM parsing routines with "noyum" fallback for people with no yum
- or yum <= 2.3 (see README)
- * Fix the "latest packages" selection behaviour (#485, rh#168125)
- * Remove the (fairly useless) "Total Groups" summary
- * CSS Fixes from Ville Skyttä (#483, #484)
- * Add timestamps to the index page "Latest Packages" listing (#501)
- * Preserve unchanged files for more efficient mirroring (#492)
-
-Version 0.3
- * Fall back to silly RPM groups if no group data is found.
- * Replace all slashes and spaces in group names to avoid breakage.
- * Add a -l switch to provide a brief title, e.g.:
- -l "Fedora Extras 3 x86"
-
-Version 0.2
- * Use iterparse to save a whole lotta memory
- * Work with kid-0.6
- * Do not use enumerate() as that breaks on python-2.2
- * Rename repoview into repoview.py
- * Rename __orphans__ to __nogroup__
- * Add a simple manpage
- * Check for repomd.xml before trying to parse it
+Version 0.5.1:
+ * Hack around the comps.xml API changes in yum-2.5.x
+
+Version 0.5:
+ * Switch to optparse. This may break older Pythons, not sure.
+ * Dropped "-t toplevel" switch, since it complicated the code
+ a lot and not used by anyone, to my knowledge.
+ * Moved "-l title" to "-t title" with a deprecation note in place.
+ * Added RSS generation routines. Template for the entries is in
+ kid.rss. Feed published into repodata/latest-feed.xml. To enable
+ rss feed generation, pass a "-u URL" flag (repoview has no other way
+ of knowing where your data will be published).
+
+Version 0.4.1
+ * Add -V, --version, -h, and -? command-line options
+ (#504, patch by Ville Skyttä)
+ * Fix Changelog sorting (introduced in 0.4 with parser logic change)
+
+Version 0.4
+ * Add DOCTYPE declarations (#482)
+ * Use YUM parsing routines with "noyum" fallback for people with no yum
+ or yum <= 2.3 (see README)
+ * Fix the "latest packages" selection behaviour (#485, rh#168125)
+ * Remove the (fairly useless) "Total Groups" summary
+ * CSS Fixes from Ville Skyttä (#483, #484)
+ * Add timestamps to the index page "Latest Packages" listing (#501)
+ * Preserve unchanged files for more efficient mirroring (#492)
+
+Version 0.3
+ * Fall back to silly RPM groups if no group data is found.
+ * Replace all slashes and spaces in group names to avoid breakage.
+ * Add a -l switch to provide a brief title, e.g.:
+ -l "Fedora Extras 3 x86"
+
+Version 0.2
+ * Use iterparse to save a whole lotta memory
+ * Work with kid-0.6
+ * Do not use enumerate() as that breaks on python-2.2
+ * Rename repoview into repoview.py
+ * Rename __orphans__ to __nogroup__
+ * Add a simple manpage
+ * Check for repomd.xml before trying to parse it
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/repoview-0.4.1/README new/repoview-0.5.1/README
--- old/repoview-0.4.1/README 2005-09-24 03:40:08.000000000 +0200
+++ new/repoview-0.5.1/README 2006-02-16 05:27:07.000000000 +0100
@@ -6,19 +6,22 @@
REQUIREMENTS:
-------------
* Kid templating engine (0.6.3 or above)
-* Yum 2.3 or above. If you don't have yum, or can't easily install that version of yum
- on your machine, get a copy of yum-2.4.x (http://linux.duke.edu/projects/yum/)
- and do the following:
+* Yum 2.3 or above. If you don't have yum, or can't easily install that version
+ of yum on your machine, get a copy of yum-2.4.x or yum-2.5.x
+ (http://linux.duke.edu/projects/yum/) and do the following:
- create a directory called "noyum" either in the subdirectory of this program
or in /usr/lib/python2.x/site-packages.
- from the yum tree, copy the files yum/comps.py, yum/mdparser.py,
- repomd/mdErrors.py, repomd/repoMDObject.py into the noyum directory
+ repomd/mdErrors.py, repomd/repoMDObject.py (and yum/constants.py
+ if using yum-2.5.x) into the noyum directory
- in the noyum directory, run "touch __init__.py"
You will need to make sure you install python-elementtree.
+
+NB: New-style comps.xml require yum libraries version 2.5 and above.
AUTHORS:
--------
-Konstantin Ryabitsev <icon(a)linux.duke.edu>
+Konstantin Ryabitsev <icon(a)fedoraproject.org>
URL:
----
@@ -26,7 +29,8 @@
COPYRIGHT AND LICENSE:
----------------------
-This software is copyright (C) 2005 by Duke University.
+This software is copyright (C) 2005 by Duke University
+This software is copyright (C) 2006 by McGill University
For licensing and copying information see COPYING.
USAGE:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/repoview-0.4.1/repoview.8 new/repoview-0.5.1/repoview.8
--- old/repoview-0.4.1/repoview.8 2005-10-07 23:42:25.000000000 +0200
+++ new/repoview-0.5.1/repoview.8 2006-01-14 00:47:15.000000000 +0100
@@ -1,10 +1,10 @@
-.TH "repoview" "8" "0.1" "Konstantin Ryabitsev" "Applications/Utilities"
+.TH "repoview" "8" "0.5" "Konstantin Ryabitsev" "Applications/Utilities"
.SH NAME
\fBrepoview\fR \- Make YUM repositories browseable
.SH SYNOPSIS
-\fBrepoview\fR [\-i name] [\-x arch] [\-k dir] [\-l title] [\-t] [\-f] [\-q] repodir
+\fBrepoview\fR [options] repodir
.SH DESCRIPTION
RepoView allows one to easily create a set of static HTML pages in a
@@ -14,7 +14,7 @@
.SH OPTIONS
.TP
-.B \-i name
+.B \-i, \-\-ignore\-package NAME
Optionally ignore this package \-\- can be a shell-style glob.
This is useful for excluding debuginfo packages:
.br
@@ -23,37 +23,40 @@
The globbing will be done against name-epoch-version-release, e.g.
foo-0-1.0-1
.TP
-.B \-x arch
+.B \-x, \-\-exclude\-arch ARCH
Optionally exclude this arch. E.g.:
.br
\-x src \-x ia64
.TP
-.B \-k dir
+.B \-k, \-\-template\-dir DIR
Use an alternative directory with kid templates instead of the
-default: ./templates. The template directory must contain three
-required template files: index.kid, group.kid, package.kid and
+default: ./templates. The template directory must contain four
+required template files: index.kid, group.kid, package.kid, rss.kid and
the "layout" dir which will be copied into the repoview directory.
.TP
-.B \-l title
+.B \-t, \-\-title TITLE
Describe the repository in a few words. By default "RepoView" is used.
E.g.:
.br
--l "Extras for Fedora Core 3 x86"
+\-t "Extras for Fedora Core 3 x86"
.TP
-.B \-t
-Place the index.html into the top level of the repodir, instead of
-just in repodata/index.html.
+.B \-u, \-\-url URL
+Repository URL to use when generating the RSS feed. E.g.:
+.br
+\-u "http://fedoraproject.org/extras/4/i386"
+.br
+Not providng a url will disable RSS feed generation.
.TP
-.B \-f
+.B \-f, \-\-force
Regenerate the pages even if the repomd checksum has not changed.
.TP
-.B \-q
+.B \-q, \-\-quiet
Do not output anything except fatal erros.
.TP
.B \-V, \-\-version
Print version number and exit.
.TP
-.B \-h, \-?, \-\-help
+.B \-h, \-\-help
Print usage message and exit.
.TP
.B repodir
@@ -71,15 +74,20 @@
.LP
.B repoview /path/to/repository
.br
-.B repoview -l "Fedora Extras 3 ix86" /path/to/repository
+.B repoview -t 'Fedora Extras 4 ix86' /path/to/repository
.LP
When running from cron, you want to use the \-q switch:
.LP
.B repoview -q /path/to/repository
+.br
+.LP
+This will generate an RSS feed:
+.LP
+.B repoview -u http://example.com/repo/i386 /path/to/repository
.SH "AUTHORS"
.LP
-Konstantin Ryabitsev <icon(a)linux.duke.edu>
+Konstantin Ryabitsev <icon(a)fedoraproject.org>
.SH "SEE ALSO"
.LP
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/repoview-0.4.1/repoview.py new/repoview-0.5.1/repoview.py
--- old/repoview-0.4.1/repoview.py 2005-10-07 23:42:25.000000000 +0200
+++ new/repoview-0.5.1/repoview.py 2006-02-16 05:27:07.000000000 +0100
@@ -18,16 +18,16 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# $Id: repoview.py,v 1.14 2005/10/07 21:42:25 icon Exp $
+# $Id: repoview.py,v 1.17 2006/02/16 04:27:07 icon Exp $
#
# Copyright (C) 2005 by Duke University, http://www.duke.edu/
-# Author: Konstantin Ryabitsev <icon(a)duke.edu>
+# Copyright (C) 2006 by McGill University, http://www.mcgill.ca/
+# Author: Konstantin Ryabitsev <icon(a)fedoraproject.org>
#
-__revision__ = '$Id: repoview.py,v 1.14 2005/10/07 21:42:25 icon Exp $'
+__revision__ = '$Id: repoview.py,v 1.17 2006/02/16 04:27:07 icon Exp $'
import fnmatch
-import getopt
import os
import re
import shutil
@@ -35,13 +35,16 @@
import time
import zlib
+from optparse import OptionParser
+from elementtree.SimpleXMLWriter import XMLWriter
+
try:
- from yum.comps import Comps
+ from yum.comps import Comps, CompsException
from yum.mdparser import MDParser
from repomd.repoMDObject import RepoMD
except ImportError:
try:
- from noyum.comps import Comps #IGNORE:F0401
+ from noyum.comps import Comps, CompsException #IGNORE:F0401
from noyum.mdparser import MDParser #IGNORE:F0401
from noyum.repoMDObject import RepoMD #IGNORE:F0401
except ImportError:
@@ -65,8 +68,10 @@
grfile = '%s.group.html'
idxkid = 'index.kid'
idxfile = 'index.html'
+rsskid = 'rss.kid'
+rssfile = 'latest-feed.xml'
-VERSION = '0.4.1'
+VERSION = '0.5.1'
DEFAULT_TEMPLATEDIR = './templates'
emailre = re.compile('<.*?@.*?>')
@@ -309,6 +314,7 @@
self.xarch = xarch is not None and xarch or []
self.arches = []
self.force = force
+ self.url = None
self.olddir = os.path.join(self.repodir, 'repodata', 'repoview')
self.outdir = os.path.join(self.repodir, 'repodata', '.repoview.new')
self.packages = {}
@@ -316,7 +322,6 @@
self.groups = GroupFactory()
self.letters = GroupFactory()
self.maxlatest = maxlatest
- self.toplevel = 0
self.pkgcount = 0
self.pkgignored = 0
self.repodata = {}
@@ -364,17 +369,37 @@
"""
_say('parsing comps...', 1)
loc = self.repodata['group']['relativepath']
- groups = Comps(os.path.join(self.repodir, loc)).groups.values()
+ comps = Comps()
+ try:
+ comps.add(os.path.join(self.repodir, loc))
+ groups = comps.groups
+ comps.isold = 0
+ except AttributeError:
+ # Must be dealing with yum < 2.5
+ try:
+ comps.load(os.path.join(self.repodir, loc))
+ groups = comps.groups.values()
+ comps.isold = 1
+ except CompsException:
+ print 'Error parsing %s!' % loc
+ print 'You may be trying to parse the new comps format'
+ print 'with old yum libraries. Falling back to RPM groups.'
+ return
namemap = self._getNameMap()
pct = 0
for entry in groups:
pct += 1
group = Group()
- group.grid = _mkid(entry.id)
+ if comps.isold:
+ group.grid = _mkid(entry.id)
+ packages = entry.packages.keys()
+ else:
+ group.grid = _mkid(entry.groupid)
+ packages = entry.packages
group.name = _webify(entry.name)
group.description = _webify(entry.description)
group.uservisible = entry.user_visible
- for pkgname in entry.packages.keys():
+ for pkgname in packages:
if pkgname in namemap.keys():
pkglist = namemap[pkgname]
group.packages += pkglist
@@ -581,34 +606,43 @@
shutil.copytree(layoutsrc, layoutdst)
_say('done\n', 1)
- def mkLinkUrl(self, obj, isindex=0):
+ def mkLinkUrl(self, obj, isindex=0, isrss=0):
"""
This is a utility method passed to kid templates. The templates use
it to get the link to a package, group, or layout object without
having to figure things out on their own.
"""
- link = '#'
- prefix = ''
- if isindex:
- if self.toplevel:
- prefix = os.path.join('repodata', 'repoview')
- else: prefix = 'repoview'
+ if isindex and not isrss:
+ prefix = 'repoview'
+ elif isrss:
+ if isindex:
+ prefix = os.path.join(self.url, 'repodata')
+ else:
+ prefix = os.path.join(self.url, 'repodata', 'repoview')
+ else:
+ prefix = ''
+
if obj.__class__ is str:
if not isindex and obj == idxfile:
- if self.toplevel:
- link = os.path.join('..', '..', obj)
- else: link = os.path.join('..', obj)
+ ## A page linking up to the index file, which is one dir up
+ link = os.path.join('..', obj)
+ elif isrss:
+ ## An RSS page asking for a toplevel link
+ link = os.path.join(prefix, rssfile)
else:
+ ## A page linking to another page, usually .css
link = os.path.join(prefix, obj)
elif obj.__class__ is Package:
link = os.path.join(prefix, pkgfile % obj.pkgid)
elif obj.__class__ is Group:
link = os.path.join(prefix, grfile % obj.grid)
elif obj.__class__ is Archer:
- if isindex and self.toplevel:
- link = os.path.join('..', obj.loc)
- else:
- link = os.path.join('..', '..', obj.loc)
+ # loc is taken from the REPOMD files and is relative to
+ # the repo directory, so we get out of repodata subdir.
+ link = os.path.join('..', '..', obj.loc)
+ else:
+ ## No idea
+ link = '#'
return link
def _smartWrite(self, outfile, strdata):
@@ -633,15 +667,16 @@
fh.close()
return 1
- def applyTemplates(self, templatedir, toplevel=0, title='RepoView'):
+ def applyTemplates(self, templatedir, title='RepoView',
+ url='http://localhost'):
"""
Just what it says. :)
"""
if not self.packages:
_say('No packages available.')
sys.exit(0)
- gentime = time.strftime('%c')
- self.toplevel = toplevel
+ gentime = time.ctime()
+ self.url = url
self._makeExtraGroups()
self._mkOutDir(templatedir)
stats = {
@@ -652,7 +687,8 @@
'archlist': self.arches,
'ignorearchlist': self.xarch,
'VERSION': VERSION,
- 'gentime': gentime
+ 'gentime': gentime,
+ 'dorss': url
}
## Do groups
grtmpl = os.path.join(templatedir, grkid)
@@ -699,20 +735,51 @@
p += 1
_say('writing packages: %s written, %s preserved\r' % (w, p))
_say('\n', 1)
+
## Do index
_say('generating index...', 1)
idxtmpl = os.path.join(templatedir, idxkid)
self.arches.sort()
kobj = Template(file=idxtmpl, mkLinkUrl=self.mkLinkUrl,
letters=self.letters, groups=self.groups, stats=stats)
- if self.toplevel:
- out = os.path.join(self.repodir, idxfile)
- else:
- out = os.path.join(self.repodir, 'repodata', idxfile)
+ out = os.path.join(self.repodir, 'repodata', idxfile)
fh = open(out, 'w')
kobj.write(out)
fh.close()
_say('done\n')
+
+ ## Do RSS feed
+ if self.url is not None:
+ _say('generating rss feed...', 1)
+ isoformat = '%a, %d %b %Y %H:%M:%S %z'
+ out = os.path.join(self.repodir, 'repodata', rssfile)
+ w = XMLWriter(out, 'utf-8')
+ rss = w.start('rss', version='2.0')
+ w.start('channel')
+ w.element('title', title)
+ w.element('link', '%s/repodata/%s' % (url, rssfile))
+ w.element('description', 'Latest packages for %s' % title)
+ w.element('lastBuildDate', time.strftime(isoformat))
+ w.element('generator', 'Repoview-%s' % VERSION)
+ rsstmpl = os.path.join(templatedir, rsskid)
+ kobj = Template(file=rsstmpl, stats=stats,
+ mkLinkUrl=self.mkLinkUrl)
+ for pkg in self.groups['__latest__'].getSortedList(trim=0):
+ w.start('item')
+ w.element('guid', self.mkLinkUrl(pkg, isrss=1))
+ w.element('link', self.mkLinkUrl(pkg, isrss=1))
+ w.element('pubDate', pkg.getTime(isoformat))
+ w.element('title', 'Update: %s-%s-%s' % (pkg.n, pkg.v, pkg.r))
+ w.element('category', pkg.n)
+ w.element('category', pkg.group.name)
+ kobj.package = pkg
+ description = kobj.serialize()
+ w.element('description', description)
+ w.end()
+ w.end()
+ w.close(rss)
+ _say('done\n')
+
_say('writing checksum...', 1)
chkfile = os.path.join(self.outdir, 'checksum')
fh = open(chkfile, 'w')
@@ -725,87 +792,56 @@
shutil.move(self.outdir, self.olddir)
_say('done\n')
-def usage(ecode=0):
- "Print usage and exit with ecode passed"
- sys.stderr.write("""
- repoview [-i name] [-x arch] [-k dir] [-l title] [-t] [-f] [-q] [repodir]
- This will make your repository browseable
- -i name
- Optionally ignore this package -- can be a shell-style glob.
- This is useful for excluding debuginfo packages:
- -i *debuginfo* -i *doc*
- The globbing will be done against name-epoch-version-release,
- e.g. foo-0-1.0-1
- -x arch
- Optionally exclude this arch. E.g.:
- -x src -x ia64
- -k templatedir
- Use an alternative directory with kid templates instead of
- the default: %s
- The template directory must contain three required template
- files: index.kid, group.kid, package.kid and the
- "layout" dir which will be copied into the repoview directory.
- -l title
- Describe the repository in a few words. By default, "RepoView" is used.
- E.g.:
- -l "Extras for Fedora Core 3 x86"
- -t
- Place the index.html into the top level of the repodir, instead of
- just in repodata/index.html.
- -f
- Regenerate the pages even if the repomd checksum hasn't changed.
- -q
- Do not output anything except fatal errors.
- -V, --version
- Print version number and exit.
- -h, -?, --help
- Print this usage message.
- repodir
- Where to look for the 'repodata' directory.\n""" % DEFAULT_TEMPLATEDIR)
- sys.exit(ecode)
-
-def main(args):
+def main():
"Main program code"
global quiet #IGNORE:W0121
- if not args:
- usage()
- ignore = []
- xarch = []
- toplevel = 0
- templatedir = DEFAULT_TEMPLATEDIR
- title = 'RepoView'
- force = 0
- try:
- gopts, cmds = getopt.getopt(args, 'i:x:k:l:tfqh?V', ['help', 'version'])
- for o, a in gopts:
- if o == '-i':
- ignore.append(a)
- elif o == '-x':
- xarch.append(a)
- elif o == '-k':
- templatedir = a
- elif o == '-l':
- title = a
- elif o == '-t':
- toplevel = 1
- elif o == '-f':
- force = 1
- elif o == '-q':
- quiet = 1
- elif o == '-V' or o == '--version':
- print VERSION
- sys.exit(0)
- else: usage()
- if not cmds:
- usage(1)
- repodir = cmds[0]
- except getopt.error, e:
- print "Error: %s" % e
- usage(1)
- if templatedir is None:
- templatedir = os.path.join(repodir, 'templates')
- rv = RepoView(repodir, ignore=ignore, xarch=xarch, force=force)
- rv.applyTemplates(templatedir, toplevel=toplevel, title=title)
+ usage = 'usage: %prog [options]'
+ parser = OptionParser(usage=usage, version='%prog ' + VERSION)
+ parser.add_option('-i', '--ignore-package', dest='ignore', action='append',
+ default=[],
+ help='Optionally ignore this package -- can be a shell-style glob. '
+ 'This is useful for excluding debuginfo packages, e.g.: '
+ '"-i *debuginfo* -i *doc*". '
+ 'The globbing will be done against name-epoch-version-release, '
+ 'e.g.: "foo-0-1.0-1"')
+ parser.add_option('-x', '--exclude-arch', dest='xarch', action='append',
+ default=[],
+ help='Optionally exclude this arch. E.g.: "-x src -x ia64"')
+ parser.add_option('-k', '--template-dir', dest='templatedir',
+ default=DEFAULT_TEMPLATEDIR,
+ help='Use an alternative directory with kid templates instead of '
+ 'the default: %default. The template directory must contain four '
+ 'required template files: index.kid, group.kid, package.kid, rss.kid '
+ 'and the "layout" dir which will be copied into the repoview directory')
+ parser.add_option('-t', '--title', dest='title',
+ default='RepoView',
+ help='Describe the repository in a few words. '
+ 'By default, "%default" is used. '
+ 'E.g.: -t "Extras for Fedora Core 4 x86"')
+ parser.add_option('-l', '--title-deprecated', dest='dtitle',
+ default=None,
+ help='This option is deprecated. Please use -t.')
+ parser.add_option('-u', '--url', dest='url',
+ default=None,
+ help='Repository URL to use when generating the RSS feed. E.g.: '
+ '-u "http://fedoraproject.org/extras/4/i386". Leaving it off will '
+ 'skip the rss feed generation')
+ parser.add_option('-f', '--force', dest='force', action='store_true',
+ default=0,
+ help='Regenerate the pages even if the repomd checksum has not changed')
+ parser.add_option('-q', '--quiet', dest='quiet', action='store_true',
+ default=0,
+ help='Do not output anything except fatal errors.')
+ (opts, args) = parser.parse_args()
+ if not args:
+ parser.error('Incorrect invocation.')
+ if opts.dtitle is not None:
+ opts.title = opts.dtitle
+ print 'Option -l is deprecated. Please use -t or --title'
+ repodir = args[0]
+ rv = RepoView(repodir, ignore=opts.ignore, xarch=opts.xarch,
+ force=opts.force)
+ rv.applyTemplates(opts.templatedir, title=opts.title, url=opts.url)
if __name__ == '__main__':
- main(sys.argv[1:])
+ main()
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/repoview-0.4.1/repoview.spec new/repoview-0.5.1/repoview.spec
--- old/repoview-0.4.1/repoview.spec 2005-10-07 23:42:25.000000000 +0200
+++ new/repoview-0.5.1/repoview.spec 2006-02-16 05:27:07.000000000 +0100
@@ -1,9 +1,9 @@
-# $Id: repoview.spec,v 1.13 2005/10/07 21:42:25 icon Exp $
+# $Id: repoview.spec,v 1.17 2006/02/16 04:27:07 icon Exp $
Name: repoview
-Version: 0.4.1
+Version: 0.5.1
Release: 1
-Summary: Creates a set of static HTML pages in a yum repository.
+Summary: Creates a set of static HTML pages in a yum repository
Group: Applications/System
License: GPL
@@ -38,7 +38,7 @@
$RPM_BUILD_ROOT/%{_mandir}/man8
install -m 755 repoview.py $RPM_BUILD_ROOT/%{_bindir}/repoview
install -m 644 repoview.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
-cp -rp templates $RPM_BUILD_ROOT/%{_datadir}/%{name}/
+cp -a templates $RPM_BUILD_ROOT/%{_datadir}/%{name}/
%clean
@@ -54,6 +54,12 @@
%changelog
+* Wed Feb 15 2006 Konstantin Ryabitsev <icon(a)fedoraproject.org> - 0.5.1-1
+- Version 0.5.1
+
+* Fri Jan 13 2006 Konstantin Ryabitsev <icon(a)fedoraproject.org> - 0.5-1
+- Version 0.5
+
* Fri Oct 07 2005 Konstantin Ryabitsev <icon(a)linux.duke.edu> - 0.4.1-1
- Version 0.4.1
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/repoview-0.4.1/templates/index.kid new/repoview-0.5.1/templates/index.kid
--- old/repoview-0.4.1/templates/index.kid 2005-09-24 03:40:08.000000000 +0200
+++ new/repoview-0.5.1/templates/index.kid 2006-01-14 00:47:15.000000000 +0100
@@ -5,6 +5,8 @@
<head>
<title py:content="'RepoView: %s' % stats['title']"/>
<link rel="stylesheet" href="${mkLinkUrl('layout/repostyle.css', isindex=1)}" type="text/css" />
+ <link py:if="stats['dorss'] is not None"
+ rel="alternate" type="application/rss+xml" title="RSS" href="${mkLinkUrl('rss-feed', isrss=1, isindex=1)}" />
</head>
<body>
<div class="levbar">
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/repoview-0.4.1/templates/rss.kid new/repoview-0.5.1/templates/rss.kid
--- old/repoview-0.4.1/templates/rss.kid 1970-01-01 01:00:00.000000000 +0100
+++ new/repoview-0.5.1/templates/rss.kid 2006-01-14 00:47:15.000000000 +0100
@@ -0,0 +1,19 @@
+<?xml version="1.0" ?>
+<div xmlns:py="http://purl.org/kid/ns#">
+ <p>
+ <strong>Package:</strong> <span py:replace="'%s-%s-%s' % (package.n, package.v, package.r)"/><br/>
+ <strong>Summary:</strong> <span py:replace="package.summary"/>
+ </p>
+ <p>
+ <strong>Description:</strong><br/>
+ <span py:replace="package.description"/>
+ </p>
+ <h3>ChangeLog:</h3>
+ <p>
+ <span py:for="log in package.getChangeLogs()" py:strip=''>
+ <strong py:content="'* ' + log[0] + ' ' + log[1]"/><br/>
+ <pre py:content="log[2]"/><br/>
+ </span>
+ </p>
+ <p>(<a href="${mkLinkUrl(package, isrss=1)}">More info</a>)</p>
+</div>
\ No newline at end of file
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package apache2-mod-apparmor
checked in at Fri May 26 14:35:41 CEST 2006.
--------
--- apache2-mod-apparmor/apache2-mod-apparmor.changes 2006-04-01 03:49:55.000000000 +0200
+++ apache2-mod-apparmor/apache2-mod-apparmor.changes 2006-05-26 13:01:52.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 13:01:43 CEST 2006 - schwab(a)suse.de
+
+- Don't strip binaries.
+
+-------------------------------------------------------------------
@@ -6 +10,0 @@
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache2-mod-apparmor.spec ++++++
--- /var/tmp/diff_new_pack.K0w36b/_old 2006-05-26 14:34:41.000000000 +0200
+++ /var/tmp/diff_new_pack.K0w36b/_new 2006-05-26 14:34:41.000000000 +0200
@@ -18,7 +18,7 @@
%define module_name mod_apparmor
Summary: AppArmor module for apache2
Version: 2.0
-Release: 15
+Release: 21
Group: Productivity/Security
Source0: %{name}-%{version}-6354.tar.gz
License: LGPL
@@ -65,11 +65,8 @@
%build
make %{module_name}.so APXS=%{apxs}
-%{__strip} -g %{module_name}.so
%install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-mkdir -p ${RPM_BUILD_ROOT}
make install DESTDIR=${RPM_BUILD_ROOT} DISTRO=%{distro}
%if %{distro} == "suse"
mkdir -p ${RPM_BUILD_ROOT}/%{my_bin_dir}
@@ -128,6 +125,8 @@
%endif
%changelog -n apache2-mod-apparmor
+* Fri May 26 2006 - schwab(a)suse.de
+- Don't strip binaries.
* Sat Apr 01 2006 - srarnold(a)suse.de
- Relicense to LGPL (#157579)
* Mon Feb 06 2006 - sbeattie(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package postgresql
checked in at Fri May 26 13:08:07 CEST 2006.
--------
--- postgresql/postgresql.changes 2006-02-13 17:19:17.000000000 +0100
+++ postgresql/postgresql.changes 2006-05-24 10:26:31.000000000 +0200
@@ -1,0 +2,9 @@
+Wed May 24 10:24:26 CEST 2006 - max(a)suse.de
+
+- Update to 8.1.4 to fix SQL injection vulnerabilities
+ (bug #177931, CVE-2006-2313, CVE-2006-2314).
+
+- Added a new postgresql-SECURITY-NOTICE file with an FAQ that
+ explains the issues.
+
+-------------------------------------------------------------------
Old:
----
postgresql-8.1.3.tar.bz2
New:
----
postgresql-8.1.4.tar.bz2
postgresql-SECURITY-NOTICE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ postgresql-pl.spec ++++++
--- /var/tmp/diff_new_pack.zilYdm/_old 2006-05-26 13:07:46.000000000 +0200
+++ /var/tmp/diff_new_pack.zilYdm/_new 2006-05-26 13:07:46.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package postgresql-pl (Version 8.1.3)
+# spec file for package postgresql-pl (Version 8.1.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,7 +13,7 @@
Name: postgresql-pl
BuildRequires: krb5-devel openssl-devel pam-devel python-devel tcl-devel
Summary: The PL/Tcl, PL/Perl, and PL/Python Procedural Languages for PostgreSQL
-Version: 8.1.3
+Version: 8.1.4
Release: 1
License: BSD
Group: Productivity/Databases/Servers
++++++ postgresql.spec ++++++
--- /var/tmp/diff_new_pack.zilYdm/_old 2006-05-26 13:07:46.000000000 +0200
+++ /var/tmp/diff_new_pack.zilYdm/_new 2006-05-26 13:07:46.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package postgresql (Version 8.1.3)
+# spec file for package postgresql (Version 8.1.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,7 +13,7 @@
Name: postgresql
BuildRequires: krb5-devel openssl-devel pam-devel readline-devel
Summary: Basic Clients and Utilities for PostgreSQL
-Version: 8.1.3
+Version: 8.1.4
Release: 1
%define pg_minor_version 8.1
License: BSD
@@ -24,6 +24,7 @@
Source8: postgresql-sysconfig
Source9: postgresql-init
Source15: postgresql-bashprofile
+Source20: postgresql-SECURITY-NOTICE
Source99: postgresql-pl.spec
Patch1: postgresql-fpic.patch
Patch2: postgresql-dbase.patch
@@ -290,6 +291,7 @@
README HISTORY doc/bug.template %buildroot%_docdir/postgresql
cp -a %SOURCE2 %buildroot%_docdir/postgresql/README.SuSE.de
cp -a %SOURCE3 %buildroot%_docdir/postgresql/README.SuSE.en
+cp -a %SOURCE20 %buildroot%_docdir/postgresql/SECURITY-NOTICE
# Fix the provides-list
%define my_provides /tmp/my-provides
cat << EOF > %my_provides
@@ -460,6 +462,11 @@
%doc %_mandir/man1/pg_config.1*
%changelog -n postgresql
+* Wed May 24 2006 - max(a)suse.de
+- Update to 8.1.4 to fix SQL injection vulnerabilities
+ (bug #177931, CVE-2006-2313, CVE-2006-2314).
+- Added a new postgresql-SECURITY-NOTICE file with an FAQ that
+ explains the issues.
* Mon Feb 13 2006 - max(a)suse.de
- New version: 8.1.3 (#150376).
- Relaxed dependencies between subpackages to simplify future
++++++ postgresql-8.1.3.tar.bz2 -> postgresql-8.1.4.tar.bz2 ++++++
postgresql/postgresql-8.1.3.tar.bz2 postgresql/postgresql-8.1.4.tar.bz2 differ: char 11, line 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package pmtools
checked in at Fri May 26 13:07:38 CEST 2006.
--------
--- pmtools/pmtools.changes 2006-05-16 19:40:01.000000000 +0200
+++ pmtools/pmtools.changes 2006-05-26 11:34:24.000000000 +0200
@@ -1,0 +2,6 @@
+Fri May 26 11:28:24 CEST 2006 - trenn(a)suse.de
+
+- Interpret/Disassemble IRQ Resource Templates correctly, even if
+ no interrupt is given at declaration time(#160671).
+
+-------------------------------------------------------------------
New:
----
utresrc.c.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pmtools.spec ++++++
--- /var/tmp/diff_new_pack.rg2npe/_old 2006-05-26 13:07:04.000000000 +0200
+++ /var/tmp/diff_new_pack.rg2npe/_new 2006-05-26 13:07:04.000000000 +0200
@@ -13,7 +13,7 @@
Name: pmtools
URL: http://www.intel.com/technology/iapc/acpi/downloads.htm
Version: 20051111
-Release: 1
+Release: 2
%define acpica acpica-unix-20060512
License: GPL
Group: Development/Tools/Other
@@ -22,11 +22,12 @@
Source: %{name}-%{version}.tar.bz2
Patch1: acpica-resource_string_warning.diff
Patch2: acpica-override-CFLAGS.diff
-Patch3: fix_IO_nameclash.patch
-Patch4: iasl_invalid_output_file.patch
-Patch5: pmtools-override-CFLAGS.diff
-Patch6: pmtools-move-includes.diff
-Patch7: madt.diff
+Patch3: utresrc.c.patch
+Patch4: fix_IO_nameclash.patch
+Patch5: iasl_invalid_output_file.patch
+Patch6: pmtools-override-CFLAGS.diff
+Patch7: pmtools-move-includes.diff
+Patch8: madt.diff
Source2: dmidecode-2.8.tar.bz2
Source3: %{acpica}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -48,11 +49,12 @@
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
popd
%setup -n %{name}-%{version} -D -T
-%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
%build
make all CFLAGS="$RPM_OPT_FLAGS"
@@ -99,6 +101,9 @@
/%{_mandir}/man8/*
%changelog -n pmtools
+* Fri May 26 2006 - trenn(a)suse.de
+- Interpret/Disassemble IRQ Resource Templates correctly, even if
+ no interrupt is given at declaration time(#160671).
* Tue May 16 2006 - trenn(a)suse.de
- avoid IO keyword nameclash when used as Field declaration
- exit gracefully if dsdt.dsl file cannot be created (#152112)
++++++ utresrc.c.patch ++++++
Index: source/components/utilities/utresrc.c
===================================================================
diff -u -r1.13 utresrc.c
--- acpica-unix/utilities/utresrc.c 21 Apr 2006 18:04:37 -0000 1.13
+++ acpica-unix/utilities/utresrc.c 25 May 2006 14:33:40 -0000
@@ -290,7 +290,7 @@
ACPI_AML_SIZE_LARGE (AML_RESOURCE_FIXED_MEMORY32),
ACPI_AML_SIZE_LARGE (AML_RESOURCE_ADDRESS32),
ACPI_AML_SIZE_LARGE (AML_RESOURCE_ADDRESS16),
- ACPI_AML_SIZE_LARGE (AML_RESOURCE_EXTENDED_IRQ),
+ ACPI_AML_SIZE_LARGE (AML_RESOURCE_EXTENDED_IRQ) - sizeof (UINT32),
ACPI_AML_SIZE_LARGE (AML_RESOURCE_ADDRESS64),
ACPI_AML_SIZE_LARGE (AML_RESOURCE_EXTENDED_ADDRESS64)
};
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package pgcalc
checked in at Fri May 26 13:06:59 CEST 2006.
--------
--- pgcalc/pgcalc.changes 2006-05-15 12:05:36.000000000 +0200
+++ pgcalc/pgcalc.changes 2006-05-25 09:35:37.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 24 10:20:12 CEST 2006 - adrian(a)suse.de
+
+- fix build for < 10.1
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pgcalc.spec ++++++
--- /var/tmp/diff_new_pack.TDuC3Z/_old 2006-05-26 13:06:21.000000000 +0200
+++ /var/tmp/diff_new_pack.TDuC3Z/_new 2006-05-26 13:06:21.000000000 +0200
@@ -18,7 +18,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://www.pgcalc.net
Version: 2.2
-Release: 22
+Release: 23
Source: %{name}2-%{version}-4.tar.bz2
Patch: pgcalc.diff
Patch1: pgcalc-gcc41.diff
@@ -55,13 +55,18 @@
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT install
kde_post_install
-%suse_update_desktop_file -G "Scientific Calculator" pgcalc2 Utility Calculator
-%suse_update_desktop_file -G "Scientific Calculator" pgcalc2-FX20 Utility Calculator
-%suse_update_desktop_file -G "Scientific Calculator" pgcalc2-HP48GX Utility Calculator
-%suse_update_desktop_file -G "Scientific Calculator" pgcalc2-HP49G+ Utility Calculator
-%suse_update_desktop_file -G "Scientific Calculator" pgcalc2-BHP49G Utility Calculator
-%suse_update_desktop_file -G "Scientific Calculator" pgcalc2-CFX-9850GB+ Utility Calculator
-%suse_update_desktop_file -G "Scientific Calculator" pgcalc2-Metallic Utility Calculator
+%if %suse_version < 1010
+%define string pgcalc2
+%else
+%define string -G "Scientific Calculator" pgcalc2
+%endif
+%suse_update_desktop_file %string Utility Calculator
+%suse_update_desktop_file %string-FX20 Utility Calculator
+%suse_update_desktop_file %string-HP48GX Utility Calculator
+%suse_update_desktop_file %string-HP49G+ Utility Calculator
+%suse_update_desktop_file %string-BHP49G Utility Calculator
+%suse_update_desktop_file %string-CFX-9850GB+ Utility Calculator
+%suse_update_desktop_file %string-Metallic Utility Calculator
rm $RPM_BUILD_ROOT/opt/kde3/share/apps/pgcalc2/skins/*/*~
%files
@@ -75,6 +80,8 @@
/opt/kde3/share/icons/*
%changelog -n pgcalc
+* Wed May 24 2006 - adrian(a)suse.de
+- fix build for < 10.1
* Mon May 15 2006 - ltinkl(a)suse.cz
- initialize vars to prevent compiler warnings (#159989)
* Wed Feb 15 2006 - stbinner(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package opensc
checked in at Fri May 26 13:06:15 CEST 2006.
--------
--- opensc/opensc.changes 2006-05-11 13:00:08.000000000 +0200
+++ opensc/opensc.changes 2006-05-25 16:13:15.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 25 16:13:02 CEST 2006 - sbrabec(a)suse.cz
+
+- Fixed build for old SuSE Linux versions.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ opensc.spec ++++++
--- /var/tmp/diff_new_pack.7OSgXR/_old 2006-05-26 13:05:58.000000000 +0200
+++ /var/tmp/diff_new_pack.7OSgXR/_new 2006-05-26 13:05:58.000000000 +0200
@@ -11,10 +11,16 @@
# norootforbuild
Name: opensc
-BuildRequires: libassuan openct-devel openssl-devel pcsc-lite-devel pkgconfig readline-devel xorg-x11-devel
+BuildRequires: openssl-devel pkgconfig readline-devel xorg-x11-devel
+%if %suse_version > 1000
+BuildRequires: libassuan pcsc-lite-devel
+%endif
+%if %suse_version > 1010
+BuildRequires: openct-devel
+%endif
URL: http://www.opensc-project.org/opensc/
Version: 0.11.0
-Release: 3
+Release: 4
Group: Hardware/Other
Summary: OpenSC Smart Card Library
License: LGPL
@@ -116,6 +122,8 @@
%_libdir/pkgconfig/*.pc
%changelog -n opensc
+* Thu May 25 2006 - sbrabec(a)suse.cz
+- Fixed build for old SuSE Linux versions.
* Thu May 11 2006 - sbrabec(a)suse.cz
- Fixed devel dependencies.
* Wed May 10 2006 - sbrabec(a)suse.cz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package licq
checked in at Fri May 26 13:05:32 CEST 2006.
--------
--- KDE/licq/licq.changes 2006-04-12 18:41:57.000000000 +0200
+++ licq/licq.changes 2006-05-25 16:38:39.000000000 +0200
@@ -1,0 +2,17 @@
+Thu May 25 13:07:27 CEST 2006 - lmichnovic(a)suse.cz
+
+- update to version 20060522 from svn with new features:
+ - switching trough tabs with mousewheel
+ - "copy URL" added when rightcicking on URL
+ - some bugfixes
+
+- Obsolete patches removed: qualification, mistyped, ssl_fix,
+ homedirslash, msn_overflow
+- new patches:
+ - emoticons - enhances emoticons and prevent displaying them in URL
+ - user_picture - fix displaying black square, when no picture aviable
+ - unicode - fixes error when updating user info which has non utf encoding
+- file licq_constants.h has changed hence config-fix.patch had to be updated
+
+
+-------------------------------------------------------------------
Old:
----
licq-1.3.2-bool.patch
licq-1.3.2-datetime.patch
licq-1.3.2-declaration.patch
licq-1.3.2-homedirslash.patch
licq-1.3.2-mistyped.patch
licq-1.3.2-msn_overflow.patch
licq-1.3.2-nostrip.patch
licq-1.3.2-qualification.patch
licq-1.3.2-ssl_fix.patch
licq-1.3.2-userinfodlg.patch
licq-1.3.2-viewurl.patch
licq-1.3.2.tar.bz2
New:
----
licq-20060522-bool.patch
licq-20060522-datetime.patch
licq-20060522-declaration.patch
licq-20060522-emoticons.patch
licq-20060522-nostrip.patch
licq-20060522-unicode.patch
licq-20060522-user_picture.patch
licq-20060522-userinfodlg.patch
licq-20060522-viewurl.patch
licq-20060522.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ licq.spec ++++++
--- /var/tmp/diff_new_pack.BbQ8A1/_old 2006-05-26 13:04:52.000000000 +0200
+++ /var/tmp/diff_new_pack.BbQ8A1/_new 2006-05-26 13:04:52.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package licq (Version 1.3.2)
+# spec file for package licq (Version 20060522)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -15,23 +15,21 @@
License: GPL
Group: Productivity/Networking/ICQ
Autoreqprov: on
-Version: 1.3.2
-Release: 25
+Version: 20060522
+Release: 1
Summary: Linux ICQ Client
-Source: %{name}-%{version}.tar.bz2
+Source: %{name}-20060522.tar.bz2
Patch1: %{name}-config-fix.patch
Patch2: %{name}-assert.patch
Patch3: %{name}-%{version}-bool.patch
Patch4: %{name}-%{version}-nostrip.patch
-Patch5: %{name}-%{version}-qualification.patch
-Patch6: %{name}-%{version}-declaration.patch
-Patch7: %{name}-%{version}-mistyped.patch
-Patch8: %{name}-%{version}-datetime.patch
-Patch9: %{name}-%{version}-userinfodlg.patch
-Patch10: %{name}-%{version}-ssl_fix.patch
-Patch11: %{name}-%{version}-homedirslash.patch
-Patch12: %{name}-%{version}-viewurl.patch
-Patch13: %{name}-%{version}-msn_overflow.patch
+Patch5: %{name}-%{version}-declaration.patch
+Patch6: %{name}-%{version}-datetime.patch
+Patch7: %{name}-%{version}-userinfodlg.patch
+Patch8: %{name}-%{version}-viewurl.patch
+Patch9: %{name}-%{version}-user_picture.patch
+Patch10: %{name}-%{version}-unicode.patch
+Patch11: %{name}-%{version}-emoticons.patch
URL: http://www.licq.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -49,7 +47,7 @@
%prep
-%setup
+%setup -n licq-20060522
%patch1
%patch2 -p1
%patch3
@@ -61,9 +59,6 @@
%patch9
%patch10
%patch11
-%patch12
-%patch13
-rm -rf plugins/osd/autom4te.cache
%build
%if %suse_version > 1001
@@ -75,6 +70,7 @@
export CXXFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
export CPPFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
%endif
+make -f Makefile.cvs
aclocal
automake
autoconf
@@ -88,6 +84,7 @@
cd plugins
cp -a qt-gui kde-gui
cd rms
+ make -f Makefile.cvs
aclocal
automake
autoconf
@@ -97,6 +94,7 @@
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
cd ../console
+ make -f Makefile.cvs
aclocal
automake
autoconf
@@ -106,6 +104,7 @@
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
cd ../qt-gui
+ make -f Makefile.cvs
aclocal
automake
perl am_edit {src/,share/,po/}Makefile.in
@@ -117,6 +116,7 @@
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
cd ../kde-gui
+ make -f Makefile.cvs
aclocal
automake
perl am_edit {src/,share/,po/}Makefile.in
@@ -129,6 +129,7 @@
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
cd ../email
+ make -f Makefile.cvs
aclocal -I /opt/gnome/share/aclocal
automake
autoconf
@@ -138,6 +139,7 @@
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
cd ../auto-reply
+ make -f Makefile.cvs
aclocal
automake
autoconf
@@ -147,6 +149,7 @@
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
cd ../msn
+ make -f Makefile.cvs
aclocal
automake
autoconf
@@ -155,16 +158,8 @@
--libdir=%{_libdir}/licq \
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
-cd ../osd
- ACLOCAL="aclocal -I admin" autoreconf -fi
- ./configure\
- --prefix=%{_prefix} \
- --libdir=%{_libdir}/licq \
- --mandir=%{_mandir}
- make %{?jobs:-j%jobs}
%install
-rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
cd plugins/rms
make DESTDIR=$RPM_BUILD_ROOT install
@@ -180,18 +175,16 @@
make DESTDIR=$RPM_BUILD_ROOT install
cd ../msn
make DESTDIR=$RPM_BUILD_ROOT install
- cd ../osd
- make DESTDIR=$RPM_BUILD_ROOT install
cd ../..
# docs
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/licq
-rm -rf doc/CVS
+#rm -rf doc/CVS
install -m 644 doc/* $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/licq
chmod 755 `find $RPM_BUILD_ROOT%{_prefix}/share/licq -type d`
%suse_update_desktop_file -i -G "ICQ Client" licq Network InstantMessaging
%clean
-rm -rf $RPM_BUILD_ROOT
+#rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
@@ -212,6 +205,18 @@
%exclude %{_libdir}/licq/*.*a
%changelog -n licq
+* Thu May 25 2006 - lmichnovic(a)suse.cz
+- update to version 20060522 from svn with new features:
+- switching trough tabs with mousewheel
+- "copy URL" added when rightcicking on URL
+- some bugfixes
+- Obsolete patches removed: qualification, mistyped, ssl_fix,
+ homedirslash, msn_overflow
+- new patches:
+- emoticons - enhances emoticons and prevent displaying them in URL
+- user_picture - fix displaying black square, when no picture aviable
+- unicode - fixes error when updating user info which has non utf encoding
+- file licq_constants.h has changed hence config-fix.patch had to be updated
* Wed Apr 12 2006 - lmichnovic(a)suse.cz
- fixed buffer overflow in msn plugin (msn_overflow.patch)
* Mon Apr 03 2006 - lmichnovic(a)suse.cz
++++++ licq-1.3.2-bool.patch -> licq-20060522-bool.patch ++++++
++++++ licq-1.3.2-datetime.patch -> licq-20060522-datetime.patch ++++++
++++++ licq-1.3.2-declaration.patch -> licq-20060522-declaration.patch ++++++
++++++ licq-20060522-emoticons.patch ++++++
--- plugins/qt-gui/src/emoticon.h 2006-03-10 12:24:35.000000000 +0100
+++ plugins/qt-gui/src/emoticon.h 2006-04-09 17:17:44.000000000 +0200
@@ -4,6 +4,7 @@
#include <qmap.h>
#include <qstring.h>
#include <qstringlist.h>
+#include "emotnode.h"
class CEmoticons {
--- plugins/qt-gui/src/emoticon.cpp 2006-03-10 12:24:35.000000000 +0100
+++ plugins/qt-gui/src/emoticon.cpp 2006-04-09 17:19:27.000000000 +0200
@@ -23,7 +23,6 @@
{
QStringList emoticon;
QString file;
- QRegExp reg;
};
typedef std::list<struct node> node_list_t;
@@ -36,6 +35,7 @@
QString theme; /* current theme */
node_list_t emoticons;
+ EmotNode *emoticonsTree;
};
CEmoticons::CEmoticons(const char *basedir, const char *altbasedir,
@@ -44,10 +44,12 @@
this->data = new struct Emoticons;
data->basedir = basedir;
data->altbasedir = altbasedir;
+ data->emoticonsTree = NULL;
}
CEmoticons::~CEmoticons()
{
+ delete this->data->emoticonsTree;
delete this->data;
}
@@ -140,52 +142,20 @@
return ret;
}
-static void create_regexp(QStringList &list, QRegExp ®)
-{
- unsigned n = 0;
- QString s = "(";
-
- for (QStringList::Iterator it = list.begin(); it!=list.end(); ++it)
- {
- if (n != 0)
- s += "|";
-#if QT_VERSION < 0x030100
- // we have to implement the functionality of QRegExp::escape()
- // ourself since qt 3.0.x is missing it.
- // Our goal is to escape all special characters with a backslash:
- // The special characters are $, (, ), *, +, ., ?, [, \, ], ^, {, | and }.
- // The implementation is heavily inspired by QT QRegExp sources ;-)
-
- static const char *c = "\\$()*+.?[]^{}|";
- int i = 0;
- QString tmp = (*it).latin1();
- while (i < (int)tmp.length())
- {
- if (strstr(c, tmp.mid(i,1).latin1()) != 0)
- tmp.insert( i++, "\\");
- i++;
- }
- s += tmp;
-#else
- s += QRegExp::escape(*it);
-#endif
- n++;
- }
- s += ")";
- reg = QRegExp(s);
-}
/*!
*
* \param data CDT for the CEmoticon class
* \param themedir path to the theme directory
* \param list list where the results are stored
+ * \param emoticonsTree tree where the smileys are stored
*
* \returns the number of loaded emoticons
*/
static unsigned loadTheme(const struct Emoticons *data,
const QString &themedir,
- node_list_t &list)
+ node_list_t &list,
+ EmotNode *emoticonsTree = NULL)
{
QDomDocument doc("doc");
QFile file(themedir + "/emoticons.xml");
@@ -210,13 +180,14 @@
unsigned size;
node.emoticon = loadStrings(data, n.firstChild(), &size);
- if (size)
- {
- node.file = f;
- create_regexp(node.emoticon, node.reg);
- list.push_back(node);
- ret += size;
- }
+ if (size)
+ {
+ node.file = f;
+ list.push_back(node);
+ if (emoticonsTree != NULL)
+ emoticonsTree->insert(node.emoticon, f, true);
+ ret += size;
+ }
}
}
}
@@ -240,13 +211,14 @@
QDir d1(szdir1);
QDir d2(szdir2);
node_list_t list;
+ EmotNode *emoTree = new EmotNode();
int ret = -1;
unsigned n = 0;
if (d1.exists())
- n = loadTheme(data, szdir1.ascii(), list);
+ n = loadTheme(data, szdir1.ascii(), list, emoTree);
else if(d2.exists())
- n = loadTheme(data, szdir2.ascii(), list);
+ n = loadTheme(data, szdir2.ascii(), list, emoTree);
if (n)
@@ -254,7 +226,10 @@
ret = n;
data->theme = theme;
data->emoticons = list;
+ data->emoticonsTree = emoTree;
}
+ else
+ delete emoTree;
return ret;
}
@@ -326,26 +301,9 @@
void CEmoticons::ParseMessage(QString &msg)
{
- /**
- * \todo this sucks: solution create a finite state machine to parse
- * the message
- */
- node_list_t::iterator iter;
- struct node n;
-
if (data->theme != QString::null && data->theme != "None")
{
- QString r;
- for( iter = data->emoticons.begin();
- iter != data->emoticons.end() ; iter++ )
- {
- n = *iter;
- for ( QStringList::Iterator it = n.emoticon.begin();
- it != n.emoticon.end(); ++it)
- {
- msg.replace(n.reg," <img src=\""+n.file+"\"/> ");
- }
- }
+ msg = data->emoticonsTree->replaceSmileys(msg);
}
}
--- plugins/qt-gui/src/Makefile.am 2006-03-10 12:24:35.000000000 +0100
+++ plugins/qt-gui/src/Makefile.am 2006-04-09 20:33:12.578165592 +0200
@@ -21,7 +21,7 @@
mmlistview.h mmsenddlg.h userinfodlg.h usereventdlg.h keyrequestdlg.h \
jfcstyle.h usercodec.h reqauthdlg.h licqdialog.h userselectdlg.h \
editfilelistdlg.h emoticon.h catdlg.h phonedlg.h ownermanagerdlg.h \
- gpgkeyselect.h gpgkeymanager.h licqkimiface.h kimiface.h
+ gpgkeyselect.h gpgkeymanager.h licqkimiface.h kimiface.h emotnode.h
licq_gui = adduserdlg.cpp authuserdlg.cpp awaymsgdlg.cpp \
refusedlg.cpp chatdlg.cpp editgrp.cpp editfile.cpp eventdesc.cpp \
@@ -34,7 +34,7 @@
mmsenddlg.cpp userinfodlg.cpp usereventdlg.cpp keyrequestdlg.cpp \
jfcstyle.cpp usercodec.cpp reqauthdlg.cpp licqdialog.cpp userselectdlg.cpp \
editfilelistdlg.cpp emoticon.cpp catdlg.cpp phonedlg.cpp \
- ownermanagerdlg.cpp gpgkeyselect.cpp gpgkeymanager.cpp
+ ownermanagerdlg.cpp gpgkeyselect.cpp gpgkeymanager.cpp emotnode.cpp
licq_qt_gui_la_SOURCES = $(licq_gui)
licq_kde_gui_la_SOURCES = $(licq_gui) wrap_kde_malloc.cpp \
--- plugins/qt-gui/src/emotnode.h 2005-08-09 09:06:25.000000000 +0200
+++ plugins/qt-gui/src/emotnode.h 2006-04-06 00:23:05.000000000 +0200
@@ -0,0 +1,71 @@
+#ifndef EMOTNODE_H
+#define EMOTNODE_H
+
+#include <qstring.h>
+#include <qstringlist.h>
+
+#include <string>
+#include <map>
+
+
+class EmotNode{
+private:
+ struct file_child_t {
+ QString m_file; //every node can have a filename (image)
+ EmotNode* mp_child; //every node may link to other nodes
+
+ };
+
+ typedef std::map<QChar,file_child_t> node_t;
+ typedef std::map<QChar,file_child_t>::const_iterator node_iter_t;
+
+ node_t m_node; //m_node[symbol_x], m_node[symbol_y] are all nodes
+ //example with smiley :-)
+ //m_node[:].mp_child[-].mp_child[)].m_file = smiley.jpg
+
+ /**
+ * Check whether at a given position in a message a smiley can be found.
+ * @param msg message with smileys
+ * @param spos position of possible smiley
+ * @param endPos returns the end position of a smiley if one is found
+ * @return If a smiley was found then the filename is returned. Else NULL ist returned.
+ */
+ QString searchSmileyInTree(QString msg, int spos, int &endPos);
+
+ /**
+ * Parse the msg for contents which should not be replaced with smileys
+ * @param msg
+ */
+ QString createSpecialContentSafe(QString msg);
+
+public:
+ EmotNode();
+ EmotNode(QString icons, QString filename);
+
+ ~EmotNode();
+
+ /**
+ * Insert one smiley with all his representatives.
+ * @param iconList list of representatives of the smiley
+ * @param filename name of image file
+ * @param doEncode (optional, default=false) encode the smileys e.g. >:) will be >:)
+ */
+ void insert(QStringList iconList, QString filename, bool doEncode);
+
+ /**
+ * Insert a new smiley in the tree.
+ * @param icons the test of the smiley
+ * @param filename the image name of the smiley
+ * @param depth used internally because of recursive behaviour
+ */
+ void insert(QString icons, QString filename, unsigned int depth = 0);
+
+ /**
+ * Replace all smileys in a message and return the resulting message.
+ * @param msg message with smileys to replace
+ * @return message with replaced smileys
+ */
+ QString replaceSmileys(QString msg);
+};
+
+#endif
--- plugins/qt-gui/src/emotnode.cpp 2005-08-09 09:06:25.000000000 +0200
+++ plugins/qt-gui/src/emotnode.cpp 2006-04-09 19:06:43.549017928 +0200
@@ -0,0 +1,221 @@
+/* Licq - A ICQ Client for Unix
+
+ Copyright (C) 2006 Martin Garbe <martin.garbe(a)gmx.de>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+/*
+ * \file Build a tree with smiley symbols. Every node has one symbol of
+ * a smiley and maybe a filename to an image. There is a filename
+ * if the symbols on the path from the root node to this node
+ * builds a smiley.
+ */
+
+#include <qregexp.h>
+#include <qstylesheet.h>
+
+#include "licq_log.h"
+
+#include "emotnode.h"
+
+
+EmotNode::EmotNode()
+{
+
+}
+
+
+/*
+ * Insert one smiley with all his representatives.
+ */
+void EmotNode::insert(QStringList iconList, QString filename, bool doEncodeSmiley = false)
+{
+ for (QStringList::Iterator iter = iconList.begin(); iter != iconList.end(); iter++)
+ {
+ if (doEncodeSmiley)
+ {
+ insert(QStyleSheet::escape(*iter), filename);
+ }
+ else
+ {
+ insert(*iter, filename);
+ }
+ }
+}
+
+
+/*
+ * Insert a new smiley in the tree.
+ */
+void EmotNode::insert(QString icons, QString filename, unsigned int depth )
+{
+ QChar sym = icons.at(depth);
+ node_iter_t iter = m_node.find(sym);
+ if (iter != m_node.end())
+ {
+ //symbol already exists here
+ if ((depth+1) == icons.length())
+ {
+ //if end of symbol is reached then insert file
+ m_node[sym].m_file = filename;
+ }
+ else
+ {
+ //end of symbol not reached -> go deeper
+ m_node[sym].mp_child->insert(icons, filename, depth+1);
+ }
+ }
+ else
+ {
+ //add symbol here
+ m_node[sym].mp_child = new EmotNode();
+ if ((depth+1) == icons.length())
+ {
+ //end of smiley reached, insert image here
+ m_node[sym].m_file = filename;
+ }
+ else
+ {
+ m_node[sym].m_file = "";
+ m_node[sym].mp_child->insert(icons, filename, depth+1);
+ }
+ }
+}
+
+
+//
+//Check whether at a given position in a message a smiley can be found.
+//
+QString EmotNode::searchSmileyInTree(QString msg, int spos, int &endPos)
+{
+ QChar curSym = msg.at(spos);
+ node_iter_t iter = m_node.find(curSym);
+ if (iter != m_node.end())
+ {
+ //found symbol in node, so go deeper
+ QString s = m_node[curSym].mp_child->searchSmileyInTree(msg, spos+1, endPos);
+ if (s == NULL)
+ {
+ //is here any file for the smiley?
+ if (m_node[curSym].m_file.length() != 0)
+ {
+ endPos = spos;
+ return m_node[curSym].m_file;
+ }
+ }
+ else
+ {
+ return s;
+ }
+ }
+ return NULL;
+}
+
+
+/*
+ * Replace all smileys in a message and return the resulting message.
+ */
+QString EmotNode::replaceSmileys(QString msg)
+{
+ int pos = 0;
+ int tmppos;
+ int max = msg.length()+1;
+ int spos = -1; //smallest position
+ int nextToCopyPos = 0; //saves the next position to copy from msg to newMsg
+ QString contentSafe;
+ QString newMsg = "";
+
+ contentSafe = createSpecialContentSafe(msg);
+
+ while (spos != max)
+ {
+ spos = max;
+ //search for the first possible smiley symbol
+ for ( node_iter_t i = m_node.begin(); i != m_node.end(); ++i)
+ {
+ tmppos = contentSafe.find(i->first, pos);
+ if (tmppos != -1 && tmppos < spos)
+ {
+ //found a position, remember it and try to find one more left
+ spos = tmppos;
+ }
+ }
+ if (spos != max)
+ {
+ //check if at this position is a smiley in msg
+ int endPos = -1;
+ QString f = searchSmileyInTree(contentSafe, spos, endPos);
+ if (f != NULL)
+ {
+ //replace
+ newMsg.append(msg.mid(nextToCopyPos, spos-nextToCopyPos) + " <img src=\"" + f + "\"/> ");
+ nextToCopyPos = endPos + 1;
+ pos = endPos + 1;
+ }
+ else
+ {
+ //it's beginning with a smiley symbol but it's no smiley
+ pos = spos + 1;
+ }
+ }
+ }
+
+ if (nextToCopyPos != contentSafe.length())
+ {
+ newMsg.append(msg.right(contentSafe.length() - nextToCopyPos));
+ }
+
+ return newMsg;
+}
+
+
+/*
+ * Parse the msg for content which should not be replaced with smileys
+ */
+QString EmotNode::createSpecialContentSafe(QString msg)
+{
+ QString contentSafe = msg;
+ QString fill;
+ int bpos = 0;
+ int epos = 0;
+ QRegExp reURL("(\\b|^)((https?|ftp)://([-a-z0-9]+(:[-a-z0-9]+)?@)?[-a-z0-9.]+[-a-z0-9](:[0-9]+)?(/([-a-z0-9%{}|\\\\^~`;/?:@=&$_.+!*'(),]|\\[|\\])*)?)");
+ reURL.setMinimal(false);
+ reURL.setCaseSensitive(false);
+ do
+ {
+ bpos = contentSafe.find(reURL);
+ if (bpos != -1)
+ {
+ //find end position
+ epos = bpos + reURL.cap(2).length();
+ //replace content area with spaces (mark as content area)
+ contentSafe = contentSafe.replace(bpos, epos - bpos, fill.fill(' ', epos - bpos));
+ }
+ }
+ while (bpos != -1);
+
+ return contentSafe;
+}
+
+
+EmotNode::~EmotNode()
+{
+ for ( node_iter_t i = m_node.begin(); i != m_node.end(); ++i)
+ {
+ delete(i->second.mp_child);
+ }
+}
+
+
++++++ licq-1.3.2-nostrip.patch -> licq-20060522-nostrip.patch ++++++
--- KDE/licq/licq-1.3.2-nostrip.patch 2006-03-27 16:24:43.000000000 +0200
+++ licq/licq-20060522-nostrip.patch 2006-05-23 20:20:12.000000000 +0200
@@ -27,15 +27,6 @@
+protocol_msn_la_LDFLAGS = -module -avoid-version -rpath $(plugindir)
protocol_msn_la_LIBADD =
---- plugins/osd/src/Makefile.am
-+++ plugins/osd/src/Makefile.am
-@@ -7,5 +7,5 @@
-
- licq_osd_la_SOURCES = licq-osd.cpp my_xosd.cpp
-
--licq_osd_la_LDFLAGS = -s -module -avoid-version
-+licq_osd_la_LDFLAGS = -module -avoid-version
- licq_osd_la_LIBADD = @LIBXOSD_LIBS@
--- plugins/rms/src/Makefile.am
+++ plugins/rms/src/Makefile.am
@@ -12,6 +12,6 @@
++++++ licq-20060522-unicode.patch ++++++
--- src/translate.cpp 2006-04-01 18:42:18.000000000 +0200
+++ src/translate.cpp 2006-05-10 11:51:42.356906536 +0200
@@ -226,7 +226,7 @@
char *szIn = _sz, *szOut = szNewStr;
iconv_t tr;
- nInSize = nLen;
+ nInSize = strlen(_sz);
nOutSize = nLen;
// Clean up for iconv, remove any spaces
@@ -249,6 +249,12 @@
if (ret == (size_t)(-1))
{
+ //set new values because iconv() is changing them
+ szIn = _sz;
+ szOut = szNewStr;
+ nInSize = strlen(_sz);
+ nOutSize = nLen;
+
tr = iconv_open("UCS-2BE", szFrom[0] == '\0' ? "" : szFrom);
if (tr == (iconv_t)-1)
{
++++++ licq-20060522-user_picture.patch ++++++
Index: userbox.cpp
===================================================================
--- plugins/qt-gui/src/userbox.cpp (revision 4422)
+++ plugins/qt-gui/src/userbox.cpp (working copy)
@@ -30,6 +30,8 @@
#include <qdrawutil.h>
#include <qregexp.h>
#include <qstyle.h>
+#include <qimage.h>
+#include <qmime.h>
#include "userbox.moc"
#include "skin.h"
@@ -363,11 +365,15 @@
QString strPath = QString(BASE_DIR) + QString("/") + QString(USER_DIR) +
QString("/") + QString(u->IdString()) + QString(".pic");
QImage tmpImg(strPath);
- m_pUserIcon = new QPixmap;
- *m_pUserIcon = tmpImg.scale(16, 16);
+ if (!tmpImg.isNull())
+ {
+ m_pUserIcon = new QPixmap;
+ *m_pUserIcon = tmpImg.scale(16, 16);
+ }
}
- m_pIcon = m_pUserIcon;
+ if (m_pUserIcon)
+ m_pIcon = m_pUserIcon;
}
if (u->NewMessages() > 0)
@@ -1566,8 +1572,13 @@
QString strFileName = "";
if (u && u->GetPicturePresent())
{
- strFileName = QString("<center><img src=") + QString(BASE_DIR) + QString("/") + QString(USER_DIR) +
- QString("/") + QString(u->IdString()) + QString(".pic></center>");
+ const QString file = QString("%1/%2/%3.pic").arg(BASE_DIR).arg(USER_DIR).arg(u->IdString());
+ const QImage picture = QImage(file);
+ if (!picture.isNull())
+ {
+ QMimeSourceFactory::defaultFactory()->setImage(file, picture);
+ strFileName = QString("<center><img src=\"%1\"></center>").arg(file);
+ }
}
QString s = strFileName + QString("<nobr>") + QString(ICQUser::StatusToStatusStr(item->m_nStatus, item->m_bStatusInvisible))
++++++ licq-1.3.2-userinfodlg.patch -> licq-20060522-userinfodlg.patch ++++++
++++++ licq-1.3.2-viewurl.patch -> licq-20060522-viewurl.patch ++++++
++++++ licq-1.3.2.tar.bz2 -> licq-20060522.tar.bz2 ++++++
++++ 368071 lines of diff (skipped)
++++++ licq-config-fix.patch ++++++
--- /var/tmp/diff_new_pack.BbQ8A1/_old 2006-05-26 13:05:01.000000000 +0200
+++ /var/tmp/diff_new_pack.BbQ8A1/_new 2006-05-26 13:05:01.000000000 +0200
@@ -24,7 +24,7 @@
echo ""
--- include/licq_constants.h.in
+++ include/licq_constants.h.in
-@@ -0,0 +1,57 @@
+@@ -0,0 +1,58 @@
+// ICQ definitions:
+#ifndef CONSTANTS_H
+#define CONSTANTS_H
@@ -56,7 +56,8 @@
+const unsigned short MAX_HOSTNAME_LEN = 255;
+const unsigned short MAX_CMD_LEN = 1024;
+const unsigned short MAX_DATA_LEN = 1024;
-+const unsigned short MAX_MESSAGE_SIZE = 450;
++const unsigned short MAX_MESSAGE_SIZE = 6800; // Maybe a little bigger?
++const unsigned short MAX_OFFLINE_MESSAGE_SIZE = 450;
+const unsigned short PING_FREQUENCY = 60;
+const unsigned short UPDATE_FREQUENCY = 60;
+const unsigned short DEFAULT_SERVER_PORT = 5190;
@@ -118,14 +119,6 @@
plugindir = $(libdir)
licq_incdir = @LICQ_INCLUDES@
---- plugins/osd/src/Makefile.am
-+++ plugins/osd/src/Makefile.am
-@@ -1,4 +1,4 @@
--libdir=$(prefix)/lib/licq
-+#libdir=$(prefix)/lib/licq
- localedir=$(datadir)/locale
-
- AM_CXXFLAGS = -I$(LICQ_INCLUDES) -I.. @LIBXOSD_CFLAGS@ -DLOCALEDIR=\"$(localedir)\"
--- plugins/qt-gui/src/Makefile.am
+++ plugins/qt-gui/src/Makefile.am
@@ -1,7 +1,7 @@
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package libgnomesu
checked in at Fri May 26 13:03:08 CEST 2006.
--------
--- GNOME/libgnomesu/libgnomesu.changes 2006-05-18 17:00:26.000000000 +0200
+++ libgnomesu/libgnomesu.changes 2006-05-26 12:00:09.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 11:58:09 CEST 2006 - zsu(a)suse.de
+
+- bugzilla #169082. Call _() to translate label string "_Password:"
+
+-------------------------------------------------------------------
New:
----
libgnomesu-password-translation.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgnomesu.spec ++++++
--- /var/tmp/diff_new_pack.NiOsVb/_old 2006-05-26 13:02:49.000000000 +0200
+++ /var/tmp/diff_new_pack.NiOsVb/_new 2006-05-26 13:02:49.000000000 +0200
@@ -23,7 +23,7 @@
Provides: xsu
Obsoletes: xsu
Version: 1.0.0
-Release: 33
+Release: 35
Summary: GNOME su Library
Source: libgnomesu-%{version}.tar.bz2
Source1: gnomesu-pam.pamd
@@ -33,6 +33,7 @@
Patch3: libgnomesu-no-selectable-error.patch
Patch4: libgnomesu-1.0.0-ensure-xauthority-env.patch
Patch5: libgnomesu-scrollbar.patch
+Patch6: libgnomesu-password-translation.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -69,6 +70,7 @@
%patch3 -p0
%patch4 -p1
%patch5
+%patch6 -p0
cp -a %{S:1} pam-backend/gnomesu-pam
%build
@@ -161,6 +163,8 @@
%{prefix}/%_lib/libgnomesu.*a
%changelog -n libgnomesu
+* Fri May 26 2006 - zsu(a)suse.de
+- bugzilla #169082. Call _() to translate label string "_Password:"
* Thu May 18 2006 - ro(a)suse.de
- add setuid bit to gnomesu-pam-backend in level secure (#175616)
* Thu May 04 2006 - danw(a)suse.de
++++++ libgnomesu-password-translation.patch ++++++
--- src/gnomesu-auth-dialog.c.old 2006-05-26 17:46:02.000000000 +0800
+++ src/gnomesu-auth-dialog.c 2006-05-26 17:47:34.000000000 +0800
@@ -178,7 +178,7 @@
/* Input entry */
- adialog->_priv->prompt_label = label = gtk_label_new ("_Password:");
+ adialog->_priv->prompt_label = label = gtk_label_new (_("_Password:"));
gtk_label_set_use_underline (GTK_LABEL (label), TRUE);
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label,
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package libapr1
checked in at Fri May 26 13:02:43 CEST 2006.
--------
--- libapr1/libapr1.changes 2006-01-25 21:37:22.000000000 +0100
+++ libapr1/libapr1.changes 2006-05-26 12:33:22.000000000 +0200
@@ -1,0 +2,9 @@
+Wed May 24 13:02:34 CEST 2006 - poeml(a)suse.de
+
+- update to 1.2.7
+ * fixes for netware and win32
+- update to 1.2.6
+ * bugfixes for libuuid, mutex, kqueue, ...
+- use %suse_version to build doxygen documentation only on SUSE
+
+-------------------------------------------------------------------
Old:
----
apr-1.2.2-_POSIX_THREAD_PRIO_INHERIT.dif
apr-1.2.2.tar.bz2
New:
----
apr-1.2.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libapr1.spec ++++++
--- /var/tmp/diff_new_pack.G9WovQ/_old 2006-05-26 13:02:16.000000000 +0200
+++ /var/tmp/diff_new_pack.G9WovQ/_new 2006-05-26 13:02:16.000000000 +0200
@@ -1,26 +1,27 @@
#
-# spec file for package libapr1 (Version 1.2.2)
+# spec file for package libapr1 (Version 1.2.7)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libapr1
+%if %{?suse_version:1}0
BuildRequires: doxygen
+%endif
URL: http://apr.apache.org/
License: Other License(s), see package, Other uncritical OpenSource License
Group: Development/Libraries/Other
Autoreqprov: on
-Version: 1.2.2
-Release: 2
+Version: 1.2.7
+Release: 1
Summary: Apache Portable Runtime (APR) Library
Source: http://www.apache.org/dist/apr/apr-%{version}.tar.bz2
-Patch1: apr-1.2.2-_POSIX_THREAD_PRIO_INHERIT.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define aprver 1
%define installbuilddir %{_libdir}/apr-%{aprver}/build
@@ -72,7 +73,6 @@
%prep
%setup -n apr-%{version}
-%patch1 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fPIC"
@@ -92,13 +92,17 @@
%ifnarch %arm
make check
%endif
+%if %{?suse_version:1}0
make dox
+%endif
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+%if %{?suse_version:1}0
# Move docs to more convenient location
mv docs/dox/html html
+%endif
# Unpackaged files:
rm -f $RPM_BUILD_ROOT/%{_libdir}/apr.exp
@@ -124,7 +128,9 @@
%doc docs/canonical_filenames.html
%doc docs/incomplete_types
%doc docs/non_apr_programs
+%if %{?suse_version:1}0
%doc --parents html
+%endif
%doc emacs-mode
%{_prefix}/include/*.h
%{_libdir}/libapr-%{aprver}.a
@@ -135,6 +141,12 @@
%{_libdir}/apr-%{aprver}
%changelog -n libapr1
+* Wed May 24 2006 - poeml(a)suse.de
+- update to 1.2.7
+ * fixes for netware and win32
+- update to 1.2.6
+ * bugfixes for libuuid, mutex, kqueue, ...
+- use %%suse_version to build doxygen documentation only on SUSE
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 09 2006 - poeml(a)suse.de
++++++ apr-1.2.2.tar.bz2 -> apr-1.2.7.tar.bz2 ++++++
++++ 4339 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package kmobiletools
checked in at Fri May 26 13:02:10 CEST 2006.
--------
--- KDE/kmobiletools/kmobiletools.changes 2006-05-17 14:24:44.000000000 +0200
+++ kmobiletools/kmobiletools.changes 2006-05-25 09:34:42.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 25 09:34:23 CEST 2006 - adrian(a)suse.de
+
+- fix build for < 10.1
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kmobiletools.spec ++++++
--- /var/tmp/diff_new_pack.qpgC8u/_old 2006-05-26 13:01:56.000000000 +0200
+++ /var/tmp/diff_new_pack.qpgC8u/_new 2006-05-26 13:01:56.000000000 +0200
@@ -12,12 +12,12 @@
Name: kmobiletools
BuildRequires: kdelibs3-devel kdepim3-devel
-URL: http://kmobiletools.berlios.de
+URL: http://www.kmobiletools.org/
License: GPL
Group: Productivity/Networking/Other
Summary: Mobile Phone Management
Version: 0.4.3.3
-Release: 2
+Release: 3
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%version.tar.bz2
@@ -48,7 +48,12 @@
%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
-%suse_update_desktop_file -G "Mobile Phone Tool" -C "" %name Utility Telephony
+%if %suse_version < 1010
+%suse_update_desktop_file %name Utility Telephony
+%else
+%suse_update_desktop_file -G "Mobile Phone Tool" -C "" %name Utility Teleph
+ony
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -63,6 +68,8 @@
/opt/kde3/share/icons/*/*/apps/kmobiletools.png
%changelog -n kmobiletools
+* Thu May 25 2006 - adrian(a)suse.de
+- fix build for < 10.1
* Wed May 17 2006 - stbinner(a)suse.de
- update to version 0.4.3.3
* Fixing again compilation on FreeBSD
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package keepalived
checked in at Fri May 26 13:01:51 CEST 2006.
--------
--- keepalived/keepalived.changes 2006-02-22 12:09:48.000000000 +0100
+++ keepalived/keepalived.changes 2006-05-26 11:59:41.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 11:59:37 CEST 2006 - schwab(a)suse.de
+
+- Don't strip binaries.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ keepalived.spec ++++++
--- /var/tmp/diff_new_pack.3cCn8U/_old 2006-05-26 13:01:02.000000000 +0200
+++ /var/tmp/diff_new_pack.3cCn8U/_new 2006-05-26 13:01:02.000000000 +0200
@@ -15,7 +15,7 @@
Group: Productivity/Clustering/HA
Summary: Healthchecking daemon for services in LVS
Version: 1.1.11
-Release: 1
+Release: 11
URL: http://www.keepalived.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%{version}.tar.bz2
@@ -47,7 +47,7 @@
%build
%configure
-make %{?jobs:-j %jobs}
+make %{?jobs:-j %jobs} STRIP=:
%install
make DESTDIR=$RPM_BUILD_ROOT install
@@ -70,5 +70,7 @@
%{_sysconfdir}/init.d/keepalived
%changelog -n keepalived
+* Fri May 26 2006 - schwab(a)suse.de
+- Don't strip binaries.
* Wed Feb 22 2006 - dmueller(a)suse.de
- Initial package 1.1.11 (#62069)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package kdevelop3
checked in at Fri May 26 13:00:57 CEST 2006.
--------
--- KDE/kdevelop3/kdevelop3.changes 2006-05-24 13:25:46.000000000 +0200
+++ kdevelop3/kdevelop3.changes 2006-05-26 11:51:03.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 11:50:43 CEST 2006 - stbinner(a)suse.de
+
+- fix Ruby link in documentation panel (#172972)
+
+-------------------------------------------------------------------
New:
----
ruby-bugs.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdevelop3.spec ++++++
--- /var/tmp/diff_new_pack.agZwwr/_old 2006-05-26 13:00:34.000000000 +0200
+++ /var/tmp/diff_new_pack.agZwwr/_new 2006-05-26 13:00:34.000000000 +0200
@@ -13,7 +13,7 @@
Name: kdevelop3
BuildRequires: db41-devel enscript graphviz kdelibs3-devel-doc kdesdk3-devel python-devel qt3-devel-doc subversion-devel
Version: 3.3.3
-Release: 1
+Release: 2
Summary: Integrated Development Environment for the X Window System, Qt, KDE, and GNOME
License: GPL
Group: System/GUI/KDE
@@ -33,6 +33,7 @@
Source: kdevelop-%{version}.tar.bz2
#Patch0: 3_5_BRANCH.diff
Patch1: FIXME.diff
+Patch2: ruby-bugs.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -60,6 +61,7 @@
%setup -q -n kdevelop-%{version}
#%patch0
%patch1
+%patch2
. /etc/opt/kde3/common_options
update_admin --no-unsermake
@@ -117,6 +119,8 @@
/opt/kde3/share/servicetypes/*
%changelog -n kdevelop3
+* Fri May 26 2006 - stbinner(a)suse.de
+- fix Ruby link in documentation panel (#172972)
* Wed May 24 2006 - stbinner(a)suse.de
- update to 3.3.3
* fixes to CPP, Ruby and PHP support
++++++ ruby-bugs.diff ++++++
--- languages/ruby/doc/ruby_bugs.toc 2006/05/26 09:32:59 1.1
+++ languages/ruby/doc/ruby_bugs.toc 2006/05/26 09:46:48
@@ -1,7 +1,7 @@
<!DOCTYPE kdeveloptoc>
<kdeveloptoc>
<title>Ruby bugs</title>
-<base href="http://www.ruby-lang.org/cgi-bin/"/>
-<tocsect1 name="Query" url="ruby-bugs">
+<base href="http://rubyforge.org/"/>
+<tocsect1 name="Query" url="tracker/?atid=1698&group_id=426&func=browse">
</tocsect1>
</kdeveloptoc>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package kdegraphics3
checked in at Fri May 26 13:00:26 CEST 2006.
--------
--- KDE/kdegraphics3/kdegraphics3.changes 2006-05-24 13:18:25.000000000 +0200
+++ kdegraphics3/kdegraphics3.changes 2006-05-26 08:44:37.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 08:44:30 CEST 2006 - dmueller(a)suse.de
+
+- fix provides (#1798744)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdegraphics3.spec ++++++
--- /var/tmp/diff_new_pack.Aa27Ty/_old 2006-05-26 12:59:21.000000000 +0200
+++ /var/tmp/diff_new_pack.Aa27Ty/_new 2006-05-26 12:59:21.000000000 +0200
@@ -26,7 +26,7 @@
Requires: kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3` )
Summary: Base Libraries for KDE Graphics Applications
Version: 3.5.3
-Release: 1
+Release: 2
Source0: kdegraphics-%{version}.tar.bz2
#Patch0: 3_5_BRANCH.diff
Patch1: prefer-kpdf.diff
@@ -37,6 +37,8 @@
Patch8: use_xorg_conf.diff
Requires: ghostscript-x11
Provides: kdegraphics3-viewer:/opt/kde3/bin/kuickshow
+Provides: kdegraphics3:/opt/kde3/bin/ksnapshot
+Provides: kdegraphics:/opt/kde2/bin/ksnapshot
Obsoletes: kdegraphics3-viewer
Provides: kdegraphics kgraph
@@ -112,8 +114,6 @@
# usesubdirs kruler kcoloredit
Summary: Small KDE Graphics Applications
Group: Productivity/Graphics/Viewers
-Provides: kdegraphics3:/opt/kde3/bin/ksnapshot
-Provides: kdegraphics:/opt/kde2/bin/ksnapshot
Obsoletes: kdegraphics3-viewer
%description extra
@@ -632,6 +632,8 @@
/opt/kde3/include/*.h
%changelog -n kdegraphics3
+* Fri May 26 2006 - dmueller(a)suse.de
+- fix provides (#1798744)
* Wed May 24 2006 - stbinner(a)suse.de
- update to KDE 3.5.3
* several fixes to kpdf, kuickshow, kghostview, kiconedit, kooka
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package jigdo
checked in at Fri May 26 12:59:09 CEST 2006.
--------
--- jigdo/jigdo.changes 2006-01-25 21:37:02.000000000 +0100
+++ jigdo/jigdo.changes 2006-05-24 18:08:55.000000000 +0200
@@ -1,0 +2,11 @@
+Wed May 24 18:01:47 CEST 2006 - cthiel(a)suse.de
+
+- remove GUI part of jigdo, as it's broken anyway
+- removed irrelevant parts from jigdo-0.7.2.patch
+
+-------------------------------------------------------------------
+Sat May 13 18:14:42 CEST 2006 - cthiel(a)suse.de
+
+- added wget to Requires
+
+-------------------------------------------------------------------
Old:
----
jigdo-0.7.2.diff
New:
----
jigdo-0.7.2.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jigdo.spec ++++++
--- /var/tmp/diff_new_pack.8i5x87/_old 2006-05-26 12:59:01.000000000 +0200
+++ /var/tmp/diff_new_pack.8i5x87/_new 2006-05-26 12:59:01.000000000 +0200
@@ -1,40 +1,41 @@
#
# spec file for package jigdo (Version 0.7.2)
#
-# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://www.suse.de/feedback/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: jigdo
-BuildRequires: curl-devel db-devel gcc-c++ gtk2-devel update-desktop-files wget
+BuildRequires: curl-devel db-devel gcc-c++ wget
URL: http://atterer.net/jigdo/
License: GPL
Group: Productivity/Networking/Other
Autoreqprov: on
Summary: Jigsaw Download
Version: 0.7.2
-Release: 5
+Release: 17
Source: %{name}-%{version}.tar.bz2
-Patch: %{name}-%{version}.diff
+Patch: %{name}-%{version}.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: wget
%description
-Jigsaw Download, or short jigdo, is an intelligent tool that can be
-used on the pieces of any chopped-up big file to create a special
-"template" file which makes reassembly of the file very easy for users
-who only have the pieces.
+Jigsaw Download, or jigdo, is an intelligent tool that can be used on
+the pieces of any chopped-up big file to create a special template file
+that makes reassembly of the file very easy for users who only have the
+pieces.
What makes jigdo special is that there are no restrictions on what
-offsets/sizes the individual pieces have in the original big image.
-This makes the program very well suited for distributing CD/DVD images
-(or large zip/tar archives) because you can put the files of the CD on
-an FTP server - when jigdo is presented the files along with the
-template you generated, it is able to recreate the CD image.
+offsets or sizes the individual pieces have in the original big image.
+This makes the program very well suited for distributing CD or DVD
+images (or large zip or tar archives) because you can put the files of
+the CD on an FTP server--when jigdo is presented the files along with
+the template you generated, it is able to recreate the CD image.
@@ -47,19 +48,14 @@
%patch
%build
-autoconf
%configure --prefix=%{_prefix} \
--infodir=%{_infodir} \
- --mandir=%{_mandir}
+ --mandir=%{_mandir} \
+ --with-gui=no
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/usr/share/applications
-mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
-install -m 644 jigdo.desktop $RPM_BUILD_ROOT/usr/share/applications
-install -m 644 gfx/jigdo-icon.png $RPM_BUILD_ROOT/usr/share/pixmaps/jigdo.png
-%suse_update_desktop_file -i jigdo Application Network
%clean
rm -rf $RPM_BUILD_ROOT
@@ -71,10 +67,13 @@
%{_mandir}/*/*
%{_datadir}/locale/*/*/*
%{_datadir}/%{name}
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/pixmaps/%{name}.png
%changelog -n jigdo
+* Wed May 24 2006 - cthiel(a)suse.de
+- remove GUI part of jigdo, as it's broken anyway
+- removed irrelevant parts from jigdo-0.7.2.patch
+* Sat May 13 2006 - cthiel(a)suse.de
+- added wget to Requires
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Sun Oct 30 2005 - cthiel(a)suse.de
++++++ jigdo-0.7.2.patch ++++++
--- Makefile.in
+++ Makefile.in
@@ -15,7 +15,7 @@
PACKAGE = jigdo
INSTALL = @INSTALL@
-INSTALL_EXE = @INSTALL@ -s
+INSTALL_EXE = @INSTALL@
INSTALL_DATA = @INSTALL@ -m 644
INSTALL_SCRIPT = @INSTALL@ -m 755
AWK = @AWK@
--- src/cachefile.cc
+++ src/cachefile.cc
@@ -131,7 +131,7 @@
//________________________________________
Status CacheFile::findName(const byte*& resultData, size_t& resultSize,
- const string& fileName, long long int& resultFileSize,
+ const string& fileName, off_t& resultFileSize,
time_t& resultMtime) {
DBT key; memset(&key, 0, sizeof(DBT));
key.data = const_cast<char*>(fileName.c_str());
--- src/cachefile.hh
+++ src/cachefile.hh
@@ -94,7 +94,7 @@
only valid until the next database operation. */
Status findName(const byte*& resultData, size_t& resultSize,
const string& fileName,
- long long int& resultFileSize, time_t& resultMtime);
+ off_t& resultFileSize, time_t& resultMtime);
/** Insert/overwrite entry for the given file (name must be
absolute, file must have the supplied mtime and size). The data
--- src/compat.cc
+++ src/compat.cc
@@ -1,4 +1,4 @@
-/* $Id: compat.cc,v 1.4 2005/07/09 19:14:46 atterer Exp $ -*- C++ -*-
+/* $Id: compat.cc,v 1.5 2005/10/15 16:39:46 atterer Exp $ -*- C++ -*-
__ _
|_) /| Copyright (C) 2001-2003 | richard@
| \/¯| Richard Atterer | atterer.net
@@ -38,15 +38,13 @@
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
if (handle == INVALID_HANDLE_VALUE) return -1;
- LARGE_INTEGER targetFileLen;
- targetFileLen.QuadPart = length;
- LARGE_INTEGER newFileLen;
- if (SetFilePointerEx(handle, targetFileLen, &newFileLen, FILE_BEGIN) == 0
- || SetEndOfFile(handle) == 0U) {
+ LONG lengthHi = length >> 32;
+ DWORD setPointerRet = SetFilePointer(handle, length, &lengthHi, FILE_BEGIN);
+ if ((setPointerRet == INVALID_SET_FILE_POINTER && GetLastError() != NO_ERROR)
+ || SetEndOfFile(handle) == 0) {
CloseHandle(handle);
return -1;
}
- Assert(static_cast<uint64>(newFileLen.QuadPart) == length);
if (CloseHandle(handle) == 0) return -1;
return 0;
}
--- src/jigdo-file.cc
+++ src/jigdo-file.cc
@@ -487,6 +487,16 @@
LONGOPT_NOSCANWHOLEFILE, LONGOPT_GREEDYMATCHING, LONGOPT_NOGREEDYMATCHING
};
+//______________________________________________________________________
+
+void outOfMemory() {
+ cerr << subst(_("%1: Out of memory - aborted."), binName()) << endl;
+ exit(3);
+}
+//______________________________________________________________________
+
+} // local namespace
+
// Deal with command line switches
JigdoFileCmd::Command JigdoFileCmd::cmdOptions(int argc, char* argv[]) {
# if !WINDOWS
@@ -722,15 +732,6 @@
return result;
}
-//______________________________________________________________________
-
-void outOfMemory() {
- cerr << subst(_("%1: Out of memory - aborted."), binName()) << endl;
- exit(3);
-}
-//______________________________________________________________________
-
-} // local namespace
void exit_tryHelp() {
cerr << subst(_("%1: Try `%1 -h' or `man jigdo-file' for more "
--- src/mktemplate.hh
+++ src/mktemplate.hh
@@ -136,7 +136,7 @@
void prepareJigdo();
void finalizeJigdo(const string& imageLeafName,
const string& templLeafName, const MD5Sum& templMd5Sum);
- INLINE bool MkTemplate::scanFiles(size_t blockLength, uint32 blockMask,
+ INLINE bool scanFiles(size_t blockLength, uint32 blockMask,
size_t md5BlockLength);
INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength,
uint32 blockMask, size_t md5BlockLength, MD5Sum&);
--- src/net/download.hh
+++ src/net/download.hh
@@ -126,7 +126,7 @@
static size_t curlWriter(void* data, size_t size, size_t nmemb,
void* selfPtr);
// Called by glibcurl after curl_multi_perform()
- static void Download::glibcurlCallback(void*);
+ static void glibcurlCallback(void*);
// Unregister request from glibwww event loop
// void pauseNow();
--- src/recursedir.cc
+++ src/recursedir.cc
@@ -54,6 +54,10 @@
throw RecurseError(err);
}
+} // local namespace
+//________________________________________
+
+
//______________________________________________________________________
/* Assign the next object name to result. Returns FAILURE if no more
@@ -131,8 +135,7 @@
}
}
-} // local namespace
-//________________________________________
+
bool RecurseDir::getName(string& result, struct stat* fileInfo,
bool checkFiles)
--- src/recursedir.hh
+++ src/recursedir.hh
@@ -101,7 +101,7 @@
string curDir;
stack<Level> recurseStack;
- inline bool RecurseDir::getNextObjectName(string& result)
+ inline bool getNextObjectName(string& result)
throw(RecurseError);
queue<string> objects; // Queue of filenames to output/dirs to recurse into
queue<string> objectsFrom; // Files containing filenames
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package iproute2
checked in at Fri May 26 12:58:56 CEST 2006.
--------
--- iproute2/iproute2.changes 2006-04-03 18:21:43.000000000 +0200
+++ iproute2/iproute2.changes 2006-05-26 01:22:53.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 01:22:34 CEST 2006 - schwab(a)suse.de
+
+- Fix crash while resolving addresses.
+
+-------------------------------------------------------------------
New:
----
iproute2-resolve-address.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ iproute2.spec ++++++
--- /var/tmp/diff_new_pack.is6t14/_old 2006-05-26 12:58:38.000000000 +0200
+++ /var/tmp/diff_new_pack.is6t14/_new 2006-05-26 12:58:38.000000000 +0200
@@ -18,7 +18,7 @@
Provides: iproute
Autoreqprov: on
Version: 2.6.15
-Release: 8
+Release: 14
Summary: Advanced Routing
URL: http://developer.osdl.org/dev/iproute2/
Source0: %name-%version-%dateversion.tar.bz2
@@ -28,6 +28,7 @@
Patch2: %name-2.6.15-fragtimeout.diff
Patch3: %name-2.6.14-nostrip.diff
Patch4: %name-tc-flex-fixes.patch
+Patch5: %name-resolve-address.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package -n libnlink
Summary: A Higher Level Interface to the Netlink Service
@@ -60,6 +61,7 @@
%patch2
%patch3 -p1
%patch4
+%patch5
find . -name *.orig -print0 | xargs -r0 rm -v
%build
@@ -108,6 +110,8 @@
%_libdir/lib*
%changelog -n iproute2
+* Fri May 26 2006 - schwab(a)suse.de
+- Fix crash while resolving addresses.
* Mon Apr 03 2006 - hvogel(a)suse.de
- fix flex input file to use uppercase STR to avoid conflicts.
This prevented tc from being build [#162931]
++++++ iproute2-resolve-address.diff ++++++
--- lib/utils.c
+++ lib/utils.c
@@ -439,7 +439,7 @@
len = 4;
}
- hash = addr[len-1] ^ addr[len-2] ^ addr[len-3] ^ addr[len-4];
+ hash = (addr[len-1] ^ addr[len-2] ^ addr[len-3] ^ addr[len-4]) & 0xff;
for (n = nht[hash]; n; n = n->next) {
if (n->addr.family == af &&
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package hanterm-xf
checked in at Fri May 26 12:58:31 CEST 2006.
--------
--- hanterm-xf/hanterm-xf.changes 2006-01-25 21:36:25.000000000 +0100
+++ hanterm-xf/hanterm-xf.changes 2006-05-26 11:55:22.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 11:55:17 CEST 2006 - schwab(a)suse.de
+
+- Don't strip binaries.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hanterm-xf.spec ++++++
--- /var/tmp/diff_new_pack.sPJKsg/_old 2006-05-26 12:58:25.000000000 +0200
+++ /var/tmp/diff_new_pack.sPJKsg/_new 2006-05-26 12:58:25.000000000 +0200
@@ -1,11 +1,11 @@
#
# spec file for package hanterm-xf (Version 2.0.5_173)
#
-# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://www.suse.de/feedback/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
@@ -22,7 +22,7 @@
Summary: Hangul Terminal for the X Window System
URL: http://kldp.net/project/showfiles.php?group_id=34
Version: 2.0.5_173
-Release: 197
+Release: 210
# http://download.kldp.net/hanterm-xf/hanterm-xf-2.0.5-173.tar.gz
Source0: http://download.kldp.net/hanterm-xf/hanterm-xf-2.0.5-173.tar.bz2
Source5: hanterm.desktop.kde3x
@@ -81,9 +81,8 @@
make
%install
-[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p $RPM_BUILD_ROOT%{_bindir}
-install -c -s -m 555 hanterm $RPM_BUILD_ROOT%{_bindir}
+install -c -m 555 hanterm $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -m444 hanterm.man $RPM_BUILD_ROOT%{_mandir}/man1/hanterm.1
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/{ko,ko_KR.UTF-8,}/app-defaults
@@ -120,6 +119,8 @@
/usr/share/applications/hanterm.desktop
%changelog -n hanterm-xf
+* Fri May 26 2006 - schwab(a)suse.de
+- Don't strip binaries.
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Wed Apr 13 2005 - mfabian(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package gstreamer010
checked in at Fri May 26 12:58:20 CEST 2006.
--------
--- GNOME/gstreamer010/gstreamer010.changes 2006-03-10 21:36:14.000000000 +0100
+++ gstreamer010/gstreamer010.changes 2006-05-25 18:18:04.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 25 18:17:46 CEST 2006 - sbrabec(a)suse.cz
+
+- Fixed uninitialized variable (#176290).
+
+-------------------------------------------------------------------
New:
----
gstreamer-uninitialized.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer010.spec ++++++
--- /var/tmp/diff_new_pack.nxiXCm/_old 2006-05-26 12:58:07.000000000 +0200
+++ /var/tmp/diff_new_pack.nxiXCm/_new 2006-05-26 12:58:07.000000000 +0200
@@ -30,10 +30,11 @@
Group: System/Libraries
Autoreqprov: on
Version: 0.10.4
-Release: 1
+Release: 11
%define gst_branch 0.10
Summary: Streaming-Media Framework Runtime
Source: %{_name}-%{version}.tar.bz2
+Patch: gstreamer-uninitialized.patch
URL: http://gstreamer.freedesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: filesystem /sbin/ldconfig
@@ -171,6 +172,7 @@
%prep
%setup -q -n %{_name}-%{version}
+%patch
%build
%{?suse_update_config:%{suse_update_config -f}}
@@ -239,6 +241,8 @@
%{prefix}/share/gtk-doc/html/*
%changelog -n gstreamer010
+* Thu May 25 2006 - sbrabec(a)suse.cz
+- Fixed uninitialized variable (#176290).
* Fri Mar 10 2006 - jpr(a)suse.de
-update to version 0.10.4
-Changes since 0.10.3:
++++++ gstreamer-uninitialized.patch ++++++
Index: libs/gst/net/gstnetclientclock.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/libs/gst/net/gstnetclientclock.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- libs/gst/net/gstnetclientclock.c 11 May 2006 18:10:33 -0000 1.15
+++ libs/gst/net/gstnetclientclock.c 25 May 2006 15:52:19 -0000 1.16
@@ -450,12 +450,13 @@
if (ret < 0)
goto getsockname_error;
- GST_DEBUG_OBJECT (self, "socket opened on UDP port %hd",
- ntohs (servaddr.sin_port));
-
memset (&servaddr, 0, sizeof (servaddr));
servaddr.sin_family = AF_INET; /* host byte order */
servaddr.sin_port = htons (self->port); /* short, network byte order */
+
+ GST_DEBUG_OBJECT (self, "socket opened on UDP port %hd",
+ ntohs (servaddr.sin_port));
+
if (!inet_aton (self->address, &servaddr.sin_addr))
goto bad_address;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package gnome-screensaver
checked in at Fri May 26 12:57:38 CEST 2006.
--------
--- GNOME/gnome-screensaver/gnome-screensaver.changes 2006-05-08 18:46:20.000000000 +0200
+++ gnome-screensaver/gnome-screensaver.changes 2006-05-25 13:31:57.000000000 +0200
@@ -1,0 +2,8 @@
+Thu May 25 13:30:42 CEST 2006 - rodrigo(a)suse.de
+
+- Added patch to lock the screen before signalling DBUS listeners
+ that the screen saver is active. Thus, gnome-power-manager will
+ start the suspend when the screensaver is active, avoiding seeing
+ the screen fading out when resuming (167510)
+
+-------------------------------------------------------------------
New:
----
gnome-screensaver-167510.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-screensaver.spec ++++++
--- /var/tmp/diff_new_pack.CUso2g/_old 2006-05-26 12:52:38.000000000 +0200
+++ /var/tmp/diff_new_pack.CUso2g/_new 2006-05-26 12:52:38.000000000 +0200
@@ -13,7 +13,7 @@
Name: gnome-screensaver
BuildRequires: gnome-common gnome-menus-devel gnutls-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel mDNSResponder-devel pam-devel perl-XML-Parser update-desktop-files xscreensaver
Version: 2.14.0
-Release: 18
+Release: 20
URL: http://www.gnome.org/
Group: System/GUI/GNOME
License: GPL
@@ -24,6 +24,7 @@
Patch4: gnome-screensaver-stay-above.patch
Patch5: gnome-screensaver-159513.patch
Patch6: gnome-screensaver-unlock-dialog-size.patch
+Patch7: gnome-screensaver-167510.patch
Autoreqprov: on
Requires: /sbin/unix2_chkpwd xscreensaver
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -52,6 +53,7 @@
%patch4
%patch5
%patch6 -p1
+%patch7 -p1
rm po/no.*
sed "/ALL_LINGUAS=/,/^$/s/ no / /" configure.ac > configure.ac.tmp && mv configure.ac.tmp configure.ac
@@ -108,6 +110,11 @@
/opt/gnome/share/pixmaps/gnome-logo-white.svg
%changelog -n gnome-screensaver
+* Thu May 25 2006 - rodrigo(a)suse.de
+- Added patch to lock the screen before signalling DBUS listeners
+ that the screen saver is active. Thus, gnome-power-manager will
+ start the suspend when the screensaver is active, avoiding seeing
+ the screen fading out when resuming (167510)
* Mon May 08 2006 - rodrigo(a)suse.de
- Added gnome-screensaver-unlock-dialog-size.patch to fix weird
resizing of the users list (#170846)
++++++ gnome-screensaver-167510.patch ++++++
--- gnome-screensaver-2.14.0-orig/src/gs-monitor.c 2006-02-22 04:21:17.000000000 +0100
+++ gnome-screensaver-2.14.0/src/gs-monitor.c 2006-05-24 18:03:33.000000000 +0200
@@ -161,10 +161,10 @@ listener_lock_cb (GSListener *listener,
{
gboolean res;
+ gs_manager_set_lock_active (monitor->priv->manager, TRUE);
res = gs_listener_set_active (monitor->priv->listener, TRUE);
- if (res) {
- gs_manager_set_lock_active (monitor->priv->manager, TRUE);
- } else {
+ if (!res) {
+ gs_manager_set_lock_active (monitor->priv->manager, FALSE);
gs_debug ("Unable to lock the screen");
}
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package mpfr
checked in at Fri May 26 12:55:17 CEST 2006.
--------
--- mpfr/mpfr.changes 2006-05-15 14:28:13.000000000 +0200
+++ mpfr/mpfr.changes 2006-05-26 12:38:15.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 12:38:05 CEST 2006 - rguenther(a)suse.de
+
+- Skip testsuite for s390.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mpfr.spec ++++++
--- /var/tmp/diff_new_pack.xJCX3q/_old 2006-05-26 12:55:09.000000000 +0200
+++ /var/tmp/diff_new_pack.xJCX3q/_new 2006-05-26 12:55:09.000000000 +0200
@@ -17,7 +17,7 @@
Autoreqprov: on
Requires: gmp
Version: 2.2.0
-Release: 2
+Release: 3
Summary: The MPFR library for multiple-precision floating-point computations with exact rounding
URL: http://www.mpfr.org/
Source: mpfr-%{version}.tar.bz2
@@ -69,7 +69,9 @@
%build
%configure --enable-shared --enable-thread-safe
make %{?jobs:-j%jobs}
+%ifnarch s390
make check %{?jobs:-j%jobs}
+%endif
%install
@@ -104,6 +106,8 @@
/usr/include/*
%changelog -n mpfr
+* Fri May 26 2006 - rguenther(a)suse.de
+- Skip testsuite for s390.
* Mon May 15 2006 - rguenther(a)suse.de
- Add provides to mpfr-devel to fix updating from gmp-devel.
* Sat May 13 2006 - rguenther(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package gcc
checked in at Fri May 26 12:52:30 CEST 2006.
--------
--- gcc/cross-alpha-gcc-icecream-backend.changes 2006-05-17 11:53:33.000000000 +0200
+++ gcc/cross-alpha-gcc-icecream-backend.changes 2006-05-25 22:39:03.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 25 22:38:48 CEST 2006 - rguenther(a)suse.de
+
+- Update to 4.1.1 release.
+
+-------------------------------------------------------------------
cross-arm-gcc-icecream-backend.changes: same change
cross-avr-gcc.changes: same change
cross-hppa-gcc-icecream-backend.changes: same change
cross-i386-gcc-icecream-backend.changes: same change
cross-ia64-gcc-icecream-backend.changes: same change
cross-ppc-gcc-icecream-backend.changes: same change
cross-ppc64-gcc-icecream-backend.changes: same change
cross-s390-gcc-icecream-backend.changes: same change
cross-s390x-gcc-icecream-backend.changes: same change
cross-x86_64-gcc-icecream-backend.changes: same change
gcc.changes: same change
Old:
----
pr21041.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cross-alpha-gcc-icecream-backend.spec ++++++
--- /var/tmp/diff_new_pack.Q48q9h/_old 2006-05-26 12:50:41.000000000 +0200
+++ /var/tmp/diff_new_pack.Q48q9h/_new 2006-05-26 12:50:41.000000000 +0200
@@ -25,7 +25,7 @@
URL: http://gcc.gnu.org/
License: GPL, LGPL
Version: 4.1.1
-Release: 3
+Release: 4
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%if %{gcc_for_opt}
@@ -51,7 +51,6 @@
Patch9: endless-loop-warning.patch
Patch10: program-transform-name.diff
Patch12: gcc4-ppc64-m32-m64-multilib-only.patch
-Patch15: pr21041.diff
Patch23: libjava-no-multilib.diff
Patch24: tls-no-direct.diff
Patch37: pr20425.patch
@@ -136,7 +135,6 @@
%if !%{build_nof}
%patch12
%endif
-%patch15
%patch23
%patch24
%patch37
@@ -370,6 +368,8 @@
/usr/share/icecream-envs
%changelog -n cross-alpha-gcc-icecream-backend
+* Thu May 25 2006 - rguenther(a)suse.de
+- Update to 4.1.1 release.
* Wed May 17 2006 - rguenther(a)suse.de
- Update to gcc-4_1-branch head.
* Mon May 15 2006 - rguenther(a)suse.de
cross-arm-gcc-icecream-backend.spec: same change
++++++ cross-avr-gcc.spec ++++++
--- /var/tmp/diff_new_pack.Q48q9h/_old 2006-05-26 12:50:41.000000000 +0200
+++ /var/tmp/diff_new_pack.Q48q9h/_new 2006-05-26 12:50:41.000000000 +0200
@@ -24,7 +24,7 @@
URL: http://gcc.gnu.org/
License: GPL, LGPL
Version: 4.1.1
-Release: 3
+Release: 4
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%if %{gcc_for_opt}
@@ -50,7 +50,6 @@
Patch9: endless-loop-warning.patch
Patch10: program-transform-name.diff
Patch12: gcc4-ppc64-m32-m64-multilib-only.patch
-Patch15: pr21041.diff
Patch23: libjava-no-multilib.diff
Patch24: tls-no-direct.diff
Patch37: pr20425.patch
@@ -132,7 +131,6 @@
%if !%{build_nof}
%patch12
%endif
-%patch15
%patch23
%patch24
%patch37
@@ -333,6 +331,8 @@
%{_prefix}
%changelog -n cross-avr-gcc
+* Thu May 25 2006 - rguenther(a)suse.de
+- Update to 4.1.1 release.
* Wed May 17 2006 - rguenther(a)suse.de
- Update to gcc-4_1-branch head.
* Mon May 15 2006 - rguenther(a)suse.de
++++++ cross-hppa-gcc-icecream-backend.spec ++++++
--- /var/tmp/diff_new_pack.Q48q9h/_old 2006-05-26 12:50:41.000000000 +0200
+++ /var/tmp/diff_new_pack.Q48q9h/_new 2006-05-26 12:50:41.000000000 +0200
@@ -25,7 +25,7 @@
URL: http://gcc.gnu.org/
License: GPL, LGPL
Version: 4.1.1
-Release: 3
+Release: 4
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%if %{gcc_for_opt}
@@ -51,7 +51,6 @@
Patch9: endless-loop-warning.patch
Patch10: program-transform-name.diff
Patch12: gcc4-ppc64-m32-m64-multilib-only.patch
-Patch15: pr21041.diff
Patch23: libjava-no-multilib.diff
Patch24: tls-no-direct.diff
Patch37: pr20425.patch
@@ -136,7 +135,6 @@
%if !%{build_nof}
%patch12
%endif
-%patch15
%patch23
%patch24
%patch37
@@ -370,6 +368,8 @@
/usr/share/icecream-envs
%changelog -n cross-hppa-gcc-icecream-backend
+* Thu May 25 2006 - rguenther(a)suse.de
+- Update to 4.1.1 release.
* Wed May 17 2006 - rguenther(a)suse.de
- Update to gcc-4_1-branch head.
* Mon May 15 2006 - rguenther(a)suse.de
cross-i386-gcc-icecream-backend.spec: same change
cross-ia64-gcc-icecream-backend.spec: same change
cross-ppc-gcc-icecream-backend.spec: same change
cross-ppc64-gcc-icecream-backend.spec: same change
cross-s390-gcc-icecream-backend.spec: same change
cross-s390x-gcc-icecream-backend.spec: same change
cross-x86_64-gcc-icecream-backend.spec: same change
++++++ gcc.spec ++++++
--- /var/tmp/diff_new_pack.Q48q9h/_old 2006-05-26 12:50:41.000000000 +0200
+++ /var/tmp/diff_new_pack.Q48q9h/_new 2006-05-26 12:50:41.000000000 +0200
@@ -85,7 +85,7 @@
URL: http://gcc.gnu.org/
License: GPL
Version: 4.1.1
-Release: 3
+Release: 4
%define gcc_version %(echo %version | sed 's/_.*//')
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
%if %{gcc_for_opt}
@@ -113,7 +113,6 @@
Patch9: endless-loop-warning.patch
Patch10: program-transform-name.diff
Patch12: gcc4-ppc64-m32-m64-multilib-only.patch
-Patch15: pr21041.diff
Patch23: libjava-no-multilib.diff
Patch24: tls-no-direct.diff
Patch37: pr20425.patch
@@ -172,7 +171,6 @@
Group: Development/Languages/C and C++
Autoreqprov: on
Requires: gcc = %{version}-%{release}
-Requires: libstdc++ = %{version}-%{release}
Requires: libstdc++-devel = %{version}-%{release}
Provides: c++_compiler
@@ -185,7 +183,7 @@
Summary: Include Files and Libraries mandatory for Development
Group: System/Libraries
Autoreqprov: on
-Requires: libstdc++ = %{version}-%{release}
+Requires: libstdc++ >= %{version}-%{release}
Requires: gcc
Requires: glibc-devel
%ifarch ia64
@@ -204,7 +202,7 @@
Summary: Include Files and Libraries mandatory for Development
Group: System/Libraries
Autoreqprov: on
-Requires: libstdc++-64bit = %{version}-%{release}
+Requires: libstdc++-64bit >= %{version}-%{release}
Requires: gcc
%description -n libstdc++-devel-64bit
@@ -311,7 +309,7 @@
Group: Development/Languages/Other
Autoreqprov: on
Requires: gcc = %{version}-%{release}
-Requires: libobjc = %{version}-%{release}
+Requires: libobjc >= %{version}-%{release}
%description objc
This package contains the GNU Objective C compiler. Objective C is an
@@ -334,7 +332,7 @@
Group: Development/Languages/Other
Autoreqprov: on
Requires: gcc = %{version}-%{release}
-Requires: libobjc-64bit = %{version}-%{release}
+Requires: libobjc-64bit >= %{version}-%{release}
%description objc-64bit
This is a re-packaged binary rpm. For the package source, please look
@@ -377,7 +375,6 @@
Group: Development/Languages/Java
Autoreqprov: on
Requires: gcc = %{version}-%{release}
-Requires: libgcj = %{version}-%{release}
Requires: libgcj-devel = %{version}-%{release}
%description java
@@ -401,7 +398,7 @@
Group: Development/Libraries/Java
Autoreqprov: on
Requires: libstdc++-devel = %{version}-%{release}
-Requires: libgcj = %{version}-%{release}
+Requires: libgcj >= %{version}-%{release}
Requires: gtk2-devel
Requires: libart_lgpl-devel
Requires: glibc-devel
@@ -559,7 +556,6 @@
%if !%{build_nof}
%patch12
%endif
-%patch15
%patch23
%patch24
%patch37
@@ -1706,6 +1702,8 @@
%endif
%changelog -n gcc
+* Thu May 25 2006 - rguenther(a)suse.de
+- Update to 4.1.1 release.
* Wed May 17 2006 - rguenther(a)suse.de
- Update to gcc-4_1-branch head.
* Mon May 15 2006 - rguenther(a)suse.de
++++++ gcc-4.1.1.tar.bz2 ++++++
gcc/gcc-4.1.1.tar.bz2 gcc/gcc-4.1.1.tar.bz2 differ: char 11, line 1
++++++ gcc.spec.in ++++++
--- gcc/gcc.spec.in 2006-05-17 12:57:37.000000000 +0200
+++ gcc/gcc.spec.in 2006-05-25 22:39:13.000000000 +0200
@@ -131,7 +131,6 @@
Patch9: endless-loop-warning.patch
Patch10: program-transform-name.diff
Patch12: gcc4-ppc64-m32-m64-multilib-only.patch
-Patch15: pr21041.diff
Patch23: libjava-no-multilib.diff
Patch24: tls-no-direct.diff
Patch37: pr20425.patch
@@ -181,7 +180,6 @@
Group: Development/Languages/C and C++
Autoreqprov: on
Requires: gcc@gcc_suffix@ = %{version}-%{release}
-Requires: libstdc++@gcc_suffix@ = %{version}-%{release}
Requires: libstdc++-devel@gcc_suffix@ = %{version}-%{release}
Provides: c++_compiler
@@ -193,7 +191,7 @@
Summary: Include Files and Libraries mandatory for Development
Group: System/Libraries
Autoreqprov: on
-Requires: libstdc++@gcc_suffix@ = %{version}-%{release}
+Requires: libstdc++@gcc_suffix@ >= %{version}-%{release}
Requires: gcc@gcc_suffix@
Requires: glibc-devel
%ifarch ia64
@@ -211,7 +209,7 @@
Summary: Include Files and Libraries mandatory for Development (64 bit)
Group: System/Libraries
Autoreqprov: on
-Requires: libstdc++@gcc_suffix@-64bit = %{version}-%{release}
+Requires: libstdc++@gcc_suffix@-64bit >= %{version}-%{release}
Requires: gcc@gcc_suffix@
%description -n libstdc++-devel@gcc_suffix@-64bit
@@ -284,7 +282,7 @@
Group: Development/Languages/Other
Autoreqprov: on
Requires: gcc@gcc_suffix@ = %{version}-%{release}
-Requires: libobjc@gcc_suffix@ = %{version}-%{release}
+Requires: libobjc@gcc_suffix@ >= %{version}-%{release}
%description objc
This package contains the GNU Objective C compiler. Objective C is an
@@ -305,7 +303,7 @@
Group: Development/Languages/Other
Autoreqprov: on
Requires: gcc@gcc_suffix@ = %{version}-%{release}
-Requires: libobjc@gcc_suffix@-64bit = %{version}-%{release}
+Requires: libobjc@gcc_suffix@-64bit >= %{version}-%{release}
%description objc-64bit
This package contains the GNU Objective C compiler. Objective C is an
@@ -335,7 +333,6 @@
Group: Development/Languages/Java
Autoreqprov: on
Requires: gcc@gcc_suffix@ = %{version}-%{release}
-Requires: libgcj@gcc_suffix@ = %{version}-%{release}
Requires: libgcj-devel@gcc_suffix@ = %{version}-%{release}
%description java
@@ -357,7 +354,7 @@
Group: Development/Libraries/Java
Autoreqprov: on
Requires: libstdc++-devel@gcc_suffix@ = %{version}-%{release}
-Requires: libgcj@gcc_suffix@ = %{version}-%{release}
+Requires: libgcj@gcc_suffix@ >= %{version}-%{release}
Requires: gtk2-devel
Requires: libart_lgpl-devel
Requires: glibc-devel
@@ -491,7 +488,6 @@
%if !%{build_nof}
%patch12
%endif
-%patch15
%patch23
%patch24
%patch37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package evolution-data-server
checked in at Fri May 26 12:49:58 CEST 2006.
--------
--- GNOME/evolution-data-server/evolution-data-server.changes 2006-05-23 05:59:28.000000000 +0200
+++ evolution-data-server/evolution-data-server.changes 2006-05-25 09:24:08.000000000 +0200
@@ -1,0 +2,6 @@
+Thu May 25 09:22:49 CEST 2006 - sragavan(a)novell.com
+
+- Fixes (bnc)
+ 176615 - Added a new camel stream vfs for saving to remote shares.
+
+-------------------------------------------------------------------
New:
----
camel-vfs-stream.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ evolution-data-server.spec ++++++
--- /var/tmp/diff_new_pack.PqMvXE/_old 2006-05-26 12:48:57.000000000 +0200
+++ /var/tmp/diff_new_pack.PqMvXE/_new 2006-05-26 12:48:57.000000000 +0200
@@ -18,7 +18,7 @@
Autoreqprov: on
Summary: Evolution Data Server
Version: 1.6.0
-Release: 50
+Release: 51
Source: ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/1.6/%{name}-%{v…
#Patch3: evolution-data-server-gcc4.patch
Patch5: evolution-data-server-configure.patch
@@ -88,6 +88,7 @@
Patch67: imap-locking.patch
Patch68: bnc-177394.patch
Patch69: eds-updated-translations.diff
+Patch70: camel-vfs-stream.diff
Url: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libsoup >= 2.2.6 mozilla-nss
@@ -187,6 +188,7 @@
%patch67
%patch68
%patch69
+%patch70
%build
rename no nb po/no.*
@@ -237,6 +239,9 @@
%{prefix}/share/gtk-doc/html/*
%changelog -n evolution-data-server
+* Thu May 25 2006 - sragavan(a)novell.com
+- Fixes (bnc)
+ 176615 - Added a new camel stream vfs for saving to remote shares.
* Tue May 23 2006 - sragavan(a)novell.com
- Updated translations (Srini)
* Mon May 22 2006 - fejj(a)suse.de
++++++ camel-vfs-stream.diff ++++++
--- configure.in.old 2006-05-23 07:34:48.254719640 +0200
+++ configure.in 2006-05-23 07:35:07.050359111 +0200
@@ -1199,7 +1199,7 @@
AC_MSG_ERROR([*** zlib is required])
fi
-EVO_SET_COMPILE_FLAGS(CAMEL, gthread-2.0 gmodule-2.0 gobject-2.0 $mozilla_nss,
+EVO_SET_COMPILE_FLAGS(CAMEL, gthread-2.0 gmodule-2.0 gobject-2.0 $mozilla_nss gnome-vfs-2.0,
$THREADS_CFLAGS $KRB4_CFLAGS $KRB5_CFLAGS $MANUAL_NSS_CFLAGS,
-lz $THREADS_LIBS $KRB4_LDFLAGS $KRB5_LDFLAGS $MANUAL_NSS_LIBS)
AC_SUBST(CAMEL_CFLAGS)
Index: camel/Makefile.am
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/Makefile.am,v
retrieving revision 1.213
diff -u -p -r1.213 Makefile.am
--- camel/Makefile.am 4 Jan 2006 23:47:07 -0000 1.213
+++ camel/Makefile.am 23 May 2006 03:54:24 -0000
@@ -201,6 +201,7 @@ libcamel_1_2_la_SOURCES = \
camel-stream-fs.c \
camel-stream-mem.c \
camel-stream-null.c \
+ camel-stream-vfs.c \
camel-stream.c \
camel-string-utils.c \
camel-text-index.c \
@@ -270,6 +271,7 @@ libcamelinclude_HEADERS = \
camel-stream-mem.h \
camel-stream-null.h \
camel-stream-process.h \
+ camel-stream-vfs.h \
camel-stream.h \
camel-string-utils.h \
camel-text-index.h \
--- /dev/null 2006-04-26 01:42:37.000000000 +0530
+++ camel/camel-stream-vfs.c 2006-05-18 16:42:45.000000000 +0530
@@ -0,0 +1,281 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/* camel-stream-vfs.c : file system based stream */
+
+/*
+ * Authors: Srinivasa Ragavan <sragavan(a)novell.com>
+ *
+ * Copyright 2006 Novell, Inc. (www.novell.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU Lesser General Public
+ * License as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <errno.h>
+#include <string.h>
+
+#include <glib/gstdio.h>
+
+#include "camel-file-utils.h"
+#include "camel-operation.h"
+#include "camel-private.h"
+#include "camel-stream-vfs.h"
+
+static CamelSeekableStreamClass *parent_class = NULL;
+
+/* Returns the class for a CamelStreamVFS */
+#define CSVFS_CLASS(so) CAMEL_STREAM_VFS_CLASS (CAMEL_OBJECT_GET_CLASS(so))
+
+static ssize_t stream_read (CamelStream *stream, char *buffer, size_t n);
+static ssize_t stream_write (CamelStream *stream, const char *buffer, size_t n);
+/* static int stream_flush (CamelStream *stream); */
+static int stream_close (CamelStream *stream);
+static off_t stream_seek (CamelSeekableStream *stream, off_t offset,
+ CamelStreamSeekPolicy policy);
+
+static void
+camel_stream_vfs_class_init (CamelStreamVFSClass *camel_stream_vfs_class)
+{
+ CamelSeekableStreamClass *camel_seekable_stream_class =
+ CAMEL_SEEKABLE_STREAM_CLASS (camel_stream_vfs_class);
+ CamelStreamClass *camel_stream_class =
+ CAMEL_STREAM_CLASS (camel_stream_vfs_class);
+
+ parent_class = CAMEL_SEEKABLE_STREAM_CLASS (camel_type_get_global_classfuncs (camel_seekable_stream_get_type ()));
+
+ /* virtual method overload */
+ camel_stream_class->read = stream_read;
+ camel_stream_class->write = stream_write;
+/* camel_stream_class->flush = stream_flush; */
+ camel_stream_class->close = stream_close;
+
+ camel_seekable_stream_class->seek = stream_seek;
+}
+
+static void
+camel_stream_vfs_init (gpointer object, gpointer klass)
+{
+ CamelStreamVFS *stream = CAMEL_STREAM_VFS (object);
+
+ stream->handle = (gpointer) -1;
+ ((CamelSeekableStream *)stream)->bound_end = CAMEL_STREAM_UNBOUND;
+}
+
+static void
+camel_stream_vfs_finalize (CamelObject *object)
+{
+ CamelStreamVFS *stream_vfs = CAMEL_STREAM_VFS (object);
+
+ if (stream_vfs->handle != -1)
+ close (stream_vfs->handle);
+}
+
+
+CamelType
+camel_stream_vfs_get_type (void)
+{
+ static CamelType camel_stream_vfs_type = CAMEL_INVALID_TYPE;
+
+ if (camel_stream_vfs_type == CAMEL_INVALID_TYPE) {
+ camel_stream_vfs_type = camel_type_register (camel_seekable_stream_get_type (), "CamelStreamVFS",
+ sizeof (CamelStreamVFS),
+ sizeof (CamelStreamVFSClass),
+ (CamelObjectClassInitFunc) camel_stream_vfs_class_init,
+ NULL,
+ (CamelObjectInitFunc) camel_stream_vfs_init,
+ (CamelObjectFinalizeFunc) camel_stream_vfs_finalize);
+ }
+
+ return camel_stream_vfs_type;
+}
+
+/**
+ * camel_stream_vfs_new_with_handle:
+ * @handle: a GnomeVFS handle
+ *
+ * Creates a new fs stream using the given GnomeVFS handle @handle as the
+ * backing store. When the stream is destroyed, the file descriptor
+ * will be closed.
+ *
+ * Returns a new #CamelStreamVFS
+ **/
+CamelStream *
+camel_stream_vfs_new_with_handle (GnomeVFSHandle *handle)
+{
+ CamelStreamVFS *stream_vfs;
+ off_t offset;
+ GnomeVFSResult result;
+
+ if (!handle)
+ return NULL;
+
+ stream_vfs = CAMEL_STREAM_VFS (camel_object_new (camel_stream_vfs_get_type ()));
+ stream_vfs->handle = handle;
+ gnome_vfs_seek (handle, GNOME_VFS_SEEK_CURRENT, 0);
+ offset = 0;
+ CAMEL_SEEKABLE_STREAM (stream_vfs)->position = offset;
+
+ return CAMEL_STREAM (stream_vfs);
+}
+
+/**
+ * camel_stream_vfs_new_with_uri:
+ * @name: a file uri
+ * @flags: flags as in open(2)
+ * @mode: a file mode
+ *
+ * Creates a new #CamelStreamVFS corresponding to the named file, flags,
+ * and mode.
+ *
+ * Returns the new stream, or %NULL on error.
+ **/
+CamelStream *
+camel_stream_vfs_new_with_uri (const char *name, int flags, mode_t mode)
+{
+ GnomeVFSResult result;
+ GnomeVFSHandle *handle;
+ int vfs_flag;
+
+ if (flags & O_WRONLY)
+ vfs_flag = vfs_flag | GNOME_VFS_OPEN_WRITE;
+ if (flags & O_RDONLY)
+ vfs_flag = vfs_flag | GNOME_VFS_OPEN_READ;
+ if (flags & O_RDWR)
+ vfs_flag = vfs_flag | GNOME_VFS_OPEN_READ |GNOME_VFS_OPEN_WRITE;
+
+ if (flags & O_CREAT)
+ result = gnome_vfs_create (&handle, name, vfs_flag, flags & O_TRUNC, mode);
+ else
+ result = gnome_vfs_open (&handle, name, vfs_flag);
+
+ if (result != GNOME_VFS_OK) {
+ return NULL;
+ }
+
+ return camel_stream_vfs_new_with_handle (handle);
+}
+
+static ssize_t
+stream_read (CamelStream *stream, char *buffer, size_t n)
+{
+ CamelStreamVFS *stream_vfs = CAMEL_STREAM_VFS (stream);
+ CamelSeekableStream *seekable = CAMEL_SEEKABLE_STREAM (stream);
+ ssize_t nread = 0;
+ GnomeVFSResult result;
+
+ if (seekable->bound_end != CAMEL_STREAM_UNBOUND)
+ n = MIN (seekable->bound_end - seekable->position, n);
+
+ result = gnome_vfs_read (stream_vfs->handle, buffer, n, &nread);
+
+ if (nread > 0 && result == GNOME_VFS_OK)
+ seekable->position += nread;
+ else if (nread == 0)
+ stream->eos = TRUE;
+
+ return nread;
+}
+
+static ssize_t
+stream_write (CamelStream *stream, const char *buffer, size_t n)
+{
+ CamelStreamVFS *stream_vfs = CAMEL_STREAM_VFS (stream);
+ CamelSeekableStream *seekable = CAMEL_SEEKABLE_STREAM (stream);
+ ssize_t nwritten = 0;
+ GnomeVFSResult result;
+
+ if (seekable->bound_end != CAMEL_STREAM_UNBOUND)
+ n = MIN (seekable->bound_end - seekable->position, n);
+
+ result = gnome_vfs_write (stream_vfs->handle, buffer, n, &nwritten);
+
+ if (nwritten > 0 && result == GNOME_VFS_OK)
+ seekable->position += nwritten;
+
+ return nwritten;
+}
+
+/* static int */
+/* stream_flush (CamelStream *stream) */
+/* { */
+/* return fsync(((CamelStreamVFS *)stream)->handle); */
+/* } */
+
+static int
+stream_close (CamelStream *stream)
+{
+ GnomeVFSResult result;
+
+ result = gnome_vfs_close(((CamelStreamVFS *)stream)->handle);
+
+ if (result != GNOME_VFS_OK)
+ return -1;
+
+ ((CamelStreamVFS *)stream)->handle = NULL;
+ return 0;
+}
+
+static off_t
+stream_seek (CamelSeekableStream *stream, off_t offset, CamelStreamSeekPolicy policy)
+{
+ CamelStreamVFS *stream_vfs = CAMEL_STREAM_VFS (stream);
+ off_t real = 0;
+ GnomeVFSResult result;
+ GnomeVFSHandle *handle = stream_vfs->handle;
+
+ switch (policy) {
+ case CAMEL_STREAM_SET:
+ real = offset;
+ break;
+ case CAMEL_STREAM_CUR:
+ real = stream->position + offset;
+ break;
+ case CAMEL_STREAM_END:
+ if (stream->bound_end == CAMEL_STREAM_UNBOUND) {
+ result = gnome_vfs_seek (handle, GNOME_VFS_SEEK_END, offset);
+ if (result != GNOME_VFS_OK)
+ return -1;
+ gnome_vfs_tell (handle, &real);
+ if (real != -1) {
+ if (real<stream->bound_start)
+ real = stream->bound_start;
+ stream->position = real;
+ }
+ return real;
+ }
+ real = stream->bound_end + offset;
+ break;
+ }
+
+ if (stream->bound_end != CAMEL_STREAM_UNBOUND)
+ real = MIN (real, stream->bound_end);
+ real = MAX (real, stream->bound_start);
+
+ result = gnome_vfs_seek (handle, GNOME_VFS_SEEK_START, real);
+ if (result != GNOME_VFS_OK)
+ return -1;
+
+ if (real != stream->position && ((CamelStream *)stream)->eos)
+ ((CamelStream *)stream)->eos = FALSE;
+
+ stream->position = real;
+
+ return real;
+}
--- /dev/null 2006-04-26 01:42:37.000000000 +0530
+++ camel/camel-stream-vfs.h 2006-05-18 16:41:12.000000000 +0530
@@ -0,0 +1,72 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/* camel-stream-vfs.h :stream based on unix filesystem */
+
+/*
+ * Author:
+ * Srinivasa Ragavan <sragavan(a)novell.com>
+ *
+ * Copyright 2006 Novell, Inc. (www.novell.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU Lesser General Public
+ * License as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+
+#ifndef CAMEL_STREAM_VFS_H
+#define CAMEL_STREAM_VFS_H 1
+
+
+#ifdef __cplusplus
+extern "C" {
+#pragma }
+#endif /* __cplusplus */
+
+/* for open flags */
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <libgnomevfs/gnome-vfs.h>
+
+#include <camel/camel-seekable-stream.h>
+
+#define CAMEL_STREAM_VFS_TYPE (camel_stream_vfs_get_type ())
+#define CAMEL_STREAM_VFS(obj) (CAMEL_CHECK_CAST((obj), CAMEL_STREAM_VFS_TYPE, CamelStreamVFS))
+#define CAMEL_STREAM_VFS_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_STREAM_VFS_TYPE, CamelStreamVFSClass))
+#define CAMEL_IS_STREAM_VFS(o) (CAMEL_CHECK_TYPE((o), CAMEL_STREAM_VFS_TYPE))
+
+typedef struct _CamelStreamVFS CamelStreamVFS;
+
+struct _CamelStreamVFS {
+ CamelSeekableStream parent_object;
+
+ GnomeVFSHandle *handle;
+};
+
+typedef struct {
+ CamelSeekableStreamClass parent_class;
+
+} CamelStreamVFSClass;
+
+/* Standard Camel function */
+CamelType camel_stream_vfs_get_type (void);
+
+/* public methods */
+CamelStream * camel_stream_vfs_new_with_uri (const char *uri, int flags, mode_t mode);
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* CAMEL_STREAM_VFS_H */
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package evolution
checked in at Fri May 26 12:48:48 CEST 2006.
--------
--- GNOME/evolution/evolution.changes 2006-05-23 15:40:56.000000000 +0200
+++ evolution/evolution.changes 2006-05-25 09:29:24.000000000 +0200
@@ -1,0 +2,6 @@
+Thu May 25 09:27:50 CEST 2006 - sragavan(a)novell.com
+
+- Fixes (bnc)
+ 176615 - Added support for remote shares
+
+-------------------------------------------------------------------
New:
----
bnc-176615-gnome-vfs-samba.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ evolution.spec ++++++
--- /var/tmp/diff_new_pack.6hHZ0P/_old 2006-05-26 12:47:36.000000000 +0200
+++ /var/tmp/diff_new_pack.6hHZ0P/_new 2006-05-26 12:47:36.000000000 +0200
@@ -21,7 +21,7 @@
Autoreqprov: on
Obsoletes: bonobo-conf
Version: 2.6.0
-Release: 54
+Release: 55
Summary: The Integrated GNOME Mail, Calendar, and Address Book Suite
Source: ftp://ftp.gnome.org/pub/gnome/sources/evolution/2.6/%{name}-%{version}.tar.…
Source1: summerdance-about2.png
@@ -99,6 +99,7 @@
Patch80: bnc-176714-open-attachments-dbl-click.diff
Patch81: evo-updated-translations.diff
Patch82: evolution-cs.patch
+Patch83: bnc-176615-gnome-vfs-samba.diff
URL: http://gnome.org/projects/evolution/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: filesystem gconf2 shared-mime-info
@@ -385,6 +386,7 @@
%patch80
%patch81
%patch82
+%patch83
%build
rename no nb po/no.*
@@ -506,6 +508,9 @@
%{prefix}/share/gnome-pilot/conduits/*.conduit
%changelog -n evolution
+* Thu May 25 2006 - sragavan(a)novell.com
+- Fixes (bnc)
+ 176615 - Added support for remote shares
* Tue May 23 2006 - sbrabec(a)suse.cz
- Czech typo fix.
* Mon May 22 2006 - sragavan(a)novell.com
++++++ bnc-176615-gnome-vfs-samba.diff ++++++
++++ 749 lines (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package dovecot
checked in at Fri May 26 12:46:35 CEST 2006.
--------
--- dovecot/dovecot.changes 2006-05-16 19:01:21.000000000 +0200
+++ dovecot/dovecot.changes 2006-05-25 08:52:52.000000000 +0200
@@ -1,0 +2,39 @@
+Thu May 25 08:18:17 CEST 2006 - mrueckert(a)suse.de
+
+- Update to 1.0.beta8:
+ * Fixed a security hole with mbox: "1 LIST .. *" command could
+ list all directories and files under the mbox root directory, so
+ if your mails were stored in eg. /var/mail/%u/ directory, the
+ command would list everything under /var/mail.
+
+ + Unless nfs_check=no or mmap_disable=yes, check for the first login
+ if the user's index directory exists in NFS mount. If so, refuse to
+ run. This is done only on first login to avoid constant extra
+ overhead.
+ + If we have plugins set and imap_capability unset, figure out the
+ IMAP capabilities automatically by running imap binary at startup.
+ The generated capability list isn't updated until Dovecot is
+ restarted completely, so if you add or remove IMAP plugins you
+ should restart. If you have problems related to this, set
+ imap_capabilities setting manually to work around it.
+ + Added auth_username_format setting
+ - pop3_lock_session setting wasn't really working
+ - Lots of fixes related to quota handling. It's still not working
+ perfectly though.
+ - Lots of index handling fixes, especially with mmap_disable=yes
+ - Maildir: saving mails could have sometimes caused "Append with UID
+ n, but next_uid = m" errors
+ - flock() locking never timeouted because ignoring SIGALRM caused the
+ system call just to be restarted when SIGALRM occurred (probably not
+ with all OSes though?)
+ - kqueue: Fixed "Unrecognized event". Patch by Vaclav Haisman
+
+- removed dovecot-1.0.beta7_directory-traversal.patch:
+ the patch is included in 1.0.beta8
+- dovecot-1.0.beta3_indexfixes.patch: included in beta8
+- replaced dovecot-1.0.beta1_pie.patch with
+ dovecot-1.0.beta6_pie.patch: rediff for new version
+- no longer use %{_libdir}/dovecot as libexecdir. We use
+ %{_prefix}/lib/dovecot now.
+
+-------------------------------------------------------------------
Old:
----
dovecot-1.0.beta1_pie.patch
dovecot-1.0.beta3.tar.bz2
dovecot-1.0.beta3_indexfixes.patch
dovecot-1.0.beta7_directory-traversal.patch
New:
----
dovecot-1.0.beta6_pie.patch
dovecot-1.0.beta8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dovecot.spec ++++++
--- /var/tmp/diff_new_pack.r9KoHd/_old 2006-05-26 12:45:44.000000000 +0200
+++ /var/tmp/diff_new_pack.r9KoHd/_new 2006-05-26 12:45:44.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package dovecot (Version 1.0.beta3)
+# spec file for package dovecot (Version 1.0.beta8)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,22 +11,24 @@
# norootforbuild
Name: dovecot
-BuildRequires: krb5-devel mysql-devel openldap2 openldap2-devel pam-devel pkgconfig postgresql-devel sqlite-devel
-Version: 1.0.beta3
-Release: 13
+Version: 1.0.beta8
+Release: 1
+#
Group: Productivity/Networking/Email/Servers
License: LGPL, X11/MIT
+#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: krb5-devel mysql-devel openldap2 openldap2-devel pam-devel pkgconfig postgresql-devel sqlite-devel
Prereq: /usr/sbin/useradd, /usr/sbin/usermod, /usr/sbin/groupadd
+#
URL: http://www.dovecot.org
-Source: http://www.dovecot.org/test/%{name}-%{version}.tar.bz2
+Source: http://www.dovecot.org/test/%{name}-%{version}.tar.gz
Source1: dovecot-lda.tar.bz2
Source2: %{name}.init
Source3: %{name}.pam
Source4: %{name}.README.SuSE
-Patch1: dovecot-1.0.beta3_indexfixes.patch
-Patch2: dovecot-1.0.beta7_directory-traversal.patch
-Patch9: dovecot-1.0.beta1_pie.patch
+Patch9: dovecot-1.0.beta6_pie.patch
+#
Summary: IMAP and POP3 Server Written Primarily with Security in Mind
%description
@@ -46,8 +48,6 @@
%prep
%setup -a 1
-%patch1
-%patch2
%patch9
%{__sed} -i -e 's|#ssl_disable = no|ssl_disable = yes|' %{name}-example.conf
%{__sed} -i -e 's|/usr/libexec|%{_libdir}|g' %{name}-example.conf
@@ -78,7 +78,7 @@
--with-prefetch-userdb \
--with-storages="maildir,mbox" \
--sysconfdir=%{_sysconfdir}/%{name} \
- --libexecdir=%{_libdir} \
+ --libexecdir=%{_prefix}/lib/ \
--with-moduledir=%{_libdir}/%{name}/modules
%{__make}
pushd dovecot-lda
@@ -86,7 +86,7 @@
%configure \
--with-dovecot=../ \
--sysconfdir=%{_sysconfdir}/%{name} \
- --libexecdir=%{_libdir} \
+ --libexecdir=%{_prefix}/lib/ \
--with-moduledir=%{_libdir}/%{name}/modules
%{__make}
popd
@@ -94,9 +94,8 @@
%install
%makeinstall docdir=%{_docdir}/%{name}
-pushd dovecot-lda
- %makeinstall docdir=%{_docdir}/%{name}
-popd
+
+%makeinstall -C dovecot-lda docdir=%{_docdir}/%{name}
find %{buildroot}%{_libdir}/%{name}/modules/ -type f -name \*.la -print0 | xargs -r0 rm -v
find %{buildroot}%{_libdir}/%{name}/modules/ -type f -name \*.a -print0 | xargs -r0 rm -v
%{__install} -m 0755 -d \
@@ -119,7 +118,7 @@
%{__install} -m 0644 dovecot-lda/ChangeLog %{buildroot}%{_docdir}/%{name}/ChangeLog.lda
# additional docs for the main package
%{__install} -m 0644 \
- ABOUT-NLS COPYING COPYING.MIT NEWS TODO AUTHORS COPYING.LGPL README ChangeLog \
+ COPYING COPYING.MIT NEWS TODO AUTHORS COPYING.LGPL README ChangeLog \
%{buildroot}%{_docdir}/%{name}/
%{__gzip} -9v %{buildroot}%{_docdir}/%{name}/ChangeLog
# install the init script
@@ -151,19 +150,21 @@
%dir %{_sysconfdir}/%{name}
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/%{name}/*
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
-%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/checkpassword-reply
-%{_libdir}/%{name}/dovecot-auth
-%{_libdir}/%{name}/rawlog
-%{_libdir}/%{name}/imap*
-%{_libdir}/%{name}/pop3*
-%{_libdir}/%{name}/deliver
-%{_libdir}/%{name}/dict
-%{_libdir}/%{name}/gdbhelper
-%{_libdir}/%{name}/ssl-build-param
+%dir %{_prefix}/lib/%{name}
+%{_prefix}/lib/%{name}/checkpassword-reply
+%{_prefix}/lib/%{name}/dovecot-auth
+%{_prefix}/lib/%{name}/rawlog
+%{_prefix}/lib/%{name}/imap*
+%{_prefix}/lib/%{name}/pop3*
+%{_prefix}/lib/%{name}/deliver
+%{_prefix}/lib/%{name}/dict
+%{_prefix}/lib/%{name}/gdbhelper
+%{_prefix}/lib/%{name}/ssl-build-param
+%{_prefix}/lib/%{name}/sievec
#
# plugins
#
+%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/modules/
%{_libdir}/%{name}/modules/lib01_quota_plugin.so
%{_libdir}/%{name}/modules/lib02_trash_plugin.so
@@ -180,6 +181,11 @@
%{_libdir}/%{name}/modules/lda/lib02_trash_plugin.so
%dir %{_libdir}/%{name}/modules/pop3
%{_libdir}/%{name}/modules/pop3/lib01_convert_plugin.so
+%{_libdir}/%{name}/modules/pop3/lib01_quota_plugin.so
+# acl plugin
+%{_libdir}/%{name}/modules/imap/lib01_acl_plugin.so
+%{_libdir}/%{name}/modules/lda/lib01_acl_plugin.so
+%{_libdir}/%{name}/modules/lib01_acl_plugin.so
#
# documentation
#
@@ -191,6 +197,40 @@
%dir %attr(0750, root, %{name}) %{_var}/run/%{name}/login
%changelog -n dovecot
+* Thu May 25 2006 - mrueckert(a)suse.de
+- Update to 1.0.beta8:
+ * Fixed a security hole with mbox: "1 LIST .. *" command could
+ list all directories and files under the mbox root directory, so
+ if your mails were stored in eg. /var/mail/%%u/ directory, the
+ command would list everything under /var/mail.
+ + Unless nfs_check=no or mmap_disable=yes, check for the first login
+ if the user's index directory exists in NFS mount. If so, refuse to
+ run. This is done only on first login to avoid constant extra
+ overhead.
+ + If we have plugins set and imap_capability unset, figure out the
+ IMAP capabilities automatically by running imap binary at startup.
+ The generated capability list isn't updated until Dovecot is
+ restarted completely, so if you add or remove IMAP plugins you
+ should restart. If you have problems related to this, set
+ imap_capabilities setting manually to work around it.
+ + Added auth_username_format setting
+- pop3_lock_session setting wasn't really working
+- Lots of fixes related to quota handling. It's still not working
+ perfectly though.
+- Lots of index handling fixes, especially with mmap_disable=yes
+- Maildir: saving mails could have sometimes caused "Append with UID
+ n, but next_uid = m" errors
+- flock() locking never timeouted because ignoring SIGALRM caused the
+ system call just to be restarted when SIGALRM occurred (probably not
+ with all OSes though?)
+- kqueue: Fixed "Unrecognized event". Patch by Vaclav Haisman
+- removed dovecot-1.0.beta7_directory-traversal.patch:
+ the patch is included in 1.0.beta8
+- dovecot-1.0.beta3_indexfixes.patch: included in beta8
+- replaced dovecot-1.0.beta1_pie.patch with
+ dovecot-1.0.beta6_pie.patch: rediff for new version
+- no longer use %%{_libdir}/dovecot as libexecdir. We use
+ %%{_prefix}/lib/dovecot now.
* Tue May 16 2006 - mrueckert(a)suse.de
- added dovecot-1.0.beta7_directory-traversal.patch:
Fix Mailbox names list disclosure with mboxes (#175188)
++++++ dovecot-1.0.beta1_pie.patch -> dovecot-1.0.beta6_pie.patch ++++++
--- dovecot/dovecot-1.0.beta1_pie.patch 2006-02-08 15:26:00.000000000 +0100
+++ dovecot/dovecot-1.0.beta6_pie.patch 2006-05-25 08:52:52.000000000 +0200
@@ -18,7 +18,7 @@
AC_ARG_ENABLE(debug,
[ --enable-debug Enable some extra checks for debugging],
if test x$enableval = xyes; then
-@@ -1640,6 +1649,30 @@
+@@ -1636,6 +1645,30 @@
STORAGE_LIBS="$STORAGE_LIBS $index_libs"
AC_SUBST(STORAGE_LIBS)
@@ -49,8 +49,9 @@
dnl **
dnl ** SQL drivers
dnl **
-@@ -1730,3 +1763,4 @@
- echo "Building with GSSAPI support ........ : $have_gssapi"
+@@ -1727,3 +1760,5 @@
echo "Building with user database modules . :$userdb"
echo "Building with password lookup modules :$passdb"
+ echo "Building with SQL drivers ............:$sql_drivers"
+echo "Building with PIE: $want_pie"
++
++++++ dovecot-lda.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/ChangeLog new/dovecot-lda/ChangeLog
--- old/dovecot-lda/ChangeLog 2006-02-08 17:04:54.000000000 +0100
+++ new/dovecot-lda/ChangeLog 2006-05-25 07:39:54.000000000 +0200
@@ -1,3 +1,94 @@
+2006-05-12 21:03 cras
+
+ * src/sieve-cmu.c: Don't log keeps.
+
+2006-05-12 21:00 cras
+
+ * src/: deliver.c, sieve-cmu.c: Do some more logging.
+
+2006-05-12 20:42 cras
+
+ * src/libsieve/: bc_emit.c, script.c, sievec.c: Replaced syslog()
+ calls with Dovecot's i_info/i_error calls
+
+2006-05-12 20:41 cras
+
+ * src/libsieve/: Makefile.am, sievec.c: Compile sievec binary.
+
+2006-05-12 20:24 cras
+
+ * src/: common.h, deliver.c, smtpclient.c: Added sendmail_path and
+ hostname settings.
+
+2006-05-12 20:19 cras
+
+ * src/deliver.c: If there's no log_path defined, log to syslog.
+ Just like other parts of Dovecot.
+
+2006-05-04 00:59 cras
+
+ * src/deliver.c: Use lib_signals_ignore() for SIGPIPE
+
+2006-04-28 15:53 cras
+
+ * src/deliver.c: Ignore SIGXFSZ signal if it exists. We don't want
+ to crash if some file is too large.
+
+2006-04-28 15:48 cras
+
+ * src/deliver.c: Remove all environment but TZ and HOME before
+ doing anything so the existing environment doesn't mess up
+ settings (especially MAIL).
+
+2006-04-21 15:32 cras
+
+ * src/Makefile.am: Link mountpoint.o manually to get
+ mountpoint_get() included into binary, so quota plugin can use
+ it.
+
+2006-04-20 18:17 cras
+
+ * src/deliver.c: Changed default socket to
+ /var/run/dovecot/auth-master again. Nowadays /var/run/dovecot is
+ world-rx so it's a better place for it.
+
+2006-04-13 21:47 cras
+
+ * src/libsieve/bc_emit.c: Commented out a debug syslog message,
+ which I've no idea why it would be useful ever..
+
+2006-04-13 21:46 cras
+
+ * src/deliver.c: Use syslog_facility setting
+
+2006-04-13 20:45 cras
+
+ * src/deliver.c: Unload modules after destroying storages
+
+2006-04-13 20:28 cras
+
+ * src/deliver.c: Use mail_plugins and mail_plugin_dir settings
+ inside protocol lda {}
+
+2006-04-13 20:16 cras
+
+ * src/deliver.c: Set also environments inside plugin { .. }
+
+2006-04-02 11:20 cras
+
+ * src/deliver.c: Use mail_storage_parse_env() to parse lock_method
+ and mail storage flags.
+
+2006-03-25 10:44 cras
+
+ * src/deliver.c: Getting sieve path from userdb wasn't working, it
+ was always overwritten by global sieve path.
+
+2006-03-21 10:15 cras
+
+ * src/deliver.c: Fixed to compile with latest Dovecot's module-dir
+ changes.
+
2006-02-08 17:00 cras
* src/duplicate.c: Fixed to work with dotlock changes
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/src/Makefile.am new/dovecot-lda/src/Makefile.am
--- old/dovecot-lda/src/Makefile.am 2006-01-12 15:32:50.000000000 +0100
+++ new/dovecot-lda/src/Makefile.am 2006-05-25 07:39:05.000000000 +0200
@@ -13,6 +13,11 @@
-I$(dovecotdir)/src/lib-storage/index/mbox \
-DSYSCONFDIR=\""$(sysconfdir)"\"
+# get some functions included which only plugins use. liblib should probably
+# be a shared library so this wouldn't be needed..
+unused_objects = \
+ $(dovecotdir)/src/lib/mountpoint.o
+
libs = \
libsieve/libsieve.a \
$(dovecotdir)/src/lib-storage/register/libstorage-register.a \
@@ -23,7 +28,8 @@
$(dovecotdir)/src/lib-mail/libmail.a \
$(dovecotdir)/src/lib-dict/libdict.a \
$(dovecotdir)/src/lib-charset/libcharset.a \
- $(dovecotdir)/src/lib/liblib.a
+ $(dovecotdir)/src/lib/liblib.a \
+ $(unused_objects)
deliver_LDADD = \
$(libs) \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/src/common.h new/dovecot-lda/src/common.h
--- old/dovecot-lda/src/common.h 2006-02-08 15:19:08.000000000 +0100
+++ new/dovecot-lda/src/common.h 2006-05-25 07:39:05.000000000 +0200
@@ -7,6 +7,7 @@
struct sieve_settings {
const char *hostname;
const char *postmaster_address;
+ const char *sendmail_path;
};
extern struct sieve_settings *sieve_set;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/src/deliver.c new/dovecot-lda/src/deliver.c
--- old/dovecot-lda/src/deliver.c 2006-02-08 15:19:08.000000000 +0100
+++ new/dovecot-lda/src/deliver.c 2006-05-25 07:39:05.000000000 +0200
@@ -34,7 +34,7 @@
#define SIEVE_SCRIPT_PATH "~/.dovecot.sieve"
#define DEFAULT_CONFIG_FILE SYSCONFDIR"/dovecot.conf"
-#define DEFAULT_AUTH_SOCKET_PATH "/var/run/dovecot-auth-master"
+#define DEFAULT_AUTH_SOCKET_PATH "/var/run/dovecot/auth-master"
/* After buffer grows larger than this, create a temporary file to /tmp
where to read the mail. */
@@ -337,7 +337,8 @@
value = p = strchr(line, '=');
if (value == NULL) {
if (strchr(line, '{') != NULL) {
- if (strcmp(line, "protocol lda {") == 0)
+ if (strcmp(line, "protocol lda {") == 0 ||
+ strcmp(line, "plugin {") == 0)
lda_section = TRUE;
sections++;
}
@@ -449,13 +450,18 @@
return input;
}
-static void open_logfile(void)
+static void open_logfile(const char *username)
{
- if (getenv("LOG_PATH") == NULL)
- i_set_failure_syslog("deliver", LOG_NDELAY, LOG_MAIL);
- else {
+ const char *prefix;
+
+ prefix = t_strdup_printf("deliver(%s)", username);
+ if (getenv("LOG_PATH") == NULL) {
+ const char *env = getenv("SYSLOG_FACILITY");
+ i_set_failure_syslog(prefix, LOG_NDELAY,
+ env == NULL ? LOG_MAIL : atoi(env));
+ } else {
/* log to file or stderr */
- i_set_failure_file(getenv("LOG_PATH"), "deliver");
+ i_set_failure_file(getenv("LOG_PATH"), prefix);
}
if (getenv("INFO_LOG_PATH") != NULL)
@@ -477,7 +483,6 @@
return NULL;
}
- script_path = home_expand(SIEVE_SCRIPT_PATH);
if (*script_path != '/' && *script_path != '\0') {
/* relative path. change to absolute. */
script_path = t_strconcat(getenv("HOME"), "/",
@@ -507,8 +512,8 @@
{
const char *config_path = DEFAULT_CONFIG_FILE;
const char *mailbox = "INBOX";
- const char *auth_socket;
- const char *home, *destination, *mail_env, *str, *script_path;
+ const char *auth_socket, *env_tz;
+ const char *home, *destination, *user, *mail_env, *str, *script_path;
const struct var_expand_table *table;
enum mail_storage_flags flags;
enum mail_storage_lock_method lock_method;
@@ -525,8 +530,20 @@
lib_signals_init();
lib_signals_set_handler(SIGINT, TRUE, sig_die, NULL);
lib_signals_set_handler(SIGTERM, TRUE, sig_die, NULL);
- lib_signals_set_handler(SIGPIPE, FALSE, NULL, NULL);
+ lib_signals_ignore(SIGPIPE);
lib_signals_set_handler(SIGALRM, FALSE, NULL, NULL);
+#ifdef SIGXFSZ
+ lib_signals_set_handler(SIGXFSZ, FALSE, NULL, NULL);
+#endif
+
+ /* Clean up environment. */
+ env_tz = getenv("TZ");
+ home = getenv("HOME");
+ env_clean();
+ if (env_tz != NULL)
+ env_put(t_strconcat("TZ=", env_tz, NULL));
+ if (home != NULL)
+ env_put(t_strconcat("HOME=", home, NULL));
destination = NULL;
for (i = 1; i < argc; i++) {
@@ -560,9 +577,26 @@
"Unknown argument: %s", argv[1]);
}
}
+ if (destination != NULL)
+ user = destination;
+ else if (geteuid() != 0) {
+ /* we're non-root. get our username. */
+ struct passwd *pw;
+
+ pw = getpwuid(geteuid());
+ if (pw != NULL)
+ user = t_strdup(pw->pw_name);
+ else {
+ i_fatal("Couldn't lookup our username (uid=%s)",
+ dec2str(geteuid()));
+ }
+ } else {
+ i_fatal_status(EX_USAGE,
+ "destination user parameter (-d user) not given");
+ }
config_file_init(config_path);
- open_logfile();
+ open_logfile(user);
if (destination != NULL) {
auth_socket = getenv("AUTH_SOCKET_PATH");
@@ -579,27 +613,22 @@
could be written. If it fails, don't worry. */
(void)chdir(home);
}
- } else if (geteuid() != 0) {
- /* we're non-root. get our username. */
- struct passwd *pw;
-
- pw = getpwuid(geteuid());
- if (pw != NULL)
- destination = t_strdup(pw->pw_name);
- }
-
- if (destination == NULL) {
- i_fatal_status(EX_USAGE,
- "destination user parameter (-d user) not given");
+ } else {
+ destination = user;
}
sieve_set = i_new(struct sieve_settings, 1);
- sieve_set->hostname = my_hostname; /* FIXME: configurable */
+ sieve_set->hostname = getenv("HOSTNAME");
+ if (sieve_set->hostname == NULL)
+ sieve_set->hostname = my_hostname;
sieve_set->postmaster_address = getenv("POSTMASTER_ADDRESS");
if (sieve_set->postmaster_address == NULL) {
i_fatal_status(EX_CONFIG,
"postmaster_address setting not given");
}
+ sieve_set->sendmail_path = getenv("SENDMAIL_PATH");
+ if (sieve_set->sendmail_path == NULL)
+ sieve_set->sendmail_path = "/usr/lib/sendmail";
dict_client_register();
mail_storage_init();
@@ -615,39 +644,24 @@
mail_env = expand_mail_env(mail_env, table);
}
- flags = 0;
- if (getenv("FULL_FILESYSTEM_ACCESS") != NULL)
- flags |= MAIL_STORAGE_FLAG_FULL_FS_ACCESS;
- if (getenv("DEBUG") != NULL)
- flags |= MAIL_STORAGE_FLAG_DEBUG;
- if (getenv("MMAP_DISABLE") != NULL)
- flags |= MAIL_STORAGE_FLAG_MMAP_DISABLE;
- if (getenv("MMAP_NO_WRITE") != NULL)
- flags |= MAIL_STORAGE_FLAG_MMAP_NO_WRITE;
- if (getenv("MAIL_READ_MMAPED") != NULL)
- flags |= MAIL_STORAGE_FLAG_MMAP_MAILS;
- if (getenv("MAIL_SAVE_CRLF") != NULL)
- flags |= MAIL_STORAGE_FLAG_SAVE_CRLF;
-
str = getenv("POP3_UIDL_FORMAT");
if (str != NULL && (str = strchr(str, '%')) != NULL &&
str != NULL && var_get_key(str + 1) == 'm')
flags |= MAIL_STORAGE_FLAG_KEEP_HEADER_MD5;
- str = getenv("LOCK_METHOD");
- if (str == NULL || strcmp(str, "flock") == 0)
- lock_method = MAIL_STORAGE_LOCK_FLOCK;
- else if (strcmp(str, "fcntl") == 0)
- lock_method = MAIL_STORAGE_LOCK_FCNTL;
- else if (strcmp(str, "dotlock") == 0)
- lock_method = MAIL_STORAGE_LOCK_DOTLOCK;
- else
- i_fatal("Unknown lock_method: %s", str);
-
- modules = getenv("MODULE_DIR") == NULL ? NULL :
- module_dir_load(getenv("MODULE_DIR"), TRUE);
+ if (getenv("MAIL_PLUGIN_DIR") == NULL)
+ modules = NULL;
+ else {
+ if (getenv("MAIL_PLUGIN_DIR") == NULL) {
+ i_fatal("MAIL_PLUGINS given but "
+ "MAIL_PLUGIN_DIR was not");
+ }
+ modules = module_dir_load(getenv("MAIL_PLUGIN_DIR"),
+ getenv("MAIL_PLUGINS"), TRUE);
+ }
/* FIXME: how should we handle namespaces? */
+ mail_storage_parse_env(&flags, &lock_method);
storage = mail_storage_create_with_data(mail_env, destination,
flags, lock_method);
if (storage == NULL) {
@@ -705,10 +719,11 @@
mailbox_close(&box);
duplicate_deinit();
- module_dir_unload(&modules);
mail_storage_destroy(&mbox_storage);
mail_storage_destroy(&storage);
- mail_storage_deinit();
+
+ module_dir_unload(&modules);
+ mail_storage_deinit();
dict_client_unregister();
lib_signals_deinit();
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/src/libsieve/Makefile.am new/dovecot-lda/src/libsieve/Makefile.am
--- old/dovecot-lda/src/libsieve/Makefile.am 2005-10-17 15:59:10.000000000 +0200
+++ new/dovecot-lda/src/libsieve/Makefile.am 2006-05-25 07:39:05.000000000 +0200
@@ -1,3 +1,7 @@
+pkglibexecdir = $(libexecdir)/dovecot
+
+pkglibexec_PROGRAMS = sievec
+
noinst_LIBRARIES = libsieve.a
AM_YFLAGS = -d -p $*
@@ -13,6 +17,15 @@
sieve-lex.c: sieve-lex.l
$(LEX) -t sieve-lex.l > sieve-lex.c
+sievec_SOURCES = \
+ sievec.c \
+ ../map.c \
+ ../imparse.c
+
+sievec_LDADD = \
+ libsieve.a \
+ $(dovecotdir)/src/lib/liblib.a
+
libsieve_a_SOURCES = \
addr.y \
sieve.y \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/src/libsieve/bc_emit.c new/dovecot-lda/src/libsieve/bc_emit.c
--- old/dovecot-lda/src/libsieve/bc_emit.c 2005-10-14 22:21:47.000000000 +0200
+++ new/dovecot-lda/src/libsieve/bc_emit.c 2006-05-25 07:39:05.000000000 +0200
@@ -1,7 +1,7 @@
/* bc_emit.c -- sieve bytecode - pass 2 of the compiler
* Rob Siemborski
* Jen Smith
- * $Id: bc_emit.c,v 1.2 2005/10/14 20:21:47 cras Exp $
+ * $Id: bc_emit.c,v 1.4 2006/05/12 18:42:29 cras Exp $
*/
/***********************************************************
Copyright 2001 by Carnegie Mellon University
@@ -36,7 +36,6 @@
#include "bytecode.h"
-#include <syslog.h>
#include <sys/types.h>
#include <unistd.h>
@@ -321,7 +320,7 @@
/*debugging variable to check filelen*/
/*int location;*/
- syslog(LOG_DEBUG, "entered bc_action_emit with filelen: %d", filelen);
+ /*syslog(LOG_DEBUG, "entered bc_action_emit with filelen: %d", filelen);*/
/* All non-string data MUST be sizeof(int)
byte alligned so the end of each string may require a pad */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/src/libsieve/script.c new/dovecot-lda/src/libsieve/script.c
--- old/dovecot-lda/src/libsieve/script.c 2005-10-15 15:31:26.000000000 +0200
+++ new/dovecot-lda/src/libsieve/script.c 2006-05-25 07:39:05.000000000 +0200
@@ -1,6 +1,6 @@
/* script.c -- sieve script functions
* Larry Greenfield
- * $Id: script.c,v 1.4 2005/10/15 13:31:26 cras Exp $
+ * $Id: script.c,v 1.5 2006/05/12 18:42:29 cras Exp $
*/
/***********************************************************
Copyright 1999 by Carnegie Mellon University
@@ -32,7 +32,6 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
-#include <syslog.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/src/libsieve/sievec.c new/dovecot-lda/src/libsieve/sievec.c
--- old/dovecot-lda/src/libsieve/sievec.c 2005-03-29 20:37:59.000000000 +0200
+++ new/dovecot-lda/src/libsieve/sievec.c 2006-05-25 07:39:05.000000000 +0200
@@ -1,6 +1,6 @@
/* sievec.c -- compile a sieve script to bytecode manually
* Rob Siemborski
- * $Id: sievec.c,v 1.1.1.1 2005/03/29 18:37:59 cras Exp $
+ * $Id: sievec.c,v 1.3 2006/05/12 18:42:29 cras Exp $
*/
/*
* Copyright (c) 1999-2000 Carnegie Mellon University. All rights reserved.
@@ -48,7 +48,6 @@
#endif
#include "sieve_interface.h"
-#include <syslog.h>
#include "libconfig.h"
#include "xmalloc.h"
@@ -63,8 +62,7 @@
#include <sys/stat.h>
#include <fcntl.h>
-/* config.c stuff */
-const int config_need_data = 0;
+struct et_list *_et_list = NULL;
int is_script_parsable(FILE *stream, char **errstr, sieve_script_t **ret);
@@ -78,20 +76,16 @@
sieve_script_t *s;
bytecode_info_t *bc;
int c, fd, usage_error = 0;
- char *alt_config = NULL;
while ((c = getopt(argc, argv, "C:")) != EOF)
switch (c) {
- case 'C': /* alt config file */
- alt_config = optarg;
- break;
default:
usage_error = 1;
break;
}
if (usage_error || (argc - optind) < 2) {
- printf("Syntax: %s [-C <altconfig>] <filename> <outputfile>\n",
+ printf("Syntax: %s <filename> <outputfile>\n",
argv[0]);
exit(1);
}
@@ -102,9 +96,6 @@
exit(1);
}
- /* Load configuration file. */
- config_read(alt_config);
-
if(is_script_parsable(instream, &err, &s) == TIMSIEVE_FAIL) {
if(err) {
printf("Unable to parse script: %s\n", err);
@@ -140,9 +131,9 @@
}
/* to make larry's stupid functions happy :) */
-void foo(void)
+static void foo(void)
{
- fatal("stub function called", 0);
+ i_fatal("stub function called");
}
sieve_vacation_t vacation = {
0, /* min response */
@@ -157,30 +148,24 @@
void *message_context __attribute__((unused)),
const char **errmsg __attribute__((unused)))
{
- fatal("stub function called", 0);
+ i_fatal("stub function called");
return SIEVE_FAIL;
}
-int mysieve_error(int lineno, const char *msg,
- void *i __attribute__((unused)), void *s)
+static int mysieve_error(int lineno, const char *msg,
+ void *i __attribute__((unused)), void *s)
{
char buf[1024];
char **errstr = (char **) s;
snprintf(buf, 80, "line %d: %s\r\n", lineno, msg);
*errstr = xrealloc(*errstr, strlen(*errstr) + strlen(buf) + 30);
- syslog(LOG_DEBUG, "%s", buf);
+ i_info("%s", buf);
strcat(*errstr, buf);
return SIEVE_OK;
}
-void fatal(const char *s, int code)
-{
- printf("Fatal error: %s (%d)\r\n", s, code);
-
- exit(1);
-}
/* end the boilerplate */
/* returns TRUE or FALSE */
@@ -192,75 +177,75 @@
res = sieve_interp_alloc(&i, NULL);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_interp_alloc() returns %d\n", res);
+ i_error("sieve_interp_alloc() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_redirect(i, (sieve_callback *) &foo);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_redirect() returns %d\n", res);
+ i_error("sieve_register_redirect() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_discard(i, (sieve_callback *) &foo);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_discard() returns %d\n", res);
+ i_error("sieve_register_discard() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_reject(i, (sieve_callback *) &foo);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_reject() returns %d\n", res);
+ i_error("sieve_register_reject() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_fileinto(i, (sieve_callback *) &foo);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_fileinto() returns %d\n", res);
+ i_error("sieve_register_fileinto() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_keep(i, (sieve_callback *) &foo);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_keep() returns %d\n", res);
+ i_error("sieve_register_keep() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_imapflags(i, NULL);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_imapflags() returns %d\n", res);
+ i_error("sieve_register_imapflags() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_size(i, (sieve_get_size *) &foo);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_size() returns %d\n", res);
+ i_error("sieve_register_size() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_header(i, (sieve_get_header *) &foo);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_header() returns %d\n", res);
+ i_error("sieve_register_header() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_envelope(i, (sieve_get_envelope *) &foo);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_envelope() returns %d\n", res);
+ i_error("sieve_register_envelope() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_vacation(i, &vacation);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_vacation() returns %d\n", res);
+ i_error("sieve_register_vacation() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_notify(i, &sieve_notify);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_notify() returns %d\n", res);
+ i_error("sieve_register_notify() returns %d\n", res);
return TIMSIEVE_FAIL;
}
res = sieve_register_parse_error(i, &mysieve_error);
if (res != SIEVE_OK) {
- syslog(LOG_ERR, "sieve_register_parse_error() returns %d\n", res);
+ i_error("sieve_register_parse_error() returns %d\n", res);
return TIMSIEVE_FAIL;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/src/sieve-cmu.c new/dovecot-lda/src/sieve-cmu.c
--- old/dovecot-lda/src/sieve-cmu.c 2006-02-08 15:19:08.000000000 +0100
+++ new/dovecot-lda/src/sieve-cmu.c 2006-05-25 07:39:05.000000000 +0200
@@ -106,14 +106,17 @@
/* ok, let's see if we've redirected this message before */
if (duplicate_check(dupeid, strlen(dupeid), sd->username)) {
/*duplicate_log(m->id, sd->username, "redirect");*/
- i_info("Duplicated redirection (%s: %s -> %s)", m->id,
- sd->username, rc->addr);
+ i_info("discarded duplicate forward (%s -> %s)",
+ str_sanitize(m->id, 80), str_sanitize(rc->addr, 80));
return SIEVE_OK;
}
}
if ((res = mail_send_forward(m->mail, rc->addr)) == 0) {
/* mark this message as redirected */
+ i_info("forwarded id %s to <%s>",
+ m->id == NULL ? "" : str_sanitize(m->id, 80),
+ str_sanitize(rc->addr, 80));
if (dupeid != NULL) {
duplicate_mark(dupeid, strlen(dupeid), sd->username,
ioloop_time + DUPLICATE_DEFAULT_KEEP);
@@ -131,22 +134,13 @@
static int sieve_discard(void *ac __attribute__((unused)),
void *ic __attribute__((unused)),
- void *sc, void *mc,
+ void *sc __attribute__((unused)), void *mc,
const char **errmsg __attribute__((unused)))
{
- script_data_t *sd = (script_data_t *) sc;
sieve_msgdata_t *md = mc;
/* ok, we won't file it, but log it */
- if (md->id && strlen(md->id) < 80) {
- i_info("sieve: discarded message to %s id %s",
- sd->username, str_sanitize(md->id, 80));
- }
- else {
- i_info("sieve: discarded message to %s",
- sd->username);
- }
-
+ i_info("discarded id %s", md->id == NULL ? "" : str_sanitize(md->id, 80));
return SIEVE_OK;
}
@@ -166,12 +160,14 @@
}
if (strlen(md->return_path) == 0) {
- i_info("sieve: discarded reject to <> for %s id %s",
- sd->username, str_sanitize(md->id, 80));
+ i_info("discarded reject to <> id %s",
+ md->id == NULL ? "" : str_sanitize(md->id, 80));
return SIEVE_OK;
}
if ((res = mail_send_rejection(md->mail, sd->username, rc->msg)) == 0) {
+ i_info("rejected id %s",
+ md->id == NULL ? "" : str_sanitize(md->id, 80));
return SIEVE_OK;
} else {
if (res == -1) {
@@ -238,6 +234,8 @@
if (save_mail(sd->storage, fc->mailbox, md->mail, flags, keywords) < 0)
return SIEVE_FAIL;
+
+ i_info("saved mail to %s", md->mailbox);
return SIEVE_OK;
}
@@ -398,8 +396,7 @@
if (sd->errors == NULL) {
sd->errors = str_new(default_pool, 1024);
- i_info("sieve parse error for %s: line %d: %s",
- sd->username, lineno, msg);
+ i_info("sieve parse error: line %d: %s", lineno, msg);
}
str_printfa(sd->errors, "line %d: %s\n", lineno, msg);
@@ -408,13 +405,10 @@
static int sieve_execute_error_handler(const char *msg,
void *ic __attr_unused__,
- void *sc, void *mc __attr_unused__)
+ void *sc __attr_unused__,
+ void *mc __attr_unused__)
{
- script_data_t *sd = (script_data_t *) sc;
-
- i_info("sieve runtime error for %s: %s",
- sd->username, msg);
-
+ i_info("sieve runtime error: %s", msg);
return SIEVE_OK;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dovecot-lda/src/smtpclient.c new/dovecot-lda/src/smtpclient.c
--- old/dovecot-lda/src/smtpclient.c 2006-01-13 19:31:30.000000000 +0100
+++ new/dovecot-lda/src/smtpclient.c 2006-05-25 07:39:05.000000000 +0200
@@ -40,7 +40,7 @@
*
*/
/*
- * $Id: smtpclient.c,v 1.3 2006/01/13 15:15:52 cras Exp $
+ * $Id: smtpclient.c,v 1.4 2006/05/12 18:24:40 cras Exp $
*/
#include "common.h"
@@ -67,18 +67,12 @@
close(fds[1]);
/* make the pipe be stdin */
dup2(fds[0], 0);
- execv("/usr/lib/sendmail", (char **) argv);
-
- /* if we're here we suck */
- printf("451 lmtpd: didn't exec() sendmail?!?\r\n");
- i_fatal("couldn't exec() sendmail");
+ (void)execv(sieve_set->sendmail_path, (char **)argv);
+ i_fatal("couldn't exec() sendmail: %m");
}
- if (p < 0) {
- /* failure */
- *sm = NULL;
- return p;
- }
+ if (p == -1)
+ i_fatal("fork() failed: %m");
/* parent */
close(fds[0]);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package curlftpfs
checked in at Fri May 26 12:45:35 CEST 2006.
--------
--- curlftpfs/curlftpfs.changes 2006-04-15 11:39:29.000000000 +0200
+++ curlftpfs/curlftpfs.changes 2006-05-25 15:11:25.000000000 +0200
@@ -1,0 +2,8 @@
+Thu May 25 15:03:29 CEST 2006 - cthiel(a)suse.de
+
+- update to version 0.8
+ * Chunk downloading is now supported. You can now stream your music or
+ video, download more than one file, or browse the filesystem while you
+ download.
+
+-------------------------------------------------------------------
Old:
----
curlftpfs-0.7.tar.bz2
New:
----
curlftpfs-0.8.patch
curlftpfs-0.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ curlftpfs.spec ++++++
--- /var/tmp/diff_new_pack.4o3V8G/_old 2006-05-26 12:45:20.000000000 +0200
+++ /var/tmp/diff_new_pack.4o3V8G/_new 2006-05-26 12:45:20.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package curlftpfs (Version 0.7)
+# spec file for package curlftpfs (Version 0.8)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,14 +11,15 @@
# norootforbuild
Name: curlftpfs
-Version: 0.7
-Release: 2
+Version: 0.8
+Release: 1
Summary: CurlFtpFS is a filesystem for accessing FTP hosts based on FUSE and libcurl
License: GPL
URL: http://curlftpfs.sourceforge.net/
Group: System/Filesystems
Autoreqprov: on
Source: %{name}-%{version}.tar.bz2
+Patch: %{name}-%{version}.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: curl-devel fuse-devel glib2-devel
@@ -35,9 +36,11 @@
%prep
%setup
+%patch
%build
-%{configure}
+autoreconf -fi
+%configure
make
%install
@@ -52,6 +55,11 @@
%{_mandir}/*/%{name}.*
%changelog -n curlftpfs
+* Thu May 25 2006 - cthiel(a)suse.de
+- update to version 0.8
+ * Chunk downloading is now supported. You can now stream your music or
+ video, download more than one file, or browse the filesystem while you
+ download.
* Sat Apr 15 2006 - cthiel(a)suse.de
- update to version 0.7
* Added big manpage with all options documented.
++++++ curlftpfs-0.8.patch ++++++
--- configure.ac
+++ configure.ac
@@ -9,7 +9,7 @@
PKG_CHECK_MODULES(GLIB, [glib-2.0])
PKG_CHECK_MODULES(FUSE, [fuse >= 2.2])
-LIBCURL_CHECK_CONFIG([yes], [7.15.2], [], [AC_MSG_ERROR(["libcurl not found"])])
+LIBCURL_CHECK_CONFIG([yes], [7.15.1], [], [AC_MSG_ERROR(["libcurl not found"])])
if test "$libcurl_protocol_FTP" != yes; then
AC_MSG_ERROR(["We need libcurl with support for FTP protocol."])
fi
++++++ curlftpfs-0.7.tar.bz2 -> curlftpfs-0.8.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/curlftpfs-0.7/configure new/curlftpfs-0.8/configure
--- old/curlftpfs-0.7/configure 2006-04-13 23:06:05.000000000 +0200
+++ new/curlftpfs-0.8/configure 2006-05-21 21:49:50.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for curlftpfs 0.7.
+# Generated by GNU Autoconf 2.59 for curlftpfs 0.8.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
@@ -421,8 +421,8 @@
# Identity of this package.
PACKAGE_NAME='curlftpfs'
PACKAGE_TARNAME='curlftpfs'
-PACKAGE_VERSION='0.7'
-PACKAGE_STRING='curlftpfs 0.7'
+PACKAGE_VERSION='0.8'
+PACKAGE_STRING='curlftpfs 0.8'
PACKAGE_BUGREPORT=''
# Factoring default headers for most tests.
@@ -971,7 +971,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures curlftpfs 0.7 to adapt to many kinds of systems.
+\`configure' configures curlftpfs 0.8 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1037,7 +1037,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of curlftpfs 0.7:";;
+ short | recursive ) echo "Configuration of curlftpfs 0.8:";;
esac
cat <<\_ACEOF
@@ -1181,7 +1181,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-curlftpfs configure 0.7
+curlftpfs configure 0.8
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1195,7 +1195,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by curlftpfs $as_me 0.7, which was
+It was created by curlftpfs $as_me 0.8, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1838,7 +1838,7 @@
# Define the identity of the package.
PACKAGE='curlftpfs'
- VERSION='0.7'
+ VERSION='0.8'
cat >>confdefs.h <<_ACEOF
@@ -19217,11 +19217,11 @@
echo "${ECHO_T}$libcurl_cv_lib_curl_version" >&6
_libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse`
- _libcurl_wanted=`echo 7.7.2 | $_libcurl_version_parse`
+ _libcurl_wanted=`echo 7.15.2 | $_libcurl_version_parse`
if test $_libcurl_wanted -gt 0 ; then
- echo "$as_me:$LINENO: checking for libcurl >= version 7.7.2" >&5
-echo $ECHO_N "checking for libcurl >= version 7.7.2... $ECHO_C" >&6
+ echo "$as_me:$LINENO: checking for libcurl >= version 7.15.2" >&5
+echo $ECHO_N "checking for libcurl >= version 7.15.2... $ECHO_C" >&6
if test "${libcurl_cv_lib_version_ok+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -20043,7 +20043,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by curlftpfs $as_me 0.7, which was
+This file was extended by curlftpfs $as_me 0.8, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -20106,7 +20106,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-curlftpfs config.status 0.7
+curlftpfs config.status 0.8
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/curlftpfs-0.7/configure.ac new/curlftpfs-0.8/configure.ac
--- old/curlftpfs-0.7/configure.ac 2006-04-13 23:05:50.000000000 +0200
+++ new/curlftpfs-0.8/configure.ac 2006-05-21 21:45:47.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT(curlftpfs, 0.7)
+AC_INIT(curlftpfs, 0.8)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
@@ -9,7 +9,7 @@
PKG_CHECK_MODULES(GLIB, [glib-2.0])
PKG_CHECK_MODULES(FUSE, [fuse >= 2.2])
-LIBCURL_CHECK_CONFIG([yes], [7.7.2], [], [AC_MSG_ERROR(["libcurl not found"])])
+LIBCURL_CHECK_CONFIG([yes], [7.15.2], [], [AC_MSG_ERROR(["libcurl not found"])])
if test "$libcurl_protocol_FTP" != yes; then
AC_MSG_ERROR(["We need libcurl with support for FTP protocol."])
fi
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/curlftpfs-0.7/doc/curlftpfs.1 new/curlftpfs-0.8/doc/curlftpfs.1
--- old/curlftpfs-0.7/doc/curlftpfs.1 2006-04-13 22:30:43.000000000 +0200
+++ new/curlftpfs-0.8/doc/curlftpfs.1 2006-04-26 19:29:28.000000000 +0200
@@ -121,10 +121,12 @@
make curlftpfs pick the same IP address that is already used for the control
connection
.RE
+.RS
Disable the
attempt to use the EPRT command instead of PORT by using \fIdisable_eprt\fP.
EPRT is really PORT++.
+.RE
.TP
.B interface=<name>
Pass a string as parameter. This set the interface name to use as outgoing
@@ -168,6 +170,10 @@
(SSL) Curlftpfs will not verify the hostname when connecting to a SSL enabled
server.
.TP
+.B no_verify_peer
+(SSL) Curlftpfs will not verify the certificate when connecting to a SSL
+enabled server.
+.TP
.B pass=<password>
(SSL) Pass phrase for the private key.
.TP
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/curlftpfs-0.7/ftpfs-ls.c new/curlftpfs-0.8/ftpfs-ls.c
--- old/curlftpfs-0.7/ftpfs-ls.c 2006-04-12 18:58:39.000000000 +0200
+++ new/curlftpfs-0.8/ftpfs-ls.c 2006-05-20 19:49:18.000000000 +0200
@@ -1,3 +1,11 @@
+/*
+ FTP file system
+ Copyright (C) 2006 Robson Braga Araujo <robsonbraga(a)gmail.com>
+
+ This program can be distributed under the terms of the GNU GPL.
+ See the file COPYING.
+*/
+
#define _XOPEN_SOURCE
#include <time.h>
#include <string.h>
@@ -75,10 +83,17 @@
tt = time(NULL);
gmtime_r(&tt, &tm);
tm.tm_sec = tm.tm_min = tm.tm_hour = 0;
- if(strchr(year, ':'))
+ if(strchr(year, ':')) {
+ int cur_mon = tm.tm_mon; // save current month
strptime(date, "%H:%M,%b,%d", &tm);
- else
+ // Unix systems omit the year for the last six months
+ if (cur_mon + 5 < tm.tm_mon) { // month from last year
+ DEBUG("correct year: cur_mon: %d, file_mon: %d\n", cur_mon, tm.tm_mon);
+ tm.tm_year--; // correct the year
+ }
+ } else {
strptime(date, "%Y,%b,%d", &tm);
+ }
sbuf->st_atime = sbuf->st_ctime = sbuf->st_mtime = mktime(&tm);
@@ -222,6 +237,8 @@
if (sbuf) *sbuf = stat_buf;
found = 1;
}
+
+ free(full_path);
}
free(line);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/curlftpfs-0.7/ftpfs-ls.h new/curlftpfs-0.8/ftpfs-ls.h
--- old/curlftpfs-0.7/ftpfs-ls.h 2006-04-05 03:36:57.000000000 +0200
+++ new/curlftpfs-0.8/ftpfs-ls.h 2006-05-20 19:59:45.000000000 +0200
@@ -1,6 +1,14 @@
#ifndef __CURLFTPFS_FTPFS_LS_H__
#define __CURLFTPFS_FTPFS_LS_H__
+/*
+ FTP file system
+ Copyright (C) 2006 Robson Braga Araujo <robsonbraga(a)gmail.com>
+
+ This program can be distributed under the terms of the GNU GPL.
+ See the file COPYING.
+*/
+
#include "cache.h"
int parse_dir(const char* list, const char* dir,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/curlftpfs-0.7/ftpfs.c new/curlftpfs-0.8/ftpfs.c
--- old/curlftpfs-0.7/ftpfs.c 2006-04-13 19:16:31.000000000 +0200
+++ new/curlftpfs-0.8/ftpfs.c 2006-05-21 21:38:18.000000000 +0200
@@ -28,6 +28,10 @@
#define CURLFTPFS_BAD_NOBODY 0x070f02
#define CURLFTPFS_BAD_SSL 0x070f03
+#define CURLFTPFS_BAD_READ ((size_t)-1)
+
+#define MAX_BUFFER_LEN (300*1024)
+
struct ftpfs ftpfs;
static char error_buf[CURL_ERROR_SIZE];
@@ -35,6 +39,7 @@
uint8_t* p;
size_t len;
size_t size;
+ off_t begin_offset;
};
static void usage(const char* progname);
@@ -50,6 +55,7 @@
}
} else
buf->p = NULL;
+ buf->begin_offset = 0;
buf->len = 0;
buf->size = size;
}
@@ -205,6 +211,8 @@
struct buffer buf;
int dirty;
int copied;
+ off_t last_offset;
+ int can_shrink;
};
enum {
@@ -228,6 +236,7 @@
FTPFS_OPT("ssl_control", use_ssl, CURLFTPSSL_CONTROL),
FTPFS_OPT("ssl_try", use_ssl, CURLFTPSSL_TRY),
FTPFS_OPT("no_verify_hostname", no_verify_hostname, 1),
+ FTPFS_OPT("no_verify_peer", no_verify_peer, 1),
FTPFS_OPT("cert=%s", cert, 0),
FTPFS_OPT("cert_type=%s", cert_type, 0),
FTPFS_OPT("key=%s", key, 0),
@@ -293,6 +302,7 @@
static int ftpfs_getdir(const char* path, fuse_cache_dirh_t h,
fuse_cache_dirfil_t filler) {
+ int err = 0;
CURLcode curl_res;
char* dir_path = get_dir_path(path, 0);
@@ -301,6 +311,7 @@
buf_init(&buf, 0);
pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, dir_path);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &buf);
curl_res = curl_easy_perform(ftpfs.connection);
@@ -308,14 +319,15 @@
if (curl_res != 0) {
DEBUG("%s\n", error_buf);
+ err = -EIO;
+ } else {
+ buf_add_mem(&buf, "\0", 1);
+ parse_dir(buf.p, dir_path + strlen(ftpfs.host) - 1, NULL, NULL, NULL, 0, h, filler);
}
- buf_add_mem(&buf, "\0", 1);
-
- parse_dir(buf.p, dir_path + strlen(ftpfs.host) - 1, NULL, NULL, NULL, 0, h, filler);
free(dir_path);
buf_free(&buf);
- return 0;
+ return err;
}
static char* get_dir_path(const char* path, int strip) {
@@ -347,6 +359,7 @@
buf_init(&buf, 0);
pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, dir_path);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &buf);
curl_res = curl_easy_perform(ftpfs.connection);
@@ -367,55 +380,199 @@
return 0;
}
-static int ftpfs_open(const char* path, struct fuse_file_info* fi) {
- DEBUG("%d\n", fi->flags & O_ACCMODE);
- if ((fi->flags & O_ACCMODE) == O_RDONLY) {
- DEBUG("opening %s O_RDONLY\n", path);
- } else if ((fi->flags & O_ACCMODE) == O_WRONLY) {
- DEBUG("opening %s O_WRONLY\n", path);
- } else if ((fi->flags & O_ACCMODE) == O_RDWR) {
- DEBUG("opening %s O_RDWR\n", path);
- }
+static int check_running() {
+ int running_handles = 0;
+ curl_multi_perform(ftpfs.multi, &running_handles);
+ return running_handles;
+}
- char *full_path = g_strdup_printf("%s%s", ftpfs.host, path + 1);
-
- DEBUG("full_path: %s\n", full_path);
- struct buffer buf;
+static size_t ftpfs_read_chunk(const char* full_path, char* rbuf,
+ size_t size, off_t offset,
+ struct fuse_file_info* fi,
+ int update_offset) {
+ int running_handles = 0;
int err = 0;
- buf_init(&buf, 0);
+ struct ftpfs_file* fh = (struct ftpfs_file*) (uintptr_t) fi->fh;
+
+ DEBUG("ftpfs_read_chunk: %s %p %d %lld %p %p\n",
+ full_path, rbuf, size, offset, fi, fh);
pthread_mutex_lock(&ftpfs.lock);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, full_path);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &buf);
- CURLcode curl_res = curl_easy_perform(ftpfs.connection);
- if (curl_res != 0) {
- err = -EACCES;
- buf_free(&buf);
- } else {
- struct ftpfs_file* fh = (struct ftpfs_file*)
- malloc(sizeof(struct ftpfs_file));
- fh->buf = buf;
- fh->dirty = 0;
- fh->copied = 0;
- fi->fh = (unsigned long) fh;
+
+ DEBUG("buffer size: %d %lld\n", fh->buf.len, fh->buf.begin_offset);
+
+ if ((fh->buf.len < size + offset - fh->buf.begin_offset) ||
+ offset < fh->buf.begin_offset ||
+ offset > fh->buf.begin_offset + fh->buf.len) {
+ // We can't answer this from cache
+ if (ftpfs.current_fh != fh ||
+ offset < fh->buf.begin_offset ||
+ offset > fh->buf.begin_offset + fh->buf.len ||
+ !check_running()) {
+ DEBUG("We need to restart the connection\n");
+ DEBUG("%p %p\n", ftpfs.current_fh, fh);
+ DEBUG("%lld %lld\n", fh->buf.begin_offset, offset);
+
+ buf_clear(&fh->buf);
+ fh->buf.begin_offset = offset;
+ ftpfs.current_fh = fh;
+
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
+ curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, full_path);
+ curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &fh->buf);
+ if (offset) {
+ char range[15];
+ snprintf(range, 15, "%lld-", offset);
+ curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_RANGE, range);
+ }
+ curl_multi_add_handle(ftpfs.multi, ftpfs.connection);
+ }
+
+ while(CURLM_CALL_MULTI_PERFORM ==
+ curl_multi_perform(ftpfs.multi, &running_handles));
+
+ curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_RANGE, NULL);
+
+ while ((fh->buf.len < size + offset - fh->buf.begin_offset) &&
+ running_handles) {
+ struct timeval timeout;
+ int rc; /* select() return code */
+
+ fd_set fdread;
+ fd_set fdwrite;
+ fd_set fdexcep;
+ int maxfd;
+
+ FD_ZERO(&fdread);
+ FD_ZERO(&fdwrite);
+ FD_ZERO(&fdexcep);
+
+ /* set a suitable timeout to play around with */
+ timeout.tv_sec = 1;
+ timeout.tv_usec = 0;
+
+ /* get file descriptors from the transfers */
+ curl_multi_fdset(ftpfs.multi, &fdread, &fdwrite, &fdexcep, &maxfd);
+
+ rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
+
+ switch(rc) {
+ case -1:
+ /* select error */
+ break;
+ case 0:
+ /* timeout, do something else */
+ break;
+ default:
+ /* one or more of curl's file descriptors say there's data to read
+ or write */
+ while(CURLM_CALL_MULTI_PERFORM ==
+ curl_multi_perform(ftpfs.multi, &running_handles));
+ break;
+ }
+ }
+
+ if (running_handles == 0) {
+ int msgs_left = 1;
+ while (msgs_left) {
+ CURLMsg* msg = curl_multi_info_read(ftpfs.multi, &msgs_left);
+ if (msg == NULL ||
+ msg->msg != CURLMSG_DONE ||
+ msg->data.result != CURLE_OK) {
+ err = 1;
+ }
+ }
+ }
+ }
+
+ size_t to_copy = fh->buf.len + fh->buf.begin_offset - offset;
+ size = size > to_copy ? to_copy : size;
+ if (rbuf) {
+ memcpy(rbuf, fh->buf.p + offset - fh->buf.begin_offset, size);
+ }
+
+ if (update_offset) {
+ fh->last_offset = offset + size;
+ }
+
+ // Check if the buffer is growing and we can delete a part of it
+ if (fh->can_shrink && fh->buf.len > MAX_BUFFER_LEN) {
+ DEBUG("Shrinking buffer from %d to %d bytes\n",
+ fh->buf.len, to_copy - size);
+ memmove(fh->buf.p,
+ fh->buf.p + offset - fh->buf.begin_offset + size,
+ to_copy - size);
+ fh->buf.len = to_copy - size;
+ fh->buf.begin_offset = offset + size;
}
+
pthread_mutex_unlock(&ftpfs.lock);
+ if (err) return CURLFTPFS_BAD_READ;
+ return size;
+}
+
+static int ftpfs_open(const char* path, struct fuse_file_info* fi) {
+ DEBUG("%d\n", fi->flags & O_ACCMODE);
+ int err = 0;
+ char *full_path = g_strdup_printf("%s%s", ftpfs.host, path + 1);
+
+ struct ftpfs_file* fh =
+ (struct ftpfs_file*) malloc(sizeof(struct ftpfs_file));
+ buf_init(&fh->buf, 0);
+ fh->dirty = 0;
+ fh->copied = 0;
+ fh->last_offset = 0;
+ fh->can_shrink = 0;
+ fi->fh = (unsigned long) fh;
+
+ if ((fi->flags & O_ACCMODE) == O_RDONLY) {
+ // If it's read-only, we can load the file a bit at a time, as necessary.
+ DEBUG("opening %s O_RDONLY\n", path);
+ fh->can_shrink = 1;
+ size_t size = ftpfs_read_chunk(full_path, NULL, 1, 0, fi, 0);
+
+ if (size == CURLFTPFS_BAD_READ) {
+ err = -EACCES;
+ buf_free(&fh->buf);
+ free(fh);
+ }
+ } else if ((fi->flags & O_ACCMODE) == O_WRONLY ||
+ (fi->flags & O_ACCMODE) == O_RDWR) {
+ // If we want to write to the file, we have to load it all at once,
+ // modify it in memory and then upload it as a whole as most FTP servers
+ // don't support resume for uploads.
+ DEBUG("opening %s O_WRONLY or O_RDWR\n", path);
+ pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
+ curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, full_path);
+ curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &fh->buf);
+ CURLcode curl_res = curl_easy_perform(ftpfs.connection);
+ pthread_mutex_unlock(&ftpfs.lock);
+
+ if (curl_res != 0) {
+ err = -EACCES;
+ buf_free(&fh->buf);
+ free(fh);
+ }
+ }
+
free(full_path);
return err;
}
static int ftpfs_read(const char* path, char* rbuf, size_t size, off_t offset,
struct fuse_file_info* fi) {
- (void) path;
- struct ftpfs_file* fh = (struct ftpfs_file*) (uintptr_t) fi->fh;
- if (offset >= fh->buf.len) return 0;
- if (size > fh->buf.len - offset) {
- size = fh->buf.len - offset;
+ int ret;
+ char *full_path = g_strdup_printf("%s%s", ftpfs.host, path + 1);
+ size_t size_read = ftpfs_read_chunk(full_path, rbuf, size, offset, fi, 1);
+ free(full_path);
+ if (size_read == CURLFTPFS_BAD_READ) {
+ ret = -EIO;
+ } else {
+ ret = size_read;
}
- memcpy(rbuf, fh->buf.p + offset, size);
-
- return size;
+ return ret;
}
static int ftpfs_mknod(const char* path, mode_t mode, dev_t rdev) {
@@ -429,6 +586,7 @@
char *full_path = g_strdup_printf("%s%s", ftpfs.host, path + 1);
pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, full_path);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_INFILESIZE, 0);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_UPLOAD, 1);
@@ -484,6 +642,7 @@
header = curl_slist_append(header, cmd);
pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_POSTQUOTE, header);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, full_path);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &buf);
@@ -516,6 +675,7 @@
header = curl_slist_append(header, cmd);
pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_POSTQUOTE, header);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, full_path);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &buf);
@@ -547,6 +707,7 @@
header = curl_slist_append(header, cmd);
pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_POSTQUOTE, header);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, full_path);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &buf);
@@ -593,20 +754,21 @@
char* full_path = g_strdup_printf("%s%s", ftpfs.host, path + 1);
pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, full_path);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_INFILESIZE, fh->buf.len);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_UPLOAD, 1);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_READDATA, fh);
CURLcode curl_res = curl_easy_perform(ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_UPLOAD, 0);
+
+ fh->dirty = 0;
pthread_mutex_unlock(&ftpfs.lock);
if (curl_res != 0) {
err = -EPERM;
}
- fh->dirty = 0;
-
free(full_path);
return err;
}
@@ -620,8 +782,13 @@
static int ftpfs_release(const char* path, struct fuse_file_info* fi) {
struct ftpfs_file* fh = (struct ftpfs_file*) (uintptr_t) fi->fh;
ftpfs_flush(path, fi);
+ pthread_mutex_lock(&ftpfs.lock);
+ if (ftpfs.current_fh == fh) {
+ ftpfs.current_fh = NULL;
+ }
buf_free(&fh->buf);
free(fh);
+ pthread_mutex_unlock(&ftpfs.lock);
return 0;
}
@@ -637,6 +804,7 @@
header = curl_slist_append(header, rnto);
pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_POSTQUOTE, header);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, ftpfs.host);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &buf);
@@ -668,6 +836,7 @@
buf_init(&buf, 0);
pthread_mutex_lock(&ftpfs.lock);
+ curl_multi_remove_handle(ftpfs.multi, ftpfs.connection);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, dir_path);
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, &buf);
curl_res = curl_easy_perform(ftpfs.connection);
@@ -763,7 +932,7 @@
case FUSE_OPT_KEY_NONOPT:
if (!ftpfs.host) {
const char* prefix = "";
- if (strncmp(arg, "ftp://", 6)) {
+ if (strncmp(arg, "ftp://", 6) && strncmp(arg, "ftps://", 7)) {
prefix = "ftp://";
}
ftpfs.host = g_strdup_printf("%s%s%s", prefix, arg,
@@ -815,6 +984,7 @@
" ssl_control enable SSL/TLS only for control connection\n"
" ssl_try try SSL/TLS first but connect anyway\n"
" no_verify_hostname does not verify the hostname (SSL)\n"
+" no_verify_peer does not verify the peer (SSL)\n"
" cert=STR client certificate file (SSL)\n"
" cert_type=STR certificate file type (DER/PEM/ENG) (SSL)\n"
" key=STR private key file name (SSL)\n"
@@ -841,43 +1011,45 @@
"\n", progname);
}
-static void set_common_curl_stuff() {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEFUNCTION, read_data);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_READFUNCTION, write_data);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_ERRORBUFFER, error_buf);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_URL, ftpfs.host);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
+static void set_common_curl_stuff(CURL* easy) {
+ curl_easy_setopt_or_die(easy, CURLOPT_WRITEFUNCTION, read_data);
+ curl_easy_setopt_or_die(easy, CURLOPT_READFUNCTION, write_data);
+ curl_easy_setopt_or_die(easy, CURLOPT_ERRORBUFFER, error_buf);
+ curl_easy_setopt_or_die(easy, CURLOPT_URL, ftpfs.host);
+ curl_easy_setopt_or_die(easy, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
+ curl_easy_setopt_or_die(easy, CURLOPT_NOSIGNAL, 1);
+ curl_easy_setopt_or_die(easy, CURLOPT_CUSTOMREQUEST, "LIST -a");
if (ftpfs.verbose) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_VERBOSE, TRUE);
+ curl_easy_setopt_or_die(easy, CURLOPT_VERBOSE, TRUE);
}
if (ftpfs.disable_epsv) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_FTP_USE_EPSV, FALSE);
+ curl_easy_setopt_or_die(easy, CURLOPT_FTP_USE_EPSV, FALSE);
}
if (ftpfs.skip_pasv_ip) {
#ifdef CURLOPT_FTP_SKIP_PASV_IP
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_FTP_SKIP_PASV_IP, TRUE);
+ curl_easy_setopt_or_die(easy, CURLOPT_FTP_SKIP_PASV_IP, TRUE);
#endif
}
if (ftpfs.ftp_port) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_FTPPORT, ftpfs.ftp_port);
+ curl_easy_setopt_or_die(easy, CURLOPT_FTPPORT, ftpfs.ftp_port);
}
if (ftpfs.disable_eprt) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_FTP_USE_EPRT, FALSE);
+ curl_easy_setopt_or_die(easy, CURLOPT_FTP_USE_EPRT, FALSE);
}
if (ftpfs.tcp_nodelay) {
#ifdef CURLOPT_TCP_NODELAY
/* CURLOPT_TCP_NODELAY is not defined in older versions */
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_TCP_NODELAY, 1);
+ curl_easy_setopt_or_die(easy, CURLOPT_TCP_NODELAY, 1);
#endif
}
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_CONNECTTIMEOUT, ftpfs.connect_timeout);
+ curl_easy_setopt_or_die(easy, CURLOPT_CONNECTTIMEOUT, ftpfs.connect_timeout);
/* CURLFTPSSL_CONTROL and CURLFTPSSL_ALL should make the connection fail if
* the server doesn't support SSL but libcurl only honors this beginning
@@ -899,71 +1071,79 @@
}
fprintf(stderr, "\n");
}
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_FTP_SSL, ftpfs.use_ssl);
+ curl_easy_setopt_or_die(easy, CURLOPT_FTP_SSL, ftpfs.use_ssl);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSLCERT, ftpfs.cert);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSLCERTTYPE, ftpfs.cert_type);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSLKEY, ftpfs.key);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSLKEYTYPE, ftpfs.key_type);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSLKEYPASSWD, ftpfs.key_password);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSLCERT, ftpfs.cert);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSLCERTTYPE, ftpfs.cert_type);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSLKEY, ftpfs.key);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSLKEYTYPE, ftpfs.key_type);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSLKEYPASSWD, ftpfs.key_password);
if (ftpfs.engine) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSLENGINE, ftpfs.engine);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSLENGINE_DEFAULT, 1);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSLENGINE, ftpfs.engine);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSLENGINE_DEFAULT, 1);
+ }
+
+ curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYPEER, TRUE);
+ if (ftpfs.no_verify_peer) {
+ curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYPEER, FALSE);
}
if (ftpfs.cacert || ftpfs.capath) {
if (ftpfs.cacert) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_CAINFO, ftpfs.cacert);
+ curl_easy_setopt_or_die(easy, CURLOPT_CAINFO, ftpfs.cacert);
}
if (ftpfs.capath) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_CAPATH, ftpfs.capath);
+ curl_easy_setopt_or_die(easy, CURLOPT_CAPATH, ftpfs.capath);
}
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSL_VERIFYPEER, TRUE);
}
if (ftpfs.ciphers) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSL_CIPHER_LIST, ftpfs.ciphers);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSL_CIPHER_LIST, ftpfs.ciphers);
}
if (ftpfs.no_verify_hostname) {
/* The default is 2 which verifies even the host string. This sets to 1
* which means verify the host but not the string. */
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSL_VERIFYHOST, 1);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYHOST, 1);
}
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_INTERFACE, ftpfs.interface);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_KRB4LEVEL, ftpfs.krb4);
+ curl_easy_setopt_or_die(easy, CURLOPT_INTERFACE, ftpfs.interface);
+ curl_easy_setopt_or_die(easy, CURLOPT_KRB4LEVEL, ftpfs.krb4);
if (ftpfs.proxy) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_PROXY, ftpfs.proxy);
+ curl_easy_setopt_or_die(easy, CURLOPT_PROXY, ftpfs.proxy);
/* Connection to FTP servers only make sense with a tunnel proxy */
}
if (ftpfs.proxy || ftpfs.proxytunnel) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_HTTPPROXYTUNNEL, TRUE);
+ curl_easy_setopt_or_die(easy, CURLOPT_HTTPPROXYTUNNEL, TRUE);
}
if (ftpfs.proxyanyauth) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
+ curl_easy_setopt_or_die(easy, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
} else if (ftpfs.proxyntlm) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_PROXYAUTH, CURLAUTH_NTLM);
+ curl_easy_setopt_or_die(easy, CURLOPT_PROXYAUTH, CURLAUTH_NTLM);
} else if (ftpfs.proxydigest) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_PROXYAUTH, CURLAUTH_DIGEST);
+ curl_easy_setopt_or_die(easy, CURLOPT_PROXYAUTH, CURLAUTH_DIGEST);
} else if (ftpfs.proxybasic) {
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
+ curl_easy_setopt_or_die(easy, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
}
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_USERPWD, ftpfs.user);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_PROXYUSERPWD, ftpfs.proxy_user);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_SSLVERSION, ftpfs.ssl_version);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_IPRESOLVE, ftpfs.ip_version);
+ curl_easy_setopt_or_die(easy, CURLOPT_USERPWD, ftpfs.user);
+ curl_easy_setopt_or_die(easy, CURLOPT_PROXYUSERPWD, ftpfs.proxy_user);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSLVERSION, ftpfs.ssl_version);
+ curl_easy_setopt_or_die(easy, CURLOPT_IPRESOLVE, ftpfs.ip_version);
}
int main(int argc, char** argv) {
int res;
struct fuse_args args = FUSE_ARGS_INIT(argc, argv);
CURLcode curl_res;
+ CURL* easy;
+ // Initialize curl library before we are a multithreaded program
+ curl_global_init(CURL_GLOBAL_ALL);
+
memset(&ftpfs, 0, sizeof(ftpfs));
ftpfs.curl_version = curl_version_info(CURLVERSION_NOW);
@@ -980,8 +1160,8 @@
exit(1);
}
- ftpfs.connection = curl_easy_init();
- if (ftpfs.connection == NULL) {
+ easy = curl_easy_init();
+ if (easy == NULL) {
fprintf(stderr, "Error initializing libcurl\n");
exit(1);
}
@@ -1003,21 +1183,31 @@
exit(1);
}
- set_common_curl_stuff();
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_WRITEDATA, NULL);
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_NOBODY, ftpfs.safe_nobody);
- curl_res = curl_easy_perform(ftpfs.connection);
+ set_common_curl_stuff(easy);
+ curl_easy_setopt_or_die(easy, CURLOPT_WRITEDATA, NULL);
+ curl_easy_setopt_or_die(easy, CURLOPT_NOBODY, ftpfs.safe_nobody);
+ curl_res = curl_easy_perform(easy);
if (curl_res != 0) {
fprintf(stderr, "Error connecting to ftp: %s\n", error_buf);
exit(1);
}
- curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_NOBODY, 0);
+ curl_easy_setopt_or_die(easy, CURLOPT_NOBODY, 0);
+ ftpfs.multi = curl_multi_init();
+ if (ftpfs.multi == NULL) {
+ fprintf(stderr, "Error initializing libcurl multi\n");
+ exit(1);
+ }
+
+ ftpfs.connection = easy;
pthread_mutex_init(&ftpfs.lock, NULL);
res = fuse_main(args.argc, args.argv, cache_init(&ftpfs_oper));
- curl_easy_cleanup(ftpfs.connection);
-
+ curl_multi_remove_handle(ftpfs.multi, easy);
+ curl_easy_cleanup(easy);
+ curl_multi_cleanup(ftpfs.multi);
+ curl_global_cleanup();
+
return res;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/curlftpfs-0.7/ftpfs.h new/curlftpfs-0.8/ftpfs.h
--- old/curlftpfs-0.7/ftpfs.h 2006-04-13 04:36:10.000000000 +0200
+++ new/curlftpfs-0.8/ftpfs.h 2006-05-20 19:59:57.000000000 +0200
@@ -1,8 +1,17 @@
#ifndef __CURLFTPFS_FTPFS_H__
#define __CURLFTPFS_FTPFS_H__
+/*
+ FTP file system
+ Copyright (C) 2006 Robson Braga Araujo <robsonbraga(a)gmail.com>
+
+ This program can be distributed under the terms of the GNU GPL.
+ See the file COPYING.
+*/
+
#include <curl/curl.h>
#include <curl/easy.h>
+#include <pthread.h>
#include <glib.h>
#include <pthread.h>
@@ -11,6 +20,8 @@
char* mountpoint;
pthread_mutex_t lock;
CURL* connection;
+ CURLM* multi;
+ struct ftpfs_file* current_fh;
unsigned blksize;
GHashTable *filetab;
int verbose;
@@ -24,6 +35,7 @@
int connect_timeout;
int use_ssl;
int no_verify_hostname;
+ int no_verify_peer;
char* cert;
char* cert_type;
char* key;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/curlftpfs-0.7/tests/ftpfs-ls_unittest.c new/curlftpfs-0.8/tests/ftpfs-ls_unittest.c
--- old/curlftpfs-0.7/tests/ftpfs-ls_unittest.c 2006-04-05 03:36:58.000000000 +0200
+++ new/curlftpfs-0.8/tests/ftpfs-ls_unittest.c 2006-05-20 19:49:54.000000000 +0200
@@ -1,9 +1,19 @@
+/*
+ FTP file system
+ Copyright (C) 2006 Robson Braga Araujo <robsonbraga(a)gmail.com>
+
+ This program can be distributed under the terms of the GNU GPL.
+ See the file COPYING.
+*/
+
#include "ftpfs.h"
#include "ftpfs-ls.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
+#define _XOPEN_SOURCE /* glibc2 needs this */
+#include <time.h>
struct ftpfs ftpfs;
@@ -15,16 +25,16 @@
memset(&tm, 0, sizeof(tm)); \
strptime(date, "%H:%M:%S %d/%m/%Y", &tm); \
tt = mktime(&tm); \
- assert(sbuf.st_dev == dev); \
- assert(sbuf.st_ino == ino); \
- assert(sbuf.st_mode == mode); \
- assert(sbuf.st_nlink == nlink); \
- assert(sbuf.st_uid == uid); \
- assert(sbuf.st_gid == gid); \
- assert(sbuf.st_rdev == rdev); \
- assert(sbuf.st_size == size); \
- assert(sbuf.st_blksize == blksize); \
- assert(sbuf.st_blocks == blocks); \
+ assert(sbuf.st_dev == (dev)); \
+ assert(sbuf.st_ino == (ino)); \
+ assert(sbuf.st_mode == (mode)); \
+ assert(sbuf.st_nlink == (nlink)); \
+ assert(sbuf.st_uid == (uid)); \
+ assert(sbuf.st_gid == (gid)); \
+ assert(sbuf.st_rdev == (rdev)); \
+ assert(sbuf.st_size == (size)); \
+ assert(sbuf.st_blksize == (blksize)); \
+ assert(sbuf.st_blocks == (blocks)); \
assert(sbuf.st_atime == tt); \
assert(sbuf.st_ctime == tt); \
assert(sbuf.st_mtime == tt); \
@@ -32,17 +42,19 @@
int main(int argc, char **argv) {
const char *list;
+ char line[256];
struct fuse_cache_operations dummy_oper;
struct stat sbuf;
int err;
struct fuse_args args = FUSE_ARGS_INIT(argc, argv);
char linkbuf[1024];
- char year[5];
char date[20];
time_t tt;
+ struct tm tm;
+ struct tm test_tm;
tt = time(NULL);
- strftime(year, 5, "%Y", gmtime(&tt));
+ gmtime_r(&tt, &tm);
ftpfs.blksize = 4096;
memset(&dummy_oper, 0, sizeof(dummy_oper));
@@ -79,10 +91,18 @@
assert(!strcmp(linkbuf, "Science/molbio"));
check(sbuf, 0, 0, S_IFLNK|S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH, 1, 0, 0, 0, 14, 4096, 8, "00:00:00 12/03/2004");
- list = "drwxr-xr-x 4 robson users 4096 Apr 3 15:50 tests\r\n";
- err = parse_dir(list, "/", "tests", &sbuf, NULL, 0, NULL, NULL);
+ // Test a date six months in the past
+ test_tm = tm;
+ test_tm.tm_mon -= 6;
+ if (test_tm.tm_mon < 0) {
+ test_tm.tm_mon += 12;
+ test_tm.tm_year--;
+ }
+ strftime(line, 256,
+ "drwxr-xr-x 4 robson users 4096 %b %d 00:00 tests\r\n", &test_tm);
+ err = parse_dir(line, "/", "tests", &sbuf, NULL, 0, NULL, NULL);
assert(err == 0);
- sprintf(date, "15:50:00 03/04/%s", year);
+ strftime(date, 20, "00:00:00 %d/%m/%Y", &test_tm);
check(sbuf, 0, 0, S_IFDIR|S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH, 4, 0, 0, 0, 4096, 4096, 8, date);
list = "dr-xr-xr-x 2 root 512 Apr 8 1994 etc\r\n";
@@ -90,10 +110,14 @@
assert(err == 0);
check(sbuf, 0, 0, S_IFDIR|S_IRUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH, 2, 0, 0, 0, 512, 4096, 8, "00:00:00 08/04/1994");
- list = "---------- 1 owner group 1803128 Jul 10 10:18 ls-lR.Z\r\n";
- err = parse_dir(list, "/", "ls-lR.Z", &sbuf, NULL, 0, NULL, NULL);
+ // Test a date a little bit in the past
+ test_tm = tm;
+ strftime(line, 256,
+ "---------- 1 robson users 1803128 %b %d 00:00 ls-lR.Z\r\n",
+ &test_tm);
+ err = parse_dir(line, "/", "ls-lR.Z", &sbuf, NULL, 0, NULL, NULL);
assert(err == 0);
- sprintf(date, "10:18:00 10/07/%s", year);
+ strftime(date, 20, "00:00:00 %d/%m/%Y", &test_tm);
check(sbuf, 0, 0, S_IFREG, 1, 0, 0, 0, 1803128, 4096, 3528, date);
return 0;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package aaa_base
checked in at Fri May 26 12:43:09 CEST 2006.
--------
--- aaa_base/aaa_base.changes 2006-05-19 15:07:28.000000000 +0200
+++ aaa_base/aaa_base.changes 2006-05-25 15:09:54.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 25 15:09:01 CEST 2006 - olh(a)suse.de
+
+- boot.loadmodules is optional for boot.localfs (#130995)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ aaa_base.spec ++++++
--- /var/tmp/diff_new_pack.nyPaQj/_old 2006-05-26 12:42:05.000000000 +0200
+++ /var/tmp/diff_new_pack.nyPaQj/_new 2006-05-26 12:42:05.000000000 +0200
@@ -19,7 +19,7 @@
PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv
Autoreqprov: on
Version: 10.1
-Release: 44
+Release: 45
Summary: SUSE Linux Base Package
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: aaa_base.tar.bz2
@@ -147,6 +147,8 @@
%defattr(-,root,root)
%changelog -n aaa_base
+* Thu May 25 2006 - olh(a)suse.de
+- boot.loadmodules is optional for boot.localfs (#130995)
* Fri May 19 2006 - ro(a)suse.de
- added sysconfig variable DMAPI_PROBE to be able to set
/proc/sys/fs/xfs/probe_dmapi early enough in the boot process
++++++ aaa_base.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/aaa_base/etc/init.d/boot.localfs new/aaa_base/etc/init.d/boot.localfs
--- old/aaa_base/etc/init.d/boot.localfs 2006-04-20 15:34:00.000000000 +0200
+++ new/aaa_base/etc/init.d/boot.localfs 2006-05-25 15:07:57.000000000 +0200
@@ -7,8 +7,8 @@
#
### BEGIN INIT INFO
# Provides: boot.localfs
-# Required-Start: boot.udev boot.loadmodules
-# Should-Start: boot.ibmsis boot.md boot.lvm dasd_devfs_compat boot.scsidev boot.multipath
+# Required-Start: boot.udev
+# Should-Start: boot.ibmsis boot.md boot.lvm dasd_devfs_compat boot.scsidev boot.multipath boot.loadmodules
# Required-Stop:
# Default-Start: B
# Default-Stop:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package CASA
checked in at Fri May 26 12:41:23 CEST 2006.
--------
--- CASA/CASA.changes 2006-05-23 04:24:56.000000000 +0200
+++ CASA/CASA.changes 2006-05-26 12:40:40.000000000 +0200
@@ -0,0 +1,8 @@
+--------------------------------------------------------------------
+Thu May 25 09:21:53 MST 2006 - cmashayekhi(a)novell.com
+- casa-gnome-keyring.h was cleaned up.
+
+------------------------------------------------------------------
+Tue May 23 14:15:21 MST 2006 - cmashayekhi(a)novell.com
+- Eliminated the gnome-kering.h header file.
+
@@ -2 +10 @@
-Monday May 22 14:01:31 MST 2006 - cmashayekhi(a)novell.com
+Mon May 22 14:01:31 MST 2006 - cmashayekhi(a)novell.com
Old:
----
CASA-1.6.641.tar.bz2
New:
----
CASA-1.6.658.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ CASA.spec ++++++
--- /var/tmp/diff_new_pack.S1EiBP/_old 2006-05-26 12:40:52.000000000 +0200
+++ /var/tmp/diff_new_pack.S1EiBP/_new 2006-05-26 12:40:52.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package CASA (Version 1.6.641 )
+# spec file for package CASA (Version 1.6.658 )
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -23,7 +23,7 @@
Group: Productivity/Other
Autoreqprov: on
%define bldno 1.1.1
-Version: 1.6.641
+Version: 1.6.658
Release: 1
Summary: Novell Common Authentication Service Adapter (CASA)
Source: %{name}-%{version}.tar.bz2
@@ -256,6 +256,14 @@
%{prefix}/CASA/help/en/*
%changelog -n CASA
+* Thu May 25 2006 - cmashayekhi(a)novell.com
+- casa-gnome-keyring.h was cleaned up.
+* Tue May 23 2006 - cmashayekhi(a)novell.com
+- Eliminated the gnome-kering.h header file.
+* Mon May 22 2006 - cmashayekhi(a)novell.com
+- Fixed dependency cycle between CASA <-> gnome-keyring.
+- Bug 176736. Fixed micasad startup/shutdown process to clean up
+ open files on shutdown and upgrade.
* Thu May 11 2006 - jnorman(a)novell.com
- Bug 174093. Set our process name to CASAManager so gnome-keyring
knows who we are.
@@ -837,8 +845,3 @@
-The image version to 1.5.0
Files:
- Moving from version 1.0.0 to 1.5.0 as per PRD.
-* Tue Jan 01 2000 - nobody(a)suse.de
- Monday May 22 14:01:31 MST 2006 - cmashayekhi(a)novell.com
-- Fixed dependency cycle between CASA <-> gnome-keyring.
-- Bug 176736. Fixed micasad startup/shutdown process to clean up
- open files on shutdown and upgrade.
++++++ CASA-1.6.641.tar.bz2 -> CASA-1.6.658.tar.bz2 ++++++
++++ 2969 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package NetworkManager
checked in at Fri May 26 12:41:16 CEST 2006.
--------
--- NetworkManager/NetworkManager.changes 2006-05-24 17:24:31.000000000 +0200
+++ NetworkManager/NetworkManager.changes 2006-05-25 17:02:52.000000000 +0200
@@ -1,0 +2,6 @@
+Thu May 25 16:58:39 CEST 2006 - rml(a)suse.de
+
+- For ndiswrapper, only use "AP_SCAN 2" if the network is not
+ broadcasting (Novell bug #178210)
+
+-------------------------------------------------------------------
@@ -7 +13 @@
-- Bump version requirement on wpa_supplicant to 0.4.8-14.1 from
+- Bump version requirement on wpa_supplicant to 0.4.8-14 from
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ NetworkManager.spec ++++++
--- /var/tmp/diff_new_pack.S4UhXE/_old 2006-05-26 12:40:50.000000000 +0200
+++ /var/tmp/diff_new_pack.S4UhXE/_new 2006-05-26 12:40:50.000000000 +0200
@@ -31,7 +31,7 @@
URL: http://www.gnome.org/projects/NetworkManager/
Autoreqprov: on
Version: 0.6.2
-Release: 38
+Release: 39
Summary: Network Link Manager and User Applications
Source0: NetworkManager-%{version}.tar.gz
Source1: nm-icons.tar.gz
@@ -261,11 +261,14 @@
%{_libdir}/libnm_glib.so.0.0.0
%changelog -n NetworkManager
+* Thu May 25 2006 - rml(a)suse.de
+- For ndiswrapper, only use "AP_SCAN 2" if the network is not
+ broadcasting (Novell bug #178210)
* Wed May 24 2006 - rml(a)suse.de
- Do not fallback to link-local IP generation on infrastructure
wireless networks, only Ad-Hoc (Novell bug #178403)
- Set and use the current locale directory (Novell bug #169096)
-- Bump version requirement on wpa_supplicant to 0.4.8-14.1 from
+- Bump version requirement on wpa_supplicant to 0.4.8-14 from
0.4.8-9 (Novell bug #175892)
* Mon May 22 2006 - rml(a)suse.de
- Fix ypbind/autofs behavior to never automatically start either,
++++++ nm-wireless-driver-workarounds-rml.patch ++++++
--- /var/tmp/diff_new_pack.S4UhXE/_old 2006-05-26 12:40:51.000000000 +0200
+++ /var/tmp/diff_new_pack.S4UhXE/_new 2006-05-26 12:40:51.000000000 +0200
@@ -133,9 +133,9 @@
- * - The wireless network is non-broadcast or user created
- * - The wireless driver does not support WPA
+ * - The wireless driver does not support "AP_SCAN 1"
-+ * (orinoco, prism54, airo, airo_cs, and ndiswrapper)
-+ * - The wireless network is hidden and the driver does not
-+ * support "AP_SCAN 1" with hidden networks (ipw2100 and ipw2200)
++ * (orinoco, prism54, airo, and airo_cs)
++ * - The wireless network is hidden and the driver does not support
++ * "AP_SCAN 1" with hidden networks (ipw2100, ipw2200, and ndiswrapper)
+ * - The wireless network is user created
+ * - The wireless driver does not support WPA
+ * Otherwise, we prefer "AP_SCAN 1".
@@ -149,7 +149,7 @@
ap_scan = "AP_SCAN 2";
+ else if (!strncmp (kernel_driver, "airo", 4))
+ ap_scan = "AP_SCAN 2";
-+ else if (!strcmp (kernel_driver, "ndiswrapper"))
++ else if (!strcmp (kernel_driver, "ndiswrapper") && !nm_ap_get_broadcast (ap))
+ ap_scan = "AP_SCAN 2";
+ else if (!strcmp (kernel_driver, "ipw2100") || !strcmp (kernel_driver, "ipw2200"))
+ {
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package 3ddiag
checked in at Fri May 26 12:39:49 CEST 2006.
--------
--- 3ddiag/3ddiag.changes 2006-04-19 23:34:49.000000000 +0200
+++ 3ddiag/3ddiag.changes 2006-05-25 20:34:03.000000000 +0200
@@ -1,0 +2,7 @@
+Thu May 25 20:33:22 CEST 2006 - sndirsch(a)suse.de
+
+- nvidia.diff:
+ * also check for the nvidia driver in new updates path
+ (Bug #178853)
+
+-------------------------------------------------------------------
New:
----
nvidia.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ 3ddiag.spec ++++++
--- /var/tmp/diff_new_pack.YuTmw4/_old 2006-05-26 12:39:41.000000000 +0200
+++ /var/tmp/diff_new_pack.YuTmw4/_new 2006-05-26 12:39:41.000000000 +0200
@@ -16,12 +16,13 @@
Group: System/Base
Autoreqprov: on
Version: 0.734
-Release: 1
+Release: 6
Summary: A Tool to Verify the 3D Configuration
Source: 3Ddiag-%{version}.tar.gz
Source5: switch2nv
Source6: switch2nvidia
Source7: 3Ddiag-result
+Patch: nvidia.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -35,6 +36,7 @@
%prep
%setup -n 3Ddiag
+%patch
%build
make CFLAGS="$RPM_OPT_FLAGS"
@@ -70,6 +72,10 @@
/usr/bin/switch2nvidia
%changelog -n 3ddiag
+* Thu May 25 2006 - sndirsch(a)suse.de
+- nvidia.diff:
+ * also check for the nvidia driver in new updates path
+ (Bug #178853)
* Wed Apr 19 2006 - sndirsch(a)suse.de
- 3Ddiag-0.734.tar.gz:
* DRI driver support update (when "--ignoredb" option is used)
++++++ nvidia.diff ++++++
--- 3Ddiag.orig 2006-05-25 20:29:48.180478152 +0200
+++ 3Ddiag 2006-05-25 20:30:42.136057281 +0200
@@ -183,7 +183,7 @@
echo -n " $server ... "
libdir="lib"
test "$(arch)" == "x86_64" && libdir="lib64"
- strings /usr/X11R6/$libdir/modules/drivers/nvidia_drv.so | \
+ strings /usr/X11R6/$libdir/modules/{updates/,}drivers/nvidia_drv.so | \
grep -q "NVIDIA dlloader X Driver"
if test $? -eq 0; then
echo "done."
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package yast2-iscsi-client
checked in at Fri May 26 12:39:33 CEST 2006.
--------
--- yast2-iscsi-client/yast2-iscsi-client.changes 2006-05-04 14:04:20.000000000 +0200
+++ yast2-iscsi-client/yast2-iscsi-client.changes 2006-05-25 18:19:21.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 25 18:17:55 CEST 2006 - mzugec(a)suse.cz
+
+- fixed #149055 - iscsi client login always asks for credentials
+
+-------------------------------------------------------------------
Old:
----
yast2-iscsi-client-2.13.17.tar.bz2
New:
----
yast2-iscsi-client-2.13.18.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-iscsi-client.spec ++++++
--- /var/tmp/diff_new_pack.oRxyeF/_old 2006-05-26 12:39:28.000000000 +0200
+++ /var/tmp/diff_new_pack.oRxyeF/_new 2006-05-26 12:39:28.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-iscsi-client (Version 2.13.17)
+# spec file for package yast2-iscsi-client (Version 2.13.18)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-iscsi-client
-Version: 2.13.17
-Release: 6
+Version: 2.13.18
+Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-iscsi-client-2.13.17.tar.bz2
+Source0: yast2-iscsi-client-2.13.18.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer popt-devel sgml-skel update-desktop-files yast2 yast2-devtools yast2-packagemanager-devel yast2-perl-bindings yast2-testsuite
Requires: yast2
@@ -29,7 +29,7 @@
%prep
-%setup -n yast2-iscsi-client-2.13.17
+%setup -n yast2-iscsi-client-2.13.18
%build
%{prefix}/bin/y2tool y2autoconf
@@ -65,6 +65,8 @@
%doc %{prefix}/share/doc/packages/yast2-iscsi-client
%changelog -n yast2-iscsi-client
+* Thu May 25 2006 - mzugec(a)suse.cz
+- fixed #149055 - iscsi client login always asks for credentials
* Thu May 04 2006 - mzugec(a)suse.cz
- proofread
* Mon Apr 24 2006 - mzugec(a)suse.cz
++++++ yast2-iscsi-client-2.13.17.tar.bz2 -> yast2-iscsi-client-2.13.18.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-iscsi-client-2.13.17/Makefile.am new/yast2-iscsi-client-2.13.18/Makefile.am
--- old/yast2-iscsi-client-2.13.17/Makefile.am 2006-05-04 13:58:15.000000000 +0200
+++ new/yast2-iscsi-client-2.13.18/Makefile.am 2006-05-25 18:03:24.000000000 +0200
@@ -8,6 +8,7 @@
#where devtools are
PREFIX := $(shell pkg-config --print-errors --variable=prefix yast2-devtools)
+Y2TOOL = $(PREFIX)/bin/y2tool
VERSION = $(shell cat $(srcdir)/VERSION)
RPMNAME = $(shell cat $(srcdir)/RPMNAME)
@@ -95,7 +96,7 @@
done
pot:
- y2tool y2makepot -s $(srcdir)
+ $(Y2TOOL) y2makepot -s $(srcdir)
install-pot: pot
@POT_DST=`find -type d -name testsuite -prune , \
@@ -116,7 +117,7 @@
fi
spellcheck: pot
- y2tool pot-spellcheck
+ $(Y2TOOL) pot-spellcheck
# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
@@ -143,20 +144,20 @@
rm -f package/*.bak
rm -f package/*.auto
mv $(RPMNAME)-$(VERSION).tar.bz2 package/
- if ! test -x $(PREFIX)/bin/y2tool; then \
- echo "$(PREFIX)/bin/y2tool: not found."; \
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
echo "You have to install yast2-devtools to making a package"; \
false; \
fi
here=`pwd`; \
cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
- $(PREFIX)/bin/y2tool create-spec < $$i > $$here/package/$${newname} ; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
done
package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
-TAGVERSION = $(PREFIX)/bin/y2tool tagversion
+TAGVERSION = $(Y2TOOL) tagversion
check-up-to-date check-cvs-up-to-date check-svn-up-to-date:
if [ -d $(srcdir)/CVS ]; then \
@@ -200,12 +201,12 @@
fi
check-textdomain:
- $(PREFIX)/bin/y2tool check-textdomain $(srcdir)
+ $(Y2TOOL) check-textdomain $(srcdir)
stable: checkin-stable
checkin-stable: package
- $(PREFIX)/bin/y2tool checkin-stable
+ $(Y2TOOL) checkin-stable
# For po/ modules
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-iscsi-client-2.13.17/Makefile.in new/yast2-iscsi-client-2.13.18/Makefile.in
--- old/yast2-iscsi-client-2.13.17/Makefile.in 2006-05-04 13:58:24.000000000 +0200
+++ new/yast2-iscsi-client-2.13.18/Makefile.in 2006-05-25 18:03:33.000000000 +0200
@@ -198,6 +198,7 @@
#where devtools are
PREFIX := $(shell pkg-config --print-errors --variable=prefix yast2-devtools)
+Y2TOOL = $(PREFIX)/bin/y2tool
SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
@@ -227,7 +228,7 @@
$(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) $(am__append_1)
@CREATE_PKGCONFIG_NOARCH_TRUE@@CREATE_PKGCONFIG_TRUE@pkgconfigdata_DATA = $(RPMNAME).pc
@CREATE_PKGCONFIG_NOARCH_FALSE@@CREATE_PKGCONFIG_TRUE@pkgconfig_DATA = $(RPMNAME).pc
-TAGVERSION = $(PREFIX)/bin/y2tool tagversion
+TAGVERSION = $(Y2TOOL) tagversion
# test ! -d $(srcdir)/po \
# || { $(MAKE) -C po checkpo && $(MAKE) -C po make-pox; }
# No ./SUBDIRS file found - assuming default: All direct subdirs with Makefile.am
@@ -724,7 +725,7 @@
done
pot:
- y2tool y2makepot -s $(srcdir)
+ $(Y2TOOL) y2makepot -s $(srcdir)
install-pot: pot
@POT_DST=`find -type d -name testsuite -prune , \
@@ -745,7 +746,7 @@
fi
spellcheck: pot
- y2tool pot-spellcheck
+ $(Y2TOOL) pot-spellcheck
# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
@@ -772,15 +773,15 @@
rm -f package/*.bak
rm -f package/*.auto
mv $(RPMNAME)-$(VERSION).tar.bz2 package/
- if ! test -x $(PREFIX)/bin/y2tool; then \
- echo "$(PREFIX)/bin/y2tool: not found."; \
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
echo "You have to install yast2-devtools to making a package"; \
false; \
fi
here=`pwd`; \
cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
- $(PREFIX)/bin/y2tool create-spec < $$i > $$here/package/$${newname} ; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
done
package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
@@ -827,12 +828,12 @@
fi
check-textdomain:
- $(PREFIX)/bin/y2tool check-textdomain $(srcdir)
+ $(Y2TOOL) check-textdomain $(srcdir)
stable: checkin-stable
checkin-stable: package
- $(PREFIX)/bin/y2tool checkin-stable
+ $(Y2TOOL) checkin-stable
# For po/ modules
checkpo:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-iscsi-client-2.13.17/VERSION new/yast2-iscsi-client-2.13.18/VERSION
--- old/yast2-iscsi-client-2.13.17/VERSION 2006-04-24 08:37:59.000000000 +0200
+++ new/yast2-iscsi-client-2.13.18/VERSION 2006-05-25 18:14:00.000000000 +0200
@@ -1 +1 @@
-2.13.17
+2.13.18
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-iscsi-client-2.13.17/configure new/yast2-iscsi-client-2.13.18/configure
--- old/yast2-iscsi-client-2.13.17/configure 2006-05-04 13:58:21.000000000 +0200
+++ new/yast2-iscsi-client-2.13.18/configure 2006-05-25 18:03:30.000000000 +0200
@@ -2,7 +2,7 @@
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for yast2-iscsi-client 2.13.17.
#
-# Report bugs to <http://www.suse.de/feedback>.
+# Report bugs to <http://bugs.opensuse.org/>.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
@@ -271,7 +271,7 @@
PACKAGE_TARNAME='yast2-iscsi-client'
PACKAGE_VERSION='2.13.17'
PACKAGE_STRING='yast2-iscsi-client 2.13.17'
-PACKAGE_BUGREPORT='http://www.suse.de/feedback'
+PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
ac_default_prefix=/usr
@@ -812,7 +812,7 @@
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to <http://www.suse.de/feedback>.
+Report bugs to <http://bugs.opensuse.org/>.
_ACEOF
fi
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-iscsi-client-2.13.17/configure.in new/yast2-iscsi-client-2.13.18/configure.in
--- old/yast2-iscsi-client-2.13.17/configure.in 2006-05-04 13:58:15.000000000 +0200
+++ new/yast2-iscsi-client-2.13.18/configure.in 2006-05-25 18:03:24.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-iscsi-client
dnl
-dnl -- This file is generated by y2autoconf - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.13.18 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-iscsi-client, 2.13.17, http://www.suse.de/feedback, yast2-iscsi-client)
+AC_INIT(yast2-iscsi-client, 2.13.17, http://bugs.opensuse.org/, yast2-iscsi-client)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-iscsi-client-2.13.17/src/IscsiClient.ycp new/yast2-iscsi-client-2.13.18/src/IscsiClient.ycp
--- old/yast2-iscsi-client-2.13.17/src/IscsiClient.ycp 2006-04-24 08:05:44.000000000 +0200
+++ new/yast2-iscsi-client-2.13.18/src/IscsiClient.ycp 2006-05-25 18:18:25.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: IscsiClient settings, input and output functions
* Authors: Michal Zugec <mzugec(a)suse.cz>
*
- * $Id: IscsiClient.ycp 30374 2006-04-24 05:55:11Z mzugec $
+ * $Id: IscsiClient.ycp 31156 2006-05-25 16:17:12Z mzugec $
*
* Representation of the configuration of iscsi-client.
* Input and output routines.
@@ -59,6 +59,38 @@
SCR::Write(.etc.iscsid.all, config);
}
+
+global map<string, any> getNode(string rec){
+ map<string, any> cmd = (map<string, any>)SCR::Execute(.target.bash_output, "iscsiadm -S -m node -r $REC", $["REC":rec]);
+// y2internal("getting record ... %1", cmd);
+ if (cmd["exit"]:0!=0) return $[];
+ map<string, any> auth = $[];
+ foreach(string row, splitstring(cmd["stdout"]:"", "\n"), {
+ string key = splitstring(row," = ")[0]:"";
+ string val = splitstring(row," = ")[3]:"";
+ if(val == "<empty>") val="";
+ switch(key){
+ case("node.session.auth.authmethod"):
+ auth["authmethod"]=val;
+ break;
+ case("node.session.auth.username"):
+ auth["username"]=val;
+ break;
+ case("node.session.auth.password"):
+ auth["password"]=val;
+ break;
+ case("node.session.auth.username_in"):
+ auth["username_in"]=val;
+ break;
+ case("node.session.auth.password_in"):
+ auth["password_in"]=val;
+ break;
+ }
+ });
+// y2internal("%1", auth);
+ return auth;
+}
+
// create map from given map in format needed by ini-agent
map<string, any> createMap(map<string, any> old_map, list<string> comments)
{
@@ -194,6 +226,7 @@
y2milestone("reading current settings");
map<string, any> retcode = (map<string, any>)SCR::Execute(.target.bash_output, "iscsiadm -m session");
if (size(retcode["stderr"]:"")>0) return false;
+//y2internal("retcode %1", retcode);
sessions = filter(string row, splitstring(retcode["stdout"]:"", "\n"), {
return ( size(row)>0 && (search(row, "session")==nil) );
});
@@ -263,7 +296,7 @@
global boolean setValue(string record, string name, string value){
y2milestone("set %1 for record %3", name, record);
string command = sformat("iscsiadm -m node -r %1 --op=update --name=%2 --value=%3", record, name, value);
-// y2milestone("execute command - %1", command );
+ y2milestone("execute command - %1", command );
boolean ret = true;
map<string, any> retcode = (map<string, any>) SCR::Execute(.target.bash_output, command);
if (size(retcode["stderr"]:"")>0) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-iscsi-client-2.13.17/src/dialogs.ycp new/yast2-iscsi-client-2.13.18/src/dialogs.ycp
--- old/yast2-iscsi-client-2.13.17/src/dialogs.ycp 2006-04-12 16:34:46.000000000 +0200
+++ new/yast2-iscsi-client-2.13.18/src/dialogs.ycp 2006-05-25 18:03:05.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Dialogs definitions
* Authors: Michal Zugec <mzugec(a)suse.cz>
*
- * $Id: dialogs.ycp 30067 2006-04-12 14:34:10Z mzugec $
+ * $Id: dialogs.ycp 31155 2006-05-25 16:00:19Z mzugec $
*/
{
@@ -141,7 +141,7 @@
`TextEntry(`id(`user_out), _("Username")), `Password(`id(`pass_out), _("Password"))
)
),
- "init" : initDiscAuth,
+ "init" : initConnAuth,
"handle" : handleDiscAuth,
"validate_type" : `function,
"validate_function" : validateConnAuth,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-iscsi-client-2.13.17/src/widgets.ycp new/yast2-iscsi-client-2.13.18/src/widgets.ycp
--- old/yast2-iscsi-client-2.13.17/src/widgets.ycp 2006-05-04 13:57:50.000000000 +0200
+++ new/yast2-iscsi-client-2.13.18/src/widgets.ycp 2006-05-25 18:13:46.000000000 +0200
@@ -32,6 +32,7 @@
}
y2milestone("Time spent: %1 msec", time_spent);
stdout = (list<string>)(SCR::Read(.background.newout));
+//y2internal("stdout %1", stdout);
if (cont_loop) {
return_code = (integer) SCR::Read(.background.status);
if (return_code == 255) {
@@ -197,6 +198,21 @@
setAuthOut(false);
}
+void initConnAuth(string key){
+ setAuthIn(false);
+ setAuthOut(false);
+ map<string, any> auth = IscsiClient::getNode(curr_rec);
+ if (size(auth)>0)
+ {
+// y2internal("%1", auth);
+ UI::ChangeWidget(`id(`user_in),`Value, auth["username_in"]:"" );
+ UI::ChangeWidget(`id(`pass_in),`Value, auth["password_in"]:"" );
+ if ((size(auth["username_in"]:"")>0)&&(size(auth["password_in"]:"")>0)) setAuthOut(true);
+ UI::ChangeWidget(`id(`user_out),`Value, auth["username"]:"" );
+ UI::ChangeWidget(`id(`pass_out),`Value, auth["password"]:"" );
+ if ((size(auth["username"]:"")>0)&&(size(auth["password"]:"")>0)) setAuthOut(true);
+ }
+}
// handle for enable/disable widgets in authentication dialog
symbol handleDiscAuth(string key, map event){
if (event["EventReason"]:"" == "ValueChanged"){
@@ -220,13 +236,13 @@
return nil;
}
-boolean validateDiscAuth(any key, map event){
+global boolean validateDiscAuth(string key, map event){
return checkAuthEntry();
}
// *******************Server Location ***********************
// do discovery to selected portal
-boolean validateServerLocation(any key, map event){
+boolean validateServerLocation(string key, map event){
boolean ret = true;
string ip = tostring(UI::QueryWidget(`hostname, `Value));
string port = tostring(UI::QueryWidget(`port, `Value));
@@ -391,7 +407,7 @@
//***************** connection autentication *******************
// login to target with authentication
-boolean validateConnAuth(any key, map event){
+global boolean validateConnAuth(string key, map event){
boolean ret = true;
boolean auth_none = (boolean) UI::QueryWidget(`id(`auth_none), `Value);
boolean auth_in = (boolean) UI::QueryWidget(`id(`auth_in), `Value);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package yast2-installation
checked in at Fri May 26 12:39:24 CEST 2006.
--------
--- yast2-installation/yast2-installation.changes 2006-05-24 13:23:29.000000000 +0200
+++ yast2-installation/yast2-installation.changes 2006-05-25 08:59:13.000000000 +0200
@@ -1,0 +2,8 @@
+Thu May 25 08:46:56 CEST 2006 - jsrain(a)suse.cz
+
+- added possibility to specify add-on product URL as command-line
+ parameter of add-on.ycp (to run add-on product workflow via
+ autorun.sh)
+- 2.13.114
+
+-------------------------------------------------------------------
Old:
----
yast2-installation-2.13.113.tar.bz2
New:
----
yast2-installation-2.13.114.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.q2srbk/_old 2006-05-26 12:38:57.000000000 +0200
+++ /var/tmp/diff_new_pack.q2srbk/_new 2006-05-26 12:38:57.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-installation (Version 2.13.113)
+# spec file for package yast2-installation (Version 2.13.114)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-installation
-Version: 2.13.113
+Version: 2.13.114
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-installation-2.13.113.tar.bz2
+Source0: yast2-installation-2.13.114.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-country yast2-devtools yast2-testsuite
Requires: yast2 yast2-update
@@ -48,7 +48,7 @@
Arvin Schnell <arvin(a)suse.de>
%prep
-%setup -n yast2-installation-2.13.113
+%setup -n yast2-installation-2.13.114
%build
%{prefix}/bin/y2tool y2autoconf
@@ -111,6 +111,11 @@
/usr/X11R6/share/fvwm/
%changelog -n yast2-installation
+* Thu May 25 2006 - jsrain(a)suse.cz
+- added possibility to specify add-on product URL as command-line
+ parameter of add-on.ycp (to run add-on product workflow via
+ autorun.sh)
+- 2.13.114
* Wed May 24 2006 - jsrain(a)suse.cz
- properly integrate YCP code for add-on product installation in
running system (if YCP code present) (#178311)
++++++ yast2-installation-2.13.113.tar.bz2 -> yast2-installation-2.13.114.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-installation-2.13.113/VERSION new/yast2-installation-2.13.114/VERSION
--- old/yast2-installation-2.13.113/VERSION 2006-05-24 13:09:27.000000000 +0200
+++ new/yast2-installation-2.13.114/VERSION 2006-05-25 08:50:27.000000000 +0200
@@ -1 +1 @@
-2.13.113
+2.13.114
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-installation-2.13.113/configure new/yast2-installation-2.13.114/configure
--- old/yast2-installation-2.13.113/configure 2006-05-24 13:22:14.000000000 +0200
+++ new/yast2-installation-2.13.114/configure 2006-05-25 08:58:04.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for yast2-installation 2.13.113.
+# Generated by GNU Autoconf 2.59 for yast2-installation 2.13.114.
#
# Report bugs to <http://bugs.opensuse.org/>.
#
@@ -269,8 +269,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-installation'
PACKAGE_TARNAME='yast2-installation'
-PACKAGE_VERSION='2.13.113'
-PACKAGE_STRING='yast2-installation 2.13.113'
+PACKAGE_VERSION='2.13.114'
+PACKAGE_STRING='yast2-installation 2.13.114'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -728,7 +728,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-installation 2.13.113 to adapt to many kinds of systems.
+\`configure' configures yast2-installation 2.13.114 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -795,7 +795,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-installation 2.13.113:";;
+ short | recursive ) echo "Configuration of yast2-installation 2.13.114:";;
esac
cat <<\_ACEOF
@@ -908,7 +908,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-installation configure 2.13.113
+yast2-installation configure 2.13.114
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -922,7 +922,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-installation $as_me 2.13.113, which was
+It was created by yast2-installation $as_me 2.13.114, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1652,7 +1652,7 @@
# Define the identity of the package.
PACKAGE='yast2-installation'
- VERSION='2.13.113'
+ VERSION='2.13.114'
cat >>confdefs.h <<_ACEOF
@@ -1863,7 +1863,7 @@
-VERSION="2.13.113"
+VERSION="2.13.114"
RPMNAME="yast2-installation"
MAINTAINER="Jiri Srain <jsrain(a)suse.cz>"
@@ -2906,7 +2906,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-installation $as_me 2.13.113, which was
+This file was extended by yast2-installation $as_me 2.13.114, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -2961,7 +2961,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-installation config.status 2.13.113
+yast2-installation config.status 2.13.114
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-installation-2.13.113/configure.in new/yast2-installation-2.13.114/configure.in
--- old/yast2-installation-2.13.113/configure.in 2006-05-24 13:22:05.000000000 +0200
+++ new/yast2-installation-2.13.114/configure.in 2006-05-25 08:57:56.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.13.18 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-installation, 2.13.113, http://bugs.opensuse.org/, yast2-installation)
+AC_INIT(yast2-installation, 2.13.114, http://bugs.opensuse.org/, yast2-installation)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.13.113"
+VERSION="2.13.114"
RPMNAME="yast2-installation"
MAINTAINER="Jiri Srain <jsrain(a)suse.cz>"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-installation-2.13.113/control.pot new/yast2-installation-2.13.114/control.pot
--- old/yast2-installation-2.13.113/control.pot 2006-05-16 13:34:45.000000000 +0200
+++ new/yast2-installation-2.13.114/control.pot 2006-05-24 15:14:53.000000000 +0200
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-05-16 13:34+0200\n"
+"POT-Creation-Date: 2006-05-24 15:14+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -16,7 +16,7 @@
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: control/control.PROF.glade:63 control/control.glade:63
+#: control/control.PROF.glade:63 control/control.glade:64
msgid ""
"\n"
"<p><b>Congratulations!</b></p>\n"
@@ -31,34 +31,34 @@
#: control/control.PROF.glade:422 control/control.PROF.glade:462
#: control/control.SLD.glade:79 control/control.SLD.glade:137
#: control/control.SLD.glade:431 control/control.SLD.glade:471
-#: control/control.SLES.glade:81 control/control.SLES.glade:127
-#: control/control.SLES.glade:183 control/control.SLES.glade:204
-#: control/control.SLES.glade:542 control/control.SLES.glade:582
-#: control/control.glade:75 control/control.glade:133
-#: control/control.glade:425 control/control.glade:465
+#: control/control.SLES.glade:84 control/control.SLES.glade:130
+#: control/control.SLES.glade:186 control/control.SLES.glade:207
+#: control/control.SLES.glade:545 control/control.SLES.glade:585
+#: control/control.glade:76 control/control.glade:134
+#: control/control.glade:426 control/control.glade:466
msgid "Installation Settings"
msgstr ""
#: control/control.PROF.glade:93 control/control.SLD.glade:98
-#: control/control.SLES.glade:100 control/control.SLES.glade:145
-#: control/control.glade:94
+#: control/control.SLES.glade:103 control/control.SLES.glade:148
+#: control/control.glade:95
msgid "Overview"
msgstr ""
#: control/control.PROF.glade:101 control/control.SLD.glade:106
-#: control/control.SLES.glade:109 control/control.SLES.glade:153
-#: control/control.glade:102
+#: control/control.SLES.glade:112 control/control.SLES.glade:156
+#: control/control.glade:103
msgid "Expert"
msgstr ""
#: control/control.PROF.glade:117 control/control.SLD.glade:123
-#: control/control.SLES.glade:169 control/control.glade:119
+#: control/control.SLES.glade:172 control/control.glade:120
msgid "Update Settings"
msgstr ""
#: control/control.PROF.glade:150 control/control.SLD.glade:157
-#: control/control.SLES.glade:222 control/control.SLES.glade:263
-#: control/control.glade:153
+#: control/control.SLES.glade:225 control/control.SLES.glade:266
+#: control/control.glade:154
msgid "Network Configuration"
msgstr ""
@@ -66,20 +66,20 @@
#: control/control.PROF.glade:663 control/control.PROF.glade:667
#: control/control.SLD.glade:197 control/control.SLD.glade:667
#: control/control.SLD.glade:672 control/control.SLD.glade:676
-#: control/control.SLES.glade:296 control/control.SLES.glade:307
-#: control/control.SLES.glade:316 control/control.SLES.glade:783
-#: control/control.SLES.glade:788 control/control.SLES.glade:792
-#: control/control.glade:193 control/control.glade:653
-#: control/control.glade:658 control/control.glade:662
+#: control/control.SLES.glade:299 control/control.SLES.glade:310
+#: control/control.SLES.glade:319 control/control.SLES.glade:786
+#: control/control.SLES.glade:791 control/control.SLES.glade:795
+#: control/control.glade:194 control/control.glade:654
+#: control/control.glade:659 control/control.glade:663
msgid "Hardware Configuration"
msgstr ""
#: control/control.PROF.glade:209 control/control.PROF.glade:305
#: control/control.PROF.glade:393 control/control.SLD.glade:216
#: control/control.SLD.glade:314 control/control.SLD.glade:402
-#: control/control.SLES.glade:335 control/control.SLES.glade:425
-#: control/control.SLES.glade:513 control/control.glade:212
-#: control/control.glade:308 control/control.glade:396
+#: control/control.SLES.glade:338 control/control.SLES.glade:428
+#: control/control.SLES.glade:516 control/control.glade:213
+#: control/control.glade:309 control/control.glade:397
msgid "Preparation"
msgstr ""
@@ -89,59 +89,59 @@
#: control/control.SLD.glade:222 control/control.SLD.glade:231
#: control/control.SLD.glade:320 control/control.SLD.glade:329
#: control/control.SLD.glade:426 control/control.SLD.glade:466
-#: control/control.SLES.glade:341 control/control.SLES.glade:350
-#: control/control.SLES.glade:431 control/control.SLES.glade:440
-#: control/control.SLES.glade:537 control/control.SLES.glade:577
-#: control/control.glade:218 control/control.glade:227
-#: control/control.glade:314 control/control.glade:323
-#: control/control.glade:420 control/control.glade:460
+#: control/control.SLES.glade:344 control/control.SLES.glade:353
+#: control/control.SLES.glade:434 control/control.SLES.glade:443
+#: control/control.SLES.glade:540 control/control.SLES.glade:580
+#: control/control.glade:219 control/control.glade:228
+#: control/control.glade:315 control/control.glade:324
+#: control/control.glade:421 control/control.glade:461
msgid "Language"
msgstr ""
#: control/control.PROF.glade:230 control/control.PROF.glade:326
#: control/control.SLD.glade:237 control/control.SLD.glade:335
-#: control/control.SLES.glade:356 control/control.SLES.glade:446
-#: control/control.glade:233 control/control.glade:329
+#: control/control.SLES.glade:359 control/control.SLES.glade:449
+#: control/control.glade:234 control/control.glade:330
msgid "License Agreement"
msgstr ""
#: control/control.PROF.glade:236 control/control.PROF.glade:332
#: control/control.SLD.glade:243 control/control.SLD.glade:341
-#: control/control.SLES.glade:362 control/control.SLES.glade:452
-#: control/control.glade:239 control/control.glade:335
+#: control/control.SLES.glade:365 control/control.SLES.glade:455
+#: control/control.glade:240 control/control.glade:336
msgid "Disk Activation"
msgstr ""
#: control/control.PROF.glade:242 control/control.PROF.glade:338
#: control/control.SLD.glade:249 control/control.SLD.glade:347
-#: control/control.SLES.glade:368 control/control.SLES.glade:458
-#: control/control.glade:245 control/control.glade:341
+#: control/control.SLES.glade:371 control/control.SLES.glade:461
+#: control/control.glade:246 control/control.glade:342
msgid "System Analysis"
msgstr ""
#: control/control.PROF.glade:248 control/control.PROF.glade:350
#: control/control.SLD.glade:255 control/control.SLD.glade:359
-#: control/control.SLES.glade:374 control/control.SLES.glade:470
-#: control/control.glade:251 control/control.glade:353
+#: control/control.SLES.glade:377 control/control.SLES.glade:473
+#: control/control.glade:252 control/control.glade:354
msgid "Add-On Products"
msgstr ""
#: control/control.PROF.glade:254 control/control.SLD.glade:261
-#: control/control.SLES.glade:380 control/control.glade:257
+#: control/control.SLES.glade:383 control/control.glade:258
msgid "Time Zone"
msgstr ""
-#: control/control.PROF.glade:263 control/control.glade:266
+#: control/control.PROF.glade:263 control/control.glade:267
msgid "Desktop Selection"
msgstr ""
#: control/control.PROF.glade:270 control/control.SLD.glade:279
-#: control/control.SLES.glade:390 control/control.glade:273
+#: control/control.SLES.glade:393 control/control.glade:274
msgid "Installation"
msgstr ""
#: control/control.PROF.glade:273 control/control.SLD.glade:282
-#: control/control.SLES.glade:393 control/control.glade:276
+#: control/control.SLES.glade:396 control/control.glade:277
msgid "Installation Summary"
msgstr ""
@@ -170,46 +170,46 @@
#: control/control.SLD.glade:721 control/control.SLD.glade:725
#: control/control.SLD.glade:740 control/control.SLD.glade:744
#: control/control.SLD.glade:748 control/control.SLD.glade:752
-#: control/control.SLES.glade:398 control/control.SLES.glade:404
-#: control/control.SLES.glade:408 control/control.SLES.glade:412
-#: control/control.SLES.glade:416 control/control.SLES.glade:547
-#: control/control.SLES.glade:553 control/control.SLES.glade:557
-#: control/control.SLES.glade:561 control/control.SLES.glade:587
-#: control/control.SLES.glade:593 control/control.SLES.glade:597
-#: control/control.SLES.glade:601 control/control.SLES.glade:692
-#: control/control.SLES.glade:696 control/control.SLES.glade:700
-#: control/control.SLES.glade:825 control/control.SLES.glade:829
-#: control/control.SLES.glade:833 control/control.SLES.glade:837
-#: control/control.SLES.glade:841 control/control.SLES.glade:856
-#: control/control.SLES.glade:860 control/control.SLES.glade:864
-#: control/control.SLES.glade:868 control/control.glade:281
-#: control/control.glade:287 control/control.glade:291
-#: control/control.glade:295 control/control.glade:299
-#: control/control.glade:430 control/control.glade:436
-#: control/control.glade:440 control/control.glade:444
-#: control/control.glade:470 control/control.glade:476
-#: control/control.glade:480 control/control.glade:484
-#: control/control.glade:571 control/control.glade:575
-#: control/control.glade:579 control/control.glade:695
-#: control/control.glade:699 control/control.glade:703
-#: control/control.glade:707 control/control.glade:711
-#: control/control.glade:726 control/control.glade:730
-#: control/control.glade:734 control/control.glade:738
+#: control/control.SLES.glade:401 control/control.SLES.glade:407
+#: control/control.SLES.glade:411 control/control.SLES.glade:415
+#: control/control.SLES.glade:419 control/control.SLES.glade:550
+#: control/control.SLES.glade:556 control/control.SLES.glade:560
+#: control/control.SLES.glade:564 control/control.SLES.glade:590
+#: control/control.SLES.glade:596 control/control.SLES.glade:600
+#: control/control.SLES.glade:604 control/control.SLES.glade:695
+#: control/control.SLES.glade:699 control/control.SLES.glade:703
+#: control/control.SLES.glade:828 control/control.SLES.glade:832
+#: control/control.SLES.glade:836 control/control.SLES.glade:840
+#: control/control.SLES.glade:844 control/control.SLES.glade:859
+#: control/control.SLES.glade:863 control/control.SLES.glade:867
+#: control/control.SLES.glade:871 control/control.glade:282
+#: control/control.glade:288 control/control.glade:292
+#: control/control.glade:296 control/control.glade:300
+#: control/control.glade:431 control/control.glade:437
+#: control/control.glade:441 control/control.glade:445
+#: control/control.glade:471 control/control.glade:477
+#: control/control.glade:481 control/control.glade:485
+#: control/control.glade:572 control/control.glade:576
+#: control/control.glade:580 control/control.glade:696
+#: control/control.glade:700 control/control.glade:704
+#: control/control.glade:708 control/control.glade:712
+#: control/control.glade:727 control/control.glade:731
+#: control/control.glade:735 control/control.glade:739
msgid "Perform Installation"
msgstr ""
#: control/control.PROF.glade:344 control/control.SLD.glade:353
-#: control/control.SLES.glade:464 control/control.glade:347
+#: control/control.SLES.glade:467 control/control.glade:348
msgid "System for Update"
msgstr ""
#: control/control.PROF.glade:357 control/control.SLD.glade:366
-#: control/control.SLES.glade:477 control/control.glade:360
+#: control/control.SLES.glade:480 control/control.glade:361
msgid "Update"
msgstr ""
#: control/control.PROF.glade:360 control/control.SLD.glade:369
-#: control/control.SLES.glade:480 control/control.glade:363
+#: control/control.SLES.glade:483 control/control.glade:364
msgid "Update Summary"
msgstr ""
@@ -220,41 +220,41 @@
#: control/control.SLD.glade:380 control/control.SLD.glade:384
#: control/control.SLD.glade:388 control/control.SLD.glade:392
#: control/control.SLD.glade:505 control/control.SLD.glade:509
-#: control/control.SLES.glade:485 control/control.SLES.glade:491
-#: control/control.SLES.glade:495 control/control.SLES.glade:499
-#: control/control.SLES.glade:503 control/control.SLES.glade:616
-#: control/control.SLES.glade:620 control/control.glade:368
-#: control/control.glade:374 control/control.glade:378
-#: control/control.glade:382 control/control.glade:386
-#: control/control.glade:499 control/control.glade:503
+#: control/control.SLES.glade:488 control/control.SLES.glade:494
+#: control/control.SLES.glade:498 control/control.SLES.glade:502
+#: control/control.SLES.glade:506 control/control.SLES.glade:619
+#: control/control.SLES.glade:623 control/control.glade:369
+#: control/control.glade:375 control/control.glade:379
+#: control/control.glade:383 control/control.glade:387
+#: control/control.glade:500 control/control.glade:504
msgid "Perform Update"
msgstr ""
#: control/control.PROF.glade:397 control/control.SLD.glade:406
-#: control/control.SLES.glade:517 control/control.glade:400
+#: control/control.SLES.glade:520 control/control.glade:401
msgid "System Information"
msgstr ""
#: control/control.PROF.glade:401 control/control.SLD.glade:410
-#: control/control.SLES.glade:521 control/control.glade:404
+#: control/control.SLES.glade:524 control/control.glade:405
msgid "Perform Repair"
msgstr ""
#: control/control.PROF.glade:411 control/control.PROF.glade:451
#: control/control.PROF.glade:674 control/control.SLD.glade:420
#: control/control.SLD.glade:460 control/control.SLD.glade:683
-#: control/control.SLES.glade:531 control/control.SLES.glade:571
-#: control/control.SLES.glade:799 control/control.glade:414
-#: control/control.glade:454 control/control.glade:669
+#: control/control.SLES.glade:534 control/control.SLES.glade:574
+#: control/control.SLES.glade:802 control/control.glade:415
+#: control/control.glade:455 control/control.glade:670
msgid "Base Installation"
msgstr ""
#: control/control.PROF.glade:505 control/control.PROF.glade:587
#: control/control.PROF.glade:748 control/control.SLD.glade:514
#: control/control.SLD.glade:596 control/control.SLD.glade:757
-#: control/control.SLES.glade:625 control/control.SLES.glade:707
-#: control/control.SLES.glade:873 control/control.glade:508
-#: control/control.glade:586 control/control.glade:743
+#: control/control.SLES.glade:628 control/control.SLES.glade:710
+#: control/control.SLES.glade:876 control/control.glade:509
+#: control/control.glade:587 control/control.glade:744
msgid "Configuration"
msgstr ""
@@ -264,12 +264,12 @@
#: control/control.SLD.glade:517 control/control.SLD.glade:523
#: control/control.SLD.glade:608 control/control.SLD.glade:613
#: control/control.SLD.glade:617 control/control.SLD.glade:621
-#: control/control.SLES.glade:628 control/control.SLES.glade:634
-#: control/control.SLES.glade:719 control/control.SLES.glade:724
-#: control/control.SLES.glade:728 control/control.SLES.glade:732
-#: control/control.glade:511 control/control.glade:517
-#: control/control.glade:598 control/control.glade:603
-#: control/control.glade:607 control/control.glade:611
+#: control/control.SLES.glade:631 control/control.SLES.glade:637
+#: control/control.SLES.glade:722 control/control.SLES.glade:727
+#: control/control.SLES.glade:731 control/control.SLES.glade:735
+#: control/control.glade:512 control/control.glade:518
+#: control/control.glade:599 control/control.glade:604
+#: control/control.glade:608 control/control.glade:612
msgid "Network"
msgstr ""
@@ -281,63 +281,63 @@
#: control/control.SLD.glade:539 control/control.SLD.glade:545
#: control/control.SLD.glade:551 control/control.SLD.glade:635
#: control/control.SLD.glade:641 control/control.SLD.glade:645
-#: control/control.SLES.glade:650 control/control.SLES.glade:656
-#: control/control.SLES.glade:662 control/control.SLES.glade:746
-#: control/control.SLES.glade:752 control/control.SLES.glade:756
-#: control/control.glade:529 control/control.glade:535
-#: control/control.glade:541 control/control.glade:621
-#: control/control.glade:627 control/control.glade:631
+#: control/control.SLES.glade:653 control/control.SLES.glade:659
+#: control/control.SLES.glade:665 control/control.SLES.glade:749
+#: control/control.SLES.glade:755 control/control.SLES.glade:759
+#: control/control.glade:530 control/control.glade:536
+#: control/control.glade:542 control/control.glade:622
+#: control/control.glade:628 control/control.glade:632
msgid "Online Update"
msgstr ""
#: control/control.PROF.glade:546 control/control.PROF.glade:648
#: control/control.PROF.glade:755 control/control.SLD.glade:555
#: control/control.SLD.glade:657 control/control.SLD.glade:764
-#: control/control.SLES.glade:666 control/control.SLES.glade:773
-#: control/control.SLES.glade:880 control/control.glade:545
-#: control/control.glade:643 control/control.glade:750
+#: control/control.SLES.glade:669 control/control.SLES.glade:776
+#: control/control.SLES.glade:883 control/control.glade:546
+#: control/control.glade:644 control/control.glade:751
msgid "Clean Up"
msgstr ""
#: control/control.PROF.glade:550 control/control.PROF.glade:654
#: control/control.SLD.glade:559 control/control.SLD.glade:663
-#: control/control.SLES.glade:670 control/control.SLES.glade:779
-#: control/control.glade:549 control/control.glade:649
+#: control/control.SLES.glade:673 control/control.SLES.glade:782
+#: control/control.glade:550 control/control.glade:650
msgid "Release Notes"
msgstr ""
#: control/control.PROF.glade:590 control/control.SLD.glade:599
-#: control/control.SLES.glade:710 control/control.glade:589
+#: control/control.SLES.glade:713 control/control.glade:590
msgid "Hostname"
msgstr ""
#: control/control.PROF.glade:595 control/control.SLD.glade:604
-#: control/control.SLES.glade:715 control/control.glade:594
+#: control/control.SLES.glade:718 control/control.glade:595
msgid "Root Password"
msgstr ""
#: control/control.PROF.glade:640 control/control.PROF.glade:644
#: control/control.SLD.glade:649 control/control.SLD.glade:653
-#: control/control.SLES.glade:765 control/control.SLES.glade:769
-#: control/control.glade:635 control/control.glade:639
+#: control/control.SLES.glade:768 control/control.SLES.glade:772
+#: control/control.glade:636 control/control.glade:640
msgid "Users"
msgstr ""
#: control/control.PROF.glade:683 control/control.PROF.glade:689
#: control/control.PROF.glade:693 control/control.SLD.glade:692
#: control/control.SLD.glade:698 control/control.SLD.glade:702
-#: control/control.SLES.glade:808 control/control.SLES.glade:814
-#: control/control.SLES.glade:818 control/control.glade:678
-#: control/control.glade:684 control/control.glade:688
+#: control/control.SLES.glade:811 control/control.SLES.glade:817
+#: control/control.SLES.glade:821 control/control.glade:679
+#: control/control.glade:685 control/control.glade:689
msgid "AutoYaST Settings"
msgstr ""
#: control/control.PROF.glade:751 control/control.SLD.glade:760
-#: control/control.SLES.glade:876 control/control.glade:746
+#: control/control.SLES.glade:879 control/control.glade:747
msgid "System Configuration"
msgstr ""
-#: control/control.SLD.glade:64 control/control.SLES.glade:66
+#: control/control.SLD.glade:64 control/control.SLES.glade:69
msgid ""
"\n"
"<p>\n"
@@ -352,9 +352,9 @@
msgstr ""
#: control/control.SLD.glade:529 control/control.SLD.glade:533
-#: control/control.SLES.glade:640 control/control.SLES.glade:644
-#: control/control.SLES.glade:736 control/control.SLES.glade:740
-#: control/control.glade:523 control/control.glade:615
+#: control/control.SLES.glade:643 control/control.SLES.glade:647
+#: control/control.SLES.glade:739 control/control.SLES.glade:743
+#: control/control.glade:524 control/control.glade:616
msgid "Customer Center"
msgstr ""
@@ -362,6 +362,6 @@
msgid "Update Configuration"
msgstr ""
-#: control/control.SLES.glade:760
+#: control/control.SLES.glade:763
msgid "Service"
msgstr ""
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-installation-2.13.113/installation.pot new/yast2-installation-2.13.114/installation.pot
--- old/yast2-installation-2.13.113/installation.pot 2006-05-16 13:34:45.000000000 +0200
+++ new/yast2-installation-2.13.114/installation.pot 2006-05-24 15:14:54.000000000 +0200
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-05-16 13:34+0200\n"
+"POT-Creation-Date: 2006-05-24 15:14+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -255,7 +255,7 @@
#. placeholder for unknown URL
#: src/clients/add-on_proposal.ycp:27 src/clients/add-on_proposal.ycp:31
#: src/include/add-on-workflow.ycp:416 src/include/add-on-workflow.ycp:421
-#: src/include/add-on-workflow.ycp:786 src/include/add-on-workflow.ycp:792
+#: src/include/add-on-workflow.ycp:809 src/include/add-on-workflow.ycp:815
msgid "Unknown"
msgstr ""
@@ -297,7 +297,7 @@
#. feedback heading
#. main screen heading
#: src/clients/inst_addon_update_sources.ycp:51
-#: src/include/add-on-workflow.ycp:779
+#: src/include/add-on-workflow.ycp:802
msgid "Add-On Product Installation"
msgstr ""
@@ -790,99 +790,99 @@
#. strings for main (wizard) layout
#. Translators: This is title/brand - verify how to translate it correctly
-#: src/clients/inst_suse_register.ycp:66
+#: src/clients/inst_suse_register.ycp:67
msgid "Novell Customer Center Configuration"
msgstr ""
#. Translators: Module Title for the Box
-#: src/clients/inst_suse_register.ycp:69
+#: src/clients/inst_suse_register.ycp:70
msgid "Online Update Configuration"
msgstr ""
-#: src/clients/inst_suse_register.ycp:76
+#: src/clients/inst_suse_register.ycp:77
msgid ""
"Get technical support and product updates and\n"
"manage subscriptions with Novell Customer Center."
msgstr ""
-#: src/clients/inst_suse_register.ycp:80
+#: src/clients/inst_suse_register.ycp:81
msgid "Configure Now (Recommended)"
msgstr ""
-#: src/clients/inst_suse_register.ycp:81
+#: src/clients/inst_suse_register.ycp:82
msgid "Configure Later"
msgstr ""
-#: src/clients/inst_suse_register.ycp:83
+#: src/clients/inst_suse_register.ycp:84
msgid "Include for Convenience"
msgstr ""
#. Translators: Text for UI Label - capitalized
-#: src/clients/inst_suse_register.ycp:84
+#: src/clients/inst_suse_register.ycp:85
#: src/clients/suse_register_auto.ycp:198
msgid "Hardware Profile"
msgstr ""
#. Translators: Text for UI Label - capitalized
-#: src/clients/inst_suse_register.ycp:85
+#: src/clients/inst_suse_register.ycp:86
#: src/clients/suse_register_auto.ycp:200
msgid "Optional Information"
msgstr ""
-#: src/clients/inst_suse_register.ycp:86
+#: src/clients/inst_suse_register.ycp:87
msgid "Registration Code"
msgstr ""
-#: src/clients/inst_suse_register.ycp:87
-#: src/clients/inst_suse_register.ycp:186
+#: src/clients/inst_suse_register.ycp:88
+#: src/clients/inst_suse_register.ycp:187
msgid "Details..."
msgstr ""
#. strings for success popup
-#: src/clients/inst_suse_register.ycp:91
+#: src/clients/inst_suse_register.ycp:92
msgid "Your configuration was successful."
msgstr ""
-#: src/clients/inst_suse_register.ycp:92
+#: src/clients/inst_suse_register.ycp:93
msgid "An update server has been added to your configuration."
msgstr ""
#. strings for manual interaction popup
-#: src/clients/inst_suse_register.ycp:96
+#: src/clients/inst_suse_register.ycp:97
msgid "Manual Interaction Required"
msgstr ""
-#: src/clients/inst_suse_register.ycp:97
+#: src/clients/inst_suse_register.ycp:98
msgid "Needed Information"
msgstr ""
-#: src/clients/inst_suse_register.ycp:98
+#: src/clients/inst_suse_register.ycp:99
msgid "Continue"
msgstr ""
-#: src/clients/inst_suse_register.ycp:100
+#: src/clients/inst_suse_register.ycp:101
msgid ""
"A Web browser will start in which to complete\n"
"the configuration on the opened Web site."
msgstr ""
#. string for show information popup
-#: src/clients/inst_suse_register.ycp:106
+#: src/clients/inst_suse_register.ycp:107
msgid "Registration and Privacy Information"
msgstr ""
-#: src/clients/inst_suse_register.ycp:110
+#: src/clients/inst_suse_register.ycp:111
msgid ""
"The server requires additional system information. Activating \n"
"submission of the hardware profile automatically."
msgstr ""
#. nonroot-message strings
-#: src/clients/inst_suse_register.ycp:115
+#: src/clients/inst_suse_register.ycp:116
msgid "Update Source Issues"
msgstr ""
-#: src/clients/inst_suse_register.ycp:117
+#: src/clients/inst_suse_register.ycp:118
msgid ""
"Registering as a regular user does not include the update source\n"
"in the Online Update YaST module. If you continue and later want \n"
@@ -893,28 +893,28 @@
msgstr ""
#. error messages
-#: src/clients/inst_suse_register.ycp:128
+#: src/clients/inst_suse_register.ycp:129
msgid "Error: Data received is invalid."
msgstr ""
-#: src/clients/inst_suse_register.ycp:129
+#: src/clients/inst_suse_register.ycp:130
msgid "Error: Could not retrieve data."
msgstr ""
-#: src/clients/inst_suse_register.ycp:131
+#: src/clients/inst_suse_register.ycp:132
msgid ""
"No Web browser available.\n"
"Run the suse_register command manually."
msgstr ""
-#: src/clients/inst_suse_register.ycp:135
+#: src/clients/inst_suse_register.ycp:136
msgid ""
"Your registration requires interactive input that is not\n"
"supported in text mode. Run YaST2 in the graphical mode or\n"
"run the suse_register command manually."
msgstr ""
-#: src/clients/inst_suse_register.ycp:143
+#: src/clients/inst_suse_register.ycp:144
msgid ""
"<p>\n"
"Configure your system to enable online updates by registering it with Novell.\n"
@@ -923,7 +923,7 @@
"</p>"
msgstr ""
-#: src/clients/inst_suse_register.ycp:151
+#: src/clients/inst_suse_register.ycp:152
msgid ""
"<p>\n"
"To simplify the registration process, include information from your system\n"
@@ -935,7 +935,7 @@
"</p>"
msgstr ""
-#: src/clients/inst_suse_register.ycp:162
+#: src/clients/inst_suse_register.ycp:163
msgid ""
"<p>\n"
"If you purchased your copy of this product, enable <b>Registration Code</b>\n"
@@ -944,7 +944,7 @@
"</p>"
msgstr ""
-#: src/clients/inst_suse_register.ycp:170
+#: src/clients/inst_suse_register.ycp:171
msgid ""
"<p>\n"
"No information is passed to anyone outside Novell. The data is used for\n"
@@ -955,25 +955,25 @@
msgstr ""
#. further strings
-#: src/clients/inst_suse_register.ycp:183
+#: src/clients/inst_suse_register.ycp:184
msgid "Checking..."
msgstr ""
-#: src/clients/inst_suse_register.ycp:184
-#: src/clients/inst_suse_register.ycp:187
+#: src/clients/inst_suse_register.ycp:185
+#: src/clients/inst_suse_register.ycp:188
msgid "Error"
msgstr ""
-#: src/clients/inst_suse_register.ycp:185
+#: src/clients/inst_suse_register.ycp:186
msgid "An error occurred while connecting to the server."
msgstr ""
-#: src/clients/inst_suse_register.ycp:188
+#: src/clients/inst_suse_register.ycp:189
msgid "Starting browser..."
msgstr ""
#. add update source
-#: src/clients/inst_suse_register.ycp:734
+#: src/clients/inst_suse_register.ycp:742
msgid "Setting up online update source..."
msgstr ""
@@ -1144,7 +1144,7 @@
#. }
#. dialog caption
-#: src/clients/installation.ycp:140 src/modules/AddOnProduct.ycp:917
+#: src/clients/installation.ycp:140 src/modules/AddOnProduct.ycp:920
msgid "Initializing..."
msgstr ""
@@ -1605,7 +1605,7 @@
msgstr ""
#. table cell, %1 is URL, %2 is directory name
-#: src/include/add-on-workflow.ycp:419 src/include/add-on-workflow.ycp:790
+#: src/include/add-on-workflow.ycp:419 src/include/add-on-workflow.ycp:813
#, ycp-format
msgid "URL: %1, Directory: %2"
msgstr ""
@@ -1668,35 +1668,35 @@
msgid "Dependencies of the selected add-on products cannot be fullfilled."
msgstr ""
-#: src/include/add-on-workflow.ycp:795
+#: src/include/add-on-workflow.ycp:818
#, ycp-format
msgid "Product %1"
msgstr ""
#. table header
-#: src/include/add-on-workflow.ycp:800
+#: src/include/add-on-workflow.ycp:823
msgid "Media"
msgstr ""
#. table header
-#: src/include/add-on-workflow.ycp:802
+#: src/include/add-on-workflow.ycp:825
msgid "Product"
msgstr ""
#. message report
-#: src/include/add-on-workflow.ycp:831
+#: src/include/add-on-workflow.ycp:854
msgid "Select a product to delete."
msgstr ""
#. popup error
#. error report
#: src/modules/AddOnProduct.ycp:769 src/modules/AddOnProduct.ycp:790
-#: src/modules/AddOnProduct.ycp:894
+#: src/modules/AddOnProduct.ycp:897
msgid "An error occurred while preparing the installation system."
msgstr ""
#. error report
-#: src/modules/AddOnProduct.ycp:909
+#: src/modules/AddOnProduct.ycp:912
#, ycp-format
msgid "Control file %1 not found on media."
msgstr ""
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-installation-2.13.113/src/clients/add-on.ycp new/yast2-installation-2.13.114/src/clients/add-on.ycp
--- old/yast2-installation-2.13.113/src/clients/add-on.ycp 2006-05-04 13:05:28.000000000 +0200
+++ new/yast2-installation-2.13.114/src/clients/add-on.ycp 2006-05-25 07:55:01.000000000 +0200
@@ -38,8 +38,24 @@
// Initialize current sources
Read();
-symbol ret = RunWizard();
+symbol ret = nil;
+if (size (WFM::Args()) == 0)
+{
+ y2milestone ("Url not specified in the command line, asking user");
+ ret = RunWizard();
+}
+else
+{
+ string url = (string)WFM::Args(0);
+ y2milestone ("Specified URL %1", url);
+ do {
+ createResult = SourceManager::createSource (url);
+ y2milestone ("Source creating result: %1", createResult);
+ } while ( createResult == `again );
+ AddOnProduct::last_ret = `next;
+ ret = RunAutorunWizard ();
+}
if (ret == `next)
{
ret = AddOnProduct::DoInstall ();
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-installation-2.13.113/src/include/add-on-workflow.ycp new/yast2-installation-2.13.114/src/include/add-on-workflow.ycp
--- old/yast2-installation-2.13.113/src/include/add-on-workflow.ycp 2006-05-12 14:04:37.000000000 +0200
+++ new/yast2-installation-2.13.114/src/include/add-on-workflow.ycp 2006-05-24 14:34:05.000000000 +0200
@@ -773,6 +773,29 @@
return Sequencer::Run(aliases, sequence);
}
+symbol RunAutorunWizard() {
+ map aliases = $[
+ "catalog" : ``(CatalogSelect ()),
+ "product" : ``(ProductSelect ()),
+ ];
+
+ map sequence = $[
+ "ws_start" : "catalog",
+ "catalog" : $[
+ `abort : `abort,
+ `next : "product",
+ `finish : `next,
+ ],
+ "product" : $[
+ `abort : `abort,
+ `next : `next,
+ `finish : `next,
+ ],
+ ];
+ return Sequencer::Run(aliases, sequence);
+
+}
+
void Redraw (boolean enable_back, boolean enable_next) {
// main screen heading
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-installation-2.13.113/src/modules/AddOnProduct.ycp new/yast2-installation-2.13.114/src/modules/AddOnProduct.ycp
--- old/yast2-installation-2.13.113/src/modules/AddOnProduct.ycp 2006-05-24 10:28:42.000000000 +0200
+++ new/yast2-installation-2.13.114/src/modules/AddOnProduct.ycp 2006-05-25 08:06:21.000000000 +0200
@@ -857,12 +857,15 @@
global symbol DoInstall() {
// Display /media.1/info.txt if such file exists
// Display license and wait for agreement
+ // Not needed here, license already shown in the workflow
+ /*
boolean license_ret = AcceptedLicenseAndInfoFile(src_id);
if (license_ret != true) {
y2milestone("Removing the current source ID %1", src_id);
Pkg::SourceDelete(src_id);
return nil;
}
+ */
string control = Pkg::SourceProvideOptionalFile (src_id, 1, "/installation.xml");
// Fallback -- Source didn't provide needed controll file
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package desktop-data-SuSE
checked in at Fri May 26 12:38:47 CEST 2006.
--------
--- desktop-data-SuSE/desktop-data-SuSE.changes 2006-04-20 17:16:41.000000000 +0200
+++ desktop-data-SuSE/desktop-data-SuSE.changes 2006-05-26 11:03:46.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 26 11:03:08 CEST 2006 - stbinner(a)suse.de
+
+- remove obsolete CREATE_XDG_MENUS entry from .fillup (#150130)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ desktop-data-SuSE.spec ++++++
--- /var/tmp/diff_new_pack.AjETnq/_old 2006-05-26 12:37:42.000000000 +0200
+++ /var/tmp/diff_new_pack.AjETnq/_new 2006-05-26 12:37:42.000000000 +0200
@@ -13,7 +13,7 @@
Name: desktop-data-SuSE
BuildRequires: perl-RPC-XML update-desktop-files xdg-menu
Version: 10.1
-Release: 27
+Release: 31
Summary: SUSE Theme Files for KDE and GNOME
License: Other License(s), see package, GPL
Group: System/GUI/Other
@@ -92,6 +92,8 @@
/usr/bin/desktop-launch
%changelog -n desktop-data-SuSE
+* Fri May 26 2006 - stbinner(a)suse.de
+- remove obsolete CREATE_XDG_MENUS entry from .fillup (#150130)
* Thu Apr 20 2006 - coolo(a)suse.de
- adding SLED menu files to the -SUSE package, so they get picked
up for translation by collect-desktop-files (#168045)
++++++ desktop-data-SuSE.fillup ++++++
--- desktop-data-SuSE/desktop-data-SuSE.fillup 2006-02-10 14:02:11.000000000 +0100
+++ desktop-data-SuSE/desktop-data-SuSE.fillup 2006-05-26 11:03:06.000000000 +0200
@@ -7,15 +7,3 @@
# in /usr/X11R6/lib/X11/icons/
#
X_MOUSE_CURSOR="crystalwhite"
-
-## Type: boolean
-## Default: true
-## Path: Desktop
-## Description: create XDG menus for other windowmanagers
-## (black, flux, openbox)
-#
-# Should SuSEconfig create XDG menus for other windowmanagers
-# like blackbox, fluxbox, openbox?
-# Possible values are lowercase "true" or "false".
-#
-CREATE_XDG_MENUS="true"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package kernel-source
checked in at Thu May 25 01:18:06 CEST 2006.
--------
--- kernel-source/kernel-bigsmp.changes 2006-05-19 17:51:35.000000000 +0200
+++ kernel-source/kernel-bigsmp.changes 2006-05-24 18:54:22.000000000 +0200
@@ -1,0 +2,141 @@
+Wed May 24 13:13:52 CEST 2006 - agruen(a)suse.de
+
+- Fix the logic that detects when to build a debug package so that
+ it works in the OpenSUSE build service.
+
+-------------------------------------------------------------------
+Tue May 23 23:44:54 CEST 2006 - kkeil(a)suse.de
+
+- patches.drivers/b44-fix_mac_address: b44: fix force mac address
+ before ifconfig up (169703).
+
+-------------------------------------------------------------------
+Tue May 23 15:47:03 CEST 2006 - gregkh(a)suse.de
+
+- Update to 2.6.16.18 (lots of bugfixes and security updates, public and non-public ones)
+ - fs/compat.c: fix 'if (a |= b )' typo
+ - smbus unhiding kills thermal management
+ - PCI quirk: VIA IRQ fixup should only run for VIA southbridges
+ - VIA quirk fixup, additional PCI IDs
+ - Netfilter: do_add_counters race, possible oops or info leak (CVE-2006-0039)
+ - Remove cond_resched in gather_stats()
+ - page migration: Fix fallback behavior for dirty pages
+ - via-rhine: zero pad short packets on Rhine I ethernet cards
+ - Fix udev device creation
+ - smbfs: Fix slab corruption in samba error path
+ - scx200_acb: Fix resource name use after free
+ - limit request_fn recursion
+ - TG3: ethtool always report port is TP.
+ - PCI: correctly allocate return buffers for osc calls
+ - add migratepage address space op to shmem
+ - Fix ptrace_attach()/ptrace_traceme()/de_thread() race
+ - ptrace_attach: fix possible deadlock schenario with irqs
+ - md: Avoid oops when attempting to fix read errors on raid10
+ - NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)
+ - USB: ub oops in block_uevent
+ - selinux: check for failed kmalloc in security_sid_to_context()
+ - fs/locks.c: Fix sys_flock() race
+ - SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
+ - SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)
+
+- patches.drivers/altix-correct-ioc3-port-order.patch: Altix:
+ correct ioc3 port order (176896).
+- patches.drivers/altix-correct-ioc4-port-order.patch: Altix:
+ correct ioc4 port order (176896).
+
+-------------------------------------------------------------------
+Tue May 23 18:05:20 CEST 2006 - trenn(a)suse.de
+
+- patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch:
+ Fix for apic initialization bug using kdump (177741).
+
+-------------------------------------------------------------------
+Tue May 23 17:46:10 CEST 2006 - perex(a)suse.de
+
+- patches.suse/rtnetlink-atomic2.patch: Fix debug traces for
+ bonding (might_sleep) (174843).
+
+-------------------------------------------------------------------
+Tue May 23 17:38:05 CEST 2006 - schwab(a)suse.de
+
+- iosapic-move-irq: fix broken irq affinity [#176697].
+
+-------------------------------------------------------------------
+Tue May 23 16:11:35 CEST 2006 - ak(a)suse.de
+
+- patches.arch/x86_64-bad-addr-boundary: Fix off by one in
+ bad_addr checking in find_e820_area (166022).
+
+-------------------------------------------------------------------
+Tue May 23 14:39:34 CEST 2006 - hare(a)suse.de
+
+- patches.drivers/aic79xx-remove-slave-alloc: Remove
+ slave_alloc() to avoid refcounting problems (#96728)
+
+-------------------------------------------------------------------
+Mon May 22 17:25:04 CEST 2006 - trenn(a)suse.de
+
+- patches.fixes/acpi_ec_dummy.patch: Remove fake EC driver
+ unconditionally (kernel #6111).
+
+-------------------------------------------------------------------
+Mon May 22 16:36:15 CEST 2006 - hare(a)suse.de
+
+- patches.fixes/sd-fix-unknown-size
+ Return '0' for unknown disk sizes (#176780 - LTC23895)
+
+-------------------------------------------------------------------
+Mon May 22 15:17:11 CEST 2006 - hare(a)suse.de
+
+- patches.fixes/fusion-fix-kdump-drvinit
+ Fix LSI Fusion initialisation after kdump (#173275 - LTC23573)
+
+-------------------------------------------------------------------
+Mon May 22 13:03:13 CEST 2006 - hare(a)suse.de
+
+- patches.drivers/open-iscsi-svn.diff
+ Update to svn r584 to really fix machine lockups (#176151)
+- patches.drivers/mptfc-sles10-update
+ Fix several issues with the LSI Fusion FC driver (#173664)
+
+-------------------------------------------------------------------
+Mon May 22 09:17:50 CEST 2006 - hare(a)suse.de
+
+- patches.arch/s390-zfcp-statistics.diff
+- patches.arch/s390-zfcp-statistic-disclaimer.diff
+ Re-add zfcp statistics.
+- Update config files.
+
+-------------------------------------------------------------------
+Sat May 20 02:38:49 CEST 2006 - ak(a)suse.de
+
+- patches.suse/tcp-proc-listen: Fix deadlock
+
+-------------------------------------------------------------------
+Fri May 19 20:54:39 CEST 2006 - gregkh(a)suse.de
+
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs (175786).
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support (175786).
+
+-------------------------------------------------------------------
+Fri May 19 20:54:14 CEST 2006 - gregkh(a)suse.de
+
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs.
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support.
+
+-------------------------------------------------------------------
+Fri May 19 20:28:57 CEST 2006 - gregkh(a)suse.de
+
+- patches.fixes/add-migratepage-address-space-op-to-shmem.patch:
+ [PATCH] add migratepage address space op to shmem (176147).
+- patches.fixes/page-migration-Fix-fallback-behavior-for-dirty-pages.patch:
+ [PATCH] page migration: Fix fallback behavior for dirty pages
+ (176147).
+- patches.fixes/remove-cond_resched-in-gather_stats.patch:
+ [PATCH] Remove cond_resched in gather_stats() (176147).
+
+-------------------------------------------------------------------
kernel-debug.changes: same change
kernel-default.changes: same change
kernel-dummy.changes: same change
kernel-iseries64.changes: same change
kernel-kdump.changes: same change
kernel-ppc64.changes: same change
kernel-s390.changes: same change
kernel-smp.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-um.changes: same change
kernel-xen.changes: same change
kernel-xenpae.changes: same change
New:
----
needed_space_in_mb
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-bigsmp.spec ++++++
--- /var/tmp/diff_new_pack.zPHcNc/_old 2006-05-25 00:57:33.000000000 +0200
+++ /var/tmp/diff_new_pack.zPHcNc/_new 2006-05-25 00:57:33.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kernel-bigsmp (Version 2.6.16.16)
+# spec file for package kernel-bigsmp (Version 2.6.16.18)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -20,8 +20,8 @@
# arch/ia64/scripts/unwcheck.py
BuildRequires: python
%endif
-Version: 2.6.16.16
-Release: 2
+Version: 2.6.16.18
+Release: 1
Summary: Kernel with Multiprocessor Support and PAE
License: GPL
Group: System/Kernel
@@ -29,7 +29,7 @@
#Conflicts: kernel
%else
%if !%build_xen
-Provides: kernel = 2.6.16.16-%release
+Provides: kernel = 2.6.16.18-%release
%endif
%endif
Provides: kernel-bigsmp-nongpl
@@ -97,8 +97,6 @@
%define __find_provides %_sourcedir/find-provides %name
# Will modules not listed in supported.conf abort the kernel build (0/1)?
%define supported_modules_check 0
-# Are we building with debug symbols enabled?
-%define with_debug %(set -- " %optflags "; [ "$1" = "${1/ -g }" ]; echo $? )
%define tolerate_unknown_new_config_options 0
# kABI change tolerance (default in maintenance should be 4, 8 or 15;
# see scripts/kabi-checks)
@@ -113,12 +111,12 @@
-Source Timestamp: 2006/05/19 14:42:27 UTC
+Source Timestamp: 2006/05/24 16:52:45 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then
- echo "The kernel-bigsmp-2.6.16.16.nosrc.rpm package does not contain the" \
- "complete sources. Please install kernel-source-2.6.16.16.src.rpm."
+ echo "The kernel-bigsmp-2.6.16.18.nosrc.rpm package does not contain the" \
+ "complete sources. Please install kernel-source-2.6.16.18.src.rpm."
exit 1
fi
symbols=$(
@@ -181,7 +179,7 @@
MAKE_ARGS="ARCH=$subarch"
EOF
%endif
-%if %with_debug
+%if %{defined __debug_package}
cat >> ../.rpm-defs <<EOF
MAKE_ARGS="\$MAKE_ARGS CONFIG_DEBUG_INFO=y"
EOF
@@ -244,7 +242,7 @@
add_vmlinux()
{
local vmlinux=boot/vmlinux-$KERNELRELEASE
-%if %with_debug
+%if %{defined __debug_package}
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
mkdir -p $(dirname %buildroot/$vmlinux_debug)
cp vmlinux %buildroot/$vmlinux
@@ -448,6 +446,95 @@
%files -f kernel.files
%changelog -n kernel-bigsmp
+* Wed May 24 2006 - agruen(a)suse.de
+- Fix the logic that detects when to build a debug package so that
+ it works in the OpenSUSE build service.
+* Tue May 23 2006 - kkeil(a)suse.de
+- patches.drivers/b44-fix_mac_address: b44: fix force mac address
+ before ifconfig up (169703).
+* Tue May 23 2006 - trenn(a)suse.de
+- patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch:
+ Fix for apic initialization bug using kdump (177741).
+* Tue May 23 2006 - perex(a)suse.de
+- patches.suse/rtnetlink-atomic2.patch: Fix debug traces for
+ bonding (might_sleep) (174843).
+* Tue May 23 2006 - schwab(a)suse.de
+- iosapic-move-irq: fix broken irq affinity [#176697].
+* Tue May 23 2006 - ak(a)suse.de
+- patches.arch/x86_64-bad-addr-boundary: Fix off by one in
+ bad_addr checking in find_e820_area (166022).
+* Tue May 23 2006 - gregkh(a)suse.de
+- Update to 2.6.16.18 (lots of bugfixes and security updates, public and non-public ones)
+- fs/compat.c: fix 'if (a |= b )' typo
+- smbus unhiding kills thermal management
+- PCI quirk: VIA IRQ fixup should only run for VIA southbridges
+- VIA quirk fixup, additional PCI IDs
+- Netfilter: do_add_counters race, possible oops or info leak (CVE-2006-0039)
+- Remove cond_resched in gather_stats()
+- page migration: Fix fallback behavior for dirty pages
+- via-rhine: zero pad short packets on Rhine I ethernet cards
+- Fix udev device creation
+- smbfs: Fix slab corruption in samba error path
+- scx200_acb: Fix resource name use after free
+- limit request_fn recursion
+- TG3: ethtool always report port is TP.
+- PCI: correctly allocate return buffers for osc calls
+- add migratepage address space op to shmem
+- Fix ptrace_attach()/ptrace_traceme()/de_thread() race
+- ptrace_attach: fix possible deadlock schenario with irqs
+- md: Avoid oops when attempting to fix read errors on raid10
+- NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)
+- USB: ub oops in block_uevent
+- selinux: check for failed kmalloc in security_sid_to_context()
+- fs/locks.c: Fix sys_flock() race
+- SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
+- SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)
+- patches.drivers/altix-correct-ioc3-port-order.patch: Altix:
+ correct ioc3 port order (176896).
+- patches.drivers/altix-correct-ioc4-port-order.patch: Altix:
+ correct ioc4 port order (176896).
+* Tue May 23 2006 - hare(a)suse.de
+- patches.drivers/aic79xx-remove-slave-alloc: Remove
+ slave_alloc() to avoid refcounting problems (#96728)
+* Mon May 22 2006 - trenn(a)suse.de
+- patches.fixes/acpi_ec_dummy.patch: Remove fake EC driver
+ unconditionally (kernel #6111).
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/sd-fix-unknown-size
+ Return '0' for unknown disk sizes (#176780 - LTC23895)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/fusion-fix-kdump-drvinit
+ Fix LSI Fusion initialisation after kdump (#173275 - LTC23573)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.drivers/open-iscsi-svn.diff
+ Update to svn r584 to really fix machine lockups (#176151)
+- patches.drivers/mptfc-sles10-update
+ Fix several issues with the LSI Fusion FC driver (#173664)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.arch/s390-zfcp-statistics.diff
+- patches.arch/s390-zfcp-statistic-disclaimer.diff
+ Re-add zfcp statistics.
+- Update config files.
+* Sat May 20 2006 - ak(a)suse.de
+- patches.suse/tcp-proc-listen: Fix deadlock
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs (175786).
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support (175786).
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs.
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support.
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.fixes/add-migratepage-address-space-op-to-shmem.patch:
+ [PATCH] add migratepage address space op to shmem (176147).
+- patches.fixes/page-migration-Fix-fallback-behavior-for-dirty-pages.patch:
+ [PATCH] page migration: Fix fallback behavior for dirty pages
+ (176147).
+- patches.fixes/remove-cond_resched-in-gather_stats.patch:
+ [PATCH] Remove cond_resched in gather_stats() (176147).
* Fri May 19 2006 - kraxel(a)suse.de
- patches.fixes/nf_bridge-header-size: nf_bridge: ethernet header
is 14 not 16 bytes (150410).
kernel-debug.spec: same change
kernel-default.spec: same change
++++++ kernel-dummy.spec ++++++
--- /var/tmp/diff_new_pack.zPHcNc/_old 2006-05-25 00:57:33.000000000 +0200
+++ /var/tmp/diff_new_pack.zPHcNc/_new 2006-05-25 00:57:33.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kernel-dummy (Version 2.6.16.16)
+# spec file for package kernel-dummy (Version 2.6.16.18)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -16,8 +16,8 @@
Autoreqprov: off
Summary: Internal dummy package for synchronizing release numbers
Group: System/Kernel
-Version: 2.6.16.16
-Release: 2
+Version: 2.6.16.18
+Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -27,7 +27,7 @@
--------
Andreas Gruenbacher <agruen(a)suse.de>
-Source Timestamp: 2006/05/19 14:42:27 UTC
+Source Timestamp: 2006/05/24 16:52:45 UTC
%install
@@ -40,6 +40,95 @@
/etc/dummy
%changelog -n kernel-dummy
+* Wed May 24 2006 - agruen(a)suse.de
+- Fix the logic that detects when to build a debug package so that
+ it works in the OpenSUSE build service.
+* Tue May 23 2006 - kkeil(a)suse.de
+- patches.drivers/b44-fix_mac_address: b44: fix force mac address
+ before ifconfig up (169703).
+* Tue May 23 2006 - trenn(a)suse.de
+- patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch:
+ Fix for apic initialization bug using kdump (177741).
+* Tue May 23 2006 - perex(a)suse.de
+- patches.suse/rtnetlink-atomic2.patch: Fix debug traces for
+ bonding (might_sleep) (174843).
+* Tue May 23 2006 - schwab(a)suse.de
+- iosapic-move-irq: fix broken irq affinity [#176697].
+* Tue May 23 2006 - ak(a)suse.de
+- patches.arch/x86_64-bad-addr-boundary: Fix off by one in
+ bad_addr checking in find_e820_area (166022).
+* Tue May 23 2006 - gregkh(a)suse.de
+- Update to 2.6.16.18 (lots of bugfixes and security updates, public and non-public ones)
+- fs/compat.c: fix 'if (a |= b )' typo
+- smbus unhiding kills thermal management
+- PCI quirk: VIA IRQ fixup should only run for VIA southbridges
+- VIA quirk fixup, additional PCI IDs
+- Netfilter: do_add_counters race, possible oops or info leak (CVE-2006-0039)
+- Remove cond_resched in gather_stats()
+- page migration: Fix fallback behavior for dirty pages
+- via-rhine: zero pad short packets on Rhine I ethernet cards
+- Fix udev device creation
+- smbfs: Fix slab corruption in samba error path
+- scx200_acb: Fix resource name use after free
+- limit request_fn recursion
+- TG3: ethtool always report port is TP.
+- PCI: correctly allocate return buffers for osc calls
+- add migratepage address space op to shmem
+- Fix ptrace_attach()/ptrace_traceme()/de_thread() race
+- ptrace_attach: fix possible deadlock schenario with irqs
+- md: Avoid oops when attempting to fix read errors on raid10
+- NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)
+- USB: ub oops in block_uevent
+- selinux: check for failed kmalloc in security_sid_to_context()
+- fs/locks.c: Fix sys_flock() race
+- SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
+- SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)
+- patches.drivers/altix-correct-ioc3-port-order.patch: Altix:
+ correct ioc3 port order (176896).
+- patches.drivers/altix-correct-ioc4-port-order.patch: Altix:
+ correct ioc4 port order (176896).
+* Tue May 23 2006 - hare(a)suse.de
+- patches.drivers/aic79xx-remove-slave-alloc: Remove
+ slave_alloc() to avoid refcounting problems (#96728)
+* Mon May 22 2006 - trenn(a)suse.de
+- patches.fixes/acpi_ec_dummy.patch: Remove fake EC driver
+ unconditionally (kernel #6111).
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/sd-fix-unknown-size
+ Return '0' for unknown disk sizes (#176780 - LTC23895)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/fusion-fix-kdump-drvinit
+ Fix LSI Fusion initialisation after kdump (#173275 - LTC23573)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.drivers/open-iscsi-svn.diff
+ Update to svn r584 to really fix machine lockups (#176151)
+- patches.drivers/mptfc-sles10-update
+ Fix several issues with the LSI Fusion FC driver (#173664)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.arch/s390-zfcp-statistics.diff
+- patches.arch/s390-zfcp-statistic-disclaimer.diff
+ Re-add zfcp statistics.
+- Update config files.
+* Sat May 20 2006 - ak(a)suse.de
+- patches.suse/tcp-proc-listen: Fix deadlock
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs (175786).
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support (175786).
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs.
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support.
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.fixes/add-migratepage-address-space-op-to-shmem.patch:
+ [PATCH] add migratepage address space op to shmem (176147).
+- patches.fixes/page-migration-Fix-fallback-behavior-for-dirty-pages.patch:
+ [PATCH] page migration: Fix fallback behavior for dirty pages
+ (176147).
+- patches.fixes/remove-cond_resched-in-gather_stats.patch:
+ [PATCH] Remove cond_resched in gather_stats() (176147).
* Fri May 19 2006 - kraxel(a)suse.de
- patches.fixes/nf_bridge-header-size: nf_bridge: ethernet header
is 14 not 16 bytes (150410).
++++++ kernel-iseries64.spec ++++++
--- /var/tmp/diff_new_pack.zPHcNc/_old 2006-05-25 00:57:34.000000000 +0200
+++ /var/tmp/diff_new_pack.zPHcNc/_new 2006-05-25 00:57:34.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kernel-iseries64 (Version 2.6.16.16)
+# spec file for package kernel-iseries64 (Version 2.6.16.18)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -20,8 +20,8 @@
# arch/ia64/scripts/unwcheck.py
BuildRequires: python
%endif
-Version: 2.6.16.16
-Release: 2
+Version: 2.6.16.18
+Release: 1
Summary: 64-Bit Kernel for iSeries
License: GPL
Group: System/Kernel
@@ -29,7 +29,7 @@
#Conflicts: kernel
%else
%if !%build_xen
-Provides: kernel = 2.6.16.16-%release
+Provides: kernel = 2.6.16.18-%release
%endif
%endif
Provides: kernel-iseries64-nongpl
@@ -100,8 +100,6 @@
%define __find_provides %_sourcedir/find-provides %name
# Will modules not listed in supported.conf abort the kernel build (0/1)?
%define supported_modules_check 0
-# Are we building with debug symbols enabled?
-%define with_debug %(set -- " %optflags "; [ "$1" = "${1/ -g }" ]; echo $? )
%define tolerate_unknown_new_config_options 0
# kABI change tolerance (default in maintenance should be 4, 8 or 15;
# see scripts/kabi-checks)
@@ -114,12 +112,12 @@
-Source Timestamp: 2006/05/19 14:42:27 UTC
+Source Timestamp: 2006/05/24 16:52:45 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then
- echo "The kernel-iseries64-2.6.16.16.nosrc.rpm package does not contain the" \
- "complete sources. Please install kernel-source-2.6.16.16.src.rpm."
+ echo "The kernel-iseries64-2.6.16.18.nosrc.rpm package does not contain the" \
+ "complete sources. Please install kernel-source-2.6.16.18.src.rpm."
exit 1
fi
symbols=$(
@@ -182,7 +180,7 @@
MAKE_ARGS="ARCH=$subarch"
EOF
%endif
-%if %with_debug
+%if %{defined __debug_package}
cat >> ../.rpm-defs <<EOF
MAKE_ARGS="\$MAKE_ARGS CONFIG_DEBUG_INFO=y"
EOF
@@ -245,7 +243,7 @@
add_vmlinux()
{
local vmlinux=boot/vmlinux-$KERNELRELEASE
-%if %with_debug
+%if %{defined __debug_package}
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
mkdir -p $(dirname %buildroot/$vmlinux_debug)
cp vmlinux %buildroot/$vmlinux
@@ -449,6 +447,95 @@
%files -f kernel.files
%changelog -n kernel-iseries64
+* Wed May 24 2006 - agruen(a)suse.de
+- Fix the logic that detects when to build a debug package so that
+ it works in the OpenSUSE build service.
+* Tue May 23 2006 - kkeil(a)suse.de
+- patches.drivers/b44-fix_mac_address: b44: fix force mac address
+ before ifconfig up (169703).
+* Tue May 23 2006 - trenn(a)suse.de
+- patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch:
+ Fix for apic initialization bug using kdump (177741).
+* Tue May 23 2006 - perex(a)suse.de
+- patches.suse/rtnetlink-atomic2.patch: Fix debug traces for
+ bonding (might_sleep) (174843).
+* Tue May 23 2006 - schwab(a)suse.de
+- iosapic-move-irq: fix broken irq affinity [#176697].
+* Tue May 23 2006 - ak(a)suse.de
+- patches.arch/x86_64-bad-addr-boundary: Fix off by one in
+ bad_addr checking in find_e820_area (166022).
+* Tue May 23 2006 - gregkh(a)suse.de
+- Update to 2.6.16.18 (lots of bugfixes and security updates, public and non-public ones)
+- fs/compat.c: fix 'if (a |= b )' typo
+- smbus unhiding kills thermal management
+- PCI quirk: VIA IRQ fixup should only run for VIA southbridges
+- VIA quirk fixup, additional PCI IDs
+- Netfilter: do_add_counters race, possible oops or info leak (CVE-2006-0039)
+- Remove cond_resched in gather_stats()
+- page migration: Fix fallback behavior for dirty pages
+- via-rhine: zero pad short packets on Rhine I ethernet cards
+- Fix udev device creation
+- smbfs: Fix slab corruption in samba error path
+- scx200_acb: Fix resource name use after free
+- limit request_fn recursion
+- TG3: ethtool always report port is TP.
+- PCI: correctly allocate return buffers for osc calls
+- add migratepage address space op to shmem
+- Fix ptrace_attach()/ptrace_traceme()/de_thread() race
+- ptrace_attach: fix possible deadlock schenario with irqs
+- md: Avoid oops when attempting to fix read errors on raid10
+- NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)
+- USB: ub oops in block_uevent
+- selinux: check for failed kmalloc in security_sid_to_context()
+- fs/locks.c: Fix sys_flock() race
+- SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
+- SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)
+- patches.drivers/altix-correct-ioc3-port-order.patch: Altix:
+ correct ioc3 port order (176896).
+- patches.drivers/altix-correct-ioc4-port-order.patch: Altix:
+ correct ioc4 port order (176896).
+* Tue May 23 2006 - hare(a)suse.de
+- patches.drivers/aic79xx-remove-slave-alloc: Remove
+ slave_alloc() to avoid refcounting problems (#96728)
+* Mon May 22 2006 - trenn(a)suse.de
+- patches.fixes/acpi_ec_dummy.patch: Remove fake EC driver
+ unconditionally (kernel #6111).
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/sd-fix-unknown-size
+ Return '0' for unknown disk sizes (#176780 - LTC23895)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/fusion-fix-kdump-drvinit
+ Fix LSI Fusion initialisation after kdump (#173275 - LTC23573)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.drivers/open-iscsi-svn.diff
+ Update to svn r584 to really fix machine lockups (#176151)
+- patches.drivers/mptfc-sles10-update
+ Fix several issues with the LSI Fusion FC driver (#173664)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.arch/s390-zfcp-statistics.diff
+- patches.arch/s390-zfcp-statistic-disclaimer.diff
+ Re-add zfcp statistics.
+- Update config files.
+* Sat May 20 2006 - ak(a)suse.de
+- patches.suse/tcp-proc-listen: Fix deadlock
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs (175786).
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support (175786).
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs.
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support.
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.fixes/add-migratepage-address-space-op-to-shmem.patch:
+ [PATCH] add migratepage address space op to shmem (176147).
+- patches.fixes/page-migration-Fix-fallback-behavior-for-dirty-pages.patch:
+ [PATCH] page migration: Fix fallback behavior for dirty pages
+ (176147).
+- patches.fixes/remove-cond_resched-in-gather_stats.patch:
+ [PATCH] Remove cond_resched in gather_stats() (176147).
* Fri May 19 2006 - kraxel(a)suse.de
- patches.fixes/nf_bridge-header-size: nf_bridge: ethernet header
is 14 not 16 bytes (150410).
kernel-kdump.spec: same change
++++++ kernel-ppc64.spec ++++++
--- /var/tmp/diff_new_pack.zPHcNc/_old 2006-05-25 00:57:34.000000000 +0200
+++ /var/tmp/diff_new_pack.zPHcNc/_new 2006-05-25 00:57:34.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kernel-ppc64 (Version 2.6.16.16)
+# spec file for package kernel-ppc64 (Version 2.6.16.18)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -19,8 +19,8 @@
# arch/ia64/scripts/unwcheck.py
BuildRequires: python
%endif
-Version: 2.6.16.16
-Release: 2
+Version: 2.6.16.18
+Release: 1
Summary: Kernel for ppc64 Systems
License: GPL, LGPL
Group: System/Kernel
@@ -28,7 +28,7 @@
#Conflicts: kernel
%else
%if !%build_xen
-Provides: kernel = 2.6.16.16-%release
+Provides: kernel = 2.6.16.18-%release
%endif
%endif
Provides: kernel-ppc64-nongpl
@@ -101,8 +101,6 @@
%define __find_provides %_sourcedir/find-provides %name
# Will modules not listed in supported.conf abort the kernel build (0/1)?
%define supported_modules_check 0
-# Are we building with debug symbols enabled?
-%define with_debug %(set -- " %optflags "; [ "$1" = "${1/ -g }" ]; echo $? )
%define tolerate_unknown_new_config_options 0
# kABI change tolerance (default in maintenance should be 4, 8 or 15;
# see scripts/kabi-checks)
@@ -128,12 +126,12 @@
Tom Gall <tom_gall(a)vnet.ibm.com>
see /usr/src/linux-pmac-benh/CREDITS for more details.
-Source Timestamp: 2006/05/19 14:42:27 UTC
+Source Timestamp: 2006/05/24 16:52:45 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then
- echo "The kernel-ppc64-2.6.16.16.nosrc.rpm package does not contain the" \
- "complete sources. Please install kernel-source-2.6.16.16.src.rpm."
+ echo "The kernel-ppc64-2.6.16.18.nosrc.rpm package does not contain the" \
+ "complete sources. Please install kernel-source-2.6.16.18.src.rpm."
exit 1
fi
symbols=$(
@@ -196,7 +194,7 @@
MAKE_ARGS="ARCH=$subarch"
EOF
%endif
-%if %with_debug
+%if %{defined __debug_package}
cat >> ../.rpm-defs <<EOF
MAKE_ARGS="\$MAKE_ARGS CONFIG_DEBUG_INFO=y"
EOF
@@ -259,7 +257,7 @@
add_vmlinux()
{
local vmlinux=boot/vmlinux-$KERNELRELEASE
-%if %with_debug
+%if %{defined __debug_package}
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
mkdir -p $(dirname %buildroot/$vmlinux_debug)
cp vmlinux %buildroot/$vmlinux
@@ -463,6 +461,95 @@
%files -f kernel.files
%changelog -n kernel-ppc64
+* Wed May 24 2006 - agruen(a)suse.de
+- Fix the logic that detects when to build a debug package so that
+ it works in the OpenSUSE build service.
+* Tue May 23 2006 - kkeil(a)suse.de
+- patches.drivers/b44-fix_mac_address: b44: fix force mac address
+ before ifconfig up (169703).
+* Tue May 23 2006 - trenn(a)suse.de
+- patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch:
+ Fix for apic initialization bug using kdump (177741).
+* Tue May 23 2006 - perex(a)suse.de
+- patches.suse/rtnetlink-atomic2.patch: Fix debug traces for
+ bonding (might_sleep) (174843).
+* Tue May 23 2006 - schwab(a)suse.de
+- iosapic-move-irq: fix broken irq affinity [#176697].
+* Tue May 23 2006 - ak(a)suse.de
+- patches.arch/x86_64-bad-addr-boundary: Fix off by one in
+ bad_addr checking in find_e820_area (166022).
+* Tue May 23 2006 - gregkh(a)suse.de
+- Update to 2.6.16.18 (lots of bugfixes and security updates, public and non-public ones)
+- fs/compat.c: fix 'if (a |= b )' typo
+- smbus unhiding kills thermal management
+- PCI quirk: VIA IRQ fixup should only run for VIA southbridges
+- VIA quirk fixup, additional PCI IDs
+- Netfilter: do_add_counters race, possible oops or info leak (CVE-2006-0039)
+- Remove cond_resched in gather_stats()
+- page migration: Fix fallback behavior for dirty pages
+- via-rhine: zero pad short packets on Rhine I ethernet cards
+- Fix udev device creation
+- smbfs: Fix slab corruption in samba error path
+- scx200_acb: Fix resource name use after free
+- limit request_fn recursion
+- TG3: ethtool always report port is TP.
+- PCI: correctly allocate return buffers for osc calls
+- add migratepage address space op to shmem
+- Fix ptrace_attach()/ptrace_traceme()/de_thread() race
+- ptrace_attach: fix possible deadlock schenario with irqs
+- md: Avoid oops when attempting to fix read errors on raid10
+- NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)
+- USB: ub oops in block_uevent
+- selinux: check for failed kmalloc in security_sid_to_context()
+- fs/locks.c: Fix sys_flock() race
+- SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
+- SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)
+- patches.drivers/altix-correct-ioc3-port-order.patch: Altix:
+ correct ioc3 port order (176896).
+- patches.drivers/altix-correct-ioc4-port-order.patch: Altix:
+ correct ioc4 port order (176896).
+* Tue May 23 2006 - hare(a)suse.de
+- patches.drivers/aic79xx-remove-slave-alloc: Remove
+ slave_alloc() to avoid refcounting problems (#96728)
+* Mon May 22 2006 - trenn(a)suse.de
+- patches.fixes/acpi_ec_dummy.patch: Remove fake EC driver
+ unconditionally (kernel #6111).
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/sd-fix-unknown-size
+ Return '0' for unknown disk sizes (#176780 - LTC23895)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/fusion-fix-kdump-drvinit
+ Fix LSI Fusion initialisation after kdump (#173275 - LTC23573)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.drivers/open-iscsi-svn.diff
+ Update to svn r584 to really fix machine lockups (#176151)
+- patches.drivers/mptfc-sles10-update
+ Fix several issues with the LSI Fusion FC driver (#173664)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.arch/s390-zfcp-statistics.diff
+- patches.arch/s390-zfcp-statistic-disclaimer.diff
+ Re-add zfcp statistics.
+- Update config files.
+* Sat May 20 2006 - ak(a)suse.de
+- patches.suse/tcp-proc-listen: Fix deadlock
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs (175786).
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support (175786).
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs.
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support.
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.fixes/add-migratepage-address-space-op-to-shmem.patch:
+ [PATCH] add migratepage address space op to shmem (176147).
+- patches.fixes/page-migration-Fix-fallback-behavior-for-dirty-pages.patch:
+ [PATCH] page migration: Fix fallback behavior for dirty pages
+ (176147).
+- patches.fixes/remove-cond_resched-in-gather_stats.patch:
+ [PATCH] Remove cond_resched in gather_stats() (176147).
* Fri May 19 2006 - kraxel(a)suse.de
- patches.fixes/nf_bridge-header-size: nf_bridge: ethernet header
is 14 not 16 bytes (150410).
++++++ kernel-s390.spec ++++++
--- /var/tmp/diff_new_pack.zPHcNc/_old 2006-05-25 00:57:34.000000000 +0200
+++ /var/tmp/diff_new_pack.zPHcNc/_new 2006-05-25 00:57:34.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kernel-s390 (Version 2.6.16.16)
+# spec file for package kernel-s390 (Version 2.6.16.18)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -20,8 +20,8 @@
# arch/ia64/scripts/unwcheck.py
BuildRequires: python
%endif
-Version: 2.6.16.16
-Release: 2
+Version: 2.6.16.18
+Release: 1
Summary: The Standard Kernel
License: GPL
Group: System/Kernel
@@ -29,7 +29,7 @@
#Conflicts: kernel
%else
%if !%build_xen
-Provides: kernel = 2.6.16.16-%release
+Provides: kernel = 2.6.16.18-%release
%endif
%endif
Provides: kernel-s390-nongpl
@@ -97,8 +97,6 @@
%define __find_provides %_sourcedir/find-provides %name
# Will modules not listed in supported.conf abort the kernel build (0/1)?
%define supported_modules_check 0
-# Are we building with debug symbols enabled?
-%define with_debug %(set -- " %optflags "; [ "$1" = "${1/ -g }" ]; echo $? )
%define tolerate_unknown_new_config_options 0
# kABI change tolerance (default in maintenance should be 4, 8 or 15;
# see scripts/kabi-checks)
@@ -111,12 +109,12 @@
-Source Timestamp: 2006/05/19 14:42:27 UTC
+Source Timestamp: 2006/05/24 16:52:45 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then
- echo "The kernel-s390-2.6.16.16.nosrc.rpm package does not contain the" \
- "complete sources. Please install kernel-source-2.6.16.16.src.rpm."
+ echo "The kernel-s390-2.6.16.18.nosrc.rpm package does not contain the" \
+ "complete sources. Please install kernel-source-2.6.16.18.src.rpm."
exit 1
fi
symbols=$(
@@ -179,7 +177,7 @@
MAKE_ARGS="ARCH=$subarch"
EOF
%endif
-%if %with_debug
+%if %{defined __debug_package}
cat >> ../.rpm-defs <<EOF
MAKE_ARGS="\$MAKE_ARGS CONFIG_DEBUG_INFO=y"
EOF
@@ -242,7 +240,7 @@
add_vmlinux()
{
local vmlinux=boot/vmlinux-$KERNELRELEASE
-%if %with_debug
+%if %{defined __debug_package}
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
mkdir -p $(dirname %buildroot/$vmlinux_debug)
cp vmlinux %buildroot/$vmlinux
@@ -446,6 +444,95 @@
%files -f kernel.files
%changelog -n kernel-s390
+* Wed May 24 2006 - agruen(a)suse.de
+- Fix the logic that detects when to build a debug package so that
+ it works in the OpenSUSE build service.
+* Tue May 23 2006 - kkeil(a)suse.de
+- patches.drivers/b44-fix_mac_address: b44: fix force mac address
+ before ifconfig up (169703).
+* Tue May 23 2006 - trenn(a)suse.de
+- patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch:
+ Fix for apic initialization bug using kdump (177741).
+* Tue May 23 2006 - perex(a)suse.de
+- patches.suse/rtnetlink-atomic2.patch: Fix debug traces for
+ bonding (might_sleep) (174843).
+* Tue May 23 2006 - schwab(a)suse.de
+- iosapic-move-irq: fix broken irq affinity [#176697].
+* Tue May 23 2006 - ak(a)suse.de
+- patches.arch/x86_64-bad-addr-boundary: Fix off by one in
+ bad_addr checking in find_e820_area (166022).
+* Tue May 23 2006 - gregkh(a)suse.de
+- Update to 2.6.16.18 (lots of bugfixes and security updates, public and non-public ones)
+- fs/compat.c: fix 'if (a |= b )' typo
+- smbus unhiding kills thermal management
+- PCI quirk: VIA IRQ fixup should only run for VIA southbridges
+- VIA quirk fixup, additional PCI IDs
+- Netfilter: do_add_counters race, possible oops or info leak (CVE-2006-0039)
+- Remove cond_resched in gather_stats()
+- page migration: Fix fallback behavior for dirty pages
+- via-rhine: zero pad short packets on Rhine I ethernet cards
+- Fix udev device creation
+- smbfs: Fix slab corruption in samba error path
+- scx200_acb: Fix resource name use after free
+- limit request_fn recursion
+- TG3: ethtool always report port is TP.
+- PCI: correctly allocate return buffers for osc calls
+- add migratepage address space op to shmem
+- Fix ptrace_attach()/ptrace_traceme()/de_thread() race
+- ptrace_attach: fix possible deadlock schenario with irqs
+- md: Avoid oops when attempting to fix read errors on raid10
+- NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)
+- USB: ub oops in block_uevent
+- selinux: check for failed kmalloc in security_sid_to_context()
+- fs/locks.c: Fix sys_flock() race
+- SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
+- SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)
+- patches.drivers/altix-correct-ioc3-port-order.patch: Altix:
+ correct ioc3 port order (176896).
+- patches.drivers/altix-correct-ioc4-port-order.patch: Altix:
+ correct ioc4 port order (176896).
+* Tue May 23 2006 - hare(a)suse.de
+- patches.drivers/aic79xx-remove-slave-alloc: Remove
+ slave_alloc() to avoid refcounting problems (#96728)
+* Mon May 22 2006 - trenn(a)suse.de
+- patches.fixes/acpi_ec_dummy.patch: Remove fake EC driver
+ unconditionally (kernel #6111).
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/sd-fix-unknown-size
+ Return '0' for unknown disk sizes (#176780 - LTC23895)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/fusion-fix-kdump-drvinit
+ Fix LSI Fusion initialisation after kdump (#173275 - LTC23573)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.drivers/open-iscsi-svn.diff
+ Update to svn r584 to really fix machine lockups (#176151)
+- patches.drivers/mptfc-sles10-update
+ Fix several issues with the LSI Fusion FC driver (#173664)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.arch/s390-zfcp-statistics.diff
+- patches.arch/s390-zfcp-statistic-disclaimer.diff
+ Re-add zfcp statistics.
+- Update config files.
+* Sat May 20 2006 - ak(a)suse.de
+- patches.suse/tcp-proc-listen: Fix deadlock
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs (175786).
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support (175786).
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs.
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support.
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.fixes/add-migratepage-address-space-op-to-shmem.patch:
+ [PATCH] add migratepage address space op to shmem (176147).
+- patches.fixes/page-migration-Fix-fallback-behavior-for-dirty-pages.patch:
+ [PATCH] page migration: Fix fallback behavior for dirty pages
+ (176147).
+- patches.fixes/remove-cond_resched-in-gather_stats.patch:
+ [PATCH] Remove cond_resched in gather_stats() (176147).
* Fri May 19 2006 - kraxel(a)suse.de
- patches.fixes/nf_bridge-header-size: nf_bridge: ethernet header
is 14 not 16 bytes (150410).
kernel-smp.spec: same change
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.zPHcNc/_old 2006-05-25 00:57:34.000000000 +0200
+++ /var/tmp/diff_new_pack.zPHcNc/_new 2006-05-25 00:57:34.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kernel-source (Version 2.6.16.16)
+# spec file for package kernel-source (Version 2.6.16.18)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -24,8 +24,8 @@
Obsoletes: linux lx-gdt lx-hack lx-suse lx1162_1 lx1162_2 lx1212_1 lx1212_2 lx1213_1 lx1213_2 lx121_1 lx121_2 lx126_1 lx126_2 lx129_1 lx129_2 lx_large kernel_headers lx_suse lx_sus22 lx_sus24
%endif
PreReq: /sbin/insserv /usr/bin/grep /bin/sed /bin/uname /bin/mkdir /bin/cat /bin/ln /bin/rm /etc/rc.status
-Version: 2.6.16.16
-Release: 2
+Version: 2.6.16.18
+Release: 1
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2
Source1: functions.sh
Source2: source-post.sh
@@ -93,7 +93,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2006/05/19 14:42:27 UTC
+Source Timestamp: 2006/05/24 16:52:45 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then
@@ -116,16 +116,16 @@
# Apply the patches needed for this architecture.
%_sourcedir/guards %symbols < %_sourcedir/series.conf \
- > %_builddir/kernel-source-2.6.16.16/kernel-source.patches
-for patch in $(< %_builddir/kernel-source-2.6.16.16/kernel-source.patches); do
- if ! patch -s -E -p1 --no-backup-if-mismatch -i %_builddir/kernel-source-2.6.16.16/$patch; then
+ > %_builddir/kernel-source-2.6.16.18/kernel-source.patches
+for patch in $(< %_builddir/kernel-source-2.6.16.18/kernel-source.patches); do
+ if ! patch -s -E -p1 --no-backup-if-mismatch -i %_builddir/kernel-source-2.6.16.18/$patch; then
echo "*** Patch $patch failed ***"
exit 1
fi
done
-%_sourcedir/install-configs %_sourcedir %_builddir/kernel-source-2.6.16.16 %release
-KERNELRELEASE=2.6.16.16-%release
+%_sourcedir/install-configs %_sourcedir %_builddir/kernel-source-2.6.16.18 %release
+KERNELRELEASE=2.6.16.18-%release
cat > %_builddir/%{name}-%{version}/.rpm-defs <<EOF
KERNELRELEASE=$KERNELRELEASE
SYMBOLS=$symbols
@@ -146,8 +146,8 @@
;;
esac
%_sourcedir/guards %symbols kernel-$flavor < %_sourcedir/series.conf \
- > %_builddir/kernel-source-2.6.16.16/kernel-$flavor.patches
- diff -q %_builddir/kernel-source-2.6.16.16/kernel-{source,$flavor}.patches \
+ > %_builddir/kernel-source-2.6.16.18/kernel-$flavor.patches
+ diff -q %_builddir/kernel-source-2.6.16.18/kernel-{source,$flavor}.patches \
|| continue
o=$RPM_BUILD_ROOT/usr/src/linux-$KERNELRELEASE-obj/$arch/$flavor
mkdir -p $o
@@ -274,6 +274,95 @@
%files -f kernel-source.files
%changelog -n kernel-source
+* Wed May 24 2006 - agruen(a)suse.de
+- Fix the logic that detects when to build a debug package so that
+ it works in the OpenSUSE build service.
+* Tue May 23 2006 - kkeil(a)suse.de
+- patches.drivers/b44-fix_mac_address: b44: fix force mac address
+ before ifconfig up (169703).
+* Tue May 23 2006 - trenn(a)suse.de
+- patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch:
+ Fix for apic initialization bug using kdump (177741).
+* Tue May 23 2006 - perex(a)suse.de
+- patches.suse/rtnetlink-atomic2.patch: Fix debug traces for
+ bonding (might_sleep) (174843).
+* Tue May 23 2006 - schwab(a)suse.de
+- iosapic-move-irq: fix broken irq affinity [#176697].
+* Tue May 23 2006 - ak(a)suse.de
+- patches.arch/x86_64-bad-addr-boundary: Fix off by one in
+ bad_addr checking in find_e820_area (166022).
+* Tue May 23 2006 - gregkh(a)suse.de
+- Update to 2.6.16.18 (lots of bugfixes and security updates, public and non-public ones)
+- fs/compat.c: fix 'if (a |= b )' typo
+- smbus unhiding kills thermal management
+- PCI quirk: VIA IRQ fixup should only run for VIA southbridges
+- VIA quirk fixup, additional PCI IDs
+- Netfilter: do_add_counters race, possible oops or info leak (CVE-2006-0039)
+- Remove cond_resched in gather_stats()
+- page migration: Fix fallback behavior for dirty pages
+- via-rhine: zero pad short packets on Rhine I ethernet cards
+- Fix udev device creation
+- smbfs: Fix slab corruption in samba error path
+- scx200_acb: Fix resource name use after free
+- limit request_fn recursion
+- TG3: ethtool always report port is TP.
+- PCI: correctly allocate return buffers for osc calls
+- add migratepage address space op to shmem
+- Fix ptrace_attach()/ptrace_traceme()/de_thread() race
+- ptrace_attach: fix possible deadlock schenario with irqs
+- md: Avoid oops when attempting to fix read errors on raid10
+- NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)
+- USB: ub oops in block_uevent
+- selinux: check for failed kmalloc in security_sid_to_context()
+- fs/locks.c: Fix sys_flock() race
+- SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
+- SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)
+- patches.drivers/altix-correct-ioc3-port-order.patch: Altix:
+ correct ioc3 port order (176896).
+- patches.drivers/altix-correct-ioc4-port-order.patch: Altix:
+ correct ioc4 port order (176896).
+* Tue May 23 2006 - hare(a)suse.de
+- patches.drivers/aic79xx-remove-slave-alloc: Remove
+ slave_alloc() to avoid refcounting problems (#96728)
+* Mon May 22 2006 - trenn(a)suse.de
+- patches.fixes/acpi_ec_dummy.patch: Remove fake EC driver
+ unconditionally (kernel #6111).
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/sd-fix-unknown-size
+ Return '0' for unknown disk sizes (#176780 - LTC23895)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/fusion-fix-kdump-drvinit
+ Fix LSI Fusion initialisation after kdump (#173275 - LTC23573)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.drivers/open-iscsi-svn.diff
+ Update to svn r584 to really fix machine lockups (#176151)
+- patches.drivers/mptfc-sles10-update
+ Fix several issues with the LSI Fusion FC driver (#173664)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.arch/s390-zfcp-statistics.diff
+- patches.arch/s390-zfcp-statistic-disclaimer.diff
+ Re-add zfcp statistics.
+- Update config files.
+* Sat May 20 2006 - ak(a)suse.de
+- patches.suse/tcp-proc-listen: Fix deadlock
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs (175786).
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support (175786).
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs.
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support.
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.fixes/add-migratepage-address-space-op-to-shmem.patch:
+ [PATCH] add migratepage address space op to shmem (176147).
+- patches.fixes/page-migration-Fix-fallback-behavior-for-dirty-pages.patch:
+ [PATCH] page migration: Fix fallback behavior for dirty pages
+ (176147).
+- patches.fixes/remove-cond_resched-in-gather_stats.patch:
+ [PATCH] Remove cond_resched in gather_stats() (176147).
* Fri May 19 2006 - kraxel(a)suse.de
- patches.fixes/nf_bridge-header-size: nf_bridge: ethernet header
is 14 not 16 bytes (150410).
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.zPHcNc/_old 2006-05-25 00:57:34.000000000 +0200
+++ /var/tmp/diff_new_pack.zPHcNc/_new 2006-05-25 00:57:34.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kernel-syms (Version 2.6.16.16)
+# spec file for package kernel-syms (Version 2.6.16.18)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -48,10 +48,10 @@
Autoreqprov: off
Summary: Kernel Symbol Versions (modversions)
Group: Development/Sources
-Version: 2.6.16.16
-Release: 2
+Version: 2.6.16.18
+Release: 1
Requires: linux
-Requires: kernel-source = 2.6.16.16-%release
+Requires: kernel-source = 2.6.16.18-%release
Source11: arch-symbols
Source12: guards
Source21: config.conf
@@ -84,7 +84,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2006/05/19 14:42:27 UTC
+Source Timestamp: 2006/05/24 16:52:45 UTC
%install
@@ -127,6 +127,95 @@
/boot/symsets-*-*.tar.gz
%changelog -n kernel-syms
+* Wed May 24 2006 - agruen(a)suse.de
+- Fix the logic that detects when to build a debug package so that
+ it works in the OpenSUSE build service.
+* Tue May 23 2006 - kkeil(a)suse.de
+- patches.drivers/b44-fix_mac_address: b44: fix force mac address
+ before ifconfig up (169703).
+* Tue May 23 2006 - trenn(a)suse.de
+- patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch:
+ Fix for apic initialization bug using kdump (177741).
+* Tue May 23 2006 - perex(a)suse.de
+- patches.suse/rtnetlink-atomic2.patch: Fix debug traces for
+ bonding (might_sleep) (174843).
+* Tue May 23 2006 - schwab(a)suse.de
+- iosapic-move-irq: fix broken irq affinity [#176697].
+* Tue May 23 2006 - ak(a)suse.de
+- patches.arch/x86_64-bad-addr-boundary: Fix off by one in
+ bad_addr checking in find_e820_area (166022).
+* Tue May 23 2006 - gregkh(a)suse.de
+- Update to 2.6.16.18 (lots of bugfixes and security updates, public and non-public ones)
+- fs/compat.c: fix 'if (a |= b )' typo
+- smbus unhiding kills thermal management
+- PCI quirk: VIA IRQ fixup should only run for VIA southbridges
+- VIA quirk fixup, additional PCI IDs
+- Netfilter: do_add_counters race, possible oops or info leak (CVE-2006-0039)
+- Remove cond_resched in gather_stats()
+- page migration: Fix fallback behavior for dirty pages
+- via-rhine: zero pad short packets on Rhine I ethernet cards
+- Fix udev device creation
+- smbfs: Fix slab corruption in samba error path
+- scx200_acb: Fix resource name use after free
+- limit request_fn recursion
+- TG3: ethtool always report port is TP.
+- PCI: correctly allocate return buffers for osc calls
+- add migratepage address space op to shmem
+- Fix ptrace_attach()/ptrace_traceme()/de_thread() race
+- ptrace_attach: fix possible deadlock schenario with irqs
+- md: Avoid oops when attempting to fix read errors on raid10
+- NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)
+- USB: ub oops in block_uevent
+- selinux: check for failed kmalloc in security_sid_to_context()
+- fs/locks.c: Fix sys_flock() race
+- SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
+- SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)
+- patches.drivers/altix-correct-ioc3-port-order.patch: Altix:
+ correct ioc3 port order (176896).
+- patches.drivers/altix-correct-ioc4-port-order.patch: Altix:
+ correct ioc4 port order (176896).
+* Tue May 23 2006 - hare(a)suse.de
+- patches.drivers/aic79xx-remove-slave-alloc: Remove
+ slave_alloc() to avoid refcounting problems (#96728)
+* Mon May 22 2006 - trenn(a)suse.de
+- patches.fixes/acpi_ec_dummy.patch: Remove fake EC driver
+ unconditionally (kernel #6111).
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/sd-fix-unknown-size
+ Return '0' for unknown disk sizes (#176780 - LTC23895)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/fusion-fix-kdump-drvinit
+ Fix LSI Fusion initialisation after kdump (#173275 - LTC23573)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.drivers/open-iscsi-svn.diff
+ Update to svn r584 to really fix machine lockups (#176151)
+- patches.drivers/mptfc-sles10-update
+ Fix several issues with the LSI Fusion FC driver (#173664)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.arch/s390-zfcp-statistics.diff
+- patches.arch/s390-zfcp-statistic-disclaimer.diff
+ Re-add zfcp statistics.
+- Update config files.
+* Sat May 20 2006 - ak(a)suse.de
+- patches.suse/tcp-proc-listen: Fix deadlock
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs (175786).
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support (175786).
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs.
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support.
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.fixes/add-migratepage-address-space-op-to-shmem.patch:
+ [PATCH] add migratepage address space op to shmem (176147).
+- patches.fixes/page-migration-Fix-fallback-behavior-for-dirty-pages.patch:
+ [PATCH] page migration: Fix fallback behavior for dirty pages
+ (176147).
+- patches.fixes/remove-cond_resched-in-gather_stats.patch:
+ [PATCH] Remove cond_resched in gather_stats() (176147).
* Fri May 19 2006 - kraxel(a)suse.de
- patches.fixes/nf_bridge-header-size: nf_bridge: ethernet header
is 14 not 16 bytes (150410).
++++++ kernel-um.spec ++++++
--- /var/tmp/diff_new_pack.zPHcNc/_old 2006-05-25 00:57:35.000000000 +0200
+++ /var/tmp/diff_new_pack.zPHcNc/_new 2006-05-25 00:57:35.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kernel-um (Version 2.6.16.16)
+# spec file for package kernel-um (Version 2.6.16.18)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -20,8 +20,8 @@
# arch/ia64/scripts/unwcheck.py
BuildRequires: python
%endif
-Version: 2.6.16.16
-Release: 2
+Version: 2.6.16.18
+Release: 1
Summary: The User Mode Linux kernel.
License: GPL
Group: System/Kernel
@@ -29,7 +29,7 @@
#Conflicts: kernel
%else
%if !%build_xen
-Provides: kernel = 2.6.16.16-%release
+Provides: kernel = 2.6.16.18-%release
%endif
%endif
Provides: kernel-um-nongpl
@@ -97,8 +97,6 @@
%define __find_provides %_sourcedir/find-provides %name
# Will modules not listed in supported.conf abort the kernel build (0/1)?
%define supported_modules_check 0
-# Are we building with debug symbols enabled?
-%define with_debug %(set -- " %optflags "; [ "$1" = "${1/ -g }" ]; echo $? )
%define tolerate_unknown_new_config_options 0
# kABI change tolerance (default in maintenance should be 4, 8 or 15;
# see scripts/kabi-checks)
@@ -114,12 +112,12 @@
-Source Timestamp: 2006/05/19 14:42:27 UTC
+Source Timestamp: 2006/05/24 16:52:45 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then
- echo "The kernel-um-2.6.16.16.nosrc.rpm package does not contain the" \
- "complete sources. Please install kernel-source-2.6.16.16.src.rpm."
+ echo "The kernel-um-2.6.16.18.nosrc.rpm package does not contain the" \
+ "complete sources. Please install kernel-source-2.6.16.18.src.rpm."
exit 1
fi
symbols=$(
@@ -182,7 +180,7 @@
MAKE_ARGS="ARCH=$subarch"
EOF
%endif
-%if %with_debug
+%if %{defined __debug_package}
cat >> ../.rpm-defs <<EOF
MAKE_ARGS="\$MAKE_ARGS CONFIG_DEBUG_INFO=y"
EOF
@@ -245,7 +243,7 @@
add_vmlinux()
{
local vmlinux=boot/vmlinux-$KERNELRELEASE
-%if %with_debug
+%if %{defined __debug_package}
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
mkdir -p $(dirname %buildroot/$vmlinux_debug)
cp vmlinux %buildroot/$vmlinux
@@ -449,6 +447,95 @@
%files -f kernel.files
%changelog -n kernel-um
+* Wed May 24 2006 - agruen(a)suse.de
+- Fix the logic that detects when to build a debug package so that
+ it works in the OpenSUSE build service.
+* Tue May 23 2006 - kkeil(a)suse.de
+- patches.drivers/b44-fix_mac_address: b44: fix force mac address
+ before ifconfig up (169703).
+* Tue May 23 2006 - trenn(a)suse.de
+- patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch:
+ Fix for apic initialization bug using kdump (177741).
+* Tue May 23 2006 - perex(a)suse.de
+- patches.suse/rtnetlink-atomic2.patch: Fix debug traces for
+ bonding (might_sleep) (174843).
+* Tue May 23 2006 - schwab(a)suse.de
+- iosapic-move-irq: fix broken irq affinity [#176697].
+* Tue May 23 2006 - ak(a)suse.de
+- patches.arch/x86_64-bad-addr-boundary: Fix off by one in
+ bad_addr checking in find_e820_area (166022).
+* Tue May 23 2006 - gregkh(a)suse.de
+- Update to 2.6.16.18 (lots of bugfixes and security updates, public and non-public ones)
+- fs/compat.c: fix 'if (a |= b )' typo
+- smbus unhiding kills thermal management
+- PCI quirk: VIA IRQ fixup should only run for VIA southbridges
+- VIA quirk fixup, additional PCI IDs
+- Netfilter: do_add_counters race, possible oops or info leak (CVE-2006-0039)
+- Remove cond_resched in gather_stats()
+- page migration: Fix fallback behavior for dirty pages
+- via-rhine: zero pad short packets on Rhine I ethernet cards
+- Fix udev device creation
+- smbfs: Fix slab corruption in samba error path
+- scx200_acb: Fix resource name use after free
+- limit request_fn recursion
+- TG3: ethtool always report port is TP.
+- PCI: correctly allocate return buffers for osc calls
+- add migratepage address space op to shmem
+- Fix ptrace_attach()/ptrace_traceme()/de_thread() race
+- ptrace_attach: fix possible deadlock schenario with irqs
+- md: Avoid oops when attempting to fix read errors on raid10
+- NETFILTER: SNMP NAT: fix memory corruption (CVE-2006-2444)
+- USB: ub oops in block_uevent
+- selinux: check for failed kmalloc in security_sid_to_context()
+- fs/locks.c: Fix sys_flock() race
+- SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
+- SCTP: Validate the parameter length in HB-ACK chunk (CVE-2006-1857)
+- patches.drivers/altix-correct-ioc3-port-order.patch: Altix:
+ correct ioc3 port order (176896).
+- patches.drivers/altix-correct-ioc4-port-order.patch: Altix:
+ correct ioc4 port order (176896).
+* Tue May 23 2006 - hare(a)suse.de
+- patches.drivers/aic79xx-remove-slave-alloc: Remove
+ slave_alloc() to avoid refcounting problems (#96728)
+* Mon May 22 2006 - trenn(a)suse.de
+- patches.fixes/acpi_ec_dummy.patch: Remove fake EC driver
+ unconditionally (kernel #6111).
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/sd-fix-unknown-size
+ Return '0' for unknown disk sizes (#176780 - LTC23895)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.fixes/fusion-fix-kdump-drvinit
+ Fix LSI Fusion initialisation after kdump (#173275 - LTC23573)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.drivers/open-iscsi-svn.diff
+ Update to svn r584 to really fix machine lockups (#176151)
+- patches.drivers/mptfc-sles10-update
+ Fix several issues with the LSI Fusion FC driver (#173664)
+* Mon May 22 2006 - hare(a)suse.de
+- patches.arch/s390-zfcp-statistics.diff
+- patches.arch/s390-zfcp-statistic-disclaimer.diff
+ Re-add zfcp statistics.
+- Update config files.
+* Sat May 20 2006 - ak(a)suse.de
+- patches.suse/tcp-proc-listen: Fix deadlock
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs (175786).
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support (175786).
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.drivers/ati-sb600-ahci-support.patch: [PATCH] [libata]
+ ahci: add ATI SB600 PCI IDs.
+- patches.drivers/ati-sb600-ide-support.patch: [PATCH] ide:
+ ATI SB600 IDE support.
+* Fri May 19 2006 - gregkh(a)suse.de
+- patches.fixes/add-migratepage-address-space-op-to-shmem.patch:
+ [PATCH] add migratepage address space op to shmem (176147).
+- patches.fixes/page-migration-Fix-fallback-behavior-for-dirty-pages.patch:
+ [PATCH] page migration: Fix fallback behavior for dirty pages
+ (176147).
+- patches.fixes/remove-cond_resched-in-gather_stats.patch:
+ [PATCH] Remove cond_resched in gather_stats() (176147).
* Fri May 19 2006 - kraxel(a)suse.de
- patches.fixes/nf_bridge-header-size: nf_bridge: ethernet header
is 14 not 16 bytes (150410).
kernel-xen.spec: same change
kernel-xenpae.spec: same change
++++++ build-source-timestamp ++++++
--- kernel-source/build-source-timestamp 2006-05-19 17:51:26.000000000 +0200
+++ kernel-source/build-source-timestamp 2006-05-24 18:53:42.000000000 +0200
@@ -1 +1 @@
-2006/05/19 14:42:27 UTC
+2006/05/24 16:52:45 UTC
++++++ config.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/config/s390/default new/config/s390/default
--- old/config/s390/default 2006-05-19 17:51:37.000000000 +0200
+++ new/config/s390/default 2006-05-22 13:32:00.000000000 +0200
@@ -931,10 +931,11 @@
CONFIG_NLS_UTF8=m
#
-# Profiling support
+# Instrumentation Support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m
+CONFIG_STATISTICS=y
#
# Kernel hacking
@@ -1019,3 +1020,4 @@
CONFIG_TEXTSEARCH_KMP=m
CONFIG_TEXTSEARCH_BM=m
CONFIG_TEXTSEARCH_FSM=m
+CONFIG_SGRB=y
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/config/s390/s390 new/config/s390/s390
--- old/config/s390/s390 2006-05-19 17:51:37.000000000 +0200
+++ new/config/s390/s390 2006-05-22 13:32:01.000000000 +0200
@@ -927,10 +927,11 @@
CONFIG_NLS_UTF8=m
#
-# Profiling support
+# Instrumentation Support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m
+CONFIG_STATISTICS=y
#
# Kernel hacking
@@ -1015,3 +1016,4 @@
CONFIG_TEXTSEARCH_KMP=m
CONFIG_TEXTSEARCH_BM=m
CONFIG_TEXTSEARCH_FSM=m
+CONFIG_SGRB=y
++++++ minmem ++++++
--- kernel-source/minmem 2006-05-21 02:11:28.000000000 +0200
+++ kernel-source/minmem 2006-05-24 18:54:08.000000000 +0200
@@ -1 +1 @@
-514000
+1048576
++++++ patches.arch.tar.bz2 ++++++
++++ 4863 lines of diff (skipped)
++++++ patches.drivers.tar.bz2 ++++++
++++ 2694 lines of diff (skipped)
++++++ patches.fixes.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/acpi_ec_dummy.patch new/patches.fixes/acpi_ec_dummy.patch
--- old/patches.fixes/acpi_ec_dummy.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.fixes/acpi_ec_dummy.patch 2006-05-22 17:25:32.000000000 +0200
@@ -0,0 +1,65 @@
+From: Thomas Renninger <trenn(a)suse.de>
+Subject: Remove fake EC driver unconditionally
+Patch-mainline: yes
+References: kernel #6111
+
+acpi-ecdt-uid-hack
+On some boxes ecdt uid may be equal to 0, so do not test for uids equality, so
+that fake handler will be unconditionally removed to allow loading the real one.
+
+Signed-off-by: Jiri Slaby <jirislaby(a)gmail.com>
+Signed-off-by: Thomas Renninger <trenn(a)suse.de>
+
+ drivers/acpi/ec.c | 16 ++++++----------
+ 1 files changed, 6 insertions(+), 10 deletions(-)
+
+diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
+index f339bd4..de95a09 100644
+
+
+--- a/drivers/acpi/ec.c
++++ b/drivers/acpi/ec.c
+@@ -989,7 +989,6 @@ static int acpi_ec_poll_add(struct acpi_
+ int result = 0;
+ acpi_status status = AE_OK;
+ union acpi_ec *ec = NULL;
+- unsigned long uid;
+
+ ACPI_FUNCTION_TRACE("acpi_ec_add");
+
+@@ -1012,10 +1011,9 @@ static int acpi_ec_poll_add(struct acpi_
+ acpi_evaluate_integer(ec->common.handle, "_GLK", NULL,
+ &ec->common.global_lock);
+
+- /* If our UID matches the UID for the ECDT-enumerated EC,
+- we now have the *real* EC info, so kill the makeshift one. */
+- acpi_evaluate_integer(ec->common.handle, "_UID", NULL, &uid);
+- if (ec_ecdt && ec_ecdt->common.uid == uid) {
++ /* XXX we doesn't test uids, because on some boxes ecdt uid = 0, see:
++ http://bugzilla.kernel.org/show_bug.cgi?id=6111 */
++ if (ec_ecdt) {
+ acpi_remove_address_space_handler(ACPI_ROOT_OBJECT,
+ ACPI_ADR_SPACE_EC,
+ &acpi_ec_space_handler);
+@@ -1059,7 +1057,6 @@ static int acpi_ec_intr_add(struct acpi_
+ int result = 0;
+ acpi_status status = AE_OK;
+ union acpi_ec *ec = NULL;
+- unsigned long uid;
+
+ ACPI_FUNCTION_TRACE("acpi_ec_add");
+
+@@ -1085,10 +1082,9 @@ static int acpi_ec_intr_add(struct acpi_
+ acpi_evaluate_integer(ec->common.handle, "_GLK", NULL,
+ &ec->common.global_lock);
+
+- /* If our UID matches the UID for the ECDT-enumerated EC,
+- we now have the *real* EC info, so kill the makeshift one. */
+- acpi_evaluate_integer(ec->common.handle, "_UID", NULL, &uid);
+- if (ec_ecdt && ec_ecdt->common.uid == uid) {
++ /* XXX we doesn't test uids, because on some boxes ecdt uid = 0, see:
++ http://bugzilla.kernel.org/show_bug.cgi?id=6111 */
++ if (ec_ecdt) {
+ acpi_remove_address_space_handler(ACPI_ROOT_OBJECT,
+ ACPI_ADR_SPACE_EC,
+ &acpi_ec_space_handler);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/blk-limit-recursion new/patches.fixes/blk-limit-recursion
--- old/patches.fixes/blk-limit-recursion 2006-05-03 13:44:40.000000000 +0200
+++ new/patches.fixes/blk-limit-recursion 1970-01-01 01:00:00.000000000 +0100
@@ -1,72 +0,0 @@
-From: Jens Axboe <axboe(a)suse.de>
-Subject: Limit recursion of the request handler
-Patch-mainline:
-References: 170315
-
-Don't recurse on block layer requeues, as they are most likely don't
-because of driver/hardware starvation problems and rehitting the queue
-directly from that path then only does harm.
-
-Same for blk_run_queue(), apply same level of 1-deep recursion that
-blk_start_queue() does.
-
-Acked-by:
-Signed-off-by:
-
---- linux-2.6.16/block/elevator.c~ 2006-05-03 13:41:35.000000000 +0200
-+++ linux-2.6.16/block/elevator.c 2006-05-03 13:41:41.000000000 +0200
-@@ -314,6 +314,7 @@ void elv_insert(request_queue_t *q, stru
- {
- struct list_head *pos;
- unsigned ordseq;
-+ int unplug_it = 1;
-
- rq->q = q;
-
-@@ -378,6 +379,11 @@ void elv_insert(request_queue_t *q, stru
- }
-
- list_add_tail(&rq->queuelist, pos);
-+ /*
-+ * most requeues happen because of a busy condition, don't
-+ * force unplug of the queue for that case.
-+ */
-+ unplug_it = 0;
- break;
-
- default:
-@@ -386,7 +392,7 @@ void elv_insert(request_queue_t *q, stru
- BUG();
- }
-
-- if (blk_queue_plugged(q)) {
-+ if (unplug_it && blk_queue_plugged(q)) {
- int nrq = q->rq.count[READ] + q->rq.count[WRITE]
- - q->in_flight;
-
---- linux-2.6.16/block/ll_rw_blk.c~ 2006-05-03 13:41:38.000000000 +0200
-+++ linux-2.6.16/block/ll_rw_blk.c 2006-05-03 13:41:41.000000000 +0200
-@@ -1722,8 +1722,21 @@ void blk_run_queue(struct request_queue
-
- spin_lock_irqsave(q->queue_lock, flags);
- blk_remove_plug(q);
-- if (!elv_queue_empty(q))
-- q->request_fn(q);
-+
-+ /*
-+ * Only recurse once to avoid overrunning the stack, let the unplug
-+ * handling reinvoke the handler shortly if we already got there.
-+ */
-+ if (!elv_queue_empty(q)) {
-+ if (!test_and_set_bit(QUEUE_FLAG_REENTER, &q->queue_flags)) {
-+ q->request_fn(q);
-+ clear_bit(QUEUE_FLAG_REENTER, &q->queue_flags);
-+ } else {
-+ blk_plug_device(q);
-+ kblockd_schedule_work(&q->unplug_work);
-+ }
-+ }
-+
- spin_unlock_irqrestore(q->queue_lock, flags);
- }
- EXPORT_SYMBOL(blk_run_queue);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/compat_sys_ppoll-typo.patch new/patches.fixes/compat_sys_ppoll-typo.patch
--- old/patches.fixes/compat_sys_ppoll-typo.patch 2006-05-17 10:18:57.000000000 +0200
+++ new/patches.fixes/compat_sys_ppoll-typo.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-Subject: [PATCH] fs/compat.c: fix 'if (a |= b )' typo
-From: Alexey Dobriyan <adobriyan(a)gmail.com>
-X-Git-Commit: 3835a9bd07778d87dea37fbf190f70883515e8fc
-
-Mentioned by Mark Armbrust somewhere on Usenet.
-
-
-Signed-off-by: Olaf Hering <olh(a)suse.de>
-
- fs/compat.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: linux-2.6.16/fs/compat.c
-===================================================================
---- linux-2.6.16.orig/fs/compat.c
-+++ linux-2.6.16/fs/compat.c
-@@ -1901,7 +1901,7 @@ asmlinkage long compat_sys_ppoll(struct
- }
-
- if (sigmask) {
-- if (sigsetsize |= sizeof(compat_sigset_t))
-+ if (sigsetsize != sizeof(compat_sigset_t))
- return -EINVAL;
- if (copy_from_user(&ss32, sigmask, sizeof(ss32)))
- return -EFAULT;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/ethtool-always-report-port-is-TP-on-tg3 new/patches.fixes/ethtool-always-report-port-is-TP-on-tg3
--- old/patches.fixes/ethtool-always-report-port-is-TP-on-tg3 2006-05-16 13:44:17.000000000 +0200
+++ new/patches.fixes/ethtool-always-report-port-is-TP-on-tg3 1970-01-01 01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-From: Karsten Keil <kkeil(a)suse.de>
-Date: Fri May 12 11:59:11 2006 +0200
-Subject: [PATCH] ethtool always report port is TP on tg3
-Reference: 170869
-Is-Mainline: 2.6.17
-
-Even with fiber cards ethtool reports that the connected port is TP,
-the patch fix this.
-
-Signed-off-by: Karsten Keil <kkeil(a)suse.de>
----
-
- drivers/net/tg3.c | 8 +++++---
- 1 files changed, 5 insertions(+), 3 deletions(-)
-
-5ed8e79c778ee803e44a325a1e15c0cb3f52d0ff
-diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
-index beeb612..0b5bc93 100644
---- a/drivers/net/tg3.c
-+++ b/drivers/net/tg3.c
-@@ -7653,21 +7653,23 @@ static int tg3_get_settings(struct net_d
- cmd->supported |= (SUPPORTED_1000baseT_Half |
- SUPPORTED_1000baseT_Full);
-
-- if (!(tp->tg3_flags2 & TG3_FLG2_ANY_SERDES))
-+ if (!(tp->tg3_flags2 & TG3_FLG2_ANY_SERDES)) {
- cmd->supported |= (SUPPORTED_100baseT_Half |
- SUPPORTED_100baseT_Full |
- SUPPORTED_10baseT_Half |
- SUPPORTED_10baseT_Full |
- SUPPORTED_MII);
-- else
-+ cmd->port = PORT_TP;
-+ } else {
- cmd->supported |= SUPPORTED_FIBRE;
-+ cmd->port = PORT_FIBRE;
-+ }
-
- cmd->advertising = tp->link_config.advertising;
- if (netif_running(dev)) {
- cmd->speed = tp->link_config.active_speed;
- cmd->duplex = tp->link_config.active_duplex;
- }
-- cmd->port = 0;
- cmd->phy_address = PHY_ADDR;
- cmd->transceiver = 0;
- cmd->autoneg = tp->link_config.autoneg;
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/fs-locks.c-Fix-sys_flock-race.patch new/patches.fixes/fs-locks.c-Fix-sys_flock-race.patch
--- old/patches.fixes/fs-locks.c-Fix-sys_flock-race.patch 2006-05-07 00:45:17.000000000 +0200
+++ new/patches.fixes/fs-locks.c-Fix-sys_flock-race.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,116 +0,0 @@
-From nobody Mon Sep 17 00:00:00 2001
-From: Trond Myklebust <Trond.Myklebust(a)netapp.com>
-Date: Fri, 31 Mar 2006 02:30:55 -0800
-Subject: [PATCH] fs/locks.c: Fix sys_flock() race
-References: 173001
-Patch-mainline: 2.6.17-rc1
-
-sys_flock() currently has a race which can result in a double free in the
-multi-thread case.
-
-Thread 1 Thread 2
-
-sys_flock(file, LOCK_EX)
- sys_flock(file, LOCK_UN)
-
-If Thread 2 removes the lock from inode->i_lock before Thread 1 tests for
-list_empty(&lock->fl_link) at the end of sys_flock, then both threads will
-end up calling locks_free_lock for the same lock.
-
-Fix is to make flock_lock_file() do the same as posix_lock_file(), namely
-to make a copy of the request, so that the caller can always free the lock.
-
-This also has the side-effect of fixing up a reference problem in the
-lockd handling of flock.
-
-Signed-off-by: Trond Myklebust <Trond.Myklebust(a)netapp.com>
-Signed-off-by: Andrew Morton <akpm(a)osdl.org>
-Signed-off-by: Linus Torvalds <torvalds(a)osdl.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de>
-
----
- fs/locks.c | 30 ++++++++++++++++--------------
- 1 file changed, 16 insertions(+), 14 deletions(-)
-
---- linux-2.6.16.13.orig/fs/locks.c
-+++ linux-2.6.16.13/fs/locks.c
-@@ -712,8 +712,9 @@ EXPORT_SYMBOL(posix_locks_deadlock);
- * at the head of the list, but that's secret knowledge known only to
- * flock_lock_file and posix_lock_file.
- */
--static int flock_lock_file(struct file *filp, struct file_lock *new_fl)
-+static int flock_lock_file(struct file *filp, struct file_lock *request)
- {
-+ struct file_lock *new_fl = NULL;
- struct file_lock **before;
- struct inode * inode = filp->f_dentry->d_inode;
- int error = 0;
-@@ -728,17 +729,19 @@ static int flock_lock_file(struct file *
- continue;
- if (filp != fl->fl_file)
- continue;
-- if (new_fl->fl_type == fl->fl_type)
-+ if (request->fl_type == fl->fl_type)
- goto out;
- found = 1;
- locks_delete_lock(before);
- break;
- }
-- unlock_kernel();
-
-- if (new_fl->fl_type == F_UNLCK)
-- return 0;
-+ if (request->fl_type == F_UNLCK)
-+ goto out;
-
-+ new_fl = locks_alloc_lock();
-+ if (new_fl == NULL)
-+ goto out;
- /*
- * If a higher-priority process was blocked on the old file lock,
- * give it the opportunity to lock the file.
-@@ -746,26 +749,27 @@ static int flock_lock_file(struct file *
- if (found)
- cond_resched();
-
-- lock_kernel();
- for_each_lock(inode, before) {
- struct file_lock *fl = *before;
- if (IS_POSIX(fl))
- break;
- if (IS_LEASE(fl))
- continue;
-- if (!flock_locks_conflict(new_fl, fl))
-+ if (!flock_locks_conflict(request, fl))
- continue;
- error = -EAGAIN;
-- if (new_fl->fl_flags & FL_SLEEP) {
-- locks_insert_block(fl, new_fl);
-- }
-+ if (request->fl_flags & FL_SLEEP)
-+ locks_insert_block(fl, request);
- goto out;
- }
-+ locks_copy_lock(new_fl, request);
- locks_insert_lock(&inode->i_flock, new_fl);
-- error = 0;
-+ new_fl = NULL;
-
- out:
- unlock_kernel();
-+ if (new_fl)
-+ locks_free_lock(new_fl);
- return error;
- }
-
-@@ -1529,9 +1533,7 @@ asmlinkage long sys_flock(unsigned int f
- error = flock_lock_file_wait(filp, lock);
-
- out_free:
-- if (list_empty(&lock->fl_link)) {
-- locks_free_lock(lock);
-- }
-+ locks_free_lock(lock);
-
- out_putf:
- fput(filp);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/fusion-fix-kdump-drvinit new/patches.fixes/fusion-fix-kdump-drvinit
--- old/patches.fixes/fusion-fix-kdump-drvinit 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.fixes/fusion-fix-kdump-drvinit 2006-05-22 15:20:01.000000000 +0200
@@ -0,0 +1,154 @@
+From: Vivek Goyal <vgoyal(a)in.ibm.com>
+Subject: System hung while trying to boot to the second kernel after
+ triggering a dump
+References: #173275 - LTC23573
+Patch-Mainline: 2.6.17-mm
+
+MPT fusion driver initialization fails while second kernel is booting,
+after a system crash (if kdump kernel is configured). Oops message is
+pasted below. I have attached a patch to fix the issue. Your suggestions
+are welcome.
+
+
+Signed-off-by: Vivek Goyal <vgoyal(a)in.ibm.com>
+Cc: "Moore, Eric Dean" <Eric.Moore(a)lsil.com>
+Signed-off-by: Andrew Morton <akpm(a)osdl.org>
+Signed-off-by: Maneesh Soni <maneesh(a)in.ibm.com>
+Signed-off-by: Eric Moore <emoore(a)lsil.com>
+Signed-off-by: Hannes Reinecke <hare(a)suse.de>
+---
+
+diff -urNp linux-2.6.16.13-20060504150636/drivers/message/fusion/mptbase.c linux-2.6.16.13-20060504150636-23573/drivers/message/fusion/mptbase.c
+--- linux-2.6.16.13-20060504150636/drivers/message/fusion/mptbase.c 2006-05-05 16:41:57.000000000 +0530
++++ linux-2.6.16.13-20060504150636-23573/drivers/message/fusion/mptbase.c 2006-05-05 16:49:24.000000000 +0530
+@@ -1386,39 +1386,6 @@ mpt_attach(struct pci_dev *pdev, const s
+ /* Set lookup ptr. */
+ list_add_tail(&ioc->list, &ioc_list);
+
+- ioc->pci_irq = -1;
+- if (pdev->irq) {
+- if (mpt_msi_enable && !pci_enable_msi(pdev))
+- printk(MYIOC_s_INFO_FMT "PCI-MSI enabled\n", ioc->name);
+-
+- r = request_irq(pdev->irq, mpt_interrupt, SA_SHIRQ, ioc->name, ioc);
+-
+- if (r < 0) {
+-#ifndef __sparc__
+- printk(MYIOC_s_ERR_FMT "Unable to allocate interrupt %d!\n",
+- ioc->name, pdev->irq);
+-#else
+- printk(MYIOC_s_ERR_FMT "Unable to allocate interrupt %s!\n",
+- ioc->name, __irq_itoa(pdev->irq));
+-#endif
+- list_del(&ioc->list);
+- iounmap(mem);
+- kfree(ioc);
+- return -EBUSY;
+- }
+-
+- ioc->pci_irq = pdev->irq;
+-
+- pci_set_master(pdev); /* ?? */
+- pci_set_drvdata(pdev, ioc);
+-
+-#ifndef __sparc__
+- dprintk((KERN_INFO MYNAM ": %s installed at interrupt %d\n", ioc->name, pdev->irq));
+-#else
+- dprintk((KERN_INFO MYNAM ": %s installed at interrupt %s\n", ioc->name, __irq_itoa(pdev->irq)));
+-#endif
+- }
+-
+ /* Check for "bound ports" (929, 929X, 1030, 1035) to reduce redundant resets.
+ */
+ mpt_detect_bound_ports(ioc, pdev);
+@@ -1428,11 +1395,7 @@ mpt_attach(struct pci_dev *pdev, const s
+ printk(KERN_WARNING MYNAM
+ ": WARNING - %s did not initialize properly! (%d)\n",
+ ioc->name, r);
+-
+ list_del(&ioc->list);
+- free_irq(ioc->pci_irq, ioc);
+- if (mpt_msi_enable)
+- pci_disable_msi(pdev);
+ if (ioc->alt_ioc)
+ ioc->alt_ioc->alt_ioc = NULL;
+ iounmap(mem);
+@@ -1636,6 +1599,7 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u3
+ int handlers;
+ int ret = 0;
+ int reset_alt_ioc_active = 0;
++ int irq_allocated = 0;
+
+ printk(KERN_INFO MYNAM ": Initiating %s %s\n",
+ ioc->name, reason==MPT_HOSTEVENT_IOC_BRINGUP ? "bringup" : "recovery");
+@@ -1719,6 +1683,48 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u3
+ }
+ }
+
++ /*
++ * Device is reset now. It must have de-asserted the interrupt line
++ * (if it was asserted) and it should be safe to register for the
++ * interrupt now.
++ */
++ if ((ret == 0) && (reason == MPT_HOSTEVENT_IOC_BRINGUP)) {
++ ioc->pci_irq = -1;
++ if (ioc->pcidev->irq) {
++ if (mpt_msi_enable && !pci_enable_msi(ioc->pcidev))
++ printk(MYIOC_s_INFO_FMT "PCI-MSI enabled\n",
++ ioc->name);
++ rc = request_irq(ioc->pcidev->irq, mpt_interrupt,
++ SA_SHIRQ, ioc->name, ioc);
++ if (rc < 0) {
++#ifndef __sparc__
++ printk(MYIOC_s_ERR_FMT "Unable to allocate "
++ "interrupt %d!\n", ioc->name,
++ ioc->pcidev->irq);
++#else
++ printk(MYIOC_s_ERR_FMT "Unable to allocate "
++ "interrupt %s!\n", ioc->name,
++ __irq_itoa(ioc->pcidev->irq));
++#endif
++ if (mpt_msi_enable)
++ pci_disable_msi(ioc->pcidev);
++ return -EBUSY;
++ }
++ irq_allocated = 1;
++ ioc->pci_irq = ioc->pcidev->irq;
++ pci_set_master(ioc->pcidev); /* ?? */
++ pci_set_drvdata(ioc->pcidev, ioc);
++#ifndef __sparc__
++ dprintk((KERN_INFO MYNAM ": %s installed at interrupt "
++ "%d\n", ioc->name, ioc->pcidev->irq));
++#else
++ dprintk((KERN_INFO MYNAM ": %s installed at interrupt "
++ "%s\n", ioc->name,
++ __irq_itoa(ioc->pcidev->irq)));
++#endif
++ }
++ }
++
+ /* Prime reply & request queues!
+ * (mucho alloc's) Must be done prior to
+ * init as upper addresses are needed for init.
+@@ -1818,7 +1824,7 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u3
+ ret = mptbase_sas_persist_operation(ioc,
+ MPI_SAS_OP_CLEAR_NOT_PRESENT);
+ if(ret != 0)
+- return -1;
++ goto out;
+ }
+
+ /* Find IM volumes
+@@ -1899,6 +1905,12 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u3
+ /* FIXME? Examine results here? */
+ }
+
++out:
++ if ((ret != 0) && irq_allocated) {
++ free_irq(ioc->pci_irq, ioc);
++ if (mpt_msi_enable)
++ pci_disable_msi(ioc->pcidev);
++ }
+ return ret;
+ }
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/iosapic-move-irq new/patches.fixes/iosapic-move-irq
--- old/patches.fixes/iosapic-move-irq 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.fixes/iosapic-move-irq 2006-05-23 17:39:33.000000000 +0200
@@ -0,0 +1,44 @@
+From: Ken Chen <kenneth.w.chen(a)intel.com>
+Subject: [IA64] fix broken irq affinity
+References: 176697
+Acked-by: schwab(a)suse.de
+Patch-mainline: yes
+
+When CONFIG_PCI_MSI is set, move_irq() is an empty function, causing
+grief when sys admin tries to bind interrupt to CPU.
+
+Signed-off-by: Ken Chen <kenneth.w.chen(a)intel.com>
+Signed-off-by: Tony Luck <tony.luck(a)intel.com>
+
+---
+commit 41503def5d83bada6a2fd792e636ccc28a285f38
+tree 4f2c602db9cf66232001baa3be9f5952b8a50266
+parent 1101ece44e00cfe31a2fd9d3222d05f927b00ef8
+author Chen, Kenneth W <kenneth.w.chen(a)intel.com> Tue, 16 May 2006 16:29:00 -0700
+committer Tony Luck <tony.luck(a)intel.com> Wed, 17 May 2006 06:20:23 -0700
+
+ arch/ia64/kernel/iosapic.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c
+index 7956eb9..d58c1c5 100644
+--- a/arch/ia64/kernel/iosapic.c
++++ b/arch/ia64/kernel/iosapic.c
+@@ -416,7 +416,7 @@ iosapic_end_level_irq (unsigned int irq)
+ ia64_vector vec = irq_to_vector(irq);
+ struct iosapic_rte_info *rte;
+
+- move_irq(irq);
++ move_native_irq(irq);
+ list_for_each_entry(rte, &iosapic_intr_info[vec].rtes, rte_list)
+ iosapic_eoi(rte->addr, vec);
+ }
+@@ -458,7 +458,7 @@ iosapic_ack_edge_irq (unsigned int irq)
+ {
+ irq_desc_t *idesc = irq_descp(irq);
+
+- move_irq(irq);
++ move_native_irq(irq);
+ /*
+ * Once we have recorded IRQ_PENDING already, we can mask the
+ * interrupt for real. This prevents IRQ storms from unhandled
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch new/patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch
--- old/patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch 2006-05-23 18:05:31.000000000 +0200
@@ -0,0 +1,47 @@
+From: Thomas Renninger <trenn(a)suse.de>
+Subject: Fix for apic initialization bug using kdump
+Patch-mainline: not yet
+References: 177741
+
+o Kdump second kernel boot fails after a system crash if second kernel
+ is UP and acpi=off and if crash occurred on a non-boot cpu.
+
+o Issue here is that MP tables report boot cpu lapic id as 0 but second
+ kernel is booting on a different processor and MP table data is stale
+ in this context. Hence apic_id_registered() check fails in setup_local_APIC()
+ when called from APIC_init_uniprocessor().
+
+o Problem is not seen if ACPI is enabled as in that case
+ boot_cpu_physical_apicid is read from the LAPIC.
+
+o Problem is not seen with SMP kernels as well because in this case also
+ boot_cpu_physical_apicid is read from LAPIC. (smp_boot_cpus()).
+
+o The problem is fixed by reading boot_cpu_physical_apicid from LAPIC
+ if it is a UP kernel and CRASH_DUMP is enabled.
+
+Signed-off-by: Vivek Goyal <vgoyal(a)in.ibm.com>
+---
+
+ arch/i386/kernel/apic.c | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff -puN arch/i386/kernel/apic.c~kdump-i386-boot-cpu-physical-apicid-fix-take2 arch/i386/kernel/apic.c
+--- linux-2.6.17-rc4-16M/arch/i386/kernel/apic.c~kdump-i386-boot-cpu-physical-apicid-fix-take2 2006-05-18 11:26:45.000000000 -0400
++++ linux-2.6.17-rc4-16M-root/arch/i386/kernel/apic.c 2006-05-18 11:26:45.000000000 -0400
+@@ -1341,6 +1341,14 @@ int __init APIC_init_uniprocessor (void)
+
+ connect_bsp_APIC();
+
++ /*
++ * Hack: In case of kdump, after a crash, kernel might be booting
++ * on a cpu with non-zero lapic id. But boot_cpu_physical_apicid
++ * might be zero if read from MP tables. Get it from LAPIC.
++ */
++#ifdef CONFIG_CRASH_DUMP
++ boot_cpu_physical_apicid = GET_APIC_ID(apic_read(APIC_ID));
++#endif
+ phys_cpu_present_map = physid_mask_of_physid(boot_cpu_physical_apicid);
+
+ setup_local_APIC();
+_
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/pci-correctly-allocate-return-buffers-for-osc-calls.patch new/patches.fixes/pci-correctly-allocate-return-buffers-for-osc-calls.patch
--- old/patches.fixes/pci-correctly-allocate-return-buffers-for-osc-calls.patch 2006-05-18 20:34:49.000000000 +0200
+++ new/patches.fixes/pci-correctly-allocate-return-buffers-for-osc-calls.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,146 +0,0 @@
-From owner-linux-pci(a)atrey.karlin.mff.cuni.cz Wed May 17 11:04:37 2006
-Subject: PCI: correctly allocate return buffers for osc calls
-From: Kristen Accardi <kristen.c.accardi(a)intel.com>
-To: linux-pci(a)atrey.karlin.mff.cuni.cz
-Cc: linux-kernel(a)vger.kernel.org, greg(a)kroah.com
-Date: Wed, 17 May 2006 11:13:37 -0700
-Message-Id: <1147889618.8472.6.camel@whizzy>
-Patch-mainline: 2.6.16.18
-References: 171362
-
-The OSC set and query functions do not allocate enough space for return values,
-and set the output buffer length to a false, too large value. This causes the
-acpi-ca code to assume that the output buffer is larger than it actually is,
-and overwrite memory when copying acpi return buffers into this caller provided
-buffer. In some cases this can cause kernel oops if the memory that is
-overwritten is a pointer. This patch will change these calls to use a
-dynamically allocated output buffer, thus allowing the acpi-ca code to decide
-how much space is needed.
-
-Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi(a)intel.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de>
-
----
- drivers/pci/pci-acpi.c | 60 ++++++++++++++++++++++++++++---------------------
- 1 file changed, 35 insertions(+), 25 deletions(-)
-
---- gregkh-2.6.orig/drivers/pci/pci-acpi.c
-+++ gregkh-2.6/drivers/pci/pci-acpi.c
-@@ -33,13 +33,10 @@ acpi_query_osc (
- acpi_status status;
- struct acpi_object_list input;
- union acpi_object in_params[4];
-- struct acpi_buffer output;
-- union acpi_object out_obj;
-+ struct acpi_buffer output = {ACPI_ALLOCATE_BUFFER, NULL};
-+ union acpi_object *out_obj;
- u32 osc_dw0;
-
-- /* Setting up output buffer */
-- output.length = sizeof(out_obj) + 3*sizeof(u32);
-- output.pointer = &out_obj;
-
- /* Setting up input parameters */
- input.count = 4;
-@@ -61,12 +58,15 @@ acpi_query_osc (
- "Evaluate _OSC Set fails. Status = 0x%04x\n", status);
- return status;
- }
-- if (out_obj.type != ACPI_TYPE_BUFFER) {
-+ out_obj = output.pointer;
-+
-+ if (out_obj->type != ACPI_TYPE_BUFFER) {
- printk(KERN_DEBUG
- "Evaluate _OSC returns wrong type\n");
-- return AE_TYPE;
-+ status = AE_TYPE;
-+ goto query_osc_out;
- }
-- osc_dw0 = *((u32 *) out_obj.buffer.pointer);
-+ osc_dw0 = *((u32 *) out_obj->buffer.pointer);
- if (osc_dw0) {
- if (osc_dw0 & OSC_REQUEST_ERROR)
- printk(KERN_DEBUG "_OSC request fails\n");
-@@ -76,15 +76,21 @@ acpi_query_osc (
- printk(KERN_DEBUG "_OSC invalid revision\n");
- if (osc_dw0 & OSC_CAPABILITIES_MASK_ERROR) {
- /* Update Global Control Set */
-- global_ctrlsets = *((u32 *)(out_obj.buffer.pointer+8));
-- return AE_OK;
-+ global_ctrlsets = *((u32 *)(out_obj->buffer.pointer+8));
-+ status = AE_OK;
-+ goto query_osc_out;
- }
-- return AE_ERROR;
-+ status = AE_ERROR;
-+ goto query_osc_out;
- }
-
- /* Update Global Control Set */
-- global_ctrlsets = *((u32 *)(out_obj.buffer.pointer + 8));
-- return AE_OK;
-+ global_ctrlsets = *((u32 *)(out_obj->buffer.pointer + 8));
-+ status = AE_OK;
-+
-+query_osc_out:
-+ kfree(output.pointer);
-+ return status;
- }
-
-
-@@ -96,14 +102,10 @@ acpi_run_osc (
- acpi_status status;
- struct acpi_object_list input;
- union acpi_object in_params[4];
-- struct acpi_buffer output;
-- union acpi_object out_obj;
-+ struct acpi_buffer output = {ACPI_ALLOCATE_BUFFER, NULL};
-+ union acpi_object *out_obj;
- u32 osc_dw0;
-
-- /* Setting up output buffer */
-- output.length = sizeof(out_obj) + 3*sizeof(u32);
-- output.pointer = &out_obj;
--
- /* Setting up input parameters */
- input.count = 4;
- input.pointer = in_params;
-@@ -124,12 +126,14 @@ acpi_run_osc (
- "Evaluate _OSC Set fails. Status = 0x%04x\n", status);
- return status;
- }
-- if (out_obj.type != ACPI_TYPE_BUFFER) {
-+ out_obj = output.pointer;
-+ if (out_obj->type != ACPI_TYPE_BUFFER) {
- printk(KERN_DEBUG
- "Evaluate _OSC returns wrong type\n");
-- return AE_TYPE;
-+ status = AE_TYPE;
-+ goto run_osc_out;
- }
-- osc_dw0 = *((u32 *) out_obj.buffer.pointer);
-+ osc_dw0 = *((u32 *) out_obj->buffer.pointer);
- if (osc_dw0) {
- if (osc_dw0 & OSC_REQUEST_ERROR)
- printk(KERN_DEBUG "_OSC request fails\n");
-@@ -139,11 +143,17 @@ acpi_run_osc (
- printk(KERN_DEBUG "_OSC invalid revision\n");
- if (osc_dw0 & OSC_CAPABILITIES_MASK_ERROR) {
- printk(KERN_DEBUG "_OSC FW not grant req. control\n");
-- return AE_SUPPORT;
-+ status = AE_SUPPORT;
-+ goto run_osc_out;
- }
-- return AE_ERROR;
-+ status = AE_ERROR;
-+ goto run_osc_out;
- }
-- return AE_OK;
-+ status = AE_OK;
-+
-+run_osc_out:
-+ kfree(output.pointer);
-+ return status;
- }
-
- /**
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/sd-fix-unknown-size new/patches.fixes/sd-fix-unknown-size
--- old/patches.fixes/sd-fix-unknown-size 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.fixes/sd-fix-unknown-size 2006-05-22 16:37:02.000000000 +0200
@@ -0,0 +1,23 @@
+From: Mike Anderson <andmike(a)us.ibm.com>
+Subject: Wrong size information for device with disabled read access
+References: #176780 - LTC23895
+
+When accessing a device with disabled read access the capacity is set
+randomly to 1GB. This makes it impossible to userspace tools to detect
+invalid device capacities.
+
+Signed-off-by: Mike Anderson <andmike(a)us.ibm.com>
+Acked-by: Chris Mason <mason(a)suse.com>
+Signed-off-by: Hannes Reinecke <hare(a)suse.de>
+
+--- linux-2.6.16/drivers/scsi/sd.c.orig 2006-03-20 06:53:29.000000000 +0100
++++ linux-2.6.16/drivers/scsi/sd.c 2006-05-22 16:24:09.531915172 +0200
+@@ -1107,7 +1107,7 @@ repeat:
+ /* Either no media are present but the drive didn't tell us,
+ or they are present but the read capacity command fails */
+ /* sdkp->media_present = 0; -- not always correct */
+- sdkp->capacity = 0x200000; /* 1 GB - random */
++ sdkp->capacity = 0; /* unknown mapped to zero - as usual */
+
+ return;
+ } else if (the_result && longrc) {
++++++ patches.kernel.org.tar.bz2 ++++++
++++ 11432 lines of diff (skipped)
++++++ patches.suse.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/rtnetlink-atomic2.patch new/patches.suse/rtnetlink-atomic2.patch
--- old/patches.suse/rtnetlink-atomic2.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/rtnetlink-atomic2.patch 2006-05-23 17:46:51.000000000 +0200
@@ -0,0 +1,30 @@
+From: Jaroslav Kysela <perex.suse.cz>
+Subject: Fix debug traces for bonding (might_sleep)
+References: 174843
+
+The network bonding module might call rtmsg_ifinfo in the atomic context.
+It is not ideal solution - ideally, the bonding module will use a workqueue.
+
+Signed-off-by: Jaroslav Kysela <perex(a)suse.cz>
+Acked-by: Olaf Kirch <okir(a)suse.de>
+
+--- linux-2.6.16.orig/net/core/rtnetlink.c 2006-03-20 06:53:29.000000000 +0100
++++ linux-2.6.16/net/core/rtnetlink.c 2006-05-23 17:25:00.000000000 +0200
+@@ -451,7 +451,7 @@ void rtmsg_ifinfo(int type, struct net_d
+ sizeof(struct rtnl_link_ifmap) +
+ sizeof(struct rtnl_link_stats) + 128);
+
+- skb = alloc_skb(size, GFP_KERNEL);
++ skb = alloc_skb(size, in_atomic() ? GFP_ATOMIC : GFP_KERNEL);
+ if (!skb)
+ return;
+
+@@ -460,7 +460,7 @@ void rtmsg_ifinfo(int type, struct net_d
+ return;
+ }
+ NETLINK_CB(skb).dst_group = RTNLGRP_LINK;
+- netlink_broadcast(rtnl, skb, 0, RTNLGRP_LINK, GFP_KERNEL);
++ netlink_broadcast(rtnl, skb, 0, RTNLGRP_LINK, in_atomic() ? GFP_ATOMIC : GFP_KERNEL);
+ }
+
+ /* Protected by RTNL sempahore. */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/tcp-proc-listen new/patches.suse/tcp-proc-listen
--- old/patches.suse/tcp-proc-listen 2006-05-19 13:01:33.000000000 +0200
+++ new/patches.suse/tcp-proc-listen 2006-05-22 13:32:01.000000000 +0200
@@ -7,33 +7,6 @@
In SLES9 we had /proc/net/tcp_listen to make this cheaper.
This is a forward port.
-Index: linux-2.6.16/include/net/tcp.h
-===================================================================
---- linux-2.6.16.orig/include/net/tcp.h
-+++ linux-2.6.16/include/net/tcp.h
-@@ -1054,7 +1054,10 @@ struct tcp_seq_afinfo {
- struct module *owner;
- char *name;
- sa_family_t family;
-+ void * (*seq_start)(struct seq_file *seq, loff_t *pos);
- int (*seq_show) (struct seq_file *m, void *v);
-+ void * (*seq_next)(struct seq_file *seq, void *v, loff_t *pos);
-+
- struct file_operations *seq_fops;
- };
-
-@@ -1069,6 +1072,11 @@ struct tcp_iter_state {
- extern int tcp_proc_register(struct tcp_seq_afinfo *afinfo);
- extern void tcp_proc_unregister(struct tcp_seq_afinfo *afinfo);
-
-+extern void *tcp_seq_start(struct seq_file *seq, loff_t *pos);
-+extern void *tcp_listen_seq_start(struct seq_file *seq, loff_t *pos);
-+extern void *tcp_seq_next(struct seq_file *seq, void *v, loff_t *pos);
-+extern void *tcp_listen_seq_next(struct seq_file *seq, void *v, loff_t *pos);
-+
- extern struct request_sock_ops tcp_request_sock_ops;
-
- extern int tcp_v4_destroy_sock(struct sock *sk);
Index: linux-2.6.16/net/ipv4/tcp_ipv4.c
===================================================================
--- linux-2.6.16.orig/net/ipv4/tcp_ipv4.c
@@ -85,7 +58,7 @@
--*pos;
}
return rc;
-@@ -1524,17 +1530,22 @@ static void *established_get_idx(struct
+@@ -1524,16 +1530,18 @@ static void *established_get_idx(struct
return rc;
}
@@ -100,18 +73,13 @@
- rc = listening_get_idx(seq, &pos);
+ rc = listening_get_idx(seq, &pos, listenonly);
-- if (!rc) {
-+ if (!rc)
+ if (!rc) {
++ if (listenonly)
++ return rc;
inet_listen_unlock(&tcp_hashinfo);
-+
-+ if (listenonly)
-+ return rc;
-+
-+ if (!rc) {
local_bh_disable();
st->state = TCP_SEQ_STATE_ESTABLISHED;
- rc = established_get_idx(seq, pos);
-@@ -1543,21 +1554,34 @@ static void *tcp_get_idx(struct seq_file
+@@ -1543,21 +1551,34 @@ static void *tcp_get_idx(struct seq_file
return rc;
}
@@ -128,14 +96,14 @@
+void *tcp_seq_start(struct seq_file *seq, loff_t *pos)
+{
+ return __tcp_seq_start(seq, pos, 0);
-+}
-+
-+void *tcp_listen_seq_start(struct seq_file *seq, loff_t *pos)
-+{
-+ return __tcp_seq_start(seq, pos, 1);
}
-static void *tcp_seq_next(struct seq_file *seq, void *v, loff_t *pos)
++void *tcp_listen_seq_start(struct seq_file *seq, loff_t *pos)
++{
++ return __tcp_seq_start(seq, pos, 1);
++}
++
+EXPORT_SYMBOL_GPL(tcp_seq_start);
+EXPORT_SYMBOL_GPL(tcp_listen_seq_start);
+
@@ -150,7 +118,7 @@
goto out;
}
st = seq->private;
-@@ -1565,7 +1589,7 @@ static void *tcp_seq_next(struct seq_fil
+@@ -1565,7 +1586,7 @@ static void *tcp_seq_next(struct seq_fil
switch (st->state) {
case TCP_SEQ_STATE_OPENREQ:
case TCP_SEQ_STATE_LISTENING:
@@ -159,7 +127,7 @@
if (!rc) {
inet_listen_unlock(&tcp_hashinfo);
local_bh_disable();
-@@ -1582,6 +1606,17 @@ out:
+@@ -1582,6 +1603,17 @@ out:
++*pos;
return rc;
}
@@ -177,7 +145,7 @@
static void tcp_seq_stop(struct seq_file *seq, void *v)
{
-@@ -1621,8 +1656,8 @@ static int tcp_seq_open(struct inode *in
+@@ -1621,8 +1653,8 @@ static int tcp_seq_open(struct inode *in
return -ENOMEM;
memset(s, 0, sizeof(*s));
s->family = afinfo->family;
@@ -188,7 +156,7 @@
s->seq_ops.show = afinfo->seq_show;
s->seq_ops.stop = tcp_seq_stop;
-@@ -1795,18 +1830,36 @@ static struct tcp_seq_afinfo tcp4_seq_af
+@@ -1795,18 +1827,36 @@ static struct tcp_seq_afinfo tcp4_seq_af
.owner = THIS_MODULE,
.name = "tcp",
.family = AF_INET,
@@ -267,3 +235,30 @@
}
#endif
+Index: linux-2.6.16/include/net/tcp.h
+===================================================================
+--- linux-2.6.16.orig/include/net/tcp.h
++++ linux-2.6.16/include/net/tcp.h
+@@ -1054,7 +1054,10 @@ struct tcp_seq_afinfo {
+ struct module *owner;
+ char *name;
+ sa_family_t family;
++ void * (*seq_start)(struct seq_file *seq, loff_t *pos);
+ int (*seq_show) (struct seq_file *m, void *v);
++ void * (*seq_next)(struct seq_file *seq, void *v, loff_t *pos);
++
+ struct file_operations *seq_fops;
+ };
+
+@@ -1069,6 +1072,11 @@ struct tcp_iter_state {
+ extern int tcp_proc_register(struct tcp_seq_afinfo *afinfo);
+ extern void tcp_proc_unregister(struct tcp_seq_afinfo *afinfo);
+
++extern void *tcp_seq_start(struct seq_file *seq, loff_t *pos);
++extern void *tcp_listen_seq_start(struct seq_file *seq, loff_t *pos);
++extern void *tcp_seq_next(struct seq_file *seq, void *v, loff_t *pos);
++extern void *tcp_listen_seq_next(struct seq_file *seq, void *v, loff_t *pos);
++
+ extern struct request_sock_ops tcp_request_sock_ops;
+
+ extern int tcp_v4_destroy_sock(struct sock *sk);
++++++ series.conf ++++++
--- kernel-source/series.conf 2006-05-19 17:51:28.000000000 +0200
+++ kernel-source/series.conf 2006-05-24 18:53:59.000000000 +0200
@@ -21,8 +21,7 @@
# DO NOT MODIFY THEM!
# Send separate patches upstream if you find a problem...
- patches.kernel.org/patch-2.6.16.16
- patches.fixes/compat_sys_ppoll-typo.patch
+ patches.kernel.org/patch-2.6.16.18
patches.fixes/setuid-dumpable-wrongdir
patches.fixes/git-kbuild.patch
@@ -118,6 +117,7 @@
patches.arch/x86_64-nommu-warning
patches.arch/x86_64-hotadd-fixes
patches.arch/x86_64-empty-node0
+ patches.arch/x86_64-bad-addr-boundary
# for i386/x86-64
patches.arch/tune-generic
@@ -275,6 +275,7 @@
patches.arch/acpi_ibm_notify.patch
patches.fixes/acpi-nolapic
+ patches.fixes/kdump-i386-boot-cpu-physical-apicid-fix-take2.patch
patches.arch/acpi_processor_exit_acpi_off
@@ -287,6 +288,9 @@
patches.fixes/powernow-fix-3
patches.fixes/cpufreq_sysfs_max_override.patch
+ # EC fixes
+ patches.fixes/acpi_ec_dummy.patch
+
# Fix IA64 unalignment issue
patches.arch/ia64_acpi_unalignments.patch
@@ -427,8 +431,11 @@
patches.drivers/lpfc-8.1.6-update
patches.drivers/snsc-powerdown-events
patches.drivers/sgi-ioc4-detect-variant.patch
+ patches.drivers/altix-correct-ioc3-port-order.patch
+ patches.drivers/altix-correct-ioc4-port-order.patch
patches.drivers/ide-acpi-support
patches.drivers/fix-b44-checks
+ patches.drivers/b44-fix_mac_address
########################################################
# Storage
@@ -465,6 +472,7 @@
patches.fixes/tulip-quad-NIC-ifdown
patches.suse/prism-defaultmac
patches.suse/nameif-track-rename.patch
+ patches.suse/rtnetlink-atomic2.patch
# fix a oops on unload still active isdn drivers
# TODO: send upstream
@@ -527,7 +535,10 @@
patches.drivers/pci-0041-Provide-a-boot-parameter-to-disable-MSI.patch
patches.drivers/pci-hotplug-sn-fix-cleanup-on-hotplug-removal-of-ppb.patch
patches.drivers/pci-delete-ACPI-hook-from-pci_set_power_state.patch
- patches.fixes/pci-correctly-allocate-return-buffers-for-osc-calls.patch
+
+ # new device ids for PCI devices
+ patches.drivers/ati-sb600-ahci-support.patch
+ patches.drivers/ati-sb600-ide-support.patch
########################################################
# sysfs / driver core
@@ -750,6 +761,8 @@
patches.arch/s390-03-03-october2005.diff
patches.arch/s390-03-04-october2005.diff
+ patches.arch/s390-zfcp-statistics.diff
+ patches.arch/s390-zfcp-statistic-disclaimer.diff
patches.arch/s390-dasd-eer-october2005.diff
patches.arch/s390-dasd-uid.diff
patches.arch/s390-dasd-fba-uid.diff
@@ -948,6 +961,7 @@
patches.drivers/aic79xx-avoid-renegotiation
patches.drivers/aic79xx-target-hotplug-fixes
patches.drivers/aic79xx-external-bus-reset
+ patches.drivers/aic79xx-remove-slave-alloc
patches.fixes/altix-asic-workarounds
patches.arch/ia64-sn2-tioce_provider
@@ -1136,11 +1150,9 @@
patches.fixes/ondemand-workqueue
patches.drivers/ibmvscsi-RAID-failure
patches.drivers/mptfc_rolechg_sles10.patch
- patches.fixes/blk-limit-recursion
patches.fixes/memcpy-mck
patches.fixes/i2o_exec_lct_modified-memoryleak-fix.patch
patches.fixes/cfq-queueing-fixes
- patches.fixes/fs-locks.c-Fix-sys_flock-race.patch
patches.fixes/nfsd-path-release-fix
patches.suse/reiserfs-periodic-flush-latency
patches.fixes/nfsd-set-user-fix
@@ -1159,13 +1171,19 @@
patches.fixes/scsi-fix-scan-offline.patch
patches.fixes/scsi-add-2104-DU3-blist.patch
patches.suse/lkcd-crash-with-invalid-DUMPDEV
- patches.fixes/ethtool-always-report-port-is-TP-on-tg3
patches.drivers/qla2xxx-vpd-sysfs-attribute
patches.fixes/fusion-fix-reset-handler
patches.fixes/scheduler-wakeup-no-starvation
patches.fixes/nf_bridge-header-size
+ patches.drivers/mptfc-sles10-update
+ patches.fixes/fusion-fix-kdump-drvinit
+ patches.fixes/sd-fix-unknown-size
+
+ # bug #176697
+ patches.fixes/iosapic-move-irq
+
# PLEASE KEEP THESE PATCHES AT THE END OF series.conf
# (as all other arch specific patches should be kept at the end
# for obvious reasons.)
++++++ supported.conf ++++++
--- kernel-source/supported.conf 2006-05-19 17:51:27.000000000 +0200
+++ kernel-source/supported.conf 2006-05-24 18:53:48.000000000 +0200
@@ -846,12 +846,12 @@
kernel/drivers/message/fusion/mptspi
kernel/drivers/message/fusion/mptsas
kernel/drivers/message/fusion/mptfc
- kernel/drivers/message/i2o/i2o_block
+- kernel/drivers/message/i2o/i2o_block # Unsupported - bug #176735
kernel/drivers/message/i2o/i2o_bus
kernel/drivers/message/i2o/i2o_config
kernel/drivers/message/i2o/i2o_core
kernel/drivers/message/i2o/i2o_proc
- kernel/drivers/message/i2o/i2o_scsi
+- kernel/drivers/message/i2o/i2o_scsi # Unsupported - bug #176735
kernel/drivers/misc/ibmasm/ibmasm # IBM ASM Service Processor Driver
kernel/drivers/mmc/mmc_block
kernel/drivers/mmc/mmc_core
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package kde3-i18n
checked in at Thu May 25 00:58:52 CEST 2006.
--------
--- KDE/kde3-i18n/kde3-i18n.changes 2006-03-19 11:55:19.000000000 +0100
+++ kde3-i18n/kde3-i18n.changes 2006-05-24 09:55:22.000000000 +0200
@@ -1,0 +2,7 @@
+Wed May 24 09:55:04 CEST 2006 - coolo(a)suse.de
+
+- update to KDE 3.5.3
+ - adding vi, kk
+ - tons of updates
+
+-------------------------------------------------------------------
Old:
----
kde-i18n-af-3.5.2.tar.bz2
kde-i18n-ar-3.5.2.tar.bz2
kde-i18n-az-3.5.2.tar.bz2
kde-i18n-bg-3.5.2.tar.bz2
kde-i18n-bn-3.5.2.tar.bz2
kde-i18n-br-3.5.2.tar.bz2
kde-i18n-bs-3.5.2.tar.bz2
kde-i18n-ca-3.5.2.tar.bz2
kde-i18n-cs-3.5.2.tar.bz2
kde-i18n-cy-3.5.2.tar.bz2
kde-i18n-da-3.5.2.tar.bz2
kde-i18n-de-3.5.2.tar.bz2
kde-i18n-el-3.5.2.tar.bz2
kde-i18n-en_GB-3.5.2.tar.bz2
kde-i18n-eo-3.5.2.tar.bz2
kde-i18n-es-3.5.2.tar.bz2
kde-i18n-et-3.5.2.tar.bz2
kde-i18n-eu-3.5.2.tar.bz2
kde-i18n-fa-3.5.2.tar.bz2
kde-i18n-fi-3.5.2.tar.bz2
kde-i18n-fr-3.5.2.tar.bz2
kde-i18n-fy-3.5.2.tar.bz2
kde-i18n-ga-3.5.2.tar.bz2
kde-i18n-gl-3.5.2.tar.bz2
kde-i18n-he-3.5.2.tar.bz2
kde-i18n-hi-3.5.2.tar.bz2
kde-i18n-hr-3.5.2.tar.bz2
kde-i18n-hu-3.5.2.tar.bz2
kde-i18n-is-3.5.2.tar.bz2
kde-i18n-it-3.5.2.tar.bz2
kde-i18n-ja-3.5.2.tar.bz2
kde-i18n-km-3.5.2.tar.bz2
kde-i18n-ko-3.5.2.tar.bz2
kde-i18n-lt-3.5.2.tar.bz2
kde-i18n-lv-3.5.2.tar.bz2
kde-i18n-mk-3.5.2.tar.bz2
kde-i18n-mn-3.5.2.tar.bz2
kde-i18n-ms-3.5.2.tar.bz2
kde-i18n-nb-3.5.2.tar.bz2
kde-i18n-nds-3.5.2.tar.bz2
kde-i18n-nl-3.5.2.tar.bz2
kde-i18n-nn-3.5.2.tar.bz2
kde-i18n-pa-3.5.2.tar.bz2
kde-i18n-pl-3.5.2.tar.bz2
kde-i18n-pt-3.5.2.tar.bz2
kde-i18n-pt_BR-3.5.2.tar.bz2
kde-i18n-ro-3.5.2.tar.bz2
kde-i18n-ru-3.5.2.tar.bz2
kde-i18n-rw-3.5.2.tar.bz2
kde-i18n-se-3.5.2.tar.bz2
kde-i18n-sk-3.5.2.tar.bz2
kde-i18n-sl-3.5.2.tar.bz2
kde-i18n-sr-3.5.2.tar.bz2
kde-i18n-sr(a)Latn-3.5.2.tar.bz2
kde-i18n-ss-3.5.2.tar.bz2
kde-i18n-sv-3.5.2.tar.bz2
kde-i18n-ta-3.5.2.tar.bz2
kde-i18n-tg-3.5.2.tar.bz2
kde-i18n-tr-3.5.2.tar.bz2
kde-i18n-uk-3.5.2.tar.bz2
kde-i18n-uz-3.5.2.tar.bz2
kde-i18n-zh_CN-3.5.2.tar.bz2
kde-i18n-zh_TW-3.5.2.tar.bz2
New:
----
kde-i18n-af-3.5.3.tar.bz2
kde-i18n-ar-3.5.3.tar.bz2
kde-i18n-az-3.5.3.tar.bz2
kde-i18n-bg-3.5.3.tar.bz2
kde-i18n-bn-3.5.3.tar.bz2
kde-i18n-br-3.5.3.tar.bz2
kde-i18n-bs-3.5.3.tar.bz2
kde-i18n-ca-3.5.3.tar.bz2
kde-i18n-cs-3.5.3.tar.bz2
kde-i18n-cy-3.5.3.tar.bz2
kde-i18n-da-3.5.3.tar.bz2
kde-i18n-de-3.5.3.tar.bz2
kde-i18n-el-3.5.3.tar.bz2
kde-i18n-en_GB-3.5.3.tar.bz2
kde-i18n-eo-3.5.3.tar.bz2
kde-i18n-es-3.5.3.tar.bz2
kde-i18n-et-3.5.3.tar.bz2
kde-i18n-eu-3.5.3.tar.bz2
kde-i18n-fa-3.5.3.tar.bz2
kde-i18n-fi-3.5.3.tar.bz2
kde-i18n-fr-3.5.3.tar.bz2
kde-i18n-fy-3.5.3.tar.bz2
kde-i18n-ga-3.5.3.tar.bz2
kde-i18n-gl-3.5.3.tar.bz2
kde-i18n-he-3.5.3.tar.bz2
kde-i18n-hi-3.5.3.tar.bz2
kde-i18n-hr-3.5.3.tar.bz2
kde-i18n-hu-3.5.3.tar.bz2
kde-i18n-is-3.5.3.tar.bz2
kde-i18n-it-3.5.3.tar.bz2
kde-i18n-ja-3.5.3.tar.bz2
kde-i18n-kk-3.5.3.tar.bz2
kde-i18n-km-3.5.3.tar.bz2
kde-i18n-ko-3.5.3.tar.bz2
kde-i18n-lt-3.5.3.tar.bz2
kde-i18n-lv-3.5.3.tar.bz2
kde-i18n-mk-3.5.3.tar.bz2
kde-i18n-mn-3.5.3.tar.bz2
kde-i18n-ms-3.5.3.tar.bz2
kde-i18n-nb-3.5.3.tar.bz2
kde-i18n-nds-3.5.3.tar.bz2
kde-i18n-nl-3.5.3.tar.bz2
kde-i18n-nn-3.5.3.tar.bz2
kde-i18n-pa-3.5.3.tar.bz2
kde-i18n-pl-3.5.3.tar.bz2
kde-i18n-pt-3.5.3.tar.bz2
kde-i18n-pt_BR-3.5.3.tar.bz2
kde-i18n-ro-3.5.3.tar.bz2
kde-i18n-ru-3.5.3.tar.bz2
kde-i18n-rw-3.5.3.tar.bz2
kde-i18n-se-3.5.3.tar.bz2
kde-i18n-sk-3.5.3.tar.bz2
kde-i18n-sl-3.5.3.tar.bz2
kde-i18n-sr-3.5.3.tar.bz2
kde-i18n-sr(a)Latn-3.5.3.tar.bz2
kde-i18n-ss-3.5.3.tar.bz2
kde-i18n-sv-3.5.3.tar.bz2
kde-i18n-ta-3.5.3.tar.bz2
kde-i18n-tg-3.5.3.tar.bz2
kde-i18n-tr-3.5.3.tar.bz2
kde-i18n-uk-3.5.3.tar.bz2
kde-i18n-uz-3.5.3.tar.bz2
kde-i18n-vi-3.5.3.tar.bz2
kde-i18n-zh_CN-3.5.3.tar.bz2
kde-i18n-zh_TW-3.5.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kde3-i18n.spec ++++++
--- /var/tmp/diff_new_pack.tnxwPB/_old 2006-05-25 00:50:32.000000000 +0200
+++ /var/tmp/diff_new_pack.tnxwPB/_new 2006-05-25 00:50:32.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kde3-i18n (Version 3.5.2)
+# spec file for package kde3-i18n (Version 3.5.3)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -17,8 +17,8 @@
License: LGPL
Group: System/GUI/KDE
Summary: English (UK) translations for KDE
-Version: 3.5.2
-Release: 2
+Version: 3.5.3
+Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Source0: kde-i18n-af-%version.tar.bz2
@@ -52,40 +52,42 @@
Source28: kde-i18n-is-%version.tar.bz2
Source29: kde-i18n-it-%version.tar.bz2
Source30: kde-i18n-ja-%version.tar.bz2
-Source31: kde-i18n-km-%version.tar.bz2
-Source32: kde-i18n-ko-%version.tar.bz2
-Source33: kde-i18n-lt-%version.tar.bz2
-Source34: kde-i18n-lv-%version.tar.bz2
-Source35: kde-i18n-mk-%version.tar.bz2
-Source36: kde-i18n-mn-%version.tar.bz2
-Source37: kde-i18n-ms-%version.tar.bz2
-Source38: kde-i18n-nb-%version.tar.bz2
-Source39: kde-i18n-nds-%version.tar.bz2
-Source40: kde-i18n-nl-%version.tar.bz2
-Source41: kde-i18n-nn-%version.tar.bz2
-Source42: kde-i18n-pa-%version.tar.bz2
-Source43: kde-i18n-pl-%version.tar.bz2
-Source44: kde-i18n-pt-%version.tar.bz2
-Source45: kde-i18n-pt_BR-%version.tar.bz2
-Source46: kde-i18n-ro-%version.tar.bz2
-Source47: kde-i18n-ru-%version.tar.bz2
-Source48: kde-i18n-rw-%version.tar.bz2
-Source49: kde-i18n-se-%version.tar.bz2
-Source50: kde-i18n-sk-%version.tar.bz2
-Source51: kde-i18n-sl-%version.tar.bz2
-Source52: kde-i18n-sr-%version.tar.bz2
-Source53: kde-i18n-sr(a)Latn-%version.tar.bz2
-Source54: kde-i18n-ss-%version.tar.bz2
-Source55: kde-i18n-sv-%version.tar.bz2
-Source56: kde-i18n-ta-%version.tar.bz2
-Source57: kde-i18n-tg-%version.tar.bz2
-Source58: kde-i18n-tr-%version.tar.bz2
-Source59: kde-i18n-uk-%version.tar.bz2
-Source60: kde-i18n-uz-%version.tar.bz2
-Source61: kde-i18n-zh_CN-%version.tar.bz2
-Source62: kde-i18n-zh_TW-%version.tar.bz2
+Source31: kde-i18n-kk-%version.tar.bz2
+Source32: kde-i18n-km-%version.tar.bz2
+Source33: kde-i18n-ko-%version.tar.bz2
+Source34: kde-i18n-lt-%version.tar.bz2
+Source35: kde-i18n-lv-%version.tar.bz2
+Source36: kde-i18n-mk-%version.tar.bz2
+Source37: kde-i18n-mn-%version.tar.bz2
+Source38: kde-i18n-ms-%version.tar.bz2
+Source39: kde-i18n-nb-%version.tar.bz2
+Source40: kde-i18n-nds-%version.tar.bz2
+Source41: kde-i18n-nl-%version.tar.bz2
+Source42: kde-i18n-nn-%version.tar.bz2
+Source43: kde-i18n-pa-%version.tar.bz2
+Source44: kde-i18n-pl-%version.tar.bz2
+Source45: kde-i18n-pt-%version.tar.bz2
+Source46: kde-i18n-pt_BR-%version.tar.bz2
+Source47: kde-i18n-ro-%version.tar.bz2
+Source48: kde-i18n-ru-%version.tar.bz2
+Source49: kde-i18n-rw-%version.tar.bz2
+Source50: kde-i18n-se-%version.tar.bz2
+Source51: kde-i18n-sk-%version.tar.bz2
+Source52: kde-i18n-sl-%version.tar.bz2
+Source53: kde-i18n-sr-%version.tar.bz2
+Source54: kde-i18n-sr(a)Latn-%version.tar.bz2
+Source55: kde-i18n-ss-%version.tar.bz2
+Source56: kde-i18n-sv-%version.tar.bz2
+Source57: kde-i18n-ta-%version.tar.bz2
+Source58: kde-i18n-tg-%version.tar.bz2
+Source59: kde-i18n-tr-%version.tar.bz2
+Source60: kde-i18n-uk-%version.tar.bz2
+Source61: kde-i18n-uz-%version.tar.bz2
+Source62: kde-i18n-vi-%version.tar.bz2
+Source63: kde-i18n-zh_CN-%version.tar.bz2
+Source64: kde-i18n-zh_TW-%version.tar.bz2
#@SOURCES@
-%define build_languages af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz zh_CN zh_TW
+%define build_languages af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW
%description
All the requirements for a desktop in British English. This package
@@ -562,6 +564,21 @@
--------
The KDE Team <kde(a)kde.org>
+%package kk
+Summary: Kazakh Translations for KDE
+Group: System/GUI/KDE
+Provides: kde-i18n-kk locale(kdelibs3:kk)
+
+%description kk
+All the requirements for a Kazakh Desktop. This package contains
+application translations, help files, and screen shots.
+
+
+
+Authors:
+--------
+ The KDE Team <kde(a)kde.org>
+
%package km
Summary: Khmer Translations for KDE
Group: System/GUI/KDE
@@ -1016,6 +1033,21 @@
--------
The KDE Team <kde(a)kde.org>
+%package vi
+Summary: Vietnamese translations for KDE
+Group: System/GUI/KDE
+Provides: kde-i18n-vi locale(kdelibs3:vi)
+
+%description vi
+All the stuff for a Vietnamese desktop. This package contains
+application translations, help files and screenshots.
+
+
+
+Authors:
+--------
+ The KDE Team <kde(a)kde.org>
+
%package zh_CN
Summary: Simplified Chinese Translations for KDE
Group: System/GUI/KDE
@@ -1047,7 +1079,7 @@
The KDE Team <kde(a)kde.org>
%prep
-%setup -q -n kde-i18n-ar-%version -b 0 -b 1 -b 2 -b 3 -b 4 -b 5 -b 6 -b 7 -b 8 -b 9 -b 10 -b 11 -b 12 -b 13 -b 14 -b 15 -b 16 -b 17 -b 18 -b 19 -b 20 -b 21 -b 22 -b 23 -b 24 -b 25 -b 26 -b 27 -b 28 -b 29 -b 30 -b 31 -b 32 -b 33 -b 34 -b 35 -b 36 -b 37 -b 38 -b 39 -b 40 -b 41 -b 42 -b 43 -b 44 -b 45 -b 46 -b 47 -b 48 -b 49 -b 50 -b 51 -b 52 -b 53 -b 54 -b 55 -b 56 -b 57 -b 58 -b 59 -b 60 -b 61 -b 62
+%setup -q -n kde-i18n-ar-%version -b 0 -b 1 -b 2 -b 3 -b 4 -b 5 -b 6 -b 7 -b 8 -b 9 -b 10 -b 11 -b 12 -b 13 -b 14 -b 15 -b 16 -b 17 -b 18 -b 19 -b 20 -b 21 -b 22 -b 23 -b 24 -b 25 -b 26 -b 27 -b 28 -b 29 -b 30 -b 31 -b 32 -b 33 -b 34 -b 35 -b 36 -b 37 -b 38 -b 39 -b 40 -b 41 -b 42 -b 43 -b 44 -b 45 -b 46 -b 47 -b 48 -b 49 -b 50 -b 51 -b 52 -b 53 -b 54 -b 55 -b 56 -b 57 -b 58 -b 59 -b 60 -b 61 -b 62 -b 63 -b 64
. /etc/opt/kde3/common_options
for i in %build_languages; do
cd ../kde-i18n-$i-%version || exit 1
@@ -1240,6 +1272,8 @@
%files ja -f ../files.ja
+%files kk -f ../files.kk
+
%files km -f ../files.km
%files ko -f ../files.ko
@@ -1300,12 +1334,18 @@
%files uz -f ../files.uz
+%files vi -f ../files.vi
+
%files zh_CN -f ../files.zh_CN
%files zh_TW -f ../files.zh_TW
#@FILES@
%changelog -n kde3-i18n
+* Wed May 24 2006 - coolo(a)suse.de
+- update to KDE 3.5.3
+- adding vi, kk
+- tons of updates
* Sun Mar 19 2006 - coolo(a)suse.de
- update to KDE 3.5.2
* Tue Feb 28 2006 - coolo(a)suse.de
++++++ kde-i18n-af-3.5.2.tar.bz2 -> kde-i18n-af-3.5.3.tar.bz2 ++++++
++++ 28279 lines of diff (skipped)
++++++ kde-i18n-ar-3.5.2.tar.bz2 -> kde-i18n-ar-3.5.3.tar.bz2 ++++++
++++ 28403 lines of diff (skipped)
++++++ kde-i18n-az-3.5.2.tar.bz2 -> kde-i18n-az-3.5.3.tar.bz2 ++++++
++++ 29569 lines of diff (skipped)
++++++ kde-i18n-bg-3.5.2.tar.bz2 -> kde-i18n-bg-3.5.3.tar.bz2 ++++++
++++ 28837 lines of diff (skipped)
++++++ kde-i18n-bn-3.5.2.tar.bz2 -> kde-i18n-bn-3.5.3.tar.bz2 ++++++
++++ 52250 lines of diff (skipped)
++++++ kde-i18n-br-3.5.2.tar.bz2 -> kde-i18n-br-3.5.3.tar.bz2 ++++++
++++ 38243 lines of diff (skipped)
++++++ kde-i18n-bs-3.5.2.tar.bz2 -> kde-i18n-bs-3.5.3.tar.bz2 ++++++
++++ 127364 lines of diff (skipped)
++++++ kde-i18n-ca-3.5.2.tar.bz2 -> kde-i18n-ca-3.5.3.tar.bz2 ++++++
++++ 95966 lines of diff (skipped)
++++++ kde-i18n-cs-3.5.2.tar.bz2 -> kde-i18n-cs-3.5.3.tar.bz2 ++++++
++++ 35805 lines of diff (skipped)
++++++ kde-i18n-cy-3.5.2.tar.bz2 -> kde-i18n-cy-3.5.3.tar.bz2 ++++++
++++ 34036 lines of diff (skipped)
++++++ kde-i18n-da-3.5.2.tar.bz2 -> kde-i18n-da-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-da-3.5.2.tar.bz2 kde3-i18n/kde-i18n-da-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-de-3.5.2.tar.bz2 -> kde-i18n-de-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-de-3.5.2.tar.bz2 kde3-i18n/kde-i18n-de-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-el-3.5.2.tar.bz2 -> kde-i18n-el-3.5.3.tar.bz2 ++++++
++++ 50669 lines of diff (skipped)
++++++ kde-i18n-en_GB-3.5.2.tar.bz2 -> kde-i18n-en_GB-3.5.3.tar.bz2 ++++++
++++ 34648 lines of diff (skipped)
++++++ kde-i18n-eo-3.5.2.tar.bz2 -> kde-i18n-eo-3.5.3.tar.bz2 ++++++
++++ 22764 lines of diff (skipped)
++++++ kde-i18n-es-3.5.2.tar.bz2 -> kde-i18n-es-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-es-3.5.2.tar.bz2 kde3-i18n/kde-i18n-es-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-et-3.5.2.tar.bz2 -> kde-i18n-et-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-et-3.5.2.tar.bz2 kde3-i18n/kde-i18n-et-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-eu-3.5.2.tar.bz2 -> kde-i18n-eu-3.5.3.tar.bz2 ++++++
++++ 34462 lines of diff (skipped)
++++++ kde-i18n-fa-3.5.2.tar.bz2 -> kde-i18n-fa-3.5.3.tar.bz2 ++++++
++++ 9778 lines of diff (skipped)
++++++ kde-i18n-fi-3.5.2.tar.bz2 -> kde-i18n-fi-3.5.3.tar.bz2 ++++++
++++ 49720 lines of diff (skipped)
++++++ kde-i18n-fr-3.5.2.tar.bz2 -> kde-i18n-fr-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-fr-3.5.2.tar.bz2 kde3-i18n/kde-i18n-fr-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-fy-3.5.2.tar.bz2 -> kde-i18n-fy-3.5.3.tar.bz2 ++++++
++++ 35566 lines of diff (skipped)
++++++ kde-i18n-ga-3.5.2.tar.bz2 -> kde-i18n-ga-3.5.3.tar.bz2 ++++++
++++ 35499 lines of diff (skipped)
++++++ kde-i18n-gl-3.5.2.tar.bz2 -> kde-i18n-gl-3.5.3.tar.bz2 ++++++
++++ 54623 lines of diff (skipped)
++++++ kde-i18n-he-3.5.2.tar.bz2 -> kde-i18n-he-3.5.3.tar.bz2 ++++++
++++ 30127 lines of diff (skipped)
++++++ kde-i18n-hi-3.5.2.tar.bz2 -> kde-i18n-hi-3.5.3.tar.bz2 ++++++
++++ 30243 lines of diff (skipped)
++++++ kde-i18n-hr-3.5.2.tar.bz2 -> kde-i18n-hr-3.5.3.tar.bz2 ++++++
++++ 55852 lines of diff (skipped)
++++++ kde-i18n-hu-3.5.2.tar.bz2 -> kde-i18n-hu-3.5.3.tar.bz2 ++++++
++++ 34505 lines of diff (skipped)
++++++ kde-i18n-is-3.5.2.tar.bz2 -> kde-i18n-is-3.5.3.tar.bz2 ++++++
++++ 34433 lines of diff (skipped)
++++++ kde-i18n-it-3.5.2.tar.bz2 -> kde-i18n-it-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-it-3.5.2.tar.bz2 kde3-i18n/kde-i18n-it-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-ja-3.5.2.tar.bz2 -> kde-i18n-ja-3.5.3.tar.bz2 ++++++
++++ 80667 lines of diff (skipped)
++++++ kde-i18n-km-3.5.2.tar.bz2 -> kde-i18n-km-3.5.3.tar.bz2 ++++++
++++ 79758 lines of diff (skipped)
++++++ kde-i18n-ko-3.5.2.tar.bz2 -> kde-i18n-ko-3.5.3.tar.bz2 ++++++
++++ 18837 lines of diff (skipped)
++++++ kde-i18n-lt-3.5.2.tar.bz2 -> kde-i18n-lt-3.5.3.tar.bz2 ++++++
++++ 36621 lines of diff (skipped)
++++++ kde-i18n-lv-3.5.2.tar.bz2 -> kde-i18n-lv-3.5.3.tar.bz2 ++++++
++++ 26479 lines of diff (skipped)
++++++ kde-i18n-mk-3.5.2.tar.bz2 -> kde-i18n-mk-3.5.3.tar.bz2 ++++++
++++ 92040 lines of diff (skipped)
++++++ kde-i18n-mn-3.5.2.tar.bz2 -> kde-i18n-mn-3.5.3.tar.bz2 ++++++
++++ 12912 lines of diff (skipped)
++++++ kde-i18n-ms-3.5.2.tar.bz2 -> kde-i18n-ms-3.5.3.tar.bz2 ++++++
++++ 68306 lines of diff (skipped)
++++++ kde-i18n-nb-3.5.2.tar.bz2 -> kde-i18n-nb-3.5.3.tar.bz2 ++++++
++++ 33952 lines of diff (skipped)
++++++ kde-i18n-nds-3.5.2.tar.bz2 -> kde-i18n-nds-3.5.3.tar.bz2 ++++++
++++ 62689 lines of diff (skipped)
++++++ kde-i18n-nl-3.5.2.tar.bz2 -> kde-i18n-nl-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-nl-3.5.2.tar.bz2 kde3-i18n/kde-i18n-nl-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-nn-3.5.2.tar.bz2 -> kde-i18n-nn-3.5.3.tar.bz2 ++++++
++++ 30398 lines of diff (skipped)
++++++ kde-i18n-pa-3.5.2.tar.bz2 -> kde-i18n-pa-3.5.3.tar.bz2 ++++++
++++ 24128 lines of diff (skipped)
++++++ kde-i18n-pl-3.5.2.tar.bz2 -> kde-i18n-pl-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-pl-3.5.2.tar.bz2 kde3-i18n/kde-i18n-pl-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-pt-3.5.2.tar.bz2 -> kde-i18n-pt-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-pt-3.5.2.tar.bz2 kde3-i18n/kde-i18n-pt-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-pt_BR-3.5.2.tar.bz2 -> kde-i18n-pt_BR-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-pt_BR-3.5.2.tar.bz2 kde3-i18n/kde-i18n-pt_BR-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-ro-3.5.2.tar.bz2 -> kde-i18n-ro-3.5.3.tar.bz2 ++++++
++++ 33641 lines of diff (skipped)
++++++ kde-i18n-ru-3.5.2.tar.bz2 -> kde-i18n-ru-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-ru-3.5.2.tar.bz2 kde3-i18n/kde-i18n-ru-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-rw-3.5.2.tar.bz2 -> kde-i18n-rw-3.5.3.tar.bz2 ++++++
++++ 36441 lines of diff (skipped)
++++++ kde-i18n-se-3.5.2.tar.bz2 -> kde-i18n-se-3.5.3.tar.bz2 ++++++
++++ 21985 lines of diff (skipped)
++++++ kde-i18n-sk-3.5.2.tar.bz2 -> kde-i18n-sk-3.5.3.tar.bz2 ++++++
++++ 32946 lines of diff (skipped)
++++++ kde-i18n-sl-3.5.2.tar.bz2 -> kde-i18n-sl-3.5.3.tar.bz2 ++++++
++++ 53818 lines of diff (skipped)
++++++ kde-i18n-sr-3.5.2.tar.bz2 -> kde-i18n-sr-3.5.3.tar.bz2 ++++++
++++ 34943 lines of diff (skipped)
++++++ kde-i18n-sr(a)Latn-3.5.2.tar.bz2 -> kde-i18n-sr(a)Latn-3.5.3.tar.bz2 ++++++
++++ 34949 lines of diff (skipped)
++++++ kde-i18n-ss-3.5.2.tar.bz2 -> kde-i18n-ss-3.5.3.tar.bz2 ++++++
++++ 14539 lines of diff (skipped)
++++++ kde-i18n-sv-3.5.2.tar.bz2 -> kde-i18n-sv-3.5.3.tar.bz2 ++++++
KDE/kde3-i18n/kde-i18n-sv-3.5.2.tar.bz2 kde3-i18n/kde-i18n-sv-3.5.3.tar.bz2 differ: char 11, line 1
++++++ kde-i18n-ta-3.5.2.tar.bz2 -> kde-i18n-ta-3.5.3.tar.bz2 ++++++
++++ 34451 lines of diff (skipped)
++++++ kde-i18n-tg-3.5.2.tar.bz2 -> kde-i18n-tg-3.5.3.tar.bz2 ++++++
++++ 59881 lines of diff (skipped)
++++++ kde-i18n-tr-3.5.2.tar.bz2 -> kde-i18n-tr-3.5.3.tar.bz2 ++++++
++++ 34297 lines of diff (skipped)
++++++ kde-i18n-uk-3.5.2.tar.bz2 -> kde-i18n-uk-3.5.3.tar.bz2 ++++++
++++ 39330 lines of diff (skipped)
++++++ kde-i18n-uz-3.5.2.tar.bz2 -> kde-i18n-uz-3.5.3.tar.bz2 ++++++
++++ 31506 lines of diff (skipped)
++++++ kde-i18n-zh_CN-3.5.2.tar.bz2 -> kde-i18n-zh_CN-3.5.3.tar.bz2 ++++++
++++ 42908 lines of diff (skipped)
++++++ kde-i18n-zh_TW-3.5.2.tar.bz2 -> kde-i18n-zh_TW-3.5.3.tar.bz2 ++++++
++++ 26378 lines of diff (skipped)
++++++ kde3-i18n.spec.in ++++++
--- KDE/kde3-i18n/kde3-i18n.spec.in 2006-03-19 11:54:55.000000000 +0100
+++ kde3-i18n/kde3-i18n.spec.in 2006-05-24 07:05:43.000000000 +0200
@@ -18,7 +18,7 @@
License: LGPL
Group: System/GUI/KDE
Summary: English (UK) translations for KDE
-Version: 3.5.2
+Version: 3.5.3
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package yast2-packager
checked in at Thu May 25 00:54:50 CEST 2006.
--------
--- yast2-packager/yast2-packager.changes 2006-05-16 15:50:15.000000000 +0200
+++ yast2-packager/yast2-packager.changes 2006-05-24 13:39:03.000000000 +0200
@@ -1,0 +2,20 @@
+Wed May 24 12:54:33 CEST 2006 - jsrain(a)suse.cz
+
+- properly integrate YCP code for add-on product installation if
+ add-on product media booted (if YCP code present) (#178311)
+- 2.13.119
+
+-------------------------------------------------------------------
+Fri May 19 10:35:24 CEST 2006 - jsrain(a)suse.cz
+
+- store ProductFeatures before starting package installation
+ (#176993)
+- 2.13.118
+
+-------------------------------------------------------------------
+Wed May 17 10:53:12 CEST 2006 - jsrain(a)suse.cz
+
+- decode %2f from FTP path from install.inf (#169310)
+- 2.13.117
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.13.116.tar.bz2
New:
----
yast2-packager-2.13.119.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.miL3eY/_old 2006-05-25 00:54:38.000000000 +0200
+++ /var/tmp/diff_new_pack.miL3eY/_new 2006-05-25 00:54:38.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.13.116)
+# spec file for package yast2-packager (Version 2.13.119)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-packager
-Version: 2.13.116
+Version: 2.13.119
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.13.116.tar.bz2
+Source0: yast2-packager-2.13.119.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-country yast2-devtools yast2-installation yast2-testsuite yast2-xml
Requires: yast2 yast2-installation checkmedia yast2-country
@@ -41,7 +41,7 @@
Arvin Schnell <arvin(a)suse.de>
%prep
-%setup -n yast2-packager-2.13.116
+%setup -n yast2-packager-2.13.119
%build
%{prefix}/bin/y2tool y2autoconf
@@ -78,6 +78,17 @@
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog -n yast2-packager
+* Wed May 24 2006 - jsrain(a)suse.cz
+- properly integrate YCP code for add-on product installation if
+ add-on product media booted (if YCP code present) (#178311)
+- 2.13.119
+* Fri May 19 2006 - jsrain(a)suse.cz
+- store ProductFeatures before starting package installation
+ (#176993)
+- 2.13.118
+* Wed May 17 2006 - jsrain(a)suse.cz
+- decode %%2f from FTP path from install.inf (#169310)
+- 2.13.117
* Tue May 16 2006 - jsrain(a)suse.cz
- don't use patterns required by product during autoinstallation
(#159466)
++++++ yast2-packager-2.13.116.tar.bz2 -> yast2-packager-2.13.119.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.13.116/VERSION new/yast2-packager-2.13.119/VERSION
--- old/yast2-packager-2.13.116/VERSION 2006-05-16 15:40:05.000000000 +0200
+++ new/yast2-packager-2.13.119/VERSION 2006-05-24 13:04:23.000000000 +0200
@@ -1 +1 @@
-2.13.116
+2.13.119
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.13.116/configure new/yast2-packager-2.13.119/configure
--- old/yast2-packager-2.13.116/configure 2006-05-16 15:48:07.000000000 +0200
+++ new/yast2-packager-2.13.119/configure 2006-05-24 13:36:28.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for yast2-packager 2.13.116.
+# Generated by GNU Autoconf 2.59 for yast2-packager 2.13.119.
#
# Report bugs to <http://bugs.opensuse.org/>.
#
@@ -269,8 +269,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-packager'
PACKAGE_TARNAME='yast2-packager'
-PACKAGE_VERSION='2.13.116'
-PACKAGE_STRING='yast2-packager 2.13.116'
+PACKAGE_VERSION='2.13.119'
+PACKAGE_STRING='yast2-packager 2.13.119'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -728,7 +728,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-packager 2.13.116 to adapt to many kinds of systems.
+\`configure' configures yast2-packager 2.13.119 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -795,7 +795,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-packager 2.13.116:";;
+ short | recursive ) echo "Configuration of yast2-packager 2.13.119:";;
esac
cat <<\_ACEOF
@@ -908,7 +908,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-packager configure 2.13.116
+yast2-packager configure 2.13.119
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -922,7 +922,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-packager $as_me 2.13.116, which was
+It was created by yast2-packager $as_me 2.13.119, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1652,7 +1652,7 @@
# Define the identity of the package.
PACKAGE='yast2-packager'
- VERSION='2.13.116'
+ VERSION='2.13.119'
cat >>confdefs.h <<_ACEOF
@@ -1863,7 +1863,7 @@
-VERSION="2.13.116"
+VERSION="2.13.119"
RPMNAME="yast2-packager"
MAINTAINER="Jiri Srain <jsrain(a)suse.cz>"
@@ -2695,7 +2695,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-packager $as_me 2.13.116, which was
+This file was extended by yast2-packager $as_me 2.13.119, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -2750,7 +2750,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-packager config.status 2.13.116
+yast2-packager config.status 2.13.119
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.13.116/configure.in new/yast2-packager-2.13.119/configure.in
--- old/yast2-packager-2.13.116/configure.in 2006-05-16 15:48:03.000000000 +0200
+++ new/yast2-packager-2.13.119/configure.in 2006-05-24 13:36:16.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.13.18 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-packager, 2.13.116, http://bugs.opensuse.org/, yast2-packager)
+AC_INIT(yast2-packager, 2.13.119, http://bugs.opensuse.org/, yast2-packager)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.13.116"
+VERSION="2.13.119"
RPMNAME="yast2-packager"
MAINTAINER="Jiri Srain <jsrain(a)suse.cz>"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.13.116/src/clients/inst_kickoff.ycp new/yast2-packager-2.13.119/src/clients/inst_kickoff.ycp
--- old/yast2-packager-2.13.116/src/clients/inst_kickoff.ycp 2006-05-11 13:45:48.000000000 +0200
+++ new/yast2-packager-2.13.119/src/clients/inst_kickoff.ycp 2006-05-19 10:03:12.000000000 +0200
@@ -24,6 +24,7 @@
import "Kernel";
import "Arch";
import "FileUtils";
+ import "ProductFeatures";
void AcpiToInitrd () {
if (! (Arch::i386 () || Arch::x86_64 () || Arch::ia64 ()))
@@ -392,5 +393,14 @@
SCR::Execute (.target.bash, "/bin/echo \"/etc/nothing\" >/proc/sys/kernel/modprobe");
}
+ if (Stage::initial ())
+ {
+ ProductFeatures::Save();
+ WFM::Execute (.local.bash, sformat (
+ "/bin/mkdir -p %1/etc/YaST2", Installation::destdir));
+ WFM::Execute (.local.bash, sformat (
+ "/bin/cp %1 %2/%1", "/etc/YaST2/ProductFeatures", Installation::destdir));
+ }
+
return `next;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.13.116/src/modules/InstURL.ycp new/yast2-packager-2.13.119/src/modules/InstURL.ycp
--- old/yast2-packager-2.13.116/src/modules/InstURL.ycp 2006-05-03 14:05:56.000000000 +0200
+++ new/yast2-packager-2.13.119/src/modules/InstURL.ycp 2006-05-17 10:53:46.000000000 +0200
@@ -6,7 +6,7 @@
* Purpose: Convert /etc/install.inf data to URL
*
*
- * $Id: InstURL.ycp 29680 2006-04-04 17:34:37Z jsrain $
+ * $Id: InstURL.ycp 30961 2006-05-17 08:53:41Z jsrain $
*/
{
@@ -233,6 +233,8 @@
// ftp://foo/bar is bar on foo (absolute)
// ftp://foo//bar is /bar on foo (relative)
// Note: %2f is added by URL.ycp if the path starts with /
+ if (substring (serverdir, 0, 3) == "%2f")
+ serverdir = "/" + substring (serverdir, 3);
fs = serverdir;
} else if (instmode == "smb" && (share != nil) && (share != "")) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.13.116/src/modules/Packages.ycp new/yast2-packager-2.13.119/src/modules/Packages.ycp
--- old/yast2-packager-2.13.116/src/modules/Packages.ycp 2006-05-16 15:34:50.000000000 +0200
+++ new/yast2-packager-2.13.119/src/modules/Packages.ycp 2006-05-24 12:55:18.000000000 +0200
@@ -3,7 +3,7 @@
* Package: Package selections
* Authors: Anas Nashif <nashif(a)suse.de>
*
- * $Id: Packages.ycp 30943 2006-05-16 13:34:43Z jsrain $
+ * $Id: Packages.ycp 31125 2006-05-24 10:55:12Z jsrain $
*/
{
@@ -639,7 +639,12 @@
{
AddOnProduct::WFIntegrate (spdir + "/installation.xml");
}
+ if ((integer)WFM::Read (.local.size, spdir + "/y2update.tgz") > 0)
+ {
+ AddOnProduct::UpdateInstSys (spdir + "/y2update.tgz");
+ }
string sp_url = "dir:" + spdir;
+ PackageCallbacksInit::InitPackageCallbacks ();
integer sp_source = Pkg::SourceCreate (sp_url, "");
if (sp_source == -1)
Report::Error (_("Failed to integrate service pack source."));
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package yakuake
checked in at Thu May 25 00:54:31 CEST 2006.
--------
--- KDE/yakuake/yakuake.changes 2006-03-27 13:52:53.000000000 +0200
+++ yakuake/yakuake.changes 2006-05-24 19:21:26.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 24 19:21:21 CEST 2006 - adrian(a)suse.de
+
+- fix build for < 10.1
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yakuake.spec ++++++
--- /var/tmp/diff_new_pack.FhDSVp/_old 2006-05-25 00:54:16.000000000 +0200
+++ /var/tmp/diff_new_pack.FhDSVp/_new 2006-05-25 00:54:16.000000000 +0200
@@ -18,7 +18,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: yakuake is a terminal for KDE
Version: 2.7.5
-Release: 1
+Release: 8
Source: %{name}-%{version}.tar.bz2
Source1: yakuake.desktop
@@ -44,7 +44,11 @@
%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
+%if %suse_version < 1010
+%suse_update_desktop_file %name System TerminalEmulator
+%else
%suse_update_desktop_file -G "Terminal Program" %name System TerminalEmulator
+%endif
%post
%{run_ldconfig}
@@ -65,6 +69,8 @@
/opt/kde3/share/locale/*/LC_MESSAGES/*.mo
%changelog -n yakuake
+* Wed May 24 2006 - adrian(a)suse.de
+- fix build for < 10.1
* Mon Mar 27 2006 - dkukawka(a)suse.de
- updated to new upstream version 2.7.5:
- Further translations have been added.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package varmon
checked in at Thu May 25 00:54:28 CEST 2006.
--------
--- varmon/varmon.changes 2006-01-25 21:42:30.000000000 +0100
+++ varmon/varmon.changes 2006-05-24 23:10:09.000000000 +0200
@@ -1,0 +2,6 @@
+Wed May 24 23:09:58 CEST 2006 - schwab(a)suse.de
+
+- Use RPM_OPT_FLAGS.
+- Don't strip binaries.
+
+-------------------------------------------------------------------
New:
----
makefile.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ varmon.spec ++++++
--- /var/tmp/diff_new_pack.MMDugI/_old 2006-05-25 00:54:14.000000000 +0200
+++ /var/tmp/diff_new_pack.MMDugI/_new 2006-05-25 00:54:14.000000000 +0200
@@ -1,26 +1,26 @@
#
# spec file for package varmon (Version 1.0.2)
#
-# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://www.suse.de/feedback/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: varmon
Summary: Mylex DAC960 RAID Controller Monitoring Tool
-
License: GPL
Group: Hardware/Other
Autoreqprov: on
Version: 1.0.2
-Release: 575
+Release: 587
Source: varmon-1.0.2.tar.gz
Patch: varmon-1.0.2.dif
Patch1: gcc4.dif
+Patch2: makefile.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -38,23 +38,27 @@
%setup -n varmon-1.0.2
%patch
%patch1
+%patch2
rm -f varmon
%build
-make
+make CFLAGS="$RPM_OPT_FLAGS"
%install
-test -n "$RPM_BUILD_ROOT" && rm -Rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/sbin
install varmon $RPM_BUILD_ROOT/sbin/
%clean
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/sbin/varmon
%changelog -n varmon
+* Wed May 24 2006 - schwab(a)suse.de
+- Use RPM_OPT_FLAGS.
+- Don't strip binaries.
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Sun Apr 24 2005 - aj(a)suse.de
++++++ makefile.diff ++++++
--- Makefile
+++ Makefile
@@ -3,10 +3,9 @@
# Author Dragan Stancevic <visitor(a)valinux.com>
strip: varmon
- strip varmon
varmon: olddel
- gcc -o varmon varmon.c -Wall -lncurses
+ gcc -o varmon varmon.c -Wall $(CFLAGS) -lncurses
static: varmon_st
strip varmon
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package smb4k
checked in at Thu May 25 00:53:56 CEST 2006.
--------
--- KDE/smb4k/smb4k.changes 2006-05-16 12:07:37.000000000 +0200
+++ smb4k/smb4k.changes 2006-05-24 11:46:56.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 24 11:46:51 CEST 2006 - adrian(a)suse.de
+
+- fix build for < 10.1
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ smb4k.spec ++++++
--- /var/tmp/diff_new_pack.kviUtm/_old 2006-05-25 00:53:21.000000000 +0200
+++ /var/tmp/diff_new_pack.kviUtm/_new 2006-05-25 00:53:21.000000000 +0200
@@ -12,11 +12,14 @@
Name: smb4k
BuildRequires: kdebase3-devel
+%if %suse_version < 1010
+BuildRequires: update-desktop-files
+%endif
License: GPL
Group: Productivity/Networking/Samba
Summary: extended SMB and CIFS share browser for KDE
Version: 0.7.0
-Release: 2
+Release: 4
URL: http://smb4k.berlios.de/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %name-%version.tar.bz2
@@ -73,6 +76,8 @@
/opt/kde3/share/icons/*
%changelog -n smb4k
+* Wed May 24 2006 - adrian(a)suse.de
+- fix build for < 10.1
* Tue May 02 2006 - stbinner(a)suse.de
- 0.7 update
* KonqSidebar_Smb4K: hang up the new alreadyMountedShare signal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package scarse
checked in at Thu May 25 00:53:09 CEST 2006.
--------
--- scarse/scarse.changes 2006-01-27 02:25:02.000000000 +0100
+++ scarse/scarse.changes 2006-05-24 22:01:15.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 24 22:01:09 CEST 2006 - schwab(a)suse.de
+
+- Don't strip binaries.
+
+-------------------------------------------------------------------
New:
----
scarse-strip.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ scarse.spec ++++++
--- /var/tmp/diff_new_pack.lDNROc/_old 2006-05-25 00:53:00.000000000 +0200
+++ /var/tmp/diff_new_pack.lDNROc/_new 2006-05-25 00:53:00.000000000 +0200
@@ -5,7 +5,7 @@
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
@@ -13,7 +13,7 @@
Name: scarse
BuildRequires: libtiff-devel
Version: 0.4.alpha
-Release: 3
+Release: 14
%define _version 0.4
%define __version 0.4-alpha
URL: http://www.scarse.org/
@@ -24,6 +24,7 @@
Patch: scarse-0.4-alpha-gcc4.patch
Patch1: scarse-icclib-fix.patch
Patch2: scarse-0.4-alpha-integer.patch
+Patch3: scarse-strip.patch
Autoreqprov: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -43,6 +44,7 @@
%patch
%patch1
%patch2
+%patch3
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -52,7 +54,6 @@
make %{?jobs:-j %jobs}
%install
-rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT/usr install
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/icclib
cp CHANGES COPYING CREDITS INSTALL README TODO $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
@@ -68,6 +69,8 @@
/usr/share/scarse
%changelog -n scarse
+* Wed May 24 2006 - schwab(a)suse.de
+- Don't strip binaries.
* Fri Jan 27 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 24 2006 - mmarek(a)suse.cz
++++++ scarse-strip.patch ++++++
--- src/Makefile.in
+++ src/Makefile.in
@@ -64,7 +64,7 @@
install: $(bins)
$(INSTALL) -d $(bindir)
- $(INSTALL) -s $(bins) $(bindir)
+ $(INSTALL) $(bins) $(bindir)
$(UXP) $(addprefix $(bindir)/, $(bins))
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package ruby-ldap
checked in at Thu May 25 00:53:05 CEST 2006.
--------
--- ruby-ldap/ruby-ldap.changes 2006-01-25 21:41:15.000000000 +0100
+++ ruby-ldap/ruby-ldap.changes 2006-05-24 07:18:56.000000000 +0200
@@ -1,0 +2,37 @@
+Wed May 24 07:00:28 CEST 2006 - mrueckert(a)suse.de
+
+- Update to version 0.9.5
+ o The software now builds and works out of the box on Windows.
+
+ Changes from 0.9.4:
+ o Modify LDAP::Conn#search, LDAP::Conn#search2,
+ LDAP::Conn#search_ext and LDAP::Conn#search_ext2 to treat
+ LDAP_SIZELIMIT_EXCEEDED as success. After using any of these
+ four methods, the user should check whether
+ LDAP::Conn#err == LDAP::LDAP_SIZELIMIT_EXCEEDED.
+ If true, the results set has been truncated by the server.
+ Previously, LDAP_SIZELIMIT_EXCEEDED would raise an exception
+ and no results would be returned, which is not the correct
+ behaviour if the user has deliberately put a limit on the
+ number of results to be returned, in order to spare the
+ server.
+ o Duplicate code refactored.
+ o Missing RDoc documentation added for LDAP::Conn#err.
+
+ Changes from 0.9.3
+ o LDAP::Schema#names and LDAP::Schema#attr will now allow
+ names with hyphens and/or underscores.
+ o Silence a warning about @sasl_quiet when run in debug mode.
+ o Fix uninitialised data structures in LDAP::SSLConn#bind and
+ LDAP::SSLConn#simple_bind.
+ o Build properly with OpenLDAP 2.3.
+ o Build-time options --with-ldap-incdir and --with-ldap-libdir
+ have been replaced by --with-ldap-include and --with-ldap-lib.
+ This is a consequence of making extconf.rb more standard.
+ o Windows build has been improved, so that it should now at least
+ build without error. Whether it will work is another matter.
+
+- removed ruby-ldap-0.9.2_ldapapi.patch:
+ this patch is no longer needed
+
+-------------------------------------------------------------------
Old:
----
ruby-ldap-0.9.2.tar.gz
ruby-ldap-0.9.2_ldapapi.patch
New:
----
ruby-ldap-0.9.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ruby-ldap.spec ++++++
--- /var/tmp/diff_new_pack.9UF5dN/_old 2006-05-25 00:52:47.000000000 +0200
+++ /var/tmp/diff_new_pack.9UF5dN/_new 2006-05-25 00:52:47.000000000 +0200
@@ -1,25 +1,28 @@
#
-# spec file for package ruby-ldap (Version 0.9.2)
+# spec file for package ruby-ldap (Version 0.9.5)
#
-# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ruby-ldap
-BuildRequires: openldap2 openldap2-devel ruby-devel
-Version: 0.9.2
+Version: 0.9.5
Release: 1
+#
License: BSD
Group: Development/Languages/Ruby
+#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: openldap2 openldap2-devel ruby-devel
+#
URL: http://sourceforge.net/projects/ruby-ldap/
-Source: http://rdownload.sourceforge.net/ruby-ldap/%{name}-%{version}.tar.gz
-Patch: ruby-ldap-0.9.2_ldapapi.patch
+Source: http://prdownloads.sourceforge.net/ruby-ldap/%{name}-%{version}.tar.gz
+#
Summary: A Ruby extension library for accessing the LDAP API
%description
@@ -38,7 +41,6 @@
%prep
%setup
-%patch
%build
ruby extconf.rb \
@@ -68,6 +70,37 @@
%doc example/ test/ rdoc/
%changelog -n ruby-ldap
+* Wed May 24 2006 - mrueckert(a)suse.de
+- Update to version 0.9.5
+ o The software now builds and works out of the box on Windows.
+ Changes from 0.9.4:
+ o Modify LDAP::Conn#search, LDAP::Conn#search2,
+ LDAP::Conn#search_ext and LDAP::Conn#search_ext2 to treat
+ LDAP_SIZELIMIT_EXCEEDED as success. After using any of these
+ four methods, the user should check whether
+ LDAP::Conn#err == LDAP::LDAP_SIZELIMIT_EXCEEDED.
+ If true, the results set has been truncated by the server.
+ Previously, LDAP_SIZELIMIT_EXCEEDED would raise an exception
+ and no results would be returned, which is not the correct
+ behaviour if the user has deliberately put a limit on the
+ number of results to be returned, in order to spare the
+ server.
+ o Duplicate code refactored.
+ o Missing RDoc documentation added for LDAP::Conn#err.
+ Changes from 0.9.3
+ o LDAP::Schema#names and LDAP::Schema#attr will now allow
+ names with hyphens and/or underscores.
+ o Silence a warning about @sasl_quiet when run in debug mode.
+ o Fix uninitialised data structures in LDAP::SSLConn#bind and
+ LDAP::SSLConn#simple_bind.
+ o Build properly with OpenLDAP 2.3.
+ o Build-time options --with-ldap-incdir and --with-ldap-libdir
+ have been replaced by --with-ldap-include and --with-ldap-lib.
+ This is a consequence of making extconf.rb more standard.
+ o Windows build has been improved, so that it should now at least
+ build without error. Whether it will work is another matter.
+- removed ruby-ldap-0.9.2_ldapapi.patch:
+ this patch is no longer needed
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Fri Nov 18 2005 - mrueckert(a)suse.de
++++++ ruby-ldap-0.9.2.tar.gz -> ruby-ldap-0.9.5.tar.gz ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/ChangeLog new/ruby-ldap-0.9.5/ChangeLog
--- old/ruby-ldap-0.9.2/ChangeLog 2005-07-07 10:28:33.000000000 +0200
+++ new/ruby-ldap-0.9.5/ChangeLog 2006-04-20 18:47:42.000000000 +0200
@@ -1,3 +1,119 @@
+Thu Apr 20 16:47:00 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * Version 0.9.5.
+
+Thu Apr 20 16:39:46 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * conn.c (rb_ldap_conn_compare_ext_s): The call to ldap_compare_ext_s()
+ requires an extra argument on Windows platforms.
+
+Thu Apr 20 16:34:21 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * win/winldap.h: Change prototype for ldap_compare_ext_s() to include
+ extra parameter expected on Windows platforms.
+
+Wed Apr 19 22:13:26 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * sslconn.c (rb_ldap_sslconn_bind_f): Fix function definition to
+ silence compiler warning.
+
+Tue Apr 18 23:40:24 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * sslconn.c (rb_ldap_sslconn_bind_f): Function definition was missing
+ an argument.
+ * sslconn.c (rb_ldap_sslconn_bind_s): Erroneously called
+ rb_ldap_sslconn_bind_func() instead of rb_ldap_sslconn_bind_f().
+ * sslconn.c (rb_ldap_sslconn_simple_bind_s): Erroneously called
+ rb_ldap_sslconn_bind_func() instead of rb_ldap_sslconn_bind_f().
+
+Tue Mar 7 23:49:57 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * Version 0.9.4.
+
+Tue Mar 7 21:03:01 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * conn.c (rb_ldap_conn_search_ext_s): Modify LDAP::Conn#search_ext to
+ treat a return value of LDAP_SIZELIMIT_EXCEEDED from
+ rb_ldap_conn_search_ext_i() as success.
+ * conn.c (rb_ldap_conn_search_ext2_s): Ditto for
+ LDAP::Conn#search_ext2.
+
+Mon Mar 6 01:33:10 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * sslconn.c (rb_ldap_sslconn_bind_f): New function containing
+ identical code from rb_ldap_sslconn_bind_s() and
+ rb_ldap_sslconn_simple_bind_s(). The new function takes a function
+ pointer as its last parameter, to decide whether to call
+ rb_ldap_conn_bind_s() or rb_ldap_conn_simple_bind_s(), as previously
+ called by rb_ldap_sslconn_bind_s() and
+ rb_ldap_sslconn_simple_bind_s(), respectively.
+ * sslconn.c (rb_ldap_sslconn_bind_s): Code moved to
+ rb_ldap_sslconn_bind_f().
+ * sslconn.c (rb_ldap_sslconn_simple_bind_s): Code moved to
+ rb_ldap_sslconn_bind_f().
+
+Mon Mar 6 00:28:38 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * conn.c (rb_ldap_conn_search_i): Give a clearer exception message
+ when a call to either ldap_search_s(3) or ldap_search_st(3) returns
+ no pointer to a result.
+
+Thu Mar 2 12:12:58 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * conn.c (rb_ldap_conn_search_s): Modify LDAP::Conn#search to treat a
+ return value of LDAP_SIZELIMIT_EXCEEDED from rb_ldap_conn_search_i()
+ as success.
+ * conn.c (rb_ldap_conn_search2_s): Ditto for LDAP::Conn#search2.
+ * rbldap.h: Check_LDAP_Result macro modifed to treat
+ LDAP_SIZELIMIT_EXCEEDED as success.
+
+Thu Mar 2 11:54:22 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * conn.c: RDoc documentation was missing for LDAP::Conn#err.
+
+Sat Feb 18 09:37:14 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * Version 0.9.3
+
+Thu Feb 16 01:15:59 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * extconf.rb: Build with -DLDAP_DEPRECATED to enable functions no
+ longer automatically defined by ldap.h in OpenLDAP 2.3.
+
+Mon Feb 13 17:20:32 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * conn.c (rb_ldap_conn_bind_s): Use RB_LDAP_DATA instead of struct
+ rb_ldap_data.
+ * conn.c (rb_ldap_conn_simple_bind_s): Ditto.
+ * conn.c (rb_ldap_conn_bound): Ditto.
+ * saslconn.c (rb_ldap_conn_sasl_bind): Ditto.
+
+Mon Feb 13 17:10:08 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * sslconn.c (rb_ldap_sslconn_bind_s): In LDAP::SSLConn#bind, ldapdata
+ was used uninitialised.
+ * sslconn.c (rb_ldap_sslconn_simple_bind_s): Ditto for
+ LDAP::SSLConn#simple_bind.
+
+Sun Feb 12 20:33:28 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * conn.c (rb_ldap_conn_s_allocate): Silence a warning about
+ @sasl_quiet when run in debug mode.
+
+Sun Feb 12 17:28:14 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * extconf.rb: Common directory scheme of mkmf.rb is now used. As a
+ side-effect, --with-ldap-incdir has been replaced by
+ --with-ldap-include and --with-ldap-libdir has been replaced by
+ --with-ldap-lib. Thanks to Usa Nakamura <usa(a)garbagecollect.jp>.
+ * extconf.rb: Display text was improved and grammatical errors were
+ corrected.
+
+Sun Feb 12 17:08:17 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * conn.c: Make inclusion of sys/time.h and unistd.h conditional on
+ macro defines. Thanks to Usa Nakamura <usa(a)garbagecollect.jp>.
+ * saslconn.c: Ditto.
+ * sslconn.c: Ditto.
+
+Sun Feb 12 16:59:06 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * win/winldap.h: Fix up various structs for Windows. Thanks to Usa
+ Nakamura <usa(a)garbagecollect.jp> for the patch.
+
+Thu Feb 8 23:15:17 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * lib/ldap/schema.rb: Allow LDAP::Schema#attr to find attribute names
+ that contain hyphens and/or underscores.
+ * lib/ldap/schema.rb: Fix LDAP::Schema#names to not allow all manner
+ of extra characters in names. That was introduced by the last change.
+
+Thu Feb 8 22:59:07 UTC 2006 Ian Macdonald <ian(a)caliban.org>
+ * lib/ldap/schema.rb: Relax parsing in LDAP::Schema#names to allow
+ names with hyphens and/or underscores. This is apparently an issue
+ with the Sun LDAP server. Thanks to Tilo Sloboda <tilo(a)unixgods.org>
+ for pointing out the issue.
+
Tue Jul 5 19:14:38 UTC 2005 Ian Macdonald <ian(a)caliban.org>
* Version 0.9.2
* conn.c (rb_ldap_conn_perror): str was not declared, but is needed
@@ -26,7 +142,7 @@
rb_ldap_conn_initialize() for a Conn object or
rb_ldap_sslconn_initialize() for an SSLConn object, passing in the
original arguments.
- * conn.c (rb_ldap_conn_bind_s): In LDAP::Conn#bind, all
+ * conn.c (rb_ldap_conn_bind_s): In LDAP::Conn#bind, allow
rb_ldap_conn_rebind() to rebind a connection that has been unbound.
* conn.c (rb_ldap_conn_simple_bind_s): Ditto for
LDAP::Conn#simple_bind.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/FAQ new/ruby-ldap-0.9.5/FAQ
--- old/ruby-ldap-0.9.2/FAQ 2005-02-08 02:55:09.000000000 +0100
+++ new/ruby-ldap-0.9.5/FAQ 2006-03-02 13:40:34.000000000 +0100
@@ -1,25 +1,49 @@
-FAQ --
+$Id: FAQ,v 1.5 2006/03/02 12:40:34 ianmacd Exp $
-[Q] How do I add/modify binary data?
-[A] Create a LDAP::Mod object with the flag LDAP::LDAP_MOD_BVALUES as follows:
- entry = [
- LDAP::mod(LDAP::LDAP_MOD_ADD|LDAP_MOD_BVALUES, 'jpegPhoto', [jpeg_img]),
- LDAP::mod(LDAP::LDAP_MOD_ADD, 'cn', ['Takaaki Tateishi']),
- ...
- ]
- conn.add("dc=localhost, dc=localdomain", entry)
-
-
-[Q] Is there shortcut method for adding/modifying entries.
-[A] Yes, there is. You can directly give LDAP::Conn#add/modify hash data as follows:
-
- entry = {
- 'objectclass' => ['top', 'person'],
- ...
- }
- conn.add("cn=foobar, dc=localhost, dc=localdomain", entry)
-
-[Q] Can I use SASL authentication?
-[A] Yes, it works for me using Cyrus SASL and Kerberos V via GSSAPI.
- Use LDAP::Conn#sasl_bind.
+FAQ
+---
+
+Q. How do I add/modify binary data?
+A. Create a LDAP::Mod object with the flag LDAP::LDAP_MOD_BVALUES as follows:
+
+ entry = [
+ LDAP::mod(LDAP::LDAP_MOD_ADD|LDAP_MOD_BVALUES, 'jpegPhoto', [jpeg_img]),
+ LDAP::mod(LDAP::LDAP_MOD_ADD, 'cn', ['Takaaki Tateishi']),
+ ...
+ ]
+ conn.add("dc=localhost, dc=localdomain", entry)
+
+Q. Is there shortcut method for adding/modifying entries.
+A. Yes, there is. You can directly give LDAP::Conn#add/modify hash data as
+ follows:
+
+ entry = {
+ 'objectclass' => [ 'top', 'person' ],
+ ...
+ }
+ conn.add( "cn=foobar, dc=localhost, dc=localdomain", entry )
+
+Q. Can I use SASL authentication?
+A. Yes, it works for me using Cyrus SASL and Kerberos V via GSSAPI.
+ Use LDAP::Conn#sasl_bind. Your mileage may vary.
+
+Q. Can I put a limit on the number of results returned by the server?
+A. Yes, you can. Set the size limit using LDAP::Conn#set_option and then
+ check for LDAP::Conn#search or LDAP::Conn#search2 having exceeded this
+ limit, by using LDAP::Conn#err:
+
+ conn = LDAP::Conn.new( 'localhost', 389 )
+ # Limit the results set to a maximum of 10.
+ conn.set_option( LDAP::LDAP_OPT_SIZELIMIT, 10 )
+ conn.search2( 'dc=localhost,dc=localdomain',
+ LDAP::LDAP_SCOPE_SUBTREE, '(objectClass=*)' )
+ if conn.err == LDAP::LDAP_SIZELIMIT_EXCEEDED
+ # Results set was truncated by server.
+ end
+
+ Note that LDAP::LDAP_SIZELIMIT_EXCEEDED may occur even when you have not
+ put an explicit limit on the number of results to be returned. The server
+ will likely have its own maximum configured, so it can be important to
+ check for this condition on all of your calls to LDAP::Conn#search and
+ LDAP::Conn#search2.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/MANIFEST new/ruby-ldap-0.9.5/MANIFEST
--- old/ruby-ldap-0.9.2/MANIFEST 2005-02-08 02:48:56.000000000 +0100
+++ new/ruby-ldap-0.9.5/MANIFEST 2006-02-18 10:33:20.000000000 +0100
@@ -2,6 +2,7 @@
COPYING
FAQ
MANIFEST
+NEWS
README
TODO
conn.c
@@ -10,7 +11,6 @@
example/cgi/search.html
example/pr_ctl
extconf.rb
-install.rb
ldap.c
lib/ldap/control.rb
lib/ldap/ldif.rb
@@ -42,7 +42,12 @@
test/search2.rb
test/search3.rb
test/subschema.rb
+test/tc_conn.rb
+test/tc_ldif.rb
+test/tc_schema.rb
+test/tc_search.rb
test/test.sh
+test/ts_ldap.rb
win/winlber.h
win/winldap.h
win/wldap32.def
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/NOTES new/ruby-ldap-0.9.5/NOTES
--- old/ruby-ldap-0.9.2/NOTES 1970-01-01 01:00:00.000000000 +0100
+++ new/ruby-ldap-0.9.5/NOTES 2006-04-20 18:42:57.000000000 +0200
@@ -0,0 +1,48 @@
+0.9.5
+-----
+
+The Windows build is now believed to work out of the box. It has been tested
+on Windows XP SP2, using SVC C++ 6.0 to build the software. Thanks to Chris
+Scharf <scharfie(a)gmail.com> for his work in this area and willingness to work
+with me on fixing the problems.
+
+
+0.9.4
+-----
+
+LDAP::Conn#search, LDAP::Conn#search2, LDAP::Conn#search_ext and
+LDAP::Conn#search_ext2 have been modified to treat LDAP_SIZELIMIT_EXCEEDED as
+success.
+
+After using any of these four methods, the user should use LDAP::Conn#err to
+check whether the error status of the Conn object is
+LDAP::LDAP_SIZELIMIT_EXCEEDED. If true, the results set has been truncated by
+the server.
+
+Previously, LDAP_SIZELIMIT_EXCEEDED would raise an exception and no results
+would be returned, which is not the correct behaviour if the user has
+deliberately put a limit on the number of results to be returned, as might be
+done in order to spare the server.
+
+
+0.9.3
+-----
+
+The usability of the library on Windows platforms is currently a case of 'suck
+it and see'. Some people report the code working, others report immediate
+segfaults; yet others say that it worked after they made some minor
+alterations to the code in order to get it to build.
+
+Differences in Windows platform used, chosen compiler and version, plus the
+variety of servers with which the code is used, conspire to result in the
+exact facts of the matter not yet having been ascertained.
+
+Most people seemed to experience some difficulty in getting the code to build
+on Windows, so some effort has gone into making this better for the 0.9.3
+release. This work is difficult, since I do not have a Windows build
+environment at my disposal.
+
+If you are a Windows user and you found that the code did not work in its
+original form, but you managed to get it to work after some alterations, I
+would be very grateful if you wrote to me to let me know what changes were
+needed. Please include precise details of your build platform.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/README new/ruby-ldap-0.9.5/README
--- old/ruby-ldap-0.9.2/README 2005-03-08 11:20:19.000000000 +0100
+++ new/ruby-ldap-0.9.5/README 2006-04-20 00:21:14.000000000 +0200
@@ -1,7 +1,9 @@
Ruby/LDAP -- A Ruby extension library for LDAP
-
+
+$Id: README,v 1.18 2006/04/19 22:21:14 ianmacd Exp $
+
Copyright (C) 2000-2004 Takaaki Tateishi <ttate(a)users.sourceforge.net>
-Copyright (C) 2005 Ian Macdonald <ian(a)caliban.org>
+Copyright (C) 2005-2006 Ian Macdonald <ian(a)caliban.org>
-------------------------------------------------------------------------------
DESCRIPTION
@@ -13,7 +15,7 @@
REQUIREMENT
* Ruby 1.8.x (at least 1.8.2 if you want to use ldap/control)
- * OpenLDAP, NetscapeSDK, Windows2000 (or ADSI)
+ * OpenLDAP, Netscape SDK, Windows 2003 or Windows XP
-------------------------------------------------------------------------------
@@ -26,20 +28,20 @@
BUILDING
-extconf.rb will try to use OpenLDAP2 or NetscapeSDK libraries and guess paths
-to some header files and libraries from the position of ldap.h. If you'd like
-to see the available options for extconf.rb, run it with '--help' option.
+extconf.rb will try to use the OpenLDAP 2 or Netscape SDK libraries and guess
+paths to some header files and libraries from the position of ldap.h. If you'd
+like to see the available options for extconf.rb, run it with '--help' option.
$ ruby extconf.rb [--with-openldap1|--with-openldap2|--with-netscape|--with-wldap32]
$ make
-You will get ldap.so, which you can either manually copy into place or type:
+This will create ldap.so, which you can either manually copy into place or
+install with:
$ make install
-If you have a binary distribution, execute install.rb as follows:
-
- $ ruby install.rb
+If you're building the software on Windows, you may need to use nmake instead
+of make.
-------------------------------------------------------------------------------
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/conn.c new/ruby-ldap-0.9.5/conn.c
--- old/ruby-ldap-0.9.2/conn.c 2005-07-05 21:14:38.000000000 +0200
+++ new/ruby-ldap-0.9.5/conn.c 2006-04-20 18:39:46.000000000 +0200
@@ -1,12 +1,16 @@
/*
* conn.c
- * $Id: conn.c,v 1.40 2005/07/05 19:14:38 ianmacd Exp $
+ * $Id: conn.c,v 1.49 2006/04/20 16:39:46 ianmacd Exp $
*/
#include "ruby.h"
#include "rbldap.h"
-#include <sys/time.h>
-#include <unistd.h>
+#if defined(HAVE_SYS_TIME_H)
+# include <sys/time.h>
+#endif
+#if defined(HAVE_UNISTD_H)
+# include <unistd.h>
+#endif
/* RDoc needs the following bogus code to find the parent module:
*
@@ -68,6 +72,7 @@
LDAP *cldap;
char *chost;
int cport;
+ int was_verbose = Qfalse;
RB_LDAP_DATA *ldapdata;
VALUE host, port;
@@ -103,8 +108,18 @@
ldapdata->ldap = cldap;
rb_iv_set (self, "@args", rb_ary_new4 (argc, argv));
+
+ /* Silence warning that next rb_iv_get produces. */
+ if (ruby_verbose == Qtrue)
+ {
+ was_verbose = Qtrue;
+ ruby_verbose = Qfalse;
+ }
+
if (rb_iv_get (self, "@sasl_quiet") != Qtrue)
rb_iv_set (self, "@sasl_quiet", Qfalse);
+ if (was_verbose == Qtrue)
+ ruby_verbose = Qtrue;
return Qnil;
};
@@ -219,7 +234,7 @@
char *dn = NULL;
char *passwd = NULL;
- Data_Get_Struct (self, struct rb_ldap_data, ldapdata);
+ Data_Get_Struct (self, RB_LDAP_DATA, ldapdata);
if (!ldapdata->ldap)
{
if (rb_iv_get (self, "@args") != Qnil)
@@ -310,7 +325,7 @@
char *passwd = NULL;
int method = LDAP_AUTH_SIMPLE;
- Data_Get_Struct (self, struct rb_ldap_data, ldapdata);
+ Data_Get_Struct (self, RB_LDAP_DATA, ldapdata);
if (!ldapdata->ldap)
{
if (rb_iv_get (self, "@args") != Qnil)
@@ -395,7 +410,7 @@
{
RB_LDAP_DATA *ldapdata;
- Data_Get_Struct (self, struct rb_ldap_data, ldapdata);
+ Data_Get_Struct (self, RB_LDAP_DATA, ldapdata);
return ldapdata->bind == 0 ? Qfalse : Qtrue;
};
@@ -868,7 +883,7 @@
}
if (!(cmsg && (*cmsg)))
{
- rb_raise (rb_eRuntimeError, "no message");
+ rb_raise (rb_eRuntimeError, "no result returned by search");
}
Check_LDAP_Result ((*ldapdata)->err);
@@ -903,6 +918,31 @@
}
static VALUE
+rb_ldap_conn_search2_b (VALUE rdata)
+{
+ void **data = (void *) rdata;
+ LDAP *cldap = (LDAP *) data[0];
+ LDAPMessage *cmsg = (LDAPMessage *) data[1];
+ VALUE ary = (VALUE) data[2];
+ LDAPMessage *e;
+ VALUE m;
+ VALUE hash;
+
+ for (e = ldap_first_entry (cldap, cmsg); e != NULL;
+ e = ldap_next_entry (cldap, e))
+ {
+ m = rb_ldap_entry_new (cldap, e);
+ hash = rb_ldap_entry_to_hash (m);
+ rb_ary_push (ary, hash);
+ if (rb_block_given_p ())
+ {
+ rb_ensure (rb_yield, hash, rb_ldap_conn_invalidate_entry, m);
+ }
+ }
+ return Qnil;
+}
+
+static VALUE
rb_ldap_msgfree (VALUE data)
{
LDAPMessage *cmsg = (LDAPMessage *) data;
@@ -970,6 +1010,12 @@
* If +s_attr+ is given, it specifies the attribute on which to sort the
* entries returned by the server. If +s_proc+ is given, it specifies a Proc
* object that will be used to sort the entries returned by the server.
+ *
+ * Note that not all results may be returned by this method. If a
+ * size limit has been set for the number of results to be returned and this
+ * limit is exceeded, the results set will be truncated. You can check for
+ * this by calling LDAP::Conn#err immediately after this method and comparing
+ * the result to LDAP::LDAP_SIZELIMIT_EXCEEDED.
*/
VALUE
rb_ldap_conn_search_s (int argc, VALUE argv[], VALUE self)
@@ -982,7 +1028,8 @@
rb_ldap_conn_search_i (argc, argv, self, &ldapdata, &cmsg);
cldap = ldapdata->ldap;
- if (ldapdata->err == LDAP_SUCCESS)
+ if (ldapdata->err == LDAP_SUCCESS
+ || ldapdata->err == LDAP_SIZELIMIT_EXCEEDED)
{
void *pass_data[] = { (void *) cldap, (void *) cmsg };
@@ -997,31 +1044,6 @@
return self;
}
-static VALUE
-rb_ldap_conn_search2_b (VALUE rdata)
-{
- void **data = (void *) rdata;
- LDAP *cldap = (LDAP *) data[0];
- LDAPMessage *cmsg = (LDAPMessage *) data[1];
- VALUE ary = (VALUE) data[2];
- LDAPMessage *e;
- VALUE m;
- VALUE hash;
-
- for (e = ldap_first_entry (cldap, cmsg); e != NULL;
- e = ldap_next_entry (cldap, e))
- {
- m = rb_ldap_entry_new (cldap, e);
- hash = rb_ldap_entry_to_hash (m);
- rb_ary_push (ary, hash);
- if (rb_block_given_p ())
- {
- rb_ensure (rb_yield, hash, rb_ldap_conn_invalidate_entry, m);
- }
- }
- return Qnil;
-}
-
/*
* call-seq:
* conn.search2(base_dn, scope, filter, attrs=nil, attrsonly=false,
@@ -1045,6 +1067,12 @@
* If +s_attr+ is given, it specifies the attribute on which to sort the
* entries returned by the server. If +s_proc+ is given, it specifies a Proc
* object that will be used to sort the entries returned by the server.
+ *
+ * Note that not all results may be returned by this method. If a
+ * size limit has been set for the number of results to be returned and this
+ * limit is exceeded, the results set will be truncated. You can check for
+ * this by calling LDAP::Conn#err immediately after this method and comparing
+ * the result to LDAP::LDAP_SIZELIMIT_EXCEEDED.
*/
VALUE
rb_ldap_conn_search2_s (int argc, VALUE argv[], VALUE self)
@@ -1059,7 +1087,8 @@
cldap = ldapdata->ldap;
ary = rb_ary_new ();
- if (ldapdata->err == LDAP_SUCCESS)
+ if (ldapdata->err == LDAP_SUCCESS
+ || ldapdata->err == LDAP_SIZELIMIT_EXCEEDED)
{
void *pass_data[] = { (void *) cldap, (void *) cmsg, (void *) ary };
@@ -1228,6 +1257,12 @@
* If +s_attr+ is given, it specifies the attribute on which to sort the
* entries returned by the server. If +s_proc+ is given, it specifies a Proc
* object that will be used to sort the entries returned by the server.
+ *
+ * Note that not all results may be returned by this method. If a
+ * size limit has been set for the number of results to be returned and this
+ * limit is exceeded, the results set will be truncated. You can check for
+ * this by calling LDAP::Conn#err immediately after this method and comparing
+ * the result to LDAP::LDAP_SIZELIMIT_EXCEEDED.
*/
VALUE
rb_ldap_conn_search_ext_s (int argc, VALUE argv[], VALUE self)
@@ -1239,7 +1274,8 @@
rb_ldap_conn_search_ext_i (argc, argv, self, &ldapdata, &cmsg);
cldap = ldapdata->ldap;
- if (ldapdata->err == LDAP_SUCCESS)
+ if (ldapdata->err == LDAP_SUCCESS
+ || ldapdata->err == LDAP_SIZELIMIT_EXCEEDED)
{
void *pass_data[] = { (void *) cldap, (void *) cmsg };
rb_ensure (rb_ldap_conn_search_b, (VALUE) pass_data,
@@ -1277,6 +1313,12 @@
* If +s_attr+ is given, it specifies the attribute on which to sort the
* entries returned by the server. If +s_proc+ is given, it specifies a Proc
* object that will be used to sort the entries returned by the server.
+ *
+ * Note that not all results may be returned by this method. If a
+ * size limit has been set for the number of results to be returned and this
+ * limit is exceeded, the results set will be truncated. You can check for
+ * this by calling LDAP::Conn#err immediately after this method and comparing
+ * the result to LDAP::LDAP_SIZELIMIT_EXCEEDED.
*/
VALUE
rb_ldap_conn_search_ext2_s (int argc, VALUE argv[], VALUE self)
@@ -1290,7 +1332,8 @@
cldap = ldapdata->ldap;
ary = rb_ary_new ();
- if (ldapdata->err == LDAP_SUCCESS)
+ if (ldapdata->err == LDAP_SUCCESS
+ || ldapdata->err == LDAP_SIZELIMIT_EXCEEDED)
{
void *pass_data[] = { (void *) cldap, (void *) cmsg, (void *) ary };
rb_ensure (rb_ldap_conn_search2_b, (VALUE) pass_data,
@@ -1647,19 +1690,28 @@
{
RB_LDAP_DATA *ldapdata;
char *c_dn, *c_attr;
+#ifdef USE_WLDAP32
+ char *c_val;
+#endif
struct berval bval;
LDAPControl **sctrls, **cctrls;
GET_LDAP_DATA (self, ldapdata);
c_dn = StringValueCStr (dn);
c_attr = StringValueCStr (attr);
+#ifdef USE_WLDAP32
+ c_val = StringValueCStr (val);
+#endif
bval.bv_val = StringValueCStr (val);
bval.bv_len = RSTRING (val)->len;
sctrls = rb_ldap_get_controls (serverctrls);
cctrls = rb_ldap_get_controls (clientctrls);
- ldapdata->err = ldap_compare_ext_s (ldapdata->ldap,
- c_dn, c_attr, &bval, sctrls, cctrls);
+ ldapdata->err = ldap_compare_ext_s (ldapdata->ldap, c_dn, c_attr,
+#ifdef USE_WLDAP32
+ c_val,
+#endif
+ &bval, sctrls, cctrls);
if ((ldapdata->err) == LDAP_COMPARE_TRUE)
return Qtrue;
@@ -1675,6 +1727,12 @@
}
#endif
+/*
+ * call-seq:
+ * conn.err => Fixnum
+ *
+ * Return the error associated with the most recent LDAP operation.
+ */
VALUE
rb_ldap_conn_err (VALUE self)
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/example/pr_ctl new/ruby-ldap-0.9.5/example/pr_ctl
--- old/ruby-ldap-0.9.2/example/pr_ctl 2005-03-09 20:07:32.000000000 +0100
+++ new/ruby-ldap-0.9.5/example/pr_ctl 2006-02-12 21:00:21.000000000 +0100
@@ -1,6 +1,6 @@
#!/usr/bin/ruby -w
#
-# $Id: pr_ctl,v 1.3 2005/03/09 19:07:32 ianmacd Exp $
+# $Id: pr_ctl,v 1.4 2006/02/12 20:00:21 ianmacd Exp $
#
# Program to demonstrate the use of the LDAPv3 PagedResults control. This
# control is interesting, because it requires the passing of controls in
@@ -43,7 +43,7 @@
critical )
conn.set_option( LDAP::LDAP_OPT_SERVER_CONTROLS, [control] )
- this_page = conn.search2( 'dc=localhost,dc=localdomain',
+ this_page = conn.search2( 'dc=google, dc=com',
LDAP::LDAP_SCOPE_SUBTREE,
'(objectclass=*)', ['cn'] )
@@ -57,12 +57,12 @@
# How many entries does the server estimate are left?
# Also, get the cookie returned by the last search.
returned_size, cookie = control.decode
- puts "Returned size = #{returned_size}" if $DEBUG
+ puts "Returned size = #{returned_size.to_i}" if $DEBUG
# According to RFC 2696, the server may not be able to estimate the number
# of results outstanding. In that case, it will return zero, so we should
# only use the new size if it is non-zero.
- page_size = returned_size if returned_size > 0
+ page_size = returned_size.to_i if returned_size.to_i > 0
puts "Returned cookie = #{cookie.inspect}" if $DEBUG
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/extconf.rb new/ruby-ldap-0.9.5/extconf.rb
--- old/ruby-ldap-0.9.2/extconf.rb 2005-02-23 06:30:49.000000000 +0100
+++ new/ruby-ldap-0.9.5/extconf.rb 2006-04-19 01:49:56.000000000 +0200
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby-1.4
#
# extconf.rb for ldap extension
-# $Id: extconf.rb,v 1.4 2005/02/23 05:30:49 ianmacd Exp $
+# $Id: extconf.rb,v 1.7 2006/04/18 23:49:56 ianmacd Exp $
#
require 'mkmf'
@@ -10,15 +10,15 @@
if( ARGV.include?("--help") )
print <<EOF
- --with-ldap-dir specify the ldap directory.
- --with-ldap-incdir specify the directory which contains ldap.h and lber.h.
- --with-ldap-libdir specify the directory which contains ldap libraries.
- --with-netscape use this option, if you use Netscape SDK.
- --with-openldap1 use this option, if you use OpenLDAP-1.x.
- --with-openldap2 use this option, if you use OpenLDAP-2.x.
- --with-wldap32 use this option, if you use Active Directory Client API.
+ --with-ldap-dir specify the LDAP directory.
+ --with-ldap-include specify the directory containing ldap.h and lber.h.
+ --with-ldap-lib specify the directory containing the LDAP libraries.
+ --with-netscape build with Netscape SDK.
+ --with-openldap1 build with OpenLDAP 1.x.
+ --with-openldap2 build with OpenLDAP 2.x.
+ --with-wldap32 Active Directory Client API.
-The follows are library configuration options:
+The following are library configuration options:
--with-libcrypto=crypto, --without-libcrypto
--with-libssl=ssl, --without-libssl
--with-libnsl=nsl, --without-libnsl
@@ -82,24 +82,13 @@
end
end
-
-if( ! $CFLAGS )
-# $CFLAGS = "-D_REENTRANT"
- $CFLAGS = ""
-end
-
-if( ! $LDFLAGS )
- $LDFLAGS = ""
-end
-
$use_netscape = ldap_with_config("netscape")
$use_openldap1 = ldap_with_config("openldap1")
$use_openldap2 = ldap_with_config("openldap2")
$use_wldap32 = ldap_with_config("wldap32")
+dir_config('ldap')
$ldap_dir = ldap_with_config("ldap-dir") || ldap_with_config("ldap")
-$ldap_incdir = ldap_with_config("ldap-incdir")
-$ldap_libdir = ldap_with_config("ldap-libdir")
$ldap_dir, $libldap, $ldap_h = find_files($ldap_dir)
@@ -123,14 +112,14 @@
if( $use_netscape )
case $use_netscape
when /^4/
- $CFLAGS += " -DUSE_NETSCAPE_SDK"
+ $defs << "-DUSE_NETSCAPE_SDK"
#$libnsl = ldap_with_config("libnsl", "nsl")
#$libpthread = ldap_with_config("libpthread", "pthread")
$libresolv = ldap_with_config("libresolv", "resolv")
$libldap = ldap_with_config("libldap", $libldap)
$libns = ldap_with_config("libns", "nspr3,plc3,plds3").split(",")
when /^5/
- $CFLAGS += " -DUSE_NETSCAPE_SDK"
+ $defs << "-DUSE_NETSCAPE_SDK"
#$libnsl = ldap_with_config("libnsl", "nsl")
#$libpthread = ldap_with_config("libpthread", "pthread")
$libresolv = ldap_with_config("libresolv", "resolv")
@@ -142,14 +131,19 @@
end
if( $use_openldap1 )
- $CFLAGS += " -DUSE_OPENLDAP1 -DUSE_OPENLDAP"
+ $defs << "-DUSE_OPENLDAP1"
+ $defs << "-DUSE_OPENLDAP"
$libresolv = ldap_with_config("libresolv", "resolv")
$libldap = ldap_with_config("libldap", "ldap")
$liblber = ldap_with_config("liblber", "lber")
end
if( $use_openldap2 )
- $CFLAGS += " -DUSE_OPENLDAP2 -DUSE_OPENLDAP"
+ $defs << "-DUSE_OPENLDAP2"
+ $defs << "-DUSE_OPENLDAP"
+ # OpenLDAP 2.3 finally deprecates a bunch of non-_ext functions. We need
+ # this to enable them.
+ $defs << "-DLDAP_DEPRECATED"
$libresolv = ldap_with_config("libresolv", "resolv")
$libcrypto = ldap_with_config("libcrypto", "crypto")
$libssl = ldap_with_config("libssl", "ssl")
@@ -165,27 +159,14 @@
if( !File.exist?("win") )
Dir.mkdir("win")
end
- `dlltool --dllname wldap32.dll --input-def #{srcdir}/win/wldap32.def --output-lib win/wldap32.lib`
- $CFLAGS += " -DUSE_WLDAP32 -I#{srcdir}/win"
- $LDFLAGS += " -L./win"
+ `lib /def:#{srcdir}/win/wldap32.def /out:#{srcdir}/win/wldap32.lib`
+ $defs << "-DUSE_WLDAP32"
+ dir_config("wldap32", "#{srcdir}/win", "./win")
$libldap = ldap_with_config("libldap", "wldap32")
end
-if( $ldap_dir )
- $CFLAGS += " -I" + File.join($ldap_dir,"include")
- $LDFLAGS += " -L" + File.join($ldap_dir,"lib")
-end
-
-if( $ldap_incdir )
- $CFLAGS += " -I" + $ldap_incdir
-end
-
-if( $ldap_libdir )
- $LDFLAGS += " -L" + $ldap_libdir
-end
-
if( $libpthread )
- $CFLAGS += " -D_REENTRANT"
+ $defs << "-D_REENTRANT"
end
if( $use_wldap32 )
@@ -233,9 +214,6 @@
have_func("ldap_unbind_ext_s")
have_func("ldap_sasl_interactive_bind_s")
-print("CFLAGS = #{$CFLAGS}\n")
-print("LDFLAGS = #{$LDFLAGS}\n")
-
create_makefile("ldap")
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/install.rb new/ruby-ldap-0.9.5/install.rb
--- old/ruby-ldap-0.9.2/install.rb 2003-01-14 10:14:30.000000000 +0100
+++ new/ruby-ldap-0.9.5/install.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,49 +0,0 @@
-require 'mkmf'
-require 'ftools'
-
-SO_LIBS = ["ldap.so"]
-
-$ruby_version = CONFIG['MAJOR'] + "." + CONFIG['MINOR']
-$prefix = CONFIG['prefix']
-$libdir = File.join($prefix,'lib')
-$rubylibdir = File.join($libdir, 'ruby', $ruby_version)
-$arch = CONFIG['arch']
-$archdir = File.join($rubylibdir, $arch)
-
-def find(dir, match = /./)
- Dir.chdir(dir)
- files = []
- Dir.new(".").each{|file|
- if( file != "." && file != ".." )
- case File.ftype(file)
- when "file"
- if( file =~ match )
- files.push(File.join(dir,file))
- end
- when "directory"
- files += find(file, match).collect{|f| File.join(dir,f)}
- end
- end
- }
- Dir.chdir("..")
- return files
-end
-
-def install()
- rb_files = find(File.join(".","lib"), /.rb$/)
-
- SO_LIBS.each{|f|
- File.makedirs($rubylibdir, "#{$archdir}")
- File.install(f, File.join($archdir,f), 0555, true)
- }
-
- rb_files.each{|f|
- origfile = f
- instfile = File.join($rubylibdir, origfile.sub(%r{./lib/},""))
- instdir = File.dirname(instfile)
- File.makedirs(instdir)
- File.install(origfile, instfile, 0644, true)
- }
-end
-
-install()
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/lib/ldap/schema.rb new/ruby-ldap-0.9.5/lib/ldap/schema.rb
--- old/ruby-ldap-0.9.2/lib/ldap/schema.rb 2005-03-15 11:37:03.000000000 +0100
+++ new/ruby-ldap-0.9.5/lib/ldap/schema.rb 2006-02-09 00:15:17.000000000 +0100
@@ -1,7 +1,7 @@
# Manipulation of LDAP schema data.
#
#--
-# $Id: schema.rb,v 1.7 2005/03/15 10:37:03 ianmacd Exp $
+# $Id: schema.rb,v 1.9 2006/02/08 23:15:17 ianmacd Exp $
#++
# The LDAP module encapsulates the various LDAP-related classes in their own
@@ -25,7 +25,7 @@
# +key+. See LDAP::Conn#schema for common values of +key+.
#
def names(key)
- self[key].collect{|val| val =~ /NAME\s+'([\w\d]+)'/; $1}
+ self[key].collect{|val| val =~ /NAME\s+'([\w\d_-]+)'/; $1}
end
# Return the list of attributes in object class +oc+ that are of category
@@ -35,9 +35,9 @@
self['objectClasses'].each{|s|
if( s =~ /NAME\s+'#{oc}'/ )
case s
- when /#{at}\s+\(([\w\d\s\$]+)\)/i
+ when /#{at}\s+\(([\w\d_-\s\$]+)\)/i
return $1.split("$").collect{|attr| attr.strip}
- when /#{at}\s+([\w\d]+)/i
+ when /#{at}\s+([\w\d_-]+)/i
return $1.split("$").collect{|attr| attr.strip}
end
end
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/rbldap.h new/ruby-ldap-0.9.5/rbldap.h
--- old/ruby-ldap-0.9.2/rbldap.h 2005-07-07 01:41:52.000000000 +0200
+++ new/ruby-ldap-0.9.5/rbldap.h 2006-04-20 18:47:00.000000000 +0200
@@ -1,6 +1,6 @@
/*
* rbldap.h
- * $Id: rbldap.h,v 1.11 2005/07/06 23:41:52 ianmacd Exp $
+ * $Id: rbldap.h,v 1.15 2006/04/20 16:47:00 ianmacd Exp $
*/
#ifndef RB_LDAP_H
@@ -29,8 +29,8 @@
#define RB_LDAP_MAJOR_VERSION 0
#define RB_LDAP_MINOR_VERSION 9
-#define RB_LDAP_PATCH_VERSION 2
-#define RB_LDAP_VERSION "0.9.2"
+#define RB_LDAP_PATCH_VERSION 5
+#define RB_LDAP_VERSION "0.9.5"
#define LDAP_GET_OPT_MAX_BUFFER_SIZE (1024) /* >= sizeof(LDAPAPIInfo) */
@@ -142,7 +142,7 @@
};
#define Check_LDAP_Result(err) { \
- if( err != LDAP_SUCCESS ){ \
+ if( err != LDAP_SUCCESS && err != LDAP_SIZELIMIT_EXCEEDED ){ \
rb_raise(rb_eLDAP_ResultError, ldap_err2string(err)); \
} \
}
Binary files old/ruby-ldap-0.9.2/ruby-ldap-0.9.2.tar.gz and new/ruby-ldap-0.9.5/ruby-ldap-0.9.2.tar.gz differ
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/ruby-ldap.spec new/ruby-ldap-0.9.5/ruby-ldap.spec
--- old/ruby-ldap-0.9.2/ruby-ldap.spec 2005-07-07 01:55:03.000000000 +0200
+++ new/ruby-ldap-0.9.5/ruby-ldap.spec 2006-04-20 18:50:50.000000000 +0200
@@ -1,11 +1,11 @@
-# $Id: ruby-ldap.spec,v 1.6 2005/07/06 23:55:03 ianmacd Exp $
+# $Id: ruby-ldap.spec,v 1.11 2006/04/20 16:50:50 ianmacd Exp $
%define openldap %( rpm -q --qf '%%{version}' openldap | ruby -e 'puts gets.sub(/\\d+$/,"0")' )
# Build documentation if we have rdoc on the build system.
%define rdoc %( type rdoc > /dev/null && echo 1 || echo 0 )
Summary: LDAP API (RFC1823) library module for Ruby.
Name: ruby-ldap
-Version: 0.9.2
+Version: 0.9.5
Release: 1
License: Redistributable
Group: Applications/Ruby
@@ -37,14 +37,15 @@
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%if %{rdoc}
-rdocpath=`ruby -rrdoc/ri/ri_paths -e 'puts RI::Paths::PATH[1]'`
-rdoc -r -o $RPM_BUILD_ROOT$rdocpath -x CVS *.c lib
-rm $RPM_BUILD_ROOT$rdocpath/created.rid
+ rdocpath=`ruby -rrdoc/ri/ri_paths -e 'puts RI::Paths::PATH[1] ||
+ RI::Paths::PATH[0]'`
+ rdoc -r -o $RPM_BUILD_ROOT$rdocpath -x CVS *.c lib
+ rm $RPM_BUILD_ROOT$rdocpath/created.rid
%endif
find $RPM_BUILD_ROOT -type f -print | \
ruby -pe 'sub(%r(^'$RPM_BUILD_ROOT'), "")' > %{name}-%{version}-filelist
%if %{rdoc}
-echo '%%docdir' $rdocpath >> %{name}-%{version}-filelist
+ echo '%%docdir' $rdocpath >> %{name}-%{version}-filelist
%endif
%files -f %{name}-%{version}-filelist
@@ -53,12 +54,43 @@
%doc example/ test/
%changelog
+* Thu Apr 20 2006 Ian Macdonald <ian(a)caliban.org> 0.9.5-1
+- 0.9.5
+- The software now builds and works out of the box on Windows.
+
+* Wed Mar 8 2006 Ian Macdonald <ian(a)caliban.org> 0.9.4-1
+- 0.9.4
+- Modify LDAP::Conn#search, LDAP::Conn#search2, LDAP::Conn#search_ext and
+ LDAP::Conn#search_ext2 to treat LDAP_SIZELIMIT_EXCEEDED as success. After
+ using any of these four methods, the user should check whether
+ LDAP::Conn#err == LDAP::LDAP_SIZELIMIT_EXCEEDED. If true, the results set
+ has been truncated by the server. Previously, LDAP_SIZELIMIT_EXCEEDED would
+ raise an exception and no results would be returned, which is not the
+ correct behaviour if the user has deliberately put a limit on the number of
+ results to be returned, in order to spare the server.
+- Duplicate code refactored.
+- Missing RDoc documentation added for LDAP::Conn#err.
+
+* Sat Feb 18 2006 Ian Macdonald <ian(a)caliban.org> 0.9.3-1
+- 0.9.3
+- LDAP::Schema#names and LDAP::Schema#attr will now allow names with hyphens
+ and/or underscores.
+- Silence a warning about @sasl_quiet when run in debug mode.
+- Fix uninitialised data structures in LDAP::SSLConn#bind and
+ LDAP::SSLConn#simple_bind.
+- Build properly with OpenLDAP 2.3.
+- Build-time options --with-ldap-incdir and --with-ldap-libdir have been
+ replaced by --with-ldap-include and --with-ldap-lib. This is a consequence of
+ making extconf.rb more standard.
+- Windows build has been improved, so that it should now at least build without
+ error. Whether it will work is another matter.
+
* Wed Jul 6 2005 Ian Macdonald <ian(a)caliban.org> 0.9.2-1
- 0.9.2
- Minor build problem fixed for certain architectures.
- For Conn#search, Conn#search2, Conn#search_ext and Conn#search_ext2,
- allow attrs to be a string, in which case the parameter is treated as a
- single-element array.
+ allow attrs to be a string, in which case it is treated as a single-element
+ array.
* Tue Mar 15 2005 Ian Macdonald <ian(a)caliban.org> 0.9.1-1
- 0.9.1
@@ -78,11 +110,11 @@
already so. This is required for a SASL bind.
- LDAP::Conn#sasl_bind did not detect attempts to bind more than once. This is
now done.
-- SSLConn#open now returns a NotImplementedError exception. Previously, it
+- SSLConn#open now throws a NotImplementedError exception. Previously, it
would call the same method in the superclass, which would not work.
- Unused variables removed to silence gcc warnings.
- More unit tests and documentation fixes.
-- strip ldap.so.
+- ldap.so is now stripped.
* Wed Mar 2 2005 Ian Macdonald <ian(a)caliban.org> 0.9.0-1
- 0.9.0
@@ -136,13 +168,13 @@
- Patch incorrect library version.
* Sun Dec 14 2003 Ian Macdonald <ian(a)caliban.org> 0.8.2-4
-- further refine saslconn.c patch
+- Further refine saslconn.c patch
* Thu Dec 11 2003 Ian Macdonald <ian(a)caliban.org> 0.8.2-3
-- further refine saslconn.c patch
+- Further refine saslconn.c patch
* Thu Dec 11 2003 Ian Macdonald <ian(a)caliban.org> 0.8.2-2
-- patch saslconn.c to allow GSSAPI via SASL
+- Patch saslconn.c to allow GSSAPI via SASL
* Sun Dec 7 2003 Ian Macdonald <ian(a)caliban.org> 0.8.2-1
- 0.8.2
@@ -160,16 +192,16 @@
- 0.7.1
* Tue Jul 2 2002 Ian Macdonald <ian(a)caliban.org>
-- add BuildRequires for openssl-devel and openldap-devel
+- Add BuildRequires for openssl-devel and openldap-devel
* Sun Jun 2 2002 Ian Macdonald <ian(a)caliban.org>
- 0.7.0
* Mon Apr 29 2002 Ian Macdonald <ian(a)caliban.org>
-- simplified install section
+- Simplified install section
* Fri Apr 5 2002 Ian Macdonald <ian(a)caliban.org>
-- added test directory to docs
+- Added test directory to docs
* Tue Apr 2 2002 Ian Macdonald <ian(a)caliban.org>
- 0.6.1
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/saslconn.c new/ruby-ldap-0.9.5/saslconn.c
--- old/ruby-ldap-0.9.2/saslconn.c 2005-07-07 01:53:36.000000000 +0200
+++ new/ruby-ldap-0.9.5/saslconn.c 2006-02-13 18:20:32.000000000 +0100
@@ -1,12 +1,16 @@
/*
* saslconn.c
- * $Id: saslconn.c,v 1.22 2005/07/06 23:53:36 ianmacd Exp $
+ * $Id: saslconn.c,v 1.25 2006/02/13 17:20:32 ianmacd Exp $
*/
#include "ruby.h"
#include "rbldap.h"
-#include <sys/time.h>
-#include <unistd.h>
+#if defined(HAVE_SYS_TIME_H)
+# include <sys/time.h>
+#endif
+#if defined(HAVE_UNISTD_H)
+# include <unistd.h>
+#endif
extern VALUE rb_ldap_conn_initialize (int argc, VALUE argv[], VALUE self);
extern VALUE rb_ldap_conn_rebind (VALUE self);
@@ -25,7 +29,12 @@
* conn.sasl_bind(dn=nil, mech=nil, cred=nil, sctrls=nil, cctrls=nil)
* { |conn| } => nil
*
- * Bind an LDAP connection, using the DN, +dn+, the credential, +password+,
+ * Bind an LDAP connection, using the DN, +dn+, the mechanism, +mech+, and the
+ * credential, +cred+.
+ *
+ * +sctrls+ is an array of server controls, whilst +cctrls+ is an array of
+ * client controls.
+ *
* and the bind method, +method+. If a block is given, +self+ is yielded to
* the block.
*/
@@ -53,7 +62,7 @@
unsigned sasl_flags = LDAP_SASL_AUTOMATIC;
- Data_Get_Struct (self, struct rb_ldap_data, ldapdata);
+ Data_Get_Struct (self, RB_LDAP_DATA, ldapdata);
if (!ldapdata->ldap)
{
if (rb_iv_get (self, "@args") != Qnil)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/sslconn.c new/ruby-ldap-0.9.5/sslconn.c
--- old/ruby-ldap-0.9.2/sslconn.c 2005-03-15 11:45:53.000000000 +0100
+++ new/ruby-ldap-0.9.5/sslconn.c 2006-04-20 00:13:26.000000000 +0200
@@ -1,12 +1,16 @@
/*
* sslconn.c
- * $Id: sslconn.c,v 1.13 2005/03/14 23:52:58 ianmacd Exp $
+ * $Id: sslconn.c,v 1.18 2006/04/19 22:13:26 ianmacd Exp $
*/
#include "ruby.h"
#include "rbldap.h"
-#include <sys/time.h>
-#include <unistd.h>
+#if defined(HAVE_SYS_TIME_H)
+# include <sys/time.h>
+#endif
+#if defined(HAVE_UNISTD_H)
+# include <unistd.h>
+#endif
#if defined(HAVE_LDAP_START_TLS_S)
# define USE_OPENLDAP_SSLCONN
@@ -252,21 +256,14 @@
return Qnil;
}
-/*
- * call-seq:
- * conn.bind(dn=nil, password=nil, method=LDAP::LDAP_AUTH_SIMPLE) => self
- * conn.bind(dn=nil, password=nil, method=LDAP::LDAP_AUTH_SIMPLE)
- * { |conn| } => self
- *
- * Bind an LDAP connection, using the DN, +dn+, the credential, +password+,
- * and the bind method, +method+. If a block is given, +self+ is yielded to
- * the block.
- */
VALUE
-rb_ldap_sslconn_bind_s (int argc, VALUE argv[], VALUE self)
+rb_ldap_sslconn_bind_f (int argc, VALUE argv[], VALUE self,
+ VALUE (*rb_ldap_sslconn_bind_func) (int, VALUE[],
+ VALUE))
{
RB_LDAP_DATA *ldapdata;
+ Data_Get_Struct (self, RB_LDAP_DATA, ldapdata);
if (!ldapdata->ldap)
{
if (rb_iv_get (self, "@args") != Qnil)
@@ -284,7 +281,23 @@
ldapdata->err = ldap_connect (ldapdata->ldap, NULL);
Check_LDAP_Result (ldapdata->err);
- return rb_ldap_conn_bind_s (argc, argv, self);
+ return rb_ldap_sslconn_bind_func (argc, argv, self);
+}
+
+/*
+ * call-seq:
+ * conn.bind(dn=nil, password=nil, method=LDAP::LDAP_AUTH_SIMPLE) => self
+ * conn.bind(dn=nil, password=nil, method=LDAP::LDAP_AUTH_SIMPLE)
+ * { |conn| } => self
+ *
+ * Bind an LDAP connection, using the DN, +dn+, the credential, +password+,
+ * and the bind method, +method+. If a block is given, +self+ is yielded to
+ * the block.
+ */
+VALUE
+rb_ldap_sslconn_bind_s (int argc, VALUE argv[], VALUE self)
+{
+ return rb_ldap_sslconn_bind_f (argc, argv, self, rb_ldap_conn_bind_s);
}
/*
@@ -298,26 +311,8 @@
VALUE
rb_ldap_sslconn_simple_bind_s (int argc, VALUE argv[], VALUE self)
{
- RB_LDAP_DATA *ldapdata;
-
- if (!ldapdata->ldap)
- {
- if (rb_iv_get (self, "@args") != Qnil)
- {
- rb_ldap_conn_rebind (self);
- GET_LDAP_DATA (self, ldapdata);
- }
- else
- {
- rb_raise (rb_eLDAP_InvalidDataError,
- "The LDAP handler has already unbound.");
- }
- }
-
- ldapdata->err = ldap_connect (ldapdata->ldap, NULL);
- Check_LDAP_Result (ldapdata->err);
-
- return rb_ldap_conn_simple_bind_s (argc, argv, self);
+ return rb_ldap_sslconn_bind_f (argc, argv, self,
+ rb_ldap_conn_simple_bind_s);
}
#endif /* USE_WLDAP32_SSLCONN */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/test/tc_search.rb new/ruby-ldap-0.9.5/test/tc_search.rb
--- old/ruby-ldap-0.9.2/test/tc_search.rb 2005-03-23 11:01:09.000000000 +0100
+++ new/ruby-ldap-0.9.5/test/tc_search.rb 2006-02-12 20:55:59.000000000 +0100
@@ -1,4 +1,4 @@
-# $Id: tc_search.rb,v 1.3 2005/03/23 10:01:09 ianmacd Exp $
+# $Id: tc_search.rb,v 1.4 2006/02/12 19:55:59 ianmacd Exp $
#
# A suite of unit tests for testing Ruby/LDAP search functionality.
@@ -92,6 +92,7 @@
true )
@@conn.set_option( LDAP::LDAP_OPT_SERVER_CONTROLS, [ ctrl ] )
+ this_page = nil
assert_nothing_raised do
begin
this_page = @@conn.search2( @@naming_context,
@@ -115,7 +116,7 @@
assert_equal( ctrl.oid, LDAP::LDAP_CONTROL_PAGEDRESULTS )
fetched_size, cookie = ctrl.decode
- page_size = fetched_size if fetched_size > 0
+ page_size = fetched_size if fetched_size.to_i > 0
break if cookie.empty?
end
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/win/winldap.h new/ruby-ldap-0.9.5/win/winldap.h
--- old/ruby-ldap-0.9.2/win/winldap.h 2002-11-18 09:22:31.000000000 +0100
+++ new/ruby-ldap-0.9.5/win/winldap.h 2006-04-20 18:34:21.000000000 +0200
@@ -1,7 +1,9 @@
-/* -*- C -*-
- * $Id: winldap.h,v 1.3 2002/11/18 08:22:31 ttate Exp $
+/*
+ * $Id: winldap.h,v 1.5 2006/04/20 16:34:21 ianmacd Exp $
+ *
* Copyright (C) 2001 Takaaki Tateishi <ttate(a)kt.jaist.ac.jp>
- * References: MSDN Library, OpenLDAP, Cygwin
+ * Copyright (C) 2006 Ian Macdonald <ian(a)caliban.org>
+ *
*/
#ifndef WINLDAP_H
@@ -183,9 +185,7 @@
*/
-struct ldap {
- /* We don't know how the structure is defined. */
-};
+struct ldap;
typedef struct ldap LDAP, *PLDAP;
typedef struct ldapcontrol {
@@ -194,9 +194,7 @@
BOOLEAN ldctl_iscritical;
} LDAPControl, *PLDAPControl;
-struct ldapmsg {
- /* We don't know how the structure is defined. */
-};
+struct ldapmsg;
typedef struct ldapmsg LDAPMessage, *PLDAPMessage;
@@ -225,18 +223,11 @@
} LDAP_REFERRAL_CALLBACK, *PLDAP_REFERRAL_CALLBACK;
*/
-struct ldapsearch {
- /* We don't know how the structure is defined. */
-};
+struct ldapsearch;
typedef struct ldapsearch LDAPSearch, *PLDAPSearch;
#if defined(HAVE_SYS_TIME_H)
# include <sys/time.h>
-#else
-struct timeval {
- long tv_sec;
- long tv_usec;
-};
#endif
typedef struct timeval LDAP_TIMEVAL;
typedef struct timeval *PLDAP_TIMEVAL;
@@ -281,7 +272,8 @@
LDAPControl **sctls, LDAPControl **cctls);
ULONG ldap_compare_s(LDAP *ld, PCHAR dn, PCHAR attr, PCHAR value);
ULONG ldap_compare_ext_s(LDAP *ld, PCHAR dn, PCHAR attr, PCHAR value,
- LDAPControl **sctls, LDAPControl **cctls);
+ struct berval *data, LDAPControl **sctls,
+ LDAPControl **cctls);
ULONG ldap_count_entries(LDAP *ld, LDAPMessage *res);
ULONG ldap_count_values(PCHAR *vals);
ULONG ldap_delete_s(LDAP *ld, PCHAR dn);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ruby-ldap-0.9.2/win/wldap32.def new/ruby-ldap-0.9.5/win/wldap32.def
--- old/ruby-ldap-0.9.2/win/wldap32.def 2002-11-06 08:56:34.000000000 +0100
+++ new/ruby-ldap-0.9.5/win/wldap32.def 2006-04-19 21:33:00.000000000 +0200
@@ -1,39 +1,32 @@
-;
-; wldap32.def
+; wldap32.def
;
-; Exports for WLDAP32 DLL
+; $Id: wldap32.def,v 1.3 2006/04/19 19:33:00 ianmacd Exp $
;
-; Copyright (C) 1998 Free Software Foundation, Inc.
-; Created by J.J. van der Heijden <J.J.vanderHeijden(a)student.utwente.nl>
-;
-; This file is part of the Windows32 API Library.
-; Based on the November 1997 Platform SDK
+; Exports for WLDAP32 DLL
;
-; This library is free software; you can redistribute it and/or
-; modify it under the terms of the GNU Library General Public
-; License as published by the Free Software Foundation; either
-; version 2 of the License, or (at your option) any later version.
-;
-; This library is distributed in the hope that it will be useful,
-; but WITHOUT ANY WARRANTY; without even the implied warranty of
-; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-; Library General Public License for more details.
-;
-; You should have received a copy of the GNU Library General Public
-; License along with this library; see the file COPYING.LIB.
-; If not, write to the Free Software Foundation,
-; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+; Created by Chris Scharf <scharfie(a)gmail.com> using instructions from:
;
+; http://support.microsoft.com/kb/q131313/
+
LIBRARY WLDAP32
EXPORTS
-; ?ldap_get_optionW@@YAKPAUldap@@HPAX@Z
-; ?ldap_set_optionW@@YAKPAUldap@@HPAX@Z
-LdapDllInit@12
LdapGetLastError
LdapMapErrorToWin32
LdapUTF8ToUnicode
LdapUnicodeToUTF8
+ber_alloc_t
+ber_bvdup
+ber_bvecfree
ber_bvfree
+ber_first_element
+ber_flatten
+ber_free
+ber_init
+ber_next_element
+ber_peek_tag
+ber_printf
+ber_scanf
+ber_skip_tag
cldap_open
cldap_openA
cldap_openW
@@ -56,6 +49,8 @@
ldap_bind_s
ldap_bind_sA
ldap_bind_sW
+ldap_check_filterA
+ldap_check_filterW
ldap_cleanup
ldap_close_extended_op
ldap_compare
@@ -70,6 +65,7 @@
ldap_compare_s
ldap_compare_sA
ldap_compare_sW
+ldap_conn_from_msg
ldap_connect
ldap_control_free
ldap_control_freeA
@@ -89,6 +85,8 @@
ldap_create_sort_control
ldap_create_sort_controlA
ldap_create_sort_controlW
+ldap_create_vlv_controlA
+ldap_create_vlv_controlW
ldap_delete
ldap_deleteA
ldap_deleteW
@@ -102,6 +100,7 @@
ldap_delete_sA
ldap_delete_sW
ldap_dn2ufn
+ldap_dn2ufnA
ldap_dn2ufnW
ldap_encode_sort_controlA
ldap_encode_sort_controlW
@@ -117,6 +116,8 @@
ldap_extended_operation
ldap_extended_operationA
ldap_extended_operationW
+ldap_extended_operation_sA
+ldap_extended_operation_sW
ldap_first_attribute
ldap_first_attributeA
ldap_first_attributeW
@@ -132,6 +133,7 @@
ldap_get_next_page_s
ldap_get_option
ldap_get_optionA
+ldap_get_optionW
ldap_get_paged_count
ldap_get_values
ldap_get_valuesA
@@ -178,6 +180,8 @@
ldap_open
ldap_openA
ldap_openW
+ldap_parse_extended_resultA
+ldap_parse_extended_resultW
ldap_parse_page_control
ldap_parse_page_controlA
ldap_parse_page_controlW
@@ -190,6 +194,8 @@
ldap_parse_sort_control
ldap_parse_sort_controlA
ldap_parse_sort_controlW
+ldap_parse_vlv_controlA
+ldap_parse_vlv_controlW
ldap_perror
ldap_rename_ext
ldap_rename_extA
@@ -199,6 +205,10 @@
ldap_rename_ext_sW
ldap_result
ldap_result2error
+ldap_sasl_bindA
+ldap_sasl_bindW
+ldap_sasl_bind_sA
+ldap_sasl_bind_sW
ldap_search
ldap_searchA
ldap_searchW
@@ -222,6 +232,7 @@
ldap_set_dbg_routine
ldap_set_option
ldap_set_optionA
+ldap_set_optionW
ldap_simple_bind
ldap_simple_bindA
ldap_simple_bindW
@@ -231,7 +242,10 @@
ldap_sslinit
ldap_sslinitA
ldap_sslinitW
+ldap_start_tls_sA
+ldap_start_tls_sW
ldap_startup
+ldap_stop_tls_s
ldap_ufn2dn
ldap_ufn2dnA
ldap_ufn2dnW
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package rsaref
checked in at Thu May 25 00:52:54 CEST 2006.
--------
--- rsaref/rsaref.changes 2006-03-27 18:33:21.000000000 +0200
+++ rsaref/rsaref.changes 2006-05-24 22:10:07.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 24 22:09:59 CEST 2006 - schwab(a)suse.de
+
+- Don't strip binaries.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rsaref.spec ++++++
--- /var/tmp/diff_new_pack.iM2Xym/_old 2006-05-25 00:52:44.000000000 +0200
+++ /var/tmp/diff_new_pack.iM2Xym/_new 2006-05-25 00:52:44.000000000 +0200
@@ -15,7 +15,7 @@
Provides: rsaref
Autoreqprov: on
Version: 2.0
-Release: 515
+Release: 521
Summary: RSA Reference Implementation
Source: rsaref-2.0.tar.gz
Patch0: rsaref-optflags.patch
@@ -53,7 +53,6 @@
pushd local
make XCFLAGS="%{optflags}"
mv rsaref.a ../librsaref.a
- strip librsaref.so
mv librsaref.so ../
popd
@@ -87,6 +86,8 @@
%{_bindir}/rdemo
%changelog -n rsaref
+* Wed May 24 2006 - schwab(a)suse.de
+- Don't strip binaries.
* Mon Mar 27 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Mon Mar 27 2006 - pth(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package routed
checked in at Thu May 25 00:52:41 CEST 2006.
--------
--- routed/routed.changes 2006-01-25 21:41:12.000000000 +0100
+++ routed/routed.changes 2006-05-24 22:08:30.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 24 22:08:24 CEST 2006 - schwab(a)suse.de
+
+- Don't strip binaries.
+
+-------------------------------------------------------------------
New:
----
netkit-routed-0.17-strip.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ routed.spec ++++++
--- /var/tmp/diff_new_pack.zyAmOi/_old 2006-05-25 00:52:37.000000000 +0200
+++ /var/tmp/diff_new_pack.zyAmOi/_new 2006-05-25 00:52:37.000000000 +0200
@@ -1,15 +1,14 @@
#
# spec file for package routed (Version 0.17)
#
-# Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany.
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://www.suse.de/feedback/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
-# usedforbuild aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libselinux libstdc++ libxcrypt m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt ps pwdutils rcs readline sed sendmail strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext libtool perl rpm
Name: routed
#!BuildIgnore: nkita nkitb nkitserv
@@ -19,7 +18,7 @@
PreReq: %insserv_prereq %fillup_prereq
Autoreqprov: on
Version: 0.17
-Release: 469
+Release: 515
Summary: Routing Daemon which Maintains Routing Tables
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
@@ -29,6 +28,7 @@
Patch1: netkit-routed-%{version}-noroot.patch
Patch2: netkit-routed-%{version}-aliasing.patch
Patch3: netkit-routed-%{version}-prototypes.patch
+Patch4: netkit-routed-%{version}-strip.patch
%description
Routed handles incoming RIP traffic and broadcasts outgoing RIP traffic
@@ -44,13 +44,13 @@
%patch1
%patch2
%patch3
+%patch4
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure
make %{?jobs:-j%jobs}
%install
-rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/etc/init.d
install -d -m 755 $RPM_BUILD_ROOT/usr/sbin
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man8
@@ -75,6 +75,8 @@
/usr/sbin/*
%changelog -n routed
+* Wed May 24 2006 - schwab(a)suse.de
+- Don't strip binaries.
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Tue Feb 03 2004 - mjancar(a)suse.cz
++++++ netkit-routed-0.17-strip.patch ++++++
--- routed/Makefile
+++ routed/Makefile
@@ -10,7 +10,7 @@
$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
install: all
- install -s -m$(DAEMONMODE) routed $(INSTALLROOT)$(SBINDIR)
+ install -m$(DAEMONMODE) routed $(INSTALLROOT)$(SBINDIR)
install -m$(MANMODE) routed.8 $(INSTALLROOT)$(MANDIR)/man8
clean:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package qemacs
checked in at Thu May 25 00:52:10 CEST 2006.
--------
--- qemacs/qemacs.changes 2006-01-25 21:40:58.000000000 +0100
+++ qemacs/qemacs.changes 2006-05-24 20:40:50.000000000 +0200
@@ -1,0 +2,6 @@
+Wed May 24 20:33:56 CEST 2006 - schwab(a)suse.de
+
+- Use RPM_OPT_FLAGS.
+- Don't strip binaries.
+
+-------------------------------------------------------------------
New:
----
includes.patch
initcall.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qemacs.spec ++++++
--- /var/tmp/diff_new_pack.KT8vxX/_old 2006-05-25 00:52:00.000000000 +0200
+++ /var/tmp/diff_new_pack.KT8vxX/_new 2006-05-25 00:52:00.000000000 +0200
@@ -1,11 +1,11 @@
#
# spec file for package qemacs (Version 0.3.1)
#
-# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
@@ -16,12 +16,14 @@
Group: Productivity/Editors/Other
Autoreqprov: on
Version: 0.3.1
-Release: 202
+Release: 214
URL: http://fabrice.bellard.free.fr/qemacs/
Source0: http://fabrice.bellard.free.fr/qemacs/qemacs-0.3.1.tar.bz2
Patch0: qemacs.patch
Patch1: qemacs-lib64.patch
Patch2: gcc4.patch
+Patch3: includes.patch
+Patch4: initcall.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Quick Emacs is a very small but powerful editor
@@ -66,19 +68,18 @@
%patch0 -p1
%patch1 -p1 -b .lib64
%patch2 -p1
+%patch3
+%patch4
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
-export CFLAGS="-g -O0"
-export CXXFLAGS="-g -O0"
./configure \
--prefix=/usr \
%{_target_platform}
-make
+make STRIP=:
%install
-[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
make -e DESTDIR=$RPM_BUILD_ROOT install
chmod 644 $RPM_BUILD_ROOT/%{_mandir}/man1/*
@@ -94,6 +95,9 @@
%doc %{_mandir}/man1/*
%changelog -n qemacs
+* Wed May 24 2006 - schwab(a)suse.de
+- Use RPM_OPT_FLAGS.
+- Don't strip binaries.
* Wed Jan 25 2006 - mls(a)suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 08 2005 - dmueller(a)suse.de
++++++ includes.patch ++++++
--- cutils.c
+++ cutils.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdarg.h>
#include <ctype.h>
+#include <string.h>
#include "cutils.h"
--- libfbf.c
+++ libfbf.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdlib.h>
+#include <string.h>
#include "libfbf.h"
++++++ initcall.patch ++++++
--- qe.c
+++ qe.c
@@ -6174,14 +6174,14 @@
static inline void init_all_modules(void)
{
int (*initcall)(void);
- void **ptr;
+ int (**ptr)(void);
- ptr = (void **)&__initcall_first;
+ ptr = &__initcall_first;
for(;;) {
/* NOTE: if bound checking is on, a '\0' is inserted between
each initialized 'void *' */
#if defined(__BOUNDS_CHECKING_ON)
- ptr = (void **)((long)ptr + (2 * sizeof(void *)));
+ ptr += 2;
#else
ptr++;
#endif
--- qe.h
+++ qe.h
@@ -578,8 +578,8 @@
#undef __attribute__
/* same method as the linux kernel... */
-#define __init_call __attribute__ ((unused,__section__ (".initcall.init")))
-#define __exit_call __attribute__ ((unused,__section__ (".exitcall.exit")))
+#define __init_call __attribute__ ((used,__section__ (".initcall.init")))
+#define __exit_call __attribute__ ((used,__section__ (".exitcall.exit")))
#define qe_module_init(fn) \
static int (*__initcall_##fn)(void) __init_call = fn
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0
Hello community,
here is the log from the commit of package pcmciautils
checked in at Thu May 25 00:51:09 CEST 2006.
--------
--- pcmciautils/pcmciautils.changes 2006-03-30 15:58:15.000000000 +0200
+++ pcmciautils/pcmciautils.changes 2006-05-24 23:00:56.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 24 23:00:51 CEST 2006 - schwab(a)suse.de
+
+- Don't strip binaries.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pcmciautils.spec ++++++
--- /var/tmp/diff_new_pack.MVwcae/_old 2006-05-25 00:51:04.000000000 +0200
+++ /var/tmp/diff_new_pack.MVwcae/_new 2006-05-25 00:51:04.000000000 +0200
@@ -14,7 +14,7 @@
BuildRequires: sysfsutils
URL: http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
Version: 012
-Release: 7
+Release: 13
Summary: Utilities for PC-Cards
License: GPL
Group: Hardware/Other
@@ -55,7 +55,7 @@
%setup -n pcmciautils-%{version} -T -D -a 2
%build
-make all DEF_CFLAGS="$RPM_OPT_FLAGS"
+make all DEF_CFLAGS="$RPM_OPT_FLAGS" STRIPCMD=true
# make debugtools
%install
@@ -103,6 +103,8 @@
# test -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
%changelog -n pcmciautils
+* Wed May 24 2006 - schwab(a)suse.de
+- Don't strip binaries.
* Thu Mar 30 2006 - zoz(a)suse.de
- added supplement modalias in specfile (Bug 161340)
* Fri Jan 27 2006 - zoz(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
1
0