Commit graph

49 commits

Author SHA1 Message Date
rhaen
8de5d999b6 - updated package to 2.02
- USER_DESTDIR support added
- new maintainer for the package
- ok'ed by rillig
Changelog:
version 2.02: Fri Nov 30 09:57:48 CET 2007

	Fixes:

	- Mail::Internet uses Mail::Util::mailaddress, which is
	  not exported by default.
	  rt.cpan.org#31082 [Dave], rt.cpan.org#31070 [Friedrich Haubensak]
	  and [Slaven Rezic]

	Improvements:

	- use 3-arg open() in Mail::Util.
	  rt.cpan.org#20726 [Steve@sliug] and [Paul@city-fan]

version 2.01: Wed Nov 28 10:48:24 CET 2007

	Changes:

	- Remove work-around for Perl 5.8.0. unicode bug from
	  Mail::Address::_extract_name().
	  Result of rt.cpan.org#30661 [Josh Clark]

	- Requires on Perl 5.8.1 minimum

	Fixes:

	- Mail::Mailer::testfile now also shows Cc destinations, the
	  setting of 'outfile' now works, and it will produce an error
	  when the data cannot be written.  All thanks to [Slaven Rezic]

version 2.00_03: Tue Sep 25 12:27:28 CEST 2007

	- folding of header fields sometimes ended prematurely.
	  Reported by [Anthony W. Kay]

	- add $sender as 4th argument to Mail::Mailer::*::exec() where
	  missing.  Discovered by [David Hand]

	- add Date::Format and Date::Parse to Makefile.PL.

version 2.00_02: Sat Jul 21 12:29:20 CEST 2007

	- parts of the documentation were lost, discovered by [Ricardo Signes]

	- rt.cpan.org #28093 smtp timeout
	  check for local mail server can have short timeout.
	  Patch by [Alexandr Ciornii]

	- rt.cpan.org #28411 syntax error in Mail::Mailer::smtp
	  reported by [Andreas Koenig]

version 2.00_01: Wed Jun 20 14:42:35 CEST 2007

	- reorganized installation of MailTools, in a modern way.  This
	  may break installation on very old releases of Perl.

	- added t/pod.t

	- restructured most code, no functional changes.

	- added and cleaned a lot of documentation, using OODoc to
	  generate nice manuals in POD and HTML.

	- extracted Mail::Field::Generic from Mail::Field

	- added misteriously missing Mail::Field::AddrList::addr_list()
2007-12-11 11:55:20 +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
8b0c68a320 Update to 1.77:
version 1.77: Fri May 11 14:16:01 CEST 2007

	- fixed syntax error in qmail.pm, patch by [Alexey Tourbin]
	  also reported by [Volker Paulsen]

	- die if qmail's exec fails.

	- require Data::Format

	- corrected header field folding according to rfc2822, which
	  may break some ancient (poor) applications.
	  Patch by [Christopher Madsen]
2007-06-01 20:46:53 +00:00
wiz
2d7d1730f4 Update to 1.76:
version 1.77 [sic!]: Tue Apr 10 09:25:29 CEST 2007

	- The tag (field label) casing is "normalized" which is not
	  required (as the comment in the code told), but a mis-
	  feature.  The feature will not change, to avoid breaking
	  existing code. Original report by [Matt Swift]

	- Do not ignore unknown argument to Mail::Internet::new(),
	  but complain about it [JPBS]

	- Document that the \n is still after a header line, but folding
	  is removed. Suggested by [Roberto Jimenoca]

	- Document that unfolding is too greading, taking all leading
	  blanks where only one should be taken. Suggested by
	  [Roberto Jimenoca]

version 1.75: Wed Jun 14 15:30:25 CEST 2006

	- [Mike Lerley] reported that environment variables are not
	  thread-safe in mod_perl.  Therefore, he required to pass the
	  sender of the message explictly on qmail's command-line.
	  His addapted patch included.
2007-04-18 23:41:51 +00:00
joerg
5dfaaf310b DESTDIR support. 2006-11-05 17:06:43 +00:00
wiz
f4e6b11117 Update to 1.74:
version 1.74: Tue Feb 28 08:39:14 CET 2006

	- Help from [Jun Kuriyama]
2006-05-17 21:52:38 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
wiz
aaa34cdda6 Update to 1.73:
version 1.73: Sat Jan 21 09:54:13 CET 2006

	- Added 'use Mail::Util' to Mail::Mailer::testfile to produce
	  mailaddress();

	- Improved exec() call from version 1.67 a little more.  Let's hope
	  that SMTP works again.

version 1.72: Tue Jan 17 09:04:37 CET 2006

	- release 1.70 broke SMTP sending.  Detected by [J Meyers]
