Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69526

Summary: Ebuild submission for netatalk-2.0.1
Product: Gentoo Linux Reporter: Steven Klass <sklass>
Component: New packagesAssignee: Network Filesystems <net-fs>
Status: RESOLVED FIXED    
Severity: normal CC: dsm42, ego, jlambert, kevin, patrik, rutledad, sebastian
Priority: High    
Version: 2004.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: netatalk-2.0.1.ebuild
Further updates to netatalk-2.0.1 ebuild.
Final version of netatalk-2.0.1 ebuild
Updated suggested by Vapier to "final" 2.0.1 ebuild.
Patch with fixes for direct rc-update, virtual/krb5 use, doc install, and coding style fixes

Description Steven Klass 2004-10-30 11:35:26 UTC
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.
Comment 1 Steven Klass 2004-10-30 11:37:05 UTC
Created attachment 42919 [details]
netatalk-2.0.1.ebuild
Comment 2 AD Rutledge 2004-11-06 04:14:17 UTC
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.
Comment 3 kevin 2004-11-06 07:04:14 UTC
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.  
Comment 4 AD Rutledge 2004-11-06 07:13:34 UTC
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.
Comment 5 AD Rutledge 2004-11-08 20:56:25 UTC
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.
Comment 6 AD Rutledge 2004-11-09 20:31:32 UTC
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.
Comment 7 Lars Weiler (RETIRED) gentoo-dev 2004-11-10 14:45:20 UTC
*** Bug 41216 has been marked as a duplicate of this bug. ***
Comment 8 Lars Weiler (RETIRED) gentoo-dev 2004-11-10 14:46:14 UTC
On request by Atma: Change hardware to All and not x86 only.
Comment 9 Tom Dickson 2004-11-10 15:36:20 UTC
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
--------------------------------------------------------------------------------
Comment 10 Tom Dickson 2004-11-10 15:40:42 UTC
 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?
Comment 11 AD Rutledge 2004-11-10 23:07:11 UTC
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.
Comment 12 Ryan Phillips (RETIRED) gentoo-dev 2004-12-11 22:03:30 UTC
Committed for testing.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-05-20 16:29:07 UTC
In portage since last December, closing stale bug.