*** netatalk-1.6.4-r1.ebuild 2004-11-08 22:58:31.457861232 -0600 --- netatalk-1.6.4-r2.ebuild 2004-11-08 22:53:55.158865064 -0600 *************** *** 1,9 **** # 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-1.6.4-r1.ebuild,v 1.5 2004/10/25 12:04:28 klieber Exp $ ! inherit eutils ! IUSE="ssl pam tcpd" DESCRIPTION="kernel level implementation of the AppleTalk Protocol Suite" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" --- 1,9 ---- # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 ! # $Header: $ ! inherit eutils flag-o-matic ! IUSE="ssl pam tcpd slp afs debug cracklib" DESCRIPTION="kernel level implementation of the AppleTalk Protocol Suite" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" *************** *** 11,36 **** SLOT="0" LICENSE="GPL-2" ! KEYWORDS="x86 ppc sparc ppc64" ! DEPEND="sys-apps/shadow pam? ( sys-libs/pam ) ssl? ( dev-libs/openssl ) ! tcpd? ( sys-apps/tcp-wrappers )" src_unpack() { unpack ${A} cd ${S} ! epatch ${FILESDIR}/${PN}-1.6.4-tempfile.patch } src_compile() { - use pam && myconf="${myconf} --with-pam" use tcpd && myconf="${myconf} --with-tcp-wrappers" ! use ssl && myconf="${myconf} --disable-ssl" econf \ --enable-fhs \ --with-shadow \ --with-bdb=/usr \ --- 11,54 ---- 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 ) ! afs? ( net-fs/openafs ) ! cracklib? ( sys-libs/cracklib )" + DEPEND="${RDEPEND} + sys-apps/sed" src_unpack() { unpack ${A} cd ${S} ! epatch ${FILESDIR}/${P}-tempfile.patch ! cp ${FILESDIR}/${P}-atalk ${WORKDIR}/atalk } src_compile() { use tcpd && myconf="${myconf} --with-tcp-wrappers" ! ! if use slp; then ! myconf="${myconf} --enable-srvloc" ! mv ${WORKDIR}/atalk ${WORKDIR}/atalk.orig ! sed -e 's/^\([[:space:]]*use[[:space:][:alnum:]]*\)$/\1 slpd/' ${WORKDIR}/atalk.orig > ${WORKDIR}/atalk ! # epatch ${FILESDIR}/${P}-atalk-slp.patch ! fi ! ! append-ldflags -Wl,-z,now econf \ + $(use_with pam) \ + $(use_enable ssl) \ + $(use_enable afs) \ + $(use_enable debug) \ + $(use_with cracklib) \ --enable-fhs \ --with-shadow \ --with-bdb=/usr \ *************** *** 43,53 **** make DESTDIR=${D} install || die "netatalk make install failed" # install docs ! dodoc CHANGES CONTRIBUTORS COPYING COPYRIGHT ChangeLog dodoc NEWS README TODO VERSION dodoc doc/* # install init script exeinto /etc/init.d ! newexe ${FILESDIR}/atalknew-rc6 atalk } --- 61,72 ---- make DESTDIR=${D} install || die "netatalk make install failed" # install docs ! dodoc CONTRIBUTORS COPYING COPYRIGHT ChangeLog dodoc NEWS README TODO VERSION dodoc doc/* # install init script + dodir etc/init.d exeinto /etc/init.d ! doexe ${WORKDIR}/atalk }