LaceMail->PerlMail
authorshort <>
Sun, 19 Oct 2003 13:48:01 +0000 (13:48 +0000)
committershort <>
Sun, 19 Oct 2003 13:48:01 +0000 (13:48 +0000)
configure.ac
project/Makefile.am
project/PerlMail/Index.html.pl [new file with mode: 0755]
project/PerlMail/ListItem.pm [new file with mode: 0755]
project/PerlMail/Makefile.am [new file with mode: 0644]

index 1358729..a4b1390 100644 (file)
@@ -68,7 +68,7 @@ Makefile
 ./project/cvsutil/Makefile
 ./project/cvsbranchdiff/Makefile
 ./project/ppp9k/Makefile
-./project/LaceMail/Makefile
+./project/PerlMail/Makefile
 ./project/line9k/Makefile
 ./project/captive/Makefile
 ./project/captive/apiref/Makefile
index ac6bb62..85a159e 100644 (file)
@@ -54,7 +54,7 @@ SUBDIRS= \
                cvsutil         \
                cvsbranchdiff   \
                ppp9k           \
-               LaceMail        \
+               PerlMail        \
                line9k          \
                captive         \
                PortDiag        \
diff --git a/project/PerlMail/Index.html.pl b/project/PerlMail/Index.html.pl
new file mode 100755 (executable)
index 0000000..1f1967c
--- /dev/null
@@ -0,0 +1,39 @@
+#! /usr/bin/perl
+# 
+# $Id$
+# Main page of 'My::Project::PerlMail'
+# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# 
+# 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; exactly version 2 of June 1991 is required
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+package project::PerlMail::Index;
+require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
+our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
+our $CVS_ID=q$Id$;
+use strict;
+use warnings;
+
+BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
+use My::Web;
+Wuse 'My::Project';
+Wuse 'project::PerlMail::ListItem';
+
+
+My::Project->init_project(
+               "__PACKAGE__"=>__PACKAGE__,
+               "ListItem"=>\@project::PerlMail::ListItem::ListItem,
+               );
+
+My::Web->footer();
diff --git a/project/PerlMail/ListItem.pm b/project/PerlMail/ListItem.pm
new file mode 100755 (executable)
index 0000000..c0bb03b
--- /dev/null
@@ -0,0 +1,54 @@
+#! /usr/bin/perl
+# 
+# $Id$
+# Definition of 'My::Project::PerlMail' for list.cgi.pl
+# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# 
+# 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; exactly version 2 of June 1991 is required
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+package project::PerlMail::ListItem;
+require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
+our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
+our $CVS_ID=q$Id$;
+use strict;
+use warnings;
+
+use My::Web;
+
+
+our @ListItem=(
+               "name"=>"PerlMail",
+               "platform"=>"unixuser",
+               "priority"=>640,
+               "cvs"=>"PerlMail",
+               # FIXME: 'http://cvs.jankratochvil.net/viewcvs/' -> $W->{"project_viewcvs"}
+               "link-README"=>'http://cvs.jankratochvil.net/viewcvs/'."*checkout*/PerlMail/README?rev=HEAD",
+               "summary"=>"Perl mail processor - ".a_href('http://www.procmail.org/','procmail')."(1) successor",
+               "license"=>"GPL",
+               "maintenance"=>"ready",
+               "language"=>"Perl",
+               "description"=><<"HERE",
+<p>Successor to @{[ a_href 'http://www.procmail.org/','procmail' ]}(1)
+and @{[ a_href 'http://search.cpan.org/author/SIMON/Mail-Audit-2.1/','Mail::Audit' ]}.
+It supports @{[ a_href 'http://www.perl.org/','Perl' ]}-rules filtering, dynamic client IP,
+mobile SMS forwarding, @{[ a_href 'http://www.mutt.org/','Mutt' ]} integration,
+@{[ a_href 'http://www.nokia.com/phones/9110i','Nokia Communicator' ]} contacts directory integration.</p>
+<p>Use if you like: <span class="quote">
+       @{[ CGI::escapeHTML(q{store "=spam" if ($_=mimehead(body_first())->mime_attr("Content-Type")) && m#text/html#i;}) ]}
+       </span></p>
+HERE
+               );
+
+1;
diff --git a/project/PerlMail/Makefile.am b/project/PerlMail/Makefile.am
new file mode 100644 (file)
index 0000000..5b04f16
--- /dev/null
@@ -0,0 +1,23 @@
+# $Id$
+# automake source for the Makefile of project/PerlMail/ subdir
+# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# 
+# 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; exactly version 2 of June 1991 is required
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+include $(top_srcdir)/Makefile-head.am
+
+EXTRA_DIST+= \
+       ListItem.pm \
+       Index.html.pl