+project staticbuild
[www.jankratochvil.net.git] / project / udpgate / Index.pm
1 # $Id$
2 # Main page of 'My::Project::udpgate'
3 # Copyright (C) 2004-2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 package project::udpgate::Index;
20 require 5.6.0;  # at least 'use warnings;' but we need some 5.6.0+ modules anyway
21 our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
22 our $CVS_ID=q$Id$;
23 use strict;
24 use warnings;
25
26 use My::Web;
27 Wuse 'project::Lib';
28
29
30 our @ListItem=(
31                 "name"=>"udpgate",
32                 "platform"=>"unixuser",
33                 "priority"=>505,
34                 "download-i386 static binary"=>"dist/udpgate-1.1",
35                 "download-gzipped i386 static binary"=>"dist/udpgate-1.1.gz",
36                 "download-i386 static RPM package"=>"dist/udpgate-1.1-0.i386.rpm",
37                 "download-sources RPM package"=>"dist/udpgate-1.1-0.src.rpm",
38                 "download-sources .tar.gz"=>"dist/udpgate-1.1.tar.gz",
39                 "download-Fedora Core 4 static builder"=>"dist/build-udpgate-static-2005-11-14-00.tar.gz",
40                 "cvs"=>"udpgate",
41                 "summary"=>"UDP packets gateway",
42                 "license"=>"GPL",
43                 "maintenance"=>"ready",
44                 "language"=>"C",
45                 "description"=><<"HERE",
46 <p>UDP Gate will forward packets from arbitrary clients to a single UDP server.
47 Features optional Gnome user interface and automatic invocation during system startup.
48 Program is provided only with fixed server address.
49 </p>
50 HERE
51                 );
52
53 sub handler
54 {
55 project::Lib->init();
56
57
58 sub projectname($)
59 {
60 my($name)=@_;
61
62         return a_href "/project/$name/",project::Lib->title(project::Lib->name_to_hashref($name));
63 }
64
65 print <<"HERE";
66 <p>Package 'build-udpgate-static' above is in fact obsolete, for further versions it will
67 get replaced by the target project neutral:</p>
68 <blockquote>
69         <p>@{[ projectname "staticbuild" ]}</p>
70 </blockquote>
71 HERE
72
73
74 exit;
75 }
76 1;