Thu Dec 5 16:00:20 2013 UTC ()
The OpenDMARC project is a community effort to develop and maintain an open
source package for providing DMARC report generation and policy enforcement
services. It includes a library for handling DMARC record parsing,
a database schema and tools for aggregating and processing transaction
history to produce DMARC reports, and a filter that ties it all together
with an MTA using the milter protocol.
(pettai)
diff -r0 -r1.1 pkgsrc/mail/opendmarc/DESCR
diff -r0 -r1.1 pkgsrc/mail/opendmarc/Makefile
diff -r0 -r1.1 pkgsrc/mail/opendmarc/PLIST
diff -r0 -r1.1 pkgsrc/mail/opendmarc/distinfo
diff -r0 -r1.1 pkgsrc/mail/opendmarc/files/opendmarc.sh
The OpenDMARC project is a community effort to develop and maintain an open
source package for providing DMARC report generation and policy enforcement
services. It includes a library for handling DMARC record parsing,
a database schema and tools for aggregating and processing transaction
history to produce DMARC reports, and a filter that ties it all together
with an MTA using the milter protocol.
# $NetBSD: Makefile,v 1.1 2013/12/05 16:00:19 pettai Exp $
DISTNAME= opendmarc-1.1.3
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opendmarc/}
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://opendmarc.org/
COMMENT= Open source DMARC library, MTA filter implementation and tools
LICENSE= modified-bsd
DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql
DEPENDS+= p5-File-Temp-[0-9]*:../../devel/p5-File-Temp
DEPENDS+= p5-Switch-[0-9]*:../../lang/p5-Switch
RCD_SCRIPTS= opendmarc
USE_LIBTOOL= yes
USE_TOOLS+= perl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-milter=${PREFIX}
REPLACE_PERL= reports/opendmarc-expire.in
REPLACE_PERL+= reports/opendmarc-import.in
REPLACE_PERL+= reports/opendmarc-params.in
REPLACE_PERL+= reports/opendmarc-reports.in
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
INSTALLATION_DIRS= ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/opendmarc/opendmarc.conf.sample \
${DESTDIR}${EGDIR}/
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.8
.include "../../security/openssl/buildlink3.mk"
BUILDLINK_API_DEPENDS.libmilter+= libmilter>=8.13.0
.include "../../mail/libmilter/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2013/12/05 16:00:19 pettai Exp $
include/opendmarc/dmarc.h
lib/libopendmarc.la
man/man5/opendmarc.conf.5
man/man8/opendmarc-check.8
man/man8/opendmarc-expire.8
man/man8/opendmarc-import.8
man/man8/opendmarc-params.8
man/man8/opendmarc-reports.8
man/man8/opendmarc.8
sbin/opendmarc
sbin/opendmarc-check
sbin/opendmarc-expire
sbin/opendmarc-import
sbin/opendmarc-importstats
sbin/opendmarc-params
sbin/opendmarc-reports
share/doc/opendmarc/LICENSE
share/doc/opendmarc/LICENSE.Sendmail
share/doc/opendmarc/README
share/doc/opendmarc/README.rddmarc
share/doc/opendmarc/README.schema
share/doc/opendmarc/dmarc_policy_t.html
share/doc/opendmarc/dmarcfail.py
share/doc/opendmarc/draft-dmarc-base-00-03.txt
share/doc/opendmarc/index.html
share/doc/opendmarc/mkdb.mysql
share/doc/opendmarc/mkdmarc
share/doc/opendmarc/mysql_ip6.c
share/doc/opendmarc/opendmarc
share/doc/opendmarc/opendmarc.conf.sample
share/doc/opendmarc/opendmarc.spec.in
share/doc/opendmarc/opendmarc_dns_fake_record.html
share/doc/opendmarc/opendmarc_get_policy_to_enforce.html
share/doc/opendmarc/opendmarc_lib_t.html
share/doc/opendmarc/opendmarc_policy_connect_clear.html
share/doc/opendmarc/opendmarc_policy_connect_init.html
share/doc/opendmarc/opendmarc_policy_connect_rset.html
share/doc/opendmarc/opendmarc_policy_connect_shutdown.html
share/doc/opendmarc/opendmarc_policy_fetch_adkim.html
share/doc/opendmarc/opendmarc_policy_fetch_alignment.html
share/doc/opendmarc/opendmarc_policy_fetch_aspf.html
share/doc/opendmarc/opendmarc_policy_fetch_fo.html
share/doc/opendmarc/opendmarc_policy_fetch_p.html
share/doc/opendmarc/opendmarc_policy_fetch_pct.html
share/doc/opendmarc/opendmarc_policy_fetch_rf.html
share/doc/opendmarc/opendmarc_policy_fetch_rua.html
share/doc/opendmarc/opendmarc_policy_fetch_ruf.html
share/doc/opendmarc/opendmarc_policy_fetch_sp.html
share/doc/opendmarc/opendmarc_policy_fetch_utilized_domain.html
share/doc/opendmarc/opendmarc_policy_library_init.html
share/doc/opendmarc/opendmarc_policy_library_shutdown.html
share/doc/opendmarc/opendmarc_policy_parse_dmarc.html
share/doc/opendmarc/opendmarc_policy_query_dmarc.html
share/doc/opendmarc/opendmarc_policy_status_to_str.html
share/doc/opendmarc/opendmarc_policy_store_dkim.html
share/doc/opendmarc/opendmarc_policy_store_dmarc.html
share/doc/opendmarc/opendmarc_policy_store_from_domain.html
share/doc/opendmarc/opendmarc_policy_store_spf.html
share/doc/opendmarc/opendmarc_policy_to_buf.html
share/doc/opendmarc/opendmarc_status_t.html
share/doc/opendmarc/opendmarc_tld_read_file.html
share/doc/opendmarc/opendmarc_tld_shutdown.html
share/doc/opendmarc/opendmarc_util_clearargv.html
share/doc/opendmarc/opendmarc_xml.html
share/doc/opendmarc/opendmarc_xml_parse.html
share/doc/opendmarc/rddmarc
share/doc/opendmarc/schema.mysql
share/examples/opendmarc/opendmarc.conf.sample
share/examples/rc.d/opendmarc
$NetBSD: distinfo,v 1.1 2013/12/05 16:00:19 pettai Exp $
SHA1 (opendmarc-1.1.3.tar.gz) = 28d90511fdf6f459cf1d16b50310f91dbb297045
RMD160 (opendmarc-1.1.3.tar.gz) = e5018a3079fe12d2f82f91ddc598a7d59d1a2cdc
Size (opendmarc-1.1.3.tar.gz) = 586574 bytes
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: opendmarc.sh,v 1.1 2013/12/05 16:00:19 pettai Exp $
#
# PROVIDE: opendmarc
# REQUIRE: DAEMON
# BEFORE: mail
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="opendmarc"
rcvar=$name
command="@PREFIX@/sbin/opendmarc"
pidfile="@VARBASE@/run/opendmarc/${name}.pid"
command_args="-P ${pidfile} -c @PKG_SYSCONFDIR@/opendmarc.conf"
required_files="@PKG_SYSCONFDIR@/opendmarc.conf"
start_precmd="opendmarc_precmd"
opendmarc_precmd()
{
if [ ! -d @VARBASE@/run/opendmarc ]; then
@MKDIR@ @VARBASE@/run/opendmarc
@CHMOD@ 0750 @VARBASE@/run/opendmarc
fi
if [ -f @VARBASE@/run/opendmarc/${name}.sock ]; then
@RM@ -f @VARBASE@/run/opendmarc/${name}.sock
fi
}
if [ -f /etc/rc.subr ]; then
load_rc_config $name
run_rc_command "$1"
else
echo -n " ${name}"
${command} ${opendmarc_flags} ${command_args}
fi