debian/0000755000000000000000000000000012257605272007176 5ustar debian/rules0000755000000000000000000000003612257605272010255 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000207112257605272010601 0ustar Source: libdata-swap-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: gregor herrmann Build-Depends: debhelper (>= 9.20120312), perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdata-swap-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libdata-swap-perl.git Homepage: https://metacpan.org/release/Data-Swap Package: libdata-swap-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Description: Perl module to swap type and contents of variables The Data::Swap module allows you to swap the contents of two referenced variables, even if they have different types. . The main application is to change the base type of an object after it has been created, for example for dynamic loading of data structures: . swap $self, bless $replacement, $newclass; . This module additionally contain the function "deref" which acts like a generic list-dereferencing operator. debian/source/0000755000000000000000000000000012257605272010476 5ustar debian/source/format0000644000000000000000000000001412257605272011704 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000054512257605272011054 0ustar libdata-swap-perl (0.07-2) unstable; urgency=medium * Add patch to fix build failures with -Werror=format-security. -- gregor herrmann Sat, 28 Dec 2013 18:30:10 +0100 libdata-swap-perl (0.07-1) unstable; urgency=low * Initial release (closes: #733265). -- gregor herrmann Fri, 27 Dec 2013 22:58:47 +0100 debian/compat0000644000000000000000000000000212257605272010374 0ustar 9 debian/patches/0000755000000000000000000000000012257605272010625 5ustar debian/patches/series0000644000000000000000000000003412257605272012037 0ustar werror-forat-security.patch debian/patches/werror-forat-security.patch0000644000000000000000000000113712257605272016146 0ustar Description: add formatting string to fix failures with -Werror=format-security Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=91708 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=91708 Author: gregor herrmann Last-Update: 2013-12-28 --- a/Swap.xs +++ b/Swap.xs @@ -219,7 +219,7 @@ Perl_croak(aTHX_ "Not a reference"); if ((SvREADONLY(r1) && SvIMMORTAL(r1)) || (SvREADONLY(r2) && SvIMMORTAL(r2))) - Perl_croak(aTHX_ PL_no_modify); + Perl_croak(aTHX_ "%s", PL_no_modify); br = NULL; br = sv_move(aTHX_ &t, r1, br); br = sv_move(aTHX_ r1, r2, br); debian/copyright0000644000000000000000000000247212257605272011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://metacpan.org/release/Data-Swap Upstream-Contact: Matthijs van Duin Upstream-Name: Data-Swap Files: * Copyright: 2003-2008, Matthijs van Duin License: Artistic or GPL-1+ Files: t/lib/Test/Builder.pm Copyright: 2002, chromatic 2002, Michael G Schwern License: Artistic or GPL-1+ Files: t/lib/Test/Simple.pm t/lib/Test/More.pm Copyright: 2001, Michael G Schwern License: Artistic or GPL-1+ Files: debian/* Copyright: 2013, gregor herrmann 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: 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'. debian/watch0000644000000000000000000000015712257605272010232 0ustar version=3 https://metacpan.org/release/Data-Swap .*/Data-Swap-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$