ChangeLog

# ChangeLog for net-fs/netatalk
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.48 2006/11/21 12:25:32 flameeyes Exp $

21 Nov 2006; Diego Pettenò metadata.xml:
Give this back to net-fs herd.

30 Oct 2006; Diego Pettenò
netatalk-2.0.3-r2.ebuild:
Fix missing DEPEND variable, thanks to Patrick Lauer in bug #153371.

*netatalk-2.0.3-r3 (23 Sep 2006)

23 Sep 2006; Diego Pettenò
+files/netatalk-2.0.3-xfs.patch, netatalk-2.0.3-r2.ebuild,
+netatalk-2.0.3-r3.ebuild:
Require latest autotools, fix quoting of ${S} and ${D}, add patch to provide
a --without-xfs switch; disable xfs for the stable version, add an xfs
useflag and depend on xfsprogs and an old copy of linux-headers for the new
version (see bug #148438). Dropped sh keyword because of missing xfsprogs.

20 May 2006; Diego Pettenò
netatalk-2.0.3-r2.ebuild:
Add ~x86-fbsd keyword.

20 May 2006; Diego Pettenò
+files/netatalk-2.0.3-newerdb.patch, netatalk-2.0.3-r2.ebuild:
Fix db detection with 4.3 and 4.4 versions.

19 May 2006; Diego Pettenò
+files/netatalk-2.0.3-db43.patch, netatalk-2.0.3-r2.ebuild:
Add patch to build with sys-libs/db-4.3.

31 Dec 2005; Diego Pettenò
-files/netatalk-1.6.4-tempfile.patch, -netatalk-1.6.4-r1.ebuild,
-netatalk-2.0.3.ebuild, netatalk-2.0.3-r2.ebuild:
Remove old 1.6.4 and 2.0.3 versions, fix setXid handling, it's bindnow-flags
not bindnow_flags.

31 Dec 2005; Simon Stelling netatalk-2.0.3-r2.ebuild:
stable on amd64

24 Dec 2005; Michael Hanselmann
netatalk-2.0.3-r2.ebuild:
Stable on ppc.

20 Dec 2005; Gustavo Zacarias
netatalk-2.0.3-r2.ebuild:
Stable on sparc wrt #110406

18 Dec 2005; Markus Rothe netatalk-2.0.3-r2.ebuild:
Stable on ppc64

13 Dec 2005; Joshua Jackson netatalk-2.0.3-r2.ebuild:
Stable on x86; bug #110406

*netatalk-2.0.3-r2 (13 Dec 2005)

13 Dec 2005; Diego Pettenò
-netatalk-2.0.3-r1.ebuild, +netatalk-2.0.3-r2.ebuild:
Add new revision that moves away /usr/include/netatalk directory to avoid
collisions with glibc and freebsd's libc.

21 Nov 2005; MATSUU Takuto netatalk-2.0.3.ebuild:
Stable on sh. Bug 110406.

20 Nov 2005; Joseph Jezak netatalk-2.0.3.ebuild:
Marked ppc stable for bug #110406.

30 Oct 2005; Luis Medinas netatalk-2.0.3.ebuild:
Marked Stable on amd64. Bug #110406.

25 Oct 2005; Brent Baude netatalk-2.0.3.ebuild:
marking netatalk-2.0.3 ppc64 stable per bug request 110406

*netatalk-2.0.3-r1 (25 Oct 2005)

25 Oct 2005; Diego Pettenò
+files/netatalk-2.0.3-setXid.patch, +netatalk-2.0.3-r1.ebuild:
Moved here patch from Gentoo/ALT overlay to get the right bindnow flags for
the current used linker.

25 Oct 2005; Diego Pettenò ChangeLog:
Fix my name on the changelog.

04 Oct 2005; MATSUU Takuto netatalk-1.6.4-r1.ebuild:
Stable on sh.

28 Jul 2005; Diego Pettenò netatalk-2.0.3.ebuild:
Disable openafs support for now.

09 Jul 2005; Jason Wever netatalk-2.0.3.ebuild:
Added ~sparc keyword wrt bug #97586.

09 Jul 2005; Diego Pettenò -files/atalk,
-files/atalk-rc6, -netatalk-1.5.3.1-r1.ebuild, -netatalk-1.6.2.ebuild,
-netatalk-1.6.3.ebuild, -netatalk-1.6.4.ebuild, -netatalk-2.0.1.ebuild:
Removed old 1.x series and 2.0.1 which is bugged. Left netatalk-1.6.4-r1
(current stable) and 2.0.3.

07 Jul 2005; Markus Rothe netatalk-2.0.3.ebuild:
added ~ppc64

01 Jul 2005; Diego Pettenò netatalk-2.0.3.ebuild:
Added flags to search in special installation prefix for openafs.

*netatalk-2.0.3 (30 Jun 2005)

30 Jun 2005; Diego Pettenò metadata.xml,
netatalk-1.5.3.1-r1.ebuild, netatalk-1.6.2.ebuild, netatalk-1.6.3.ebuild,
netatalk-1.6.4.ebuild, netatalk-1.6.4-r1.ebuild, netatalk-2.0.1.ebuild,
+netatalk-2.0.3.ebuild:
I'll take care of netatalk from now on.
Added ~amd64 keyword.
Ebuild cleanup and Gentoo/FreeBSD compatibility.
Fixed LICENSE to BSD to all versions (was incorrectly declared as GPL-2).
Use a system-auth-like pamd file.

12 Dec 2004; netatalk-2.0.1.ebuild:
fixed invalid USE variable. includes cracklib by default now and pulls in the
dependency

*netatalk-2.0.1 (11 Dec 2004)

11 Dec 2004; 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 netatalk-1.6.4-r1.ebuild:
x86 bumpage, bug #66370

09 Oct 2004; Tom Gall netatalk-1.6.4-r1.ebuild:
stable on ppc64, bug #66370

09 Oct 2004; Jason Wever netatalk-1.6.4-r1.ebuild:
Stable on sparc wrt security bug #66370.

*netatalk-1.6.4-r1 (09 Oct 2004)

09 Oct 2004; +files/netatalk-1.6.4-tempfile.patch,
+netatalk-1.6.4-r1.ebuild:
security bump. Insecure tempfile handling bug 66370

28 Jun 2004; Tom Gall netatalk-1.6.4.ebuild:
stable ppc64, bug #54188

10 Apr 2004; Ciaran McCreesh netatalk-1.6.4.ebuild:
Added ~sparc, thanks to Belinus in #gentoo-sparc

05 Jan 2004; zhen metadata.xml:
changing herd to net-fs

*netatalk-1.6.4 (17 Dec 2003)

17 Dec 2003; zhen netatalk-1.6.4.ebuild:
bumped to stable - no new bugs after a week

09 Dec 2003; zhen metadata.xml:
version bump, added metadata

21 Aug 2003; Robin H. Johnson netatalk-1.6.2.ebuild,
netatalk-1.6.3.ebuild:
sys-libs/db fixes for netatalk-1.6*, allows them to build with db>3

*netatalk-1.6.3 (06 Jul 2003)

06 Jul 2003; Martin Holzer netatalk-1.6.3.ebuild:
Version bumped.

*netatalk-1.6.2 (01 Jul 2003)

01 Jul 2003; Martin Holzer netatalk-1.6.2.ebuild,
files/atalknew-rc6:
Version bumped. Closes #13561.

24 Jun 2003; Paul de Vrieze netatalk-1.5.3.1-r1.ebuild:
Netatalk actually does not depend on sys-libs/db at all, only when some
aditional configuration options are used, which are not provided by the ebuild

*netatalk-1.5.3.1-r1 (06 Apr 2003)

06 Apr 2003; Martin Holzer netatalk-1.5.3.1-r1.ebuild:
Added docs.

*netatalk-1.5.3.1 (26 Jun 2002)

24 Jul 2002; Mark Guertin :
Added ppc to keywords

26 Jun 2002; Seemant Kulleen netatalk-1.5.3.1.ebuild
files/digest-netatalk-1.5.3.1 :

Version bump.

*netatalk-1.5.2 (26 Feb 2002)

26 Feb 2002; Chris Houser : files/atalk-rc6
files/digest-netatalk-1.5.2 ChangeLog netatalk-1.5.2.ebuild :

- Fixed a typo in HOMEPAGE, other general cleanup.
- Switch to .tar.gz (the .tar.bz2 isn't available for 1.5.2)
- Turned on shadow password support
- Updated init.d script
- This addresses bug 762

*netatalk-1.5_pre6 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

1 Jul 2001; Achim Gottinger :

*** empty log message ***

Manifest

AUX netatalk-2.0.3-db43.patch 1224 RMD160 ee8d1e0f3a5abc07f28d26d266fdb55f791bee91 SHA1 0c7278172da52c48a4f85d4ef8307b50c194f99f SHA256 1b731d6b89beb704a4787a9ec4f6c32e1bec7e39904f3c6edb6100d62659c879
AUX netatalk-2.0.3-newerdb.patch 1183 RMD160 2ae908649d8fa44c436ab8725b57b7d481baf6f1 SHA1 e7e94bf36285c1839bb2e4bc6c2fca527ab8843d SHA256 ca4b6de8f536ac715e4afd15e06dc57155e443a3033383d61762545b93d4a83c
AUX netatalk-2.0.3-setXid.patch 545 RMD160 2494b98895e2ea7a685959efce1f45534ee096e1 SHA1 6e86c7d4e80eefecbab548dadcc60b8775ee1960 SHA256 9a148e2e1d8fcb86e3a01ac2172e3e369c6b5081bd6f551296820f463d946e7c
AUX netatalk-2.0.3-xfs.patch 774 RMD160 167f548f97666755fd428467fbee564ad99d26e5 SHA1 ead0b7cb2e0e623cdcb9656cc407fe6a10967e3e SHA256 dfb181612425dfda8f3b94f4a9f6705cd27be3a65a313f5c39d64dc9bdb391d4
DIST netatalk-2.0.3.tar.bz2 1471804 RMD160 29b763400a45797ac4a8e499d5328aa91a091c91 SHA1 ce2d5dd123467ccae72fc62ca4ee3738019455f2 SHA256 25e004732f471de0dd9a21ab129ee799da018fce3b313d4ab5e6f52e6e9e3998
EBUILD netatalk-2.0.3-r2.ebuild 3041 RMD160 9123eced06a508a07d0d4f869ba0709b00c1269e SHA1 cb390da585ad7e9188e58ef223d4751acb17ef98 SHA256 10243341602d49883bf42c45a41e089c023703fb3b14af59bb5c5a347876cbfb
EBUILD netatalk-2.0.3-r3.ebuild 3110 RMD160 036d5465f7d9857d9ea9a0784333f4add81174e3 SHA1 fcecf2f7cb77381b84b9f3216dcaaf95ba9e203d SHA256 3dc03b7ccfe72abeead7e18f79b48f93871691036c8e5c857a027d2a9e463835
MISC ChangeLog 7941 RMD160 06ba4e35cdaf13890014dd1a56c8d96797121993 SHA1 ec399bf7e17676d0b972fbbb7a0c1dd6c8eadd74 SHA256 35cc5c4601246e35c737c8ccc76b4444a622319d22c8b602e12560ccef5fd251
MISC metadata.xml 254 RMD160 24194ae62f75dd370ce1893d07f942da409d73c9 SHA1 65e101f6fb99ea36d0e4a0f89819f3180658cc27 SHA256 70f6a177abb8e64fa0417356c7e2323884deaaede2f41783f64b35e69fff01c5

files

metadata.xml




net-fs
kernel level implementation of the AppleTalk protocol suite

netatalk-2.0.3-r2.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-2.0.3-r2.ebuild,v 1.13 2006/10/30 11:20:08 flameeyes Exp $

WANT_AUTOMAKE=latest
WANT_AUTOCONF=latest

inherit eutils pam flag-o-matic autotools
IUSE="ssl pam tcpd slp cups kerberos krb4 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="BSD"
KEYWORDS="amd64 ppc ppc64 sh sparc x86 ~x86-fbsd"

RDEPEND=">=sys-libs/db-4.2.52
cracklib? ( sys-libs/cracklib )
pam? ( virtual/pam )
ssl? ( dev-libs/openssl )
tcpd? ( sys-apps/tcp-wrappers )
slp? ( net-libs/openslp )
cups? ( net-print/cups )
kerberos? ( virtual/krb5 )
krb4? ( virtual/krb5 )"
DEPEND="${RDEPEND}"

src_unpack() {
unpack ${A}
cd "${S}"

# 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
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

epatch "${FILESDIR}/${P}-setXid.patch"
epatch "${FILESDIR}/${P}-db43.patch"
epatch "${FILESDIR}/${P}-newerdb.patch"
epatch "${FILESDIR}/${P}-xfs.patch"
AT_M4DIR="macros" eautoreconf
}

src_compile() {
# Ignore --enable-gentoo, we install the init.d by hand and we avoid having to
# sed the Makefiles to not do rc-update.
econf \
$(use_with pam) \
$(use_enable cups) \
$(use_enable ssl) \
$(use_enable debug) \
$(use_enable tcpd tcp-wrappers) \
$(use_enable kerberos krbV-uam) \
$(use_enable krb4 krb4-uam) \
$(use_enable slp srvloc) \
$(use_with cracklib) \
$(use_with elibc_glibc shadow) \
--without-xfs \
--disable-afs \
--enable-fhs \
--with-bdb=/usr \
${myconf} || die "netatalk configure failed"

sed -i -e "s:@BINDNOW_FLAGS@:$(bindnow-flags):" bin/afppasswd/Makefile

emake || die "netatalk emake failed"

# Create the init script manually (it's more messy to --enable-gentoo)
cd "${S}"/distrib/initscripts
emake rc.atalk.gentoo
}

src_install() {
make DESTDIR="${D}" install || die "netatalk make install failed"

dodoc CONTRIBUTORS NEWS README TODO VERSION

newinitd "${S}"/distrib/initscripts/rc.atalk.gentoo atalk

# The pamd file isn't what we need, use pamd_mimic_system
rm -rf "${D}/etc/pam.d"
pamd_mimic_system netatalk auth account password session

# Move /usr/include/netatalk to /usr/include/netatalk2 to avoid collisions
# with /usr/include/netatalk/at.h provided by glibc (strange, uh?)
# Packages that wants to link to netatalk should then probably change the
# includepath then, but right now, nothing uses netatalk.
# On a side note, it also solves collisions with freebsd-lib and other libcs
mv "${D}"/usr/include/netatalk{,2}
}

netatalk-2.0.3-r3.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-2.0.3-r3.ebuild,v 1.2 2006/11/12 09:42:03 vapier Exp $

WANT_AUTOMAKE=latest
WANT_AUTOCONF=latest

inherit eutils pam flag-o-matic autotools
IUSE="ssl pam tcpd slp cups kerberos krb4 debug cracklib xfs"

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="BSD"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"

RDEPEND=">=sys-libs/db-4.2.52
cracklib? ( sys-libs/cracklib )
pam? ( virtual/pam )
ssl? ( dev-libs/openssl )
tcpd? ( sys-apps/tcp-wrappers )
slp? ( net-libs/openslp )
cups? ( net-print/cups )
kerberos? ( virtual/krb5 )
krb4? ( virtual/krb5 )"
DEPEND="${RDEPEND}
xfs? ( sys-fs/xfsprogs

src_unpack() {
unpack ${A}
cd "${S}"

# 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
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

epatch "${FILESDIR}/${P}-setXid.patch"
epatch "${FILESDIR}/${P}-db43.patch"
epatch "${FILESDIR}/${P}-newerdb.patch"
epatch "${FILESDIR}/${P}-xfs.patch"
AT_M4DIR="macros" eautoreconf
}

src_compile() {
# Ignore --enable-gentoo, we install the init.d by hand and we avoid having to
# sed the Makefiles to not do rc-update.
econf \
$(use_with pam) \
$(use_enable cups) \
$(use_enable ssl) \
$(use_enable debug) \
$(use_enable tcpd tcp-wrappers) \
$(use_enable kerberos krbV-uam) \
$(use_enable krb4 krb4-uam) \
$(use_enable slp srvloc) \
$(use_with cracklib) \
$(use_with elibc_glibc shadow) \
$(use_with xfs) \
--disable-afs \
--enable-fhs \
--with-bdb=/usr \
${myconf} || die "netatalk configure failed"

sed -i -e "s:@BINDNOW_FLAGS@:$(bindnow-flags):" bin/afppasswd/Makefile

emake || die "netatalk emake failed"

# Create the init script manually (it's more messy to --enable-gentoo)
cd "${S}"/distrib/initscripts
emake rc.atalk.gentoo
}

src_install() {
make DESTDIR="${D}" install || die "netatalk make install failed"

dodoc CONTRIBUTORS NEWS README TODO VERSION

newinitd "${S}"/distrib/initscripts/rc.atalk.gentoo atalk

# The pamd file isn't what we need, use pamd_mimic_system
rm -rf "${D}/etc/pam.d"
pamd_mimic_system netatalk auth account password session

# Move /usr/include/netatalk to /usr/include/netatalk2 to avoid collisions
# with /usr/include/netatalk/at.h provided by glibc (strange, uh?)
# Packages that wants to link to netatalk should then probably change the
# includepath then, but right now, nothing uses netatalk.
# On a side note, it also solves collisions with freebsd-lib and other libcs
mv "${D}"/usr/include/netatalk{,2}
}