AstFax provides an outgoing email to fax gateway for the Asterisk PBX package. Fix: Note: I've changed the temporary directory used by Astfax from /tmp to /var/tmp because rename(2), used to move files between temporary and asterisk spool dirs, doesn't cross filesystems.--HxgqCt3weVjgYXhHZxZbjeI8aAsTxeiL6Mu0rxo2EZZXDD7A Content-Type: text/plain; name="astfax.shar" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="astfax.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # astfax # astfax/Makefile # astfax/distinfo # astfax/pkg-descr # astfax/pkg-plist # echo c - astfax mkdir -p astfax > /dev/null 2>&1 echo x - astfax/Makefile sed 's/^X//' >astfax/Makefile << 'END-of-astfax/Makefile' X# New ports collection makefile for: astfax X# Date created: 13 Aug 2005 X# Whom: filippo.natali@gmail.com X# X# $FreeBSD$ X# X XPORTNAME= astfax XPORTVERSION= 1.0 XCATEGORIES= net XMASTER_SITES= http://www.inter7.com/astfax/ X XMAINTAINER= filippo.natali@gmail.com XCOMMENT= AstFax provides an outgoing email to fax gateway for Asterisk X XLIB_DEPENDS= spandsp.0:${PORTSDIR}/comms/spandsp XBUILD_DEPENDS= ${LOCALBASE}/lib/libeps.a:${PORTSDIR}/mail/eps XRUN_DEPENDS= ${LOCALBASE}/sbin/asterisk:${PORTSDIR}/net/asterisk X XPORTDOCS= README testfax.eml testfax.tif XUSE_REINPLACE= yes X XMAKE_ENV+= DEFS="${CFLAGS}" X Xpost-patch: X @${REINPLACE_CMD} -e 's|^CC =|CC \?=|' \ X -e 's|^DEFS =|DEFS \?=|' \ X -e 's|\/usr\/include\/eps|${LOCALBASE}\/include|' \ X -e 's|^LIBS=-leps|LIBS=-leps -L${LOCALBASE}\/lib|' \ X ${WRKSRC}/Makefile X @${REINPLACE_CMD} -e 's|"\/tmp"|"\/var\/tmp"|' \ X -e 's|"\./ast_fax.call"|"${DATADIR}\/ast_fax.call"|' \ X ${WRKSRC}/ast_fax.c X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/ast_fax ${PREFIX}/bin X ${MKDIR} ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/ast_fax.call ${DATADIR} X X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X for f in ${PORTDOCS}; do \ X ${INSTALL_DATA} ${WRKSRC}/$${f} ${DOCSDIR}; \ X done X.endif X X.include <bsd.port.mk> END-of-astfax/Makefile echo x - astfax/distinfo sed 's/^X//' >astfax/distinfo << 'END-of-astfax/distinfo' XMD5 (astfax-1.0.tar.gz) = 66e4ef4efc42b3b136bfa81b77552bf5 XSIZE (astfax-1.0.tar.gz) = 8664 END-of-astfax/distinfo echo x - astfax/pkg-descr sed 's/^X//' >astfax/pkg-descr << 'END-of-astfax/pkg-descr' XAstFax provides an outgoing email to fax gateway for the Asterisk PBX package. XIncoming fax to email can also be configured so your Asterisk server can act Xas both an outgoing and incoming fax server. X XFeatures X X * Written in C X * Processes large email messages quickly with the EPS library X * Easy to use, simply send an email to the fax number X * Configures easily with Asterisk, and most Unix-based MTAs X XWWW: http://www.inter7.com/index.php?page=astfax END-of-astfax/pkg-descr echo x - astfax/pkg-plist sed 's/^X//' >astfax/pkg-plist << 'END-of-astfax/pkg-plist' Xbin/ast_fax X%%DATADIR%%/ast_fax.call X@dirrm %%DATADIR%% END-of-astfax/pkg-plist exit
Responsible Changed From-To: freebsd-ports-bugs->sobomax Sobomax, as maintanier of net/asterisk, are you willing to have a look at this one?
Responsible Changed From-To: sobomax->freebsd-ports-bugs Responsible never replied to my email asking about status, so reassign this one to the general pool. Hats: portmgr/gnats-admin
Responsible Changed From-To: freebsd-ports-bugs->itetcu I'll take it.
Responsible Changed From-To: itetcu->freebsd-ports-bugs I can't fetch some depends distfiles, now way to check so give it back to the poll.
State Changed From-To: open->closed New port added. Thanks!