--- /usr/ports/mail/archiveopteryx/Makefile 2011-08-10 13:55:18.932615550 -0500 +++ /usr/ports/mail/archiveopteryx/Makefile 2011-08-10 13:57:33.889562008 -0500 @@ -7,6 +7,7 @@ PORTNAME= archiveopteryx PORTVERSION= 3.1.3 +PORTREVISION?= 0 CATEGORIES= mail MASTER_SITES= http://archiveopteryx.org/%SUBDIR%/ MASTER_SITE_SUBDIR= download @@ -39,10 +40,6 @@ .include -.if ${OSVERSION} >= 900000 -BROKEN= does not build on FreeBSD 9.X -.endif - post-patch: @${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \ -e 's,%%PREFIX%%,${PREFIX},g' --- /usr/ports/mail/archiveopteryx/files/patch-core_configuration.cpp 1969-12-31 18:00:00.000000000 -0600 +++ /usr/ports/mail/archiveopteryx/files/patch-core_configuration.cpp 2011-08-10 13:47:22.000000000 -0500 @@ -0,0 +1,11 @@ +--- core/configuration.cpp.orig 2011-08-10 13:45:01.165003888 -0500 ++++ core/configuration.cpp 2011-08-10 13:45:35.358002044 -0500 +@@ -684,7 +684,7 @@ + in6.sin6_addr.s6_addr[i] = 0; + ++i; + } +- in6.sin6_addr.s6_addr[15] = ntohs( 1 ); ++ in6.sin6_addr.s6_addr[15] = 1; + in6.sin6_scope_id = 0; + if ( ::bind( s, (struct sockaddr *)&in6, sizeof( in6 ) ) < 0 ) { + if ( errno == EADDRINUSE ) --- /usr/ports/mail/archiveopteryx/pkg-install 2011-08-10 13:55:18.944617743 -0500 +++ /usr/ports/mail/archiveopteryx/pkg-install 2011-08-10 13:54:22.000000000 -0500 @@ -18,11 +18,11 @@ if [ "$TARGET" = POST-INSTALL ]; then for i in /var/db/aox/jail /var/db/aox/messages; do ${MKDIR} -m 700 -p ${i} - ${CHOWN} ${AOXUSER}:${AOXGROUP} ${i} done + ${CHOWN} root:wheel /var/db/aox/jail ${CHMOD} 700 /var/db/aox ${MKDIR} /var/run/aox - ${CHOWN} ${AOXUSER}:${AOXGROUP} /var/db/aox /var/run/aox + ${CHOWN} ${AOXUSER}:${AOXGROUP} /var/db/aox /var/run/aox /var/db/aox/messages fi exit 0