# $Id$ # Main page of 'My::Project::udpgate' # Copyright (C) 2004-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::udpgate::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'; our @ListItem=( "name"=>"udpgate", "platform"=>"unixuser", "priority"=>505, "download-i386 static binary"=>"dist/udpgate-1.1.1", "download-gzipped i386 static binary"=>"dist/udpgate-1.1.1.gz", "download-sources .tar.gz"=>"dist/udpgate-1.1.1.tar.gz", "download-Fedora Core 4 static builder"=>"dist/build-udpgate-static-2005-11-14-00.tar.gz", "cvs"=>"udpgate", "summary"=>"UDP packets gateway", "license"=>"GPL", "maintenance"=>"ready", "language"=>"C", "description"=><<"HERE",

UDP Gate will forward packets from arbitrary clients to a single UDP server. Features optional Gnome user interface and automatic invocation during system startup. Program is provided only with fixed server address.

HERE ); sub handler { project::Lib->init(); sub projectname($) { my($name)=@_; return a_href "/project/$name/",project::Lib->title(project::Lib->name_to_hashref($name)); } print <<"HERE";

Package 'build-udpgate-static' above is in fact obsolete, for further versions it will get replaced by the target project neutral:

@{[ projectname "staticbuild" ]}

HERE my $mms2_title=product::Lib->title(product::Lib->name_to_hashref("mms2")); print <<"HERE";

This project was created for the purposes of:

@{[ img '/product/mms2/icon.jpeg',$mms2_title, "a_href"=>'/product/mms2/' ]}
@{[ a_href '/product/mms2/',$mms2_title ]}
HERE exit; } 1;