Sophie

Sophie

distrib > Mandriva > mes5 > i586 > by-pkgid > 46399549a45161865114fc573a8ae908 > files > 2

perl-HTTP-DAV-0.31-5mdv2009.0.src.rpm

--- libhttp-dav-perl-0.31.orig/DAV/Utils.pm
+++ libhttp-dav-perl-0.31/DAV/Utils.pm
@@ -141,7 +141,7 @@
    my $length = $nodelist->getLength();
    for ( my $i=0; $i < $length; $i++ ) {
       my $node = $nodelist->item($i);
-      if ( $node->getNodeName() =~ /:$elemname$/ ) {
+      if ( $node->getNodeName() =~ /(?:^|:)$elemname$/ ) {
          push(@return_nodes,$node);
       }
    }
--- libhttp-dav-perl-0.31.orig/DAV.pm
+++ libhttp-dav-perl-0.31/DAV.pm
@@ -1574,7 +1574,7 @@
 
 Put a local file to the server:
 
-  $d->put(-local=>"/tmp/index.html,-url=>"http://www.host.org/dav_dir/");
+  $d->put(-local=>"/tmp/index.html",-url=>"http://www.host.org/dav_dir/");
 
 Put a series of local files to the server:
 
--- libhttp-dav-perl-0.31.orig/debian/changelog
+++ libhttp-dav-perl-0.31/debian/changelog
@@ -0,0 +1,27 @@
+libhttp-dav-perl (0.31-3) unstable; urgency=low
+
+  * Make Build-depends-indep on debhelper into an ordinary build-depends, as
+    we use them in non-indep targets.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Thu, 15 Jun 2006 21:45:04 +0200
+
+libhttp-dav-perl (0.31-2) unstable; urgency=low
+
+  * New maintainer. (Closes: #279792)
+  * Upgraded Standards-Version to 3.6.1 (no changes needed).
+  * Minor correction in short package description.
+  * Minor reformatting in the long package description.
+  * Added a missing quote in the man page. (Closes: #218001)
+  * HTTP::DAV::Utils::get_elements_by_tag_name() now handles <propstat> as
+    well as <D:propstat> (where D: is any namespace). (Closes: #227064)
+  * Now uses debhelper v4 (and uses debian/compat instead of DH_COMPAT).
+    Build-Depends updated correspondingly.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Sat, 13 Nov 2004 23:29:30 +0100
+
+libhttp-dav-perl (0.31-1) unstable; urgency=low
+
+  * New package,
+  Closes: #78442
+
+ -- Stephen Zander <gibreel@debian.org>  Fri, 26 Apr 2002 14:35:07 -0700
--- libhttp-dav-perl-0.31.orig/debian/control
+++ libhttp-dav-perl-0.31/debian/control
@@ -0,0 +1,26 @@
+Source: libhttp-dav-perl
+Maintainer: Steinar H. Gunderson <sesse@debian.org>
+Section: web
+Priority: optional
+Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 4)
+Build-Depends-Indep: perl (>= 5.6.1), libxml-dom-perl
+
+Package: libhttp-dav-perl
+Architecture: all
+Depends: ${perl:Depends}, libwww-perl, libxml-dom-perl
+Recommends: libdigest-md5-perl
+Suggests: libcrypt-ssleay-perl
+Description: WebDAV client library for Perl
+ HTTP::DAV provides client-side access to a DAV server.  DAV is a
+ protocol for remote web-site authoring and management.  Now you can
+ LOCK, DELETE and PUT files and much more on a DAV-enabled webserver.
+ .
+ The PerlDAV library consists of:
+ .
+ * HTTP::DAV - an object-oriented Web-DAV client API.
+ * dave - the DAV Explorer, an end-user Unix console program for
+   interacting with WebDAV servers. dave looks and feels like a
+   standard Unix ftp program.
+ .
+ Learn more about WebDAV at http://www.webdav.org/
--- libhttp-dav-perl-0.31.orig/debian/compat
+++ libhttp-dav-perl-0.31/debian/compat
@@ -0,0 +1 @@
+4
--- libhttp-dav-perl-0.31.orig/debian/copyright
+++ libhttp-dav-perl-0.31/debian/copyright
@@ -0,0 +1,17 @@
+
+Copyright 1998 Swarthmore College.  All rights reserved.
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+a) the GNU General Public License as published by the Free Software
+Foundation; either version 1, or (at your option) any later version,
+or
+
+b) the "Artistic License" which comes with perl.
+
+
+You will find a copy of the GPL in /usr/share/common-licenses/GPL.
+
+You will find a copy of the Artistic licence in
+/usr/share/common-licenses/Artistic.
--- libhttp-dav-perl-0.31.orig/debian/rules
+++ libhttp-dav-perl-0.31/debian/rules
@@ -0,0 +1,57 @@
+#! /usr/bin/make -f
+# -*-makefile-*-
+# debian/rules file for libhttp-dav-perl
+
+PERL ?= /usr/bin/perl
+
+package	:= $(shell sed -ne 's/^Package: *//p' debian/control)
+prefix	:= $(PWD)/debian/$(package)/usr
+
+version	:= $(shell dpkg-parsechangelog | \
+			sed -ne 's/Version: *\([0-9]\+:\)*//p')
+
+tag:
+	cvs -Q status | grep File: | grep -qv Up-to-date && exit 1 || exit 0
+	cvs tag -F $(subst .,_,debian_version_$(version))
+ifeq ($(findstring -,$(version)),)
+	cvs tag -F $(subst .,_,upstream_version_$(version))
+endif
+
+build:	build-stamp
+build-stamp:
+	dh_testdir
+	$(PERL) Makefile.PL INSTALLDIRS=vendor PERL=$(PERL)
+	$(MAKE) LD_RUN_PATH=
+	touch $@
+
+clean:	checkroot
+	rm -f build-stamp
+	-$(MAKE) distclean
+	dh_clean
+
+binary-indep:	checkroot build
+	dh_clean
+	dh_installdirs
+
+	$(MAKE) pure_install PREFIX=$(prefix)
+
+	dh_installdocs README
+	dh_installexamples 
+	dh_installchangelogs Changes
+	dh_compress
+	dh_fixperms
+	dh_perl
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch:	checkroot build
+
+binary:	binary-indep binary-arch
+
+checkroot:
+	dh_testdir
+	dh_testroot
+
+.PHONY:	binary binary-arch binary-indep clean checkroot build