Package: ipcalc
Version: 0.37-1
Severity: wishlist
Tags: patch

Hi

There is a new verison of ipcalc available (version 0.38).
Also, a new version of ipcalc CGI is available
(http://jodies.de/ipcalc_cgi)

To close bug number #288332, just apply this patch to ipcalc_cgi (based
on latest version 0.23 of the CGI wrapper)

--- ipcalc_cgi  2005-01-18 17:21:05.000000000 -0200
+++ ipcalc_cgi.new      2005-02-06 18:04:05.000000000 -0200
@@ -13,7 +13,7 @@
 #                   Idea by David Shirlay David.Shirley(a)team.telstra.com

 $|=1;
-$ipcalc = "/usr/local/bin/ipcalc";
+$ipcalc = "/usr/bin/ipcalc";
 $MAIL_ADDRESS="ipcalc-200411@jodies.de";
 # history:
 # 200404
@@ -92,7 +92,7 @@
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
    <title>IP Calculator / IP Subnetting</title>
-   <link rel="stylesheet" type="text/css" href="/styles.css">
+   <link rel="stylesheet" type="text/css" href="http://jodies.de/styles.css";>
    <link rel="shortcut icon" href="http://jodies.de/favicon.ico";>
    <script language="JavaScript" type="text/javascript">
       <!--
@@ -117,7 +117,7 @@
 <table border=0 width=100%>
 <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></a></td></tr>
+<td><a href="http://jodies.de/ipcalc";><img src="http://jodies.de/ipcal03.gif"; 
align=right width=100 height=95 border=0></a></td></tr>
 </table>
 EOF
 if ($help) {
@@ -239,17 +239,17 @@

   <td nowrap valign=top valign=right>
    <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="http://jodies.de/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.gif">Screenshot</a> (ipcalc works also at the prompt)<br>
+<a href="http://jodies.de/ipcalc.gif";>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>
+<a href="http://jodies.de/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>
+<a href="http://jodies.de/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>

One problem is that the user will have to be connected on Internet to
see the images.

Other way to solve #288332 would be to create a /usr/share/ipcalc including all 
images and the CSS file. But I don't know how to do that :-/

Thank you
Nelson

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-mm3-biolinux1
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages ipcalc depends on:
ii  perl                          5.8.4-6    Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to