Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133575 - add zeroconf support to net-fs/netatalk
Summary: add zeroconf support to net-fs/netatalk
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on: 300218
Blocks:
  Show dependency tree
 
Reported: 2006-05-17 01:15 UTC by Robin Perkins
Modified: 2010-01-10 23:09 UTC (History)
0 users

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


Attachments
netatalk-2.0.3-afpd-zeroconf.patch (netatalk-2.0.3-afpd-zeroconf.patch,38.26 KB, patch)
2006-05-17 01:52 UTC, Robin Perkins
Details | Diff
netatalk-2.0.3-r3.ebuild (netatalk-2.0.3-r3.ebuild,3.44 KB, text/plain)
2006-05-17 01:58 UTC, Robin Perkins
Details
netatalk-2.0.3-r3.ebuild (netatalk-2.0.3-r3.ebuild,3.44 KB, text/plain)
2006-05-19 00:45 UTC, Robin Perkins
Details
Fixed regression that makes the build break with more modern versions of DB4 (netatalk-2.0.3-r3.ebuild,3.48 KB, text/plain)
2008-01-02 20:07 UTC, Greg Bowyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Perkins 2006-05-17 01:15:38 UTC
A patch for the netatalk-2.0.3-r2 ebuild that adds support for zeroconf ( through avahi, howl and mdnsresponder )
Comment 1 Robin Perkins 2006-05-17 01:52:46 UTC
Created attachment 86910 [details, diff]
netatalk-2.0.3-afpd-zeroconf.patch

(goes in the files folder!)
Comment 2 Robin Perkins 2006-05-17 01:58:27 UTC
Created attachment 86911 [details]
netatalk-2.0.3-r3.ebuild
Comment 3 Robin Perkins 2006-05-17 01:59:35 UTC
Comment on attachment 86910 [details, diff]
netatalk-2.0.3-afpd-zeroconf.patch

Adds zeroconf support to netatalk
Comment 4 Robin Perkins 2006-05-17 02:00:09 UTC
Comment on attachment 86911 [details]
netatalk-2.0.3-r3.ebuild

Adds zeroconf support for netatalk
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-17 05:40:04 UTC
This is a quite intrusive patch, is that applied upstream? I'm quite interested in this, but it might be a bit overweight on maintenance if it's not upstreamed.

If it's applied in upstream CVS I'd rather take a snapshot of it.
Comment 6 Robin Perkins 2006-05-19 00:43:12 UTC
Original patch from which this ebuild / patch is based can be found here:

https://sourceforge.net/tracker/index.php?func=detail&aid=1474791&group_id=8642&atid=308642

Upstream development appears to be fairly slow. Whist I appreciate your reluctance to apply this patch we might be waiting a while. (6 months since the last checkin).
Comment 7 Robin Perkins 2006-05-19 00:45:53 UTC
Created attachment 87045 [details]
netatalk-2.0.3-r3.ebuild

Fixes an issue with the init file (now ensures that the respective zeroconf daemon is running).
Comment 8 Patrik Osgnach 2006-09-09 03:02:18 UTC
hi
can't compile on my amd64. the error is
cnid_index.c: In function 'dbif_count':
cnid_index.c:277: warning: passing argument 2 of 'db->stat' from incompatible pointer type
cnid_index.c:277: error: too few arguments to function 'db->stat'
make[3]: *** [cnid_index.o] Error 1
Comment 9 Greg Bowyer 2008-01-02 20:07:26 UTC
Created attachment 139907 [details]
Fixed regression that makes the build break with more modern versions of DB4

Looks like the previous ebuild script had a regression which causes the build to fail when a more modern version of db is used.

This should fix the regression ..
Comment 10 Hans Rakers 2008-09-17 17:24:37 UTC
The patch netatalk-2.0.3-afpd-zeroconf.patch is faulty.

afp_zeroconf.h:40:8: warning: extra tokens at end of #endif directive

caused by uncommented stuff after the #endif

afp_bonjour.c: In function 'bo_zeroconf_setup':
afp_bonjour.c:45: error: expected expression before ',' token

caused by a double comma (probably a typo) at line 45 of afp_bonjour.c

afp_bonjour.o: In function `bo_zeroconf_unregister':
afp_bonjour.c:(.text+0x23): undefined reference to `DNSServiceRefDeallocate'
afp_bonjour.o: In function `bo_zeroconf_run':
afp_bonjour.c:(.text+0x88): undefined reference to `DNSServiceRefSockFD'
afp_bonjour.c:(.text+0xbc): undefined reference to `DNSServiceProcessResult'
afp_bonjour.o: In function `bo_zeroconf_setup':
afp_bonjour.c:(.text+0x1a1): undefined reference to `DNSServiceRegister'
collect2: ld returned 1 exit status
make[3]: *** [afpd] Error 1

After this i stopped bothering with it.
Comment 11 SpanKY gentoo-dev 2010-01-10 23:09:16 UTC
upstream has issues with the patch, and it needs updating to netatalk-2.0.5 ...