On 10/29/2013 2:27 PM, Jay G. Scott wrote:

I have a machine on which I'd like to run spamassassin.
But it's behind an air gap.  It's not on the internet.
I've been downloading missing perl packages a handful
at a time, but I despair of the list ever coming to an
end.

From FreeBSD port

Build/run dependencies of
  p5-NetAddr-IP>=4.00.7:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
                p5-Net-DNS>=0.63:${PORTSDIR}/dns/p5-Net-DNS \
                p5-HTML-Parser>=3.46:${PORTSDIR}/www/p5-HTML-Parser \
                p5-libwww>=0:${PORTSDIR}/www/p5-libwww \

p5-Encode-Detect>=0:${PORTSDIR}/converters/p5-Encode-Detect \
                p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools




FreeBSD shows  the following as optional depending on features selected:

.if ${PORT_OPTIONS:MSPF_QUERY}
RUN_DEPENDS+=   p5-Mail-SPF>=0:${PORTSDIR}/mail/p5-Mail-SPF
.endif
.if ${PORT_OPTIONS:MIPV6}
RUN_DEPENDS+=   p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6
.endif

.if ${PORT_OPTIONS:MSSL}
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
RUN_DEPENDS+=   p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL
CFLAGS+=        -I${OPENSSLINC}
LDFLAGS+=       -L${OPENSSLLIB}
CONFIGURE_ARGS+=        ENABLE_SSL=yes
PLIST_SUB+=     SSL=""
.else
CONFIGURE_ARGS+=        ENABLE_SSL=no
PLIST_SUB+=     SSL="@comment "
.endif

.if ${PORT_OPTIONS:MGNUPG}
RUN_DEPENDS+=   gnupg>=1.4.7:${PORTSDIR}/security/gnupg1
.endif

.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+=   p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
.endif

.if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+=   p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
.endif

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MRAZOR}
RUN_DEPENDS+=   razor-agents>=2.84:${PORTSDIR}/mail/razor-agents
.else
.if   ${PERL_LEVEL} < 501000
.if ! ${PORT_OPTIONS:MDKIM}
RUN_DEPENDS+=   p5-Digest-SHA1>=2.11:${PORTSDIR}/security/p5-Digest-SHA1
.endif
.endif
.endif

.if ${PORT_OPTIONS:MDKIM}
RUN_DEPENDS+=   p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL
. if ${PERL_LEVEL} < 501000
RUN_DEPENDS+=   p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
. endif
RUN_DEPENDS+=   p5-Mail-DKIM>=0.37:${PORTSDIR}/mail/p5-Mail-DKIM
. if ${PERL_LEVEL} < 501400
RUN_DEPENDS+= p5-Crypt-OpenSSL-RSA>=0.24:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA
. else
RUN_DEPENDS+= p5-Crypt-OpenSSL-RSA>=0.26_1:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA
. endif
.endif

.if ${PORT_OPTIONS:MSACOMPILE}
RUN_DEPENDS+=   re2c>=.12.0:${PORTSDIR}/devel/re2c
.endif

.if ${PORT_OPTIONS:MRELAY_COUNTRY}
RUN_DEPENDS+=   p5-IP-Country>=0:${PORTSDIR}/net/p5-IP-Country
.endif

.if ${PORT_OPTIONS:MDCC}
RUN_DEPENDS+=   dcc-dccd>=1.3.111:${PORTSDIR}/mail/dcc-dccd
.endif



Reply via email to