View | Details | Raw Unified | Return to bug 176462 | Differences between
and this patch

Collapse All | Expand All

(-)mail/opendkim/Makefile (-2 / +12 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=		opendkim
4
PORTNAME=		opendkim
5
PORTVERSION=		2.7.4
5
PORTVERSION=		2.8.0
6
PORTREVISION=		1
7
CATEGORIES=		mail security
6
CATEGORIES=		mail security
8
MASTER_SITES=		SF
7
MASTER_SITES=		SF
9
MASTER_SITE_SUBDIR=	${PORTNAME} \
8
MASTER_SITE_SUBDIR=	${PORTNAME} \
Lines 155-160 Link Here
155
PLIST_SUB+=		LUA="@comment "
154
PLIST_SUB+=		LUA="@comment "
156
.endif
155
.endif
157
156
157
pre-configure:
158
	${REINPLACE_CMD} -e '/PKG_CONFIG/s/lua5/lua-5/' \
159
	${WRKSRC}/configure
160
161
post-patch:
162
.if ${PORT_OPTIONS:MLCOV}
163
	${CP} ${FILESDIR}/lcov-helper.sh ${WRKSRC}/libopendkim/tests/
164
	${CP} ${FILESDIR}/lcov-helper.sh ${WRKSRC}/opendkim/tests/
165
	${FIND} ${WRKSRC} -type f -name \*-helper.sh -exec ${CHMOD} 755 {} +
166
.endif
167
158
post-install:
168
post-install:
159
.if ! ${PORT_OPTIONS:MDEBUG} && ${PORT_OPTIONS:MFILTER}
169
.if ! ${PORT_OPTIONS:MDEBUG} && ${PORT_OPTIONS:MFILTER}
160
	@${STRIP_CMD} ${PREFIX}/sbin/opendkim
170
	@${STRIP_CMD} ${PREFIX}/sbin/opendkim
(-)mail/opendkim/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (opendkim-2.7.4.tar.gz) = fa66f7ca52dd3fa94cd869e8fe9e8f849ab83d6a32a8d4ed3cf18b06b4584e76
1
SHA256 (opendkim-2.8.0.tar.gz) = a7b369b2182031d53257cbbac7ed99d70b00ebc442dfb832dc7d78d5d7b0c31c
2
SIZE (opendkim-2.7.4.tar.gz) = 1158496
2
SIZE (opendkim-2.8.0.tar.gz) = 1175377
(-)mail/opendkim/files/patch-opendkim__tests__Makefile.in (+36 lines)
Line 0 Link Here
1
--- ./opendkim/tests/Makefile.in.orig	2013-02-26 06:06:06.000000000 +0900
2
+++ ./opendkim/tests/Makefile.in	2013-02-26 19:58:50.000000000 +0900
3
@@ -98,8 +98,10 @@
4
       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
5
     END { for (dir in files) print dir, files[dir] }'
6
 am__base_list = \
7
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
8
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
9
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\
10
+/ /g' | \
11
+  sed '$$!N;$$!N;$$!N;$$!N;s/\
12
+/ /g'
13
 am__uninstall_files_from_dir = { \
14
   test -z "$$files" \
15
     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
16
@@ -778,14 +780,16 @@
17
 @LCOV_TRUE@description.txt: $(check_SCRIPTS)
18
 @LCOV_TRUE@	rm -f $@
19
 @LCOV_TRUE@	for test in $? ; do \
20
-@LCOV_TRUE@		testname=$${test/t-}; \
21
-@LCOV_TRUE@		testname=$${testname//-/_}; \
22
+@LCOV_TRUE@		testname=$${test#t-}; \
23
+@LCOV_TRUE@		testname=$$(echo $${testname} | sed -e 's/-/_/g'); \
24
 @LCOV_TRUE@		grep ^# $$test | tail -n 1 | \
25
-@LCOV_TRUE@			sed -e "s/^#\(.*\)/$${testname}\n\t\1\n/g" >> $@; \
26
+@LCOV_TRUE@			sed -e "s/^#\(.*\)/$${testname}\
27
+@LCOV_TRUE@	\1\
28
+@LCOV_TRUE@/g" >> $@; \
29
 @LCOV_TRUE@	done
30
 
31
 @LCOV_TRUE@description.html: description.txt
32
-@LCOV_TRUE@	gendesc --output $@ $<
33
+@LCOV_TRUE@	gendesc --output $@ $?
34
 
35
 @LCOV_TRUE@maintainer-clean-local:
36
 @LCOV_TRUE@	-rm -rf lcov/[^C]*
(-)mail/opendkim/files/lcov-helper.sh (+9 lines)
Line 0 Link Here
1
#! /bin/sh
2
$1
3
x=$?
4
# keep consistant with Makefile.am
5
testname=${1#./t-}
6
testname=$(echo ${testname} | sed -e 's/-/_/g')
7
lcov --capture --directory .. --output-file $1.info --test-name ${testname} --quiet
8
lcov --remove $1.info '/usr/include/*' --output-file $1.info --quiet &
9
exit $x
(-)mail/opendkim/files/patch-libopendkim__tests__Makefile.in (+77 lines)
Line 0 Link Here
1
--- ./libopendkim/tests/Makefile.in.orig	2013-02-26 06:06:04.000000000 +0900
2
+++ ./libopendkim/tests/Makefile.in	2013-02-26 19:58:50.000000000 +0900
3
@@ -106,7 +106,7 @@
4
 	t-test149$(EXEEXT) t-test150$(EXEEXT) t-test151$(EXEEXT) \
5
 	t-test152$(EXEEXT) t-test153$(EXEEXT) t-signperf$(EXEEXT) \
6
 	t-verifyperf$(EXEEXT) $(am__EXEEXT_1) t-cleanup$(EXEEXT)
7
-@ALL_SYMBOLS_TRUE@am__append_6 = t-test49 t-test113 t-test118
8
+@ALL_SYMBOLS_TRUE@am__append_6 = t-test113 t-test118
9
 @GCOV_ONLY_TRUE@am__append_7 = *.gcov *.gcno *.gcda *.bb *.bbg *.da .gcov-files
10
 @LCOV_TRUE@am__append_8 = *.info .prepare-lcov .info-files *.gcno *.gcda
11
 @GPROF_TRUE@am__append_9 = *.prof gmon.out *.gmon
12
@@ -124,7 +124,7 @@
13
 CONFIG_HEADER = $(top_builddir)/build-config.h
14
 CONFIG_CLEAN_FILES =
15
 CONFIG_CLEAN_VPATH_FILES =
16
-@ALL_SYMBOLS_TRUE@am__EXEEXT_1 = t-test49$(EXEEXT) t-test113$(EXEEXT) \
17
+@ALL_SYMBOLS_TRUE@am__EXEEXT_1 = t-test113$(EXEEXT) \
18
 @ALL_SYMBOLS_TRUE@	t-test118$(EXEEXT)
19
 am_t_cleanup_OBJECTS = t-cleanup.$(OBJEXT)
20
 t_cleanup_OBJECTS = $(am_t_cleanup_OBJECTS)
21
@@ -952,7 +952,7 @@
22
 	$(t_test39_SOURCES) $(t_test40_SOURCES) $(t_test41_SOURCES) \
23
 	$(t_test42_SOURCES) $(t_test43_SOURCES) $(t_test44_SOURCES) \
24
 	$(t_test45_SOURCES) $(t_test46_SOURCES) $(t_test47_SOURCES) \
25
-	$(t_test48_SOURCES) $(t_test49_SOURCES) $(t_test50_SOURCES) \
26
+	$(t_test48_SOURCES) $(t_test50_SOURCES) \
27
 	$(t_test51_SOURCES) $(t_test52_SOURCES) $(t_test53_SOURCES) \
28
 	$(t_test54_SOURCES) $(t_test55_SOURCES) $(t_test56_SOURCES) \
29
 	$(t_test57_SOURCES) $(t_test58_SOURCES) $(t_test59_SOURCES) \
30
@@ -1006,7 +1006,7 @@
31
 	$(t_test39_SOURCES) $(t_test40_SOURCES) $(t_test41_SOURCES) \
32
 	$(t_test42_SOURCES) $(t_test43_SOURCES) $(t_test44_SOURCES) \
33
 	$(t_test45_SOURCES) $(t_test46_SOURCES) $(t_test47_SOURCES) \
34
-	$(t_test48_SOURCES) $(t_test49_SOURCES) $(t_test50_SOURCES) \
35
+	$(t_test48_SOURCES) $(t_test50_SOURCES) \
36
 	$(t_test51_SOURCES) $(t_test52_SOURCES) $(t_test53_SOURCES) \
37
 	$(t_test54_SOURCES) $(t_test55_SOURCES) $(t_test56_SOURCES) \
38
 	$(t_test57_SOURCES) $(t_test58_SOURCES) $(t_test59_SOURCES) \
39
@@ -1049,8 +1049,10 @@
40
       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
41
     END { for (dir in files) print dir, files[dir] }'
42
 am__base_list = \
43
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
44
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
45
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\
46
+/ /g' | \
47
+  sed '$$!N;$$!N;$$!N;$$!N;s/\
48
+/ /g'
49
 am__uninstall_files_from_dir = { \
50
   test -z "$$files" \
51
     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
52
@@ -2782,16 +2784,19 @@
53
 @LCOV_TRUE@description.txt: $(check_PROGRAMS) $(check_SCRIPTS)
54
 @LCOV_TRUE@	rm -f $@
55
 @LCOV_TRUE@	for i in $(check_PROGRAMS); do \
56
-@LCOV_TRUE@		testname=$${i/t-}; \
57
-@LCOV_TRUE@		testname=$${testname//-/_}; \
58
+@LCOV_TRUE@		testname=$${i#t-}; \
59
+@LCOV_TRUE@		testname=$$(echo $${testname} | sed -e 's/-/_/g'); \
60
 @LCOV_TRUE@		fgrep '***' $$i.c | tail -n 1 | \
61
-@LCOV_TRUE@		(echo $${testname} ; sed -e 's/[^*]*\*\*\*\(.*\)\\n.*/\t\1\n/g' ) >> $@; \
62
+@LCOV_TRUE@		(echo $${testname} ; sed -e 's/[^*]*\*\*\*\(.*\)\\
63
+@LCOV_TRUE@.*/	\1\
64
+@LCOV_TRUE@/g' ) >> $@; \
65
 @LCOV_TRUE@	done
66
 @LCOV_TRUE@	for i in $(check_SCRIPTS); do \
67
-@LCOV_TRUE@		testname=$${i/t-}; \
68
-@LCOV_TRUE@		testname=$${testname//-/_}; \
69
+@LCOV_TRUE@		testname=$${i#t-}; \
70
+@LCOV_TRUE@		testname=$$(echo $${testname} | sed -e 's/-/_/g'); \
71
 @LCOV_TRUE@		grep '^#' $$i | tail -n 1 | \
72
-@LCOV_TRUE@		(echo $${testname} ; sed -e 's/^# \(.*\)/\t\1\n/g' ) >> $@; \
73
+@LCOV_TRUE@		(echo $${testname} ; sed -e 's/^# \(.*\)/	\1\
74
+@LCOV_TRUE@/g' ) >> $@; \
75
 @LCOV_TRUE@	done
76
 
77
 @LCOV_TRUE@description.html: description.txt
(-)mail/opendkim/Makefile.options (-1 / +2 lines)
Lines 11-17 Link Here
11
OPTIONS_GROUP+=		FFR
11
OPTIONS_GROUP+=		FFR
12
OPTIONS_GROUP_FFR=	ADSP_LISTS ALLSYMBOLS ATPS CODECOVERAGE \
12
OPTIONS_GROUP_FFR=	ADSP_LISTS ALLSYMBOLS ATPS CODECOVERAGE \
13
			DB_HANDLE_POOLS DEFAULT_SENDER DIFFHEADERS \
13
			DB_HANDLE_POOLS DEFAULT_SENDER DIFFHEADERS \
14
			DKIM_REPUTATION ERLANG IDENTITY_HEADER \
14
			DKIM_REPUTATION ERLANG IDENTITY_HEADER LCOV \
15
			LDAP_CACHING POSTGRES_RECONNECT_HACK \
15
			LDAP_CACHING POSTGRES_RECONNECT_HACK \
16
			RATE_LIMIT RBL REDIRECT REPLACE_RULES REPRRD \
16
			RATE_LIMIT RBL REDIRECT REPLACE_RULES REPRRD \
17
			REPUTATION RESIGN SENDER_MACRO SOCKETDB \
17
			REPUTATION RESIGN SENDER_MACRO SOCKETDB \
Lines 27-32 Link Here
27
DKIM_REPUTATION_DESC=		DKIM reputation check (experimental)
27
DKIM_REPUTATION_DESC=		DKIM reputation check (experimental)
28
ERLANG_DESC=			Support for Erlang datasets
28
ERLANG_DESC=			Support for Erlang datasets
29
IDENTITY_HEADER_DESC=		Special header to set identity
29
IDENTITY_HEADER_DESC=		Special header to set identity
30
LCOV_DESC=			Profiling with LCOV
30
LDAP_CACHING_DESC=		LDAP query piggybacking and caching
31
LDAP_CACHING_DESC=		LDAP query piggybacking and caching
31
POSTGRES_RECONNECT_HACK_DESC=	PostgreSQL connection error detection bug hack
32
POSTGRES_RECONNECT_HACK_DESC=	PostgreSQL connection error detection bug hack
32
RATE_LIMIT_DESC=		DKIM based rate limiting support
33
RATE_LIMIT_DESC=		DKIM based rate limiting support
(-)mail/opendkim/Makefile.features (-1 / +10 lines)
Lines 60-65 Link Here
60
CONFIGURE_ARGS+=	--enable-identity_header
60
CONFIGURE_ARGS+=	--enable-identity_header
61
.endif
61
.endif
62
62
63
.if ${PORT_OPTIONS:MLCOV}
64
BROKEN=			Does not install
65
BUILD_DEPENDS+=		lcov:${PORTSDIR}/devel/lcov \
66
			${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
67
CONFIGURE_ARGS+=	--with-lcov
68
.else
69
CONFIGURE_ARGS+=	--without-lcov
70
.endif
71
63
.if ${PORT_OPTIONS:MLDAP_CACHING}
72
.if ${PORT_OPTIONS:MLDAP_CACHING}
64
WITH_OPENLDAP=		yes
73
WITH_OPENLDAP=		yes
65
CONFIGURE_ARGS+=	--enable-ldap_caching
74
CONFIGURE_ARGS+=	--enable-ldap_caching
Lines 94-100 Link Here
94
CONFIGURE_ARGS+=	--enable-reprrd
103
CONFIGURE_ARGS+=	--enable-reprrd
95
MAN8+=			opendkim-reprrdimport.8
104
MAN8+=			opendkim-reprrdimport.8
96
PLIST_SUB+=		REPRRD=""
105
PLIST_SUB+=		REPRRD=""
97
BUILD_DEPENDS=		rrdtool>=0:${PORTSDIR}/databases/rrdtool
106
BUILD_DEPENDS+=		rrdtool>=0:${PORTSDIR}/databases/rrdtool
98
.else
107
.else
99
CONFIGURE_ARGS+=	--disable-reprrd
108
CONFIGURE_ARGS+=	--disable-reprrd
100
PLIST_SUB+=		REPRRD="@comment "
109
PLIST_SUB+=		REPRRD="@comment "
(-)mail/opendkim/pkg-plist (-1 / +1 lines)
Lines 18-24 Link Here
18
lib/libopendkim.a
18
lib/libopendkim.a
19
lib/libopendkim.la
19
lib/libopendkim.la
20
lib/libopendkim.so
20
lib/libopendkim.so
21
lib/libopendkim.so.8
21
lib/libopendkim.so.9
22
%%RBL%%lib/librbl.a
22
%%RBL%%lib/librbl.a
23
%%RBL%%lib/librbl.la
23
%%RBL%%lib/librbl.la
24
%%RBL%%lib/librbl.so
24
%%RBL%%lib/librbl.so

Return to bug 176462