diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2010-01-11 00:16:28 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2010-01-11 00:16:28 +0000 |
commit | f1499cfcab8cb8a01786d5c97ea0d992e53827ac (patch) | |
tree | 00dc8798b9ddcdb28cac07c37098315ffedaf478 /net-fs | |
parent | Automated update of use.local.desc (diff) | |
download | historical-f1499cfcab8cb8a01786d5c97ea0d992e53827ac.tar.gz historical-f1499cfcab8cb8a01786d5c97ea0d992e53827ac.tar.bz2 historical-f1499cfcab8cb8a01786d5c97ea0d992e53827ac.zip |
EAPI=2 version. fix the paths in the installed headers since we change the location they're installing to
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/netatalk/ChangeLog | 8 | ||||
-rw-r--r-- | net-fs/netatalk/Manifest | 11 | ||||
-rw-r--r-- | net-fs/netatalk/netatalk-2.0.5-r1.ebuild | 95 |
3 files changed, 108 insertions, 6 deletions
diff --git a/net-fs/netatalk/ChangeLog b/net-fs/netatalk/ChangeLog index d89f4cf3d0b4..3bc70171ce08 100644 --- a/net-fs/netatalk/ChangeLog +++ b/net-fs/netatalk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-fs/netatalk # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.56 2010/01/10 23:10:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.57 2010/01/11 00:16:28 cardoe Exp $ + +*netatalk-2.0.5-r1 (11 Jan 2010) + + 11 Jan 2010; Doug Goldstein <cardoe@gentoo.org> +netatalk-2.0.5-r1.ebuild: + EAPI=2 version. fix the paths in the installed headers since we change the + location they're installing to *netatalk-2.0.5 (10 Jan 2010) diff --git a/net-fs/netatalk/Manifest b/net-fs/netatalk/Manifest index 64171bb2b362..dcbca4a002e5 100644 --- a/net-fs/netatalk/Manifest +++ b/net-fs/netatalk/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 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 @@ -9,13 +9,14 @@ AUX netatalk-2.0.5-control-pam.patch 997 RMD160 a7b11647dd7827288517fa3c7696a371 DIST netatalk-2.0.3.tar.bz2 1471804 RMD160 29b763400a45797ac4a8e499d5328aa91a091c91 SHA1 ce2d5dd123467ccae72fc62ca4ee3738019455f2 SHA256 25e004732f471de0dd9a21ab129ee799da018fce3b313d4ab5e6f52e6e9e3998 DIST netatalk-2.0.5.tar.bz2 993882 RMD160 47247d376bf421652d9f9897c75853424215ae0a SHA1 a38f98abc123b02d26628543e393a4de04481e4f SHA256 aa11b26ad5c6cfb6043458fc849ed82b13b6d13219191a6335fce1bc76288b37 EBUILD netatalk-2.0.3-r4.ebuild 3021 RMD160 741dad45a10482731139b4d66a799ff5cf7aad66 SHA1 8e0b0678e678ef985e7a72e3259664f773a0719e SHA256 52a16a4edafb58fc63e06a62a173f4a5a8cbe42a8b2c5c64ba7551a88589ae37 +EBUILD netatalk-2.0.5-r1.ebuild 3005 RMD160 96ce224b02023327ca624c67d5def5deb0e4586f SHA1 605252133a4a03d9be52ac0b544e191077403052 SHA256 732d77aaea372b7b4d0118b07f6cca9dc36cf6ce7c82d6a17c9a2d619f2b2b0a EBUILD netatalk-2.0.5.ebuild 2954 RMD160 6887b1be843a2def83dbd2db75a80449e0e47cdd SHA1 2cfa06bbaaae1a36bfdd61acca1155c9512c8fca SHA256 1b945a0e93fad82882a151922fa3a3c84bb73eaf5abffc99527b5d0860f3bddb -MISC ChangeLog 9082 RMD160 990b6fb6862bd9f77e33267c6e72e5854f3116c0 SHA1 f230851467a6622278aa78fe7ad510493a192f38 SHA256 a63abe4431ab46bb41963a3d67108a133c5db52cd99cccba7103538b4927be03 +MISC ChangeLog 9304 RMD160 805b82782e2cf9265ef34dfdc1a1c86df23f8fc5 SHA1 2e0a98f27e80392942727b23c16c1abb364d95db SHA256 bfc34e32fd1ab4a1f4a141b1804e758476b4ac9e27f027215aa21c85a0217a5e MISC metadata.xml 321 RMD160 4cf5a812670dc659b0325e35aa5813f24a8e7499 SHA1 bc376e37383b2f1876644258113fc0e954f8b5f0 SHA256 1f2660dd2dd2f8a210ed6df840e16e23bc9a19d5777a3776cbaecad689bcdeee -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) -iF4EAREIAAYFAktKXoEACgkQTwhj9JtAlp7hEAD+MtswksJ98L2HdeIoCL9nD4La -X6BureF9jAr+z18jViAA/RLH1AziUqsRrdlFZPQ+YBMoOrdkGyeuZ8el0UH1o4bl -=/0QQ +iEYEARECAAYFAktKbegACgkQoeSe8B0zEfztLgCdHBPRt0pRuI3LIbB0Q7Bp/F/5 +HYUAn2pG+q/ZrxfTpeE3zb2STBOmerhl +=pZMl -----END PGP SIGNATURE----- diff --git a/net-fs/netatalk/netatalk-2.0.5-r1.ebuild b/net-fs/netatalk/netatalk-2.0.5-r1.ebuild new file mode 100644 index 000000000000..a9b4b1c2eefb --- /dev/null +++ b/net-fs/netatalk/netatalk-2.0.5-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-2.0.5-r1.ebuild,v 1.1 2010/01/11 00:16:28 cardoe Exp $ + +EAPI=2 + +inherit eutils pam + +DESCRIPTION="Kernel level implementation of the AppleTalk Protocol Suite" +HOMEPAGE="http://netatalk.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="ssl pam tcpd slp cups kerberos krb4 debug cracklib xfs" + +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 ) + >=sys-apps/coreutils-7.1 + !app-text/yudit" +DEPEND="${RDEPEND} + xfs? ( sys-fs/xfsprogs <sys-kernel/linux-headers-2.6.16 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-control-pam.patch + + # 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 + sed -i -e '/^[[:space:]]*use\>/s:$: slpd:' \ + distrib/initscripts/rc.atalk.gentoo.tmpl || die + fi +} + +src_configure() { + if ! use xfs ; then + eval $(printf '%s\n' {linux,xfs}/{dqblk_xfs,libxfs,xqm,xfs_fs}.h | \ + sed -e 's:[/.]:_:g' -e 's:^:export ac_cv_header_:' -e 's:$:=no:') + fi + + # 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 debug) \ + $(use_enable tcpd tcp-wrappers) \ + $(use_enable kerberos krbV-uam) \ + $(use_enable krb4 krb4-uam) \ + $(use_enable slp srvloc) \ + $(use_with ssl ssl-dir) \ + $(use_with cracklib) \ + $(use_with slp srvloc) \ + $(use_with elibc_glibc shadow) \ + --disable-afs \ + --enable-fhs \ + --with-bdb=/usr +} + +src_compile() { + emake || die + + # Create the init script manually (it's more messy to --enable-gentoo) + emake -C distrib/initscripts rc.atalk.gentoo || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc CONTRIBUTORS NEWS README TODO VERSION + + newinitd distrib/initscripts/rc.atalk.gentoo atalk || die + + # 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} || die + sed -e 's/include <netatalk/include <netatalk2/g' \ + -i "${D}"usr/include/{netatalk2,atalk}/* || die +} |