debian/0000755000000000000000000000000012226540627007174 5ustar debian/changelog0000644000000000000000000000722712226540627011056 0ustar libio-aio-perl (4.18-1) unstable; urgency=low * Team upload [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Alessandro Ghedini ] * New upstream release * Remove myself from Uploaders * Bump upstream copyright years * Bump Standards-Version to 3.9.4 (no changes needed) -- Alessandro Ghedini Sun, 13 Oct 2013 17:51:43 +0200 libio-aio-perl (4.15-1) unstable; urgency=low * New upstream release * Email change: Alessandro Ghedini -> ghedo@debian.org * Update copyright and license for libeio/* files * Update debian/copyright format as in Debian Policy 3.9.3 * Bump Standards-Version to 3.9.3 * Bump debhelper compat level to 9 -- Alessandro Ghedini Tue, 10 Apr 2012 23:19:58 +0200 libio-aio-perl (4.12-1) unstable; urgency=low * Team upload. * New upstream release. -- gregor herrmann Sat, 31 Dec 2011 01:06:39 +0100 libio-aio-perl (4.11-2) unstable; urgency=low * Fix FTBS on platforms not having O_CLOEXEC (Closes: #645543) -- Alessandro Ghedini Thu, 20 Oct 2011 21:44:42 +0200 libio-aio-perl (4.11-1) unstable; urgency=low * Team upload. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ gregor herrmann ] * New upstream release. * Remove patch, not needed anymore. -- gregor herrmann Sat, 15 Oct 2011 22:34:35 +0200 libio-aio-perl (4.00-1) unstable; urgency=low * New upstream release * Refreshed ad forwarded patch -- Nicholas Bamber Sun, 24 Jul 2011 12:05:42 +0100 libio-aio-perl (3.93-1) unstable; urgency=low [ Nicholas Bamber ] * New upstream release [ gregor herrmann ] * Refresh patch (offset). * debian/copyright: add information about new file. -- Nicholas Bamber Mon, 04 Jul 2011 20:50:42 +0100 libio-aio-perl (3.90-1) unstable; urgency=low [ Alessandro Ghedini ] * New upstream release * Refresh patch * Add myself to Uploader * Bump debhelper compat level to 8 * Bump Standards-Version to 3.9.2 (no changes needed) [ Nicholas Bamber ] * Removed unsupported build options * Added 'allows to' -> 'allows one to' to spelling patch -- Nicholas Bamber Sat, 11 Jun 2011 10:36:44 +0100 libio-aio-perl (3.80-1) unstable; urgency=low * Updated watch file * New upstream release * Updated copyright * Refreshed patch -- Nicholas Bamber Wed, 30 Mar 2011 10:29:02 +0100 libio-aio-perl (3.71-1) unstable; urgency=low * Taking over for the Debian Perl Group * Updating debian/watch * New upstream release * Upped standards version to 3.9.1 * Upped compat level to 7 * Added debian/source/format * Stopped installing README * Updated descriptions * Refreshed debian/rules * Added debian/clean * Refreshed debian/copyright * Added homepage and svn repositories * Added patch for spelling mistakes * Installing 'treescan' as an example Note: In tests treescan performed much worse than equivalent find commands. The only basis for documentation that could be found would have had copyright issues. And treescan was not installed in previous versions. -- Nicholas Bamber Sat, 22 Jan 2011 17:11:12 +0000 libio-aio-perl (2.4-1) unstable; urgency=low * Initial release (Closes: #429316) -- Pascal Hakim Wed, 22 Aug 2007 22:13:35 +1000 debian/libio-aio-perl.docs0000644000000000000000000000003212226540627012645 0ustar debian/Maintainership.txt debian/watch0000644000000000000000000000022312226540627010222 0ustar version=3 opts="uversionmangle=s/(\.\d)$/${1}0/" \ https://metacpan.org/release/IO-AIO/ .*/IO-AIO-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/copyright0000644000000000000000000000565312226540627011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: IO-AIO Upstream-Contact: Mark Lehmann Source: https://metacpan.org/release/IO-AIO/ Files: * Copyright: 2005-2011, Mark Lehmann License: Artistic or GPL-1+ Files: libeio/eio.* Copyright: 2007-2012, Mark Lehmann License: BSD-2-Clause or GPL-2+ Files: libeio/ecb.h Copyright: 2009-2012, Marc Alexander Lehmann 2011, Emanuele Giaquinta License: BSD-2-Clause Files: debian/* Copyright: 2007, Pascal Hakim 2011, Nicholas Bamber License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: BSD-2-Clause Redistribution and use in source and binary forms, with or without modifica- tion, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER- CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPE- CIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH- ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/libio-aio-perl.examples0000644000000000000000000000001612226540627013535 0ustar bin/treescan debian/clean0000644000000000000000000000005112226540627010175 0ustar config.log config.status libeio/config.h debian/README.Debian0000644000000000000000000000045112226540627011235 0ustar The 'treescan' script found in the examples directory of this package is a simple version of find, providing the ability to print the names of all files in a directory. You can find more information about the ideas behind the script at: http://tantalophile.shareable.org/treescan/ANNOUNCE debian/compat0000644000000000000000000000000212226540627010372 0ustar 9 debian/rules0000755000000000000000000000051012226540627010250 0ustar #!/usr/bin/make -f PKG := $(shell dh_listpackages) TMP := $(CURDIR)/debian/$(PKG) %: dh $@ --buildsystem=perl_makemaker override_dh_install: dh_install rm -rf $(TMP)/usr/bin override_dh_installexamples: dh_installexamples sed -i -e 's|^#!/opt/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PKG)/examples/treescan debian/patches/0000755000000000000000000000000012226540627010623 5ustar debian/patches/workaround-missing-O_CLOEXEC.patch0000644000000000000000000000062512226540627017047 0ustar Description: Fix FTBS on platforms not having O_CLOEXEC. Origin: vendor Bug: http://bugs.debian.org/645543 Author: Alessandro Ghedini Last-Update: 2011-10-20 --- a/libeio/eio.c +++ b/libeio/eio.c @@ -73,6 +73,10 @@ # define ELOOP EDOM #endif +#ifndef O_CLOEXEC +# define O_CLOEXEC 0 +#endif + #if !defined(ENOTSOCK) && defined(WSAENOTSOCK) # define ENOTSOCK WSAENOTSOCK #endif debian/patches/series0000644000000000000000000000004312226540627012035 0ustar workaround-missing-O_CLOEXEC.patch debian/Maintainership.txt0000644000000000000000000000161012226540627012706 0ustar The email below documents Pascal Hakim's agreement to transfer the package to the Debian Perl Group. From: Nicholas Bamber To: Pascal Hakim Subject: Re: libio-aio-perl Pascal, Thanks. The smoothest thing would be if you could raise an RFA request on wnpp, which I would pick up immediately. But I'll use this email if that fails for any reason. Nicholas On 18/01/11 23:22, Pascal Hakim wrote: > Hi, > > That'd be great! > > I no longer use the project that required it, so I'd be glad for > someone to take it over. > > Cheers, > > Pasc > > On Tue, Jan 18, 2011 at 03:25:20PM +0000, Nicholas Bamber wrote: > >> Pascal, >> I notice that the libio-aio-perl is quite out of date in Debian. I >> would be very happy to take it into the Debian Perl groups portfolio and >> update it if that would be okay with you. >> >> Nicholas >> > debian/control0000644000000000000000000000510712226540627010602 0ustar Source: libio-aio-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Nicholas Bamber Build-Depends: debhelper (>= 9.20120312), libcommon-sense-perl Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libio-aio-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libio-aio-perl.git Homepage: https://metacpan.org/release/IO-AIO/ Package: libio-aio-perl Architecture: any Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, libcommon-sense-perl Description: asynchronous IO module for Perl IO::AIO module implements asynchronous I/O using whatever means your operating system supports. It is implemented as an interface to the libeio library: http://software.schmorp.de/pkg/libeio.html. . Asynchronous means that operations that can normally block your program (e.g. reading from disk) will be done asynchronously: the operation will still block, but you can do something else in the meantime. This is extremely useful for programs that need to stay interactive even when doing heavy I/O (GUI programs, high performance network servers etc.), but can also be used to easily do operations in parallel that are normally done sequentially, e.g. stat'ing many files, which is much faster on a RAID volume or over NFS when you do a number of stat operations concurrently. . While most of this works on all types of file descriptors (for example sockets), using these functions on file descriptors that support nonblocking operation (again, sockets, pipes etc.) is very inefficient. Use an event loop for that (such as the L module): IO::AIO will naturally fit into such an event loop itself. . In this version, a number of threads are started that execute your requests and signal their completion. You don't need thread support in perl, and the threads created by this module will not be visible to perl. In the future, this module might make use of the native aio functions available on many operating systems. However, they are often not well-supported or restricted (GNU/Linux doesn't allow them on normal files currently, for example), and they would only support aio_read and aio_write, so the remaining functionality would have to be implemented using threads anyway. . Although the module will work in the presence of other (Perl-) threads, it is currently not reentrant in any way, so use appropriate locking yourself, always call poll_cb from within the same thread, or never call poll_cb (or other aio_ functions) recursively. debian/source/0000755000000000000000000000000012226540627010474 5ustar debian/source/format0000644000000000000000000000001412226540627011702 0ustar 3.0 (quilt)