summaryrefslogtreecommitdiff
path: root/comms/hylafax
diff options
context:
space:
mode:
authorwiz <wiz>2005-11-13 22:50:26 +0000
committerwiz <wiz>2005-11-13 22:50:26 +0000
commit915ed446b3313bf97c25a439effb82bc206d7fde (patch)
treed709ca4bb3a19f5d5a37f8138ed85ae231806b2b /comms/hylafax
parent32ae03b60b88e048f58d21fac0e3a524b68ea215 (diff)
downloadpkgsrc-915ed446b3313bf97c25a439effb82bc206d7fde.tar.gz
Update to 4.2.2, provided by Andreas Hallmann in PR 32037:
Changelog for HylaFAX 4.2.2 * fix error of confirming an ECM block missing frames other than the last frame when a null block is received (16 Sep 2005) * fix error of tiffcheck missing needed reformatting (17 Aug 2005) * add workaround for a bug in recent versions of gawk (15 Aug 2005) * fix send error causing ECM data to not get sent (15 Aug 2005) * homogenize default user id for user files (9 Aug 2005) * remove deprecated cuserid (8 Aug 2005) * fix some problems with sender notifications (5 Aug 2005) * fix problem with PAM authentication features (2 Aug 2005) * fix potential hang on reading data from modem (30 Jul 2005) * fix potential hang on detecting an ECM block end (29 Jul 2005) * fix job batches to properly release modems (26 Jul 2005) * fix build error with Mac OS X 10.4 (26 Jul 2005) * fix sendfax crash with verbose output (25, 29 Jul 2005) * fix a race with scheduled jobs to allow for coordinated batch sending (25 Jul, 10 Aug 2005) * fix some error conditions with JBIG and JPEG reception (25 Jul 2005) * improve probemodem results for some modems (16 Jul 2005) * correct cover sheet page count for some PDFs (14 Jul 2005) * fix job blocking (concurrent call) handling, especially as dealing with batches (13 Jul 2003) * fix job modifications on batched, running jobs (13 Jul 2005) * throttle faxq from running the scheduler more than once per second in order to keep faxq from eating up CPU (11, 21 Jul 2005) * fix job preparation failures in batches from causing faxq list corruption which would trigger faxq failure and worse (11 Jul 2005) * fix the abortion of the lead job in a batch from causing all other jobs in the batch to also abort (11, 15 Jul 2005) * restrict MaxBatchJobs to 64 in order to prevent command-line parameters from causing faxsend invocation errors (11 Jul 2005) * fix ECM frame data from being overwritten by corrupt frames later (11 Jul 2005) * fix a faxq crash involving job alteration (4 Jul 2005) * fix error of a pipe file descriptors not being closed (15 Jun 2005) * fix error in not employing Class1SwitchingCmd before sending prologue frames (15 Jun 2005) * adjust configure for AIX 5 (14 Jun 2005) * handle CRP sent as PPS (8 Jun 2005) * fix segfault when resetting a received TIFF page (8 Jun 2005) * update symbolic links to the Linux DSOs on upgrades (7 Jun 2005) * extend PAM support to OpenPAM variants (6 Jun 2005) * send PPR instead of DCN when an empty block is received (1 Jun 2005) * fix some dysfunctional mail redirects (30 May 2005) * don't save null-data pages (26 May, 6 Jun 2005) * Add support for OpenServer 6 (24 May 2005) * update config.guess and config.sub to current versions (24 May 2005) * add Rockwell/Conexant Class 1.0 prototype config (18 May 2005) * fix configure and faxsetup for espgs (16 May 2005) * fix potential looping in Class 1 protocol flow control mechanisms (11 May 2005) * stop sendfax from passing comments to hfaxd due to problems with newlines (10 May 2005) * fix PAM authentication to set proper UID (9 May 2005) * add unlimited length option to image preparation scripts and add FaxModify customization support (9 May 2005) * add UseJobTSI modem config option and FAXNUMBER and TSI queue file options (9 May 2005) * break NoCarrierRetries into JobRetry* parameters (9 May 2005) * add JPEG color fax receiving support - requires that libtiff and libjpeg be enhanced (6 May 2005) * add PNG and JPEG to typerules (6 May 2005) * add FaxModify hook for outbound image pre-processing (6 May 2005) * improve the way that page transfer time, as stored in the received TIFF file is calculated (6 May 2005) * add option in lucent-mt-10 prototype config file to work around a MainPine V.34-Fax problem (6 May 2005) * add remoteNSF, remoteDIS to info files and return CSI and interpreted NSF with notify information (4 May 2005) * improved disconnection detection (25, 26 Apr 2005) * wait longer for partial-page signals (19 Apr 2005) * adjust the timing of input buffering enabling (15 Apr 2005) * fix dialtest problem when using parenthesis (1 Apr 2005) * fix crash when using malformed format strings (1 Apr 2005) * initialize frameCount for compilers that don't (1 Apr 2005) * add last-page CRP reception support in Phase D (30 Mar 2005) * handle TSI, DCS, and other signals when in ECM (29 Mar 2005) * don't transmit DCN after getting EOT (24 Mar 2005) * improve the usage of T4 and T2 timers throughout (23 Mar 2005) * improve some error-handling scenarios (23 Mar 2005) * improve identification of ECM blocks with zero frames (16 Mar 2005) * fix potential error in ECM reception frame counting (16 Mar 2005) * add CRP usage when message frames are received corrupt (14, 23 Mar 2005, 21 Jul 2005) * add Class1RMPersistence, better ECM +FCERROR handling (14 Mar 2005) * small fixes for compilation on AMD-64 (14 Mar 2005) * fix a few timeouts in faxgetty (11 Mar 2005) * add support for TIFFTAG_FAXDCS (5 Mar 2005) * fix batching error in ECM to some receivers (5 Mar 2005) * modify parsing of Class1EnableV34Cmd (5 Mar 2005) * add configurable support for tiff2pdf from libtiff (2 Mar 2005) * change the 2 s TCF timeout to use Class1TCFRecvTimeout (2 Mar 2005) * handle PPS after 4th PPR (2 Mar 2005) * fix potential error in counting of PPR signals (2 Mar 2005) * handle EOT after PPS (28 Feb 2005) * add Class1AdaptRecvCmd config option, AT+FAR=1 support, (28 Feb 2005) * fix DCS scanline-time error when sending to systems without ECM supporting "mixed" scanline-times (24 Feb 2005) * cause faxsend to log jobs in batches as separate commids (24 Feb 2005) * change how faxsend is invoked for batches (24 Feb 2005) * minor fix in notify for mawk (16 Feb 2005) * fix a false V.34-Fax error message after FTT (16 Feb 2005) * convert CIDName/CIDNumber to CallID (14 Feb 2005) * add MaxBatchJobs config option (10 Feb, 26 Aug 2005) * improve the way that external gettys are run * fix some problems when decoding pipe fails in ECM * ignore "echos" of the dialed number after dialing * set Class1*WaitCmds in cirrus config to not use +FTS/+FRS * improve default modem config file for Digi/Patton Class 1 * force the Class 2 driver to repeat the +FDIS command after EOM * add FaxParams class and some utilization of it Additionally, unset DIST_SUBDIR again.
Diffstat (limited to 'comms/hylafax')
-rw-r--r--comms/hylafax/Makefile30
-rw-r--r--comms/hylafax/PLIST6
-rw-r--r--comms/hylafax/distinfo13
-rw-r--r--comms/hylafax/patches/patch-ba20
-rw-r--r--comms/hylafax/patches/patch-bb28
-rw-r--r--comms/hylafax/patches/patch-bc21
-rw-r--r--comms/hylafax/patches/patch-bd38
-rw-r--r--comms/hylafax/patches/patch-be19
8 files changed, 29 insertions, 146 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 9c1b94416cc..303c0d8a60a 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -1,20 +1,20 @@
-# $NetBSD: Makefile,v 1.44 2005/10/30 20:14:07 adrianp Exp $
+# $NetBSD: Makefile,v 1.45 2005/11/13 22:50:26 wiz Exp $
-DISTNAME= hylafax-4.2.1
-PKGREVISION= 1
+VERS= 4.2.2
+DISTNAME= hylafax-${VERS}
CATEGORIES= comms
-MASTER_SITES= ftp://ftp.hylafax.org/source/ \
- ftp://ftp.leo.org/pub/comp/os/unix/networking/fax/hylafax/source/
+MASTER_SITES_BETA= ftp://ftp.hylafax.org/source/BETA/
+MASTER_SITES_RELEASE= ftp://ftp.hylafax.org/source/ \
+ ftp://ftp.leo.org/pub/comp/os/unix/networking/fax/hylafax/source/
+MASTER_SITES= ${MASTER_SITES_RELEASE}
-MAINTAINER= hallmanns@surfeu.de
+MAINTAINER= hallmann@ahatec.de
HOMEPAGE= http://www.hylafax.org/
COMMENT= Telecommunication and fax server system
DEPENDS+= mawk>=1.2.2:../../lang/mawk
-DIST_SUBDIR= hylafax
-
-CONFLICTS= mgetty-[0-9]*
+CONFLICTS= hylafax-devel-[0-9]* mgetty-[0-9]*
USE_PKGINSTALL= yes
USE_LANGUAGES= c c++
@@ -34,6 +34,18 @@ RCD_SCRIPTS= hylafax
SUID_EXES= ${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
+PKG_OPTIONS_VAR= PKG_OPTIONS.hylafax
+PKG_SUPPORTED_OPTIONS= pam
+#pam doesn't work right now, so disabled by default
+#PKG_SUGGESTED_OPTIONS= pam
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpam)
+.include "../../mk/pam.buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-pam
+.endif
+
post-install:
${CHOWN} ${FAXUSER} ${SUID_EXES}
${CHMOD} 4555 ${SUID_EXES}
diff --git a/comms/hylafax/PLIST b/comms/hylafax/PLIST
index b25b8f55fb6..0b3f9b360d3 100644
--- a/comms/hylafax/PLIST
+++ b/comms/hylafax/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2005/05/02 20:33:58 reed Exp $
+@comment $NetBSD: PLIST,v 1.10 2005/11/13 22:50:26 wiz Exp $
bin/faxalter
bin/faxcover
bin/faxmail
@@ -20,6 +20,7 @@ libexec/hylafax/faxrcvd
libexec/hylafax/mkcover
libexec/hylafax/notify
libexec/hylafax/notify-4.1
+libexec/hylafax/notify.awk
libexec/hylafax/pcl2fax
libexec/hylafax/pdf2fax.gs
libexec/hylafax/pollrcvd
@@ -44,7 +45,7 @@ man/cat1/sendfax.0
man/cat1/sendpage.0
man/cat1/sgi2fax.0
man/cat1/textfmt.0
-man/cat5/cid.0
+man/cat5/callid.0
man/cat5/destctrls.0
man/cat5/dialrules.0
man/cat5/doneq.0
@@ -144,6 +145,7 @@ share/hylafax/config_template/class1.0
share/hylafax/config_template/class2
share/hylafax/config_template/class2.0
share/hylafax/config_template/class2.1
+share/hylafax/config_template/conexant-1.0
share/hylafax/config_template/davicom-2
share/hylafax/config_template/digi
share/hylafax/config_template/digi-2
diff --git a/comms/hylafax/distinfo b/comms/hylafax/distinfo
index ebf3c62988e..38b88494120 100644
--- a/comms/hylafax/distinfo
+++ b/comms/hylafax/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.15 2005/10/30 20:14:07 adrianp Exp $
+$NetBSD: distinfo,v 1.16 2005/11/13 22:50:26 wiz Exp $
-SHA1 (hylafax/hylafax-4.2.1.tar.gz) = 7686daa4db84a90695cff6eba2f873ef59659e0e
-RMD160 (hylafax/hylafax-4.2.1.tar.gz) = 49634ac9048b428bd4cebae0a0a72c7e3047bcfc
-Size (hylafax/hylafax-4.2.1.tar.gz) = 1412035 bytes
+SHA1 (hylafax-4.2.2.tar.gz) = 6f635298d491fec95379a337e9f4c2d922913d1c
+RMD160 (hylafax-4.2.2.tar.gz) = a50505b77b65352f580dbe86a1525a356a46f116
+Size (hylafax-4.2.2.tar.gz) = 1438894 bytes
SHA1 (patch-aa) = 94de7c7fb55c9c95c6a774fb732e2d47ec818152
SHA1 (patch-ab) = 5ee930814178223fa66dd308f365ff400559fd1d
SHA1 (patch-ac) = 6f89cc0c9e7a0e789c23b0dfc604376e457091b7
@@ -17,8 +17,3 @@ SHA1 (patch-am) = b004485310a2257630561a42b3f08896604ce986
SHA1 (patch-an) = 535f9454e473d7bb26a256aec3158cffdb3d0399
SHA1 (patch-ao) = 73da088c0dbc13a0dcb8d6abaa36804f34638c51
SHA1 (patch-ap) = f9d6a2796535e7200419d6e24203b9995e5cfb39
-SHA1 (patch-ba) = d675d4ef737e0e0ec06c3c668bc094980f2e018d
-SHA1 (patch-bb) = 7b035593390cbcbebfc2cc311695c52cc6a8177f
-SHA1 (patch-bc) = 6810f1ead317173d0cc0dead389f55a279d5738a
-SHA1 (patch-bd) = f3c52d9372831d1f75389fcd1a7cf67fe44079aa
-SHA1 (patch-be) = 73e0f40182665a8d0c9007230ddfcc4c6a4477d2
diff --git a/comms/hylafax/patches/patch-ba b/comms/hylafax/patches/patch-ba
deleted file mode 100644
index c4bf6cab99e..00000000000
--- a/comms/hylafax/patches/patch-ba
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ba,v 1.1 2005/10/30 20:14:07 adrianp Exp $
-
---- util/faxcron.sh.in.orig 2005-10-30 19:13:07.000000000 +0000
-+++ util//faxcron.sh.in
-@@ -69,9 +69,12 @@ TEE=tee
- UPDATE="date +'%D %H:%M' >$LAST"
-
- # security
--TMPDIR=/tmp/.faxcron.sh$$
--rm -rf $TMPDIR
--mkdir $TMPDIR || exit 1
-+TMPDIR=`(mktemp -d /tmp/.faxcron.XXXXXX) 2>/dev/null`
-+if test X$TMPDIR = X; then
-+ TMPDIR=/tmp/.faxcron$$
-+fi
-+@RM@ -fr $TMPDIR
-+(umask 077 ; mkdir $TMPDIR) || exit 1
-
- JUNK=$TMPDIR/faxjunk$$ # temp file used multiple times
- AWKTMP=$TMPDIR/faxawk$$ # temp file for awk program
diff --git a/comms/hylafax/patches/patch-bb b/comms/hylafax/patches/patch-bb
deleted file mode 100644
index cb141148746..00000000000
--- a/comms/hylafax/patches/patch-bb
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-bb,v 1.1 2005/10/30 20:14:07 adrianp Exp $
-
---- util/recvstats.sh.in.orig 2005-10-30 19:15:58.000000000 +0000
-+++ util/recvstats.sh.in
-@@ -142,14 +142,15 @@ esac
- #
- # Generate an awk program to process the statistics file.
- #
--tmpAwk=/tmp/xferfax$$
--trap "rm -f $tmpAwk; exit 1" 0 1 2 15
--
--# security
--rm -rf $tmpAwk
--${NOCLOBBER_ON}
--> $tmpAwk || exit 1
--${NOCLOBBER_OFF}
-+TMPDIR=`(mktemp -d /tmp/.recvstats.XXXXXX) 2>/dev/null`
-+if test X$TMPDIR = X; then
-+ TMPDIR=/tmp/.recvstats$$
-+fi
-+
-+@RM@ -fr $TMPDIR
-+(umask 077 ; mkdir $TMPDIR) || exit 1
-+tmpAwk=$TMPDIR/xferfax$$
-+trap "@RM@ -f $tmpAwk; @RM@ -fr $TMPDIR; exit 1" 0 1 2 15
-
- ($CAT<<'EOF'
- #
diff --git a/comms/hylafax/patches/patch-bc b/comms/hylafax/patches/patch-bc
deleted file mode 100644
index cf2c5c78264..00000000000
--- a/comms/hylafax/patches/patch-bc
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-bc,v 1.1 2005/10/30 20:14:07 adrianp Exp $
-
---- util/xferfaxstats.sh.in.orig 2005-10-30 19:24:06.000000000 +0000
-+++ util/xferfaxstats.sh.in
-@@ -169,8 +169,14 @@ esac
- #
- # Generate an awk program to process the statistics file.
- #
--tmpAwk=/tmp/xferfax$$
--trap "rm -f $tmpAwk; exit 1" 0 1 2 15
-+TMPDIR=`(mktemp -d /tmp/.xferfaxstats.XXXXXX) 2>/dev/null`
-+if test X$TMPDIR = X; then
-+ TMPDIR=/tmp/.xferfaxstats$$
-+fi
-+@RM@ -fr $TMPDIR
-+(umask 077 ; mkdir $TMPDIR) || exit 1
-+tmpAwk=$TMPDIR/xferfax$$
-+trap "@RM@ -fr $TMPDIR; exit 1" 0 1 2 15
-
- ($CAT<<'EOF'
- #
diff --git a/comms/hylafax/patches/patch-bd b/comms/hylafax/patches/patch-bd
deleted file mode 100644
index 85da3c45f7a..00000000000
--- a/comms/hylafax/patches/patch-bd
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-bd,v 1.1 2005/10/30 20:14:07 adrianp Exp $
-
---- util/Transport.c++.orig 2005-10-30 19:41:36.000000000 +0000
-+++ util/Transport.c++
-@@ -27,7 +27,9 @@
- #include "Transport.h"
- #include "FaxClient.h"
- #include "InetTransport.h"
-+#if CONFIG_UNIXTRANSPORT
- #include "UnixTransport.h"
-+#endif
- #include "Sys.h"
-
- #include <errno.h>
-@@ -50,17 +52,23 @@ Transport::getTransport(FaxClient& clien
- * An unqualified destination; look for
- * the best available transport facility.
- */
-+#if CONFIG_UNIXTRANPSORT
- if (UnixTransport::isA(FAX_DEFUNIX)) {
- client.setHost(FAX_DEFUNIX);
- return *new UnixTransport(client);
- } else {
-+#endif
- client.setHost(FAX_DEFHOST);
- return *new InetTransport(client);
-+#if CONFIG_UNIXTRANPSORT
- }
-+#endif
- } else {
-+#if CONFIG_UNIXTRANPSORT
- if (UnixTransport::isA(address))
- return *new UnixTransport(client);
- else
-+#endif
- return *new InetTransport(client);
- }
- }
diff --git a/comms/hylafax/patches/patch-be b/comms/hylafax/patches/patch-be
deleted file mode 100644
index 28abb251c0e..00000000000
--- a/comms/hylafax/patches/patch-be
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-be,v 1.1 2005/10/30 20:14:07 adrianp Exp $
-
---- util/UnixTransport.c++.orig 2005-10-30 19:44:31.000000000 +0000
-+++ util/UnixTransport.c++
-@@ -31,13 +31,13 @@
- UnixTransport::UnixTransport(FaxClient& c) : Transport(c) {}
- UnixTransport::~UnixTransport() {}
-
-+#if CONFIG_UNIXTRANPSORT
- bool
- UnixTransport::isA(const char* address)
- {
- return Sys::isSocketFile(address);
- }
-
--#if CONFIG_UNIXTRANSPORT
- #include "Socket.h"
-
- extern "C" {