2006-01-22 20:50:25 +00:00
wiz
af7484899f Update to 1.71:
version 1.71: Thu Jan  5 11:20:52 CET 2006

	- grrrr tests failed

version 1.70: Thu Jan  5 11:17:05 CET 2006

	- Mail::Mailer::testfile.pm adds "from" display to trace output.
	  [wurblzap]

	- fixed regex in Mail::Address [J Meyers]

version 1.68: Thu Jan  5 10:29:25 CET 2006

	- Updated copyright year.

	- Removed 'use locale' from Mail::Address, which tainted the
	  parsed address.  E-mail addresses are ASCII, so this 'locale'
	  thing seems flawed.

	- $adr->name will refuse charset-encoded names.  Found by [kappa]

	- Improve parse-regexes in Mail::Address. By [J Meyers] and me.
2006-01-15 00:31:31 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
wiz
930b62798f Update to 1.67:
version 1.67: Thu Mar 31 12:05:31 CEST 2005

	- Mail::Mailer unfolded the header before sending, which is
	  incorrect. Reported by [Byron Jones]

	- Mail::Header refolded already folded lines destroying
	  blanks.  Signaled by [Byron Jones]

Closes PR 29995.
2005-04-18 16:16:33 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adrianp
e3e4f416a7 - Update from 1.62 to 1.66
> version 1.66: Thu Jan 20 10:16:10 CET 2005
>
> 	- Extended explanation that Mail::Address is limited.
>
> 	- Added examples/mail-mailer.pl, contributed by [Bruno Negrão]
>
> 	- use Mail::Mailer qw(mail) sets default mailer.  Doc update by
> 	  [Slavan Rezic]
>
> 	- Mail::Mailer::smtp now can authenticate SSL [Aaron J. Mackey]
>
> version 1.65: Wed Nov 24 15:43:17 CET 2004
>
> 	- Remove "minimal" comments from Mail::Address
>
>         - [Dan Grillo] suggested some improvements to Mail::Address::name(),
> 	  and some more were added.
>
> 	- [Slavan Rezic] small typo.
>
> version 1.64: Tue Aug 17 22:24:22 CEST 2004
>
> 	- CPAN failed to index 1.63 correctly, so hopefully it will
> 	  work now.
>
> version 1.63: Mon Aug 16 17:28:15 CEST 2004
>
> 	- [Craig Davison] Fixed date format in Mail::Field::Date to
> 	  comply to the RFC
>
> 	- [Alex Vandiver] patched the email address parser to be able
> 	  to understand a list of addresses separated by ';', as Outlook
> 	  does. The ';' is the group separator, which was not understood
> 	  by MailTools before, but valid according to the RFCs.
>
> 	- [Torsten Luettgert] found that field labels like '-' where not
> 	  beautified correctly.
>
> 	- [Slavan Rezic] Updated doc in Mail::Mailer: referred to $command
> 	  which doesn't mean anything, and "testfile" is working differently.
>
> 	- [chris] Mail::Message::Field::wellformedName() will upper-case
> 	  *-ID as part in the fieldname.
2005-02-27 23:52:01 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
jlam
44ab01d690 Update mail/p5-MailTools to 1.62. Changes from versio 1.60 include:
- removed warning by Mail::Address::host() when no e-mail address
   is provided.
 - corrected the folding of lines: folds start only with one blank
   according to rfc2822.
 - Added a big warning against automatic sender email address detection
   as provided by Mail::Util::mailaddress().  Please explicitly set
   MAILADDRESS.
 - Mail::Address->format should quote phrases with weird character.
 - reported confusing error message when no MailerType was specified.
2004-08-02 21:43:53 +00:00
heinz
2e351abdac Added HOMEPAGE. Uses no compiler, so USE_LANGUAGES is empty. 2004-03-21 01:31:27 +00:00
minskim
93df0ff989 bl3fiy and enable pkgviews installation. 2004-02-19 22:17:39 +00:00
grant
a700c7b5d5 Updated p5-MailTools to 1.60.
Changes since 1.59:

version 1.60: Wed Sep 24 09:20:30 CEST 2003

        - [Henrique Martins] found that enclosing parenthesis were not
          correctly stripped when processing a Mail::Address.

        - [Tony Bowden] asked for a change in Mail::Address::name, where
          existing (probably correct) capitization is left intact.  The
          _extract_name() can be called as method, is needed, such that
          it can be extended.
2003-12-17 00:27:27 +00:00
chris
5c21c5dbd7 Update p5-MailTools to 0.59, changes are:
version 1.59: Wed Aug 13 08:13:00 CEST 2003

        - Patch by [Shafiek Rasdien] which adds Mail::Internet::smtpsend
          option MailFrom.

        - [Ziya Suzen] extended Mail::Mailer::test to provide more
          test information.

        - Added SWE (Sender Waranted E-mail) as abbreviation in field
          names which is always in caps, on request by [Ronnie Paskin]

        - Added SOAP and LDAP as abbreviation in field names which is
          always in caps.
