View | Details | Raw Unified | Return to bug 148397
Collapse All | Expand All

(-)Makefile (-25 / +17 lines)
Lines 1-13 Link Here
1
# New ports collection makefile for:	opendkim
1
# New ports collection makefile for:	opendkim
2
# Date created:		2009-08-26
2
# Date created:				2009-08-26
3
# Whom:			Hirohisa Yamaguchi <umq@ueo.co.jp>
3
# Whom:					Hirohisa Yamaguchi <umq@ueo.co.jp>
4
#
4
#
5
# $FreeBSD: ports/mail/opendkim/Makefile,v 1.3 2009/12/22 11:36:22 miwi Exp $
5
# $FreeBSD: ports/mail/opendkim/Makefile,v 1.3 2009/12/22 11:36:22 miwi Exp $
6
#
6
#
7
7
8
PORTNAME=	opendkim
8
PORTNAME=	opendkim
9
PORTVERSION=	1.1.2
9
PORTVERSION=	2.1.2
10
PORTREVISION=	1
11
CATEGORIES=	mail security
10
CATEGORIES=	mail security
12
MASTER_SITES=	SF/opendkim
11
MASTER_SITES=	SF/opendkim
13
12
Lines 19-34 Link Here
19
USE_RC_SUBR=	milter-opendkim
18
USE_RC_SUBR=	milter-opendkim
20
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
21
20
22
MAN_COMPRESSED=	no
23
MAN3=		ar.3
21
MAN3=		ar.3
24
MAN5=		opendkim.conf.5
22
MAN5=		opendkim.conf.5
25
MAN8=		opendkim-genkey.8 opendkim-testadsp.8 \
23
MAN8=		opendkim-genkey.8 opendkim-genzone.8 \
26
		opendkim-testkey.8 opendkim.8
24
		opendkim-testadsp.8 opendkim-testkey.8 \
27
PORTDOCS0=	FEATURES INSTALL KNOWNBUGS LICENSE LICENSE.Sendmail \
25
		opendkim.8
28
		README RELEASE_NOTES RELEASE_NOTES.Sendmail
