Modify

Opened 4 years ago

Closed 3 years ago

Last modified 2 years ago

#12100 closed enhancement (invalid)

Upgrade netatalk to 3.0

Reported by: usr-sse2 Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: netatalk mdnsresponder Cc:

Description

I've upgraded netatalk to recently announced 3.0 version. Here is the makefile and default config.
But, I don't know why, it's needed to manually copy /usr/lib/libdns_sd.so.1 to /usr/lib/libdns_sd.so, symlink that mdnsresponder creates doesn't work (even dns-sd can't start).

Attachments (3)

netatalk.tar.bz2 (3.3 KB) - added by usr-sse2 4 years ago.
folder for trunk/feeds/packages
Makefile (2.3 KB) - added by arlan.jia@… 4 years ago.
Makefile
Makefile.2 (2.4 KB) - added by usr-sse2 4 years ago.
Makefile for 3.0.1

Download all attachments as: .zip

Change History (15)

Changed 4 years ago by usr-sse2

folder for trunk/feeds/packages

comment:1 Changed 4 years ago by usr-sse2

sorry, forgot to update checksum in Makefile - replace it with 62eb034011bb60b0bfd95072af3693dc

comment:2 follow-up: Changed 4 years ago by marc@…

Will Netatalk-3 make it into 12.09? I hope so, the config is simpler, and it lets OpenWRT act like a native Apple Time Capsule right out of the box. That's a big feature!

comment:3 in reply to: ↑ 2 Changed 4 years ago by usr-sse2

Replying to marc@…:

Will Netatalk-3 make it into 12.09? I hope so, the config is simpler, and it lets OpenWRT act like a native Apple Time Capsule right out of the box. That's a big feature!

marc@..., does it really? I still have to use TMShowUnsupportedVolumes.

comment:4 follow-up: Changed 4 years ago by usr-sse2

P.S.: 3.0 won't, because there is already 3.0.1;) and 12.09 is already released, so I hope it will be somewhen accepted into trunk.

comment:5 in reply to: ↑ 4 Changed 4 years ago by arlan.jia@…

Replying to usr-sse2:

P.S.: 3.0 won't, because there is already 3.0.1;) and 12.09 is already released, so I hope it will be somewhen accepted into trunk.

Build failed by using this Makefile.

Reporting as below:

"Package netatalk is missing dependencies for the following libraries:
libavahi-client.so.3
libavahi-common.so.3"

Changed 4 years ago by arlan.jia@…

Makefile

comment:6 follow-up: Changed 4 years ago by anonymous

I just add a new Makefile for netatalk 3.0.1.

Build successfully, but not verified.

Changed 4 years ago by usr-sse2

Makefile for 3.0.1

comment:7 in reply to: ↑ 6 Changed 4 years ago by usr-sse2

arlan.jia, your build is failed because I added mDNSResponder, not Avahi, as a dependency, but netatalk found avahi and tried to use it.
I also upgraded to 3.0.1 and switched to Avahi, because it was easier to compile (don't remember what error I had with mDNSResponder). Built successfully and verified.

comment:8 Changed 4 years ago by afonso

usr-sse2, I tried your Makefile in Attitude Adjustment 12.09 and trunk branches but got this error:

checking whether to enable Zerconf support... no
configure: error: Zeroconf installation not found
make[3]: * home/parallels/trunk/build_dir/target-i386_uClibc-0.9.33.2/netatalk-3.0.1/.configured_ Error 1
make[3]: Leaving directory `/home/parallels/trunk/feeds/packages/net/netatalk'
make[2]:
* [package/feeds/packages/netatalk/compile] Error 2
make[2]: Leaving directory `/home/parallels/trunk'
make[1]: * home/parallels/trunk/staging_dir/target-i386_uClibc-0.9.33.2/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/parallels/trunk'
make:
* [world] Error 2

If I disable zeroconf, it builds just fine but zerconf is such a nice feature... Do you have any ideas on how to solve this? Thanks.

comment:9 Changed 3 years ago by usr-sse2

afonso, ./scripts/feeds install avahi-daemon, then reselect netatalk in menuconfig - it should select avahi-daemon
Somehow MD5 sum of netatalk-3.0.1 changed, the new is b4f5c932b2ca99f5292bd6b6d69b3ebc

comment:10 Changed 3 years ago by anonymous

Thank you usr-sse2! It took me a few hours but I'm currently backing up my mac. Still one issue i found on logs:

{netatalk_conf.c:195} (W:AFPDaemon): volume "Time Machine" does not support Extended Attributes or read-only volume

However, the volume is mounted with user_xattr.

/dev/sdb on /mnt/TimeMachine type ext4 (rw,sync,relatime,user_xattr,barrier=1,data=ordered)

Any ideas on this?

comment:11 Changed 3 years ago by jogo

  • Resolution set to invalid
  • Status changed from new to closed

Please submit this as a patch to the mailing list according to SubmittingPatches. I'll close this ticket to keep trac mostly for actual bugs.

comment:12 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.