Added Steven Klass' and AD Rutledge's ebuild for 2.0.x series of netatalk.
authorRyan Phillips <rphillips@gentoo.org>
Sun, 12 Dec 2004 06:03:06 +0000 (06:03 +0000)
committerRyan Phillips <rphillips@gentoo.org>
Sun, 12 Dec 2004 06:03:06 +0000 (06:03 +0000)
  Fixes #69526

net-fs/netatalk/ChangeLog
net-fs/netatalk/Manifest
net-fs/netatalk/files/digest-netatalk-2.0.1 [new file with mode: 0644]
net-fs/netatalk/netatalk-2.0.1.ebuild [new file with mode: 0644]

index 653f31b4b0952769e466b25c72c13a5253eadf57..4dd3b9afa5a72f23027687526fb4e4409162e22a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-fs/netatalk
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.20 2004/10/25 12:04:28 klieber Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.21 2004/12/12 06:03:06 rphillips Exp $
+
+*netatalk-2.0.1 (11 Dec 2004)
+
+  11 Dec 2004; <rphillips@gentoo.org> netatalk-2.0.1.ebuild:
+  Added Steven Klass' and AD Rutledge's ebuild for 2.0.x series of netatalk.
+  Fixes #69526
 
   25 Oct 2004; Kurt Lieber <klieber@gentoo.org> netatalk-1.6.4-r1.ebuild:
   x86 bumpage, bug #66370
index 5def2b417f986c277ab77a7284e95facc2a7acdd..ca48badff61a8516a07d16f3cf1e136f3793d68c 100644 (file)
@@ -1,16 +1,18 @@
-MD5 03b5b57a137c1f2b375d973e865f059c ChangeLog 3205
-MD5 ed5f17a8565df72266eae04330832143 netatalk-1.5.3.1-r1.ebuild 1157
-MD5 182737befc5bc6abbd54fe52970963ba netatalk-1.6.2.ebuild 1162
 MD5 d1baa9063bf7f814bdbe65ea15c1e6bf netatalk-1.6.3.ebuild 1162
-MD5 22abbe591c68284850e50221193fd32f metadata.xml 255
-MD5 6f7992bc14acaa917877f8481083db0a netatalk-1.6.4.ebuild 1173
 MD5 ca47349a551627eda830545623fc7818 netatalk-1.6.4-r1.ebuild 1277
-MD5 3f81842125cd168666a7f1a026be463d files/atalk-rc6 2007
+MD5 182737befc5bc6abbd54fe52970963ba netatalk-1.6.2.ebuild 1162
+MD5 d00012c6b38412b839b312e9772a5e0d netatalk-2.0.1.ebuild 2677
+MD5 6f7992bc14acaa917877f8481083db0a netatalk-1.6.4.ebuild 1173
+MD5 ed5f17a8565df72266eae04330832143 netatalk-1.5.3.1-r1.ebuild 1157
+MD5 a6130f53880dce6b4ec24f580b410f1e ChangeLog 3392
+MD5 22abbe591c68284850e50221193fd32f metadata.xml 255
 MD5 cff2c2aa902db847d2e3ec8e34f818fc files/atalk 1297
-MD5 bd4410c61e921e87c00183817b6e29b9 files/atalknew-rc6 1703
+MD5 3f81842125cd168666a7f1a026be463d files/atalk-rc6 2007
+MD5 6dd0a76546b70cf567b7926c0881c9b5 files/digest-netatalk-1.6.4-r1 67
 MD5 a2dcac8839ace55b372a1cfde094bfab files/digest-netatalk-1.5.3.1-r1 68
 MD5 9802f047b3ef9c6a2944bd69a9babd92 files/digest-netatalk-1.6.2 66
 MD5 2be14842a5591dde5f7a615a9e7e16c7 files/digest-netatalk-1.6.3 66
 MD5 6dd0a76546b70cf567b7926c0881c9b5 files/digest-netatalk-1.6.4 67
-MD5 6dd0a76546b70cf567b7926c0881c9b5 files/digest-netatalk-1.6.4-r1 67
+MD5 9b5e18bed7037413bf3b2d808c391b78 files/digest-netatalk-2.0.1 68
 MD5 9eeca2a8610190fcd373ff619d56a298 files/netatalk-1.6.4-tempfile.patch 557
