Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.4] srvloc gone with meson build system of netatalk2? #1140

Closed
VorpalBlade opened this issue Jun 24, 2024 · 5 comments
Closed

[2.4] srvloc gone with meson build system of netatalk2? #1140

VorpalBlade opened this issue Jun 24, 2024 · 5 comments
Assignees
Milestone

Comments

@VorpalBlade
Copy link

Describe the bug
I was looking at updating the AUR package to netatalk 2.4.0, and noticed that there is a new meson build system. I currently configure the AUR package to use srvloc as that is the only way I found being able to do service discovery with early OS X and late OS 9 (and I have computers from that era). As far as I know zeroconf and srvloc are mutually exclusive (unfortunately). With meson I can't find the option to enable srvloc. Have you forgot to port that over?

To Reproduce
Look through meson_options.txt trying to figure out how to migrate to the new build system.

Expected behavior
srvloc support should not be dropped

Environment

  • Server OS: Arch Linux
  • Client OS: Mac OS 9.2 and Mac OS X 10.2 (first generation clamshell iBook)
  • Netatalk Version 2.4.0

Logs
Attach syslogs from the malfunctioning process, maxdebug log level

Additional context
If it is a crash, please attach a stacktrace.

@rdmark
Copy link
Member

rdmark commented Jun 25, 2024

Right, I completely forgot about SLP. It should be possible to add support, I think.

Thanks for taking a closer look at the new build system. Please report any other shortcomings you come across. :)

@rdmark rdmark changed the title srvloc gone with meson build system of netatalk2? [2.4] srvloc gone with meson build system of netatalk2? Jun 25, 2024
@rdmark rdmark added this to the release-2.4 milestone Jun 25, 2024
@dgsga dgsga self-assigned this Jun 25, 2024
@dgsga
Copy link
Contributor

dgsga commented Jun 25, 2024

Working on it...

@dgsga
Copy link
Contributor

dgsga commented Jun 25, 2024

@VorpalBlade Please can you checkout the dgsga-srvloc branch and see if this addresses your issue?

Meson now automatically enables SLP (srvloc) support if the slp library is found along with the slp.h header (which is exactly what the autotools macro did). The configuration summary will show if SLP support is enabled or not. You can disable it with the -Dwith-srvloc=false option at configure time.

If you have (Open)SLP installed in an unconventional location you can point to it using the -Dwith-srvloc-path option (the directory pointed to must include lib and include dirs).

@VorpalBlade
Copy link
Author

@dgsga I will look at it this weekend, unfortunately I will likely not have time before that. You are way more quick to respond than I am.

@rdmark
Copy link
Member

rdmark commented Jun 29, 2024

@VorpalBlade FYI the fix has been merged to branch-netatalk-2-4. I am working on a 2.4.1 release now which is time sensitive because of a CVE security patch.

If something doesn't work properly in your testing, we can always do additional fixing and a fast-follow 2.4.x release!

@rdmark rdmark closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants