--- libmime-base64-urlsafe-perl-0.01.orig/debian/control +++ libmime-base64-urlsafe-perl-0.01/debian/control @@ -0,0 +1,26 @@ +Source: libmime-base64-urlsafe-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.6.10-12) +Maintainer: Debian Perl Group +Uploaders: AGOSTINI Yves +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/MIME-Base64-URLSafe/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmime-base64-urlsafe-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmime-base64-urlsafe-perl/ + +Package: libmime-base64-urlsafe-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Perl version of Python's URL-safe base64 codec + MIME::Base64::URLSafe is a perl version of python's URL-safe base64 encoder / + decoder. + . + When embedding binary data in URL, it is preferable to use base64 encoding. + However, two characters ('+' and '/') used in the standard base64 encoding have + special meanings in URLs, often leading to re-encoding with URL-encoding, or + worse, interoperability problems. + . + To overcome the problem, the module provides a variation of base64 codec + compatible with python's urlsafe_b64encode / urlsafe_b64decode --- libmime-base64-urlsafe-perl-0.01.orig/debian/copyright +++ libmime-base64-urlsafe-perl-0.01/debian/copyright @@ -0,0 +1,24 @@ +X-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +X-Debianized-By: AGOSTINI Yves +X-Debianized-Date: Tue, 22 Apr 2008 23:26:12 +0200 +X-Source-Downloaded-From: http://search.cpan.org/dist/MIME-Base64-URLSafe/ +X-Upstream-Author: Kazuho Oku + +Files: * +Copyright: Copyright (C) 2006 Cybozu Labs, Inc. +License: GPL-1+ | Artistic + Copyright (C) 2006 Cybozu Labs, Inc. + . + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.8.7 or, + at your option, any later version of Perl 5 you may have available.. + +Files: debian/* +Copyright: Copyright 2008 Debian Perl Group +License: GPL-2+ + The Debian packaging information is under the GPL, version 2 or later + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. On Debian GNU/Linux systems, the complete text of the +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. --- libmime-base64-urlsafe-perl-0.01.orig/debian/rules +++ libmime-base64-urlsafe-perl-0.01/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/lib/perl5 + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libmime-base64-urlsafe-perl-0.01.orig/debian/changelog +++ libmime-base64-urlsafe-perl-0.01/debian/changelog @@ -0,0 +1,5 @@ +libmime-base64-urlsafe-perl (0.01-1) unstable; urgency=low + + * Initial Release (Closes: #477501) + + -- AGOSTINI Yves Wed, 23 Apr 2008 15:28:35 +0200 --- libmime-base64-urlsafe-perl-0.01.orig/debian/compat +++ libmime-base64-urlsafe-perl-0.01/debian/compat @@ -0,0 +1 @@ +5 --- libmime-base64-urlsafe-perl-0.01.orig/debian/watch +++ libmime-base64-urlsafe-perl-0.01/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/MIME-Base64-URLSafe/ .*/MIME-Base64-URLSafe-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$