Commit graph

17 commits

Author SHA1 Message Date
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
rhaen
e250c911a7 Updated to 2.83
ChangeLog:
2.83  2011-10-29T00:19:07Z
      - Added the `smtp_port` parameter and accompanying `--smtp-port` option.
        Patch from Gustavo Leite de Mendonça Chaves.
      - Switched from Net::SMTP and Net::SMTP_auth to Net::SMTP::TLS, which
        handles TLS and non TLS and auth and non-auth in any combintation.
        Based on patches from Dawood Sangameshwari and Marino Miculan (RT #
        40188).
      - Added `--smtp-tls` option to enable TLS. Based on patch from Marino
        Miculan.
      - Deprecated `--smtp-authtype`, which is now a no-op. Net::SMTP::TLS
        determins the auth type to use by asking the SMTP server.
2012-01-26 12:18:43 +00:00
wiz
72f9087305 Update to 2.82:
2.82  2011-06-26T05:12:04
      - Moved the repository to
        [GitHub](https://github.com/theory/svn-notify/). Yes, I'm aware of the
        irony.

2.81  2011-02-19T03:09:43
      - Removed deprecated use of `qw(...)` as parentheses.
      - Fixed test failures due to a change in the opration of MIME-Q
        encoding.
2011-08-16 23:09:33 +00:00
obache
39619a9444 Revision bump after updating perl5 to 5.14.1. 2011-08-14 12:26:04 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
sno
72e27d9b49 Updating devel/p5-SVN-Notify from 2.79 to 2.80
pkgsrc changes:
- Add recommended dependencies

Upstream changes:
2.80  2010-01-16T04:40:00
      - Fixed the regular expression for detecting JIRA keys. Thanks to David
        Ferguson for the report (RT#51620).
      - Fixed test failure on Perl 5.11.2.
      - Switched to improved URL links with link text in the documentation.
2010-03-16 21:16:36 +00:00
rhaen
84973086e6 - updated to 2.79
- added Perl license
ChangeLog from upstream:
2.79  2009-04-03T00:36:29
      - Removed a superfluous colon from the dashed line under "Ticket Links"
        in the plain-text rendition of the message. Repored by Dirk Olmes.
      - Fixed a bug in the subject handling code where it could truncate a
        subject to very few characters if it has a dot (.) near the beginning.
        Now it skips 10 characters before looking for a dot at which to
        truncate text for the subject. Reported by Martijn van Beers, who
        noticed a comment in the source indicating that it should have been
        this way all along.
      - Fixed a test so that `svn dirs-changed` returns all of the modified
        directories for a given test. This has no effect on the SVN::Notify
        code, but it means that the test behavior is more correct. Rerpoted by
        Martijn van Beers.
      - Fixed a bug in SVN::Notify::SMTP where `printf` wasn't working
        properly, resulting in plain text email bodies with a number instead
        of a ticket link (Bug #43823). Thanks to Dirk Olmes for the report and
        the debugging.
      - Fixed `--revision-url` to recognize revision link that just use "r"
        followed by a number, such as "r1234". Previously, it had to be "rev
        1234" or "revision 1234".
2009-10-12 11:20:16 +00:00
rhaen
1922dd6780 - updated to 2.78
ChangeLog:
2.78   2008-09-24T04:41:27
      - When searching for an executable to run, SVN::Notify now also looks in
        the "installbin" and "installscript" directories, as specified by the
        Config module. Patch from John Peacock to improve the finding of apps
        on Strawberry Perl.
      - Documented --to-email-map in `svnnotify`. It was already documented in
        SVN::Notify, but I'd forgoten to include it in the command-line
        script. Reported by Grégory Joseph (Bug #22620).
      - Fixed a bug in the test suite where an unexpected exception was thrown
        on platforms where `sendmail` was not available. Reported by David
        Golden via CPAN-Testers.
2008-11-11 09:06:23 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
rhaen
809d996770 updated to 2.77 2008-07-21 08:42:23 +00:00
rhaen
782f322b43 - updated to version 2.75
- new maintainer
- PKG_DESTDIR_SUPPORT support
- verified with joerg
- fixes unavailabilty of sources due to old version

ChangeLog:
2.75  2008-05-18T03:38:11
      - Removed the spelling test from the distribution, since it can
        fail on systems without a spell program or using a different locale.
      - All string command-line options are now decoded from whatever encoding
        is specified by the C<--encoding> option, defaulting to UTF-8. All
        string options are thus properly decoded, excepting those that define
        encodings and languages (which should alwyas be ASCII) and those that
        are specified as hashes (if someone runs into that bug, let me know).
        This fix includes all string options specified by subclasses and
        filters. Reported by Matthew Romaine (Bug #35884).

2.74  2008-05-15T03:29:11
      - Updated copyright.
      - Changed the list example in the Trac sample output to use Greeking so
        that the indentation of wrapping lines can be seen in the output.
      - Improved the CSS for lists in the log message output by
        SVN::notify::HTML (and subclasses) so that bullets are properly
        hangling indents.
      - Removed a bit of redundant CSS from SVN::Notify::HTML.
      - Added a spelling test. This has the benefit of reducing the number of
        annoying spelling errors in the documentation.

2.73  2008-05-04T02:02:21
      - Fixed another lame-ass test failure under Perl 5.6.2. Reported by
        David Cantrell via cpan-testers.

2.72  2008-04-29T17:17:29
      - Fixed misdocumentation of the short version of the --set-sender option
        in C<svnnotify --help>: it's -E, not -S. Reported by Larry Shatzer,
        Jr.
      - Fixed encoding issue on Windows. Patch to fix a stupid oversight
        graciously provided by David Golden.
      - Added four new filter callbacks, "pre_prepare", "post_prepare",
        "pre_execute", and "post_execute". These are called at the begining
        and end of the execution of the prepare() and execute() methods.
        Suggestion and initial patch from Larry Shatzer.
      - Reorganized the table listing the types of filters in
        SVN::Notify::Filter so that they are listed in the order in which they
        execute.

2.71  2008-04-17T18:53:27
      - Fixed test failure in t/filter.t when HTML::Entities is not installed.
        Reported by David Cantrell via CPAN-Testers.
      - Bumped version number for recommended module Text::Trac up to 0.10,
        since that version fixes the last of the bugs I found with its HTML
        output.
      - Adjusted the runnign of filters against log messages in
        SVN::Notify::HTML so that any linkizing (--linkize), revision URL
        parsing (--revision-url), and ticket reference parsing (--ticket-map)
        is run after the content has been filtered. In 2.70, none of those
        things happened if the message was filtered, even though they did if a
        log message was filtered by SVN::Notify (plain text).
      - Added references to SVN::Notify::Filter::Markdown, now on CPAN.
      - Attributes registered by a filter were not being properly registered
        and processing the command-line arguments when the filter was loaded
        by the --filter option to `svnnotify`. Thanks to Larry Shatzer, Jr.
        for the spot!
2008-07-13 14:58:07 +00:00
seb
982ce17f0b Update devel/p5-SVN-Notify to version 2.70.
Changes since last packaged version (2.64):

2.70  2008-02-29T17:03:26
 - See http://justatheory.com/computers/programming/perl/modules/svnnotify-2.70.html
   for an announcement of this release.
 - Fixed issues with character encoding handling, starting from a patch
   submitted by Toshikazu Kinkoh, and with a lot of experimentation and
   testing by Toshikazu, Martin Lindhe, and myself. Hopefully these
   changes will help solve the various encoding problems that continue to
   crop up:
   + Removed --io-layer, which, it seems, never actually worked.
   + Changed --charset to --encoding, although the former is still
     supported for backwards compatibility.
   + Added --svn-encoding, which identifies the encoding in which data
     is stored in SVN. It defaults to the value of --encoding.
   + Added --diff-encoding, which identifies the encoding in which files
     are stored in SVN. This is useful for the case when log messages
     are written in one encoding and files stored in another. Defaults
     to the value of --svn-encoding.
   + The --language option is now used to set the C<$LANG> environment
     variable for the execution of `svnlook` as well as `sendmail`,
     although not `svnlook diff`, which always runs under the "C" locale.
   + Now only setting the $LANG environment variable for the execution of
     `svnlook` and `sendmail` if it is not already set. This allows the
     existing usages such as `LANG=ja_JP svnnotify ...` to keep working.
   + Fixed character encoding when sending messages via SMTP.
 - Added extensive documentation on how to deal with character encodings
   under "Character Encoding Support" in the SVN::Notify docs.
 - Added support for output filtering. This allows users to easily
   modify content before it's output.
 - Added SVN::Notify::Filter, which fully documents the interface for
   filtering (it's really easy!).
 - Added SVN::Notify::Filter:Trac, which parses log messages from the
   Trac wiki syntax to HTML. Useful for use with SVN::Notify::HTML
   and SVN::Notify::HTML::ColorDiff, and as a nice example of filtering.
 - Split up the output of the HTML <head> section and the <body> section
   into two methods in SVN::Notify::HTML in order to simplify filtering.
 - The CSS output by SVN::Notify::HTML is now output inside the <body>
   tags, rather than inside the <head> tags. This isn't valid, but will
   hopefully it will allow messages to display better in Web mail clients
   such as Gmail.
 - Eliminated locale warnings during tests.
 - Tweaked the CSS emitted by SVN::Notify::HTML to support a lot of HTML
   in the log message, since such formatting can come from the use of
   SVN::Notify::Filter::Trac and, potentially, other output filters.
 - Fixed issue running tests with a Perl other than /usr/bin/perl without
   running `./Build`. If you just did `./Build test`, it could fail with
   a lot of errors, but no more.
 - Fixed use of the SMTP feature under Perl 5.6. Reported by CPAN testers
   David Cantrell and Slaven Rezic.
 - Fixed the formatting and display of the log message when using the
   --wrap-log option with SVN::Notify::HTML.
 - Eliminated a bogus empty paragraph when using the --wrap-log option
   with SVN::Notify::HTML.
 - Fixed the encoding of the subject line so that Unicode characters
   show up properly. Reported by Ian Anderson (Ticket # 24138).
 - Switched from using `crypt` to using a simple random string algorithm
   for generating email part boundaries, since `crypt` was choking on
   multibyte characters from message subjects. Reported by Toshikazu
   Kinkoh.
 - Added a link to SVN::Notify's Subversion repository.

2.67 2008-02-06T20:15:13
 - Fixed bug where a directory with a valid regular expression character
   could be incorrectly truncated. Patch from Wayne Davison.
 - Fixed a bug where a directory name could be truncated too much if
   there are directory names with common roots. Patch from Wayne Davison.
 - Added the "configure_requires" parameter to Build.PL.
 - Fixed SVN::Notify::HTML::ColorDiff so that it respects
   --max-diff-length.
 - The SVN::Notify::HTML --wrap-log option now wraps individual
   paragraphs as identified by blank lines (with optional spaces), rather
   than wrapping the entire message in a single set of paragraph tags.

2.66  2007-06-17T05:08:29
 - Added some examples complements of Matt Doar.
 - Fixed the specification of recipients passed to the SMTP server so
   that comma-separated email addresses are properly split apart.
   Reported by Michael Plump.
 - Fixed a bug with --to-regex-map where certain entries in it could
   be skipped altogether. Reported by John Peacock.

2.65  2007-03-27T07:01:09
 - Another patch from Martijn van Beers, this one generalizing the
   execution of --ticket-map parageters (Ticket # 21633).
 - Added note and link for HookStart for Windows users who run into
   asynchronous execution issues. Reported by Eric Lemes.
 - Added the --wrap-log option to SVN::Notify::HTML. When passed a true
   value, the log message will be put into a `p` tag instead of a `pre`
   tag, thus allowing it to wrap to the width of the mailer window.
   Needless to say, this means that any whitespace formatting in the log
   message itself will be lost. Suggested by Ian Anderson (Ticket
   #24138).
 - Restored checking for "%s" in the JIRA, RT, Butzilla, and GNATS
   URLs. Reported by Matt Doar.
 - Fixed some spelling errors, thanks to Matt Doar.
 - Added note that verbose output goes to STDOUT.
 - Added support for specifying the location of the revision number via
   an "%d" temlate in the --subject-prefix option. Patch from Jerry
   Veldhuis (Ticket #24309).
 - The --max-diff-length option now works properly in HTML output, as
   well. Reported by Rob Moore (Ticket #25070)
 - Added the --to-email-map option as the inverse of --to-regex-map. That
   is, it maps regular expressions to email addresses, rather than the
   other way around.
2008-04-21 11:08:11 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
wiz
9b5f815b2d Add "scm" to CATEGORIES to make it easy to find source control management
related packages.
2007-02-17 20:59:46 +00:00
seb
023afcd287 Update to version 2.64.
Changes since last packaged version (2.57):
2.64  2006-09-28T18:39:47
  - Added notes about Net::SMPT and Net::SMTP_auth to the README file.
    Reported by Nacho Barrientos Arias.
  - The regular expresson for RT ticket numbers now also case-insnsitively
    matches "RT" in addtion to "Ticket". Suggested by Ask Bjørn Hansen.
  - Now skipping all tests in 't/alt.t' if HTML::Entities is not
    installed. Reported by Marshall Roch.
  - Added a new option, '--ticket-map', to map regular expressions
    that match ticket references to the URLs to create links for those
    references. This allows users to specify any number of ticketing
    systems for which to scan for references in the log message.
  - Deprecated '--ticket-regex' and '--ticket-url' in favor of the new
    '--ticket-map' option.
  - Converted the support for explicit ticketing systems (RT, JIRA,
    GnatsWeb, and Bugzilla) to internally use the 'ticket_map' attribute.
    This change eliminates quite a bit of redundant code. Based on a patch
    from Martijn van Beers (Ticket # 21633).
  - Unified the internal ticket system regular expressions so that
    SVN::Notify::HTML can reference and use exactly the same regexen that
    SVN::Notify uses. Inspired by a patch from Martijn van Beers.

2.63  2006-08-02T18:11:36
  - The tests in t/options.t no longer fail when HTML::Entities is not
    installed. Thanks to Ricardo Signes for the spot! Ticket #20267.
  - The email subject is now encoded in the MIME-Q encoding, in compliance
    with RFC 2047. Patch from Éric Cholet.
  - Now properly setting the binmode on file handles in Win32 when
    running under Perl 5.8.
  - Added the --add-header option to add headers to the outgoing email.
    Useful for things like auto-approval for MLMs. Patch (with tests!)
    from Ricardo Signes.
  - Documented the --language option in the svnnotify script.
  - Before executing 'sendmail', SVN::Notify now sets the $LANG
    environment variable with the contents of the language and charset
    options if language is set. Ticket #16050.

2.62  2006-06-30T18:03:21
  - Changed to() accessor to return the first value in the array in scalar
    context, and all of the items as a list in list context. This makes
    its behavior more consistent with versions of SVN::Notify priort to
    2.61.
  - Added strip_cx_regex() accessor. It also returns the first value in
    scalar context, and the full list in list context, for consistency
    with to().

2.61  2006-06-28T23:07:40
  - Removed unused patch file from the distribution. It was temporary, and
    never supposed to be there, anyway.
  - Added an "Errors-To" header to the outgoing email, using the same
    email address as is used for the "From" header.
  - Added the --set-sender option to specify the envelope sender to the
    same value as is used for the From: header when sending via sendmail.
  - The --to option may now be specified multiple times (or passed as an
    array reference to the constructor) to specify multiple recipients.
    This change allows multiple recipients to be used when sending
    notifications via SMTP. Ticket # 20121. Reported by John Colton.

2.60  2006-06-16T22:42:48
  - HTML output now creates a link from a directory name to its place in
    the diff if the type of diff for the directory is a property change.
    Patch from Lamar Goddard.
  - Added --author-url option. Based on a patch from Lamar Goddard.
  - Deprecated --svnweb-url and --viewcvs-url in favor of the new, more
    general --revision-url. Inspired by a patch from Lamar Goddard.
  - Added --diff-switches option. This can be used to specify switches to
    pass through to 'svnlook diff'. Inspired by a patch from Lamar
    Goddard.

2.59  2006-05-11T17:23:12
  - Fixed a few typos, with thanks to Marshall "Eagle Eyes" Roch.
  - Now throw an exception if 'sendmail' is not specified or cannot be
    found and 'smtp' is not specified. Reported by Eric Lemes.
  - Fixed processing of commad-line arguments under Windows. Reported by
    Eric Lemes. This means that SVN::Notify has now been confirmed to
    actually *work* on Windows.
  - An exception will now be thrown if a Net::SMTP object cannot be
    created. Reported by Eric Lemes.
  - Added note for Windows users about setting environment variables
    required by SVN::Notify. Thanks to Eric Lemes <ericlemes@gmail.com>
    for figuring these things out!
  - Added link to Eric Lemes's tutorial for installing Apache, Subversion,
    and SVN::Notify on Windows.

2.58  2006-05-05T20:44:05
  - Improved documentation of '--ticket-regex', since it seemed to confuse
    people using it with SVN::Notify::HTML. Thanks to Dominic Giampaolo
    for the push.
  - SVN::Notify::HTML now allows '--ticket-regex' to capture only one
    string, in which case it will be used both for the link text and for
    the ticket number passed to the '--ticket-url' format string.
  - Added support for SMTP authentication using Net::SMTP_auth. Use the
    '--smtp-user', '--smtp-pass', and '--smtp-authtype' options to take
    advantage of this feature. Patch from Eric Lemes.
  - Specifying '--verbose' two or more times now turns on SMTP debugging.
2006-10-01 22:05:38 +00:00
seb
1dda0c9dc9 Initial addition of p5-SVN-Notify version 2.57 as devel/p5-SVN-Notify in the
NetBSD Packages Collection.

The Perl5 module SVN::Notify provide a class that may be used for
sending email messages for Subversion repository activity. There
are a number of different modes supported, and SVN::Notify is fully
subclassable, to easily add new functionality. By default, A list
of all the files affected by the commit will be assembled and listed
in a single message. An additional option allows diffs to be
calculated for the changes and either appended to the message or
added as an attachment. The included subclass, SVN::Notify::HTML,
allows the messages to be sent in HTML format. A svnnotify script
is also provided.
2006-04-20 10:18:24 +00:00