1995-05-21 22:37:50 +00:00
|
|
|
# ports collection makefile for: hylafax
|
1997-05-29 06:49:26 +00:00
|
|
|
# Date created: 19 Apr 1997
|
1999-01-21 11:12:20 +00:00
|
|
|
# Whom: ports@freebsd.org
|
1997-05-29 06:49:26 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1995-10-27 22:05:16 +00:00
|
|
|
#
|
1995-05-21 22:37:50 +00:00
|
|
|
|
2000-04-08 23:24:42 +00:00
|
|
|
PORTNAME= hylafax
|
Update to version 4.1.b2, the latest stable release (dispite the "beta" flag),
which officially fixes the setuid security exploit by the vendors.
Additionally, from the PR:
* adds in distribution patches to allow it to interoperate
with libtiff-3.5.5 (the current version in the ports tree),
and replace an original FreeBSD patch.
* includes security patches (replacements of 'strcpy' and
'sprintf', primarily), mostly based on patches originally
submitted by Alex Langer [1] for 4.0pl2 and not yet commited,
although some new work was done too.
[1] I don't think, that these were my patches but those submitted by
John Holland <john@zoner.org> in PR 19180.
* Fixes some issues with the configure/setup scripts introduced
since the previous version.
* Additionally, original FreeBSD patches from 4.0pl2 were
merged in where they were not addressed by anything else.
(except the I18N patch, sorry).
I removed the FORBIDDEN line since there are at least no obvious security
concerns left.
PR: 19237
Submitted by: Andy Sparrow <andy@geek4food.org>
2000-06-27 11:59:36 +00:00
|
|
|
PORTVERSION= 4.1.b2
|
2000-09-18 21:58:04 +00:00
|
|
|
PORTREVISION= 1
|
1996-11-17 03:01:21 +00:00
|
|
|
CATEGORIES= comms
|
2000-11-07 21:56:09 +00:00
|
|
|
MASTER_SITES= ftp://ftp.hylafax.org/source/
|
Update to version 4.1.b2, the latest stable release (dispite the "beta" flag),
which officially fixes the setuid security exploit by the vendors.
Additionally, from the PR:
* adds in distribution patches to allow it to interoperate
with libtiff-3.5.5 (the current version in the ports tree),
and replace an original FreeBSD patch.
* includes security patches (replacements of 'strcpy' and
'sprintf', primarily), mostly based on patches originally
submitted by Alex Langer [1] for 4.0pl2 and not yet commited,
although some new work was done too.
[1] I don't think, that these were my patches but those submitted by
John Holland <john@zoner.org> in PR 19180.
* Fixes some issues with the configure/setup scripts introduced
since the previous version.
* Additionally, original FreeBSD patches from 4.0pl2 were
merged in where they were not addressed by anything else.
(except the I18N patch, sorry).
I removed the FORBIDDEN line since there are at least no obvious security
concerns left.
PR: 19237
Submitted by: Andy Sparrow <andy@geek4food.org>
2000-06-27 11:59:36 +00:00
|
|
|
DISTNAME= ${PORTNAME}-4.1beta2
|
1995-05-21 22:37:50 +00:00
|
|
|
|
1999-05-09 16:28:08 +00:00
|
|
|
PATCH_SITES= http://www.hylafax.org/patches/
|
Update to version 4.1.b2, the latest stable release (dispite the "beta" flag),
which officially fixes the setuid security exploit by the vendors.
Additionally, from the PR:
* adds in distribution patches to allow it to interoperate
with libtiff-3.5.5 (the current version in the ports tree),
and replace an original FreeBSD patch.
* includes security patches (replacements of 'strcpy' and
'sprintf', primarily), mostly based on patches originally
submitted by Alex Langer [1] for 4.0pl2 and not yet commited,
although some new work was done too.
[1] I don't think, that these were my patches but those submitted by
John Holland <john@zoner.org> in PR 19180.
* Fixes some issues with the configure/setup scripts introduced
since the previous version.
* Additionally, original FreeBSD patches from 4.0pl2 were
merged in where they were not addressed by anything else.
(except the I18N patch, sorry).
I removed the FORBIDDEN line since there are at least no obvious security
concerns left.
PR: 19237
Submitted by: Andy Sparrow <andy@geek4food.org>
2000-06-27 11:59:36 +00:00
|
|
|
PATCHFILES= tiff-3.5-interfaces.patch cvtDateTime.patch
|
|
|
|
PATCH_DIST_STRIP= -p0
|
1997-05-29 06:49:26 +00:00
|
|
|
|
2000-02-13 17:09:11 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-03-12 15:52:27 +00:00
|
|
|
|
1998-06-25 22:26:26 +00:00
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
|
2000-02-24 02:04:18 +00:00
|
|
|
${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
|
1997-05-29 06:49:26 +00:00
|
|
|
# no dependency on ghostscript because we don't know which
|
|
|
|
# version the user prefers
|
1998-06-27 09:02:35 +00:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
|
1999-09-07 10:45:31 +00:00
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
1998-09-15 11:46:15 +00:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
1997-05-29 06:49:26 +00:00
|
|
|
|
1999-05-09 16:28:08 +00:00
|
|
|
DIST_SUBDIR= hylafax
|
|
|
|
|
1997-05-29 06:49:26 +00:00
|
|
|
CONFIGURE_ARGS= --with-INSTALL="" \
|
2000-02-24 02:04:18 +00:00
|
|
|
--with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \
|
2000-07-07 19:09:19 +00:00
|
|
|
--with-ZLIB=no --with-LIBZ=-lz --with-ZLIBINC=none \
|
|
|
|
--with-TIFFINC="${LOCALBASE}/include" \
|
|
|
|
--with-REGEX=no --with-LIBREGEX='' --with-REGEXINC=none
|
1996-11-17 03:01:21 +00:00
|
|
|
HAS_CONFIGURE= yes
|
2000-07-07 19:09:19 +00:00
|
|
|
CONFIGURE_ENV= ENVOPTS="${CFLAGS}"
|
1999-05-09 16:28:08 +00:00
|
|
|
|
Update to version 4.1.b2, the latest stable release (dispite the "beta" flag),
which officially fixes the setuid security exploit by the vendors.
Additionally, from the PR:
* adds in distribution patches to allow it to interoperate
with libtiff-3.5.5 (the current version in the ports tree),
and replace an original FreeBSD patch.
* includes security patches (replacements of 'strcpy' and
'sprintf', primarily), mostly based on patches originally
submitted by Alex Langer [1] for 4.0pl2 and not yet commited,
although some new work was done too.
[1] I don't think, that these were my patches but those submitted by
John Holland <john@zoner.org> in PR 19180.
* Fixes some issues with the configure/setup scripts introduced
since the previous version.
* Additionally, original FreeBSD patches from 4.0pl2 were
merged in where they were not addressed by anything else.
(except the I18N patch, sorry).
I removed the FORBIDDEN line since there are at least no obvious security
concerns left.
PR: 19237
Submitted by: Andy Sparrow <andy@geek4food.org>
2000-06-27 11:59:36 +00:00
|
|
|
MAN1= hylafax.1 faxalter.1 faxcover.1 faxmail.1 faxrm.1 faxstat.1 sendfax.1 \
|
1997-05-29 06:49:26 +00:00
|
|
|
sendpage.1 sgi2fax.1 textfmt.1
|
Update to version 4.1.b2, the latest stable release (dispite the "beta" flag),
which officially fixes the setuid security exploit by the vendors.
Additionally, from the PR:
* adds in distribution patches to allow it to interoperate
with libtiff-3.5.5 (the current version in the ports tree),
and replace an original FreeBSD patch.
* includes security patches (replacements of 'strcpy' and
'sprintf', primarily), mostly based on patches originally
submitted by Alex Langer [1] for 4.0pl2 and not yet commited,
although some new work was done too.
[1] I don't think, that these were my patches but those submitted by
John Holland <john@zoner.org> in PR 19180.
* Fixes some issues with the configure/setup scripts introduced
since the previous version.
* Additionally, original FreeBSD patches from 4.0pl2 were
merged in where they were not addressed by anything else.
(except the I18N patch, sorry).
I removed the FORBIDDEN line since there are at least no obvious security
concerns left.
PR: 19237
Submitted by: Andy Sparrow <andy@geek4food.org>
2000-06-27 11:59:36 +00:00
|
|
|
MAN5= pagesizes.5f typerules.5f hosts.hfaxd.5f xferfaxlog.5f \
|
|
|
|
hylafax.5f cid.5f config.5f destctrls.5f dialrules.5f info.5f \
|
|
|
|
log.5f pagermap.5f recvq.5f sendq.5f shutdown.5f status.5f tsi.5f
|
|
|
|
MAN8= cqtest.8c choptest.8c dialtest.8c faxabort.8c faxaddmodem.8c \
|
|
|
|
faxadduser.8c faxanswer.8c faxconfig.8c faxdeluser.8c faxmodem.8c \
|
|
|
|
faxstate.8c faxcron.8c faxgetty.8c faxinfo.8c faxq.8c faxqclean.8c \
|
|
|
|
faxquit.8c faxrcvd.8c faxsend.8c faxsetup.8c faxwatch.8c hfaxd.8c \
|
|
|
|
mkcover.8c notify.8c pagesend.8c pollrcvd.8c ps2fax.8c recvstats.8c \
|
|
|
|
tagtest.8c tiff2fax.8c tiffcheck.8c tsitest.8c wedged.8c \
|
|
|
|
xferfaxstats.8c
|
1997-05-29 06:49:26 +00:00
|
|
|
|
|
|
|
SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \
|
|
|
|
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
|
|
|
|
|
2000-07-07 19:09:19 +00:00
|
|
|
post-extract:
|
|
|
|
${RM} -rf ${WRKSRC}/zlib ${WRKSRC}/regex
|
|
|
|
|
1995-05-21 22:37:50 +00:00
|
|
|
post-install:
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} uucp ${SUID_EXES}
|
|
|
|
${CHMOD} 4555 ${SUID_EXES}
|
1997-05-29 06:49:26 +00:00
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/hylafax.sh.sample ]; then \
|
1999-05-09 16:28:08 +00:00
|
|
|
${CP} ${FILESDIR}/hylafax.sh.sample ${PREFIX}/etc/rc.d; \
|
1997-05-29 06:49:26 +00:00
|
|
|
fi
|
2000-01-29 20:01:39 +00:00
|
|
|
${CAT} ${PKGMESSAGE}
|
1995-05-21 22:37:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|