26e493cf4d
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)."
13 lines
533 B
C
13 lines
533 B
C
$NetBSD: patch-bin_ad_ad__cp.c,v 1.1 2014/06/11 11:03:57 hauke Exp $
|
|
|
|
--- bin/ad/ad_cp.c.orig 2014-01-27 07:37:46.000000000 +0000
|
|
+++ bin/ad/ad_cp.c
|
|
@@ -821,7 +821,7 @@ static int setfile(const struct stat *fs
|
|
islink = !fdval && S_ISLNK(fs->st_mode);
|
|
mode = fs->st_mode & (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO);
|
|
|
|
-#if defined(__FreeBSD__)
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__)
|
|
TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec);
|
|
TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec);
|
|
#else
|