Date: Tuesday, September 25, 2018 @ 12:30:56 Author: tpowa Revision: 335371
archrelease: copy trunk to extra-x86_64 Added: hylafax/repos/extra-x86_64/PKGBUILD (from rev 335370, hylafax/trunk/PKGBUILD) hylafax/repos/extra-x86_64/config.local (from rev 335370, hylafax/trunk/config.local) hylafax/repos/extra-x86_64/faxgetty@.service (from rev 335370, hylafax/trunk/faxgetty@.service) hylafax/repos/extra-x86_64/faxq.service (from rev 335370, hylafax/trunk/faxq.service) hylafax/repos/extra-x86_64/hfaxd.service (from rev 335370, hylafax/trunk/hfaxd.service) hylafax/repos/extra-x86_64/hylafax.install (from rev 335370, hylafax/trunk/hylafax.install) hylafax/repos/extra-x86_64/hylafax.service (from rev 335370, hylafax/trunk/hylafax.service) hylafax/repos/extra-x86_64/hylafax.timer (from rev 335370, hylafax/trunk/hylafax.timer) Deleted: hylafax/repos/extra-x86_64/PKGBUILD hylafax/repos/extra-x86_64/config.local hylafax/repos/extra-x86_64/faxgetty@.service hylafax/repos/extra-x86_64/faxq.service hylafax/repos/extra-x86_64/hfaxd.service hylafax/repos/extra-x86_64/hylafax-gcc7.patch hylafax/repos/extra-x86_64/hylafax.install hylafax/repos/extra-x86_64/hylafax.service hylafax/repos/extra-x86_64/hylafax.timer --------------------+ PKGBUILD | 130 +++++------- config.local | 546 +++++++++++++++++++++++++-------------------------- faxgetty@.service | 48 ++-- faxq.service | 20 - hfaxd.service | 20 - hylafax-gcc7.patch | 31 -- hylafax.install | 70 +++--- hylafax.service | 22 +- hylafax.timer | 14 - 9 files changed, 431 insertions(+), 470 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-09-25 12:30:37 UTC (rev 335370) +++ PKGBUILD 2018-09-25 12:30:56 UTC (rev 335371) @@ -1,69 +0,0 @@ -# $Id$ -# Maintainer: Paul Mattal <p...@archlinux.org> -pkgname=hylafax -pkgver=6.0.6 -pkgrel=8 -pkgdesc="Fax Server" -arch=('x86_64') -install='hylafax.install' -license=('custom') -depends=('libtiff' 'pam' 'ghostscript') -makedepends=('smtp-server') -url="http://www.hylafax.org/" -backup=(var/spool/hylafax/bin/{faxrcvd,notify} - usr/lib/fax/{faxcover.ps,hfaxd.conf,pagesizes,typerules} - var/spool/hylafax/etc/hosts.hfaxd) -source=(ftp://ftp.hylafax.org/source/${pkgname}-${pkgver}.tar.gz - hylafax.{timer,service} - config.local - faxq.service - hfaxd.service - faxgetty@.service - hylafax-gcc7.patch) - -prepare() { - cd $pkgname-$pkgver - patch -p1 -i ../hylafax-gcc7.patch # Debian patch -} - -build () { - cd "$srcdir/${pkgname}-${pkgver}" - cp ../config.local . - ./configure --nointeractive --with-OPTIMIZER="${CFLAGS}" - make -} - -package () { - cd "$srcdir/${pkgname}-${pkgver}" - mkdir -p "$pkgdir"/usr/{bin,lib/fax,share/ghostscript/fonts} - mkdir -p "$pkgdir"/var/{spool/hylafax,lock} - make ROOT="$pkgdir" install - # add missing awk file for notify-4.1 script - install -D -m 755 "$srcdir"/${pkgname}-${pkgver}/util/notify.awk \ - "$pkgdir"/var/spool/hylafax/bin/notify.awk - # remove /var/lock - rm -r "$pkgdir"/var/lock - # add systemd files - install -D -m644 $srcdir/hfaxd.service $pkgdir/usr/lib/systemd/system/hfaxd.service - install -D -m644 $srcdir/faxq.service $pkgdir/usr/lib/systemd/system/faxq.service - install -D -m644 $srcdir/faxgetty@.service $pkgdir/usr/lib/systemd/system/faxgetty@.service - install -D -m644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT - # systemd timer - install -D -m644 ${srcdir}/hylafax.timer ${pkgdir}/usr/lib/systemd/system/hylafax.timer - install -D -m644 ${srcdir}/hylafax.service ${pkgdir}/usr/lib/systemd/system/hylafax.service - install -d -m755 ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants - ln -s ../shadow.timer ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/hylafax.timer - # fix permissions - chown 10:14 ${pkgdir}/var/spool/hylafax/{,archive,bin,client,config,dev,docq,doneq,etc} - chown 10:14 ${pkgdir}/var/spool/hylafax/{FIFO,info,log,pollq,recvq,sendq,status,tmp} - chown 10:14 ${pkgdir}/var/spool/hylafax/etc/{hosts.hfaxd,lutRS18.pcf,xferfaxlog} - chown 10:14 -R ${pkgdir}/var/spool/hylafax/etc/templates -} -md5sums=('d063d45049c8fcbabefe09d662313067' - '9ef38446d2a2aeac698c4ae178fd5c2b' - 'e5afba881859f018ee88d35fc62a488f' - '5f3a89fbfb10c47755d3ca19183b8a59' - 'a10aa2ef613551a88d750f6602b5f2f7' - '38a00db6d9d765d130b2d8d3a98e5c24' - 'fe10ea597e786fe8c09e4104fbdf16de' - '2aa6e02974e497b8d1e42c4a6c0a5b9c') Copied: hylafax/repos/extra-x86_64/PKGBUILD (from rev 335370, hylafax/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-09-25 12:30:56 UTC (rev 335371) @@ -0,0 +1,61 @@ +# Maintainer: Paul Mattal <p...@archlinux.org> +pkgname=hylafax +pkgver=6.0.7 +pkgrel=1 +pkgdesc="Fax Server" +arch=('x86_64') +install='hylafax.install' +license=('custom') +depends=('libtiff' 'pam' 'ghostscript') +makedepends=('smtp-server') +url="http://www.hylafax.org/" +backup=(var/spool/hylafax/bin/{faxrcvd,notify} + usr/lib/fax/{faxcover.ps,hfaxd.conf,pagesizes,typerules} + var/spool/hylafax/etc/hosts.hfaxd) +source=(ftp://ftp.hylafax.org/source/${pkgname}-${pkgver}.tar.gz + hylafax.{timer,service} + config.local + faxq.service + hfaxd.service + faxgetty@.service) + +build () { + cd "$srcdir/${pkgname}-${pkgver}" + cp ../config.local . + ./configure --nointeractive --with-OPTIMIZER="${CFLAGS}" + make +} + +package () { + cd "$srcdir/${pkgname}-${pkgver}" + mkdir -p "$pkgdir"/usr/{bin,lib/fax,share/ghostscript/fonts} + mkdir -p "$pkgdir"/var/{spool/hylafax,lock} + make ROOT="$pkgdir" install + # add missing awk file for notify-4.1 script + install -D -m 755 "$srcdir"/${pkgname}-${pkgver}/util/notify.awk \ + "$pkgdir"/var/spool/hylafax/bin/notify.awk + # remove /var/lock + rm -r "$pkgdir"/var/lock + # add systemd files + install -D -m644 $srcdir/hfaxd.service $pkgdir/usr/lib/systemd/system/hfaxd.service + install -D -m644 $srcdir/faxq.service $pkgdir/usr/lib/systemd/system/faxq.service + install -D -m644 $srcdir/faxgetty@.service $pkgdir/usr/lib/systemd/system/faxgetty@.service + install -D -m644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT + # systemd timer + install -D -m644 ${srcdir}/hylafax.timer ${pkgdir}/usr/lib/systemd/system/hylafax.timer + install -D -m644 ${srcdir}/hylafax.service ${pkgdir}/usr/lib/systemd/system/hylafax.service + install -d -m755 ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants + ln -s ../shadow.timer ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/hylafax.timer + # fix permissions + chown 10:14 ${pkgdir}/var/spool/hylafax/{,archive,bin,client,config,dev,docq,doneq,etc} + chown 10:14 ${pkgdir}/var/spool/hylafax/{FIFO,info,log,pollq,recvq,sendq,status,tmp} + chown 10:14 ${pkgdir}/var/spool/hylafax/etc/{hosts.hfaxd,lutRS18.pcf,xferfaxlog} + chown 10:14 -R ${pkgdir}/var/spool/hylafax/etc/templates +} +md5sums=('7602e98b882fa61a0722109c2706d1f1' + '9ef38446d2a2aeac698c4ae178fd5c2b' + 'e5afba881859f018ee88d35fc62a488f' + '5f3a89fbfb10c47755d3ca19183b8a59' + 'a10aa2ef613551a88d750f6602b5f2f7' + '38a00db6d9d765d130b2d8d3a98e5c24' + 'fe10ea597e786fe8c09e4104fbdf16de') Deleted: config.local =================================================================== --- config.local 2018-09-25 12:30:37 UTC (rev 335370) +++ config.local 2018-09-25 12:30:56 UTC (rev 335371) @@ -1,273 +0,0 @@ -# $Id: config.local,v 1.1 2003/06/28 00:24:49 jproctor Exp $ -# -# HylaFAX Facsimile Software -# -# Copyright (c) 1990-1996 Sam Leffler -# Copyright (c) 1991-1996 Silicon Graphics, Inc. -# HylaFAX is a trademark of Silicon Graphics, Inc. -# -# Permission to use, copy, modify, distribute, and sell this software and -# its documentation for any purpose is hereby granted without fee, provided -# that (i) the above copyright notices and this permission notice appear in -# all copies of the software and related documentation, and (ii) the names of -# Sam Leffler and Silicon Graphics may not be used in any advertising or -# publicity relating to the software without the specific, prior written -# permission of Sam Leffler and Silicon Graphics. -# -# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, -# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY -# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. -# -# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR -# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, -# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF -# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE -# OF THIS SOFTWARE. -# - -# -# This file holds site-specific configuration parameters. -# -# Nothing is defined in here by default, the definitions -# commented out below serve as documentation for what you -# can set in this file or a config.local file. -# -# Note that you do not need to set anything here unless you -# want to override the auto-configuration behaviour and/or -# interactive prompting done by the configure script. -# - -# -# Package controls. -# -#DSO="auto" # configure DSO support (auto|IRIX|no) -#GETTY="auto" # type of getty support (auto|BSD|SysV) -#HTML="no" # install HTML documentation (yes|no) -#PS="auto" # PostScript support to use (auto|gs|dps|imp) -#SGI2FAX="auto" # configure SGI image support (auto|yes|no) -#DPS="no" # install SGI DPS-based RIP (yes|no) -#GS="no" # install Ghostscript RIP (yes|no) -#IMP="no" # install SGI Impressario 2.1 support (yes|no) -#REGEX="yes" # use distributed regular expression package -#UTMP="utmpx" # type of utmp+wtmp handling (auto|utmp|utmpx) -#DBLIB="no" # use distributed libdb distribution - -# -# Directory parameters. -# -DIR_BIN="/usr/bin" # directory for client apps -DIR_LIB="/usr/lib" -DIR_LIBDATA="/usr/lib/fax" # directory for client data -DIR_LIBEXEC="/usr/lib/fax" # directory for libraries&hidden apps -DIR_MAN="/usr/share/man" # directory for manual pages -DIR_SPOOL="/var/spool/hylafax" # directory for spooling area -DIR_SBIN="/usr/bin" # directory for system apps -DIR_LOCKS="/var/lock" # directory for UUCP lock files -FONTMAP="/usr/share/ghostscript/fonts" # directorys containing Fontmap files -DIR_LOCALE="/usr/share/locale" -#PATH_AFM="/usr/lib/DPS/AFM" # directorys for AFM files - -# -# HTML-specific parameters; only used when the -# HTML package is configured for installation. -# -# Note that ``PATH''s are the virtual pathnames used -# in forming URLs; they are not directory pathnames -# in the filesystem. -# -DIR_HTML="/usr/share/hylafax/httpd" # directory for HTML documentation -#DIR_CGI="/var/httpd/cgi-bin" # directory for CGI scripts -#HTMLPATH="/hylafax" # virtual path to HTML materials -#CGIPATH="/cgi-bin" # virtual path to CGI scripts - -# -# Miscellaneous parameters. -# -#DEFVRES="196" # default vertical res for outbound fax -#FILLORDER="MS2LSB" # bit order of cpu (MSB2LSB/LSB2MSB) -#AXGID="uucp" # group ID for fax user -#FAXUID="uucp" # user ID for fax user -#PAGESIZE="North American Letter" # default page size -SYSGID="root" # group ID for system installs -SYSUID="root" # user ID for system installs -#LOCKS="ascii" # default UUCP lockfile scheme -# -#PATH_GETTY="/etc/getty" # pathname of suitable getty program -#PATH_VGETTY="/bin/vgetty" # pathname of voice getty program -#PATH_EGETTY="/bin/egetty" # pathname of external getty program -#PATH_SENDMAIL="/usr/lib/sendmail" # pathname of suitable sendmail program -#PATH_GSRIP="/usr/local/bin/gs" # pathname of Ghostscript-based RIP -#PATH_DPSRIP="/var/spool/hylafax/bin/ps2fax.exe" # pathname of DPS-based RIP -#PATH_IMPRIP="/usr/lib/print/psrip" # pathname of Impressario 2.1 RIP -#MANSCHEME="sysv-source-cat-strip" # manual page installation scheme -#SYSVINIT="auto" # install SysV-style init support (auto|yes|no) -#DIR_SYSVINIT="/etc/init.d" # location of SysV-style init script -#DIR_SYSVINITSTART="../rc2.d" # location of SysV-style start script -#DIR_SYSVINITSTOP="../rc0.d" # location of SysV-style stop script -#NAME_SYSVINITSTART="S80fax" # name of SysV-style start script -#NAME_SYSVINITSTOP="K80fax" # name of SysV-style stop script -#FAXQ_SERVER=yes # init script starts faxq -#HFAXD_SERVER=yes # init script starts hfaxd -#HFAXD_OLD_PROTOCOL=no # don't start old protocol -#HFAXD_SNPP_SERVER=no # don't start paging protocol - -# SVR4 packaging stuff -#PKG_ARCH= # ARCH variable in pkginfo file -#PKG_EMAIL=someone@somehost.somedomain # EMAIL variable in pkginfo file -#PKG_VENDOR="Your Name Here" # VENDOR variable in pkginfo file -# - -# -# Parameters used when building the software. -# -# Note that configure has several ENVOPTS built into it that are -# set according to the target. This is done to help naive folks. -# -# Beware of changing the INSTALL definition; you *must* have an -# install script that emulates the Silicon Graphics install program! -# -#AR="/bin/ar" # pathname of suitable ar program -#AROPTS="rc" # options to ar for creating archive -#CC="gcc" # name/pathname of C compiler -#CXX="gcc" # name/pathname of C++ compiler -#CXXFILE="-x c++" # options for proper C++ processing -#ENVOPTS="-Aa" # options for getting ANSI C -#GCOPTS="-g" # options to pass C compiler -#GCXXOPTS="-g" # options to pass C++ compiler -#GENDIST="/sbin/gendist" # pathname of SGI inst generator program -#INSTALL='${SHELL} ${PORT}/install.sh' # SGI install program/emulator -#LIBMALLOC="auto" # yes|no|auto configure -lmalloc use -#LIBPORT='${PORT}/libport.a' # library with emulation code -#LIBSUN="auto" # yes|no|auto configure -lsun use -#LLDOPTS="" # extra link line options -#MACHDEPLIBS="" # extra libraries for linking -#PORTFUNCS="" # non-standard functions to emulate -#PROTOTYPES="-prototypes" # C compiler options for checking function prototypes -#RANLIB=":" # pathname of suitable ranlib program -#SHDLIBC="-lc_s" # shared C library, if not standard -#SIGHANDLERTYPES='(void(*)(int,...))' # types to check for signal handler -#STRIP="/bin/strip" # strip program used by install.sh - -# -# The source for the TIFF library is not required -# to build this software, but the library is required -# to link against. If libtiff is installed in a -# non-standard location then setup LIBTIFF accordingly. -# -#LIBTIFF="-L/usr/local/lib -ltiff" # linkage convention for libtiff -#TIFFINC="/usr/local/include" # place to find tiffio.h -#TIFFBIN="/usr/local/bin" # where TIFF tools live - -# -# The source for the ZLIB library is not required -# to build this software, but the library is required -# to link against. If ZLIB is installed in a -# non-standard location then setup LIBZ accordingly. -# -#LIBZ="-L/usr/local/lib -lz" # linkage convention for libz -#ZLIBINC="-I/usr/local/include" # place to find zlib.h - -# -# The source for the POSIX regular expression package -# is not required to build this software, but the package -# is required to link against. If the copy of the software -# that is included in this distribution is not to be used -# then set REGEX=no and supply the following definitions. -# -#LIBREGEX=" " # linkage convention for regex package -#REGEXINC="/usr/include" # place to find regex.h - -# -# The LIBDB hashed database package is (currently) used -# only by the MLA tools that are not publicly available -# but which are built from within this source tree. In -# the future the fax software may use the libdb software -# for the remote client capabilities database (so these -# hooks are included now). -# -# The source for the LIBDB hashed database package -# is not required to build this software, but the package -# is required to link against. If the copy of the software -# that is included in this distribution is not to be used -# then set DBLIB=no and supply the following definitions. -# -#LIBDB=" " # linkage convention for libdb package -#DBLIBINC="/usr/include" # place to find db.h - -# -# Parameters to control various workarounds for system bugs. -# -# These parameters are normally set in configure based on -# the target system. If they are set here, then they will -# override anything done by configure. -# -#CONFIG_OPENFIFO="O_RDONLY" # mode to open FIFOs in server proc's -#CONFIG_FIFOBUG="yes" # enable workaround for FIFO select bug -#CONFIG_TIOCMBISBYREF="yes" # pass arg by reference to ioctl -#CONFIG_WINSZHACK="no" # include extra files for TIOCWINSZ use -#CONFIG_ABORTBUG="no" # enable workaround for abort problems -#CONFIG_NOREOPEN="yes" # reopen tty device after toggling DTR -#CONFIG_NOSTDINDUP="yes" # do not redirect stdout to stdin in ondelay -#CONFIG_BADEXECVPROTO="no" # system has incorrect execv func decl -#CONFIG_BADEXECVEPROTO="no" # system has incorrect execve func decl -#CONFIG_BADGETOPTPROTO="no" # system has incorrect getopt func decl -#CONFIG_SOCKARGLENTYPE="unsigned long" # call-by-ref arg type for socket funcs -#CONFIG_BADSELECTPROTO="no" # system has way old select func decl -#CONFIG_MAXGID="5999" # maximum permissable GID -#CONFIG_OSFCNH="auto" # control inclusion of <osfcn.h> - -# -# Dynamic Shared Object (DSO) support. -# -# Beware that adding new support for DSOs may require some -# modifications to the */Makefile.dso files. -# -#DSOSUF="so" # DSO filename suffix -#DSODELAY="-delay_load" # DSO option for delayed loading -#DSOOPTS="-shared -rdata_shared" # options for building DSOs - -# -# Makefile construction parameters. -# -# These should not normally be set; configure will -# deduce the appropriate syntax to use for includes. -# -#MAKECXXOVERRIDE="=.C" # make override stuff for SunPRO C++ -#MAKEDEPINCLUDE="include" # make include for dependency files -#MAKEDSOINCLUDE="#" # make include for DSO support -#MAKEINCLUDE=".include" # make include syntax -#MAKELQUOTE="<" # make include syntax -#MAKERQUOTE=">" # make include syntax -#SETMAKE='MAKE = ${MAKE}' # define if make does not setup $MAKE -#MKDEPCOPTS="" # C compiler opts to supply w/ -M -#MKDEPCXXOPTS="" # C++ compiler opts to supply w/ -M - -# -# General system stuff used by the distribution. -# -# Beware of setting these as configure selects several programs -# based on whether or not they are capable of processing scripts -# included in the distribution (e.g AWK and SCRIPT_SH, SED). -# -AWK="/usr/bin/awk" # pathname of suitable awk program -#CAT="/bin/cat" # pathname of suitable cat program -#CHGRP="/etc/chgrp" # pathname of suitable chgrp program -#CHMOD="/etc/chmod" # pathname of suitable chmod program -#CHOWN="/etc/chown" # pathname of suitable chown program -CMP="/usr/bin/cmp" # pathname of suitable cmp program -COL="/usr/bin/col" # pathname of suitable col program -#CP="/bin/cp" # pathname of suitable cp program -#ECHO="/bin/echo" # pathname of suitable echo program -GREP="/usr/bin/grep" # pathname of suitable grep program -#LN="/bin/ln" # pathname of suitable ln program -#LN_S="-s" # option to ${LN} to create symlink -#MAN="/usr/bin/man" # pathname of suitable man program -#MKDIR="/bin/mkdir" # pathname of suitable mkdir program -MKFIFO="/usr/bin/mkfifo" # pathname of suitable mkfifo program -#MV="/bin/mv" # pathname of suitable mv program -#MV_F="-f" # option to ${MV} to force operation -#RMCMD="/bin/rm" # pathname of suitable rm program -#SED="/bin/sed" # pathname of suitable sed program -#SCRIPT_SH="/bin/sh" # pathname of suitable shell -SORT="/usr/bin/sort" # pathname of suitable sort program Copied: hylafax/repos/extra-x86_64/config.local (from rev 335370, hylafax/trunk/config.local) =================================================================== --- config.local (rev 0) +++ config.local 2018-09-25 12:30:56 UTC (rev 335371) @@ -0,0 +1,273 @@ +# $Id: config.local,v 1.1 2003/06/28 00:24:49 jproctor Exp $ +# +# HylaFAX Facsimile Software +# +# Copyright (c) 1990-1996 Sam Leffler +# Copyright (c) 1991-1996 Silicon Graphics, Inc. +# HylaFAX is a trademark of Silicon Graphics, Inc. +# +# Permission to use, copy, modify, distribute, and sell this software and +# its documentation for any purpose is hereby granted without fee, provided +# that (i) the above copyright notices and this permission notice appear in +# all copies of the software and related documentation, and (ii) the names of +# Sam Leffler and Silicon Graphics may not be used in any advertising or +# publicity relating to the software without the specific, prior written +# permission of Sam Leffler and Silicon Graphics. +# +# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, +# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY +# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. +# +# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR +# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, +# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF +# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE +# OF THIS SOFTWARE. +# + +# +# This file holds site-specific configuration parameters. +# +# Nothing is defined in here by default, the definitions +# commented out below serve as documentation for what you +# can set in this file or a config.local file. +# +# Note that you do not need to set anything here unless you +# want to override the auto-configuration behaviour and/or +# interactive prompting done by the configure script. +# + +# +# Package controls. +# +#DSO="auto" # configure DSO support (auto|IRIX|no) +#GETTY="auto" # type of getty support (auto|BSD|SysV) +#HTML="no" # install HTML documentation (yes|no) +#PS="auto" # PostScript support to use (auto|gs|dps|imp) +#SGI2FAX="auto" # configure SGI image support (auto|yes|no) +#DPS="no" # install SGI DPS-based RIP (yes|no) +#GS="no" # install Ghostscript RIP (yes|no) +#IMP="no" # install SGI Impressario 2.1 support (yes|no) +#REGEX="yes" # use distributed regular expression package +#UTMP="utmpx" # type of utmp+wtmp handling (auto|utmp|utmpx) +#DBLIB="no" # use distributed libdb distribution + +# +# Directory parameters. +# +DIR_BIN="/usr/bin" # directory for client apps +DIR_LIB="/usr/lib" +DIR_LIBDATA="/usr/lib/fax" # directory for client data +DIR_LIBEXEC="/usr/lib/fax" # directory for libraries&hidden apps +DIR_MAN="/usr/share/man" # directory for manual pages +DIR_SPOOL="/var/spool/hylafax" # directory for spooling area +DIR_SBIN="/usr/bin" # directory for system apps +DIR_LOCKS="/var/lock" # directory for UUCP lock files +FONTMAP="/usr/share/ghostscript/fonts" # directorys containing Fontmap files +DIR_LOCALE="/usr/share/locale" +#PATH_AFM="/usr/lib/DPS/AFM" # directorys for AFM files + +# +# HTML-specific parameters; only used when the +# HTML package is configured for installation. +# +# Note that ``PATH''s are the virtual pathnames used +# in forming URLs; they are not directory pathnames +# in the filesystem. +# +DIR_HTML="/usr/share/hylafax/httpd" # directory for HTML documentation +#DIR_CGI="/var/httpd/cgi-bin" # directory for CGI scripts +#HTMLPATH="/hylafax" # virtual path to HTML materials +#CGIPATH="/cgi-bin" # virtual path to CGI scripts + +# +# Miscellaneous parameters. +# +#DEFVRES="196" # default vertical res for outbound fax +#FILLORDER="MS2LSB" # bit order of cpu (MSB2LSB/LSB2MSB) +#AXGID="uucp" # group ID for fax user +#FAXUID="uucp" # user ID for fax user +#PAGESIZE="North American Letter" # default page size +SYSGID="root" # group ID for system installs +SYSUID="root" # user ID for system installs +#LOCKS="ascii" # default UUCP lockfile scheme +# +#PATH_GETTY="/etc/getty" # pathname of suitable getty program +#PATH_VGETTY="/bin/vgetty" # pathname of voice getty program +#PATH_EGETTY="/bin/egetty" # pathname of external getty program +#PATH_SENDMAIL="/usr/lib/sendmail" # pathname of suitable sendmail program +#PATH_GSRIP="/usr/local/bin/gs" # pathname of Ghostscript-based RIP +#PATH_DPSRIP="/var/spool/hylafax/bin/ps2fax.exe" # pathname of DPS-based RIP +#PATH_IMPRIP="/usr/lib/print/psrip" # pathname of Impressario 2.1 RIP +#MANSCHEME="sysv-source-cat-strip" # manual page installation scheme +#SYSVINIT="auto" # install SysV-style init support (auto|yes|no) +#DIR_SYSVINIT="/etc/init.d" # location of SysV-style init script +#DIR_SYSVINITSTART="../rc2.d" # location of SysV-style start script +#DIR_SYSVINITSTOP="../rc0.d" # location of SysV-style stop script +#NAME_SYSVINITSTART="S80fax" # name of SysV-style start script +#NAME_SYSVINITSTOP="K80fax" # name of SysV-style stop script +#FAXQ_SERVER=yes # init script starts faxq +#HFAXD_SERVER=yes # init script starts hfaxd +#HFAXD_OLD_PROTOCOL=no # don't start old protocol +#HFAXD_SNPP_SERVER=no # don't start paging protocol + +# SVR4 packaging stuff +#PKG_ARCH= # ARCH variable in pkginfo file +#PKG_EMAIL=someone@somehost.somedomain # EMAIL variable in pkginfo file +#PKG_VENDOR="Your Name Here" # VENDOR variable in pkginfo file +# + +# +# Parameters used when building the software. +# +# Note that configure has several ENVOPTS built into it that are +# set according to the target. This is done to help naive folks. +# +# Beware of changing the INSTALL definition; you *must* have an +# install script that emulates the Silicon Graphics install program! +# +#AR="/bin/ar" # pathname of suitable ar program +#AROPTS="rc" # options to ar for creating archive +#CC="gcc" # name/pathname of C compiler +#CXX="gcc" # name/pathname of C++ compiler +#CXXFILE="-x c++" # options for proper C++ processing +#ENVOPTS="-Aa" # options for getting ANSI C +#GCOPTS="-g" # options to pass C compiler +#GCXXOPTS="-g" # options to pass C++ compiler +#GENDIST="/sbin/gendist" # pathname of SGI inst generator program +#INSTALL='${SHELL} ${PORT}/install.sh' # SGI install program/emulator +#LIBMALLOC="auto" # yes|no|auto configure -lmalloc use +#LIBPORT='${PORT}/libport.a' # library with emulation code +#LIBSUN="auto" # yes|no|auto configure -lsun use +#LLDOPTS="" # extra link line options +#MACHDEPLIBS="" # extra libraries for linking +#PORTFUNCS="" # non-standard functions to emulate +#PROTOTYPES="-prototypes" # C compiler options for checking function prototypes +#RANLIB=":" # pathname of suitable ranlib program +#SHDLIBC="-lc_s" # shared C library, if not standard +#SIGHANDLERTYPES='(void(*)(int,...))' # types to check for signal handler +#STRIP="/bin/strip" # strip program used by install.sh + +# +# The source for the TIFF library is not required +# to build this software, but the library is required +# to link against. If libtiff is installed in a +# non-standard location then setup LIBTIFF accordingly. +# +#LIBTIFF="-L/usr/local/lib -ltiff" # linkage convention for libtiff +#TIFFINC="/usr/local/include" # place to find tiffio.h +#TIFFBIN="/usr/local/bin" # where TIFF tools live + +# +# The source for the ZLIB library is not required +# to build this software, but the library is required +# to link against. If ZLIB is installed in a +# non-standard location then setup LIBZ accordingly. +# +#LIBZ="-L/usr/local/lib -lz" # linkage convention for libz +#ZLIBINC="-I/usr/local/include" # place to find zlib.h + +# +# The source for the POSIX regular expression package +# is not required to build this software, but the package +# is required to link against. If the copy of the software +# that is included in this distribution is not to be used +# then set REGEX=no and supply the following definitions. +# +#LIBREGEX=" " # linkage convention for regex package +#REGEXINC="/usr/include" # place to find regex.h + +# +# The LIBDB hashed database package is (currently) used +# only by the MLA tools that are not publicly available +# but which are built from within this source tree. In +# the future the fax software may use the libdb software +# for the remote client capabilities database (so these +# hooks are included now). +# +# The source for the LIBDB hashed database package +# is not required to build this software, but the package +# is required to link against. If the copy of the software +# that is included in this distribution is not to be used +# then set DBLIB=no and supply the following definitions. +# +#LIBDB=" " # linkage convention for libdb package +#DBLIBINC="/usr/include" # place to find db.h + +# +# Parameters to control various workarounds for system bugs. +# +# These parameters are normally set in configure based on +# the target system. If they are set here, then they will +# override anything done by configure. +# +#CONFIG_OPENFIFO="O_RDONLY" # mode to open FIFOs in server proc's +#CONFIG_FIFOBUG="yes" # enable workaround for FIFO select bug +#CONFIG_TIOCMBISBYREF="yes" # pass arg by reference to ioctl +#CONFIG_WINSZHACK="no" # include extra files for TIOCWINSZ use +#CONFIG_ABORTBUG="no" # enable workaround for abort problems +#CONFIG_NOREOPEN="yes" # reopen tty device after toggling DTR +#CONFIG_NOSTDINDUP="yes" # do not redirect stdout to stdin in ondelay +#CONFIG_BADEXECVPROTO="no" # system has incorrect execv func decl +#CONFIG_BADEXECVEPROTO="no" # system has incorrect execve func decl +#CONFIG_BADGETOPTPROTO="no" # system has incorrect getopt func decl +#CONFIG_SOCKARGLENTYPE="unsigned long" # call-by-ref arg type for socket funcs +#CONFIG_BADSELECTPROTO="no" # system has way old select func decl +#CONFIG_MAXGID="5999" # maximum permissable GID +#CONFIG_OSFCNH="auto" # control inclusion of <osfcn.h> + +# +# Dynamic Shared Object (DSO) support. +# +# Beware that adding new support for DSOs may require some +# modifications to the */Makefile.dso files. +# +#DSOSUF="so" # DSO filename suffix +#DSODELAY="-delay_load" # DSO option for delayed loading +#DSOOPTS="-shared -rdata_shared" # options for building DSOs + +# +# Makefile construction parameters. +# +# These should not normally be set; configure will +# deduce the appropriate syntax to use for includes. +# +#MAKECXXOVERRIDE="=.C" # make override stuff for SunPRO C++ +#MAKEDEPINCLUDE="include" # make include for dependency files +#MAKEDSOINCLUDE="#" # make include for DSO support +#MAKEINCLUDE=".include" # make include syntax +#MAKELQUOTE="<" # make include syntax +#MAKERQUOTE=">" # make include syntax +#SETMAKE='MAKE = ${MAKE}' # define if make does not setup $MAKE +#MKDEPCOPTS="" # C compiler opts to supply w/ -M +#MKDEPCXXOPTS="" # C++ compiler opts to supply w/ -M + +# +# General system stuff used by the distribution. +# +# Beware of setting these as configure selects several programs +# based on whether or not they are capable of processing scripts +# included in the distribution (e.g AWK and SCRIPT_SH, SED). +# +AWK="/usr/bin/awk" # pathname of suitable awk program +#CAT="/bin/cat" # pathname of suitable cat program +#CHGRP="/etc/chgrp" # pathname of suitable chgrp program +#CHMOD="/etc/chmod" # pathname of suitable chmod program +#CHOWN="/etc/chown" # pathname of suitable chown program +CMP="/usr/bin/cmp" # pathname of suitable cmp program +COL="/usr/bin/col" # pathname of suitable col program +#CP="/bin/cp" # pathname of suitable cp program +#ECHO="/bin/echo" # pathname of suitable echo program +GREP="/usr/bin/grep" # pathname of suitable grep program +#LN="/bin/ln" # pathname of suitable ln program +#LN_S="-s" # option to ${LN} to create symlink +#MAN="/usr/bin/man" # pathname of suitable man program +#MKDIR="/bin/mkdir" # pathname of suitable mkdir program +MKFIFO="/usr/bin/mkfifo" # pathname of suitable mkfifo program +#MV="/bin/mv" # pathname of suitable mv program +#MV_F="-f" # option to ${MV} to force operation +#RMCMD="/bin/rm" # pathname of suitable rm program +#SED="/bin/sed" # pathname of suitable sed program +#SCRIPT_SH="/bin/sh" # pathname of suitable shell +SORT="/usr/bin/sort" # pathname of suitable sort program Deleted: faxgetty@.service =================================================================== --- faxgetty@.service 2018-09-25 12:30:37 UTC (rev 335370) +++ faxgetty@.service 2018-09-25 12:30:56 UTC (rev 335371) @@ -1,24 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=faxgetty on %I -Documentation=man:faxgetty(8) -After=faxq.service hfaxd.service - -[Service] -ExecStart=/usr/lib/fax/faxgetty %I -Type=simple -Restart=always -RestartSec=0 -KillMode=process - -KillSignal=SIGTERM - -[Install] -WantedBy=multi-user.target - Copied: hylafax/repos/extra-x86_64/faxgetty@.service (from rev 335370, hylafax/trunk/faxgetty@.service) =================================================================== --- faxgetty@.service (rev 0) +++ faxgetty@.service 2018-09-25 12:30:56 UTC (rev 335371) @@ -0,0 +1,24 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=faxgetty on %I +Documentation=man:faxgetty(8) +After=faxq.service hfaxd.service + +[Service] +ExecStart=/usr/lib/fax/faxgetty %I +Type=simple +Restart=always +RestartSec=0 +KillMode=process + +KillSignal=SIGTERM + +[Install] +WantedBy=multi-user.target + Deleted: faxq.service =================================================================== --- faxq.service 2018-09-25 12:30:37 UTC (rev 335370) +++ faxq.service 2018-09-25 12:30:56 UTC (rev 335371) @@ -1,10 +0,0 @@ -[Unit] -Description=Hyla FAX queue manager - -[Service] -Type=forking -ExecStart=/usr/bin/faxq -ExecReload=/bin/kill -HUP $MAINPID - -[Install] -WantedBy=multi-user.target Copied: hylafax/repos/extra-x86_64/faxq.service (from rev 335370, hylafax/trunk/faxq.service) =================================================================== --- faxq.service (rev 0) +++ faxq.service 2018-09-25 12:30:56 UTC (rev 335371) @@ -0,0 +1,10 @@ +[Unit] +Description=Hyla FAX queue manager + +[Service] +Type=forking +ExecStart=/usr/bin/faxq +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target Deleted: hfaxd.service =================================================================== --- hfaxd.service 2018-09-25 12:30:37 UTC (rev 335370) +++ hfaxd.service 2018-09-25 12:30:56 UTC (rev 335371) @@ -1,10 +0,0 @@ -[Unit] -Description=Hyla FAX client-server - -[Service] -Type=forking -ExecStart=/usr/lib/fax/hfaxd -i hylafax -ExecReload=/bin/kill -HUP $MAINPID - -[Install] -WantedBy=multi-user.target Copied: hylafax/repos/extra-x86_64/hfaxd.service (from rev 335370, hylafax/trunk/hfaxd.service) =================================================================== --- hfaxd.service (rev 0) +++ hfaxd.service 2018-09-25 12:30:56 UTC (rev 335371) @@ -0,0 +1,10 @@ +[Unit] +Description=Hyla FAX client-server + +[Service] +Type=forking +ExecStart=/usr/lib/fax/hfaxd -i hylafax +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target Deleted: hylafax-gcc7.patch =================================================================== --- hylafax-gcc7.patch 2018-09-25 12:30:37 UTC (rev 335370) +++ hylafax-gcc7.patch 2018-09-25 12:30:56 UTC (rev 335371) @@ -1,31 +0,0 @@ -Package: hylafax -Subject: Make hylafax compile using gcc-7 -Author: Giuseppe Sacco <giuseppe at eppesuigoccas.homedns.org> -Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853448 -Forwarded: yes -Last-Update: 2017-08-28 - -Index: hylafax-6.0.6/faxd/ModemConfig.c++ -=================================================================== ---- hylafax-6.0.6.orig/faxd/ModemConfig.c++ -+++ hylafax-6.0.6/faxd/ModemConfig.c++ -@@ -817,4 +817,4 @@ ModemConfig::setConfigItem(const char* t - } - #undef N - --fxIMPLEMENT_ObjArray(IDConfArray, id_config); -+fxIMPLEMENT_ObjArray(IDConfArray, id_config) -Index: hylafax-6.0.6/libhylafax/FaxRecvInfo.c++ -=================================================================== ---- hylafax-6.0.6.orig/libhylafax/FaxRecvInfo.c++ -+++ hylafax-6.0.6/libhylafax/FaxRecvInfo.c++ -@@ -112,7 +112,7 @@ FaxRecvInfo::decode(const char* cp) - if (cp == NULL || cp[1] != ',' || cp[2] != '"') - return (false); - u_int i = 0; -- while (cp+2 != '\0') { -+ while (*(cp+2) != '\0') { - callid[i] = cp+3; // +1 for "/+1 for ,/+1 for " - if (*cp == '\"') break; - callid[i].resize(callid[i].next(0,'"')); - Deleted: hylafax.install =================================================================== --- hylafax.install 2018-09-25 12:30:37 UTC (rev 335370) +++ hylafax.install 2018-09-25 12:30:56 UTC (rev 335371) @@ -1,35 +0,0 @@ - -print_install() { - printf "\n" - echo "Run faxsetup to configure and be sure to set..." - echo " The device to configure is usually ttyS0" - echo " The number of pages to accept to more than 25" - echo " The country code and area code" - echo " The faxclass to 2.0" - echo " Most other defaults are OK" - printf "\n" -} - -print_remove() { - printf "\n\n" - echo "You may manually remove /var/spool/hylafax and /usr/lib/fax if you do not need anything." - echo "You may also remove any aliases added to /etc/mail/aliases." - printf "\n" -} - -post_install() { - post_upgrade - print_install -} - -post_upgrade() { - groupadd -g 14 uucp &>/dev/null - useradd -u 10 -g uucp -d '/' -s /bin/false uucp &>/dev/null - useradd -u 69 -g daemon -d '/' -s /bin/false fax &>/dev/null - usermod -d '/' -u 10 &>/dev/null - usermod -d '/' -u 69 &>/dev/null -} - -pre_remove() { - print_remove -} Copied: hylafax/repos/extra-x86_64/hylafax.install (from rev 335370, hylafax/trunk/hylafax.install) =================================================================== --- hylafax.install (rev 0) +++ hylafax.install 2018-09-25 12:30:56 UTC (rev 335371) @@ -0,0 +1,35 @@ + +print_install() { + printf "\n" + echo "Run faxsetup to configure and be sure to set..." + echo " The device to configure is usually ttyS0" + echo " The number of pages to accept to more than 25" + echo " The country code and area code" + echo " The faxclass to 2.0" + echo " Most other defaults are OK" + printf "\n" +} + +print_remove() { + printf "\n\n" + echo "You may manually remove /var/spool/hylafax and /usr/lib/fax if you do not need anything." + echo "You may also remove any aliases added to /etc/mail/aliases." + printf "\n" +} + +post_install() { + post_upgrade + print_install +} + +post_upgrade() { + groupadd -g 14 uucp &>/dev/null + useradd -u 10 -g uucp -d '/' -s /bin/false uucp &>/dev/null + useradd -u 69 -g daemon -d '/' -s /bin/false fax &>/dev/null + usermod -d '/' -u 10 &>/dev/null + usermod -d '/' -u 69 &>/dev/null +} + +pre_remove() { + print_remove +} Deleted: hylafax.service =================================================================== --- hylafax.service 2018-09-25 12:30:37 UTC (rev 335370) +++ hylafax.service 2018-09-25 12:30:56 UTC (rev 335371) @@ -1,11 +0,0 @@ -[Unit] -Description=Daily fax queue cleanup and deletion of 30 days old faxes - -[Service] -Type=oneshot -ExecStart=/usr/bin/faxqclean -ExecStart=/usr/bin/faxcron -rcv 30 -Nice=19 -IOSchedulingClass=best-effort -IOSchedulingPriority=7 - Copied: hylafax/repos/extra-x86_64/hylafax.service (from rev 335370, hylafax/trunk/hylafax.service) =================================================================== --- hylafax.service (rev 0) +++ hylafax.service 2018-09-25 12:30:56 UTC (rev 335371) @@ -0,0 +1,11 @@ +[Unit] +Description=Daily fax queue cleanup and deletion of 30 days old faxes + +[Service] +Type=oneshot +ExecStart=/usr/bin/faxqclean +ExecStart=/usr/bin/faxcron -rcv 30 +Nice=19 +IOSchedulingClass=best-effort +IOSchedulingPriority=7 + Deleted: hylafax.timer =================================================================== --- hylafax.timer 2018-09-25 12:30:37 UTC (rev 335370) +++ hylafax.timer 2018-09-25 12:30:56 UTC (rev 335371) @@ -1,7 +0,0 @@ -[Unit] -Description=Daily fax queue cleanup and deletion of 30 days old faxes - -[Timer] -OnCalendar=daily -AccuracySec=12h -Persistent=true Copied: hylafax/repos/extra-x86_64/hylafax.timer (from rev 335370, hylafax/trunk/hylafax.timer) =================================================================== --- hylafax.timer (rev 0) +++ hylafax.timer 2018-09-25 12:30:56 UTC (rev 335371) @@ -0,0 +1,7 @@ +[Unit] +Description=Daily fax queue cleanup and deletion of 30 days old faxes + +[Timer] +OnCalendar=daily +AccuracySec=12h +Persistent=true