Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/netatalk: ChangeLog netatalk-2.1.5.ebuild
Date: Tue, 04 Jan 2011 20:26:19
Message-Id: 20110104202610.59EC02005C@flycatcher.gentoo.org
1 vapier 11/01/04 20:26:10
2
3 Modified: ChangeLog
4 Added: netatalk-2.1.5.ebuild
5 Log:
6 Version bump #350549 by Timothy Miller.
7
8 (Portage version: 2.2.0_alpha10/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.67 net-fs/netatalk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 15 Oct 2010 02:05:39 -0000 1.66
24 +++ ChangeLog 4 Jan 2011 20:26:10 -0000 1.67
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-fs/netatalk
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.66 2010/10/15 02:05:39 vapier Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.67 2011/01/04 20:26:10 vapier Exp $
31 +
32 +*netatalk-2.1.5 (04 Jan 2011)
33 +
34 + 04 Jan 2011; Mike Frysinger <vapier@g.o> +netatalk-2.1.5.ebuild:
35 + Version bump #350549 by Timothy Miller.
36
37 15 Oct 2010; Mike Frysinger <vapier@g.o> netatalk-2.0.5-r1.ebuild,
38 netatalk-2.1.ebuild, netatalk-2.1.3.ebuild:
39
40
41
42 1.1 net-fs/netatalk/netatalk-2.1.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/netatalk-2.1.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/netatalk-2.1.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: netatalk-2.1.5.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-2.1.5.ebuild,v 1.1 2011/01/04 20:26:10 vapier Exp $
52
53 EAPI="2"
54
55 inherit pam
56
57 DESCRIPTION="Kernel level implementation of the AppleTalk Protocol Suite"
58 HOMEPAGE="http://netatalk.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
64 IUSE="cracklib cups debug kerberos pam slp ssl tcpd xfs"
65
66 RDEPEND=">=sys-libs/db-4.2.52
67 cracklib? ( sys-libs/cracklib )
68 pam? ( virtual/pam )
69 ssl? ( dev-libs/openssl )
70 tcpd? ( sys-apps/tcp-wrappers )
71 slp? ( net-libs/openslp )
72 cups? ( net-print/cups )
73 kerberos? ( virtual/krb5 )
74 >=sys-apps/coreutils-7.1
75 !app-text/yudit"
76 DEPEND="${RDEPEND}
77 xfs? ( sys-fs/xfsprogs )"
78
79 src_prepare() {
80 # until someone that understands their config script build
81 # system gets a patch pushed upstream to make
82 # --enable-srvloc passed to configure also add slpd to the
83 # use line on the initscript, we'll need to do it this way
84 if use slp ; then
85 sed -i -e '/^[[:space:]]*use\>/s:$: slpd:' \
86 distrib/initscripts/rc.atalk.gentoo.tmpl || die
87 fi
88 }
89
90 src_configure() {
91 use xfs || eval $(printf 'export ac_cv_header_%s=no\n' {linux,xfs}_{dqblk_xfs,libxfs,xqm,xfs_fs}_h)
92
93 # Ignore --enable-gentoo, we install the init.d by hand and we avoid having
94 # to sed the Makefiles to not do rc-update.
95 # --enable-shadow: let build system detect shadow.h in toolchain
96 econf \
97 $(use_with pam) \
98 $(use_enable cups) \
99 $(use_enable debug) \
100 $(use_enable tcpd tcp-wrappers) \
101 $(use_enable kerberos krbV-uam) \
102 --disable-krb4-uam \
103 $(use_enable slp srvloc) \
104 $(use_with ssl ssl-dir) \
105 $(use_with cracklib) \
106 $(use_with slp srvloc) \
107 --disable-afs \
108 --enable-fhs \
109 --with-bdb=/usr
110 }
111
112 src_compile() {
113 emake || die
114
115 # Create the init script manually (it's more messy to --enable-gentoo)
116 emake -C distrib/initscripts rc.atalk.gentoo || die
117 }
118
119 src_install() {
120 emake DESTDIR="${D}" install || die
121 dodoc CONTRIBUTORS NEWS README TODO VERSION
122
123 newinitd distrib/initscripts/rc.atalk.gentoo atalk || die
124
125 # The pamd file isn't what we need, use pamd_mimic_system
126 rm -rf "${D}/etc/pam.d"
127 pamd_mimic_system netatalk auth account password session
128
129 # Move /usr/include/netatalk to /usr/include/netatalk2 to avoid collisions
130 # with /usr/include/netatalk/at.h provided by glibc (strange, uh?)
131 # Packages that wants to link to netatalk should then probably change the
132 # includepath then, but right now, nothing uses netatalk.
133 # On a side note, it also solves collisions with freebsd-lib and other libcs
134 mv "${D}"/usr/include/netatalk{,2} || die
135 sed -i \
136 -e 's/include <netatalk/include <netatalk2/g' \
137 "${D}"usr/include/{netatalk2,atalk}/* || die
138 }