commit 62a5363169f642e265d95d14384213941f795bf4 Author: Adrian Schröter Date: Wed Jun 7 08:19:59 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 perl-HTTP-DAV revision ca9fe31447be37133ecb01eeaddffe08 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/HTTP-DAV-0.49.tar.gz b/HTTP-DAV-0.49.tar.gz new file mode 100644 index 0000000..8282ac8 --- /dev/null +++ b/HTTP-DAV-0.49.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33339df9ec106de37d8609cfd0d3c083ccfbb06c16c651b5b3851a56d17a957c +size 107841 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..a7d476b --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +description_paragraphs: 1 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +license: Artistic-1.0 or GPL-1.0+ +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-HTTP-DAV.changes b/perl-HTTP-DAV.changes new file mode 100644 index 0000000..08109f8 --- /dev/null +++ b/perl-HTTP-DAV.changes @@ -0,0 +1,205 @@ +------------------------------------------------------------------- +Thu Dec 6 15:44:54 UTC 2018 - Stephan Kulow + +- updated to 0.49 + see /usr/share/doc/packages/perl-HTTP-DAV/Changes + + v0.49 (released 2018/11/28): + * bug fixes + + Fixed perl shebang line in "dave" script, for ExtUtils::MakeMaker to + correctly replace it. Closes "RT#127819". + + Fixed "propfind" response handling to also consider successful an + HTTP 207 status code. Closes "RT#127591". + + Fixed "clone()" method to properly respect the class name. Closes + "RT#123528". Thanks to Ricardo Signes for the patch. + + * documentation fixes + + Fixed various pod issues raised by Debian contributor + "fsfs@debian.org". Closes "RT#119878". + +------------------------------------------------------------------- +Tue Apr 14 20:55:47 UTC 2015 - coolo@suse.com + +- updated to 0.48 + see /usr/share/doc/packages/perl-HTTP-DAV/Changes + + v0.48 (released 2015/03/26): + * bug fixes + + "RT#103126", fixed faulty code to add trailing slash to URLs. + + v0.47 (released 2012/03/24): + * bug fixes + + Improve "propfind()" resilience when server response contains + broken, truncated or no XML at all. RT#75011. + +------------------------------------------------------------------- +Wed Jun 5 07:24:55 UTC 2013 - coolo@suse.com + +- updated to 0.47 + Improve C resilience when server response contains + broken, truncated or no XML at all. RT#75011. + +------------------------------------------------------------------- +Fri Jan 13 12:28:05 UTC 2012 - vcizek@suse.com + +- update to 0.46 + * improvements + HTTP::DAV should now be working with more WebDAV servers. + We are more flexible in what content types we consider to be XML. + Thanks Ron1 and Adam for the feedback and patches. + +------------------------------------------------------------------- +Mon Sep 19 01:33:50 UTC 2011 - vcizek@suse.com + +- update to 0.45 + - Mostly cosmetic changes (no changelog from the upstream) + +------------------------------------------------------------------- +Wed Jun 22 07:50:06 UTC 2011 - vcizek@novell.com + +- update to 0.44 + * bug fixes + - Fixed RT #68936 (http://rt.cpan.org/Public/Bug/Display.html?id=68936), + Fixed errors() method that would bomb out when the "_errors" attribute + wasn't initialized. Thanks to Michael Lackoff for reporting. + +------------------------------------------------------------------- +Fri Apr 15 11:41:27 UTC 2011 - vcizek@novell.com + +- update to 0.43 + - Fixed RT #38677 (http://rt.cpan.org/Public/Bug/Display.html?id=38677), + Intercept correctly 405 (Method now allowed) errors and report them + to the clients. + +------------------------------------------------------------------- +Wed Dec 1 13:32:55 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Nov 22 12:52:15 CET 2010 - anicka@suse.cz + +- update to 0.42 + * Fixed RT #60457 (http://rt.cpan.org/Public/Bug/Display.html?id=60457), + Added and documented possibility to pass your own custom HTTP headers. + * Fixed errors in the code examples in the synopsis. + +------------------------------------------------------------------- +Tue Jul 27 09:15:34 UTC 2010 - chris@computersalat.de + +- update to 0.41 +- Fixed RT #59674 (http://rt.cpan.org/Public/Bug/Display.html?id=59674), + When SSL support is needed but not installed, a more specific + error messages is now displayed, instead of "not DAV enabled + or not accessible". +- recreated by cpanspec 1.78 + o fix deps +- noarch pkg + +------------------------------------------------------------------- +Tue Feb 23 16:23:31 CET 2010 - anicka@suse.cz + +- update to 0.40 + * HTTP::DAV::Comms->credentials() method erroneously autovivified + basic authentication internal values, causing wrong or undefined + credentials to be sent out, or credentials to be "forgot" by HTTP::DAV. + +------------------------------------------------------------------- +Wed Jan 13 16:37:07 CET 2010 - anicka@suse.cz + +- update to 0.39 +* Fixed RT #52665 (http://rt.cpan.org/Public/Bug/Display.html?id=52665), + Using dave or propfind() on URLs containing escaped chars (%xx) could fail, + due to upper/lower case differences. Thanks to cebjyre for the patch + and the test case. + +------------------------------------------------------------------- +Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de + +- enable parallel build + +------------------------------------------------------------------- +Mon Aug 3 16:05:51 CEST 2009 - anicka@suse.cz + +- update to 0.38 + * Fixed RT #14506 (http://rt.cpan.org/Public/Bug/Display.html?id=14506), + about the missing get_lastresponse() method. It was a documentation bug. + + * Fixed RT #29788 (http://rt.cpan.org/Public/Bug/Display.html?id=29788), + avoid file corruptions on Win32 when calling HTTP::DAV::get() method. + + * Fixed RT #31014 (http://rt.cpan.org/Public/Bug/Display.html?id=31014), + probably already in v0.34, since it seems related to propfind() "depth" bug. + + +------------------------------------------------------------------- +Tue Mar 24 14:57:31 CET 2009 - anicka@suse.cz + +- update to 0.37 + * Fixed RT #44409 Small bug in HTTP::DAV::put(). Passing a reference + as local content resulted in the "SCALAR(0x12345678)" being logged + instead of the real scalar. + +------------------------------------------------------------------- +Fri Feb 27 11:34:13 CET 2009 - anicka@suse.cz + +- update to 0.36 + * Fixed RT #19616 (http://rt.cpan.org/Public/Bug/Display.html?id=19616), + LWP::UserAgent::redirect_ok() is not changed anymore. We're subclassing + it from HTTP::DAV::UserAgent and overriding redirect_ok() there. + * Fixed RT #42877 (http://rt.cpan.org/Public/Bug/Display.html?id=42877), + HTTP::DAV::UserAgent::credentials() has been modified to behave like + LWP::UserAgent::credentials(), otherwise basic authentication breakages + can occur. + * Fixed a problem with C<-depth> argument to C that + could lead to massive performance degradation, especially when running + C against large folders. + C<-depth> was set to 1 even when passed as zero. +- fix permissions, ends of lines and perl dependency + +------------------------------------------------------------------- +Tue Jan 20 15:53:14 CET 2009 - anicka@suse.cz + +- update to 0.35 + * Fixed getting single or multiple files directly to \*STDOUT. + +------------------------------------------------------------------- +Thu Sep 11 18:30:41 CEST 2008 - anicka@suse.cz + +- update to 0.34 + * fixed downloading multiple files in the same directory. + +------------------------------------------------------------------- +Wed Sep 10 17:48:56 CEST 2008 - anicka@suse.cz + +- update to 0.33 + * Clearly state that Opera Software ASA is now co-maintainer of + HTTP::DAV + * Fixed various inconsistencies in the v0.32 documentation + * Now HTTP::DAV requires Perl 5.6.0+ and Scalar::Util + (core in 5.8.x). + * Now HTTP::DAV objects are correctly released from memory when + they go out of scope. Now it should be possible to use multiple + instances of HTTP::DAV even in long-running processes. + +------------------------------------------------------------------- +Wed Jan 25 21:39:45 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Sep 28 22:10:10 CEST 2005 - dmueller@suse.de + + - add norootforbuild + +------------------------------------------------------------------- +Wed Jan 28 14:47:50 CET 2004 - ro@suse.de + +- created package (version 0.31) + diff --git a/perl-HTTP-DAV.spec b/perl-HTTP-DAV.spec new file mode 100644 index 0000000..504fc31 --- /dev/null +++ b/perl-HTTP-DAV.spec @@ -0,0 +1,68 @@ +# +# spec file for package perl-HTTP-DAV +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: perl-HTTP-DAV +Version: 0.49 +Release: 0 +#Upstream: Patrick Collins G03 Gloucester Place, Kensington Sydney, Australia Email: pcollins@cpan.org Phone: +61 2 9663 4916 All rights reserved. Current co-maintainer of the module is Cosimo Streppone for Opera Software ASA, the opera@cpan.org manpage. You may distribute this module under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. +%define cpan_name HTTP-DAV +Summary: WebDAV client library for Perl5 +License: Artistic-1.0 OR GPL-1.0-or-later +Group: Development/Libraries/Perl +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/C/CO/COSIMO/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(LWP) >= 5.48 +BuildRequires: perl(URI) +BuildRequires: perl(URI::Escape) +BuildRequires: perl(XML::DOM) +Requires: perl(LWP) >= 5.48 +Requires: perl(URI) +Requires: perl(URI::Escape) +Requires: perl(XML::DOM) +%{perl_requires} + +%description +HTTP::DAV is a Perl API for interacting with and modifying content on +webservers using the WebDAV protocol. Now you can LOCK, DELETE and PUT +files and much more on a DAV-enabled webserver. + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes doc README TODO + +%changelog