Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353177 - net-fs/netatalk-2.2.0: version bump
Summary: net-fs/netatalk-2.2.0: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement with 4 votes (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-29 22:53 UTC by Timothy Miller
Modified: 2011-09-03 12:26 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for _PATH_AFP_IPC error (netatalk-2.2.0-ipc-path.patch,547 bytes, patch)
2011-08-14 00:40 UTC, John Flatness
Details | Diff
ebuild (uses ipc-path.patch) (netatalk-2.2.0.ebuild,2.78 KB, text/plain)
2011-08-14 00:41 UTC, John Flatness
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Miller 2011-01-29 22:53:25 UTC
I've encountered some bugs in netatalk, which the devs explicitly refuse to look into because I'm not a "paying corporate customer".  However, I wouldn't be surprised if things were slightly better in the latest pre-release.  I'd like to try out the 2.2 pre-release, but I don't know how to do things like write my own init scripts.  I thought about installing 2.1.5, compiling my own 2.2, and copying the binaries in place, but there seems to be some fundamental change to the way they handle some database.  It would be better if there were a clean portage install.  And Gentoo devs are no strangers to adding unstable packages to unstable Gentoo.  I'm sure you're going to want to mask it so that people like me can unmask it explicitly.

Thanks!

Reproducible: Always
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2011-05-21 02:05:06 UTC
I tend to run into some funky bugs as well, and wouldn't mind an updated version.
Comment 2 Timothy Miller 2011-07-29 00:14:46 UTC
There will be a non-beta release of Netatalk 2.2 soon.
Comment 3 Timothy Miller 2011-07-29 00:18:07 UTC
Actually, I think Netatalk 2.2.0 is officially released.  Please update!
Comment 4 Ralph Seichter 2011-07-29 20:37:06 UTC
I'd be happy to be able to test Netatalk 2.2.0 for Gentoo.
Comment 5 Robin Kauffman 2011-08-02 03:14:48 UTC
I am strongly interested in this version as 2.2 (with AFP 3.3) is required for Lion.
Comment 6 Timothy Miller 2011-08-02 12:17:56 UTC
Mike Frysinger was kind enough to do the last couple of version bumps.  Maybe we can give him a polite nudge to see if he's available.  His email address is at the top of the ChangeLog for net-fs/netatalk.
Comment 7 Ralph Seichter 2011-08-07 20:49:52 UTC
Mike Frysinger has sent me an email, telling me to "please open a bug with requests/enhancements". I thought that this bug here -- number 353177 -- was created to cause an update to version 2.2.0?
Comment 8 Timothy Miller 2011-08-07 22:16:43 UTC
That's how I meant it... as a request for a version bump.
Comment 9 Ralph Seichter 2011-08-08 08:37:32 UTC
Then what would be the point in me filing yet another enhancement request to achieve the same thing? My request would be tagged as a duplicate, wouldn't it?
Comment 10 Timothy Miller 2011-08-08 15:36:50 UTC
I agree.  There may simply be a miscommunication here.  The only reason you might file a duplicate would be to bring this issue to the attention of someone who gets alerted to new bugs but who is not in the CC list of this one.
Comment 11 SchAmane 2011-08-09 08:42:02 UTC
2.2 version is realy important for lion users...
Comment 12 Ralph Seichter 2011-08-09 10:58:14 UTC
I compiled Netatalk 2.2.0 from the official sources and Lion's Time Machine happily stores its backups in the shared directories. An official Gentoo port would still be nice, however.
Comment 13 Chris O'Brien 2011-08-09 15:16:44 UTC
(In reply to comment #11)
> 2.2 version is realy important for lion users...

This is true, but it is a show stopper for people who are looking to upgrade.  I would like to see the new version in portage as well.
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-10 17:30:24 UTC
I would look into it but vapier told me not to touch his stuff.
Comment 15 Ralph Seichter 2011-08-10 17:41:34 UTC
Mike told me that he is not doing any actual work on Netatalk himself but is proxying someone for it. I wish that someone could be told about the great interest in an update. :-/
Comment 16 SpanKY gentoo-dev 2011-08-11 02:41:23 UTC
(In reply to comment #14)

dont be such a drama queen.  i merely said ask for approval on proposed commits.  it's really not that hard.

(In reply to comment #15)

i lied.  i was thinking of autofs.  there's no one maintaining this.  Steve Dibb indicated that he was interested in getting this done though, so i'll leave it up to him.
Comment 17 Ralph Seichter 2011-08-11 17:02:31 UTC
As the original Netatalk 2.2.0 sources compiled without problems here, I think that the Gentoo port should not cause too much work. Go Steve! ;-)
Comment 18 Steve Dibb (RETIRED) gentoo-dev 2011-08-11 21:57:44 UTC
(In reply to comment #17)
> As the original Netatalk 2.2.0 sources compiled without problems here, I think
> that the Gentoo port should not cause too much work. Go Steve! ;-)

I can get the sources compiled fine, but it dies on an ebuild for some reason, for me.  I need to post details.
Comment 19 John Flatness 2011-08-14 00:40:11 UTC
Created attachment 283249 [details, diff]
patch for _PATH_AFP_IPC error

Building with a naively-updated ebuild results in an error "‘_PATH_AFP_IPC’ undeclared".

The attached patch is identical to the upstream fix: http://netatalk.git.sourceforge.net/git/gitweb.cgi?p=netatalk/netatalk;a=commitdiff;h=13ded7f9e298f706b30671e876a1482c8123b499#patch1
Comment 20 John Flatness 2011-08-14 00:41:04 UTC
Created attachment 283251 [details]
ebuild (uses ipc-path.patch)
Comment 21 Timothy Miller 2011-08-14 01:52:02 UTC
With Netatalk upgrades, a lot of things seem to change, such as database formats.  I'm sure that with AFP 3.3, a lot of things have changed.  Please be sure that when the upgrade is made that instructions are provided that explain what old database files to delete and other migration-related stuff.  Maybe some comments on the various components and how they need to be migrated and set up to run as well.  I'm sure that migration to 2.2 isn't well-documented anywhere, so perhaps a wiki page would be in order?

Thanks for all the good work!
Comment 22 hal 2011-08-25 16:02:24 UTC
netatalk-2.2.0 builds fine on my system without the patch.

We should add ">=dev-libs/libgcrypt-1.4.6" to the RDEPEND list. Without it OS X Lion users will not be able to connect to their shares.

"Optional third party software

    OpenSSL and/or Libgcrypt (recommended)

    Required for encrypted passwords. Without it, the password will be sent over the network in clear text. OpenSSL is needed for the older DHCAST128, Libgcrypt is needed for DHX2."

source: http://netatalk.sourceforge.net/2.2/htmldocs/installation.html#id1270928

I figured this out while setting up a second server machine. On my first server netatalk-2.1.5 is installed and I managed to fix the "Lion Issue" by adjusting afpd.conf (like mentioned in the www often).

On my new server I wasn't able to reproduce the fix and recognized missing *.so files but hadn't a clue why they were missing. Therefore I tried to switch to 2.2.0 but couldn't get it up & running, too. 

Well, RTFM. I found out dev-libs/libgcrypt wasn't installed on my new server, while it was on my old one. So basically it was just luck, that 2.1.5 works with Lion on my old box, because some other packages pulled in dev-libs/libgcrypt as a dependency.
Comment 23 John Flatness 2011-08-25 16:17:58 UTC
2.20 also newly has the option to build against Avahi, to automatically advertise AFP volumes. This is mentioned in the same section as the link from comment #22.

This would seem to necessitate adding a "zeroconf" USE flag for netatalk-2.2.0.
Comment 24 hal 2011-08-25 19:05:54 UTC
according to ./configure --help:

"--enable-zeroconf[=DIR]   enable Zeroconf support [auto]"

To me this sounds like configure checks automatically whether avahi is installed already or not. I don't know what Gentoo's policy is in that case in regards to dedicated useflags.
Comment 25 Steve Dibb (RETIRED) gentoo-dev 2011-09-02 16:30:40 UTC
(In reply to comment #23)
> 2.20 also newly has the option to build against Avahi, to automatically
> advertise AFP volumes. This is mentioned in the same section as the link from
> comment #22.
> 
> This would seem to necessitate adding a "zeroconf" USE flag for netatalk-2.2.0.

I think I'll just go with an avahi use flag, since it still needs that program to build against.
Comment 26 Steve Dibb (RETIRED) gentoo-dev 2011-09-02 17:12:20 UTC
Added netatalk-2.2.0 ebuild to the tree.

Rename init script from atalk to netatalk; Restrict test; Add avahi use flag; Add GPL-2 as license
Comment 27 Ralph Seichter 2011-09-03 12:26:36 UTC
Thanks a lot, Steve!