From: short <> Date: Sun, 19 Oct 2003 13:48:01 +0000 (+0000) Subject: LaceMail->PerlMail X-Git-Url: https://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=5e3b00f9383caf99795a3758d10ea87495050696 LaceMail->PerlMail --- diff --git a/configure.ac b/configure.ac index 1358729..a4b1390 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/project/Makefile.am b/project/Makefile.am index ac6bb62..85a159e 100644 --- a/project/Makefile.am +++ b/project/Makefile.am @@ -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 index 0000000..1f1967c --- /dev/null +++ b/project/PerlMail/Index.html.pl @@ -0,0 +1,39 @@ +#! /usr/bin/perl +# +# $Id$ +# Main page of 'My::Project::PerlMail' +# Copyright (C) 2003 Jan Kratochvil +# +# 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/,)[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 index 0000000..c0bb03b --- /dev/null +++ b/project/PerlMail/ListItem.pm @@ -0,0 +1,54 @@ +#! /usr/bin/perl +# +# $Id$ +# Definition of 'My::Project::PerlMail' for list.cgi.pl +# Copyright (C) 2003 Jan Kratochvil +# +# 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", +

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.

+

Use if you like: + @{[ CGI::escapeHTML(q{store "=spam" if ($_=mimehead(body_first())->mime_attr("Content-Type")) && m#text/html#i;}) ]} +

+HERE + ); + +1; diff --git a/project/PerlMail/Makefile.am b/project/PerlMail/Makefile.am new file mode 100644 index 0000000..5b04f16 --- /dev/null +++ b/project/PerlMail/Makefile.am @@ -0,0 +1,23 @@ +# $Id$ +# automake source for the Makefile of project/PerlMail/ subdir +# Copyright (C) 2003 Jan Kratochvil +# +# 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