Debian Bug report logs - #409455
mgetty: Please add frontend webfax

version graph

Package: mgetty; Maintainer for mgetty is Package Salvaging Team <[email protected]>; Source for mgetty is src:mgetty (PTS, buildd, popcon).

Reported by: Juergen Kosel <[email protected]>

Date: Sat, 3 Feb 2007 12:33:01 UTC

Severity: wishlist

Found in version 1.1.35-3

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Andreas Barth <[email protected]>:
Bug#409455; Package mgetty. (full text, mbox, link).


Acknowledgement sent to Juergen Kosel <[email protected]>:
New Bug report received and forwarded. Copy sent to Andreas Barth <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Juergen Kosel <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: mgetty: Please add frontend webfax
Date: Sat, 03 Feb 2007 13:14:36 +0100
Package: mgetty
Version: 1.1.35-3
Severity: wishlist

Please provide the webfax frontend in a debian packet.
The source of webfax is provided within the sources of mgetty in:
<mgetty-source>/frontends/www
With this collection of cgi-scripts and apache it is possible to view
received faxes by a webbrowser. It is also possible to initiate faxsend,
view statistics about successfull resption and receive of faxes.
Access restriction depends on the configuration of the used web-server 
(e.g. by .htaccess file).


The patch below basically renames the index*.html files for easier use with apache and Debian/Sarge directory.

-------------------------------------------------------------------------------

Nur in mgetty/frontends/www/: CVS.
Nur in mgetty/frontends/www/: .cvsignore.
diff -ur mgetty-1.1.35/frontends/www/Makefile mgetty/frontends/www/Makefile
--- mgetty-1.1.35/frontends/www/Makefile	2004-11-24 14:46:17.000000000 +0100
+++ mgetty/frontends/www/Makefile	2006-04-23 14:03:21.000000000 +0200
@@ -35,21 +35,21 @@
 
 CGI=faxq.cgi faxq-v.cgi faxhist.cgi faxhists.cgi \
 		viewfax.cgi nph-vf-gif.cgi faxsend.cgi
-HTML=index-d.html index-e.html
+HTML=index.html.de index.html.en
 IMAGES=delete.gif pfeild.gif pfeill.gif pfeilr.gif
 
 # the directory for the HTML file(s)
 # leave empty if you do not want to install the HTML files
-HTMLDIR=/david/html/quickfax/
+HTMLDIR=/var/www/webfax
 
 # the directory for the sample image files (left/right arrows, logo, ...)
 # (whether this is the same as HTMLDIR or not depends on local preferences,
 #  but don't forget to adapt the http path name in wwwgui.conf accordingly)
-IMAGEDIR=/stf/html/images/
+IMAGEDIR=/var/www/webfax
 
 # this is the directory the CGI binaries will be installed in
 # check with your local webmaster or the WWW server documentation!
-CGIBINDIR=/david/html/quickfax/cgi-bin/
+CGIBINDIR=/usr/lib/cgi-bin
 
 # this is the logical path from the WWW root to the CGI binaries
 # (if the CGI binaries are in the same directory as "index.html", just
@@ -104,7 +104,11 @@
 faxq.cgi: faxq.in ../../sedscript
 faxq-v.cgi: faxq-v.in ../../sedscript
 index-d.html: index-d.in ../../sedscript Makefile
+index.html.de: index-d.html
+	cp index-d.html $@
 index-e.html: index-e.in ../../sedscript Makefile
+index.html.en: index-e.html
+	cp index-e.html $@
 faxhist.cgi: faxhist.in ../../sedscript
 faxhists.cgi: faxhists.in ../../sedscript
 viewfax.cgi: viewfax.in ../../sedscript
@@ -114,7 +118,7 @@
 faxsend.cgi: faxsend.in ../../sedscript
 
 wwwgui.conf: wwwgui.cfg.in ../../sedscript
-	../../sedscript <wwwgui.cfg.in >wwwgui.conf
+	../../sedscript < wwwgui.cfg.in > wwwgui.conf
 
 ../../sedscript: ../../policy.h ../../Makefile ../../mksed.c
 	@cd ../.. ; $(MAKE) sedscript
diff -ur mgetty-1.1.35/frontends/www/wwwgui.cfg.in mgetty/frontends/www/wwwgui.cfg.in
--- mgetty-1.1.35/frontends/www/wwwgui.cfg.in	2004-11-24 14:46:17.000000000 +0100
+++ mgetty/frontends/www/wwwgui.cfg.in	2007-02-03 12:50:18.986422349 +0100
@@ -21,7 +21,7 @@
 # Logo to put on top of each generated WWW page
 # (this can be arbitrary HTML code, but usually is just an image and link)
 #
-$www_logo = '<a href="http://www.medat.de/"><img align="left" src="/quickfax-icons/medat-mini.gif" width=100 height=40 border="0"></a>';
+$www_logo = '<a href="../"><img align="left" src="../151861.gif" width=100 height=40 border="0"></a>';
 
 # do we want people to delete faxes?
 # 0 = no, 1 = yes
@@ -36,7 +36,7 @@
 # All programs have a "back to main page" link at the bottom.  This is
 # where (in the WWW tree!) this page is located, used in "<a href=...>".
 #
-$indexpage="/quickfax";
+$indexpage="../";
 
 #
 # ---- possible sizes and page# threshold for viewfax/givgif.cgi ---
@@ -63,8 +63,8 @@
 # pgmtopbm here (b/w images) or simplequant.pl (256 grey levels).
 # you might try both to see which one gives better quality for you...
 #
-$ppmquant='@BINDIR@/ppmquant 256';
-#$ppmquant='@BINDIR@/pgmtoppm';
+#$ppmquant='@BINDIR@/ppmquant 256';
+$ppmquant='@BINDIR@/pgmtoppm';
 #$ppmquant='@LIBDIR@/simplequant.pl';
 
 # scale image to desired percentage
@@ -86,14 +86,14 @@
 # WWW requests (so don't use "/tmp" etc.), also make sure that nobody
 # else uses this directory, for security reasons.
 #
-$webtmpabs="/dtmp/html";
+$webtmpabs="/var/www/webfax/tmp";
 
 # when accessing the images from inside the WWW pages, which path
 # name should be used in the HTML text (image references) for $webtempabs?
 #
 # Usually, this is something like "/fax/tmp" or "/images/tmp" or so.
 #
-$webtmprel="/dtmp/html";
+$webtmprel="/webfax/tmp";
 
 #
 # Navigation 'items'
@@ -122,9 +122,8 @@
 # is listed under on the web page, the second part is the file name
 # (multiple names allowed, separate with a space).
 #
-@documents=( "Wegbeschreibung"  => "/usr/local/docs/wegbeschreibung.ps",
-             "Produkt-Liste" => "/usr/vertrieb/products.ps",
-	     "Preisliste-A" => "/usr/vertrieb/preisa.ps",
-	     "Preisliste-B" => "/usr/vertrieb/preisb.ps"
+@documents=( "Testfax" => "/var/spool/fax/outgoing/t22.g3",
+	     "Pollfax" => "/var/spool/fax/outgoing/pollfax.g3",
+	     "Wegbeschreibung" => "/var/spool/fax/outgoing/Wegbeschreibung.g3"
            );
 
-------------------------------------------------------------------------------

-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.6.8-3-386
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages mgetty depends on:
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  logrotate             3.7-5              Log rotation utility

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 16:10:07 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.