# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # hylafax+ # hylafax+/pkg-descr # hylafax+/pkg-plist # hylafax+/distinfo # hylafax+/files # hylafax+/files/patch-faxd-sslfax.h # hylafax+/files/patch-defs.in # hylafax+/files/patch-Makefile.in # hylafax+/files/patch-faxd-sslfax.c++ # hylafax+/files/patch-etc_dialrules.austria # hylafax+/files/patch-faxd-Makefile.in # hylafax+/files/patch-configure.2 # hylafax+/files/pkg-message.in # hylafax+/files/patch-config.h.in # hylafax+/files/patch-faxd-GettySysV.c++ # hylafax+/files/hylafax.in # hylafax+/files/patch-util_cover.templ # hylafax+/files/patch-configure.3 # hylafax+/files/patch-etc_Makefile.in # hylafax+/files/patch-faxd-faxApp.c++ # hylafax+/files/patch-configure # hylafax+/files/README # hylafax+/Makefile # echo c - hylafax+ mkdir -p hylafax+ > /dev/null 2>&1 echo x - hylafax+/pkg-descr sed 's/^X//' >hylafax+/pkg-descr << '3ee525efc4c8f95be97c1e78dbbe50fe' X(excerpt from HylaFAX FAQ, http://www.hylafax.org/content/About_HylaFAX) X X HylaFAX is a facsimile system for UNIX systems. It supports: X o sending facsimile X o receiving facsimile X o polled retrieval of facsimile X o transparent shared data use of the modem X o sending messages to pagers X Facsimile can be any size (e.g. A4, B4), either 98 or 196 lpi, and X transmitted/received as either 1D-encoded or 2D-encoded facsimile data X (2D-encoded data is frequently more compact and hence takes a shorter X time to communicate). Any modem that supports one of the standard X interfaces for facsimile operation can be used; i.e. any Class 1, Class X 2, or Class 2.0 modem. X XWWW: http://www.hylafax.org/ 3ee525efc4c8f95be97c1e78dbbe50fe echo x - hylafax+/pkg-plist sed 's/^X//' >hylafax+/pkg-plist << 'ee9e5a2f83b8a332fc882df5e896e58d' X@(uucp,,4555) bin/faxalter Xbin/faxcover Xbin/faxmail X@(uucp,,4555) bin/faxrm Xbin/faxstat Xbin/sendfax Xbin/sendpage Xlib/fax/faxcover.ps Xlib/fax/faxmail.ps Xlib/fax/faxmail/application/pdf Xlib/fax/faxmail/application/octet-stream Xlib/fax/faxmail/application/binary Xlib/fax/faxmail/image/tiff X@sample lib/fax/hfaxd.conf.sample X@sample lib/fax/pagesizes.sample X@sample lib/fax/typerules.sample Xman/man1/edit-faxcover.1.gz Xman/man1/faxalter.1.gz Xman/man1/faxcover.1.gz Xman/man1/faxmail.1.gz Xman/man1/faxrm.1.gz Xman/man1/faxstat.1.gz Xman/man1/hylafax-client.1.gz Xman/man1/sendfax.1.gz Xman/man1/sendpage.1.gz Xman/man1/sgi2fax.1.gz Xman/man1/textfmt.1.gz Xman/man5/dialrules.5f.gz Xman/man5/doneq.5f.gz Xman/man5/hosts.hfaxd.5f.gz Xman/man5/hylafax-config.5f.gz Xman/man5/hylafax-info.5f.gz Xman/man5/hylafax-log.5f.gz Xman/man5/hylafax-server.5f.gz Xman/man5/hylafax-shutdown.5f.gz Xman/man5/pagermap.5f.gz Xman/man5/pagesizes.5f.gz Xman/man5/recvq.5f.gz Xman/man5/sendq.5f.gz Xman/man5/status.5f.gz Xman/man5/tsi.5f.gz Xman/man5/typerules.5f.gz Xman/man5/xferfaxlog.5f.gz Xman/man8/choptest.8c.gz Xman/man8/cqtest.8c.gz Xman/man8/dialtest.8c.gz Xman/man8/faxabort.8c.gz Xman/man8/faxaddmodem.8c.gz Xman/man8/faxadduser.8c.gz Xman/man8/faxanswer.8c.gz Xman/man8/faxconfig.8c.gz Xman/man8/faxcron.8c.gz Xman/man8/faxdeluser.8c.gz Xman/man8/faxfetch.8c.gz Xman/man8/faxgetty.8c.gz Xman/man8/faxinfo.8c.gz Xman/man8/faxlock.8c.gz Xman/man8/faxmodem.8c.gz Xman/man8/faxmsg.8c.gz Xman/man8/faxq.8c.gz Xman/man8/faxqclean.8c.gz Xman/man8/faxquit.8c.gz Xman/man8/faxrcvd.8c.gz Xman/man8/faxsend.8c.gz Xman/man8/faxsetup.8c.gz Xman/man8/faxsetup.linux.8c.gz Xman/man8/faxstate.8c.gz Xman/man8/faxwatch.8c.gz Xman/man8/hfaxd.8c.gz Xman/man8/hylafax.8c.gz Xman/man8/jobcontrol.8c.gz Xman/man8/lockname.8c.gz Xman/man8/mkcover.8c.gz Xman/man8/notify.8c.gz Xman/man8/ondelay.8c.gz Xman/man8/pagesend.8c.gz Xman/man8/pdf2fax.8c.gz Xman/man8/pollrcvd.8c.gz Xman/man8/probemodem.8c.gz Xman/man8/ps2fax.8c.gz Xman/man8/recvstats.8c.gz Xman/man8/tagtest.8c.gz Xman/man8/tiff2fax.8c.gz Xman/man8/tiffcheck.8c.gz Xman/man8/tsitest.8c.gz Xman/man8/typetest.8c.gz Xman/man8/wedged.8c.gz Xman/man8/xferfaxstats.8c.gz Xsbin/textfmt Xsbin/faxmsg Xsbin/faxadduser Xsbin/faxconfig Xsbin/faxdeluser Xsbin/faxmodem Xsbin/faxstate Xsbin/faxfetch Xsbin/faxwatch Xsbin/faxinfo Xsbin/tiffcheck Xsbin/faxabort Xsbin/faxanswer Xsbin/faxquit Xsbin/faxlock Xsbin/dialtest Xsbin/typetest Xsbin/xferfaxstats Xsbin/recvstats Xsbin/faxcron Xsbin/edit-faxcover X@(uucp,,4555) sbin/faxq Xsbin/faxqclean X@(uucp,,4555) sbin/faxgetty Xsbin/faxsend Xsbin/pagesend Xsbin/tsitest Xsbin/tagtest Xsbin/cqtest Xsbin/choptest Xsbin/hfaxd Xsbin/faxaddmodem Xsbin/faxsetup Xsbin/faxsetup.bsdi Xsbin/faxsetup.irix Xsbin/faxsetup.linux Xsbin/probemodem Xsbin/lockname Xsbin/ondelay Xsbin/hylafax X%%HYLAFAX_SPOOL%%/COPYRIGHT X@postexec mkfifo -m 0600 %%HYLAFAX_SPOOL%%/FIFO X@postexec chown uucp:dialer %%HYLAFAX_SPOOL%%/FIFO X@rmtry %%HYLAFAX_SPOOL%%/FIFO X%%HYLAFAX_SPOOL%%/bin/ps2fax.gs X%%HYLAFAX_SPOOL%%/bin/ps2fax.dps X%%HYLAFAX_SPOOL%%/bin/ps2fax.imp X%%HYLAFAX_SPOOL%%/bin/pdf2fax.gs X%%HYLAFAX_SPOOL%%/bin/pcl2fax X%%HYLAFAX_SPOOL%%/bin/tiff2fax X%%HYLAFAX_SPOOL%%/bin/tiff2pdf X%%HYLAFAX_SPOOL%%/bin/notify X%%HYLAFAX_SPOOL%%/bin/archive X%%HYLAFAX_SPOOL%%/bin/common-functions X%%HYLAFAX_SPOOL%%/bin/dictionary X%%HYLAFAX_SPOOL%%/bin/qp-encode.awk X%%HYLAFAX_SPOOL%%/bin/faxrcvd X%%HYLAFAX_SPOOL%%/bin/pollrcvd X%%HYLAFAX_SPOOL%%/bin/mkcover X%%HYLAFAX_SPOOL%%/bin/wedged X@rmtry %%HYLAFAX_SPOOL%%/bin/pdf2fax X%%HYLAFAX_SPOOL%%/bin/genfontmap.ps X%%HYLAFAX_SPOOL%%/bin/rfc2047-encode.awk X%%HYLAFAX_SPOOL%%/bin/auto-rotate.ps X%%HYLAFAX_SPOOL%%/bin/dict/de X%%HYLAFAX_SPOOL%%/bin/dict/en X%%HYLAFAX_SPOOL%%/bin/dict/es X%%HYLAFAX_SPOOL%%/bin/dict/fr X%%HYLAFAX_SPOOL%%/bin/dict/he X%%HYLAFAX_SPOOL%%/bin/dict/it X%%HYLAFAX_SPOOL%%/bin/dict/nl_BE X%%HYLAFAX_SPOOL%%/bin/dict/pl X%%HYLAFAX_SPOOL%%/bin/dict/pt X%%HYLAFAX_SPOOL%%/bin/dict/pt_BR X%%HYLAFAX_SPOOL%%/bin/dict/ro X%%HYLAFAX_SPOOL%%/bin/dict/ru X%%HYLAFAX_SPOOL%%/bin/dict/sr X%%HYLAFAX_SPOOL%%/bin/dict/tr X%%HYLAFAX_SPOOL%%/bin/dict/uk X%%HYLAFAX_SPOOL%%/bin/dict/zh X%%HYLAFAX_SPOOL%%/config/class1 X%%HYLAFAX_SPOOL%%/config/class1.0 X%%HYLAFAX_SPOOL%%/config/class2 X%%HYLAFAX_SPOOL%%/config/class2.0 X%%HYLAFAX_SPOOL%%/config/class2.1 X%%HYLAFAX_SPOOL%%/config/skel X%%HYLAFAX_SPOOL%%/config/att-dataport-2 X%%HYLAFAX_SPOOL%%/config/att-dataport-2.0 X%%HYLAFAX_SPOOL%%/config/att-dataport X%%HYLAFAX_SPOOL%%/config/att-dpexpress-2 X%%HYLAFAX_SPOOL%%/config/cirrus X%%HYLAFAX_SPOOL%%/config/conexant-1.0 X%%HYLAFAX_SPOOL%%/config/digi X%%HYLAFAX_SPOOL%%/config/digi-2 X%%HYLAFAX_SPOOL%%/config/digi-20 X%%HYLAFAX_SPOOL%%/config/davicom-2 X%%HYLAFAX_SPOOL%%/config/dsi-scout+ X%%HYLAFAX_SPOOL%%/config/e-tech X%%HYLAFAX_SPOOL%%/config/eicon X%%HYLAFAX_SPOOL%%/config/eicon-2 X%%HYLAFAX_SPOOL%%/config/elsa-microlink-56k-basic-2.0 X%%HYLAFAX_SPOOL%%/config/everex-2496d X%%HYLAFAX_SPOOL%%/config/exar X%%HYLAFAX_SPOOL%%/config/gvc-288 X%%HYLAFAX_SPOOL%%/config/gvc-288-2 X%%HYLAFAX_SPOOL%%/config/hayes X%%HYLAFAX_SPOOL%%/config/iaxmodem X%%HYLAFAX_SPOOL%%/config/intel-400e X%%HYLAFAX_SPOOL%%/config/i537ep X%%HYLAFAX_SPOOL%%/config/ip568x X%%HYLAFAX_SPOOL%%/config/linux-isdn-1 X%%HYLAFAX_SPOOL%%/config/linux-isdn-2 X%%HYLAFAX_SPOOL%%/config/lucent X%%HYLAFAX_SPOOL%%/config/lucent-isa X%%HYLAFAX_SPOOL%%/config/lucent-mt-10 X%%HYLAFAX_SPOOL%%/config/lucent-mt-2 X%%HYLAFAX_SPOOL%%/config/lucent-mt-20 X%%HYLAFAX_SPOOL%%/config/lucent-mt-21 X%%HYLAFAX_SPOOL%%/config/mainpine-10 X%%HYLAFAX_SPOOL%%/config/mainpine-2 X%%HYLAFAX_SPOOL%%/config/mainpine-20 X%%HYLAFAX_SPOOL%%/config/mainpine-21 X%%HYLAFAX_SPOOL%%/config/moto-288 X%%HYLAFAX_SPOOL%%/config/mt-1432 X%%HYLAFAX_SPOOL%%/config/nuvo-voyager X%%HYLAFAX_SPOOL%%/config/ppi-pm14400fxmt X%%HYLAFAX_SPOOL%%/config/ppi-pm14400fxsa X%%HYLAFAX_SPOOL%%/config/prometheus X%%HYLAFAX_SPOOL%%/config/rc144ac X%%HYLAFAX_SPOOL%%/config/rc144ac-1 X%%HYLAFAX_SPOOL%%/config/rc288dpi X%%HYLAFAX_SPOOL%%/config/rc288dpi-1 X%%HYLAFAX_SPOOL%%/config/rc32acl X%%HYLAFAX_SPOOL%%/config/rc32acl-1 X%%HYLAFAX_SPOOL%%/config/rockwell-k56 X%%HYLAFAX_SPOOL%%/config/rockwell-rc X%%HYLAFAX_SPOOL%%/config/t38modem X%%HYLAFAX_SPOOL%%/config/telebit-t3000 X%%HYLAFAX_SPOOL%%/config/telebit-qblazer X%%HYLAFAX_SPOOL%%/config/telebit-wb X%%HYLAFAX_SPOOL%%/config/topic X%%HYLAFAX_SPOOL%%/config/tricom2842 X%%HYLAFAX_SPOOL%%/config/uds-fastalk X%%HYLAFAX_SPOOL%%/config/umc92144 X%%HYLAFAX_SPOOL%%/config/umc9624 X%%HYLAFAX_SPOOL%%/config/usr-2.0 X%%HYLAFAX_SPOOL%%/config/usr-rts X%%HYLAFAX_SPOOL%%/config/usr-xon X%%HYLAFAX_SPOOL%%/config/zyxel-1496e X%%HYLAFAX_SPOOL%%/config/zyxel-1496e-1 X%%HYLAFAX_SPOOL%%/config/zyxel-1496e-2.0 X%%HYLAFAX_SPOOL%%/config/zyxel-2864 X%%HYLAFAX_SPOOL%%/config/sierra X%%HYLAFAX_SPOOL%%/etc/dpsprinter.ps X%%HYLAFAX_SPOOL%%/etc/cover.templ X%%HYLAFAX_SPOOL%%/etc/xferfaxlog X@sample %%HYLAFAX_SPOOL%%/etc/hosts.hfaxd.sample X%%HYLAFAX_SPOOL%%/etc/dialrules X%%HYLAFAX_SPOOL%%/etc/dialrules.sf-ba X%%HYLAFAX_SPOOL%%/etc/dialrules.europe X%%HYLAFAX_SPOOL%%/etc/dialrules.austria X%%HYLAFAX_SPOOL%%/etc/dialrules-pabx.be X%%HYLAFAX_SPOOL%%/etc/dialrules.ext X%%HYLAFAX_SPOOL%%/etc/dialrules.uk X%%HYLAFAX_SPOOL%%/etc/dialrules.world X%%HYLAFAX_SPOOL%%/etc/lutRS18.pcf X%%HYLAFAX_SPOOL%%/etc/LiberationSans-25.pcf X@dir(uucp,dialer,0700) %%HYLAFAX_SPOOL%%/archive X@dir(uucp,dialer,755) %%HYLAFAX_SPOOL%%/info X@dir(uucp,dialer,755) %%HYLAFAX_SPOOL%%/log X@dir(uucp,dialer,700) %%HYLAFAX_SPOOL%%/pollq X@dir(uucp,dialer,755) %%HYLAFAX_SPOOL%%/recvq X@dir(uucp,dialer,700) %%HYLAFAX_SPOOL%%/sendq X@dir(uucp,dialer,755) %%HYLAFAX_SPOOL%%/status X@dir(uucp,dialer,700) %%HYLAFAX_SPOOL%%/tmp X@dir(uucp,dialer,0755) %%HYLAFAX_SPOOL%%/dev X@dir(uucp,dialer,0700) %%HYLAFAX_SPOOL%%/docq X@dir(uucp,dialer,0700) %%HYLAFAX_SPOOL%%/doneq X@dir(uucp,dialer,0755) %%HYLAFAX_SPOOL%%/client X@dir %%HYLAFAX_SPOOL%%/bin X@dir %%HYLAFAX_SPOOL%%/bin/dict X@dir %%HYLAFAX_SPOOL%%/config X@dir %%HYLAFAX_SPOOL%%/etc X@dir %%HYLAFAX_SPOOL%% ee9e5a2f83b8a332fc882df5e896e58d echo x - hylafax+/distinfo sed 's/^X//' >hylafax+/distinfo << '389653dc2bc8f3951f84a67d33c2db20' XTIMESTAMP = 1574281485 XSHA256 (hylafax-7.0.1.tar.gz) = 7f8b4cb081678ba5d11b336ba55fc203eb5a65752495555f77513ab7c1ac6f32 XSIZE (hylafax-7.0.1.tar.gz) = 52 389653dc2bc8f3951f84a67d33c2db20 echo c - hylafax+/files mkdir -p hylafax+/files > /dev/null 2>&1 echo x - hylafax+/files/patch-faxd-sslfax.h sed 's/^X//' >hylafax+/files/patch-faxd-sslfax.h << '5df037504f1eb8718555d4cb4904482b' X--- ./faxd/sslfax.h.ORIG 2019-09-27 04:47:27.000000000 +0200 X+++ ./faxd/sslfax.h 2019-11-22 10:12:10.243327000 +0100 X@@ -30,7 +30,7 @@ X X #include X #include X-#include X+#include X #include X #include X #include 5df037504f1eb8718555d4cb4904482b echo x - hylafax+/files/patch-defs.in sed 's/^X//' >hylafax+/files/patch-defs.in << 'f643d2fcbeeb01ac15cc734c4f56ea79' X--- defs.in.ORIG 2017-02-18 02:03:08.000000000 +0100 X+++ defs.in 2017-07-16 11:54:22.701554000 +0200 X@@ -56,7 +56,7 @@ X # X TOPSRCDIR = @SRCDIR@ X PORT = ${DEPTH}/port X-INSTALLROOT = @INSTALLROOT@ X+INSTALLROOT = ${STAGEDIR} X # X # PostScript imaging support to setup for the default X # installation. This should be one of "gs" or "dps" f643d2fcbeeb01ac15cc734c4f56ea79 echo x - hylafax+/files/patch-Makefile.in sed 's/^X//' >hylafax+/files/patch-Makefile.in << 'f59a69d1ae691b6e89e42bdd28d2cc94' X--- ./Makefile.in.ORIG 2017-07-16 10:18:10.796312000 +0200 X+++ ./Makefile.in 2017-07-16 10:21:45.844623000 +0200 X@@ -200,10 +200,8 @@ X makeClientDirs:: X -${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \ X -idb hylafax.sw.client -root ${INSTALLROOT} -dir \ X- ${BIN} ${LIBDATA} ${LIBEXEC} ${SBIN} X+ ${LIBDATA} X makeServerDirs:: X- -${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \ X- -idb hylafax.sw.server -root ${INSTALLROOT} -dir ${SBIN}; X -${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \ X -idb hylafax.sw.server -root ${INSTALLROOT} -dir ${SPOOL} X -${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \ f59a69d1ae691b6e89e42bdd28d2cc94 echo x - hylafax+/files/patch-faxd-sslfax.c++ sed 's/^X//' >hylafax+/files/patch-faxd-sslfax.c++ << 'b7a378836538b14060eec98882db0d65' X--- ./faxd/sslfax.c++.ORIG 2019-09-27 04:47:27.000000000 +0200 X+++ ./faxd/sslfax.c++ 2019-11-22 10:12:10.243103000 +0100 X@@ -41,6 +41,7 @@ X X const long ONE_SECOND = 1000000; X X+static X timeval operator-(timeval src1, timeval src2) { X timeval delta; X delta.tv_sec = src1.tv_sec - src2.tv_sec; b7a378836538b14060eec98882db0d65 echo x - hylafax+/files/patch-etc_dialrules.austria sed 's/^X//' >hylafax+/files/patch-etc_dialrules.austria << '13f927fe26015f228729b8a36a22f753' X*** etc/dialrules.austria.ORIG Sat Mar 25 09:37:41 2006 X--- etc/dialrules.austria Sat Mar 25 09:53:36 2006 X*************** X*** 0 **** X--- 1,69 ---- X+ ! $Id: dialrules.austria,v 1.2 2006/04/17 07:29:40 root Exp $ X+ ! X+ ! HylaFAX (tm) Dialing String Processing Rules X+ ! for much of Europe. X+ ! X+ ! From: "Ed Cole" X+ ! X+ ! This file describes how to process user-specified dialing strings X+ ! to create two items: X+ ! X+ ! CanonicalNumber: a unique string that is derived from all dialing X+ ! strings to the same destination phone number. This string is used X+ ! by the fax server for ``naming'' the destination. X+ ! X+ ! DialString: the string passed to the modem for use in dialing the X+ ! telephone. This string should be void of any characters that might X+ ! confuse the modem. X+ ! X+ Area=${AreaCode} ! local area code X+ AreaLD=222 ! local area code for long-distance dialing X+ Country=${CountryCode} ! local country code X+ IDPrefix=${InternationalPrefix} ! prefix for placing an international call X+ LDPrefix=${LongDistancePrefix} ! prefix for placing a long distance call X+ ! X+ WS=" " ! our notion of white space X+ ! X+ ! Convert a phone number to a canonical format: X+ ! X+ ! + X+ ! X+ ! by (possibly) stripping off leading dialing prefixes for X+ ! long distance and/or international dialing. X+ ! X+ CanonicalNumber := [ X+ %.* = ! strip calling card stuff X+ [abcABC] = 2 ! these convert alpha to numbers X+ [defDEF] = 3 X+ [ghiGHI] = 4 X+ [jklJKL] = 5 X+ [mnoMNO] = 6 X+ [prsPRS] = 7 X+ [tuvTUV] = 8 X+ [wxyWXY] = 9 X+ [^+0-9]+ = ! strip white space etc. X+ ^${IDPrefix} = + ! 00 -> + X+ ^${LDPrefix} = +${Country} ! 0 -> + X+ ^[^+] = +${Country}${Area}& ! -> + X+ ^[+]${Country}${AreaLD} = +${Country}${Area} X+ ] X+ ! X+ ! Process a dialing string according to local requirements. X+ ! These rules do only one transformation: they convert in-country X+ ! international calls to long-distance calls. X+ ! X+ DialString := [ X+ [-${WS}.]+ = ! strip syntactic sugar X+ [abcABC] = 2 ! these convert alpha to numbers X+ [defDEF] = 3 X+ [ghiGHI] = 4 X+ [jklJKL] = 5 X+ [mnoMNO] = 6 X+ [prsPRS] = 7 X+ [tuvTUV] = 8 X+ [wxyWXY] = 9 X+ ^[+] = ${IDPrefix} ! + -> 00 X+ ^${IDPrefix}${Country} = ${LDPrefix} ! 00 -> 0 X+ ^${LDPrefix}${Area} = ! 0 -> X+ ^${LDPrefix}${AreaLD} = ! 0 -> X+ ] 13f927fe26015f228729b8a36a22f753 echo x - hylafax+/files/patch-faxd-Makefile.in sed 's/^X//' >hylafax+/files/patch-faxd-Makefile.in << '62369f54d3f9b2edf02f9ffa447205b9' X--- ./faxd/Makefile.in.ORIG 2019-09-27 04:47:27.000000000 +0200 X+++ ./faxd/Makefile.in 2019-11-22 10:12:10.242674000 +0100 X@@ -188,9 +188,9 @@ X faxq: ${FAXQOBJS} libfaxserver.${DSO} ${LIBS} X ${C++F} -o $@ ${FAXQOBJS} ${LIBFAXSERVER} ${LDFLAGS} X faxsend: ${FAXSENDOBJS} libfaxserver.${DSO} ${LIBS} X- ${C++F} -o $@ ${FAXSENDOBJS} ${LIBFAXSERVER} ${LDFLAGS} X+ ${C++F} -o $@ ${FAXSENDOBJS} ${LIBFAXSERVER} ${LDFLAGS} -lpthread X faxgetty: ${FAXGETTYOBJS} libfaxserver.${DSO} ${LIBS} X- ${C++F} -o $@ ${FAXGETTYOBJS} ${LIBFAXSERVER} ${LDFLAGS} X+ ${C++F} -o $@ ${FAXGETTYOBJS} ${LIBFAXSERVER} ${LDFLAGS} -lpthread X faxqclean: ${FAXQCLEANOBJS} libfaxserver.${DSO} ${LIBS} X ${C++F} -o $@ ${FAXQCLEANOBJS} ${LIBFAXSERVER} ${LDFLAGS} X 62369f54d3f9b2edf02f9ffa447205b9 echo x - hylafax+/files/patch-configure.2 sed 's/^X//' >hylafax+/files/patch-configure.2 << '1038ddb6c8b71b777d6c3ddb4cd0145e' X*** ./configure.ORIG Wed Nov 21 15:45:23 2007 X--- ./configure Sat Mar 22 08:26:55 2008 X*************** X*** 1352,1359 **** X # hard to isolate. We choose bash over ksh over sh; though X # this may be iffy (ksh appears to be just as busted some places). X # X! test "$SCRIPT_SH" || SCRIPT_SH=`findApp bash $PATH` X! test "$SCRIPT_SH" || SCRIPT_SH=`findApp ksh $PATH` X test "$SCRIPT_SH" || SCRIPT_SH=`findApp sh $PATH` X if [ -z "$SCRIPT_SH" ]; then X Note "" X--- 1352,1359 ---- X # hard to isolate. We choose bash over ksh over sh; though X # this may be iffy (ksh appears to be just as busted some places). X # X! # test "$SCRIPT_SH" || SCRIPT_SH=`findApp bash $PATH` X! # test "$SCRIPT_SH" || SCRIPT_SH=`findApp ksh $PATH` X test "$SCRIPT_SH" || SCRIPT_SH=`findApp sh $PATH` X if [ -z "$SCRIPT_SH" ]; then X Note "" 1038ddb6c8b71b777d6c3ddb4cd0145e echo x - hylafax+/files/pkg-message.in sed 's/^X//' >hylafax+/files/pkg-message.in << 'ae82dc219f9200b8d89c2d29e42e4a3f' XHylafax was installed. You'll need manual configurations to actually Xactivate it. X XSetting up: (for impatients) X Invoke %%PREFIX%%/sbin/faxsetup, and answer the questions. X Mostly, accepting the defaults should work well. X X When you are asked to specify the name of tty device, use "cuad1" X instead of "ttyd1". Otherwise it does not work well. X X Consult %%PREFIX%%/etc/rc.d/hylafax.sh.sample for startups. X X For accepting incoming FAX/data calls, modify /etc/ttys as below X and send SIGHUP to init process: X X>cuad1 "%%PREFIX%%/sbin/faxgetty" dialup on secure X XBe sure to rerun %%PREFIX%%/sbin/faxsetup after updating your hylafax version X XDocumentation: X On Line Manuals: man hylafax-client X man hylafax-server X World Wide Web site: http://www.hylafax.org/ ae82dc219f9200b8d89c2d29e42e4a3f echo x - hylafax+/files/patch-config.h.in sed 's/^X//' >hylafax+/files/patch-config.h.in << 'b80e6a504af0ab31522e2b37f9d96df0' X--- config.h.in.orig 2012-06-06 02:58:38.000000000 +0200 X+++ config.h.in 2013-02-23 22:28:46.471211000 +0100 X@@ -303,3 +303,8 @@ X #define LOCALE_DOMAIN "@LOCALE_DOMAIN@" X X #endif X+ X+#if defined(__DragonFly__) X+ #define HAS_UTMPX 1 X+ #define HAS_EXIT_STATUS 1 X+#endif b80e6a504af0ab31522e2b37f9d96df0 echo x - hylafax+/files/patch-faxd-GettySysV.c++ sed 's/^X//' >hylafax+/files/patch-faxd-GettySysV.c++ << 'fa619a7b9c2e8bcd5efbf1d9d1460d30' X--- ./faxd/GettySysV.c++.ORIG 2017-02-18 02:03:08.000000000 +0100 X+++ ./faxd/GettySysV.c++ 2017-07-16 10:58:44.526363000 +0200 X@@ -176,6 +176,7 @@ X void X SysVGetty::writeWtmp(utmp* ut) X { X+#if !defined(__FreeBSD__) X // append record of login to wtmp file X #if HAS_UTMPX X updwtmpx(_PATH_WTMPX, ut); X@@ -186,6 +187,7 @@ X Sys::close(fd); X } X #endif X+#endif X } X X /* fa619a7b9c2e8bcd5efbf1d9d1460d30 echo x - hylafax+/files/hylafax.in sed 's/^X//' >hylafax+/files/hylafax.in << '225c0914d314e3e145b3fa28987a6447' X#!/bin/sh X X# $FreeBSD: head/comms/hylafax/files/hylafax.in 340851 2014-01-23 19:55:14Z mat $ X# X# PROVIDE: hylafax X# REQUIRE: LOGIN X# KEYWORD: shutdown X X# be sure to initialize the following: X# server: %%PREFIX%%/sbin/faxsetup X# modems: %%PREFIX%%/sbin/faxaddmodem X# incoming calls: /etc/ttys X Xhylafax_enable=${hylafax_enable-"NO"} X X. /etc/rc.subr X Xname="hylafax" Xrcvar="hylafax_enable" X Xstart_cmd="%%PREFIX%%/sbin/hylafax start" Xstop_cmd="%%PREFIX%%/sbin/hylafax stop" Xprocname="%%PREFIX%%/sbin/faxq" X Xload_rc_config $name Xrun_rc_command "$1" 225c0914d314e3e145b3fa28987a6447 echo x - hylafax+/files/patch-util_cover.templ sed 's/^X//' >hylafax+/files/patch-util_cover.templ << '5db56439aa84fe654d4255a097d97fb3' X*** util/cover.templ.ORIG Mon Oct 12 22:47:48 1998 X--- util/cover.templ Sat Mar 25 09:37:41 2006 X*************** X*** 283,290 **** X end X } def X X! drawlogo X! drawtext X X 0 0 0 setrgbcolor X /Helvetica-Bold-SHOWISO findfont 24 scalefont setfont X--- 283,290 ---- X end X } def X X! % drawlogo X! % drawtext X X 0 0 0 setrgbcolor X /Helvetica-Bold-SHOWISO findfont 24 scalefont setfont 5db56439aa84fe654d4255a097d97fb3 echo x - hylafax+/files/patch-configure.3 sed 's/^X//' >hylafax+/files/patch-configure.3 << '3ca4b9f88e64b87db464dd9ea2bb0847' X--- ./configure.ORIG 2019-11-22 10:08:44.872333000 +0100 X+++ ./configure 2019-11-22 10:15:42.365866000 +0100 X@@ -2581,7 +2581,7 @@ X echo '#define TIFFSTRIPBYTECOUNTS uint32' X echo '#define TIFFVERSION TIFF_VERSION' X echo '#define TIFFHEADER TIFFHeader';; X- 4.0) tiff_runlen_t="uint32" X+ 4.0 | 4.1) tiff_runlen_t="uint32" X tiff_offset_t="uint64" X echo '#define TIFFSTRIPBYTECOUNTS uint64' X echo '#define TIFFVERSION TIFF_VERSION_CLASSIC' X@@ -2623,7 +2623,7 @@ X Incompatible TIFF Library. X X HylaFAX ${VERSION} requires TIFF software distribution versions 3.4 through X-4.0. If you do not have up to date TIFF software on your system X+4.1. If you do not have up to date TIFF software on your system X then you can retrieve it from the location where you obtained this software. X The Home Page for version 3.5 and later is http://www.remotesensing.org/libtiff/ X EOF X@@ -4313,7 +4313,6 @@ X MANPATH=" X $MANPATH X /opt/freeware/man X- /usr/share/man X /usr/local/man X /usr/contrib/man X /usr/catman/local 3ca4b9f88e64b87db464dd9ea2bb0847 echo x - hylafax+/files/patch-etc_Makefile.in sed 's/^X//' >hylafax+/files/patch-etc_Makefile.in << '36ab15786b7b6239ce0d459da2aef611' X*** etc/Makefile.in.ORIG Tue Feb 6 05:54:06 2001 X--- etc/Makefile.in Sat Mar 25 09:37:41 2006 X*************** X*** 50,55 **** X--- 50,56 ---- X NAME_SYSVINITSTOP = @SYSVINITSTOPNAME@ X X DIALRULES=dialrules \ X+ dialrules.austria \ X dialrules.sf-ba \ X dialrules.europe X TARGETS = config.fax hosts.hfaxd xferfaxlog lockname ondelay 36ab15786b7b6239ce0d459da2aef611 echo x - hylafax+/files/patch-faxd-faxApp.c++ sed 's/^X//' >hylafax+/files/patch-faxd-faxApp.c++ << '773789e5b1685f25c49463b19c059298' X--- ./faxd/faxApp.c++.ORIG 2019-09-27 04:47:27.000000000 +0200 X+++ ./faxd/faxApp.c++ 2019-11-22 10:53:32.983879000 +0100 X@@ -460,8 +460,10 @@ X if (pwd->pw_uid != faxuid) X faxApp::fatal("Configuration error; " X "the fax server must run as the fax user \"%s\".", FAX_USER); X+#if 0 X if (setegid(faxuid) < 0) X faxApp::fatal("Can not setup permissions (faxuid)"); X+#endif X } X endpwent(); X } 773789e5b1685f25c49463b19c059298 echo x - hylafax+/files/patch-configure sed 's/^X//' >hylafax+/files/patch-configure << 'ede9c08daace19fde9c4ceb0de6b7246' X--- ./configure.ORIG 2017-07-16 10:41:59.701400000 +0200 X+++ ./configure 2017-07-16 10:40:46.990265000 +0200 X@@ -1755,7 +1755,7 @@ X CheckForLibrary ber_get_null -llber && X CheckForIncludeFile ldap.h && { X HAVE_LDAP="#define HAVE_LDAP 1" X- LDAPLIBS="-lldap -llber -lresolv" X+ LDAPLIBS="-lldap -llber" X } X if [ "x$LDAPLIBS" = "x" ]; then X Note "... not found. Disabling LDAP support" X@@ -1832,11 +1832,11 @@ X fi X } X X-CheckForLibrary inet_aton -lc || { X- CheckForLibrary inet_aton -lresolv && { X- MACHDEPLIBS="$MACHDEPLIBS -lresolv" X- } X-} X+# CheckForLibrary inet_aton -lc || { X+# CheckForLibrary inet_aton -lresolv && { X+# MACHDEPLIBS="$MACHDEPLIBS -lresolv" X+# } X+# } X X if CheckForLibrary logwtmp -lutil; then X Note "Looks like -lutil is needed for wtmp file logging." ede9c08daace19fde9c4ceb0de6b7246 echo x - hylafax+/files/README sed 's/^X//' >hylafax+/files/README << 'fb1bc6e49a83aa5be3091b50f1bb611f' XThe port is complete rewrite of hylafax-3.0p1 port by Julian Stacey X, May 1995. Xoriginal notice was as follows: X X Copyright Julian Stacey 1995: X Please preserve & comply with Sam Leffler's & SGI's legal stuff X I hereby release my work in this area for public use, X & disclaim all liability ! X Leave my name intact please, I'm a freelance, publicity can X be useful. X X2017-07-16: taken from comms/hylafax port and adapted for HylaFAX+ X X2019-11-22: updated to 7.0.1 fb1bc6e49a83aa5be3091b50f1bb611f echo x - hylafax+/Makefile sed 's/^X//' >hylafax+/Makefile << '787367184f9e5d9912ba9ebf380d21f1' X# Created by: Martin Birgmeier X# $FreeBSD$ X XPORTNAME= hylafax+ XPORTVERSION= 7.0.1 XCATEGORIES= comms XMASTER_SITES= SF/hylafax XDISTNAME= hylafax-7.0.1 X XMAINTAINER= la5lbtyi@aon.at XCOMMENT= HylaFAX fax software, plus edition X XLICENSE= MIT XLICENSE_FILE= ${WRKSRC}/COPYRIGHT X XBUILD_DEPENDS= ${LOCALBASE}/lib/afm/Courier:print/afm XLIB_DEPENDS= libtiff.so:graphics/tiff \ X libjbig.so:graphics/jbigkit X XCONFLICTS_INSTALL= hylafax X XMAKE_JOBS_UNSAFE= yes XHAS_CONFIGURE= yes XUSES= fakeroot ghostscript jpeg X XCONFIGURE_ARGS= --with-INSTALL="" \ X --with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \ X --with-ZLIB=no --with-LIBZ=-lz \ X --with-TIFFINC="-I${LOCALBASE}/include" \ X --with-GCOPTS=" " --with-GCXXOPTS=" " \ X --with-REGEX=no --with-LIBREGEX='' --with-REGEXINC=-I/usr/include \ X --with-DIR_HTML="${DOCSDIR}" \ X --with-GETTY=SysV XCFLAGS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -L${LOCALBASE}/lib XCONFIGURE_ENV= ENVOPTS="${CFLAGS}" XMAKE_ENV+= ROOT=${STAGEDIR} STAGEDIR=${STAGEDIR} XMAKE_ARGS+= OPTIMIZER="" -DOPTIMIZER -DSTAGEDIR=${STAGEDIR} X XSUB_FILES= pkg-message XUSE_RC_SUBR= hylafax X XOPTIONS_DEFINE= PAM GAWK DOCS XOPTIONS_DEFAULT=PAM XNO_OPTIONS_SORT=yes XOPTIONS_SUB= yes XGAWK_DESC= Use gawk for scripts X XPAM_CONFIGURE_OFF= --disable-pam XGAWK_BUILD_DEPENDS= gawk:lang/gawk XGAWK_RUN_DEPENDS= gawk:lang/gawk XGAWK_CONFIGURE_ON= --with-AWK="${LOCALBASE}/bin/gawk" XDOCS_CONFIGURE_ON= --with-HTML=yes X X.include X X# Defaults to "North American Letter". Use "ISO A4" for A4. X.if defined(PAGESIZE) XCONFIGURE_ARGS+=--with-PAGESIZE="${PAGESIZE}" X.endif X X# Redefine path for spool X.if defined(HYLAFAX_SPOOL) XCONFIGURE_ARGS+=--with-DIR_SPOOL="${HYLAFAX_SPOOL}" X.endif XHYLAFAX_SPOOL?= /var/spool/hylafax XPLIST_SUB+= HYLAFAX_SPOOL=${HYLAFAX_SPOOL} X X.if defined(PACKAGE_BUILDING) || defined(BATCH) XCONFIGURE_ARGS+=--nointeractive X.endif X Xpost-patch: X ${REINPLACE_CMD} \ X -e 's,/usr/local,${LOCALBASE},g' \ X -e 's,-ljbig,-L${LOCALBASE}/lib &,' \ X ${WRKSRC}/configure X ${REINPLACE_CMD} -e 's,-O hfaxd.conf,-O hfaxd.conf.sample,' \ X ${WRKSRC}/hfaxd/Makefile.in X ${REINPLACE_CMD} -e 's,hosts.hfaxd,hosts.hfaxd.sample,' \ X ${WRKSRC}/etc/Makefile.in X ${REINPLACE_CMD} -e 's,-O typerules,-O typerules.sample,' \ X -e 's,-O pagesizes,-O pagesizes.sample -src pagesizes,' \ X ${WRKSRC}/util/Makefile.in X Xpre-install: X ${MKDIR} ${STAGEDIR}${HYLAFAX_SPOOL}/archive \ X ${STAGEDIR}${HYLAFAX_SPOOL}/docq \ X ${STAGEDIR}${HYLAFAX_SPOOL}/doneq \ X ${STAGEDIR}${HYLAFAX_SPOOL}/pollq \ X ${STAGEDIR}${HYLAFAX_SPOOL}/sendq \ X ${STAGEDIR}${HYLAFAX_SPOOL}/tmp \ X ${STAGEDIR}${HYLAFAX_SPOOL}/info \ X ${STAGEDIR}${HYLAFAX_SPOOL}/log X X.include 787367184f9e5d9912ba9ebf380d21f1 exit