summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-09-28 16:14:57 +0000
committer Eric Hameleers <alien@slackware.com>2007-09-28 16:14:57 +0000
commit6f64a9bfe08be62104738927b6e012b0f974fa3e (patch)
treebc2d902e2c13f42f55b54a571cb744c6f8d4916a
parentb58a1a8adfec90b8cf6c299152976bcf03b5272a (diff)
downloadasb-6f64a9bfe08be62104738927b6e012b0f974fa3e.tar.gz
asb-6f64a9bfe08be62104738927b6e012b0f974fa3e.tar.xz
Remove useless messages in the footer of the cgi script
-rw-r--r--ipcalc/build/ipcalc-0.41_cgi_urls.patch37
1 files changed, 33 insertions, 4 deletions
diff --git a/ipcalc/build/ipcalc-0.41_cgi_urls.patch b/ipcalc/build/ipcalc-0.41_cgi_urls.patch
index e59a4e7e..013d237a 100644
--- a/ipcalc/build/ipcalc-0.41_cgi_urls.patch
+++ b/ipcalc/build/ipcalc-0.41_cgi_urls.patch
@@ -1,11 +1,20 @@
---- ipcalc-0.41/ipcalc.cgi.orig 2007-09-28 16:49:48.000000000 +0200
-+++ ipcalc-0.41/ipcalc.cgi 2007-09-28 17:02:51.000000000 +0200
+--- ipcalc-0.41/ipcalc.cgi.orig 2006-07-27 11:42:13.000000000 +0200
++++ ipcalc-0.41/ipcalc.cgi 2007-09-28 18:14:44.000000000 +0200
+@@ -40,7 +40,7 @@
+ # 0.26 27.07.2006 Replaced REQUEST_URI with SCRIPT_URL to prevent cross-site-scripting attacks
+
+ $|=1;
+-$ipcalc = "/usr/local/bin/ipcalc";
++$ipcalc = "/usr/bin/ipcalc";
+ $MAIL_ADDRESS="ipcalc-200502&#64;jodies.de";
+ # history:
+ # 200404
@@ -122,7 +122,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
<title>IP Calculator / IP Subnetting</title>
- <link rel="shortcut icon" href="http://jodies.de/favicon.ico">
-+ <link rel="shortcut icon" href="ipcalc.ico">
++ <link rel="shortcut icon" href="/ipcalc.ico">
<script language="JavaScript" type="text/javascript">
<!--
function setFocus()
@@ -14,7 +23,27 @@
<tr>
<td valign="top">&nbsp;</td>
-<td><a href="http://jodies.de/ipcalc"><img src="ipcal03.gif" align=right width=100 height=95 border=0 alt=""></a></td></tr>
-+<td><a href="http://jodies.de/ipcalc"><img src="ipcalc.gif" align=right width=100 height=95 border=0 alt=""></a></td></tr>
++<td><a href="http://jodies.de/ipcalc"><img src="/ipcalc.gif" align=right width=100 height=95 border=0 alt=""></a></td></tr>
</table>
EOF
if ($help) {
+@@ -333,18 +333,12 @@
+
+ <td nowrap valign=top>
+ <a href="http://jodies.de/ipcalc">
+- <img src="ipcalculator.png" alt="Thanks to http://www.netzwerkinfo.de/daemons/ for this ip calculator icon :-)" border=0></a><br>
++ <img src="/ipcalculator.png" alt="Thanks to http://www.netzwerkinfo.de/daemons/ for this ip calculator icon :-)" border=0></a><br>
+ <tt><span style="font-size: 8pt;">Version $version</span></tt></td>
+ </tr>
+ </table>
+ <hr>
+ <a href="http://jodies.de/ipcalc-archive/">Download</a><br>
+-<a href="ipcalc.png">Screenshot</a> (ipcalc works also at the prompt)<br>
+-<a href="http://jodies.de/ipcalc_cgi">CGI wrapper that produced this page</a>.<br>
+-<a href="ipcalc-archive">Archive</a><br>
+-Have a look in the archives for the <b>new version 0.38</b>, with the capability to deaggregate network ranges<br>
+-<a href="ipcalc-faq/win32.html">How to run this under windows</a><br>
+-Debian users can apt-get install ipcalc<br>
+ 2000-2004 <a href="mailto:$MAIL_ADDRESS">Krischan Jodies</a>
+
+ </td></tr></table>