+MD5 bd4410c61e921e87c00183817b6e29b9 files/atalknew-rc6 1703
diff --git a/net-fs/netatalk/files/digest-netatalk-2.0.1 b/net-fs/netatalk/files/digest-netatalk-2.0.1
new file mode 100644 (file)
index 0000000..135ffb0
--- /dev/null
@@ -0,0 +1 @@
+MD5 a0414822f2ba61c91dfaa5649ad3e9e4 netatalk-2.0.1.tar.bz2 1465827
diff --git a/net-fs/netatalk/netatalk-2.0.1.ebuild b/net-fs/netatalk/netatalk-2.0.1.ebuild
new file mode 100644 (file)
index 0000000..d586c11
--- /dev/null
@@ -0,0 +1,86 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-2.0.1.ebuild,v 1.1 2004/12/12 06:03:06 rphillips Exp $
+
+inherit eutils flag-o-matic
+IUSE="ssl pam tcpd slp cups kerberos krb4 afs debug cracklib"
+
+DESCRIPTION="kernel level implementation of the AppleTalk Protocol Suite"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://netatalk.sourceforge.net"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+RDEPEND="sys-apps/shadow
+       pam? ( sys-libs/pam )
+       ssl? ( dev-libs/openssl )
+       tcpd? ( sys-apps/tcp-wrappers )
+       slp? ( net-libs/openslp )
+       cups? ( net-print/cups )
+       afs? ( net-fs/openafs )
+       kerberos? ( virtual/krb5 )
+       krb4? ( virtual/krb5 )
+       cracklib? ( sys-libs/cracklib )"
+
+DEPEND="${RDEPEND}
+       sys-apps/sed"
+
+src_compile() {
+       # Done this way because this configure script uses odd
+       # names for these.
+       # -AD Rutledge
+       !(use tcpd) && myconf="${myconf} --disable-tcp-wrappers"
+       use kerberos && myconf="${myconf} --enable-krbV-uam"
+       use krb4 && myconf="${myconf} --enable-krb4-uam"
+
+       # until someone that understands their config script build
+       # system gets a patch pushed upstream to make
+       # --enable-srvloc passed to configure also add slpd to the
+       # use line on the initscript, we'll need to do it this way
+       # -AD Rutledge
+       if use slp; then
+               myconf="${myconf} --enable-srvloc"
+               sed -i -e 's/^\([[:space:]]*use[[:space:][:alnum:]]*\)$/\1 slpd/' \
+                       ${S}/distrib/initscripts/rc.atalk.gentoo.tmpl
+       fi
+
+       # This is a fix to add -z,now to the linkflags for libraries and 
+       # to stop the braindead makefiles upstream hands us from running
+       # rc-update and causing an access violation
+       sed -i -e 's/^\(@USE_GENTOO_TRUE@[[:space:]]\+-rc-update add atalk default[[:space:]]*\)/#\1/' \
+               ${S}/distrib/initscripts/Makefile.in
+       sed -i -e 's/^\([[:space:]]\+\)\(-D_PATH_AFP.*\)/\1-Wl,-z,now \2/' ${S}/bin/afppasswd/Makefile.in
+
+       econf \
+               $(use_with pam) \
+               $(use_enable afs) \
+               $(use_enable cups) \
+               $(use_enable ssl) \
+               $(use_enable debug) \
+               $(use_with cracklib) \
+               --enable-fhs \
+               --with-shadow \
+               --with-bdb=/usr \
+               --enable-gentoo \
+               ${myconf} || die "netatalk configure failed"
+
+       # This is a fix for the very nasty behavior of running rc-update
+       # in the Makefile.
+       sed -i -e 's/^\([[:space:]\t]*-rc-update add atalk default[[:space:]\t]*\)/#\1/' \
+               ${S}/distrib/initscripts/Makefile
+
+       emake || die "netatalk emake failed"
+}
+
+src_install() {
+       make DESTDIR=${D} install || die "netatalk make install failed"
+
+       # install docs
+       dodoc CONTRIBUTORS
+       dodoc NEWS README TODO VERSION
+
+       # install init script
+       doinitd ${S}/distrib/initscripts/atalk
+}