2003-09-20 16:06:22 +00:00
martti
f928be280d COMMENT should start with a capital letter. 2003-07-21 16:56:41 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
shell
98eec88611 Updated p5-MailTools to 1.58
Changes :
- add utf8 support [Philip Molter]
- copyright notices fixed, date updated
- And again, the patches of Autrijus had to be adapted to run on
  a perl 5.6.1 installation.  Thanks to [Philip Molter]
- Mail::Util::maildomain() if no information about domains
  is found in sendmail.cf, no error should be reported.
  [Vaughn Skinner]
- Removed the possibility to use 'mailx', which was the
  default: removal from the detectionn routines and Mail/Mailer/mail.pm.
  Strongly suggested by [Sebastian Krahmer]
- Mail::Util::domainname() Patch to remove use of S variable from
  sendmail.cf, because its inclusion is contra-productive.
  [Timur Bakeyev]
- Mail::Util::domainname() Clean domain from sendmail.cf from
  trailing trash (if present) [Timur Bakeyev]
- Mail::Util::domainname()  Added environment variable MAILDOMAIN
  to overrule smart domain discovery. [Timur Bakeyev]
- Fixed some typos
- perl5.8.0 utf8 and unicode bugs fixed

* See ChangeLog for more details
2003-01-31 11:01:30 +00:00
seb
cf0b1c7919 Convert to buildlink2. Use perl5/module.mk. 2002-10-07 22:34:23 +00:00
mjl
327f4ae26f Update p5-MailTools to 1.49
- Mail::Mailer::_clean_up left an extra space behind each header line.
- Mail::Mailer::_clean_up trims folded headerlines on more than two lines.
- The fix for nested comments in Mail::Address's
  "Mark Overmeer <mailtools@overmeer.net> (mailtools maintainer)"
   was parsed into two separate objects
- Mail::Mailer::_cleanup_headers unfolds the header lines, but
  forgot to remove the indentation blanks
- Mail::Cap::new has two new options
- typo in Mail/Mailer/rfc822.pm
- Add Content-Disposition to the list of structured header fields
- Mail/Mailer/smtp.pm which enables the passing-on of args to Net::SMTP
2002-08-31 01:37:14 +00:00
mjl
cd3e145128 Update p5-MailTools to 1.44
* add -I to mailx for netbsd and openbsd too.
 * Do respect user's X-Mailer in Mail::Internet above own line.
 * Header-line without body lost line-separator in Mail::Header.pm
 * Found that I removed a blank before 'sub smtpsend' which caused
   AutoSplit to misbehave.
2002-05-15 22:48:19 +00:00
martti
1c9a11d453 Updated p5-MailTools to 1.43 (provided by Shell Hung in pkg/15543)
- Added debug option for Net::SMTP for Mail::Mail::smtp
- Removed active folding
- Documentations updated
2002-03-15 12:44:49 +00:00
martti
5f18835b9d Updated to 1.42 (provided by Shell Hung in pkg/14918)
Changes :
- Added Mail::Mailer::qmail
- Mail::Util now also tries sendmail option S for domainname
2001-12-12 14:44:29 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
martti
5925282446 Updated to version 1.41 (PR#14609). Changes since 1.15:
- Mail::Util::maildomain did not expand variables.  Fixed the
  regular expression.  Reported by [Jean-Damien Durand]

- [Henrik Gemal] wished better warnings in Mail::Address::parse,
  which are provided now.

- [Lucas Nussbaum] reported incorrect folding of unstructured
  header lines.  The whole idea of folder unstructured fields
  is flawed, as far as I know, but anyway noone apparantly had
  sufficient long subject fields to find-out ;)
  Fixed in Mail::Mailer.

- mailaddress defaults to username, not gcos in Mail/Util.pm
  Patched by [Vivek Khera]

- Increased all version-numbers to show that maintainer-address
  did change.   Suggested by [Tassilo v Parseval]

- Updated all manual-pages to include address of new maintainer.

- Prohibition to modify header should be respected in Mail::Header.
  Patch by [Tatsuhiko Miyagawa]

- Securely close socket in Mail::Mailer::smtp.
  Patch by [Heikki Korpela]

- Fixed "bad file-descriptor" errors in Mail::Mailer::smtp.
  Patch by [Aaron J Mackey]

- Some long header-lines caused the following line in the header
  to be indented too.  This should be fixed.
  Reported by [Simon Cozens]

- Small modifications to Mail::Mailer should make the module
  work for os2.  Patch by [Ilya Zakharevich]

- Fix to be able to specify an index at the first addition of
  a header-line to the Mail::Header structure.
  Patch by [Lucas Fisher]
