Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6619 closed enhancement (fixed)

package netatalk updated to 2.0.5

Reported by: jake1981 <oskari.rauta@…> Owned by: developers
Priority: high Milestone: Backfire 10.03.1
Component: packages Version: Trunk
Keywords: netatalk Cc:

Description

previous packaged netatalk was incomplete - package was only holding main executable but lacked for example: authentication support - so file shares weren't able to be logged into, not even as guest.. And then there was some other problems aswell; Even after I had installed missing files and configured it properly, opening share failed. Good thing in 2.0.5 also is that TimeMachine should now be supported..

So - it was about time to get netatalk updated as previous version was completely useless. Unfortunately, with new version, there are some small changes, for example, appletalk support now isn't anymore in the software; it's in the kernel. Ofcourse this wasn't originally supported in openwrt - so I enabled this feature. There's a svn diff available here: https://dev.openwrt.org/ticket/6618 that enables kmod-atalk option in menuconfig (it also enables ixp4xx-beeper for ixp4xx platforms).

I also made init scripts and it also is equipped with configuration example to get started on something. Provided svn diff is made from trunk/feeds/packages to ease including it to the main package tree.

Someone here had requested this before also but his request was marked invalid.

Attachments (8)

netatalk.diff (32.4 KB) - added by jake1981 <oskari.rauta@…> 7 years ago.
netatalk 2.0.5 svn diff
netatalk-2.diff (32.5 KB) - added by jake1981 <oskari.rauta@…> 7 years ago.
fixed svn diff. Replaces previously submitted.
netatalk-3.diff (32.6 KB) - added by jake1981 <oskari.rauta@…> 7 years ago.
forgot to make directory /usr/sbin instead of /usr/bin - fixed in this diff. Replaces ones sent before.
netatalk-4.diff (32.5 KB) - added by jake1981 <oskari.rauta@…> 7 years ago.
Since 2.0 of netatalk, only syslogging is enabled. So I removed logging setup from config - since it doesn't do anything.
netatalk.patch (6.3 KB) - added by jake1981 <oskari.rauta@…> 7 years ago.
Patch that downgrades from 2.1beta to 2.0.5 and fixes kernel module dependancy list.
netatalk.2.patch (886 bytes) - added by jake1981 <oskari.rauta@…> 7 years ago.
this patch removes kmod-appletalk dependancy and changes description of package.
netatalk.3.patch (950 bytes) - added by jake1981 <oskari.rauta@…> 7 years ago.
This patch replaces previous patch. I made a change to description.
netatalk.4.patch (1.5 KB) - added by jake1981 <oskari.rauta@…> 7 years ago.
fixes: removes kmod-appletalk dependancy, description change, correct paths to init script and makes init script executable.

Download all attachments as: .zip

Change History (23)

Changed 7 years ago by jake1981 <oskari.rauta@…>

netatalk 2.0.5 svn diff

Changed 7 years ago by jake1981 <oskari.rauta@…>

fixed svn diff. Replaces previously submitted.

comment:1 Changed 7 years ago by jake1981 <oskari.rauta@…>

netatalk failed because it didn't start cnid_metad - this is now fixed. Also cnid_metad and cnid_dbd were installed incorrectly to /usr/bin and this caused a failure since executables are hardcoded to be existing in /usr/sbin. Binaries were moved from /usr/bin to /usr/sbin.

I have been able to login as guest and as a user with password - files and folders are visible. Works great :)

Changed 7 years ago by jake1981 <oskari.rauta@…>

forgot to make directory /usr/sbin instead of /usr/bin - fixed in this diff. Replaces ones sent before.

comment:2 Changed 7 years ago by jake1981 <oskari.rauta@…>

Accidentally I forgot to update in Makefile that it should make /usr/sbin instead of /usr/bin and this caused error during
compilation - this is fixed in netatalk-3.diff which replaces all earlierly sent diffs.

Changed 7 years ago by jake1981 <oskari.rauta@…>

Since 2.0 of netatalk, only syslogging is enabled. So I removed logging setup from config - since it doesn't do anything.

comment:3 Changed 7 years ago by jake1981 <oskari.rauta@…>

netatalk fills syslog very quickly with.. garbage :)

There should be a way to disable logging.. Well there ain't. Maybe I'll patch it later on.

comment:4 Changed 7 years ago by jake1981 <oskari.rauta@…>

This should be committed now - appletalk that it's dependant on has been committed in

https://dev.openwrt.org/changeset/19497

comment:5 Changed 7 years ago by jake1981 <oskari.rauta@…>

Sorry - was supposed to be a link: https://dev.openwrt.org/changeset/19497

comment:6 Changed 7 years ago by bman@…

Correct kernel module depency is +kmod-appletalk. But your patch lists +kmod-atalk. Thank you for fixed netatalk!

comment:7 Changed 7 years ago by florian

Is this still valid after r19776?

comment:8 Changed 7 years ago by florian

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

comment:9 Changed 7 years ago by jake1981 <oskari.rauta@…>

  • Resolution obsolete deleted
  • Status changed from closed to reopened

2.1beta did not work. Here's a new patch that downgrades from 2.1beta to 2.0.5 - this patch also has correct kernel module dependancies..

This is tested, file writing works, file reading works, browsing files and shares works, time-machine works, security with password protected shares works, uid support works. Just logs too much I think(every action isn't necessary to be in syslog), but hey, so did 2.1beta..

Changed 7 years ago by jake1981 <oskari.rauta@…>

Patch that downgrades from 2.1beta to 2.0.5 and fixes kernel module dependancy list.

comment:10 Changed 7 years ago by florian

  • Resolution set to fixed
  • Status changed from reopened to closed

Applied in r20546, thanks!

comment:11 Changed 7 years ago by jake1981 <oskari.rauta@…>

  • Resolution fixed deleted
  • Status changed from closed to reopened

kmod-appletalk is needed if user needs atalkd/papd - afpd can be arranged without, so I made once again a new
patch that removes kmod-appletalk dependancy and added suggestion to install kmod-appletalk into description in case user needs more than just afpd.

Changed 7 years ago by jake1981 <oskari.rauta@…>

this patch removes kmod-appletalk dependancy and changes description of package.

Changed 7 years ago by jake1981 <oskari.rauta@…>

This patch replaces previous patch. I made a change to description.

comment:12 Changed 7 years ago by jake1981 <oskari.rauta@…>

Please, skip netatalk.2.patch and use netatalk.3.patch - It does the same thing, but netatalk.3.patch has description that suites better.

comment:13 Changed 7 years ago by jake1981 <oskari.rauta@…>

There was a problem with init script, it was looking for binaries in /usr/bin when they exist in /usr/sbin - also init script never started because it wasn't executable. Fixed by netatalk.4.patch which replaces both netatalk.2.patch and netatalk.3.patch.

Changed 7 years ago by jake1981 <oskari.rauta@…>

fixes: removes kmod-appletalk dependancy, description change, correct paths to init script and makes init script executable.

comment:14 Changed 7 years ago by florian

  • Resolution set to fixed
  • Status changed from reopened to closed

Applied in r20779 with some minor comestic changes of my own ;)

comment:15 Changed 7 years ago by nico

  • Milestone changed from Kamikaze to Backfire 10.03.1

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.