diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2019-05-05 02:39:43 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2019-05-05 02:39:43 +0000 |
commit | df32fb5ae84913093cd3e834c398af296061fc53 (patch) | |
tree | 23d56398f306e8b71ea1bfaec57017987a5da91b /comms | |
parent | 251bdc21a4151780f88704e2d43757077624a3ab (diff) | |
download | freebsd-ports-df32fb5ae84913093cd3e834c398af296061fc53.zip |
comms/hylafax: Update to 6.0.7
- Remove upstreamed [1] patch-libhylafax_FaxRecvInfo.c++
- Pet portlint: section order, deprecated @exec
[1] http://git.hylafax.org/HylaFAX?a=commit;h=dfc8a6ffe5a6031c6df716186681f92dac0d07cb
Security: 3df5a920-6edc-11e9-a44b-0050562a4d7b
MFH: 2019Q2
Diffstat (limited to 'comms')
-rw-r--r-- | comms/hylafax/Makefile | 18 | ||||
-rw-r--r-- | comms/hylafax/distinfo | 5 | ||||
-rw-r--r-- | comms/hylafax/files/patch-libhylafax_FaxRecvInfo.c++ | 16 | ||||
-rw-r--r-- | comms/hylafax/pkg-plist | 4 |
4 files changed, 17 insertions, 26 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile index 1a862a589bfb..156e72051401 100644 --- a/comms/hylafax/Makefile +++ b/comms/hylafax/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= hylafax -PORTVERSION= 6.0.6 -PORTREVISION= 8 +PORTVERSION= 6.0.7 CATEGORIES= comms MASTER_SITES= ftp://ftp.hylafax.org/source/ @@ -17,10 +16,13 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/afm/Courier:print/afm LIB_DEPENDS= libtiff.so:graphics/tiff \ libjbig.so:graphics/jbigkit -MAKE_JOBS_UNSAFE= yes -HAS_CONFIGURE= yes USES= fakeroot ghostscript jpeg +USE_RC_SUBR= hylafax + +MAKE_JOBS_UNSAFE= yes +HAS_CONFIGURE= yes + CONFIGURE_ARGS= --with-INSTALL="" \ --with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \ --with-ZLIB=no --with-LIBZ=-lz \ @@ -36,20 +38,24 @@ MAKE_ARGS+= OPTIMIZER="" -DOPTIMIZER PORTDOCS= RELEASENOTES-4.3.txt RELEASENOTES-4.4.txt RELEASENOTES-6.0.txt SUB_FILES= pkg-message -USE_RC_SUBR= hylafax OPTIONS_DEFINE= PAM NLS GAWK DOCS OPTIONS_DEFAULT=PAM -NO_OPTIONS_SORT=yes OPTIONS_SUB= yes + +NO_OPTIONS_SORT=yes + GAWK_DESC= Use gawk for scripts PAM_CONFIGURE_OFF= --disable-pam + NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls + GAWK_BUILD_DEPENDS= gawk:lang/gawk GAWK_RUN_DEPENDS= gawk:lang/gawk GAWK_CONFIGURE_ON= --with-AWK="${LOCALBASE}/bin/gawk" + DOCS_CONFIGURE_ON= --with-HTML=yes .include <bsd.port.options.mk> diff --git a/comms/hylafax/distinfo b/comms/hylafax/distinfo index 8fd7d4a368bf..4c44f564dbb0 100644 --- a/comms/hylafax/distinfo +++ b/comms/hylafax/distinfo @@ -1,2 +1,3 @@ -SHA256 (hylafax-6.0.6.tar.gz) = 28926915b23ce7f5b4896de8ac5f58389c2c6e6bb73b4eee5bbd5129603bf7c0 -SIZE (hylafax-6.0.6.tar.gz) = 1297412 +TIMESTAMP = 1556939625 +SHA256 (hylafax-6.0.7.tar.gz) = a3dcb1a7fd8794bd33cea9a9414c32da100119dd2131bd08ab3ab3749fc30315 +SIZE (hylafax-6.0.7.tar.gz) = 1309111 diff --git a/comms/hylafax/files/patch-libhylafax_FaxRecvInfo.c++ b/comms/hylafax/files/patch-libhylafax_FaxRecvInfo.c++ deleted file mode 100644 index 1f6006e1d44a..000000000000 --- a/comms/hylafax/files/patch-libhylafax_FaxRecvInfo.c++ +++ /dev/null @@ -1,16 +0,0 @@ -PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225372 -Upstream: http://bugs.hylafax.org/show_bug.cgi?id=971 -Obtained from: https://sourceforge.net/p/hylafax/HylaFAX+/2417/ -See Also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853448 - ---- libhylafax/FaxRecvInfo.c++.orig 2018-10-07 07:40:23 UTC -+++ 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,'"')); diff --git a/comms/hylafax/pkg-plist b/comms/hylafax/pkg-plist index bb26d915ea57..a1783be4e760 100644 --- a/comms/hylafax/pkg-plist +++ b/comms/hylafax/pkg-plist @@ -130,8 +130,8 @@ sbin/hylafax %%NLS%%share/locale/vi/LC_MESSAGES/hylafax-server.mo %%NLS%%share/locale/vi/LC_MESSAGES/libhylafax.mo %%HYLAFAX_SPOOL%%/COPYRIGHT -@exec mkfifo -m 0600 %%HYLAFAX_SPOOL%%/FIFO -@exec chown uucp:dialer %%HYLAFAX_SPOOL%%/FIFO +@postexec mkfifo -m 0600 %%HYLAFAX_SPOOL%%/FIFO +@postexec chown uucp:dialer %%HYLAFAX_SPOOL%%/FIFO @rmtry %%HYLAFAX_SPOOL%%/FIFO %%HYLAFAX_SPOOL%%/bin/ps2fax.gs %%HYLAFAX_SPOOL%%/bin/ps2fax.dps |