* hylafax-client: the tools necessary to operate a local or remote HylaFAX
server. Install this package on networked clients.
-* hylafax-doc: HTML documentation on HylaFAX. Please note, that
- hylafax-server and hylafax-client come with manpages for the programs they
- contain, whereas this is a more extensive manual.
-
-
1. Quick Start
--------------
9. PAM support
--------------
-This Debian version of hylafax will support PAM. To enable such support,
+This Debian version of hylafax supports PAM. To enable such support,
you need to install an appropriate file under /etc/pam.d/. An example
of such a file is in /usr/share/doc/hylfax-server/examples/.
have to use faxadduser, faxdeluser to modify hosts.hfaxd. All account
known to the system via PAM will be accepted as normal user.
-Please note that remote administration isn't managed via PAM, so you
-may still have to setup an ADMIN password with faxadduser.
+When PAM authentication is used, you may optionally create a unix group
+that will have admin rights on hylafax. If you setup such group than add
+it in /etc/hylafax/config with "AdminGroup: groupname".
+
+Please note that if you are storing your passwords in /etc/shadow, you
+have to add the uucp user to the shadow group, otherwise the hylafax
+daemon will not be able to check the passwords. If your PAM uses an
+LDAP as backend, then this is not required.
10. e-mail encoding
-------------------
+hylafax (2:4.5~CVS) unstable; urgency=low
+
+ * Update debian packaging for 4.5-CVS
+
+ -- Aidan Van Dyk <aidan@highrise.ca> Tue, 23 Sep 2008 08:33:05 -0400
+
hylafax (2:4.3.4~cvs) unstable; urgency=low
* Added standard debian packaging rules to upstream CVS
Maintainer: Giuseppe Sacco <eppesuig@debian.org>
Section: comm
Priority: extra
-Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 4.1.16), libtiff4-dev (>= 3.6.1-3), libtiff-tools (>= 3.6.1-3), zlib1g-dev (>= 0.95), ed, autotools-dev, dpatch, libpam-dev, gsfonts, gs, bash
+Standards-Version: 3.7.3
+Homepage: http://www.hylafax.org
+Vcs-Cvs: :pserver:cvs@cvs.hylafax.org:/cvsroot
+Vcs-Browser: http://git.hylafax.org/HylaFAX
+Build-Depends: debhelper (>= 4.1.16), libtiff4-dev (>= 3.6.1-3), libtiff-tools (>= 3.6.1-3), zlib1g-dev (>= 0.95), ed, autotools-dev, dpatch, libpam-dev | libpam0g-dev, gsfonts, ghostscript | gs, dpkg (>= 1.14.6)
Package: hylafax-server
Architecture: any
Section: comm
-Depends: ${shlibs:Depends}, ${misc:Depends}, libtiff-tools (>= 3.6.1-3), hylafax-client (= ${Source-Version}), mailx, psmisc, sed (>= 4.1.2), gs, sharutils, adduser, lsb-base (>= 3.0-6), metamail
-Recommends: metamail
-Suggests: hylafax-doc, mgetty
+Depends: ${shlibs:Depends}, ${misc:Depends}, libtiff-tools (>= 3.6.1-3), hylafax-client (= ${binary:Version}), mailx, psmisc, sed (>= 4.1.2), ghostscript | gs, adduser, lsb-base (>= 3.0-6)
+Suggests: mgetty, psrip
Conflicts: mgetty-fax, capi4hylafax (<< 1:01.02.03-4)
-Tag: works-with::fax, hardware::modem, interface::daemon, works-with::mail, network::server, implemented-in::c++, interface::commandline, use::transmission, role::program
Description: Flexible client/server fax software - server daemons
This package support the sending and receiving of facsimiles, the polled
retrieval of facsimiles and the send of alphanumeric pages.
Package: hylafax-client
Architecture: any
Section: comm
-Depends: ${shlibs:Depends}, enscript | libgnomeprint-data, ucf, gsfonts, gs-esp
+Depends: ${shlibs:Depends}, enscript | libgnomeprint-data, ucf, gsfonts, ghostscript | gs
Pre-Depends: libpaper-utils
Suggests: mgetty-viewfax
Recommends: netpbm, transfig
Conflicts: mgetty-fax
-Tag: works-with::fax, implemented-in::c++, network::client, interface::commandline, use::transmission, role::program, scope::application
Description: Flexible client/server fax software - client utilities
The HylaFAX client software communicates with a HylaFAX server via TCP/IP.
.
HylaFAX support the sending and receiving of facsimiles, the polled
retrieval of facsimiles and the send of alphanumeric pages.
-
-Package: hylafax-doc
-Architecture: all
-Section: doc
-Suggests: www-browser, man2html, httpd-cgi
-Tag: hardware::modem, interface::commandline, made-of::data:html, role::documentation, use::transmission, works-with::fax
-Description: Flexible client/server fax software - HTML Documentation
- HTML version of HylaFAX documentation and manpages.
- .
- HylaFAX support the sending and receiving of facsimiles, the polled
- retrieval of facsimiles and the send of alphanumeric pages.
-libhylafax/libhylafax-*.so* usr/lib/hylafax
+libhylafax/libhylafax-*.{so,a}* usr/lib/hylafax
USE_FAXGETTY=yes
fi
+# Arguments for faxgetty command. At least -D should be specified
+# as explained in debian bug #462459.
+FAXGETTYARGS="-D"
+
# In a send only installation you may want to use faxgetty
# or faxmodem on lines already configured with faxaddmodem.
# faxgetty is the new default, faxmodem the old one.
# NEWPROT="-i 4559"
# SNPP="-s 444"
+#
+# hfaxd may be run from inetd while faxq should still be executed
+# by the init script. If you run hfax via inetd or xinetd then
+# uncomment the following line
+# HFAXD_FROM_INET=true
# It is driver by a configuration file sourced by this shell
# and called /etc/default/hylafax.
+### BEGIN INIT INFO
+# Provides: hylafax
+# Required-Start: $syslog
+# Required-Stop: $syslog
+# Should-Start: $local_fs $network
+# Should-Stop: $local_fs $network
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start and stop the hylafax server
+# Description: Synchronize the /etc/hylafax directory with
+# /var/spool/hylafax/etc and then start hylafax
+# daemons. Otherwise stop all hylafax daemons.
+### END INIT INFO
+
# 28-Dec-2003 Ross Boylan
# Add "init" option to USE_FAXGETTY
# This will cause this script to assume that faxgetty is already
HYLAFAX_HOME=/var/spool/hylafax
FAXGETTY=/usr/sbin/faxgetty
FAXMODEM=/usr/sbin/faxmodem
+PIDFILE=/var/run/hfaxd.pid
OLDPROT=
NEWPROT=
exit 1
fi
-if [ -z "$OLDPROT$NEWPROT$SNPP" ]
+if [ -z "$OLDPROT$NEWPROT$SNPP" -a "$1" != stop ]
then
+ if [ -z "$HFAXD_FROM_INET" -o "$HFAXD_FROM_INET" != true ]
+ then
echo "You must specify at least one protocol OLD, NEW or SNPP in"
echo "/etc/hylafax/setup.cache using the command faxsetup,"
echo "otherwise you might only run hylafax via inetd."
exit 1
+ fi
fi
if [ -r /etc/default/hylafax ]; then
p=$(ps --no-headers -C hfaxd -o pid)
if [ -n "$p" ]
then
- start-stop-daemon --stop --exec /usr/sbin/hfaxd -- $BINDTO $NEWPROT $OLDPROT $SNPP
+ start-stop-daemon --stop --exec /usr/sbin/hfaxd --pidfile $PIDFILE -- $BINDTO $NEWPROT $OLDPROT $SNPP
sleep 1
p=$(ps --no-headers -C hfaxd -o pid)
[ -n "$p" ] && kill $p
killall faxgetty 2> /dev/null || true
fi
- # wait maximum three seconds for server processes to shutdown
+ # wait maximum sixty seconds for server processes to shutdown
try=0
- while [ $try -lt 3 -a 0 -lt $(ps --no-headers -Chfaxd,faxq | wc -l) ]
+ while [ $try -lt 60 ] && [ 0 -lt $(ps --no-headers -Chfaxd,faxq | wc -l) ]
do
sleep 1
- try=$((try+1))
+ try=$(($try+1))
done
if [ 0 -eq "$(ps --no-headers -Chfaxd,faxq | wc -l)" ]
if [ $count -eq 0 ];
then
+ log_daemon_msg "Starting HylaFAX" "syncing directories..."
copy_slash_etc
- log_daemon_msg "Starting HylaFAX" faxq
+ log_progress_msg "faxq"
start-stop-daemon --start --exec /usr/sbin/faxq
+ if [ -z "$HFAXD_FROM_INET" -o "$HFAXD_FROM_INET" != true ]
+ then
log_progress_msg "hfaxd"
- start-stop-daemon --start --exec /usr/sbin/hfaxd -- $BINDTO $NEWPROT $OLDPROT $SNPP
+ start-stop-daemon --start --exec /usr/sbin/hfaxd --make-pidfile --pidfile $PIDFILE --background -- -d $BINDTO $NEWPROT $OLDPROT $SNPP
+ fi
cd ${HYLAFAX_HOME}/etc
devices="`echo_fax_devices`"
- if [ ${USE_FAXGETTY} = "yes" ]; then
+ if [ ${USE_FAXGETTY} = "yes" ] && [ -n "$devices" ]; then
log_progress_msg "faxgetty"
for device in $devices none; do
[ "$device" = none ] && continue
- ${FAXGETTY} `echo $device | cut -d . -f 2` >/dev/null 2>&1 </dev/null &
+ ${FAXGETTY} $FAXGETTYARGS `echo $device | cut -d . -f 2` &
done
- elif [ ${USE_FAXGETTY} != "init" ]; then
+ elif [ ${USE_FAXGETTY} != "init" ] && [ -n "$devices" ]; then
log_progress_msg "faxmodem"
for device in $devices none; do
[ "$device" = none ] && continue
setupcache=/etc/hylafax/setup.cache
[ ! -e $setupcache ] && setupcache=/var/spool/hylafax/etc/setup.cache
- sed -i -e 's@^\(DPSRIP\|IMPRIP\)=.*$@\1=@' $setupcache
+ sed -i -e 's@^DPSRIP=.*$@DPSRIP=@' $setupcache
sed -i -e "s@^AWK='/bin/awk'@AWK='/usr/bin/awk'@" $setupcache
- sed -i -e "s@^MIMENCODE='base64-encode'@MIMENCODE='/usr/bin/mimencode'@" $setupcache
- sed -i -e "s@^MIMENCODE='/usr/bin/base64-encode'@MIMENCODE='/usr/bin/mimencode'@" $setupcache
- sed -i -e "s@^MIMENCODE='/usr/bin/uuencode'@MIMENCODE='/usr/bin/mimencode'@" $setupcache
- sed -i -e "s@^BASE64ENCODE='/usr/bin/uuencode'@BASE64ENCODE='/usr/bin/mimencode'@" $setupcache
sed -i -e "s@^ENCODING=''@ENCODING='base64'@" $setupcache
sed -i -e "s@^MANDIR='/usr/local/man'@MANDIR='/usr/share/man'@" $setupcache
sed -i -e "s@^FONTPATH='/usr/local/lib/ghostscript/common:/usr/local/lib/ghostscript/7.07:/usr/local/lib/ghostscript/fonts:/usr/local/share/ghostscript/common:/usr/local/share/ghostscript/7.07:/usr/local/share/ghostscript/fonts:/var/lib/defoma/gs.d/dirs/fonts:/usr/share/ghostscript/common:/usr/share/gs/7.07'@FONTPATH='/usr/share/enscript/afm:/usr/share/fonts/afms/adobe:/usr/share/fonts/type1/gsfonts'@" $setupcache
fi
fi
- [ -x /usr/bin/tty ] && grep -q '^TTYCMD=' $setupcache || echo "TTYCMD='/usr/bin/tty'" >> $setupcache
+ # bug #429614
+ # check for uuencode used for base64encoding. Change it to use mimencode
+ if [ -x /usr/bin/mimencode ]
+ then
+ sed -i -e "s@BASE64ENCODE='/usr/bin/uuencode'@BASE64ENCODE='/usr/bin/mimencode'@" $setupcache
+ sed -i -e "s@BASE64ENCODE='/usr/bin/uuencode -m ===='@BASE64ENCODE='/usr/bin/mimencode'@" $setupcache
+ fi
- enc1=$(grep MIMENCODING $setupcache | sed "s/^MIMENCODE='\(.*\)'$/\1/")
- enc2=$(grep UUENCODE $setupcache | sed "s/^UUENCODE='\(.*\)'$/\1/")
- if [ ! -x "$enc1" -a ! -x "$enc2" ]
+ # bug #425191
+ # Update psrip path
+ if [ -x /usr/bin/psrip ]
then
- db_input medium hylafax-server/attachment || true
- db_go
+ sed -i -e "s@IMPRIP='/usr/lib/print/psrip'@IMPRIP='/usr/bin/psrip'@" $setupcache
fi
+ [ -x /usr/bin/tty ] && grep -q '^TTYCMD=' $setupcache || echo "TTYCMD='/usr/bin/tty'" >> $setupcache
+
if invoke-rc.d hylafax stop
then
restart=true
restart=false
fi
(echo; echo no; echo no) | /usr/sbin/faxsetup -server
-# [ $restart == true ] && invoke-rc.d hylafax start
+# [ $restart = true ] && invoke-rc.d hylafax start
+
+ # fix default values set by faxsetup without check on the real presence
+ # of the binary executable
+
+ uuenc=$(grep '^UUENCODE=' $setupcache | sed -e "s/^UUENCODE='\(.*\)'$/\1/" | (read a b; echo $a))
+ mmenc=$(grep '^MIMENCODE=' $setupcache | sed -e "s/^MIMENCODE='\(.*\)'$/\1/" | (read a b; echo $a))
+ baenc=$(grep '^BASE64ENCODE=' $setupcache | sed -e "s/^BASE64ENCODE='\(.*\)'$/\1/" | (read a b; echo $a))
+
+ if [ ! -x "$uuenc" ]
+ then
+ sed -i -e "s@UUENCODE='.*'@UUENCODE=''@" $setupcache
+ fi
+
+ if [ ! -x "$mmenc" ]
+ then
+ sed -i -e "s@MIMENCODE='.*'@MIMENCODE=''@" $setupcache
+ fi
+
+ if [ ! -x "$baenc" ]
+ then
+ sed -i -e "s@BASE64ENCODE='.*'@BASE64ENCODE=''@" $setupcache
+ fi
#
# Tell the user that he must use faxaddmodem in order to really use
# wrong and the server is not starting
# Closes: #357435
invoke-rc.d hylafax start || true
- elif [ $restart == true ]; then
+ elif [ $restart = true ]; then
invoke-rc.d hylafax start
fi
#DEBHELPER#
+USERDEL=/usr/sbin/userdel
+
if [ "$1" = purge ]; then
if getent passwd faxmaster >/dev/null 2>&1
then
- userdel faxmaster
+ [ -x $USERDEL ] && $USERDEL faxmaster
fi
#
# This will remove the directory that holds a copy of the real
start it later manually, remember to change the value of RUN_HYLAFAX
in /etc/default/hylafax.
-Template: hylafax-server/attachment
-Type: error
-_Description: Check base64 encoders
- Hylafax is able to send received faxes via email. These emails
- need to include base64 encoded attachments. Since this is not essential
- to hylafax to work, you need to do manually some further steps:
- you should install a package that provide encoders (like
- mime-codecs or sharutils) and run 'faxsetup -server' that will
- automatically check for those encoders and change its configuration.
-
Template: hylafax-server/setup_failed
Type: error
_Description: Hylafax setup failed
654_faxsetup_gs.dpatch
655_faxaddmodem_message.dpatch
657_typerules.dpatch
-658_oldnotify_awk
-659_notify_from_address
-#670_patch_desireddf_bug402171.dpatch
-#671_grep_in_notify.dpatch
-#672_ps2pdf_output.dpatch
-#673_configure_quote_commands.dpatch
+658_oldnotify_awk.dpatch
+659_notify_from_address.dpatch
## by Giuseppe Sacco <eppesuig@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description
+## DP: change directory for xferfaxstats file
if [ $# -lt 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
0 short 017436 error packed data support not configured
0 short 017635 error compressed data support not configured
0 short 0x0506 ps showcase -p -f %i
-@@ -107,7 +106,10 @@
+@@ -107,7 +106,11 @@
0 short 0xf702 ps dvips -q -o %o %i
0 string GIF tiff
>3 string 87a tiff gif2tiff -%f -v %V %i %o
->3 string 89a error GIF (version 89a) support not configured
+>3 string 89a ps gif2ps <%i >%o
-+0 string \x89PNG ps pngtopnm < %i| ppmtopgm | \
++0 byte 0x89 ps
++>1 string PNG ps pngtopnm < %i| ppmtopgm | \
+ pnmscale -xysize %w %l | \
+ pnmtops -dpi %R -equalpixels >%o
0 long 0x59a66a95 tiff ras2tiff -%f -v %V %i %o
#
# HylaFAX now has server-side PDF conversion, so no need for pdf2ps.
-@@ -125,25 +127,41 @@
+@@ -125,25 +128,41 @@
#
0 string begin error uuencoded file support not configured
0 string xbtoa error btoa'd file support not configured
#
# Japanization (should help other iso-2022 variants too)
-@@ -155,7 +173,7 @@
+@@ -155,7 +174,7 @@
#
# This causes anything else with ascii-only data to be treated as text.
#
-Ml=0.4in -p 11 -s %s >%o <%i
#
-@@ -174,5 +192,5 @@
+@@ -174,5 +193,5 @@
# Support 7-bit text which would otherwise be seen as binary.
#
--- hylafax-4.3.0~/util/notify.awk 2004-08-16 14:58:22.000000000 +0200
+++ hylafax-4.3.0/util/notify.awk 2006-09-19 08:27:29.000000000 +0200
@@ -99,9 +99,10 @@
- print ""
- printf "%-20s %8s %s\n", "Filename", "Size", "Type";
- for (i = 0; i < nfiles; i++) {
+ print ""
+ printf "%-20s %8s %s\n", "Filename", "Size", "Type";
+ for (i = 0; i < nfiles; i++) {
- "wc -c " files[i] | getline;
+ cmd="wc -c "files[i];
+ cmd | getline;
- printf "%-20s %8d %s\n", files[i], $1, docType(files[i]);
+ printf "%-20s %8d %s\n", files[i], $1, docType(files[i]);
- close("wc -c " files[i]);
+ close(cmd);
- }
- }
+ }
+ }
} else if (jobType == "pager") {
+FROMADDR=FaxMaster
TIFFINFO=tiffinfo
NOTIFY_FAXMASTER=always
-
+
diff -urNad hylafax-4.3.2~/util/notify-4.2.sh.in hylafax-4.3.2/util/notify-4.2.sh.in
--- hylafax-4.3.2~/util/notify-4.2.sh.in 2006-12-24 02:43:49.000000000 +0100
+++ hylafax-4.3.2/util/notify-4.2.sh.in 2007-02-21 18:27:05.000000000 +0100
+FROMADDR=FaxMaster
NOTIFY_FAXMASTER=never
RETURNFILETYPE=
- MIMEBOUNDARY="NextPart$$" RETURNTECHINFO=yes
+ MIMEBOUNDARY="NextPart$$" RETURNTECHINFO=yes
diff -urNad hylafax-4.3.2~/util/pollrcvd.sh.in hylafax-4.3.2/util/pollrcvd.sh.in
--- hylafax-4.3.2~/util/pollrcvd.sh.in 2007-02-08 22:33:19.000000000 +0100
+++ hylafax-4.3.2/util/pollrcvd.sh.in 2007-02-21 18:26:03.000000000 +0100
+FROMADDR=FaxMaster
TIFFINFO=tiffinfo
NOTIFY_FAXMASTER=always
-
+
diff -urNad hylafax-4.3.2~/util/wedged.sh.in hylafax-4.3.2/util/wedged.sh.in
--- hylafax-4.3.2~/util/wedged.sh.in 2006-12-24 02:43:49.000000000 +0100
+++ hylafax-4.3.2/util/wedged.sh.in 2007-02-21 18:18:31.000000000 +0100
+FROMADDR=FaxMaster
WEDGED_EMAIL_INTERVAL=5 # minutes: at most 1 wedged email every X mins
WEDGED_DISABLE_FAXGETTY= # if set, faxgetty disabled from inittab
-
--- /dev/null
+# hylafax po-debconf translation to Spanish
+# Copyright (C) 2005 Software in the Public Interest
+# This file is distributed under the same license as the hylafax package.
+#
+# Changes:
+# - Initial translation
+# César Gómez Martín <cesar.gomez@gmail.com>
+#
+# Revision:
+#
+# Rudy Godoy Guillén <rudy@stone-head.org>, 2007
+#
+# Traductores, si no conoce el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Equipo de traducción al español, por favor, lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+# http://www.debian.org/intl/spanish/
+# especialmente las notas de traducción en
+# http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+# /usr/share/doc/po-debconf/README-trans
+# o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hylafax 2:4.2.2-1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-08-04 00:06+0200\n"
+"PO-Revision-Date: 2007-05-13 15:41-0500\n"
+"Last-Translator: César Gómez Martín <cesar.gomez@gmail.com>\n"
+"Language-Team: Debian l10n spanish <debian-l10n-spanish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Spanish\n"
+"X-Poedit-Country: SPAIN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#. Type: note
+#. Description
+#: ../hylafax-server.templates:3
+msgid "Don't forget to setup a modem line"
+msgstr "No olvide configurar una línea de módem"
+
+#. Type: note
+#. Description
+#: ../hylafax-server.templates:3
+msgid "Hylafax is now installed as a server but you still have to configure at least a modem in order to send or receive faxes. Please use faxaddmodem in order to define a modem and then restart hylafax so that it will use the new configuration."
+msgstr "Ahora hylafax está instalado como servidor, pero todavía tiene que configurar, como mínimo, un módem para enviar o recibir faxes. Por favor, utilice faxaddmodem para definir un módem y después reinicie hylafax para que use la nueva configuración."
+
+#. Type: boolean
+#. Description
+#: ../hylafax-server.templates:12
+msgid "Start the HylaFAX daemon now?"
+msgstr "¿Desea iniciar el demonio HylaFAX ahora?"
+
+#. Type: boolean
+#. Description
+#: ../hylafax-server.templates:12
+msgid "Hylafax is already configured and may be started now. If you specify to start it later manually, remember to change the value of RUN_HYLAFAX in /etc/default/hylafax."
+msgstr "Hylafax ya está configurado y puede iniciarse ahora. Si prefiere iniciarlo manualmente con posterioridad, recuerde cambiar el valor de RUN_HYLAFAX en /etc/default/hylafax."
+
+#. Type: note
+#. Description
+#: ../hylafax-server.templates:19
+msgid "Check base64 encoders"
+msgstr "Comprobar los codificadores base64"
+
+#. Type: note
+#. Description
+#: ../hylafax-server.templates:19
+msgid "Hylafax is able to send received faxes via email. These emails need to include base64 encoded attachments. Since this is not essential to hylafax to work, you need to do manually some further steps: you should install a package that provide encoders (like mime-codecs or sharutils) and run 'faxsetup -server' that will automatically check for those encoders and change its configuration."
+msgstr "Hylafax puede enviar los faxes recibidos a través de correo electrónico. Estos correos necesitan incluir ficheros adjuntos codificados en base64. Puesto que esto no es esencial para que hylafax funcione, tiene que realizar manualmente algunos pasos: debería instalar un paquete que proporcione codificadores (como mime-codecs o sharutils) y ejecutar «faxsetup -server», que comprobará automáticamente los codificadores y cambiará su configuración."
--- /dev/null
+# Galician translation of hylafax's debconf templates
+# This file is distributed under the same license as the hylafax package.
+# Jacobo Tarrio <jtarrio@debian.org>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hylafax\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008-04-10 04:31+0200\n"
+"PO-Revision-Date: 2008-05-18 12:07+0100\n"
+"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../hylafax-server.templates:1001
+msgid "Start the HylaFAX daemon now?"
+msgstr "¿Iniciar agora o servizo HylaFAX?"
+
+#. Type: boolean
+#. Description
+#: ../hylafax-server.templates:1001
+msgid ""
+"Hylafax is already configured and may be started now. If you specify to "
+"start it later manually, remember to change the value of RUN_HYLAFAX in /etc/"
+"default/hylafax."
+msgstr ""
+"Hylafax xa está configurado e pódese iniciar agora. Se indica que quere "
+"inicialo manualmente máis tarde, lembre cambiar o valor de RUN_HYLAFAX en /"
+"etc/default/hylafax."
+
+#. Type: error
+#. Description
+#: ../hylafax-server.templates:2001
+msgid "Hylafax setup failed"
+msgstr "A configuración de hylafax fallou"
+
+#. Type: error
+#. Description
+#: ../hylafax-server.templates:2001
+msgid ""
+"While installing hylafax a script called 'faxsetup' failed. This can be "
+"caused by many reasons and cannot be fixed automatically so the hylafax-"
+"server package is now unconfigured. Please fix the problem, run 'faxsetup -"
+"server' as root and reconfigure hylafax-server manually."
+msgstr ""
+"Mentres se instalaba hylafax, un script chamado \"faxsetup\" fallou. Isto "
+"pode estar causado por varios motivos, e non se pode arranxar "
+"automaticamente, así que o paquete hylafax-server está sen configurar. "
+"Arranxe o problema, execute \"faxsetup -server\" coma administrador e "
+"reconfigure hylafax-server manualmente."
--- /dev/null
+# translation of hylafax debconf to Portuguese
+# Copyright (C) 2007 Américo Monteiro
+# This file is distributed under the same license as the hylafax package.
+#
+# Américo Monteiro <a_monteiro@netcabo.pt>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: hylafax 2:4.3.4-2\n"
+"Report-Msgid-Bugs-To: eppesuig@debian.org\n"
+"POT-Creation-Date: 2006-11-23 10:48+0100\n"
+"PO-Revision-Date: 2007-08-02 22:20+0100\n"
+"Last-Translator: Américo Monteiro <a_monteiro@netcabo.pt>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: boolean
+#. Description
+#: ../hylafax-server.templates:1001
+msgid "Start the HylaFAX daemon now?"
+msgstr "Arrancar o deamon HylaFAX agora?"
+
+#. Type: boolean
+#. Description
+#: ../hylafax-server.templates:1001
+msgid ""
+"Hylafax is already configured and may be started now. If you specify to "
+"start it later manually, remember to change the value of RUN_HYLAFAX in /etc/"
+"default/hylafax."
+msgstr ""
+"O Hylafax já está configurado e pode ser arrancado agora. Se você especificar "
+"arrancá-lo mais tarde manualmente, lembre-se de alterar o valor de "
+"RUN_HYLAFAX em /etc/default/hylafax."
+
+#. Type: error
+#. Description
+#: ../hylafax-server.templates:2001
+msgid "Check base64 encoders"
+msgstr "Verificar codificadores base64 (encoders)."
+
+#. Type: error
+#. Description
+#: ../hylafax-server.templates:2001
+msgid ""
+"Hylafax is able to send received faxes via email. These emails need to "
+"include base64 encoded attachments. Since this is not essential to hylafax "
+"to work, you need to do manually some further steps: you should install a "
+"package that provide encoders (like mime-codecs or sharutils) and run "
+"'faxsetup -server' that will automatically check for those encoders and "
+"change its configuration."
+msgstr ""
+"O Hylafax é capaz de enviar por email faxes recebidos. Estes emails precisam "
+"de incluir anexos codificados em base64. Como isto não é essencial para o "
+"hylafax funcionar, você precisa tratar dalguns passos manualmente: "
+"deverá instalar um pacote que forneça codificadores (como o mime-codecs "
+"ou o sharutils) e correr 'faxsetup-server' que automaticamente irá procurar "
+"por estes codificadores e alterar a sua configuração."
+
+#. Type: error
+#. Description
+#: ../hylafax-server.templates:3001
+msgid "Hylafax setup failed"
+msgstr "Configuração do Hylafax falhou."
+
+#. Type: error
+#. Description
+#: ../hylafax-server.templates:3001
+msgid ""
+"While installing hylafax a script called 'faxsetup' failed. This can be "
+"caused by many reasons and cannot be fixed automatically so the hylafax-"
+"server package is now unconfigured. Please fix the problem, run 'faxsetup -"
+"server' as root and reconfigure hylafax-server manually."
+msgstr ""
+"Durante a instalação do Hylafax, um script chamado 'faxsetup' falhou. Isto "
+"pode ser causado por muitas razões e não pode ser resolvido automaticamente, "
+"então o pacote hylafax-server está por configurar. Por favor, corrija o "
+"problema, corra 'faxsetup-server' como root e reconfigure o hylafax-server "
+"manualmente."
+
#export DH_VERBOSE=1
export SHELL=/bin/bash
-export DH_COMPAT=4
CFLAGS = -g
configure-stamp: patch-stamp
cp -p /usr/share/misc/config.* .
yes | /bin/bash ./configure \
+ --with-HTML=yes \
--with-UTMP=auto \
--with-DIR_BIN="/usr/bin" \
--with-DIR_LIBDATA="/etc/hylafax" \
--with-PATH_AFM="/usr/share/fonts/type1/gsfonts" \
--with-DIR_LOCALE="/usr/share/locale" \
--with-FONTMAP="/usr/share/gs-esp/8.15/lib:/usr/share/gs-esp/7.07/lib:/usr/share/gs/6.53" \
+ --with-DIR_HTML="/usr/share/doc/hylafax" \
+ --with-DIR_CGI="/usr/lib/cgi-bin" \
+ --with-HTMLPATH="/doc/hylafax" \
--with-SYSGID="root" \
--with-SYSUID="root" \
--with-PATH_GETTY="/etc/hylafax/getty-link" \
--with-LIBZ="-lz" \
--with-ZLIBINC="-I/usr/include" \
--with-CONFIG_MAXGID="65534" \
- --with-AWK="/usr/bin/awk" \
--with-CMP="/usr/bin/cmp" \
--with-COL="/usr/bin/col" \
--with-MKFIFO="/usr/bin/mkfifo" \
--with-SORT="/usr/bin/sort" \
--with-OPTIMIZER="$(CFLAGS)" \
- --with-FUSER="/bin/fuser" \
--with-MANDIR="/usr/share/man" \
- --with-IMPRIP="/usr/bin/psrip" \
- --with-BASE64ENCODE="/usr/bin/mimencode" \
- --with-MIMENCODE="/usr/bin/mimencode" \
- --with-UUENCODE="/usr/bin/uuencode" \
- --with-QPENCODE="/usr/bin/mimencode -q"
+ --with-PATH_IMPRIP="/usr/bin/psrip"
+# --with-FUSER="/bin/fuser" \
+# --with-AWK="/usr/bin/awk" \
+# --with-BASE64ENCODE="/usr/bin/mimencode" \
+# --with-MIMENCODE="/usr/bin/mimencode" \
+# --with-UUENCODE="/usr/bin/uuencode" \
+# --with-QPENCODE="/usr/bin/mimencode -q"
touch configure-stamp
-build: build-arch build-indep
+build: build-arch
build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
$(MAKE) all
touch build-arch-stamp
-build-indep: build-indep-stamp
-build-indep-stamp: configure-stamp
- touch build-indep-stamp
-
clean: clean1 unpatch
clean1:
dh_testdir
dh_testroot
- rm -f build-arch-stamp build-indep-stamp configure-stamp
+ rm -f build-arch-stamp configure-stamp
[ ! -f Makefile ] || make distclean
[ ! -d man/cman.apps ] \
|| rmdir man/cman.apps man/cman.files man/sman.apps man/sman.files
PWD := $(shell pwd)
p_client = hylafax-client
p_server = hylafax-server
-p_doc = hylafax-doc
d_client = debian/$(p_client)
d_server = debian/$(p_server)
-d_doc = debian/$(p_doc)
-install: install-server install-client install-doc
-install-doc:
- dh_testdir
- dh_testroot
- dh_clean -k -p$(p_doc)
- dh_installdirs -p$(p_doc) \
- usr/share/doc/$(p_doc)
+install: install-client install-server
install-server:
dh_testdir
$(d_server)/etc/hylafax/.
cp -p debian/hylafax.config $(d_server)/etc/hylafax/config
cp -pR etc/templates $(d_server)/etc/hylafax/
+ rm -r $(d_server)/etc/hylafax/templates/html-sample1
cp -p util/{faxmsg,faxconfig,faxmodem,faxstate,faxwatch} \
util/{faxinfo,tiffcheck,typetest,dialtest,faxadduser,faxdeluser} \
faxd/choptest \
hfaxd/hfaxd \
etc/ondelay \
+ etc/lockname \
$(d_server)/usr/sbin/.
for i in \
util/xferfaxstats.sh util/recvstats.sh util/faxcron.sh \
for i in \
util/{ps2fax.gs.sh,pdf2fax.gs.sh,pcl2fax.sh,tiff2fax.sh,tiff2pdf.sh} \
util/{archive.sh,notify.sh,notify-4.1.sh,faxrcvd.sh,pollrcvd.sh,mkcover.sh,wedged.sh} \
- util/{common-functions.sh,dictionary.sh}; \
+ util/{common-functions.sh,dictionary.sh,qp-encode.awk,b64-encode.awk}; \
do \
b=`basename $$i .sh`; \
install -p $$i $(d_server)/var/spool/hylafax/bin/$$b; \
done
install -p util/notify.awk $(d_server)/var/spool/hylafax/bin/.
+ chmod a-x $(d_server)/var/spool/hylafax/bin/{dictionary,common-functions}
- env LC_ALL=C LANG=C sh -c "cp -p config/[a-z]* $(d_server)/var/spool/hylafax/config/."
+ cp -p config/[a-z]* $(d_server)/var/spool/hylafax/config/.
ln -sf faxmsg $(d_server)/usr/sbin/faxanswer
ln -sf faxmsg $(d_server)/usr/sbin/faxabort
dh_installexamples -p$(p_server) debian/examples/*
install --mode=a+rx -p debian/copy_configuration_from_spool $(d_server)/usr/lib/hylafax/bin/
- dh_install
+ dh_install -p$(p_server) --list-missing
install-client:
dh_testdir
# needed by sendfax ...
mkdir -p $(d_client)/usr/sbin
ln -sf ../bin/textfmt $(d_client)/usr/sbin/textfmt
- dh_install
-
-# Build architecture independant packages using the common target.
-binary-indep: build-indep install-doc
- dh_testdir
- dh_testroot
- dh_installdocs -i -A \
- debian/README.mgetty debian/README.Debian \
- TODO CONTRIBUTORS
- dh_installchangelogs -i doc/RELEASENOTES-CVS.txt
- dh_installexamples -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
+ dh_install -p$(p_client) --list-missing
# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-server install-client
+binary-arch: build-arch install-client install-server
dh_testdir
dh_testroot
dh_installchangelogs -a doc/RELEASENOTES-CVS.txt
debian/hylafax-client/usr/bin/sendfax \
debian/hylafax-client/usr/bin/sendpage \
debian/hylafax-client/usr/bin/textfmt
- dh_shlibdeps -phylafax-server \
+ dh_shlibdeps -L libfaxutil -phylafax-server \
debian/hylafax-server/usr/sbin/choptest \
debian/hylafax-server/usr/sbin/cqtest \
debian/hylafax-server/usr/sbin/dialtest \
debian/hylafax-server/usr/sbin/faxwatch \
debian/hylafax-server/usr/sbin/hfaxd \
debian/hylafax-server/usr/sbin/ondelay \
+ debian/hylafax-server/usr/sbin/lockname \
debian/hylafax-server/usr/sbin/pagesend \
debian/hylafax-server/usr/sbin/tagtest \
debian/hylafax-server/usr/sbin/tiffcheck \
include /usr/share/dpatch/dpatch.make
-binary: binary-arch binary-indep
-.PHONY: build clean clean1 binary-indep binary-arch binary install install-client install-server install-doc configure patch unpatch
+binary: binary-arch
+.PHONY: build clean clean1 binary-arch binary install install-client install-server configure patch unpatch