26
29
PORTDOCS=	docs/*
30
SUB_FILES=	pkg-message
27
SUB_FILES=	pkg-message
31
28
29
MAKE_ARGS+=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"
30
32
.include <bsd.port.pre.mk>
31
.include <bsd.port.pre.mk>
33
32
34
WITHOUT_MILTER_CFLAGS=	yes
33
WITHOUT_MILTER_CFLAGS=	yes
Lines 48-61 Link Here
48
CONFIGURE_ARGS+=	--enable-debug
47
CONFIGURE_ARGS+=	--enable-debug
49
.endif
48
.endif
50
49
50
.if !defined(NOPORTDOCS)
51
PORTDOCS=	*
52
.else
53
CONFIGURE_ARGS+=--docdir=${WRKDIR}/doc
54
.endif
55
51
.if (defined(WITH_POPAUTH) \
56
.if (defined(WITH_POPAUTH) \
52
	|| defined(WITH_QUERY_CACHE) \
57
	|| defined(WITH_QUERY_CACHE) \
53
	|| defined(WITH_BODYLENGTH_DB) \
58
	|| defined(WITH_BODYLENGTH_DB) \
54
	|| defined(WITH_STATS)) \
59
	|| defined(WITH_STATS)) \
55
	&& !defined(WITH_BDB_BASE)
60
	&& !defined(WITH_BDB_BASE)
56
#BROKEN=		LIBDB_INCDIR nor LIBDB_LIBDIRS cannot be set individually
57
CONFIGURE_ARGS+=	--with-db
61
CONFIGURE_ARGS+=	--with-db
58
USE_BDB=	41+
62
USE_BDB=		41+
59
.endif
63
.endif
60
.if defined(WITH_UNBOUND) && !defined(WITHOUT_UNBOUND)
64
.if defined(WITH_UNBOUND) && !defined(WITHOUT_UNBOUND)
61
BROKEN=		configure fails since arlib cannot be disabled
65
BROKEN=		configure fails since arlib cannot be disabled
Lines 64-70 Link Here
64
.endif
68
.endif
65
CONFIGURE_ARGS+=	--with-unbound \
69
CONFIGURE_ARGS+=	--with-unbound \
66
			--disable-arlib
70
			--disable-arlib
67
LIB_DEPENDS+=	unbound:${PORTSDIR}/dns/unbound
71
LIB_DEPENDS+=		unbound:${PORTSDIR}/dns/unbound
68
PLIST_SUB+=		ARLIB="@comment "
72
PLIST_SUB+=		ARLIB="@comment "
69
.else
73
.else
70
.if !defined(WITHOUT_ARLIB)
74
.if !defined(WITHOUT_ARLIB)
Lines 82-105 Link Here
82
CONFIGURE_ARGS+=	--enable-querycache
86
CONFIGURE_ARGS+=	--enable-querycache
83
.endif
87
.endif
84
88
85
post-extract:
86
.for f in ${PORTDOCS0}
87
	@${CP} ${WRKSRC}/${f} ${WRKSRC}/docs/
88
.endfor
89
90
post-install:
89
post-install:
91
.if !defined(WITH_DEBUG)
90
.if !defined(WITH_DEBUG)
92
	@${STRIP_CMD} ${PREFIX}/sbin/opendkim
91
	@${STRIP_CMD} ${PREFIX}/sbin/opendkim
93
.endif
92
.endif
94
	@${MKDIR} ${PREFIX}/etc/mail
93
	@${MKDIR} ${PREFIX}/etc/mail
95
	${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample ${PREFIX}/etc/mail/
94
	${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample ${PREFIX}/etc/mail/
96
.if !defined(NOPORTDOCS)
97
.for f in ${PORTDOCS}
98
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
99
.endfor
100
.else
101
	@${RM} -rf ${DOCSDIR}
102
.endif
103
	@${CAT} ${PKGMESSAGE}
95
	@${CAT} ${PKGMESSAGE}
104
96
105
.include <bsd.port.post.mk>
97
.include <bsd.port.post.mk>
(-)Makefile.features (-4 lines)
Lines 57-66 Link Here
57
CONFIGURE_ARGS+=	--enable-selectorheader
57
CONFIGURE_ARGS+=	--enable-selectorheader
58
.endif
58
.endif
59
59
60
.if defined(WITH_SENDER_HEADERS) && !defined(WITHOUT_SENDER_HEADERS)
61
CONFIGURE_ARGS+=	--enable-senderheaders
62
.endif
63
64
.if defined(WITH_STATS) && !defined(WITHOUT_STATS)
60
.if defined(WITH_STATS) && !defined(WITHOUT_STATS)
65
CONFIGURE_ARGS+=	--enable-stats
61
CONFIGURE_ARGS+=	--enable-stats
66
MAN8+=			opendkim-stats.8
62
MAN8+=			opendkim-stats.8
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (opendkim-1.1.2.tar.gz) = f869f90aad3561a01b377e9ca61dedc3
1
MD5 (opendkim-2.1.2.tar.gz) = 7860684aaa3e17c9272081891a856092
2
SHA256 (opendkim-1.1.2.tar.gz) = 5f11526c9a490b6649794b0e5910cb6e6c9b3fe815cf8b731dbed8ddb077d078
2
SHA256 (opendkim-2.1.2.tar.gz) = 5f9e8c6447cfba022378e2cf54cfc82516319a745f01e457a6903c61a2295f93
3
SIZE (opendkim-1.1.2.tar.gz) = 856455
3
SIZE (opendkim-2.1.2.tar.gz) = 1010010
(-)pkg-descr (-4 / +6 lines)
Lines 1-10 Link Here
1
OpenDKIM is an open source implementation of the DKIM sender authentication
1
OpenDKIM is an open source implementation of the DKIM (Domain Keys Identified 
2
system proposed by the E-mail Signing Technology Group (ESTG), now a proposed
2
Mail) sender authentication system proposed by the E-mail Signing Technology 
3
standard of the IETF (RFC4871).
3
Group (ESTG), now standardized by the IETF (RFC4871). It also includes 
4
implementations of the Author Domain Signing Practises (ADSP, RFC5617) and 
5
Vouch By Reference (VBR, RFC5518) proposed standards.
4
6
5
The OpenDKIM package consists of a library that implements the DKIM service
7
The OpenDKIM package consists of a library that implements the DKIM service
6
and a milter-based filter application that can plug in to any milter-aware
8
and a milter-based filter application that can plug in to any milter-aware
7
MTA to provide that service to sufficiently recent sendmail MTAs and other
9
MTA to provide that service to sufficiently recent sendmail MTAs and other
8
MTAs that support the milter protocol. 
10
MTAs that support the milter protocol. 
9
11
10
WWW:	http://opendkim.org/
12
WWW: http://opendkim.org/
(-)pkg-plist (-108 / +4 lines)
Lines 10-128 Link Here
10
lib/libopendkim.a
10
lib/libopendkim.a
11
lib/libopendkim.la
11
lib/libopendkim.la
12
lib/libopendkim.so
12
lib/libopendkim.so
13
lib/libopendkim.so.0
13
lib/libopendkim.so.2
14
libdata/pkgconfig/ar.pc
15
libdata/pkgconfig/opendkim.pc
14
sbin/opendkim
16
sbin/opendkim
15
sbin/opendkim-genkey.sh
17
sbin/opendkim-genkey.sh
18
sbin/opendkim-genzone
16
%%STATS%%sbin/opendkim-stats
19
%%STATS%%sbin/opendkim-stats
17
sbin/opendkim-testadsp
20
sbin/opendkim-testadsp
18
sbin/opendkim-testkey
21
sbin/opendkim-testkey
19
%%PORTDOCS%%%%DOCSDIR%%/FEATURES
20
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
21
%%PORTDOCS%%%%DOCSDIR%%/KNOWNBUGS
22
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
23
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.Sendmail
24
%%PORTDOCS%%%%DOCSDIR%%/README
25
%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES
26
%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES.Sendmail
27
%%PORTDOCS%%%%DOCSDIR%%/draft-ietf-dkim-deployment-09.txt
28
%%PORTDOCS%%%%DOCSDIR%%/draft-kucherawy-dkim-reporting-06.txt
29
%%PORTDOCS%%%%DOCSDIR%%/draft-shafranovich-feedback-report-08.txt
30
%%PORTDOCS%%%%DOCSDIR%%/rfc4686.txt
31
%%PORTDOCS%%%%DOCSDIR%%/rfc4871.txt
32
%%PORTDOCS%%%%DOCSDIR%%/rfc5016.txt
33
%%PORTDOCS%%%%DOCSDIR%%/rfc5451.txt
34
%%PORTDOCS%%%%DOCSDIR%%/rfc5518.txt
35
%%PORTDOCS%%%%DOCSDIR%%/rfc5585.txt
36
%%PORTDOCS%%%%DOCSDIR%%/rfc5617.txt
37
%%PORTDOCS%%%%DOCSDIR%%/rfc5672.txt
38
%%DATADIR%%/dkim.html
39
%%DATADIR%%/dkim_alg_t.html
40
%%DATADIR%%/dkim_body.html
41
%%DATADIR%%/dkim_canon_t.html
42
%%DATADIR%%/dkim_cbstat.html
43
%%DATADIR%%/dkim_chunk.html
44
%%DATADIR%%/dkim_close.html
45
%%DATADIR%%/dkim_diffheaders.html
46
%%DATADIR%%/dkim_dnssec.html
47
%%DATADIR%%/dkim_eoh.html
48
%%DATADIR%%/dkim_eom.html
49
%%DATADIR%%/dkim_flush_cache.html
50
%%DATADIR%%/dkim_free.html
51
%%DATADIR%%/dkim_get_user_context.html
52
%%DATADIR%%/dkim_getcachestats.html
53
%%DATADIR%%/dkim_getdomain.html
54
%%DATADIR%%/dkim_geterror.html
55
%%DATADIR%%/dkim_getmode.html
56
%%DATADIR%%/dkim_get_msgdate.html
57
%%DATADIR%%/dkim_getpartial.html
58
%%DATADIR%%/dkim_getpolicystr.html
59
%%DATADIR%%/dkim_getpresult.html
60
%%DATADIR%%/dkim_getpresultstr.html
61
%%DATADIR%%/dkim_get_reputation.html
62
%%DATADIR%%/dkim_getresultstr.html
63
%%DATADIR%%/dkim_getsighdr.html
64
%%DATADIR%%/dkim_getsiglist.html
65
%%DATADIR%%/dkim_getsignature.html
66
%%DATADIR%%/dkim_header.html
67
%%DATADIR%%/dkim_init.html
68
%%DATADIR%%/dkim_key_syntax.html
69
%%DATADIR%%/dkim_lib.html
70
%%DATADIR%%/dkim_minbody.html
71
%%DATADIR%%/dkim_ohdrs.html
72
%%DATADIR%%/dkim_options.html
73
%%DATADIR%%/dkim_param_t.html
74
%%DATADIR%%/dkim_policy.html
75
%%DATADIR%%/dkim_policy_getdnssec.html
76
%%DATADIR%%/dkim_policy_getreportinfo.html
77
%%DATADIR%%/dkim_policy_syntax.html
78
%%DATADIR%%/dkim_policy_t.html
79
%%DATADIR%%/dkim_presult.html
80
%%DATADIR%%/dkim_pstate.html
81
%%DATADIR%%/dkim_query_t.html
82
%%DATADIR%%/dkim_set_dns_callback.html
83
%%DATADIR%%/dkim_set_final.html
84
%%DATADIR%%/dkim_set_key_lookup.html
85
%%DATADIR%%/dkim_set_margin.html
86
%%DATADIR%%/dkim_set_policy_lookup.html
87
%%DATADIR%%/dkim_setpartial.html
88
%%DATADIR%%/dkim_set_prescreen.html
89
%%DATADIR%%/dkim_set_signature_handle.html
90
%%DATADIR%%/dkim_set_signature_handle_free.html
91
%%DATADIR%%/dkim_set_signature_tagvalues.html
92
%%DATADIR%%/dkim_set_signer.html
93
%%DATADIR%%/dkim_set_trust_anchor.html
94
%%DATADIR%%/dkim_set_user_context.html
95
%%DATADIR%%/dkim_sig_getbh.html
96
%%DATADIR%%/dkim_sig_getcanonlen.html
97
%%DATADIR%%/dkim_sig_getcanons.html
98
%%DATADIR%%/dkim_sig_getcontext.html
99
%%DATADIR%%/dkim_sig_getdnssec.html
100
%%DATADIR%%/dkim_sig_getdomain.html
101
%%DATADIR%%/dkim_sig_geterror.html
102
%%DATADIR%%/dkim_sig_geterrorstr.html
103
%%DATADIR%%/dkim_sig_getflags.html
104
%%DATADIR%%/dkim_sig_getidentity.html
105
%%DATADIR%%/dkim_sig_getkeysize.html
106
%%DATADIR%%/dkim_sig_getreportinfo.html
107
%%DATADIR%%/dkim_sig_getselector.html
108
%%DATADIR%%/dkim_sig_getsignalg.html
109
%%DATADIR%%/dkim_sig_getsigntime.html
110
%%DATADIR%%/dkim_sig_hdrsigned.html
111
%%DATADIR%%/dkim_sig_ignore.html
112
%%DATADIR%%/dkim_sig_process.html
113
%%DATADIR%%/dkim_sig_syntax.html
114
%%DATADIR%%/dkim_sigerror.html
115
%%DATADIR%%/dkim_siginfo.html
116
%%DATADIR%%/dkim_sigkey_t.html
117
%%DATADIR%%/dkim_sign.html
118
%%DATADIR%%/dkim_libfeature.html
119
%%DATADIR%%/dkim_ssl_version.html
120
%%DATADIR%%/dkim_stat.html
121
%%DATADIR%%/dkim_verify.html
122
%%DATADIR%%/index.html
123
%%DATADIR%%/overview.html
124
%%DATADIR%%/rfc2822_mailbox_split.html
125
@dirrm %%DATADIR%%
126
@dirrm include/opendkim
22
@dirrm include/opendkim
127
@dirrm include/ar
23
@dirrm include/ar
128
@dirrmtry etc/mail
24
@dirrmtry etc/mail
(-)files/patch-FEATURES (-12 lines)
Removed Link Here
1
--- ./FEATURES.orig	2009-08-04 06:31:48.000000000 +0900
2
+++ ./FEATURES	2009-08-27 20:35:42.000000000 +0900
3
@@ -74,6 +74,9 @@
4
 		to use when signing based on the contents of an arbitrary
5
 		header.  (opendkim)
6
 
7
+senderheaders	Optional control over which headers are used by the filter
8
+		to make the sign vs. verify decision.  (opendkim)
9
+
10
 stats		Optional generation of statistics about pass/fail sorted
11
 		by domain and canonicalization.  Requires Sleepycat DB.
12
 		(opendkim, libopendkim)
(-)files/patch-opendkim__Makefile.in (-11 lines)
Removed Link Here
1
--- ./opendkim/Makefile.in.orig	2009-08-15 01:44:49.000000000 +0900
2
+++ ./opendkim/Makefile.in	2009-08-27 20:36:49.000000000 +0900
3
@@ -327,7 +327,7 @@
4
 AM_LDFLAGS = -pthread
5
 sbin_SCRIPTS = opendkim-genkey.sh
6
 exampledir = $(datarootdir)/doc/@PACKAGE@
7
-example_DATA = opendkim.conf.sample
8
+example_DATA = 
9
 @BUILD_FILTER_TRUE@opendkim_SOURCES = opendkim.c opendkim.h opendkim-ar.c opendkim-ar.h opendkim-arf.c opendkim-arf.h opendkim-config.h opendkim-crypto.c opendkim-crypto.h opendkim-db.c opendkim-db.h config.c config.h stats.c stats.h test.c test.h util.c util.h
10
 @BUILD_FILTER_TRUE@opendkim_CFLAGS = $(am__append_2) $(am__append_6) \
11
 @BUILD_FILTER_TRUE@	$(am__append_7) $(am__append_8) \

Return to bug 148397