+project harpy
authorshort <>
Tue, 13 Dec 2005 05:26:13 +0000 (05:26 +0000)
committershort <>
Tue, 13 Dec 2005 05:26:13 +0000 (05:26 +0000)
project/harpy/Index.pm [new file with mode: 0644]
project/harpy/Makefile.am [new file with mode: 0644]

diff --git a/project/harpy/Index.pm b/project/harpy/Index.pm
new file mode 100644 (file)
index 0000000..e1ec273
--- /dev/null
@@ -0,0 +1,70 @@
+# $Id$
+# Main page of 'My::Project::harpy'
+# Copyright (C) 2005 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::harpy::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;
+
+use My::Web;
+Wuse 'project::Lib';
+Wrequire 'product::Lib';
+
+
+our @ListItem=(
+               "name"=>"harpy",
+               "platform"=>"unixuser",
+               "priority"=>486,
+               "cvs"=>"harpy",
+               # FIXME: 'http://cvs.jankratochvil.net/viewcvs/' -> $W->{"project_viewcvs"}
+               "link-Source file"=>'http://cvs.jankratochvil.net/viewcvs/'."harpy/harpy?rev=HEAD",
+               "summary"=>"ARP spoofer of nonexisting ethernet addresses",
+               "license"=>"GPL",
+               "maintenance"=>"ready",
+               "language"=>"Perl",
+               "description"=>sub { return <<"HERE"; },
+<p>Would you like to setup so-called <b>proxyarp</b> but you do not know the specific
+address as you need to <b>proxyarp</b> any address anybody would ask for?
+It may be useful for @{[ 'Plug&nbsp;&amp;&nbsp;Play' ]}-like zero-configuration networks.</p>
+<p>This project is a GPLed part of my product:
+@{[ a_href '/product/hotelgate/',product::Lib->title(product::Lib->name_to_hashref("hotelgate")) ]}</p>
+HERE
+               );
+
+sub handler
+{
+project::Lib->init();
+
+
+my $hotelgate_title=product::Lib->title(product::Lib->name_to_hashref("hotelgate"));
+print <<"HERE";
+<table border="0" class="margin-center td-center">
+       <tr><td>@{[
+               img '/product/hotelgate/Admin-Login-icon.jpeg',$hotelgate_title,
+                               "a_href"=>'/product/hotelgate/'
+               ]}</td></tr>
+       <tr><td style="font-size: xx-large;">@{[ a_href '/product/hotelgate/',$hotelgate_title ]}</td></tr>
+</table>
+HERE
+
+
+exit;
+}
+1;
diff --git a/project/harpy/Makefile.am b/project/harpy/Makefile.am
new file mode 100644 (file)
index 0000000..aaebfdc
--- /dev/null
@@ -0,0 +1,23 @@
+# $Id$
+# automake source for the Makefile of project/harpy/ 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
+
+MODPERL_PM+= \
+               Index.pm
+