[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / comms / hylafax

File: [cvs.NetBSD.org] / pkgsrc / comms / hylafax / Makefile (download)

Revision 1.48.2.1, Sun Jan 22 19:25:25 2006 UTC (16 years, 6 months ago) by salo
Branch: pkgsrc-2005Q4
Changes since 1.48: +2 -2 lines

Pullup ticket 1048 - requested by Adrian Portelli
security update for hylafax

Revisions pulled up:
- pkgsrc/comms/hylafax/Makefile			1.50
- pkgsrc/comms/hylafax/distinfo			1.17, 1.18
- pkgsrc/comms/hylafax/patches/patch-ae		1.11, 1.12

   Module Name:		pkgsrc
   Committed By:	wiz
   Date:		Wed Jan  4 22:36:50 UTC 2006

   Modified Files:
   	pkgsrc/comms/hylafax: distinfo
   	pkgsrc/comms/hylafax/patches: patch-ae

   Log Message:
   Accept tiff-3.8 (build fix).
---
   Module Name:		pkgsrc
   Committed By:	adrianp
   Date:		Sun Jan 22 14:06:02 UTC 2006

   Modified Files:
   	pkgsrc/comms/hylafax: Makefile distinfo
   	pkgsrc/comms/hylafax/patches: patch-ae

   Log Message:
   Update to HylaFAX 4.2.5
   From the CHANGES:
   > Changelog for HylaFAX 4.2.5
   >
   > * change notify to not rely on echo -e (BUG 724) (11 Jan 2005)
   > * add prototype config catch for Digicom Leonardo modems (11 Jan 2005)
   > * make sure probemodem removes lock files (BUG 691) (9 Jan 2005)
   > * portability cleanup to MemoryDecoder.c++ (BUG 224) (9 Jan 2005)
   > * include crypt.h where necessary (BUG 722) (9 Jan 2005)
   > * fix eval sed in faxrcvd script (BUG 719) (9 Jan 2006)
   > * fix shell comments in nofity AWK script (BUG 719) (9 Jan 2006)
   >
   > Changelog for HylaFAX 4.2.4
   >
   > * CVE-2005-3539: Fix for faxrcvd/notify script vulnerabilites
   >   (4 Jan 2004)
   > * don't lock-down pagingProtocol by default (15 Dec 2005)
   > * CVE-2005-3538: fix possible hfaxd login vulnerability due
   >   to PAM library absence during build (15 Dec 2005)
   > * fix a Solaris compile error due to PAM_CONV_AGAIN (15 Dec 2005)
   > * fix Solaris 9 compile error due to PAM (15 Dec 2005)
   > * all Mainpine boards no longer identified as the DUO+
   >   2-port model (5 Dec 2005)
   > * update hfaxd 'site adduser' functionality (29 Nov 2005)
   > * prevent some faxgetty hangs in Phase C EOL sync (29 Nov 2005)
   > * fix for clients specifying TZONE LOCAL/GMT and using %Y for
   >   JobFmt and RcvFmt (22 Nov 2005)

# $NetBSD: Makefile,v 1.48.2.1 2006/01/22 19:25:25 salo Exp $

VERS=		4.2.5
DISTNAME=	hylafax-${VERS}
CATEGORIES=	comms
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=	hallmann@ahatec.de
HOMEPAGE=	http://www.hylafax.org/
COMMENT=	Telecommunication and fax server system

DEPENDS+=	mawk>=1.2.2:../../lang/mawk

CONFLICTS=	hylafax-devel-[0-9]* mgetty-[0-9]*

USE_PKGINSTALL=		yes
USE_LANGUAGES=		c c++
USE_TOOLS+=		gs:run
HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-MAKE=${MAKE_PROGRAM:Q}
CONFIGURE_ARGS+=	--with-INSTALL="" --nointeractive
CONFIGURE_ARGS+=	--with-ZLIBINC=-I${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ARGS+=	--with-LIBZ="-L${BUILDLINK_PREFIX.zlib}/lib -lz"
CONFIGURE_ENV+=		PREFIX=${PREFIX:Q} OPTIMIZER=${CFLAGS:M*:Q}
CONFIGURE_ENV+=		FAXUID=${FAXUSER:Q} FAXGID=${FAXGROUP:Q}
MANCOMPRESSED=		yes

FAXUSER?=	uucp
FAXGROUP?=	dialer
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}

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"