Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427732 - net-fs/netatalk-3.0.0 version bump
Summary: net-fs/netatalk-3.0.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-23 11:56 UTC by Harald Glatt (hachre)
Modified: 2012-09-10 14:27 UTC (History)
3 users (show)

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


Attachments
netatalk-3.0.ebuild (netatalk-3.0.ebuild,2.33 KB, text/plain)
2012-07-28 00:59 UTC, Lukas Elsner
Details
netatalk.init (netatalk.init,390 bytes, text/plain)
2012-07-28 01:00 UTC, Lukas Elsner
Details
patch (netatalk-3.0-ldconfig-fix.patch,759 bytes, text/plain)
2012-07-28 01:00 UTC, Lukas Elsner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Glatt (hachre) 2012-07-23 11:56:04 UTC
Netatalk (http://netatalk.sourceforge.net) 3.0.0 was released with new performance features and depreciation of the atalk module. It also features a new config file style and layout that is incompatible with the previous v2.x versions.

This is the bug for adding netatalk-3.0 to portage.

Reproducible: Always
Comment 1 Lukas Elsner 2012-07-28 00:58:48 UTC
had 3.0_beta installed, but with releasy my ebuild is broken. you can test with luman-overlay
Comment 2 Lukas Elsner 2012-07-28 00:59:46 UTC
Created attachment 319472 [details]
netatalk-3.0.ebuild
Comment 3 Lukas Elsner 2012-07-28 01:00:15 UTC
Created attachment 319474 [details]
netatalk.init
Comment 4 Lukas Elsner 2012-07-28 01:00:51 UTC
Created attachment 319476 [details]
patch
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2012-07-30 06:48:00 UTC
Thanks for your ebuild, but the package needs more work. e.g. appletalk support was removed, the buildsystem doesn't respect the use-bundled-libuevent corectly ...

I will work on it and add an ebuild soonish.
Comment 6 Lukas Elsner 2012-08-29 14:04:16 UTC
any news on this?
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2012-08-29 14:51:58 UTC
(In reply to comment #6)
> any news on this?

yeah, nearly finished (for weeks now, but I was busy in real life). Last thing I need to figure out, is how we can smoothly upgrade the change in the config file. Any idea?
Comment 8 Harald Glatt (hachre) 2012-08-29 15:14:59 UTC
I don't think there is a viable option for automated migration. The best you can do is put out one of those notice messages after the emerge that points out that the configuration syntax has changed completely and the guide on how to get it fixed is here:

http://netatalk.sourceforge.net/3.0/htmldocs/upgrade.html
Comment 9 Harald Glatt (hachre) 2012-08-29 15:20:08 UTC
Also it should be mentioned in that message that an offline dbd conversion is advisable for best performance. 

That would be done by running 'dbd -reC /path/to/Volume' for each volume that is shared.
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2012-08-29 15:21:31 UTC
Lets work out a news item for this. I will try to get a start this evening.
Comment 11 Lukas Elsner 2012-08-29 16:07:55 UTC
i made a few changes to my ebuild today. but i cannot get this installed correctly. can you post your current ebuild?
Comment 12 Lukas Elsner 2012-08-29 16:43:43 UTC
to be more precise, i am stuck in disabling bundled libevent. even if i append '--disable-bundled-libevent' to econf, the bundled libevent will be compiled/installed.

i also have another problem when installing. (dont remember the error message right now).
i can work around it with  'mv "${D}"lib/* "${D}"usr/lib64' at the end of src_install, bit i doint know if this is correct and working.
Comment 13 Justin Lecher (RETIRED) gentoo-dev 2012-08-29 16:51:47 UTC
yeah we need some patching here. I will commit my ebuild later masked so that we can test it.
Comment 14 Lukas Elsner 2012-08-29 18:03:22 UTC
looking forward to it ;)
Comment 15 Lukas Elsner 2012-08-30 16:11:23 UTC
Hmm, i dont see any ebuild :(
Comment 16 Justin Lecher (RETIRED) gentoo-dev 2012-08-31 06:07:54 UTC
Things are busy these days.

My latest version had some problems when I wanted to commit it and I didn't had time to correct them. From Sat afternoon I will have time again and commit it then. promised. ;)
Comment 17 Alex 2012-09-03 07:59:26 UTC
Just installed this from the luman overlay. Had a problem with package collisions with libevent but uninstalled libevent and it installed just fine.

Set up new afp.conf file, amended /etc/init.d/netatalk to point to /sbin/netatalk (from /usr/sbin/netatlk) and restarted.

Working nicely.

Thanks
Comment 18 Alex 2012-09-03 10:56:24 UTC
OK. Spoke too soon. TimeMachine mounted share and backed up ok. Not been able to mount any shares since though.

Getting the following error with 10.8.1

The version of the server you are trying to connect to is not supported. Please contact your system administrator to resolve the problem.

I have uams_dhx2 listed explicitly which solved the above problem with 2.2.3.

Also getting lots of this in the logs

netatalk[30344] {netatalk.c:170} (N:AFPDaemon): Restarting 'cnid_metad' (restarts: 19)
Sep 03 11:54:30.758609 cnid_metad[30372] {usockfd.c:135} (E:CNID): tsockfd_create: no suitable network config localhost:4700

Have deleted all of the .Apple stuff and rebuild the db on all shares...
Comment 19 Lukas Elsner 2012-09-03 12:33:55 UTC
This problem also persists with OSX 10.7.x

I cannot make any tests in the next weeks, because my macbook is traveling around the world for these days...
Comment 20 Justin Lecher (RETIRED) gentoo-dev 2012-09-10 14:27:51 UTC
+*netatalk-3.0 (10 Sep 2012)
+
+  10 Sep 2012; Justin Lecher <jlec@gentoo.org> -netatalk-2.0.5-r1.ebuild,
+  netatalk-2.2.1-r3.ebuild, -netatalk-2.2.2.ebuild, netatalk-2.2.3.ebuild,
+  +netatalk-3.0.ebuild, +files/netatalk-3.0-gentoo.patch, +files/netatalk.init,
+  metadata.xml:
+  Version Bump, #427732; removed old
+