From: short <> Date: Sun, 6 Jun 2004 20:00:22 +0000 (+0000) Subject: +udpgate X-Git-Tag: bp_apache20~34 X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=ebac4d999d730ab597669b85ec2810d2bf2bead3 +udpgate --- diff --git a/configure.ac b/configure.ac index 96742c0..57922d6 100644 --- a/configure.ac +++ b/configure.ac @@ -104,6 +104,7 @@ Makefile ./project/etherealwsp/Makefile ./project/libxml2reader/Makefile ./project/ntfsprogsgnomevfs/Makefile +./project/udpgate/Makefile ]) echo done. diff --git a/project/Makefile.am b/project/Makefile.am index 670045a..5691c1d 100644 --- a/project/Makefile.am +++ b/project/Makefile.am @@ -85,7 +85,8 @@ SUBDIRS= \ etherealmmse \ etherealwsp \ libxml2reader \ - ntfsprogsgnomevfs + ntfsprogsgnomevfs \ + udpgate EXTRA_DIST+= \ Index.html.pl \ diff --git a/project/udpgate/Index.html.pl b/project/udpgate/Index.html.pl new file mode 100755 index 0000000..e69f7a5 --- /dev/null +++ b/project/udpgate/Index.html.pl @@ -0,0 +1,39 @@ +#! /usr/bin/perl +# +# $Id$ +# Main page of 'My::Project::udpgate' +# Copyright (C) 2004 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; + +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::udpgate::ListItem'; + + +My::Project->init_project( + "__PACKAGE__"=>__PACKAGE__, + "ListItem"=>\@project::udpgate::ListItem::ListItem, + ); + +My::Web->footer(); diff --git a/project/udpgate/ListItem.pm b/project/udpgate/ListItem.pm new file mode 100755 index 0000000..d38a0fa --- /dev/null +++ b/project/udpgate/ListItem.pm @@ -0,0 +1,53 @@ +#! /usr/bin/perl +# +# $Id$ +# Definition of 'My::Project::udpgate' for list.cgi.pl +# Copyright (C) 2004 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::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"=>"udpgate", + "platform"=>"unixuser", + "priority"=>505, + "download-i386 static binary"=>"dist/udpgate-1.0", + "download-gzipped i386 static binary"=>"dist/udpgate-1.0.gz", + "download-i386 static RPM package"=>"dist/udpgate-1.0-0.i386.rpm", + "download-sources RPM package"=>"dist/udpgate-1.0-0.src.rpm", + "download-sources .tar.gz"=>"dist/udpgate-1.0.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 system startup. +Program is provided only with fixed server address. +

+HERE + ); + +1; diff --git a/project/udpgate/Makefile.am b/project/udpgate/Makefile.am new file mode 100644 index 0000000..86e2c60 --- /dev/null +++ b/project/udpgate/Makefile.am @@ -0,0 +1,23 @@ +# $Id$ +# automake source for the Makefile of project/udpgate/ subdir +# Copyright (C) 2004 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 diff --git a/project/udpgate/dist/.htaccess b/project/udpgate/dist/.htaccess new file mode 100644 index 0000000..fa8accb --- /dev/null +++ b/project/udpgate/dist/.htaccess @@ -0,0 +1,6 @@ + + + csacekEngine Off + + ForceType application/octet-stream + diff --git a/project/udpgate/dist/udpgate-1.0 b/project/udpgate/dist/udpgate-1.0 new file mode 100755 index 0000000..7063276 Binary files /dev/null and b/project/udpgate/dist/udpgate-1.0 differ diff --git a/project/udpgate/dist/udpgate-1.0-0.i386.rpm b/project/udpgate/dist/udpgate-1.0-0.i386.rpm new file mode 100644 index 0000000..9ba5de6 Binary files /dev/null and b/project/udpgate/dist/udpgate-1.0-0.i386.rpm differ diff --git a/project/udpgate/dist/udpgate-1.0-0.src.rpm b/project/udpgate/dist/udpgate-1.0-0.src.rpm new file mode 100644 index 0000000..87b33e7 Binary files /dev/null and b/project/udpgate/dist/udpgate-1.0-0.src.rpm differ diff --git a/project/udpgate/dist/udpgate-1.0.gz b/project/udpgate/dist/udpgate-1.0.gz new file mode 100644 index 0000000..290b04b Binary files /dev/null and b/project/udpgate/dist/udpgate-1.0.gz differ diff --git a/project/udpgate/dist/udpgate-1.0.tar.gz b/project/udpgate/dist/udpgate-1.0.tar.gz new file mode 100644 index 0000000..101ceb0 Binary files /dev/null and b/project/udpgate/dist/udpgate-1.0.tar.gz differ