Search found 45 matches

by dgsga
Wed Feb 15, 2023 8:02 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Hi @mabam I've done quite a lot of code tweaking recently to ensure that the repo compiles cleanly with the default compiler flags used by meson. So start with a fresh clone before going any further. I'm also on Ventura and I think the problem might be that you need to add the -w flag to the launchc...
by dgsga
Thu Nov 03, 2022 7:30 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Update: Migrated whole repo to the meson build system. A vast improvement...
by dgsga
Sat Jun 25, 2022 4:53 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Update:
Please clone a new copy of the repo to ensure you have access to new features. CVE security issues have been fixed and there is now a menu-driven install script. Shared volume detection via Bonjour in 10.4+ clients also works correctly. Enjoy!
by dgsga
Sun Nov 28, 2021 2:29 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

That’s good news – thank you and well done! Are there also plans to add it to homebrew as a formula? Thanks @mabam. I had to revert openssl@3 because DHX authentication failed even though the code compiled. Some of the functions that the netatalk code uses for DHX authentication are now deprecated ...
by dgsga
Wed Nov 24, 2021 8:53 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Revisited the repo to update. It now uses macOS native PAM authentication, OpenSSL 3 and can be installed using Homebrew. The Extended Attributes macro has been fixed so filesystem EA’s are used by default rather than Apple Double
by dgsga
Tue May 04, 2021 4:22 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Have removed make distclean auto-cleanup from install. command so all should be fine now...
by dgsga
Wed Apr 28, 2021 7:01 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

All done now. I have added an install.command file to the root of the repo that does it all (repo update, configure, make, install, cleanup) with a single double-click on the file. You just need to make it executable with:

Code: Select all

chmod +x install.command
by dgsga
Tue Apr 27, 2021 7:17 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

The error was with a fresh clone from yesterday night. I remember the current “111 commits ahead of Netatalk:branch-netatalk-3-1” message in your repo from yesterday. I just tried with cloning again anyway but got the same error as yesterday. Hmm, not sure what's going on here, I can't seem to repr...
by dgsga
Mon Apr 26, 2021 7:53 am
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

@mabam
Try a fresh clone of the repo, made numerous changes and reverts over the weekend. I’ve double-checked here on 2 machines and all’s well...
by dgsga
Sun Apr 25, 2021 3:59 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Update: afpstats has been removed from the repo as the not-insignificant amount of code associated with it yields no working result, even in linux. This means dbus and dbus-glib dependencies are no longer required. I have added mysql to list of dependencies in case you want to use mysql as the cnid ...
by dgsga
Thu Apr 22, 2021 8:02 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Anyone know anything about dbus? I have been working on afpstats and dbus but cannot get it to work. The way the original code is set up to work is for afpstats to use the system bus but Homebrew's dbus only provides a per user session bus. I'm not even sure it's worth the work as the macusers scrip...
by dgsga
Thu Apr 22, 2021 7:15 am
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

You did for @pkgconfdir@, thanks! But after I came across another instance, I searched the files in /man: ( uncompiled –> compiled ) /man/man5/afp.conf.5.in line 348: @libdir@ –> ${exec_prefix}/lib line 625: @DBUS_DAEMON_PATH@ –> @DBUS_DAEMON_PATH@ (not sure whether this one is supposed to be subst...
by dgsga
Wed Apr 21, 2021 4:48 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

I *think* I’ve fixed the man pages...
by dgsga
Wed Apr 21, 2021 9:28 am
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

I have a suggestion for you. Append these lines: # # install init # install-exec-local: cp -p ./netatalk-init /usr/local/bin/ uninstall-local: rm -f /usr/local/bin/netatalk-init to Makefile.am (in the root level of your repository). That way your netatalk-init script will be installed on the machin...
by dgsga
Tue Apr 20, 2021 7:59 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Thanks for all the feedback. I have reinstated the perl check macro so those utilities will now work correctly. The @pkgconfig@ error in the man files is caused by the variable not actually being defined during the configuration process. I have a notion of how to fix it... I’m reluctant to add the c...
by dgsga
Sun Apr 18, 2021 12:57 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Good job, thanks for clearing that one up. I don't think there's much more to be done now. I've removed unused CNID backends so Netatalk3 now only uses the default option that gives minimal risk of database corruption (according to the manual). All code in the repo now only serves a purpose for macO...
by dgsga
Sun Apr 18, 2021 7:37 am
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

@mikeboss, can you post how the compilation fails on AppleSilicon if you uninstall gnutls? I'm trying to understand why it's needed as openssl should be all that's needed on the SSL front.
by dgsga
Sat Apr 17, 2021 6:12 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

I now have it running on Apple silicon and intel and I just discovered some very odd behavior: when attaching the AFP share, I can type any random character(s) into the password field and the share gets mounted. the username has to be correct though. this happens on both platforms (Apple silicon an...
by dgsga
Fri Apr 16, 2021 6:08 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

I agree, I solved the clang binary crash by looking at the crash reports in the Console.app. If cnid_metad is crashing it will give you clues in the backtrace. I'm just going to try installing it in 10.14.6 now and will report back. EDIT: Compiled and installed successfully in 10.14.6 using CLT 10.3...
by dgsga
Thu Apr 15, 2021 5:46 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Finally tracked down a buffer overlap that was causing clang-compiled binaries to crash on startup. The code now compiles cleanly with the native macOS clang toolchain and all unnecessary/obsolete/unused code has been removed. Job done... The compiled cnid_metad binary still seems to be dysfunction...
by dgsga
Thu Apr 15, 2021 5:36 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Trying to set this up with ports. Looks like bootstrap can't find db62, and starts looking at db61 instead. Since db61 doesn't exist in MacPorts, I've installed db60 to meet this dependency. However, it appears BDB only creates /usr/include/db.h via ports, and the bootstrap is looking for /usr/incl...
by dgsga
Wed Apr 14, 2021 8:11 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Hmm, not sure what's going on there as it works fine over here. What version of BerkeleyDB are you using?
by dgsga
Mon Apr 12, 2021 6:45 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

Finally tracked down a buffer overlap that was causing clang-compiled binaries to crash on startup. The code now compiles cleanly with the native macOS clang toolchain and all unnecessary/obsolete/unused code has been removed. Job done...
by dgsga
Sat Apr 10, 2021 4:49 pm
Forum: QEMU
Topic: Netatalk for macOS - networking classic and modern Macs
Replies: 104
Views: 47480

Re: Netatalk for macOS - networking classic and modern Macs

I would recommend re-cloning the Netatalk3 repo as significant changes have been made over the last 2 days. To summarise install: brew install automake autoconf libtool libgcrypt berkeley-db openssl gcc docbook docbook-xsl libevent git clone https://github.com/dgsga/Netatalk3.git cd Netatalk3 ./boot...