From: short <> Date: Tue, 13 Dec 2005 05:26:13 +0000 (+0000) Subject: +project harpy X-Git-Url: https://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=157b3b4c473b5492013a30162495f89c81f5066f +project harpy --- diff --git a/project/harpy/Index.pm b/project/harpy/Index.pm new file mode 100644 index 0000000..e1ec273 --- /dev/null +++ b/project/harpy/Index.pm @@ -0,0 +1,70 @@ +# $Id$ +# Main page of 'My::Project::harpy' +# Copyright (C) 2005 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::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"; }, +

Would you like to setup so-called proxyarp but you do not know the specific +address as you need to proxyarp any address anybody would ask for? +It may be useful for @{[ 'Plug & Play' ]}-like zero-configuration networks.

+

This project is a GPLed part of my product: +@{[ a_href '/product/hotelgate/',product::Lib->title(product::Lib->name_to_hashref("hotelgate")) ]}

+HERE + ); + +sub handler +{ +project::Lib->init(); + + +my $hotelgate_title=product::Lib->title(product::Lib->name_to_hashref("hotelgate")); +print <<"HERE"; + + + +
@{[ + img '/product/hotelgate/Admin-Login-icon.jpeg',$hotelgate_title, + "a_href"=>'/product/hotelgate/' + ]}
@{[ a_href '/product/hotelgate/',$hotelgate_title ]}
+HERE + + +exit; +} +1; diff --git a/project/harpy/Makefile.am b/project/harpy/Makefile.am new file mode 100644 index 0000000..aaebfdc --- /dev/null +++ b/project/harpy/Makefile.am @@ -0,0 +1,23 @@ +# $Id$ +# automake source for the Makefile of project/harpy/ 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 + +MODPERL_PM+= \ + Index.pm +