diff options
Diffstat (limited to 'comms')
-rw-r--r-- | comms/hylafax/Makefile | 30 | ||||
-rw-r--r-- | comms/hylafax/PLIST | 6 | ||||
-rw-r--r-- | comms/hylafax/distinfo | 13 | ||||
-rw-r--r-- | comms/hylafax/patches/patch-ba | 20 | ||||
-rw-r--r-- | comms/hylafax/patches/patch-bb | 28 | ||||
-rw-r--r-- | comms/hylafax/patches/patch-bc | 21 | ||||
-rw-r--r-- | comms/hylafax/patches/patch-bd | 38 | ||||
-rw-r--r-- | comms/hylafax/patches/patch-be | 19 |
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" { |