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

(-)/usr/ports/mail/archiveopteryx/Makefile (-4 / +1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	archiveopteryx
8
PORTNAME=	archiveopteryx
9
PORTVERSION=	3.1.3
9
PORTVERSION=	3.1.3
10
PORTREVISION?=	0
10
CATEGORIES=	mail
11
CATEGORIES=	mail
11
MASTER_SITES=	http://archiveopteryx.org/%SUBDIR%/
12
MASTER_SITES=	http://archiveopteryx.org/%SUBDIR%/
12
MASTER_SITE_SUBDIR=	download
13
MASTER_SITE_SUBDIR=	download
Lines 39-48 Link Here
39
40
40
.include <bsd.port.pre.mk>
41
.include <bsd.port.pre.mk>
41
42
42
.if ${OSVERSION} >= 900000
43
BROKEN=		does not build on FreeBSD 9.X
44
.endif
45
46
post-patch:
43
post-patch:
47
	@${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
44
	@${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
48
		-e 's,%%PREFIX%%,${PREFIX},g'
45
		-e 's,%%PREFIX%%,${PREFIX},g'
(-)/usr/ports/mail/archiveopteryx/files/patch-core_configuration.cpp (+11 lines)
Line 0 Link Here
1
--- core/configuration.cpp.orig	2011-08-10 13:45:01.165003888 -0500
2
+++ core/configuration.cpp	2011-08-10 13:45:35.358002044 -0500
3
@@ -684,7 +684,7 @@
4
                 in6.sin6_addr.s6_addr[i] = 0;
5
                 ++i;
6
             }
7
-            in6.sin6_addr.s6_addr[15] = ntohs( 1 );
8
+            in6.sin6_addr.s6_addr[15] = 1;
9
             in6.sin6_scope_id = 0;
10
             if ( ::bind( s, (struct sockaddr *)&in6, sizeof( in6 ) ) < 0 ) {
11
                 if ( errno == EADDRINUSE )
(-)/usr/ports/mail/archiveopteryx/pkg-install (-2 / +2 lines)
Lines 18-28 Link Here
18
if [ "$TARGET" = POST-INSTALL ]; then
18
if [ "$TARGET" = POST-INSTALL ]; then
19
	for i in /var/db/aox/jail /var/db/aox/messages; do
19
	for i in /var/db/aox/jail /var/db/aox/messages; do
20
		${MKDIR} -m 700 -p ${i}
20
		${MKDIR} -m 700 -p ${i}
21
		${CHOWN} ${AOXUSER}:${AOXGROUP} ${i}
22
	done
21
	done
22
	${CHOWN} root:wheel /var/db/aox/jail
23
	${CHMOD} 700 /var/db/aox
23
	${CHMOD} 700 /var/db/aox
24
	${MKDIR} /var/run/aox
24
	${MKDIR} /var/run/aox
25
	${CHOWN} ${AOXUSER}:${AOXGROUP} /var/db/aox /var/run/aox
25
	${CHOWN} ${AOXUSER}:${AOXGROUP} /var/db/aox /var/run/aox /var/db/aox/messages
26
fi
26
fi
27
27
28
exit 0
28
exit 0

Return to bug 159655