[libhttp-dav-perl] 01/06: Import Debian patch 0.31-2
Florian Schlichting
fsfs at moszumanska.debian.org
Mon Jan 16 19:40:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libhttp-dav-perl.
commit a52c54dfed0a1cb180489d8cb1b0eada41460c34
Author: Steinar H. Gunderson <sesse at debian.org>
Date: Sat Nov 13 23:29:30 2004 +0100
Import Debian patch 0.31-2
---
DAV.pm | 2 +-
DAV/Utils.pm | 2 +-
debian/changelog | 20 ++++++++++++++++++++
debian/compat | 1 +
debian/control | 25 +++++++++++++++++++++++++
debian/copyright | 17 +++++++++++++++++
debian/rules | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 122 insertions(+), 2 deletions(-)
diff --git a/DAV.pm b/DAV.pm
index 65dc50b..5d52309 100644
--- a/DAV.pm
+++ b/DAV.pm
@@ -1574,7 +1574,7 @@ Put a string to the server:
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:
diff --git a/DAV/Utils.pm b/DAV/Utils.pm
index 31b79c5..b21c69c 100644
--- a/DAV/Utils.pm
+++ b/DAV/Utils.pm
@@ -141,7 +141,7 @@ sub get_elements_by_tag_name {
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);
}
}
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6008234
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,20 @@
+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 at 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 at debian.org> Fri, 26 Apr 2002 14:35:07 -0700
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e63b10a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: libhttp-dav-perl
+Maintainer: Steinar H. Gunderson <sesse at debian.org>
+Section: web
+Priority: optional
+Standards-Version: 3.6.1
+Build-Depends-Indep: debhelper (>= 4), 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/
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1910b4b
--- /dev/null
+++ b/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.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e09973c
--- /dev/null
+++ b/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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-dav-perl.git
More information about the Pkg-perl-cvs-commits
mailing list