Hi, Just built the ebuild for Netatalk 2.0.1 since this version is the stable version. It worked for me for x86, and I copied the template from netatalk 1.6.4 ebuild. There were a couple new options and I enabled them. I hope I did this right - I read the docs so it should be ok.
Created attachment 42919 [details] netatalk-2.0.1.ebuild
Created attachment 43403 [details] Further updates to netatalk-2.0.1 ebuild. These updates bring the ebuild into line with DEPEND and RDEPEND both set correctly, as well as refining the method for changing the initscript depending on OpenSLP use to use sed instead of a patch so that it should be less likely to break with future updates.
I think the 2nd ebuild has an incorrect source uri. I changed it to match the first one (.bz2 instead of .gz) and it downloaded correctly for me. Might be attributable to the sourceforge mirrors I have instead. Also I made slp and tcpd optional by putting a ? after them in the DEPEND section.
What's the standard in Gentoo on sourceforge SRC_URIs, use bz2 or gz? As for the slp and tcpd missing ?s, guh, I guess that's what I get for working on it on twenty hours with no sleep. I feel silly for the bugs in it.
Created attachment 43577 [details] Final version of netatalk-2.0.1 ebuild Well, after learning some more about the ebuild system and chasing down the last QA bug, I'd say this one is ready to have a fork stuck in it. Its done.
Created attachment 43636 [details, diff] Updated suggested by Vapier to "final" 2.0.1 ebuild. Changes from final 2.0.1 ebuild: Uses doinitd rather than exeinto/doexe Unified diff rather than context diff Does not install COPYING and COPYRIGHT as those only duplicate the license.
*** Bug 41216 has been marked as a duplicate of this bug. ***
On request by Atma: Change hardware to All and not x86 only.
This one also dies with: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-net-fs_-_netatalk-2.0.1-15672.log" symlink: /etc/runlevels/default/atalk --------------------------------------------------------------------------------
emerge info Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.6 i686) ================================================================= System uname: 2.6.6 i686 Intel(R) Celeron(R) CPU 2.50GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.binarycompass.org ftp://gentoo.ccccom.com http://128.213.5.34/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups doc encode esd f77 fam flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 guile imagemagick imlib jack java jpeg junit kde ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby samba sdl slang snmp spell ssl svga tcltk tcpd tetex tiff truetype unicode x86 xml xml2 xmms xv zlib" Could I have a bad use flag?
Created attachment 43708 [details, diff] Patch with fixes for direct rc-update, virtual/krb5 use, doc install, and coding style fixes This patch fixes, in order from top to bottom (Beyond the original ebuild posted) 1) uses virtual/krb5 instead of apps-crypt/mit-krb5 2) sed patches distrib/initscripts/Makefile.in to fix direct access of rc-update during install, which causes access violations 3) sed patches bin/afppasswd/Makefile.in to link it with -z,now so that the resulting setXid afppasswd does not cause QA Notice 4) does not install docs that are duplicates of the license file 5) finally, uses doinitd instead of exeinto/doexe.
Committed for testing.
In portage since last December, closing stale bug.