r38183 - in /trunk/libnet-imap-simple-perl: ./ contrib/ debian/ debian/patches/ lib/ t/
nhandler-guest at users.alioth.debian.org
nhandler-guest at users.alioth.debian.org
Tue Jun 16 21:38:17 UTC 2009
Author: nhandler-guest
Date: Tue Jun 16 21:38:12 2009
New Revision: 38183
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38183
Log:
* New upstream release
* debian/watch:
- Update to ignore development releases.
* debian/control:
- Bump debhelper Build-Depends version
- Add myself to list of uploaders
- Bump Standards-Version to 3.8.1
- Drop quilt Build-Depends
* debian/compat:
- Bump to 7
* debian/patches/*:
- Remove since fix_warnings.patch was applied upstream
* debian/rules:
- Remove quilt
- Refresh to use modern format
* debian/copyright:
- Update to use machine-readable format
- Add myself to debian/* copyright section
Added:
trunk/libnet-imap-simple-perl/.todo
- copied unchanged from r38171, branches/upstream/libnet-imap-simple-perl/current/.todo
trunk/libnet-imap-simple-perl/Simple.pm
- copied unchanged from r38171, branches/upstream/libnet-imap-simple-perl/current/Simple.pm
trunk/libnet-imap-simple-perl/Simple.pod
- copied unchanged from r38171, branches/upstream/libnet-imap-simple-perl/current/Simple.pod
trunk/libnet-imap-simple-perl/contrib/
- copied from r38171, branches/upstream/libnet-imap-simple-perl/current/contrib/
trunk/libnet-imap-simple-perl/t/01_load.t
- copied unchanged from r38171, branches/upstream/libnet-imap-simple-perl/current/t/01_load.t
trunk/libnet-imap-simple-perl/t/critic.t
- copied unchanged from r38171, branches/upstream/libnet-imap-simple-perl/current/t/critic.t
trunk/libnet-imap-simple-perl/t/pod.t
- copied unchanged from r38171, branches/upstream/libnet-imap-simple-perl/current/t/pod.t
trunk/libnet-imap-simple-perl/t/pod_coverage.t
- copied unchanged from r38171, branches/upstream/libnet-imap-simple-perl/current/t/pod_coverage.t
Removed:
trunk/libnet-imap-simple-perl/debian/README.source
trunk/libnet-imap-simple-perl/debian/patches/
trunk/libnet-imap-simple-perl/imap.pl
trunk/libnet-imap-simple-perl/lib/
trunk/libnet-imap-simple-perl/t/compile.t
Modified:
trunk/libnet-imap-simple-perl/Changes
trunk/libnet-imap-simple-perl/MANIFEST
trunk/libnet-imap-simple-perl/META.yml
trunk/libnet-imap-simple-perl/Makefile.PL
trunk/libnet-imap-simple-perl/README
trunk/libnet-imap-simple-perl/debian/changelog
trunk/libnet-imap-simple-perl/debian/compat
trunk/libnet-imap-simple-perl/debian/control
trunk/libnet-imap-simple-perl/debian/copyright
trunk/libnet-imap-simple-perl/debian/rules
Modified: trunk/libnet-imap-simple-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/Changes?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/Changes (original)
+++ trunk/libnet-imap-simple-perl/Changes Tue Jun 16 21:38:12 2009
@@ -1,4 +1,9 @@
-Revision history for Perl extension Net::IMAP::Simple.
+1.1801: Mon Jun 8 11:38:36 EDT 2009
+ - use vs require, huge difference
+
+1.1800: Thu Jun 4 21:44:59 EDT 2009
+ - jettero started pulling in his changes.
+
1.17 2006-10-11
- Beta/Developer release -> production
Modified: trunk/libnet-imap-simple-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/MANIFEST?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/MANIFEST (original)
+++ trunk/libnet-imap-simple-perl/MANIFEST Tue Jun 16 21:38:12 2009
@@ -1,8 +1,13 @@
Changes
-lib/Net/IMAP/Simple.pm
+contrib/imap.pl
Makefile.PL
-MANIFEST This list of files
-META.yml
+MANIFEST
README
-t/compile.t
-imap.pl
+Simple.pm
+Simple.pod
+t/01_load.t
+t/critic.t
+.todo
+t/pod_coverage.t
+t/pod.t
+META.yml Module meta-data (added by MakeMaker)
Modified: trunk/libnet-imap-simple-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/META.yml?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/META.yml (original)
+++ trunk/libnet-imap-simple-perl/META.yml Tue Jun 16 21:38:12 2009
@@ -1,10 +1,27 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Net-IMAP-Simple
-version: 1.17
-version_from: lib/Net/IMAP/Simple.pm
-installdirs: site
+--- #YAML:1.0
+name: Net-IMAP-Simple
+version: 1.1801
+abstract: ~
+author:
+ - Paul Miller <jettero at cpan.org>
+license: Perl Artistic
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
requires:
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.30
+ perl: 5.008
+resources:
+ repository: http://github.com/jettero/net--imap--simple
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.52
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+keywords:
+ - imap
+ - simple
Modified: trunk/libnet-imap-simple-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/Makefile.PL?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/Makefile.PL (original)
+++ trunk/libnet-imap-simple-perl/Makefile.PL Tue Jun 16 21:38:12 2009
@@ -1,7 +1,19 @@
use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
+
WriteMakefile(
- 'NAME' => 'Net::IMAP::Simple',
- 'VERSION_FROM' => 'lib/Net/IMAP/Simple.pm', # finds $VERSION
+ 'NAME' => 'Net::IMAP::Simple',
+ 'VERSION_FROM' => 'Simple.pm',
+ AUTHOR => 'Paul Miller <jettero at cpan.org>',
+
+ ($ExtUtils::MakeMaker::VERSION ge '6.48'?
+ (MIN_PERL_VERSION => 5.008,
+ META_MERGE => {
+ keywords => [qw(imap simple)],
+ resources=> {
+ repository => 'http://github.com/jettero/net--imap--simple',
+ },
+ },
+
+ LICENSE => 'Perl Artistic',
+ ) : ()),
);
Modified: trunk/libnet-imap-simple-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/README?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/README (original)
+++ trunk/libnet-imap-simple-perl/README Tue Jun 16 21:38:12 2009
@@ -1,173 +1,22 @@
NAME
- Net::IMAP::Simple - Perl extension for simple IMAP account handling.
+
+Net::IMAP::Simple - Perl extension for simple IMAP account handling.
SYNOPSIS
- use Net::IMAP::Simple;
- use Email::Simple;
- my $server = Net::IMAP::Simple->new( 'someserver' );
- $server->login( 'someuser', 'somepassword' );
-
- my $nmessages = $server->select( 'somefolder' );
+ use strict;
+ use warings;
+ use Net::IMAP::Simple;
- foreach my $msg ( 1 .. $number_of_messages ) {
- print "This message has been read before...\n"
- if $server->seen( $msg );
+ my $server = Net::IMAP::Simple->new( 'someserver' );
+ $server->login( 'someuser', 'somepassword' );
- my $email = Email::Simple->new( join '', @{$server->get( $msg )} );
-
- print $email->header('Subject'), "\n";
- }
-
- $server->quit();
-
-DESCRIPTION
- This module is a simple way to access IMAP accounts.
-
- Methods
- new
- my $imap = Net::IMAP::Simple->new( $server );
-
- This class method constructs a new "Net::IMAP::Simple" object. It
- takes one required parameter, the server to connect to. The
- parameter may specify just the server, or both the server and port
- number. To specify an alternate port, seperate it from the server
- with a colon (":"), "example.com:5143".
-
- On success an object is returned. On failure, "undef" is returned.
-
- login
- my $inbox_msgs = $imap->login($user => $passwd);
-
- This method takes two required parameters, a username and password.
- This pair is authenticated against the server. If authentication is
- successful the user's INBOX is selected.
-
- On success, the number of messages in the INBOX is returned. "undef"
- is returned on failure.
-
- select
- my $num_messages = $imap->select($folder);
-
- Selects a folder named in the single required parameter. The number
- of messages in that folder is returned on success. On failure,
- "undef" is returned.
-
- top
- my $header = $imap->top( $message_number );
- print for @{$header};
-
- This method accepts a message number as its required parameter. That
- message will be retrieved from the currently selected folder. On
- success this method returns a list reference containing the lines of
- the header. "undef" is returned on failure.
-
- seen
- print "Seen it!" if $imap->seen( $message_number );
-
- A message number is the only required parameter for this method. The
- message's "\Seen" flag will be examined and if the message has been
- seen a true value is returned. All other failures return a false
- value.
-
- list
- my $message_size = $imap->list($message_number);
- my $mailbox_sizes = $imap->list;
-
- This method returns size information for a message, as indicated in
- the single optional parameter, or all messages in a mailbox. When
- querying a single message a scalar value is returned. When listing
- the entire mailbox a hash is returned. On failure, "undef" is
- returned.
-
- get
- my $message = $imap->get( $message_number );
- print for @{$message};
-
- This method fetches a message and returns its lines in a list
- reference. On failure, "undef" is returned.
-
- getfh
- my $file = $imap->getfh( $message_number );
- print <$file>;
-
- On success this method returns a file handle pointing to the message
- identified by the required parameter. On failure, "undef" is
- returned.
-
- quit
- $item->quit;
-
- This method logs out of the IMAP server, expunges the selected
- mailbox, and closes the connection.
-
- last
- my $message_number = $imap->last;
-
- This method retuns the message number of the last message in the
- selected mailbox, since the last time the mailbox was selected. On
- failure, "undef" is returned.
-
- delete
- print "Gone!" if $imap->delete( $message_number );
-
- This method deletes a message from the selected mailbox. On success
- it returns true. False on failure.
-
- mailboxes
- my @boxes = $imap->mailboxes;
- my @folders = $imap->mailboxes("Mail/%");
- my @lists = $imap->mailboxes("lists/perl/*", "/Mail/");
-
- This method returns a list of mailboxes. When called with no
- arguments it recurses from the IMAP root to get all mailboxes. The
- first optional argument is a mailbox path and the second is the path
- reference. RFC 3501 has more information.
-
- create_mailbox
- print "Created" if $imap->create_mailbox( "/Mail/lists/perl/advocacy" );
-
- This method creates the mailbox named in the required argument.
- Returns true on success, false on failure.
-
- expunge_mailbox
- print "Expunged" if $imap->expunge_mailbox( "/Mail/lists/perl/advocacy" );
-
- This method removes all mail marked as deleted in the mailbox named
- in the required argument. Returns true on success, false on failure.
-
- delete_mailbox
- print "Deleted" if $imap->delete_mailbox( "/Mail/lists/perl/advocacy" );
-
- This method deletes the mailbox named in the required argument.
- Returns true on success, false on failure.
-
- rename_mailbox
- print "Renamed" if $imap->rename_mailbox( $old => $new );
-
- This method renames the mailbox in the first required argument to
- the mailbox named in the second required argument. Returns true on
- success, false on failure.
-
- copy
- print "copied" if $imap->copy( $message_number, $mailbox );
-
- This method copies the message number in the currently seleted
- mailbox to the fold specified in the second argument. Both arguments
- are required. On success this method returns true. Returns false on
- failure.
-
-AUTHOR
- Casey West, <casey at geeknst.com>.
-
- Joao Fonseca, <joao_g_fonseca at yahoo.com>.
-
-SEE ALSO
- Net::IMAP, perl.
+ for ( 1 .. $server->select( 'somefolder' ) ) {
+ print $email->header('Subject'), "\n";
+ }
+ $server->quit();
COPYRIGHT
- Copyright (c) 2004 Casey West. Copyright (c) 1999 Joao Fonseca.
- All rights reserved. This program is free software; you can redistribute
- it and/or modify it under the same terms as Perl itself.
-
+All rights reserved. This program is free software; you can redistribute
+it and/or modify it under the same terms as Perl itself.
Modified: trunk/libnet-imap-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/debian/changelog?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/debian/changelog (original)
+++ trunk/libnet-imap-simple-perl/debian/changelog Tue Jun 16 21:38:12 2009
@@ -1,8 +1,6 @@
-libnet-imap-simple-perl (1.17-4) UNRELEASED; urgency=low
+libnet-imap-simple-perl (1.1801-1) unstable; urgency=low
[ gregor herrmann ]
- * Add debian/README.source to document quilt usage, as required by
- Debian Policy since 3.8.0.
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
(source stanza).
@@ -10,9 +8,26 @@
* debian/control: update my email address.
[ Nathan Handler ]
- * debian/watch: Update to ignore development releases.
+ * New upstream release
+ * debian/watch:
+ - Update to ignore development releases.
+ * debian/control:
+ - Bump debhelper Build-Depends version
+ - Add myself to list of uploaders
+ - Bump Standards-Version to 3.8.1
+ - Drop quilt Build-Depends
+ * debian/compat:
+ - Bump to 7
+ * debian/patches/*:
+ - Remove since fix_warnings.patch was applied upstream
+ * debian/rules:
+ - Remove quilt
+ - Refresh to use modern format
+ * debian/copyright:
+ - Update to use machine-readable format
+ - Add myself to debian/* copyright section
- -- Rene Mayorga <rmayorga at debian.org> Tue, 20 Jan 2009 01:28:13 -0600
+ -- Nathan Handler <nhandler at ubuntu.com> Tue, 16 Jun 2009 21:38:01 +0000
libnet-imap-simple-perl (1.17-3) unstable; urgency=low
Modified: trunk/libnet-imap-simple-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/debian/compat?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/debian/compat (original)
+++ trunk/libnet-imap-simple-perl/debian/compat Tue Jun 16 21:38:12 2009
@@ -1,1 +1,1 @@
-5
+7
Modified: trunk/libnet-imap-simple-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/debian/control?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/debian/control (original)
+++ trunk/libnet-imap-simple-perl/debian/control Tue Jun 16 21:38:12 2009
@@ -1,11 +1,12 @@
Source: libnet-imap-simple-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5.0.0), quilt
+Build-Depends: debhelper (>= 7.0.0)
Build-Depends-Indep: perl (>= 5.8.0-7)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Allard Hoeve <allard at byte.nl>, Gunnar Wolf <gwolf at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>, Rene Mayorga <rmayorga at debian.org>
-Standards-Version: 3.7.3
+Uploaders: Allard Hoeve <allard at byte.nl>, Gunnar Wolf <gwolf at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>, Rene Mayorga <rmayorga at debian.org>,
+ Nathan Handler <nhandler at ubuntu.com>
+Standards-Version: 3.8.1
Homepage: http://search.cpan.org/dist/Net-IMAP-Simple/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-imap-simple-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libnet-imap-simple-perl/
Modified: trunk/libnet-imap-simple-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/debian/copyright?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/debian/copyright (original)
+++ trunk/libnet-imap-simple-perl/debian/copyright Tue Jun 16 21:38:12 2009
@@ -1,32 +1,33 @@
-This is the debian package for the Net::IMAP::Simple module.
-It was created by Joost van Baal <joostvb at uvt.nl> on
-Thue, 3 Jan 2006 11:53:13 +0200 using dh-make-perl;
-and is maitained by the Debian Perl Group.
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Paul Miller <jettero at cpan.org>
+Upstream-Source: http://search.cpan.org/dist/Net-IMAP-Simple/
+Upstream-Name: Net-IMAP-Simple
-The upstream authors are:
+Files: *
+Copyright: 2009, Paul Miller <jettero at cpan.org>
+ 2005, Colin Faber <cfaber at fpsn.net>
+ 2004, Casey West <casey at geeknst.com>
+ 1999, Joao Fonseca <joao_g_fonseca at yahoo.com>
+License-Alias: Perl
+License: Artistic | GPL-1+
-Colin Faber <cfaber at fpsn.net>
+Files: debian/*
+Copyright: 2006-2009, Joost van Baal <joostvb at uvt.nl>
+ 2009, Nathan Handler <nhandler at ubuntu.com>
+License-Alias: Perl
+License: Artistic | GPL-1+
-Casey West <casey at geeknst.com>
+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 GNU/Linux systems, the complete text of the Artistic License
+ can be found in /usr/share/common-licenses/Artistic
-Joao Fonseca <joao_g_fonseca at yahoo.com>
-
-It was downloaded from http://www.cpan.org/, and is available from any CPAN
-mirror as Net-IMAP-Simple-<version>.tar.gz in the author's directory
-(that is, http://www.cpan.org/CPAN/authors/id/C/CF/CFABER/).
-An author-agnostic download URL would be
-http://search.cpan.org/dist/Net-IMAP-Simple/
-
-Copyright (c) 2005 Colin Faber.
-Copyright (c) 2004 Casey West.
-Copyright (c) 1999 Joao Fonseca.
-All rights reserved. This program is free software; you can redistribute it
-and/or modify it under the same terms as Perl itself.
-
-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'.
-
-The Debian packaging is (C) 2006 by Joost van Baal <joostvb at uvt.nl> and
-is licensed under the same terms as the software itself (see above)
+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 GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL'
Modified: trunk/libnet-imap-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/debian/rules?rev=38183&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/debian/rules (original)
+++ trunk/libnet-imap-simple-perl/debian/rules Tue Jun 16 21:38:12 2009
@@ -1,77 +1,24 @@
#!/usr/bin/make -f
-# This debian/rules file is based upon a template for normal perl
-# packages. The template was created by Marc Brockschmidt <marc at dch-faq.de> 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
-
-include /usr/share/quilt/quilt.make
-
-# 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
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
- dh_testdir
+build-stamp:
+ dh build
+ touch $@
- # commands to compile the package
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- $(MAKE) test
-
- touch build-stamp
-
-clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
-
+clean:
+ dh $@
install: install-stamp
install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # As this is a architecture independent package, we are not supposed to install
- # stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
- $(RM) $(TMP)/usr/share/perl5/Net/IMAP/imap.pl
- touch install-stamp
+ dh install
+ touch $@
binary-arch:
-# We have nothing to do by default.
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_installexamples imap.pl
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+binary-indep: install
+ dh $@
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: binary binary-arch binary-indep install clean build
More information about the Pkg-perl-cvs-commits
mailing list