You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2009/07/16 23:50:58 UTC
svn commit: r794881 - in /spamassassin/trunk: META.yml Makefile.PL
Author: jm
Date: Thu Jul 16 21:50:57 2009
New Revision: 794881
URL: http://svn.apache.org/viewvc?rev=794881&view=rev
Log:
bug 6130: META.yml should contain additional useful metadata about the project, bug tracker, license, mailing lists etc
Modified:
spamassassin/trunk/META.yml
spamassassin/trunk/Makefile.PL
Modified: spamassassin/trunk/META.yml
URL: http://svn.apache.org/viewvc/spamassassin/trunk/META.yml?rev=794881&r1=794880&r2=794881&view=diff
==============================================================================
--- spamassassin/trunk/META.yml (original)
+++ spamassassin/trunk/META.yml Thu Jul 16 21:50:57 2009
@@ -1,58 +1,58 @@
--- #YAML:1.0
-# http://module-build.sourceforge.net/META-spec.html
-# http://module-build.sourceforge.net/META-spec-blead.html
-#
-name: Mail-SpamAssassin
-version: 3.003000
-version_from: lib/Mail/SpamAssassin.pm
-abstract: SpamAssassin is an extensible email filter which is used to identify spam
-license: apache
-
-requires:
- Digest::SHA1: 0
- Errno: 0
- File::Copy: 2.02
- File::Spec: 0.8
- HTML::Parser: 3.43
- Net::DNS: 0.34
- NetAddr::IP: 0
- Pod::Usage: 1.1
- Sys::Hostname: 0
- Time::HiRes: 0
- Time::Local: 0
-
-recommends:
- MIME::Base64: 0
- DB_File: 0
- Net::SMTP: 0
- Mail::SPF: 0
- IP::Country::Fast: 0
- Razor2::Client::Agent: 2.61
- Net::Ident: 0
- IO::Socket::INET6: 0
- IO::Socket::SSL: 0
- Compress::Zlib: 0
- Mail::DKIM: 0.28
- DBI: 0
- Getopt::Long: 2.32
- LWP::UserAgent: 0
- HTTP::Date: 0
- Archive::Tar: 1.23
- IO::Zlib: 1.04
- Encode::Detect: 0
-
-installdirs: site
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.30_01
+name: Mail-SpamAssassin
+version: 3.003000
+abstract: SpamAssassin is an extensible email filter which is used to identify spam
author:
- - The Apache SpamAssassin Project <dev at spamassassin.apache.org>
-
+ - The Apache SpamAssassin Project <de...@spamassassin.apache.org>
+license: apache
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+requires:
+ Archive::Tar: 1.23
+ Digest::SHA1: 0
+ Errno: 0
+ File::Copy: 2.02
+ File::Spec: 0.8
+ HTML::Parser: 3.43
+ Net::DNS: 0.34
+ NetAddr::IP: 0
+ Pod::Usage: 1.1
+ Sys::Hostname: 0
+ Time::HiRes: 0
+ Time::Local: 0
resources:
- homepage: http://SpamAssassin.apache.org/
- bugtracker: http://issues.apache.org/SpamAssassin/
-
+ bugtracker: https://issues.apache.org/SpamAssassin/
+ homepage: http://spamassassin.apache.com/
+ license: http://www.apache.org/licenses/LICENSE-2.0.html
+ MailingList: http://wiki.apache.org/spamassassin/MailingLists
+ repository: http://svn.apache.org/repos/asf/spamassassin/
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.54
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
-
-
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+recommends:
+ Archive::Tar: 1.23
+ Compress::Zlib: 0
+ DB_File: 0
+ DBI: 0
+ Encode::Detect: 0
+ Getopt::Long: 2.32
+ HTTP::Date: 0
+ IO::Socket::INET6: 0
+ IO::Socket::SSL: 0
+ IO::Zlib: 1.04
+ IP::Country::Fast: 0
+ LWP::UserAgent: 0
+ Mail::DKIM: 0.28
+ Mail::SPF: 0
+ MIME::Base64: 0
+ Net::Ident: 0
+ Net::SMTP: 0
+ Razor2::Client::Agent: 2.61
Modified: spamassassin/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/spamassassin/trunk/Makefile.PL?rev=794881&r1=794880&r2=794881&view=diff
==============================================================================
--- spamassassin/trunk/Makefile.PL (original)
+++ spamassassin/trunk/Makefile.PL Thu Jul 16 21:50:57 2009
@@ -232,7 +232,7 @@
},
'AUTHOR' => 'The Apache SpamAssassin Project <dev at spamassassin.apache.org>',
- 'ABSTRACT' => 'SpamAssassin is an extensible email filter which is used to identify spam.',
+ 'ABSTRACT' => 'SpamAssassin is an extensible email filter which is used to identify spam',
# We have only this Makefile.PL and this option keeps MakeMaker from
# asking all questions twice after a 'make dist*'.
@@ -320,6 +320,41 @@
#######################################################################
+$makefile{META_MERGE} = {
+ license => 'apache',
+
+ resources => {
+ license => 'http://www.apache.org/licenses/LICENSE-2.0.html',
+ homepage => 'http://spamassassin.apache.com/',
+ bugtracker => 'https://issues.apache.org/SpamAssassin/',
+ repository => 'http://svn.apache.org/repos/asf/spamassassin/',
+ MailingList => 'http://wiki.apache.org/spamassassin/MailingLists',
+ },
+
+ recommends => {
+ 'MIME::Base64' => 0,
+ 'DB_File' => 0,
+ 'Net::SMTP' => 0,
+ 'Mail::SPF' => 0,
+ 'IP::Country::Fast' => 0,
+ 'Razor2::Client::Agent' => 2.61,
+ 'Net::Ident' => 0,
+ 'IO::Socket::INET6' => 0,
+ 'IO::Socket::SSL' => 0,
+ 'Compress::Zlib' => 0,
+ 'Mail::DKIM' => 0.28,
+ 'DBI' => 0,
+ 'Getopt::Long' => 2.32,
+ 'LWP::UserAgent' => 0,
+ 'HTTP::Date' => 0,
+ 'Archive::Tar' => 1.23,
+ 'IO::Zlib' => 1.04,
+ 'Encode::Detect' => 0
+ }
+};
+
+#######################################################################
+
# Now finish the meta hash and dump the Makefile
$makefile{EXE_FILES} = [ values %{$makefile{EXE_FILES}} ];
$makefile{AUTHOR} =~ s/(<.+) at (.+>)/$1\@$2/;
@@ -431,7 +466,7 @@
# If it is omitted, the value set in the current EU::MM instance is used.
sub macro_def {
my($name, $val) = (@_, undef);
- my $MUST_NOT_HAPPEN = "THIS MUST NOT HAPPEN. PLEASE REPORT A BUG VIA <http://issues.apache.org/SpamAssassin/>";
+ my $MUST_NOT_HAPPEN = "THIS MUST NOT HAPPEN. PLEASE REPORT A BUG VIA <https://issues.apache.org/SpamAssassin/>";
die $MUST_NOT_HAPPEN unless defined $name;
die $MUST_NOT_HAPPEN unless defined $EQ;
$val = $SELF->{$name} unless defined $val;