support the AppleTalk ddp protocol, and here to stay while NetBSD ships with AppleTalk support. Add Netatalk 3.0.8 wip package as net/netatalk30. "Netatalk 3 is a freely-available implementation of the Apple Filesharing Protocol Suite (AFP) over TCP/IP. Using Netatalk's AFP 3.1 compliant file-server leads to significantly higher transmissions speeds compared with Macs accessing a server via SMB or NFS, while providing clients with the best user experience (full support for Macintosh metadata, flawlessly supporting mixed environments of classic MacOS and MacOS X clients)."
45 lines
1.9 KiB
Text
45 lines
1.9 KiB
Text
$NetBSD: patch-ac,v 1.1 2014/06/11 11:03:56 hauke Exp $
|
|
|
|
The original commit message for this patch:
|
|
|
|
http://mail-index.netbsd.org/source-changes/1999/09/17/0023.html
|
|
|
|
Patch from Juergen Hannken-Illjes, which should solve PR#8308 (net 0 is
|
|
reserved for lo0, it can't be used on other interfaces).
|
|
|
|
Here is PR #8308:
|
|
|
|
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=8308
|
|
|
|
and also the change that exposed the bug:
|
|
|
|
http://mail-index.netbsd.org/source-changes/1999/08/24/0035.html
|
|
|
|
and finally, the discussion referred to in the above change:
|
|
|
|
http://mail-index.netbsd.org/tech-net/1999/06/30/0002.html
|
|
http://mail-index.netbsd.org/tech-net/1999/07/01/0005.html
|
|
http://mail-index.netbsd.org/tech-net/1999/07/01/0007.html
|
|
http://mail-index.netbsd.org/tech-net/1999/07/02/0003.html
|
|
http://mail-index.netbsd.org/tech-net/1999/07/02/0016.html
|
|
http://mail-index.netbsd.org/tech-net/1999/07/02/0017.html
|
|
http://mail-index.netbsd.org/tech-net/1999/07/02/0018.html
|
|
http://mail-index.netbsd.org/tech-net/1999/07/02/0020.html
|
|
http://mail-index.netbsd.org/tech-net/1999/07/02/0022.html
|
|
http://mail-index.netbsd.org/tech-net/1999/07/03/0004.html
|
|
|
|
--- etc/atalkd/main.c.orig 2009-12-13 02:21:47.000000000 +0000
|
|
+++ etc/atalkd/main.c
|
|
@@ -296,10 +296,10 @@ static void as_timer(int sig _U_)
|
|
LOG(log_info, logtype_atalkd, "config for no router" );
|
|
|
|
if ( iface->i_flags & IFACE_PHASE2 ) {
|
|
- iface->i_rt->rt_firstnet = 0;
|
|
+ iface->i_rt->rt_firstnet = htons(1);
|
|
iface->i_rt->rt_lastnet = htons( STARTUP_LASTNET );
|
|
setaddr( iface, IFACE_PHASE2, iface->i_addr.sat_addr.s_net, iface->i_addr.sat_addr.s_node,
|
|
- 0, htons( STARTUP_LASTNET ));
|
|
+ htons(1), htons( STARTUP_LASTNET ));
|
|
}
|
|
if ( looproute( iface, RTMP_ADD ) ) { /* -1 or 1 */
|
|
LOG(log_error, logtype_atalkd, "as_timer: can't route %u.%u to loopback: %s",
|