openSUSE Commits
Threads by month
- ----- 2024 -----
- 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
October 2014
- 1 participants
- 1615 discussions
Hello community,
here is the log from the commit of package python-pysendfile for openSUSE:Factory checked in at 2014-10-05 20:31:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysendfile (Old)
and /work/SRC/openSUSE:Factory/.python-pysendfile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pysendfile"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysendfile/python-pysendfile.changes 2013-04-14 10:38:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pysendfile.new/python-pysendfile.changes 2014-10-05 20:32:12.000000000 +0200
@@ -1,0 +2,17 @@
+Thu Oct 2 18:40:28 UTC 2014 - p.drouand(a)gmail.com
+
+- Use tarball from pypi as source
+
+-------------------------------------------------------------------
+Fri Sep 12 08:21:49 UTC 2014 - dmueller(a)suse.com
+
+- update to 2.0.1:
+ - #20: host tarball on PYPI
+ - #21: project migrated from google code to github
+ - #21: project migrated from SVN to GIT
+ - #22: pysendfile won't compile on python 3.4
+ - #23: add a Makefile
+ - #24: use of travis continuous integration
+ - #25: use tox for multiple python versions testing
+
+-------------------------------------------------------------------
Old:
----
pysendfile-2.0.0.tar.gz
New:
----
pysendfile-2.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pysendfile.spec ++++++
--- /var/tmp/diff_new_pack.y6uLhb/_old 2014-10-05 20:32:13.000000000 +0200
+++ /var/tmp/diff_new_pack.y6uLhb/_new 2014-10-05 20:32:13.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pysendfile
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
%define mod_name pysendfile
Name: python-pysendfile
-Version: 2.0.0
+Version: 2.0.1
Release: 0
Summary: A Python interface to sendfile(2)
License: MIT
Group: Development/Languages/Python
Url: http://code.google.com/p/pysendfile/
-Source: http://pysendfile.googlecode.com/files/%{mod_name}-%{version}.tar.gz
+Source: https://pypi.python.org/packages/source/p/pysendfile/pysendfile-%{version}.…
BuildRequires: python-devel
BuildRequires: python-nose
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -51,7 +51,7 @@
%files
%defattr(-,root,root,-)
-%doc LICENSE README
+%doc LICENSE README.rst
%{python_sitearch}/*
%changelog
++++++ pysendfile-2.0.0.tar.gz -> pysendfile-2.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/.travis.yml new/pysendfile-2.0.1/.travis.yml
--- old/pysendfile-2.0.0/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/.travis.yml 2014-05-27 02:19:48.000000000 +0200
@@ -0,0 +1,21 @@
+language: python
+python:
+ - 2.6
+ - 2.7
+ - 3.2
+ - 3.3
+ - 3.4
+ - pypy
+install:
+ - if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install unittest2; fi
+ - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
+script:
+ - pip install flake8
+ - python setup.py build
+ - python setup.py install
+ - python test/test_sendfile.py
+ - make flake8
+os:
+ - linux
+ - osx
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/HISTORY new/pysendfile-2.0.1/HISTORY
--- old/pysendfile-2.0.0/HISTORY 2012-01-12 21:38:23.000000000 +0100
+++ new/pysendfile-2.0.1/HISTORY 1970-01-01 01:00:00.000000000 +0100
@@ -1,41 +0,0 @@
-Bug tracker at http://code.google.com/p/py-sendfile/issues/list
-
-Version 2.0.0 - 2012-01-12
-==========================
-
-(Giampaolo Rodolà took over maintenance)
-
-##: complete rewriting except AIX code
-##: non blocking sockets support
-##: threads support (release GIL)
-#1: unit tests
-#2: python 3 support
-#3: FreeBSD implementation is broken
-#4: python large file support
-#5: header/trailer are now keyword arguments
-#6: exposed SF_NODISKIO, SF_MNOWAIT and SF_SYNC constants on FreeBSD
-#8: benchmark script
-#10: Mac OSX support
-#13: Sun OS support
-
-
-Version 1.2.4 - 2009-03-06
-==========================
-
-(Stephan Peijnik took over maintenance)
-
-## Add AIX support.
-
-
-Version 1.2.3 - 2008-04-09
-==========================
-
-## Use setuptools instead of distutils.
-
-
-Version 1.2.2 - 2008-03-29
-==========================
-
-(Ben Woolley)
-
-## First release including support for Linux, FreeBSD and DragonflyBSD platforms.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/HISTORY.rst new/pysendfile-2.0.1/HISTORY.rst
--- old/pysendfile-2.0.0/HISTORY.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/HISTORY.rst 2014-05-27 13:06:37.000000000 +0200
@@ -0,0 +1,49 @@
+Bug tracker at https://github.com/giampaolo/pysendfile/issues
+
+Version 2.0.1 - 2014-05-27
+==========================
+
+- #20: host tarball on PYPI
+- #21: project migrated from google code to github
+- #21: project migrated from SVN to GIT
+- #22: pysendfile won't compile on python 3.4
+- #23: add a Makefile
+- #24: use of travis continuous integration
+- #25: use tox for multiple python versions testing
+
+Version 2.0.0 - 2012-01-12
+==========================
+
+(Giampaolo Rodolà took over maintenance)
+
+- ##: complete rewriting except AIX code
+- ##: non blocking sockets support
+- ##: threads support (release GIL)
+- #1: unit tests
+- #2: python 3 support
+- #3: FreeBSD implementation is broken
+- #4: python large file support
+- #5: header/trailer are now keyword arguments
+- #6: exposed SF_NODISKIO, SF_MNOWAIT and SF_SYNC constants on FreeBSD
+- #8: benchmark script
+- #10: Mac OSX support
+- #13: Sun OS support
+
+Version 1.2.4 - 2009-03-06
+==========================
+
+(Stephan Peijnik took over maintenance)
+
+- ## Add AIX support.
+
+Version 1.2.3 - 2008-04-09
+==========================
+
+- ## Use setuptools instead of distutils.
+
+Version 1.2.2 - 2008-03-29
+==========================
+
+(Ben Woolley)
+
+- ## First release including support for Linux, FreeBSD and DragonflyBSD platforms.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/LICENSE new/pysendfile-2.0.1/LICENSE
--- old/pysendfile-2.0.0/LICENSE 2012-01-12 19:18:35.000000000 +0100
+++ new/pysendfile-2.0.1/LICENSE 2014-05-27 02:26:49.000000000 +0200
@@ -8,7 +8,7 @@
Copyright (C) 2008-2009 Niklas Edmundsson <nikke(a)acc.umu.se>
Rewritten from scratch and maintained by:
- Copyright (C) 2009-2012 Giampaolo Rodola' <g.rodola(a)gmail.com>
+ Copyright (C) 2009-2014 Giampaolo Rodola' <g.rodola(a)gmail.com>
Permission to use, copy, modify, and distribute this software and
its documentation for any purpose and without fee is hereby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/MANIFEST.in new/pysendfile-2.0.1/MANIFEST.in
--- old/pysendfile-2.0.0/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/MANIFEST.in 2014-05-27 02:26:49.000000000 +0200
@@ -0,0 +1,9 @@
+include .travis.yml
+include HISTORY.rst
+include LICENSE
+include Makefile
+include MANIFEST.in
+include README.rst
+include sendfilemodule.c
+include setup.py
+recursive-include test *.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/Makefile new/pysendfile-2.0.1/Makefile
--- old/pysendfile-2.0.0/Makefile 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/Makefile 2014-05-27 12:24:30.000000000 +0200
@@ -0,0 +1,60 @@
+# Shortcuts for various tasks (UNIX only).
+# To use a specific Python version run:
+# $ make install PYTHON=python3.3
+
+# You can set these variables from the command line.
+PYTHON = python
+TSCRIPT = test/test_sendfile.py
+
+all: test
+
+clean:
+ rm -f `find . -type f -name \*.py[co]`
+ rm -f `find . -type f -name \*.so`
+ rm -f `find . -type f -nam1e .\*~`
+ rm -f `find . -type f -name \*.orig`
+ rm -f `find . -type f -name \*.bak`
+ rm -f `find . -type f -name \*.rej`
+ rm -rf `find . -type d -name __pycache__`
+ rm -rf *.egg-info
+ rm -rf *\$testfile*
+ rm -rf .tox
+ rm -rf build
+ rm -rf dist
+
+build: clean
+ $(PYTHON) setup.py build
+
+install: build
+ if test $(PYTHON) = python2.5; then \
+ $(PYTHON) setup.py install; \
+ else \
+ $(PYTHON) setup.py install --user; \
+ fi
+
+uninstall:
+ cd ..; $(PYTHON) -m pip uninstall -y -v pysendfile; \
+
+test: install
+ $(PYTHON) $(TSCRIPT)
+
+# requires "pip install pep8"
+pep8:
+ @git ls-files | grep \\.py$ | xargs pep8
+
+# requires "pip install pyflakes"
+pyflakes:
+ @export PYFLAKES_NODOCTEST=1 && \
+ git ls-files | grep \\.py$ | xargs pyflakes
+
+# requires "pip install flake8"
+flake8:
+ @git ls-files | grep \\.py$ | xargs flake8
+
+# upload source tarball on https://pypi.python.org/pypi/pysendfile.
+upload-src: clean
+ $(PYTHON) setup.py sdist upload
+
+# git-tag a new release
+git-tag-release:
+ git tag -a release-`python -c "import setup; print(setup.VERSION)"` -m `git rev-list HEAD --count`:`git rev-parse --short HEAD`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/PKG-INFO new/pysendfile-2.0.1/PKG-INFO
--- old/pysendfile-2.0.0/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/PKG-INFO 2014-05-27 13:07:23.000000000 +0200
@@ -0,0 +1,252 @@
+Metadata-Version: 1.1
+Name: pysendfile
+Version: 2.0.1
+Summary: A Python interface to sendfile(2)
+Home-page: https://github.com/giampaolo/pysendfile
+Author: Giampaolo Rodola
+Author-email: g.rodola(a)gmail.com
+License: MIT
+Description: .. image:: https://pypip.in/d/pysendfile/badge.png
+ :target: https://crate.io/packages/pysendfile/
+ :alt: Download this month
+
+ .. image:: https://pypip.in/v/pysendfile/badge.png
+ :target: https://pypi.python.org/pypi/pysendfile/
+ :alt: Latest version
+
+ .. image:: https://pypip.in/license/pysendfile/badge.png
+ :target: https://pypi.python.org/pypi/pysendfile/
+ :alt: License
+
+ .. image:: https://api.travis-ci.org/giampaolo/pysendfile.png?branch=master
+ :target: https://travis-ci.org/giampaolo/pysendfile
+ :alt: Travis
+
+ ===========
+ Quick links
+ ===========
+
+ - `Home page <https://github.com/giampaolo/pysendfile>`_
+ - `Mailing list <http://groups.google.com/group/py-sendfile>`_
+ - `Blog <http://grodola.blogspot.com/search/label/pysendfile>`_
+ - `What's new <https://github.com/giampaolo/pysendfile/blob/master/HISTORY.rst>`_
+
+ =====
+ About
+ =====
+
+ `sendfile(2) <http://linux.die.net/man/2/sendfile>`__ is a system call which
+ provides a "zero-copy" way of copying data from one file descriptor to another
+ (a socket). The phrase "zero-copy" refers to the fact that all of the copying
+ of data between the two descriptors is done entirely by the kernel, with no
+ copying of data into userspace buffers. This is particularly useful when
+ sending a file over a socket (e.g. FTP).
+ The normal way of sending a file over a socket involves reading data from the
+ file into a userspace buffer, then write that buffer to the socket via
+ `send() <http://docs.python.org/library/socket.html#socket.socket.send>`__ or
+ `sendall() <http://docs.python.org/library/socket.html#socket.socket.sendall>`__:
+
+ .. code-block:: python
+
+ # how a file is tipically sent
+
+ import socket
+
+ file = open("somefile", "rb")
+ sock = socket.socket()
+ sock.connect(("127.0.0.1", 8021))
+
+ while True:
+ chunk = file.read(65536)
+ if not chunk:
+ break # EOF
+ sock.sendall(chunk)
+
+ This copying of the data twice (once into the userland buffer, and once out
+ from that userland buffer) imposes some performance and resource penalties.
+ `sendfile(2) <http://linux.die.net/man/2/sendfile>`__ syscall avoids these
+ penalties by avoiding any use of userland buffers; it also results in a single
+ system call (and thus only one context switch), rather than the series of
+ `read(2) <http://linux.die.net/man/2/read>`__ /
+ `write(2) <http://linux.die.net/man/2/write>`__ system calls (each system call
+ requiring a context switch) used internally for the data copying.
+
+ .. code-block:: python
+
+ import socket
+ from sendfile import sendfile
+
+ file = open("somefile", "rb")
+ blocksize = os.path.getsize("somefile")
+ sock = socket.socket()
+ sock.connect(("127.0.0.1", 8021))
+ offset = 0
+
+ while True:
+ sent = sendfile(sock.fileno(), file.fileno(), offset, blocksize)
+ if sent == 0:
+ break # EOF
+ offset += sent
+
+ ==================
+ A simple benchmark
+ ==================
+
+ This `benchmark script <https://github.com/giampaolo/pysendfile/blob/master/test/benchmark.py>`__
+ implements the two examples above and compares plain socket.send() and
+ sendfile() performances in terms of CPU time spent and bytes transmitted per
+ second resulting in sendfile() being about **2.5x faster**. These are the
+ results I get on my Linux 2.6.38 box, AMD dual-core 1.6 GHz:
+
+ *send()*
+
+ +---------------+-----------------+
+ | CPU time | 28.84 usec/pass |
+ +---------------+-----------------+
+ | transfer rate | 359.38 MB/sec |
+ +---------------+-----------------+
+
+ *sendfile()*
+
+ +---------------+-----------------+
+ | CPU time | 11.28 usec/pass |
+ +---------------+-----------------+
+ | transfer rate | 860.88 MB/sec |
+ +---------------+-----------------+
+
+ ===========================
+ When do you want to use it?
+ ===========================
+
+ Basically any application sending files over the network can take advantage of
+ sendfile(2). HTTP and FTP servers are a typical example.
+ `proftpd <http://www.proftpd.org/>`__ and
+ `vsftpd <https://security.appspot.com/vsftpd.html>`__ are known to use it, so is
+ `pyftpdlib <http://code.google.com/p/pyftpdlib/>`__.
+
+ =================
+ API documentation
+ =================
+
+ sendfile module provides a single function: sendfile().
+
+ - ``sendfile.sendfile(out, in, offset, nbytes, header="", trailer="", flags=0)``
+
+ Copy *nbytes* bytes from file descriptor *in* (a regular file) to file
+ descriptor *out* (a socket) starting at *offset*. Return the number of
+ bytes just being sent. When the end of file is reached return 0.
+ On Linux, if *offset* is given as *None*, the bytes are read from the current
+ position of *in* and the position of *in* is updated.
+ *headers* and *trailers* are strings that are written before and after the
+ data from *in* is written. In cross platform applications their usage is
+ discouraged
+ (`send() <http://docs.python.org/library/socket.html#socket.socket.send>`__ or
+ `sendall() <http://docs.python.org/library/socket.html#socket.socket.sendall>`__
+ can be used instead). On Solaris, _out_ may be the file descriptor of a
+ regular file or the file descriptor of a socket. On all other platforms,
+ *out* must be the file descriptor of an open socket.
+ *flags* argument is only supported on FreeBSD.
+
+ - ``sendfile.SF_NODISKIO``
+ - ``sendfile.SF_MNOWAIT``
+ - ``sendfile.SF_SYNC``
+
+ Parameters for the _flags_ argument, if the implementation supports it. They
+ are available on FreeBSD platforms. See `FreeBSD's man sendfile(2) <http://www.freebsd.org/cgi/man.cgi?query=sendfile&sektion=2>`__.
+
+ =======================
+ Differences with send()
+ =======================
+
+ - sendfile(2) works with regular (mmap-like) files only (e.g. you can't use it
+ with a `StringIO <http://docs.python.org/library/stringio.html>`__ object).
+ - Also, it must be clear that the file can only be sent "as is" (e.g. you
+ can't modify the content while transmitting).
+ There might be problems with non regular filesystems such as NFS,
+ SMBFS/Samba and CIFS. For this please refer to
+ `proftpd documentation <http://www.proftpd.org/docs/howto/Sendfile.html>`__.
+ - `OSError <http://docs.python.org/library/exceptions.html#exceptions.OSError>`__
+ is raised instead of `socket.error <http://docs.python.org/library/socket.html#socket.error>`__.
+ The accompaining `error codes <http://docs.python.org/library/errno.html>`__
+ have the same meaning though: EAGAIN, EWOULDBLOCK, EBUSY meaning you are
+ supposed to retry, ECONNRESET, ENOTCONN, ESHUTDOWN, ECONNABORTED in case of
+ disconnection. Some examples:
+ `benchmark script <https://github.com/giampaolo/pysendfile/blob/release-2.0.1/test/benchmark.p…>`__,
+ `test suite <https://github.com/giampaolo/pysendfile/blob/release-2.0.1/test/test_sendfi…>`__,
+ `pyftpdlib wrapper <http://code.google.com/p/pyftpdlib/source/browse/tags/release-0.7.0/pyftpdl…>`__.
+
+ ===================
+ Supported platforms
+ ===================
+
+ This module works with Python versions from **2.5** to **3.4**. The supported platforms are:
+
+ - **Linux**
+ - **Mac OSX**
+ - **FreeBSD**
+ - **Dragon Fly BSD**
+ - **Sun OS**
+ - **AIX** (not properly tested)
+
+ =======
+ Support
+ =======
+
+ Feel free to mail me at *g.rodola [AT] gmail [DOT] com* or post on the the
+ mailing list: http://groups.google.com/group/py-sendfile.
+
+ ======
+ Status
+ ======
+
+ As of now the code includes a solid `test suite <https://github.com/giampaolo/pysendfile/blob/master/test/test_sendfile.py>`__ and its ready for production use.
+ It's been included in `pyftpdlib <http://code.google.com/p/pyftpdlib/>`__
+ project and used in production environments for almost a year now without any
+ problem being reported so far.
+
+ =======
+ Authors
+ =======
+
+ pysendfile was originally written by *Ben Woolley* including Linux, FreeBSD and
+ DragonFly BSD support. Later on *Niklas Edmundsson* took over maintenance and
+ added AIX support. After a couple of years of project stagnation
+ `Giampaolo Rodola' <http://grodola.blogspot.com/p/about.html>`__ took over
+ maintenance and rewrote it from scratch adding support for:
+
+ - Python 3
+ - non-blocking sockets
+ - `large file <http://docs.python.org/library/posix.html#large-file-support>`__ support
+ - Mac OSX
+ - Sun OS
+ - FreeBSD flag argument
+ - multiple threads (release GIL)
+ - a simple benchmark suite
+ - unit tests
+ - documentation
+
+Keywords: sendfile,python,performance,ftp
+Platform: UNIX
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Intended Audience :: Developers
+Classifier: Operating System :: POSIX :: Linux
+Classifier: Operating System :: MacOS :: MacOS X
+Classifier: Operating System :: POSIX :: BSD
+Classifier: Operating System :: POSIX :: BSD :: FreeBSD
+Classifier: Operating System :: POSIX :: SunOS/Solaris
+Classifier: Operating System :: POSIX :: AIX
+Classifier: Programming Language :: C
+Classifier: Programming Language :: Python :: 2.5
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.0
+Classifier: Programming Language :: Python :: 3.1
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Topic :: System :: Networking
+Classifier: Topic :: System :: Operating System
+Classifier: Topic :: Internet :: File Transfer Protocol (FTP)
+Classifier: Topic :: Internet :: WWW/HTTP
+Classifier: License :: OSI Approved :: MIT License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/README new/pysendfile-2.0.1/README
--- old/pysendfile-2.0.0/README 2012-01-12 21:37:07.000000000 +0100
+++ new/pysendfile-2.0.1/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,62 +0,0 @@
-===========
-Quick links
-===========
-
-* Home page: http://code.google.com/p/pysendfile
-* Download: http://code.google.com/p/pysendfile/downloads/list
-
-=====
-About
-=====
-
-A python interface to sendfile(2) system call.
-
-=======
-Install
-=======
-
-$ sudo setup.py install
-
-...or:
-
-$ easy_install pysendfile
-
-===================
-Supported platforms
-===================
-
-* Linux
-* OSX
-* FreeBSD
-* Dragon Fly BSD
-* SunOS
-* AIX (non properly tested)
-
-Python versions from 2.5 to 3.3 by using a single code base.
-
-=============
-Example usage
-=============
-
-::
-
- import socket
- import errno
- from sendfile import sendfile
-
- file = open("somefile", "rb")
- sock = socket.socket()
- sock.connect(("127.0.0.1", 8021))
- offset = 0
-
- while 1:
- try:
- sent = sendfile(sock.fileno(), file.fileno(), offset, 4096)
- except OSError, err:
- if err.errno == (errno.EAGAIN, errno.EBUSY): # retry
- continue
- raise
- else:
- if sent == 0:
- break # done
- offset += sent
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/README.rst new/pysendfile-2.0.1/README.rst
--- old/pysendfile-2.0.0/README.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/README.rst 2014-05-27 12:48:00.000000000 +0200
@@ -0,0 +1,218 @@
+.. image:: https://pypip.in/d/pysendfile/badge.png
+ :target: https://crate.io/packages/pysendfile/
+ :alt: Download this month
+
+.. image:: https://pypip.in/v/pysendfile/badge.png
+ :target: https://pypi.python.org/pypi/pysendfile/
+ :alt: Latest version
+
+.. image:: https://pypip.in/license/pysendfile/badge.png
+ :target: https://pypi.python.org/pypi/pysendfile/
+ :alt: License
+
+.. image:: https://api.travis-ci.org/giampaolo/pysendfile.png?branch=master
+ :target: https://travis-ci.org/giampaolo/pysendfile
+ :alt: Travis
+
+===========
+Quick links
+===========
+
+- `Home page <https://github.com/giampaolo/pysendfile>`_
+- `Mailing list <http://groups.google.com/group/py-sendfile>`_
+- `Blog <http://grodola.blogspot.com/search/label/pysendfile>`_
+- `What's new <https://github.com/giampaolo/pysendfile/blob/master/HISTORY.rst>`_
+
+=====
+About
+=====
+
+`sendfile(2) <http://linux.die.net/man/2/sendfile>`__ is a system call which
+provides a "zero-copy" way of copying data from one file descriptor to another
+(a socket). The phrase "zero-copy" refers to the fact that all of the copying
+of data between the two descriptors is done entirely by the kernel, with no
+copying of data into userspace buffers. This is particularly useful when
+sending a file over a socket (e.g. FTP).
+The normal way of sending a file over a socket involves reading data from the
+file into a userspace buffer, then write that buffer to the socket via
+`send() <http://docs.python.org/library/socket.html#socket.socket.send>`__ or
+`sendall() <http://docs.python.org/library/socket.html#socket.socket.sendall>`__:
+
+.. code-block:: python
+
+ # how a file is tipically sent
+
+ import socket
+
+ file = open("somefile", "rb")
+ sock = socket.socket()
+ sock.connect(("127.0.0.1", 8021))
+
+ while True:
+ chunk = file.read(65536)
+ if not chunk:
+ break # EOF
+ sock.sendall(chunk)
+
+This copying of the data twice (once into the userland buffer, and once out
+from that userland buffer) imposes some performance and resource penalties.
+`sendfile(2) <http://linux.die.net/man/2/sendfile>`__ syscall avoids these
+penalties by avoiding any use of userland buffers; it also results in a single
+system call (and thus only one context switch), rather than the series of
+`read(2) <http://linux.die.net/man/2/read>`__ /
+`write(2) <http://linux.die.net/man/2/write>`__ system calls (each system call
+requiring a context switch) used internally for the data copying.
+
+.. code-block:: python
+
+ import socket
+ from sendfile import sendfile
+
+ file = open("somefile", "rb")
+ blocksize = os.path.getsize("somefile")
+ sock = socket.socket()
+ sock.connect(("127.0.0.1", 8021))
+ offset = 0
+
+ while True:
+ sent = sendfile(sock.fileno(), file.fileno(), offset, blocksize)
+ if sent == 0:
+ break # EOF
+ offset += sent
+
+==================
+A simple benchmark
+==================
+
+This `benchmark script <https://github.com/giampaolo/pysendfile/blob/master/test/benchmark.py>`__
+implements the two examples above and compares plain socket.send() and
+sendfile() performances in terms of CPU time spent and bytes transmitted per
+second resulting in sendfile() being about **2.5x faster**. These are the
+results I get on my Linux 2.6.38 box, AMD dual-core 1.6 GHz:
+
+*send()*
+
++---------------+-----------------+
+| CPU time | 28.84 usec/pass |
++---------------+-----------------+
+| transfer rate | 359.38 MB/sec |
++---------------+-----------------+
+
+*sendfile()*
+
++---------------+-----------------+
+| CPU time | 11.28 usec/pass |
++---------------+-----------------+
+| transfer rate | 860.88 MB/sec |
++---------------+-----------------+
+
+===========================
+When do you want to use it?
+===========================
+
+Basically any application sending files over the network can take advantage of
+sendfile(2). HTTP and FTP servers are a typical example.
+`proftpd <http://www.proftpd.org/>`__ and
+`vsftpd <https://security.appspot.com/vsftpd.html>`__ are known to use it, so is
+`pyftpdlib <http://code.google.com/p/pyftpdlib/>`__.
+
+=================
+API documentation
+=================
+
+sendfile module provides a single function: sendfile().
+
+- ``sendfile.sendfile(out, in, offset, nbytes, header="", trailer="", flags=0)``
+
+ Copy *nbytes* bytes from file descriptor *in* (a regular file) to file
+ descriptor *out* (a socket) starting at *offset*. Return the number of
+ bytes just being sent. When the end of file is reached return 0.
+ On Linux, if *offset* is given as *None*, the bytes are read from the current
+ position of *in* and the position of *in* is updated.
+ *headers* and *trailers* are strings that are written before and after the
+ data from *in* is written. In cross platform applications their usage is
+ discouraged
+ (`send() <http://docs.python.org/library/socket.html#socket.socket.send>`__ or
+ `sendall() <http://docs.python.org/library/socket.html#socket.socket.sendall>`__
+ can be used instead). On Solaris, _out_ may be the file descriptor of a
+ regular file or the file descriptor of a socket. On all other platforms,
+ *out* must be the file descriptor of an open socket.
+ *flags* argument is only supported on FreeBSD.
+
+- ``sendfile.SF_NODISKIO``
+- ``sendfile.SF_MNOWAIT``
+- ``sendfile.SF_SYNC``
+
+ Parameters for the _flags_ argument, if the implementation supports it. They
+ are available on FreeBSD platforms. See `FreeBSD's man sendfile(2) <http://www.freebsd.org/cgi/man.cgi?query=sendfile&sektion=2>`__.
+
+=======================
+Differences with send()
+=======================
+
+- sendfile(2) works with regular (mmap-like) files only (e.g. you can't use it
+ with a `StringIO <http://docs.python.org/library/stringio.html>`__ object).
+- Also, it must be clear that the file can only be sent "as is" (e.g. you
+ can't modify the content while transmitting).
+ There might be problems with non regular filesystems such as NFS,
+ SMBFS/Samba and CIFS. For this please refer to
+ `proftpd documentation <http://www.proftpd.org/docs/howto/Sendfile.html>`__.
+- `OSError <http://docs.python.org/library/exceptions.html#exceptions.OSError>`__
+ is raised instead of `socket.error <http://docs.python.org/library/socket.html#socket.error>`__.
+ The accompaining `error codes <http://docs.python.org/library/errno.html>`__
+ have the same meaning though: EAGAIN, EWOULDBLOCK, EBUSY meaning you are
+ supposed to retry, ECONNRESET, ENOTCONN, ESHUTDOWN, ECONNABORTED in case of
+ disconnection. Some examples:
+ `benchmark script <https://github.com/giampaolo/pysendfile/blob/release-2.0.1/test/benchmark.p…>`__,
+ `test suite <https://github.com/giampaolo/pysendfile/blob/release-2.0.1/test/test_sendfi…>`__,
+ `pyftpdlib wrapper <http://code.google.com/p/pyftpdlib/source/browse/tags/release-0.7.0/pyftpdl…>`__.
+
+===================
+Supported platforms
+===================
+
+This module works with Python versions from **2.5** to **3.4**. The supported platforms are:
+
+- **Linux**
+- **Mac OSX**
+- **FreeBSD**
+- **Dragon Fly BSD**
+- **Sun OS**
+- **AIX** (not properly tested)
+
+=======
+Support
+=======
+
+Feel free to mail me at *g.rodola [AT] gmail [DOT] com* or post on the the
+mailing list: http://groups.google.com/group/py-sendfile.
+
+======
+Status
+======
+
+As of now the code includes a solid `test suite <https://github.com/giampaolo/pysendfile/blob/master/test/test_sendfile.py>`__ and its ready for production use.
+It's been included in `pyftpdlib <http://code.google.com/p/pyftpdlib/>`__
+project and used in production environments for almost a year now without any
+problem being reported so far.
+
+=======
+Authors
+=======
+
+pysendfile was originally written by *Ben Woolley* including Linux, FreeBSD and
+DragonFly BSD support. Later on *Niklas Edmundsson* took over maintenance and
+added AIX support. After a couple of years of project stagnation
+`Giampaolo Rodola' <http://grodola.blogspot.com/p/about.html>`__ took over
+maintenance and rewrote it from scratch adding support for:
+
+- Python 3
+- non-blocking sockets
+- `large file <http://docs.python.org/library/posix.html#large-file-support>`__ support
+- Mac OSX
+- Sun OS
+- FreeBSD flag argument
+- multiple threads (release GIL)
+- a simple benchmark suite
+- unit tests
+- documentation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/pysendfile.egg-info/PKG-INFO new/pysendfile-2.0.1/pysendfile.egg-info/PKG-INFO
--- old/pysendfile-2.0.0/pysendfile.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/pysendfile.egg-info/PKG-INFO 2014-05-27 13:07:23.000000000 +0200
@@ -0,0 +1,252 @@
+Metadata-Version: 1.1
+Name: pysendfile
+Version: 2.0.1
+Summary: A Python interface to sendfile(2)
+Home-page: https://github.com/giampaolo/pysendfile
+Author: Giampaolo Rodola
+Author-email: g.rodola(a)gmail.com
+License: MIT
+Description: .. image:: https://pypip.in/d/pysendfile/badge.png
+ :target: https://crate.io/packages/pysendfile/
+ :alt: Download this month
+
+ .. image:: https://pypip.in/v/pysendfile/badge.png
+ :target: https://pypi.python.org/pypi/pysendfile/
+ :alt: Latest version
+
+ .. image:: https://pypip.in/license/pysendfile/badge.png
+ :target: https://pypi.python.org/pypi/pysendfile/
+ :alt: License
+
+ .. image:: https://api.travis-ci.org/giampaolo/pysendfile.png?branch=master
+ :target: https://travis-ci.org/giampaolo/pysendfile
+ :alt: Travis
+
+ ===========
+ Quick links
+ ===========
+
+ - `Home page <https://github.com/giampaolo/pysendfile>`_
+ - `Mailing list <http://groups.google.com/group/py-sendfile>`_
+ - `Blog <http://grodola.blogspot.com/search/label/pysendfile>`_
+ - `What's new <https://github.com/giampaolo/pysendfile/blob/master/HISTORY.rst>`_
+
+ =====
+ About
+ =====
+
+ `sendfile(2) <http://linux.die.net/man/2/sendfile>`__ is a system call which
+ provides a "zero-copy" way of copying data from one file descriptor to another
+ (a socket). The phrase "zero-copy" refers to the fact that all of the copying
+ of data between the two descriptors is done entirely by the kernel, with no
+ copying of data into userspace buffers. This is particularly useful when
+ sending a file over a socket (e.g. FTP).
+ The normal way of sending a file over a socket involves reading data from the
+ file into a userspace buffer, then write that buffer to the socket via
+ `send() <http://docs.python.org/library/socket.html#socket.socket.send>`__ or
+ `sendall() <http://docs.python.org/library/socket.html#socket.socket.sendall>`__:
+
+ .. code-block:: python
+
+ # how a file is tipically sent
+
+ import socket
+
+ file = open("somefile", "rb")
+ sock = socket.socket()
+ sock.connect(("127.0.0.1", 8021))
+
+ while True:
+ chunk = file.read(65536)
+ if not chunk:
+ break # EOF
+ sock.sendall(chunk)
+
+ This copying of the data twice (once into the userland buffer, and once out
+ from that userland buffer) imposes some performance and resource penalties.
+ `sendfile(2) <http://linux.die.net/man/2/sendfile>`__ syscall avoids these
+ penalties by avoiding any use of userland buffers; it also results in a single
+ system call (and thus only one context switch), rather than the series of
+ `read(2) <http://linux.die.net/man/2/read>`__ /
+ `write(2) <http://linux.die.net/man/2/write>`__ system calls (each system call
+ requiring a context switch) used internally for the data copying.
+
+ .. code-block:: python
+
+ import socket
+ from sendfile import sendfile
+
+ file = open("somefile", "rb")
+ blocksize = os.path.getsize("somefile")
+ sock = socket.socket()
+ sock.connect(("127.0.0.1", 8021))
+ offset = 0
+
+ while True:
+ sent = sendfile(sock.fileno(), file.fileno(), offset, blocksize)
+ if sent == 0:
+ break # EOF
+ offset += sent
+
+ ==================
+ A simple benchmark
+ ==================
+
+ This `benchmark script <https://github.com/giampaolo/pysendfile/blob/master/test/benchmark.py>`__
+ implements the two examples above and compares plain socket.send() and
+ sendfile() performances in terms of CPU time spent and bytes transmitted per
+ second resulting in sendfile() being about **2.5x faster**. These are the
+ results I get on my Linux 2.6.38 box, AMD dual-core 1.6 GHz:
+
+ *send()*
+
+ +---------------+-----------------+
+ | CPU time | 28.84 usec/pass |
+ +---------------+-----------------+
+ | transfer rate | 359.38 MB/sec |
+ +---------------+-----------------+
+
+ *sendfile()*
+
+ +---------------+-----------------+
+ | CPU time | 11.28 usec/pass |
+ +---------------+-----------------+
+ | transfer rate | 860.88 MB/sec |
+ +---------------+-----------------+
+
+ ===========================
+ When do you want to use it?
+ ===========================
+
+ Basically any application sending files over the network can take advantage of
+ sendfile(2). HTTP and FTP servers are a typical example.
+ `proftpd <http://www.proftpd.org/>`__ and
+ `vsftpd <https://security.appspot.com/vsftpd.html>`__ are known to use it, so is
+ `pyftpdlib <http://code.google.com/p/pyftpdlib/>`__.
+
+ =================
+ API documentation
+ =================
+
+ sendfile module provides a single function: sendfile().
+
+ - ``sendfile.sendfile(out, in, offset, nbytes, header="", trailer="", flags=0)``
+
+ Copy *nbytes* bytes from file descriptor *in* (a regular file) to file
+ descriptor *out* (a socket) starting at *offset*. Return the number of
+ bytes just being sent. When the end of file is reached return 0.
+ On Linux, if *offset* is given as *None*, the bytes are read from the current
+ position of *in* and the position of *in* is updated.
+ *headers* and *trailers* are strings that are written before and after the
+ data from *in* is written. In cross platform applications their usage is
+ discouraged
+ (`send() <http://docs.python.org/library/socket.html#socket.socket.send>`__ or
+ `sendall() <http://docs.python.org/library/socket.html#socket.socket.sendall>`__
+ can be used instead). On Solaris, _out_ may be the file descriptor of a
+ regular file or the file descriptor of a socket. On all other platforms,
+ *out* must be the file descriptor of an open socket.
+ *flags* argument is only supported on FreeBSD.
+
+ - ``sendfile.SF_NODISKIO``
+ - ``sendfile.SF_MNOWAIT``
+ - ``sendfile.SF_SYNC``
+
+ Parameters for the _flags_ argument, if the implementation supports it. They
+ are available on FreeBSD platforms. See `FreeBSD's man sendfile(2) <http://www.freebsd.org/cgi/man.cgi?query=sendfile&sektion=2>`__.
+
+ =======================
+ Differences with send()
+ =======================
+
+ - sendfile(2) works with regular (mmap-like) files only (e.g. you can't use it
+ with a `StringIO <http://docs.python.org/library/stringio.html>`__ object).
+ - Also, it must be clear that the file can only be sent "as is" (e.g. you
+ can't modify the content while transmitting).
+ There might be problems with non regular filesystems such as NFS,
+ SMBFS/Samba and CIFS. For this please refer to
+ `proftpd documentation <http://www.proftpd.org/docs/howto/Sendfile.html>`__.
+ - `OSError <http://docs.python.org/library/exceptions.html#exceptions.OSError>`__
+ is raised instead of `socket.error <http://docs.python.org/library/socket.html#socket.error>`__.
+ The accompaining `error codes <http://docs.python.org/library/errno.html>`__
+ have the same meaning though: EAGAIN, EWOULDBLOCK, EBUSY meaning you are
+ supposed to retry, ECONNRESET, ENOTCONN, ESHUTDOWN, ECONNABORTED in case of
+ disconnection. Some examples:
+ `benchmark script <https://github.com/giampaolo/pysendfile/blob/release-2.0.1/test/benchmark.p…>`__,
+ `test suite <https://github.com/giampaolo/pysendfile/blob/release-2.0.1/test/test_sendfi…>`__,
+ `pyftpdlib wrapper <http://code.google.com/p/pyftpdlib/source/browse/tags/release-0.7.0/pyftpdl…>`__.
+
+ ===================
+ Supported platforms
+ ===================
+
+ This module works with Python versions from **2.5** to **3.4**. The supported platforms are:
+
+ - **Linux**
+ - **Mac OSX**
+ - **FreeBSD**
+ - **Dragon Fly BSD**
+ - **Sun OS**
+ - **AIX** (not properly tested)
+
+ =======
+ Support
+ =======
+
+ Feel free to mail me at *g.rodola [AT] gmail [DOT] com* or post on the the
+ mailing list: http://groups.google.com/group/py-sendfile.
+
+ ======
+ Status
+ ======
+
+ As of now the code includes a solid `test suite <https://github.com/giampaolo/pysendfile/blob/master/test/test_sendfile.py>`__ and its ready for production use.
+ It's been included in `pyftpdlib <http://code.google.com/p/pyftpdlib/>`__
+ project and used in production environments for almost a year now without any
+ problem being reported so far.
+
+ =======
+ Authors
+ =======
+
+ pysendfile was originally written by *Ben Woolley* including Linux, FreeBSD and
+ DragonFly BSD support. Later on *Niklas Edmundsson* took over maintenance and
+ added AIX support. After a couple of years of project stagnation
+ `Giampaolo Rodola' <http://grodola.blogspot.com/p/about.html>`__ took over
+ maintenance and rewrote it from scratch adding support for:
+
+ - Python 3
+ - non-blocking sockets
+ - `large file <http://docs.python.org/library/posix.html#large-file-support>`__ support
+ - Mac OSX
+ - Sun OS
+ - FreeBSD flag argument
+ - multiple threads (release GIL)
+ - a simple benchmark suite
+ - unit tests
+ - documentation
+
+Keywords: sendfile,python,performance,ftp
+Platform: UNIX
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Intended Audience :: Developers
+Classifier: Operating System :: POSIX :: Linux
+Classifier: Operating System :: MacOS :: MacOS X
+Classifier: Operating System :: POSIX :: BSD
+Classifier: Operating System :: POSIX :: BSD :: FreeBSD
+Classifier: Operating System :: POSIX :: SunOS/Solaris
+Classifier: Operating System :: POSIX :: AIX
+Classifier: Programming Language :: C
+Classifier: Programming Language :: Python :: 2.5
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.0
+Classifier: Programming Language :: Python :: 3.1
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Topic :: System :: Networking
+Classifier: Topic :: System :: Operating System
+Classifier: Topic :: Internet :: File Transfer Protocol (FTP)
+Classifier: Topic :: Internet :: WWW/HTTP
+Classifier: License :: OSI Approved :: MIT License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/pysendfile.egg-info/SOURCES.txt new/pysendfile-2.0.1/pysendfile.egg-info/SOURCES.txt
--- old/pysendfile-2.0.0/pysendfile.egg-info/SOURCES.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/pysendfile.egg-info/SOURCES.txt 2014-05-27 13:07:23.000000000 +0200
@@ -0,0 +1,14 @@
+.travis.yml
+HISTORY.rst
+LICENSE
+MANIFEST.in
+Makefile
+README.rst
+sendfilemodule.c
+setup.py
+pysendfile.egg-info/PKG-INFO
+pysendfile.egg-info/SOURCES.txt
+pysendfile.egg-info/dependency_links.txt
+pysendfile.egg-info/top_level.txt
+test/benchmark.py
+test/test_sendfile.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/pysendfile.egg-info/dependency_links.txt new/pysendfile-2.0.1/pysendfile.egg-info/dependency_links.txt
--- old/pysendfile-2.0.0/pysendfile.egg-info/dependency_links.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/pysendfile.egg-info/dependency_links.txt 2014-05-27 13:07:23.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/pysendfile.egg-info/top_level.txt new/pysendfile-2.0.1/pysendfile.egg-info/top_level.txt
--- old/pysendfile-2.0.0/pysendfile.egg-info/top_level.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/pysendfile.egg-info/top_level.txt 2014-05-27 13:07:23.000000000 +0200
@@ -0,0 +1 @@
+sendfile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/sendfilemodule.c new/pysendfile-2.0.1/sendfilemodule.c
--- old/pysendfile-2.0.0/sendfilemodule.c 2012-01-12 20:11:35.000000000 +0100
+++ new/pysendfile-2.0.1/sendfilemodule.c 2014-05-27 02:26:49.000000000 +0200
@@ -1,8 +1,4 @@
/*
- * $Id: sendfilemodule.c 101 2012-01-10 23:27:51Z g.rodola(a)gmail.com $
- */
-
-/*
* pysendfile
*
* A Python module interface to sendfile(2)
@@ -14,7 +10,7 @@
* Copyright (C) 2008,2009 Niklas Edmundsson <nikke(a)acc.umu.se>
*
* Rewritten from scratch and maintained by Giampaolo Rodola'
- * Copyright (C) 2009,2012 <g.rodola(a)gmail.com>
+ * Copyright (C) 2009,2014 <g.rodola(a)gmail.com>
*
*
* The MIT License
@@ -392,13 +388,6 @@
#endif
if (module == NULL)
INITERROR;
- struct module_state *st = GETSTATE(module);
-
- st->error = PyErr_NewException("sendfile.Error", NULL, NULL);
- if (st->error == NULL) {
- Py_DECREF(module);
- INITERROR;
- }
#if PY_MAJOR_VERSION >= 3
return module;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/setup.cfg new/pysendfile-2.0.1/setup.cfg
--- old/pysendfile-2.0.0/setup.cfg 1970-01-01 01:00:00.000000000 +0100
+++ new/pysendfile-2.0.1/setup.cfg 2014-05-27 13:07:23.000000000 +0200
@@ -0,0 +1,5 @@
+[egg_info]
+tag_build =
+tag_date = 0
+tag_svn_revision = 0
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/setup.py new/pysendfile-2.0.1/setup.py
--- old/pysendfile-2.0.0/setup.py 2012-01-12 22:28:23.000000000 +0100
+++ new/pysendfile-2.0.1/setup.py 2014-05-27 02:37:19.000000000 +0200
@@ -1,10 +1,9 @@
#!/usr/bin/env python
-# $Id: setup.py 113 2012-01-12 21:28:21Z g.rodola(a)gmail.com $
# ======================================================================
# This software is distributed under the MIT license reproduced below:
#
-# Copyright (C) 2009-2012 Giampaolo Rodola' <g.rodola(a)gmail.com>
+# Copyright (C) 2009-2014 Giampaolo Rodola' <g.rodola(a)gmail.com>
#
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby
@@ -30,6 +29,10 @@
except ImportError:
from distutils.core import setup, Extension
+
+NAME = 'pysendfile'
+VERSION = '2.0.1'
+
if sys.version_info < (2, 5):
sys.exit('python version not supported (< 2.5)')
@@ -38,24 +41,19 @@
else:
libraries = []
-name = 'pysendfile'
-version = '2.0.0'
-download_url = "http://pysendfile.googlecode.com/files/" + name + "-" + \
- version + ".tar.gz"
def main():
- setup(name=name,
- url='http://code.google.com/p/pysendfile/',
- version=version,
+ setup(name=NAME,
+ url='https://github.com/giampaolo/pysendfile',
+ version=VERSION,
description='A Python interface to sendfile(2)',
- long_description=open('README', 'r').read(),
+ long_description=open('README.rst', 'r').read(),
author='Giampaolo Rodola',
author_email='g.rodola(a)gmail.com',
- download_url=download_url,
platforms='UNIX',
license='MIT',
keywords=['sendfile', 'python', 'performance', 'ftp'],
- classifiers = [
+ classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: POSIX :: Linux',
@@ -65,7 +63,6 @@
'Operating System :: POSIX :: SunOS/Solaris',
'Operating System :: POSIX :: AIX',
'Programming Language :: C',
- 'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
@@ -73,15 +70,17 @@
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
+ 'Programming Language :: Python :: 3.3',
+ 'Programming Language :: Python :: 3.4',
'Topic :: System :: Networking',
'Topic :: System :: Operating System',
'Topic :: Internet :: File Transfer Protocol (FTP)',
'Topic :: Internet :: WWW/HTTP',
'License :: OSI Approved :: MIT License',
],
- ext_modules = [Extension('sendfile',
- sources=['sendfilemodule.c'],
- libraries=libraries)],
- )
+ ext_modules=[Extension('sendfile',
+ sources=['sendfilemodule.c'],
+ libraries=libraries)])
-main()
+if __name__ == '__main__':
+ main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/test/benchmark.py new/pysendfile-2.0.1/test/benchmark.py
--- old/pysendfile-2.0.0/test/benchmark.py 2012-01-12 20:09:51.000000000 +0100
+++ new/pysendfile-2.0.1/test/benchmark.py 2014-05-27 02:27:16.000000000 +0200
@@ -1,10 +1,9 @@
#!/usr/bin/env python
-# $Id: benchmark.py 109 2012-01-12 19:09:48Z g.rodola(a)gmail.com $
# ======================================================================
# This software is distributed under the MIT license reproduced below:
#
-# Copyright (C) 2009-2012 Giampaolo Rodola' <g.rodola(a)gmail.com>
+# Copyright (C) 2009-2014 Giampaolo Rodola' <g.rodola(a)gmail.com>
#
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby
@@ -43,34 +42,34 @@
"""
from __future__ import with_statement
-import socket
-import os
-import errno
-import timeit
-import time
import atexit
-import sys
-import optparse
-import threading
+import contextlib
+import errno
import itertools
+import optparse
+import os
import signal
-import contextlib
+import socket
+import sys
+import threading
+import time
+import timeit
from multiprocessing import Process
from sendfile import sendfile
-
-
# overridable defaults
HOST = "127.0.0.1"
PORT = 8022
BIGFILE = "$testfile1"
-BIGFILE_SIZE = 1024 * 1024 * 1024 # 1 GB
+BIGFILE_SIZE = 1024 * 1024 * 1024 # 1 GB
BUFFER_SIZE = 65536
+
# python 3 compatibility layer
def b(s):
- return bytes(s, 'ascii') if sys.version_info >= (3,) else s
+ return bytes(s, 'ascii') if sys.version_info >= (3, ) else s
+
# python 2.5 compatibility
try:
@@ -79,6 +78,7 @@
def next(iterator):
return iterator.next()
+
def print_(s, hilite=False):
if hilite:
bold = '1'
@@ -86,6 +86,7 @@
sys.stdout.write(s + "\n")
sys.stdout.flush()
+
def create_file(filename, size):
with open(filename, 'wb') as f:
bytes = 0
@@ -96,6 +97,7 @@
if bytes >= size:
break
+
def safe_remove(file):
try:
os.remove(file)
@@ -158,7 +160,8 @@
file = open(BIGFILE, 'rb')
def on_exit(signum, fram):
- file.close();
+ file.close()
+
conn.close()
sys.exit(0)
signal.signal(signal.SIGTERM, on_exit)
@@ -213,7 +216,7 @@
print_("starting benchmark...")
# CPU time: use sendfile()
- server = Process(target=start_server, kwargs={"use_sendfile":True})
+ server = Process(target=start_server, kwargs={"use_sendfile": True})
server.start()
time.sleep(0.1)
t1 = timeit.Timer(setup="from __main__ import Client; client = Client()",
@@ -222,7 +225,7 @@
server.join()
# CPU time: use send()
- server = Process(target=start_server, kwargs={"use_sendfile":False})
+ server = Process(target=start_server, kwargs={"use_sendfile": False})
server.start()
time.sleep(0.1)
t2 = timeit.Timer(setup="from __main__ import Client; client = Client()",
@@ -231,8 +234,8 @@
server.join()
# MB/sec: use sendfile()
- server = Process(target=start_server, kwargs={"use_sendfile":True,
- "keep_sending":True})
+ server = Process(target=start_server, kwargs={"use_sendfile": True,
+ "keep_sending": True})
server.start()
time.sleep(0.1)
client = Client()
@@ -241,8 +244,8 @@
server.join()
# MB/sec: use sendfile()
- server = Process(target=start_server, kwargs={"use_sendfile":False,
- "keep_sending":True})
+ server = Process(target=start_server, kwargs={"use_sendfile": False,
+ "keep_sending": True})
server.start()
time.sleep(0.1)
client = Client()
@@ -259,6 +262,7 @@
print_(" cpu: %7.2f usec/pass" % (1000000 * t1 / 100000))
print_(" rate: %7.2f MB/sec" % round(bytes1 / 1024.0 / 1024.0, 2))
+
if __name__ == '__main__':
s = Spinner()
s.start()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysendfile-2.0.0/test/test_sendfile.py new/pysendfile-2.0.1/test/test_sendfile.py
--- old/pysendfile-2.0.0/test/test_sendfile.py 2012-01-12 20:09:51.000000000 +0100
+++ new/pysendfile-2.0.1/test/test_sendfile.py 2014-05-27 12:41:36.000000000 +0200
@@ -1,12 +1,9 @@
#!/usr/bin/env python
-#
-# $Id: test_sendfile.py 109 2012-01-12 19:09:48Z g.rodola(a)gmail.com $
-#
# ======================================================================
# This software is distributed under the MIT license reproduced below:
#
-# Copyright (C) 2009-2012 Giampaolo Rodola' <g.rodola(a)gmail.com>
+# Copyright (C) 2009-2014 Giampaolo Rodola' <g.rodola(a)gmail.com>
#
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby
@@ -35,22 +32,23 @@
from __future__ import with_statement
-import unittest
+import asynchat
+import asyncore
+import atexit
+import errno
+import optparse
import os
-import sys
import socket
-import asyncore
-import asynchat
+import sys
import threading
-import errno
import time
-import atexit
+import unittest
import warnings
-import optparse
import sendfile
-PY3 = sys.version_info >= (3,)
+PY3 = sys.version_info >= (3, )
+
def b(x):
if PY3:
@@ -72,12 +70,14 @@
except Exception:
SUPPORT_HEADER_TRAILER = True
+
def safe_remove(file):
try:
os.remove(file)
except OSError:
pass
+
def has_large_file_support():
# taken from Python's Lib/test/test_largefile.py
with open(TESTFN, 'wb', buffering=0) as f:
@@ -150,7 +150,6 @@
self.handler_instance = None
self._active = False
self._active_lock = threading.Lock()
-
# --- public API
@property
@@ -174,7 +173,6 @@
while not getattr(self.handler_instance, "closed", True):
time.sleep(0.001)
self.stop()
-
# --- internals
def run(self):
@@ -201,7 +199,8 @@
raise
-def sendfile_wrapper(sock, file, offset, nbytes=BUFFER_LEN, header="", trailer=""):
+def sendfile_wrapper(sock, file, offset, nbytes=BUFFER_LEN, header="",
+ trailer=""):
"""A higher level wrapper representing how an application is
supposed to use sendfile().
"""
@@ -289,7 +288,8 @@
def test_header(self):
total_sent = 0
header = b("x") * 512
- sent = sendfile.sendfile(self.sockno, self.fileno, 0, header=header)
+ sent = sendfile.sendfile(self.sockno, self.fileno, 0,
+ header=header)
total_sent += sent
offset = BUFFER_LEN
while 1:
@@ -358,7 +358,6 @@
err = sys.exc_info()[1]
if err.errno not in (errno.EBUSY, errno.EAGAIN):
raise
-
# --- corner cases
def test_offset_overflow(self):
@@ -485,13 +484,15 @@
sys.stdout.flush()
def create_file(self):
- if os.path.isfile(TESTFN3) and os.path.getsize(TESTFN3) >= BIGFILE_SIZE:
+ if (os.path.isfile(TESTFN3) and
+ os.path.getsize(TESTFN3) >= BIGFILE_SIZE):
return
f = open(TESTFN3, 'wb')
chunk_len = 65536
chunk = b('x' * chunk_len)
total = 0
- timer = RepeatedTimer(1, lambda: self.print_percent(total, BIGFILE_SIZE))
+ timer = RepeatedTimer(1, lambda: self.print_percent(total,
+ BIGFILE_SIZE))
timer.start()
try:
while 1:
@@ -538,6 +539,13 @@
self.assertEqual(file_size, data_len)
+def cleanup():
+ safe_remove(TESTFN)
+ safe_remove(TESTFN2)
+
+atexit.register(cleanup)
+
+
def test_main():
parser = optparse.OptionParser()
parser.add_option('-k', '--keepfile', action="store_true", default=False,
@@ -546,22 +554,25 @@
if not options.keepfile:
atexit.register(lambda: safe_remove(TESTFN3))
- def cleanup():
- safe_remove(TESTFN)
- safe_remove(TESTFN2)
-
- atexit.register(cleanup)
-
test_suite = unittest.TestSuite()
test_suite.addTest(unittest.makeSuite(TestSendfile))
if has_large_file_support():
test_suite.addTest(unittest.makeSuite(TestLargeFile))
else:
- atexit.register(warnings.warn, "large files unsupported", RuntimeWarning)
+ atexit.register(warnings.warn, "large files unsupported",
+ RuntimeWarning)
cleanup()
with open(TESTFN, "wb") as f:
f.write(DATA)
- unittest.TextTestRunner(verbosity=2).run(test_suite)
+ result = unittest.TextTestRunner(verbosity=2).run(test_suite)
+ return result.wasSuccessful()
+
if __name__ == '__main__':
- test_main()
+ try:
+ if not test_main():
+ sys.exit(1)
+ except (KeyboardInterrupt, SystemExit):
+ # this will make the threaded server exit immediately
+ asyncore.socket_map.clear()
+ raise
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-paramiko for openSUSE:Factory checked in at 2014-10-05 20:31:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-paramiko (Old)
and /work/SRC/openSUSE:Factory/.python-paramiko.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-paramiko"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-paramiko/python-paramiko.changes 2014-06-04 18:39:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-paramiko.new/python-paramiko.changes 2014-10-05 20:32:11.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Oct 2 16:33:24 UTC 2014 - andrea(a)opensuse.org
+
+- new upsteam version 1.15.1
+ * fixed from previous version: Bug] #399: SSH agent forwarding
+ would hang due to incorrect values passed into the new window
+ size arguments for Transport
+ * detailed changelog available on pramiko website:
+ http://paramiko-www.readthedocs.org/en/latest/changelog.html
+
+-------------------------------------------------------------------
Old:
----
paramiko-1.13.1.tar.gz
New:
----
paramiko-1.15.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-paramiko.spec ++++++
--- /var/tmp/diff_new_pack.T4VL42/_old 2014-10-05 20:32:12.000000000 +0200
+++ /var/tmp/diff_new_pack.T4VL42/_new 2014-10-05 20:32:12.000000000 +0200
@@ -17,7 +17,7 @@
Name: python-paramiko
-Version: 1.13.1
+Version: 1.15.1
Release: 0
Url: https://github.com/paramiko/paramiko/
Summary: SSH2 protocol library
++++++ paramiko-1.13.1.tar.gz -> paramiko-1.15.1.tar.gz ++++++
++++ 10411 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package squidview for openSUSE:Factory checked in at 2014-10-05 20:31:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/squidview (Old)
and /work/SRC/openSUSE:Factory/.squidview.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "squidview"
Changes:
--------
--- /work/SRC/openSUSE:Factory/squidview/squidview.changes 2014-02-15 08:07:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.squidview.new/squidview.changes 2014-10-05 20:32:09.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Oct 2 16:17:35 UTC 2014 - bruno(a)ioda-net.ch
+
+- Added patch ac_new-autoconf.patch for fixing build on factory
+
+-------------------------------------------------------------------
New:
----
ac_new-autoconf.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ squidview.spec ++++++
--- /var/tmp/diff_new_pack.DRsTax/_old 2014-10-05 20:32:10.000000000 +0200
+++ /var/tmp/diff_new_pack.DRsTax/_new 2014-10-05 20:32:10.000000000 +0200
@@ -34,6 +34,7 @@
Group: Productivity/Networking/Web/Proxy
Patch0: COPYING.patch
Patch1: ltinfo-obs.patch
+Patch2: ac_new-autoconf.patch
%description
Squidview is an interactive console program which monitors
@@ -51,7 +52,9 @@
%setup -q -n %{name}-%{version}
%patch0
%patch1
-autoreconf --force
+%patch2
+mv configure.in configure.ac
+autoreconf -fiv
%build
%configure
++++++ ac_new-autoconf.patch ++++++
--- configure.in 2013-10-16 22:17:59.000000000 +0200
+++ configure.in 2014-10-02 17:38:11.990245479 +0200
@@ -13,9 +13,9 @@ if test "x$sv_curses" = xno; then
fi
])
-AC_INIT(squidview.cpp)
+AC_INIT([squidview], [0.80])
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(squidview,0.80)
+AM_INIT_AUTOMAKE
AC_PROG_CXX
AC_PROG_INSTALL
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package parcellite for openSUSE:Factory checked in at 2014-10-05 20:31:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parcellite (Old)
and /work/SRC/openSUSE:Factory/.parcellite.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parcellite"
Changes:
--------
--- /work/SRC/openSUSE:Factory/parcellite/parcellite.changes 2014-08-08 10:13:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.parcellite.new/parcellite.changes 2014-10-05 20:32:08.000000000 +0200
@@ -1,0 +2,19 @@
+Thu Oct 2 14:55:47 UTC 2014 - trcs(a)gmx.com
+
+- new upstream version 1.1.9
+ * Fixed bug 120, position_history broken. We limit x & y with
+ screen limit -100.
+ * Fixed bug 124, Enter does not select entry.
+ * Fixed bug 125, Unsolicited error message about xdotool.
+ * Added feature request 57, change systray icon.
+ * Updated Spanish translation by jcsl.
+ * Updated Chinese translation by wenjie.
+ * Fixed Bug 123, right-click edit broken.
+ * Fixed unsolicited error message on startup (related to bug 125).
+ * Cleaned up many warnings. Note to self: use env CFLAGS=-Wall
+ ./configure –prefix=/usr/local
+ * Initial attempt at fixing bugs 129/137/133 - unable to copy
+ files in file manager & text deselection.
+ * Attempt to clean up ‘malformed email address’ for Lintin.
+
+-------------------------------------------------------------------
@@ -5 +24,2 @@
- * Fixed bug 120, position_history broken. We limit x & y with screen limit -100.
+ * Fixed bug 120, position_history broken. We limit x & y with
+ screen limit -100.
@@ -9 +29,2 @@
- * Fixed bug 130, Edit clipboard and Clear aren't working in Parcellite 1.1.8
+ * Fixed bug 130, Edit clipboard and Clear aren't working in
+ Parcellite 1.1.8
@@ -12 +33,2 @@
- + it makes parcellite-1.1.7-Spanish-translation-update.patch unnecessary ~> removed
+ + it makes parcellite-1.1.7-Spanish-translation-update.patch
+ unnecessary ~> removed
@@ -15 +37,2 @@
- + it makes parcellite-1.1.8-rpmlint-errors.patch unnecessary ~> removed
+ + it makes parcellite-1.1.8-rpmlint-errors.patch unnecessary
+ ~> removed
Old:
----
parcellite-1.1.8-revision-532.tar.xz
New:
----
parcellite-1.1.9.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ parcellite.spec ++++++
--- /var/tmp/diff_new_pack.3p8TuN/_old 2014-10-05 20:32:09.000000000 +0200
+++ /var/tmp/diff_new_pack.3p8TuN/_new 2014-10-05 20:32:09.000000000 +0200
@@ -17,13 +17,13 @@
Name: parcellite
-Version: 1.1.8
+Version: 1.1.9
Release: 0
Summary: A lightweight GTK+ clipboard manager
License: GPL-3.0+
Group: Productivity/Other
Url: http://parcellite.sourceforge.net/
-Source: %{name}-%{version}-revision-532.tar.xz
+Source: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM marguerite(a)opensuse.org -- tweak default settings.
Patch0: parcellite-1.1.7-defaults.patch
BuildRequires: automake
@@ -44,7 +44,7 @@
system tray or notification area if you want to use this package.
%prep
-%setup -qn %{name}-%{version}-revision-532
+%setup -q
%patch0 -p1
%build
++++++ parcellite-1.1.8-revision-532.tar.xz -> parcellite-1.1.9.tar.xz ++++++
++++ 50591 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-tornado for openSUSE:Factory checked in at 2014-10-05 20:31:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tornado (Old)
and /work/SRC/openSUSE:Factory/.python-tornado.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tornado"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado/python-tornado.changes 2014-05-27 18:30:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-tornado.new/python-tornado.changes 2014-10-05 20:32:06.000000000 +0200
@@ -1,0 +2,74 @@
+Thu Oct 2 16:05:54 UTC 2014 - toddrme2178(a)gmail.com
+
+- Remove python-pycares BuildRequires since it is optional and
+ not in openSUSE:Factory
+
+-------------------------------------------------------------------
+Wed Oct 1 15:23:31 UTC 2014 - toddrme2178(a)gmail.com
+
+- Update to version 4.0.2
+ + Bug fixes
+ * Fixed a bug that could sometimes cause a timeout to fire after being
+ cancelled.
+ * `.AsyncTestCase` once again passes along arguments to test methods,
+ making it compatible with extensions such as Nose's test generators.
+ * `.StaticFileHandler` can again compress its responses when gzip is enabled.
+ * ``simple_httpclient`` passes its ``max_buffer_size`` argument to the
+ underlying stream.
+ * Fixed a reference cycle that can lead to increased memory consumption.
+ * `.add_accept_handler` will now limit the number of times it will call
+ `~socket.socket.accept` per `.IOLoop` iteration, addressing a potential
+ starvation issue.
+ * Improved error handling in `.IOStream.connect` (primarily for FreeBSD
+ systems)
+- Update to version 4.0.1
+ + Bug fixes
+ * The build will now fall back to pure-python mode if the C extension
+ fails to build for any reason (previously it would fall back for some
+ errors but not others).
+ * `.IOLoop.call_at` and `.IOLoop.call_later` now always return
+ a timeout handle for use with `.IOLoop.remove_timeout`.
+ * If any callback of a `.PeriodicCallback` or `.IOStream` returns a
+ `.Future`, any error raised in that future will now be logged
+ (similar to the behavior of `.IOLoop.add_callback`).
+ * Fixed an exception in client-side websocket connections when the
+ connection is closed.
+ * ``simple_httpclient`` once again correctly handles 204 status
+ codes with no content-length header.
+ * Fixed a regression in ``simple_httpclient`` that would result in
+ timeouts for certain kinds of errors.
+- Update to version 4.0.0
+ + Highlights
+ * The `tornado.web.stream_request_body` decorator allows large files to be
+ uploaded with limited memory usage.
+ * Coroutines are now faster and are used extensively throughout Tornado itself.
+ More methods now return `Futures <.Future>`, including most `.IOStream`
+ methods and `.RequestHandler.flush`.
+ * Many user-overridden methods are now allowed to return a `.Future`
+ for flow control.
+ * HTTP-related code is now shared between the `tornado.httpserver`,
+ ``tornado.simple_httpclient`` and `tornado.wsgi` modules, making support
+ for features such as chunked and gzip encoding more consistent.
+ `.HTTPServer` now uses new delegate interfaces defined in `tornado.httputil`
+ in addition to its old single-callback interface.
+ * New module `tornado.tcpclient` creates TCP connections with non-blocking
+ DNS, SSL handshaking, and support for IPv6.
+ + See more release details at
+ http://www.tornadoweb.org/en/stable/releases/v4.0.0.html
+- Update to version 3.2.2
+ + Security fixes
+ * The XSRF token is now encoded with a random mask on each request.
+ This makes it safe to include in compressed pages without being
+ vulnerable to the `BREACH attack <http://breachattack.com>`_.
+ This applies to most applications that use both the ``xsrf_cookies``
+ and ``gzip`` options (or have gzip applied by a proxy).
+ + Backwards-compatibility notes
+ * If Tornado 3.2.2 is run at the same time as older versions on the same
+ domain, there is some potential for issues with the differing cookie
+ versions. The `.Application` setting ``xsrf_cookie_version=1`` can
+ be used for a transitional period to generate the older cookie format
+ on newer servers.
+ + Other changes
+ * ``tornado.platform.asyncio`` is now compatible with ``trollius`` version 0.3.
+
+-------------------------------------------------------------------
Old:
----
tornado-3.2.1.tar.gz
New:
----
tornado-4.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tornado.spec ++++++
--- /var/tmp/diff_new_pack.Vl4FTr/_old 2014-10-05 20:32:06.000000000 +0200
+++ /var/tmp/diff_new_pack.Vl4FTr/_new 2014-10-05 20:32:06.000000000 +0200
@@ -16,7 +16,7 @@
#
Name: python-tornado
-Version: 3.2.1
+Version: 4.0.2
Release: 0
Url: http://www.tornadoweb.org
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
@@ -29,10 +29,10 @@
BuildRequires: python-futures
BuildRequires: python-pycurl
BuildRequires: python-simplejson
+BuildRequires: python-Twisted
Requires: python-backports.ssl_match_hostname
Requires: python-simplejson
Recommends: python-futures
-Recommends: python-Monotime
Recommends: python-pycares
Recommends: python-pycurl
Recommends: python-Twisted
++++++ tornado-3.2.1.tar.gz -> tornado-4.0.2.tar.gz ++++++
++++ 16660 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python3-tornado for openSUSE:Factory checked in at 2014-10-05 20:31:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-tornado (Old)
and /work/SRC/openSUSE:Factory/.python3-tornado.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-tornado"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-tornado/python3-tornado.changes 2014-06-01 19:40:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-tornado.new/python3-tornado.changes 2014-10-05 20:32:04.000000000 +0200
@@ -1,0 +2,74 @@
+Thu Oct 2 16:05:54 UTC 2014 - toddrme2178(a)gmail.com
+
+- Remove python-pycares BuildRequires since it is optional and
+ not in openSUSE:Factory
+
+-------------------------------------------------------------------
+Wed Oct 1 15:23:31 UTC 2014 - toddrme2178(a)gmail.com
+
+- Update to version 4.0.2
+ + Bug fixes
+ * Fixed a bug that could sometimes cause a timeout to fire after being
+ cancelled.
+ * `.AsyncTestCase` once again passes along arguments to test methods,
+ making it compatible with extensions such as Nose's test generators.
+ * `.StaticFileHandler` can again compress its responses when gzip is enabled.
+ * ``simple_httpclient`` passes its ``max_buffer_size`` argument to the
+ underlying stream.
+ * Fixed a reference cycle that can lead to increased memory consumption.
+ * `.add_accept_handler` will now limit the number of times it will call
+ `~socket.socket.accept` per `.IOLoop` iteration, addressing a potential
+ starvation issue.
+ * Improved error handling in `.IOStream.connect` (primarily for FreeBSD
+ systems)
+- Update to version 4.0.1
+ + Bug fixes
+ * The build will now fall back to pure-python mode if the C extension
+ fails to build for any reason (previously it would fall back for some
+ errors but not others).
+ * `.IOLoop.call_at` and `.IOLoop.call_later` now always return
+ a timeout handle for use with `.IOLoop.remove_timeout`.
+ * If any callback of a `.PeriodicCallback` or `.IOStream` returns a
+ `.Future`, any error raised in that future will now be logged
+ (similar to the behavior of `.IOLoop.add_callback`).
+ * Fixed an exception in client-side websocket connections when the
+ connection is closed.
+ * ``simple_httpclient`` once again correctly handles 204 status
+ codes with no content-length header.
+ * Fixed a regression in ``simple_httpclient`` that would result in
+ timeouts for certain kinds of errors.
+- Update to version 4.0.0
+ + Highlights
+ * The `tornado.web.stream_request_body` decorator allows large files to be
+ uploaded with limited memory usage.
+ * Coroutines are now faster and are used extensively throughout Tornado itself.
+ More methods now return `Futures <.Future>`, including most `.IOStream`
+ methods and `.RequestHandler.flush`.
+ * Many user-overridden methods are now allowed to return a `.Future`
+ for flow control.
+ * HTTP-related code is now shared between the `tornado.httpserver`,
+ ``tornado.simple_httpclient`` and `tornado.wsgi` modules, making support
+ for features such as chunked and gzip encoding more consistent.
+ `.HTTPServer` now uses new delegate interfaces defined in `tornado.httputil`
+ in addition to its old single-callback interface.
+ * New module `tornado.tcpclient` creates TCP connections with non-blocking
+ DNS, SSL handshaking, and support for IPv6.
+ + See more release details at
+ http://www.tornadoweb.org/en/stable/releases/v4.0.0.html
+- Update to version 3.2.2
+ + Security fixes
+ * The XSRF token is now encoded with a random mask on each request.
+ This makes it safe to include in compressed pages without being
+ vulnerable to the `BREACH attack <http://breachattack.com>`_.
+ This applies to most applications that use both the ``xsrf_cookies``
+ and ``gzip`` options (or have gzip applied by a proxy).
+ + Backwards-compatibility notes
+ * If Tornado 3.2.2 is run at the same time as older versions on the same
+ domain, there is some potential for issues with the differing cookie
+ versions. The `.Application` setting ``xsrf_cookie_version=1`` can
+ be used for a transitional period to generate the older cookie format
+ on newer servers.
+ + Other changes
+ * ``tornado.platform.asyncio`` is now compatible with ``trollius`` version 0.3.
+
+-------------------------------------------------------------------
Old:
----
tornado-3.2.1.tar.gz
New:
----
tornado-4.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-tornado.spec ++++++
--- /var/tmp/diff_new_pack.5PaR51/_old 2014-10-05 20:32:05.000000000 +0200
+++ /var/tmp/diff_new_pack.5PaR51/_new 2014-10-05 20:32:05.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python3-tornado
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python3-tornado
-Version: 3.2.1
+Version: 4.0.2
Release: 0
Url: http://www.tornadoweb.org
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
@@ -25,10 +25,15 @@
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/t/tornado/tornado-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: python3
-BuildRequires: python3-2to3
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
+BuildRequires: python3-pycurl
+BuildRequires: python3-simplejson
+# Not yet available for python 3
+# BuildRequires: python3-Twisted
+Requires: python3-simplejson
+Recommends: python3-pycares
+Recommends: python3-pycurl
+Recommends: python3-Twisted
%if 0%{?suse_version}
BuildRequires: fdupes
%endif
++++++ tornado-3.2.1.tar.gz -> tornado-4.0.2.tar.gz ++++++
++++ 16660 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package xfce4-vala for openSUSE:Factory checked in at 2014-10-05 20:31:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-vala (Old)
and /work/SRC/openSUSE:Factory/.xfce4-vala.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfce4-vala"
Changes:
--------
--- /work/SRC/openSUSE:Factory/xfce4-vala/xfce4-vala.changes 2014-05-19 07:23:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xfce4-vala.new/xfce4-vala.changes 2014-10-05 20:32:03.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Oct 1 13:22:46 UTC 2014 - zaitor(a)opensuse.org
+
+- Add support for vala 0.26 in Factory, replacing vala 0.24.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xfce4-vala.spec ++++++
--- /var/tmp/diff_new_pack.n3x4kC/_old 2014-10-05 20:32:04.000000000 +0200
+++ /var/tmp/diff_new_pack.n3x4kC/_new 2014-10-05 20:32:04.000000000 +0200
@@ -23,7 +23,7 @@
%define vala_version 0.22
%else
%if 0%{?suse_version} > 1310
-%define vala_version 0.24
+%define vala_version 0.26
%endif
%endif
%endif
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package cdemu-daemon for openSUSE:Factory checked in at 2014-10-05 20:31:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cdemu-daemon (Old)
and /work/SRC/openSUSE:Factory/.cdemu-daemon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cdemu-daemon"
Changes:
--------
--- /work/SRC/openSUSE:Factory/cdemu-daemon/cdemu-daemon.changes 2014-09-23 10:43:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cdemu-daemon.new/cdemu-daemon.changes 2014-10-05 20:32:02.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Oct 2 13:49:10 UTC 2014 - jengelh(a)inai.de
+
+- Update to new upstream release 3.0.2
+* properly report last session lead-in address as 0xFFFFFFFF on
+ closed and non-recordable discs. Fixes "Used capacity" in K3B's
+ Medium Information right after writing an image to the virtual
+ disc.
+* fixed a typo that prevented CD-TEXT being recorded on any
+ recording attempt beyond the first one
+
+-------------------------------------------------------------------
Old:
----
cdemu-daemon-3.0.1.tar.bz2
New:
----
cdemu-daemon-3.0.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cdemu-daemon.spec ++++++
--- /var/tmp/diff_new_pack.cfBZDz/_old 2014-10-05 20:32:03.000000000 +0200
+++ /var/tmp/diff_new_pack.cfBZDz/_new 2014-10-05 20:32:03.000000000 +0200
@@ -17,7 +17,7 @@
Name: cdemu-daemon
-Version: 3.0.1
+Version: 3.0.2
Release: 0
Summary: Device daemon for cdemu, a virtual CD-ROM device emulator
License: GPL-2.0+
++++++ cdemu-daemon-3.0.1.tar.bz2 -> cdemu-daemon-3.0.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdemu-daemon-3.0.1/CMakeLists.txt new/cdemu-daemon-3.0.2/CMakeLists.txt
--- old/cdemu-daemon-3.0.1/CMakeLists.txt 2014-07-25 22:15:44.000000000 +0200
+++ new/cdemu-daemon-3.0.2/CMakeLists.txt 2014-09-28 21:19:13.000000000 +0200
@@ -4,7 +4,7 @@
project (cdemu-daemon C)
# Versioning
-set (CDEMU_DAEMON_VERSION 3.0.1)
+set (CDEMU_DAEMON_VERSION 3.0.2)
set (CDEMU_DAEMON_INTERFACE_VERSION_MAJOR 7)
set (CDEMU_DAEMON_INTERFACE_VERSION_MINOR 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdemu-daemon-3.0.1/README new/cdemu-daemon-3.0.2/README
--- old/cdemu-daemon-3.0.1/README 2014-07-25 22:15:44.000000000 +0200
+++ new/cdemu-daemon-3.0.2/README 2014-09-28 21:19:13.000000000 +0200
@@ -1,5 +1,5 @@
CDEmu Daemon
-3.0.1
+3.0.2
~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdemu-daemon-3.0.1/debian/changelog new/cdemu-daemon-3.0.2/debian/changelog
--- old/cdemu-daemon-3.0.1/debian/changelog 2014-07-25 22:15:44.000000000 +0200
+++ new/cdemu-daemon-3.0.2/debian/changelog 2014-09-28 21:19:13.000000000 +0200
@@ -1,4 +1,4 @@
-cdemu-daemon (3.0.0-1) debian; urgency=low
+cdemu-daemon (3.0.2-1) debian; urgency=low
* 01-dbus-config.diff: Patch D-BUS configuration.
* Initial Release. Closes: #705409
-- Henrik Stokseth <henrik(a)hshq.net> Sat, 05 Apr 2014 12:00:00 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdemu-daemon-3.0.1/debian/patches/01-dbus-config.diff new/cdemu-daemon-3.0.2/debian/patches/01-dbus-config.diff
--- old/cdemu-daemon-3.0.1/debian/patches/01-dbus-config.diff 2014-07-25 22:15:44.000000000 +0200
+++ new/cdemu-daemon-3.0.2/debian/patches/01-dbus-config.diff 1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-Description: Allow the CDEmu daemon to be controlled by the cdrom group
-Author: Henrik Stokseth <henrik(a)hshq.net>
-Origin: vendor
-Forwarded: not-needed
-Last-Update: 2011-05-01
-
---- cdemu-daemon-1.4.0.orig/system/cdemu-daemon-dbus.conf
-+++ cdemu-daemon-1.4.0/system/cdemu-daemon-dbus.conf
-@@ -7,7 +7,7 @@
- <policy user="root">
- <allow own="net.sf.cdemu.CDEmuDaemon"/>
- </policy>
-- <policy group="root">
-+ <policy group="cdrom">
- <allow own="net.sf.cdemu.CDEmuDaemon"/>
- </policy>
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdemu-daemon-3.0.1/debian/patches/series new/cdemu-daemon-3.0.2/debian/patches/series
--- old/cdemu-daemon-3.0.1/debian/patches/series 2014-07-25 22:15:44.000000000 +0200
+++ new/cdemu-daemon-3.0.2/debian/patches/series 2014-09-28 21:19:13.000000000 +0200
@@ -1 +0,0 @@
-01-dbus-config.diff
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdemu-daemon-3.0.1/src/device-commands.c new/cdemu-daemon-3.0.2/src/device-commands.c
--- old/cdemu-daemon-3.0.1/src/device-commands.c 2014-07-25 22:15:44.000000000 +0200
+++ new/cdemu-daemon-3.0.2/src/device-commands.c 2014-09-28 21:19:13.000000000 +0200
@@ -1231,16 +1231,20 @@
ret_data->ftrack_lsession1 = first_track_in_last_session & 0xFF;
ret_data->ltrack_lsession1 = last_track_in_last_session & 0xFF;
- guint8 *msf_ptr = (guint8 *)&ret_data->lsession_leadin;
- if (last_session_leadin == -1) {
- last_session_leadin = self->priv->medium_leadin;
+ if (!self->priv->recordable_disc || self->priv->disc_closed) {
+ ret_data->lsession_leadin = 0xFFFFFFFF;
+ } else {
+ guint8 *msf_ptr = (guint8 *)&ret_data->lsession_leadin;
+ if (last_session_leadin == -1) {
+ last_session_leadin = self->priv->medium_leadin;
+ }
+ mirage_helper_lba2msf(last_session_leadin, TRUE, &msf_ptr[1], &msf_ptr[2], &msf_ptr[3]);
}
- mirage_helper_lba2msf(last_session_leadin, TRUE, &msf_ptr[1], &msf_ptr[2], &msf_ptr[3]);
- if (!self->priv->recordable_disc) {
+ if (!self->priv->recordable_disc || self->priv->disc_closed) {
ret_data->last_leadout = 0xFFFFFFFF; /* Not applicable since we're not a writer */
} else {
- msf_ptr = (guint8 *)&ret_data->last_leadout;
+ guint8 *msf_ptr = (guint8 *)&ret_data->last_leadout;
mirage_helper_lba2msf(self->priv->medium_capacity - 2, FALSE, &msf_ptr[1], &msf_ptr[2], &msf_ptr[3]);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdemu-daemon-3.0.1/src/device-load.c new/cdemu-daemon-3.0.2/src/device-load.c
--- old/cdemu-daemon-3.0.1/src/device-load.c 2014-07-25 22:15:44.000000000 +0200
+++ new/cdemu-daemon-3.0.2/src/device-load.c 2014-09-28 21:19:13.000000000 +0200
@@ -293,8 +293,8 @@
if (self->priv->leadin_cdtext_packs) {
g_slist_free_full(self->priv->leadin_cdtext_packs, (GDestroyNotify)g_free);
self->priv->leadin_cdtext_packs = NULL;
- self->priv->leadin_cdtext_packs = 0;
}
+ self->priv->num_leadin_cdtext_packs = 0;
/* Current profile: None */
cdemu_device_set_profile(self, ProfileIndex_NONE);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdemu-daemon-3.0.1/src/device-recording.c new/cdemu-daemon-3.0.2/src/device-recording.c
--- old/cdemu-daemon-3.0.1/src/device-recording.c 2014-07-25 22:15:44.000000000 +0200
+++ new/cdemu-daemon-3.0.2/src/device-recording.c 2014-09-28 21:19:13.000000000 +0200
@@ -117,7 +117,7 @@
/* Free CD-TEXT packs data */
g_slist_free_full(self->priv->leadin_cdtext_packs, (GDestroyNotify)g_free);
self->priv->leadin_cdtext_packs = NULL;
- self->priv->leadin_cdtext_packs = 0;
+ self->priv->num_leadin_cdtext_packs = 0;
}
/* Release the reference we hold */
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package gnucash-docs for openSUSE:Factory checked in at 2014-10-05 20:31:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnucash-docs (Old)
and /work/SRC/openSUSE:Factory/.gnucash-docs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnucash-docs"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gnucash-docs/gnucash-docs.changes 2014-04-05 17:09:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnucash-docs.new/gnucash-docs.changes 2014-10-05 20:31:59.000000000 +0200
@@ -1,0 +2,24 @@
+Tue Sep 30 19:47:45 UTC 2014 - dimstar(a)opensuse.org
+
+- Update to version 2.6.4:
+ + Add sentence about manually editing payment information for
+ customers.
+ + Add warning and tip about account separator character.
+ + Correct field format in python-import-fields.
+ + Currency movements .. remain fully balanced if "Trading
+ Accounts" is enabled; "double entry" was not sufficient.
+ + Improve explanation that Credit does NOT decrease equity
+ accounts.
+ + Improve readability of "Credit does NOT decrease ...".
+ + New chapters in the German translation: Overview, Basics, and
+ Accounts.
+ + Reduced proportional width of description column to increase
+ overall font size for a 510 pixel width image.
+ + Remove a few discrepancies between the german guide overview
+ and other components.
+ + Update of translators in gnucash-guide-de.omf
+ + Updated documentation to explain how to tie dividends received
+ in cash to the appropriate stock holding.
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
gnucash-docs-2.6.3.tar.gz
New:
----
gnucash-docs-2.6.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnucash-docs.spec ++++++
--- /var/tmp/diff_new_pack.09Glis/_old 2014-10-05 20:32:02.000000000 +0200
+++ /var/tmp/diff_new_pack.09Glis/_new 2014-10-05 20:32:02.000000000 +0200
@@ -17,13 +17,13 @@
Name: gnucash-docs
-Version: 2.6.3
+Version: 2.6.4
Release: 0
Summary: Documentation Module for GnuCash
License: GFDL-1.1 and GPL-2.0+
Group: Productivity/Office/Finance
Url: http://www.gnucash.org/
-Source: http://downloads.sourceforge.net/project/gnucash/gnucash-docs/2.6.3/%{name}…
+Source: http://downloads.sourceforge.net/project/gnucash/gnucash-docs/2.6.4/%{name}…
BuildRequires: fdupes
# Only for directory ownership:
BuildRequires: libgnome
++++++ gnucash-docs-2.6.3.tar.gz -> gnucash-docs-2.6.4.tar.gz ++++++
/work/SRC/openSUSE:Factory/gnucash-docs/gnucash-docs-2.6.3.tar.gz /work/SRC/openSUSE:Factory/.gnucash-docs.new/gnucash-docs-2.6.4.tar.gz differ: char 5, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package vhba-kmp for openSUSE:Factory checked in at 2014-10-05 20:31:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vhba-kmp (Old)
and /work/SRC/openSUSE:Factory/.vhba-kmp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vhba-kmp"
Changes:
--------
--- /work/SRC/openSUSE:Factory/vhba-kmp/vhba-kmp.changes 2014-07-17 06:58:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.vhba-kmp.new/vhba-kmp.changes 2014-10-05 20:31:54.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Oct 2 14:14:22 UTC 2014 - jengelh(a)inai.de
+
+- Update to new upstream release 20140928 (cdemu-3.0.2)
+* Work around a warning occurring in grsecurity kernels
+
+-------------------------------------------------------------------
Old:
----
vhba-module-20140629.tar.bz2
New:
----
vhba-module-20140928.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vhba-kmp.spec ++++++
--- /var/tmp/diff_new_pack.sVH89w/_old 2014-10-05 20:31:55.000000000 +0200
+++ /var/tmp/diff_new_pack.sVH89w/_new 2014-10-05 20:31:55.000000000 +0200
@@ -17,7 +17,7 @@
Name: vhba-kmp
-Version: 20140629
+Version: 20140928
Release: 0
Summary: Virtual SCSI Host Bus Adapter
License: GPL-2.0+
++++++ vhba-module-20140629.tar.bz2 -> vhba-module-20140928.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vhba-module-20140629/Makefile new/vhba-module-20140928/Makefile
--- old/vhba-module-20140629/Makefile 2014-06-29 15:25:04.000000000 +0200
+++ new/vhba-module-20140928/Makefile 2014-09-28 21:19:13.000000000 +0200
@@ -1,7 +1,4 @@
-VHBA_VERSION := 20140609
-PACKAGE := vhba-module-$(VHBA_VERSION)
-DOCS := AUTHORS ChangeLog COPYING INSTALL NEWS README
-DIST := vhba.c Makefile
+VHBA_VERSION := 20140928
KERNELRELEASE ?= $(shell uname -r)
KDIR ?= /lib/modules/$(KERNELRELEASE)/build
@@ -9,38 +6,9 @@
obj-m := vhba.o
ccflags-y := -DVHBA_VERSION=\"$(VHBA_VERSION)\" -Werror
-clean-dirs := $(PACKAGE)
-clean-files := $(PACKAGE).tar.gz $(PACKAGE).tar.bz2
-
-export VHBA_VERSION
-
-.PHONY: default install dist modules modules_install clean dist-dir dist-gzip dist-bzip2
default: modules
install: modules_install
-dist: dist-xz
modules modules_install clean:
$(MAKE) -C $(KDIR) M=$(PWD) $@
-
-dist-dir:
- rm -rf $(PACKAGE)
- install -m 755 -d $(PACKAGE)
- install -m 644 -t $(PACKAGE) $(DIST) $(DOCS)
- install -m 755 -d $(PACKAGE)/debian $(PACKAGE)/debian/patches $(PACKAGE)/debian/source
- install -m 644 -t $(PACKAGE)/debian $(shell find debian -type f)
- install -m 644 -t $(PACKAGE)/debian/patches $(shell find debian/patches -type f)
- install -m 644 -t $(PACKAGE)/debian/source $(shell find debian/source -type f)
-
-dist-gzip: dist-dir
- tar -c $(PACKAGE) | gzip > $(PACKAGE).tar.gz
- rm -rf $(PACKAGE)
-
-dist-bzip2: dist-dir
- tar -c $(PACKAGE) | bzip2 > $(PACKAGE).tar.bz2
- rm -rf $(PACKAGE)
-
-dist-xz: dist-dir
- tar -c $(PACKAGE) | xz > $(PACKAGE).tar.xz
- rm -rf $(PACKAGE)
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vhba-module-20140629/debian/changelog new/vhba-module-20140928/debian/changelog
--- old/vhba-module-20140629/debian/changelog 2014-06-29 15:25:04.000000000 +0200
+++ new/vhba-module-20140928/debian/changelog 2014-09-28 21:19:13.000000000 +0200
@@ -1,3 +1,3 @@
-vhba-module (20140609-1) debian; urgency=low
+vhba-module (20140928-1) debian; urgency=low
* Initial Release. Closes: #705409
-- Henrik Stokseth <henrik(a)hshq.net> Sat, 05 Apr 2014 12:00:00 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vhba-module-20140629/vhba.c new/vhba-module-20140928/vhba.c
--- old/vhba-module-20140629/vhba.c 2014-06-29 15:25:04.000000000 +0200
+++ new/vhba-module-20140928/vhba.c 2014-09-28 21:19:13.000000000 +0200
@@ -583,14 +583,19 @@
cmd->serial_number, res->status, res->data_len, scsi_sg_count(cmd));
if (res->status) {
+ unsigned char sense_stack[SCSI_SENSE_BUFFERSIZE];
+
if (res->data_len > SCSI_SENSE_BUFFERSIZE) {
scmd_warn(cmd, "truncate sense (%d < %d)", SCSI_SENSE_BUFFERSIZE, res->data_len);
res->data_len = SCSI_SENSE_BUFFERSIZE;
}
- if (copy_from_user(cmd->sense_buffer, buf, res->data_len)) {
+ /* Copy via temporary buffer on stack in order to avoid problems
+ with PAX on grsecurity-enabled kernels */
+ if (copy_from_user(sense_stack, buf, res->data_len)) {
return -EFAULT;
}
+ memcpy(cmd->sense_buffer, sense_stack, res->data_len);
cmd->result = res->status;
++++++ vhba-no-werror.diff ++++++
--- /var/tmp/diff_new_pack.sVH89w/_old 2014-10-05 20:31:56.000000000 +0200
+++ /var/tmp/diff_new_pack.sVH89w/_new 2014-10-05 20:31:56.000000000 +0200
@@ -6,16 +6,16 @@
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-Index: vhba-module-20140629/Makefile
+Index: vhba-module-20140928/Makefile
===================================================================
---- vhba-module-20140629.orig/Makefile
-+++ vhba-module-20140629/Makefile
-@@ -8,7 +8,7 @@ KDIR ?= /lib/modules/$(KERNELRELEASE)/bu
+--- vhba-module-20140928.orig/Makefile
++++ vhba-module-20140928/Makefile
+@@ -5,7 +5,7 @@ KDIR ?= /lib/modules/$(KERNELRELEASE)/bu
PWD ?= $(shell pwd)
obj-m := vhba.o
-ccflags-y := -DVHBA_VERSION=\"$(VHBA_VERSION)\" -Werror
+ccflags-y := -DVHBA_VERSION=\"$(VHBA_VERSION)\"
- clean-dirs := $(PACKAGE)
- clean-files := $(PACKAGE).tar.gz $(PACKAGE).tar.bz2
+ default: modules
+ install: modules_install
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0