Yes. I finally managed to get it working.@mactjaap This is on your Monterey Mac? Did you do anything special to make it work?
@NJRoadfan I was on the fence about whether to have mysql as a dependency or not. The formula is noticeably heavy to install even on a 2019 MacBook Air. I might look into making it an optional dependency in a future formula revision.
Could you confirm what the other failing dependency was? Spotlight is disabled in the formula, so it couldn't have been that. (Neither Tracker nor D-Bus works very well in the Homebrew sandbox, in my experience.)
Nice! Thanks for all your good work!In the next revision of the Homebrew formula, I'm looking to replace mysql with mariadb, which is significantly lighter (as in, less disk space and much quicker to install.)
These improvements to macOS interoperability are included in netatalk 4.1.0 which I tagged and released moments ago.If you happen to run Netatalk on a macOS host, some significant enhancements are on the way. This should nearly replicate the functionality of Apple's now deprecated AFP server in macOS.
The big one is that resource forks are now natively stored in the file system as opposed to using "._" AppleDouble files. This works regardless of the filesystem your drive is formatted in, so you can share from APFS, HFS+, or even exFAT drives (the OS handles the AppleDouble translation here).
Next up is FinderInfo is synced with the native filesystem metadata, which appears ascom.apple.FinderInfo. Things like the filetype/creator information will now be synced with the host. In addition, storage of extended attributes for macOS (AFP3.2 and newer) clients should now be working properly.
This is what I did. I have cleaned it up a little bit.Yes. I finally managed to get it working.
I had to fix some permissions as you mentioned. I also had to do some extra installs, like MySQL. I will have a look at my history tonight. I’m on the road now so no access to my MacBook.
#brew install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
sudo chown -R the_current_user /usr/local/var/homebrew
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
brew update
# netatalk install
brew install netatalk # failure
sudo chmod -R 775 /usr/local/Cellar/
# more failures and this helped:
brew install gcc meson ninja xmlto docbook docbook-xsl
brew install netatalk
root@maciprpi:/opt/afp-perl/atalk-perl# /usr/local/bin/afpclient.pl "afp://mactjaap:********@192.168.178.78/"
Volume Name | UNIX privs? | Volume pass?
-------------------------------------------------------------------------
mactjaap's home | Yes | No
root@maciprpi:/opt/afp-perl/atalk-perl# /usr/local/bin/afpclient.pl "afp://mactjaap:********@192.168.178.78/mactjaap's home"
afpclient mactjaap@192.168.178.78:mactjaap's home/> ls
-r-------- 1 mactjaap staff 7 Jan 9 13:22 .CFUserTextEncoding
-rw-r--r-- 1 mactjaap staff 10244 Jan 10 22:09 .DS_Store
drwx------ 2 mactjaap staff 0 Jan 12 00:02 .Trash
drwx------ 4 mactjaap staff 0 Jan 11 23:59 .bash_sessions
drwxr-xr-x 3 mactjaap staff 0 Jan 10 01:20 .config
drwx------ 4 mactjaap staff 0 Jan 10 09:31 .ssh
-rw------- 1 mactjaap staff 1394 Jan 10 22:51 .viminfo
drwx------ 4 mactjaap staff 0 Jan 10 01:38 Applications
drwx------ 60 mactjaap staff 0 Jan 12 00:47 Desktop
drwx------ 12 mactjaap staff 0 Jan 9 13:44 Documents
drwx------ 6 mactjaap staff 0 Jan 12 00:45 Downloads
-rw-r--r-- 1 mactjaap staff 0 Jan 10 09:55 Installing
drwx------ 87 mactjaap staff 0 Jan 10 13:46 Library
drwx------ 4 mactjaap staff 0 Jan 10 01:24 Movies
drwx------ 3 mactjaap staff 0 Jan 9 13:05 Music
drwx------ 4 mactjaap staff 0 Jan 9 18:56 Pictures
-rw-r--r-- 1 mactjaap staff 0 Jan 10 09:55 Pouring
drwxr-xr-x 5 mactjaap staff 0 Jan 10 01:30 Public
Please remind me: Were you able to get around to trying a more recent FTP client (late 90s-ish) that can do passive mode? I don't think it's feasible to use active FTP over a NAT'ed bridge, but passive FTP should theoretically work fine.Great stuff! The only complaint I have left then would be whether macipgw could be examined to figure out why it doesn't work as smoothly (? is there such a thing?) on other types of TCP traffic. Like FTP.
