FreeBSD Bugzilla – Attachment 117564 Details for
Bug 159655
[PATCH] mail/archiveopteryx: Unbreak on 9.0 with patch approved by upstream.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
archiveopteryx-3.1.3.patch
archiveopteryx-3.1.3.patch (text/plain), 2.26 KB, created by
Mark Felder
on 2011-08-10 20:30:12 UTC
(
hide
)
Description:
archiveopteryx-3.1.3.patch
Filename:
MIME Type:
Creator:
Mark Felder
Created:
2011-08-10 20:30:12 UTC
Size:
2.26 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/mail/archiveopteryx.orig/Makefile /usr/ports/mail/archiveopteryx/Makefile >--- /usr/ports/mail/archiveopteryx.orig/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 <bsd.port.pre.mk> > >-.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' >diff -ruN --exclude=CVS /usr/ports/mail/archiveopteryx.orig/files/patch-core_configuration.cpp /usr/ports/mail/archiveopteryx/files/patch-core_configuration.cpp >--- /usr/ports/mail/archiveopteryx.orig/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 ) >diff -ruN --exclude=CVS /usr/ports/mail/archiveopteryx.orig/pkg-install /usr/ports/mail/archiveopteryx/pkg-install >--- /usr/ports/mail/archiveopteryx.orig/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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 159655
: 117564