2001-11-22 09:12:37 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
df35efafd0 Use a wildcard dependency instead of hard-coding just p5-Net-1.0703. 2001-09-27 03:54:50 +00:00
agc
b26a4eb88b Move to sha1 digests, and add distfile sizes. 2001-04-20 13:09:54 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
mjl
226143840d Update to 1.15 2001-03-25 07:23:18 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
427e68b4ca fix BUILD_DEPENDS line 2000-09-03 15:08:13 +00:00
jlam
7329d4eff0 Fix unterminated C<...> macro caught by pod2man. 2000-08-29 00:17:03 +00:00
jlam
18cba9d7fa Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently
correctly.

As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs.  It's now easier than ever to make a perl5
package for NetBSD :)
2000-08-27 07:10:59 +00:00
agc
4cffd86a29 When multi-line dependencies occur, use a "DEPENDS+= package" format
for each of the continuation lines, rather than using backslashes to
continue a single, long definition. This makes it much easier to spot
pre-requisite packages and other dependencies.
2000-02-15 09:26:12 +00:00
rh
3f73b3f5d6 Update p5-MailTools to 1.13.
Changes include:
        Mail::Header
        - fold_line now skips X-Face lines

        Mail::Filter
        - Applied patch from <pncu_ss@uhura.cc.rochester.edu> (Josh Pincus)
          * Added return value to _filter() so that the function returns
            the result of the last subroutine in the list of filters.
            (the manpage specifies that one should have been able to do this
            originally.)

        Mail::Mailer
        - Treat VMS the same as MacOS as neither have sendmail et al.

        Mail::Mailer::smtp
        - Server can now be specified to Mail::Mailer contructor

        Mail::Alias, Mail::Util,Mail:Internet, Mail::Cap
        - local-ize some globals used

        Mail::Cap
        - check in $ENV{HOME} is defined

        Mail::Address
        - Fix capitalization problems with names like "Lie<DF>egang"

        Mail::Address
        - Fix use of uninitialized warning

        Update Makefile.PL for release 1.12

        Mail::Internet
        - Added options to smtpsend

        Mail::Send
        - Updated docs for 'smtp'

        Mail::Header
        - Fix _fold_line for lines which contain quoted strings

        Mail::Address
        - avoid warnings if undef is passed to parse()

        Mail::Address
        - tweak to format to ensure comment is delimeted by ()
        - typo in docs

        - Documentation update to Mail::Internet

        Mail::Cap
        - Fixed mailcap search so it works on MacOS

        Mail::Mailer
        - Change to use Mail::Util::mailaddress

        Mail::Util
        - updated mailaddess to be aware of MacOS

        Mail::Header
        - fix read(0 and extract() not to require non-whitespace characters
          on continuation lines, a single leading whitespace char is all
          that is needed.

        - Applied patch from Roderick Schertler to

         - Two places in Mail::Header are changed so they don't use $'.

         - A Mail::Header::as_string method is added.

         - Mail::Internet::as_string and as_mbox_string methods are added.
           The mbox variant does encoding appropriate for appending a message
           to a Unix mbox file.

         - Tests for the three new methods are added.

        Mail::Util
        - tweak to what maildomain looks for in the sendmail config file

        Mail::Address
        - Split out real handlers into thier own .pm files
        - Added Mail::Mailer::smtp, this is the default for MacOS

        Mail::Mailer
        - Applied patch from Slaven Rezic <eserte@cs.tu-berlin.de> to support
          FreeBSD properly


        Mail::Address
        - Applied patch from Chuck O'Donnell to improve name extraction

        t/extract.t
        - change for new extraction

        bin/*.PL
        - change "#!$Config{'scriptdir'}/perl -w\n" ot
          $Config{'startperl'}," -w\n"

        Mail::Field
        - modified so it works with perl < 5.004

        Makefile.PL
        - removed code to prevent installation of Mail::Field

        Mail::Header
        - Added \Q and \E to some regexp's

        Mail::Mailer
        - Added patch from Jeff Slovin to pass correct args to mailx on DG/UX
1999-12-01 17:23:41 +00:00
bad
00b15d99ca Some cleanup:
i386-netbsd -> ${MACHINE_ARCH}-${LOWER_OPSYS}
MACHINE_GNU_ARCH -> MACHINE_ARCH
/./ -> /
1999-09-07 14:49:42 +00:00
tron
23e0063766 Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-15 20:39:38 +00:00
agc
79e49eaba2 s/netbsd/${LOWER_OPSYS}/g 1999-04-08 18:51:48 +00:00
bouyer
5327688350 Initial import of Mailtools perl5 module, methods to parse RFC822 compliant
mail messages, and a few other things.
1999-02-08 11:10:20 +00:00