Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/netatalk: metadata.xml ChangeLog netatalk-2.2.2.ebuild
Date: Wed, 02 May 2012 17:13:36
Message-Id: 20120502171325.0A9E62004B@flycatcher.gentoo.org
1 jlec 12/05/02 17:13:25
2
3 Modified: metadata.xml ChangeLog
4 Added: netatalk-2.2.2.ebuild
5 Log:
6 net-fs/netatalk: Version Bump
7
8 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 net-fs/netatalk/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/metadata.xml?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/metadata.xml?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/metadata.xml?r1=1.7&r2=1.8
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-fs/netatalk/metadata.xml,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- metadata.xml 29 Sep 2011 16:55:00 -0000 1.7
24 +++ metadata.xml 2 May 2012 17:13:24 -0000 1.8
25 @@ -1,33 +1,33 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 - <herd>net-fs</herd>
30 - <maintainer restrict="&gt;=net-fs/netatalk-2.2.1-r1">
31 - <email>flameeyes@g.o</email>
32 - <description>
33 + <herd>net-fs</herd>
34 + <maintainer restrict="&gt;=net-fs/netatalk-2.2.1-r1">
35 + <email>flameeyes@g.o</email>
36 + <description>
37 CC me on the bugs so I can take a look at them. I actually use
38 this software and I know how it is supposed to work, at least
39 partially.
40 </description>
41 - </maintainer>
42 - <use>
43 - <flag name='appletalk'>
44 + </maintainer>
45 + <use>
46 + <flag name="appletalk">
47 Build support for Apple's AppleTalk (DDP) protocol and its
48 utilities (atalkd, timelord, papd).
49 </flag>
50 - <flag name='cups'>
51 + <flag name="cups">
52 Add support for <pkg>net-print/cups</pkg> printers in papd. This
53 flag is only considered if appletalk USE flag is enabled, and is
54 otherwise ignored.
55 </flag>
56 - <flag name='quota'>
57 + <flag name="quota">
58 Add support for user quota on various filesystems.
59 </flag>
60 - <flag name='ssl'>
61 + <flag name="ssl">
62 Use <pkg>dev-libs/openssl</pkg> to provide DHX User Access
63 Modules. These are not used with most recent versions of OS X
64 and can be kept disabled without risks.
65 </flag>
66 - <flag name='xfs'>Enable support for XFS Quota</flag>
67 - </use>
68 + <flag name="xfs">Enable support for XFS Quota</flag>
69 + </use>
70 </pkgmetadata>
71
72
73
74 1.82 net-fs/netatalk/ChangeLog
75
76 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/ChangeLog?rev=1.82&view=markup
77 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/ChangeLog?rev=1.82&content-type=text/plain
78 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/ChangeLog?r1=1.81&r2=1.82
79
80 Index: ChangeLog
81 ===================================================================
82 RCS file: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v
83 retrieving revision 1.81
84 retrieving revision 1.82
85 diff -u -r1.81 -r1.82
86 --- ChangeLog 24 Apr 2012 12:43:03 -0000 1.81
87 +++ ChangeLog 2 May 2012 17:13:24 -0000 1.82
88 @@ -1,6 +1,12 @@
89 # ChangeLog for net-fs/netatalk
90 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
91 -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.81 2012/04/24 12:43:03 ago Exp $
92 +# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.82 2012/05/02 17:13:24 jlec Exp $
93 +
94 +*netatalk-2.2.2 (02 May 2012)
95 +
96 + 02 May 2012; Justin Lecher <jlec@g.o> +netatalk-2.2.2.ebuild,
97 + +files/netatalk-2.2.2-gentoo.patch, metadata.xml:
98 + Version Bump
99
100 24 Apr 2012; Agostino Sarubbo <ago@g.o> netatalk-2.2.1-r3.ebuild:
101 Stable for amd64, wrt bug #411291
102
103
104
105 1.1 net-fs/netatalk/netatalk-2.2.2.ebuild
106
107 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/netatalk-2.2.2.ebuild?rev=1.1&view=markup
108 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/netatalk-2.2.2.ebuild?rev=1.1&content-type=text/plain
109
110 Index: netatalk-2.2.2.ebuild
111 ===================================================================
112 # Copyright 1999-2012 Gentoo Foundation
113 # Distributed under the terms of the GNU General Public License v2
114 # $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-2.2.2.ebuild,v 1.1 2012/05/02 17:13:24 jlec Exp $
115
116 EAPI="4"
117
118 inherit pam flag-o-matic multilib autotools
119
120 RESTRICT="test"
121 DESCRIPTION="Open Source AFP server and other AppleTalk-related utilities"
122 HOMEPAGE="http://netatalk.sourceforge.net/"
123 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
124
125 LICENSE="GPL-2 BSD"
126 SLOT="0"
127 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
128 IUSE="acl appletalk avahi cracklib cups debug kerberos ldap pam quota slp ssl static-libs tcpd"
129
130 RDEPEND=">=sys-libs/db-4.2.52
131 avahi? ( net-dns/avahi[dbus] )
132 cracklib? ( sys-libs/cracklib )
133 pam? ( virtual/pam )
134 ssl? ( dev-libs/openssl )
135 tcpd? ( sys-apps/tcp-wrappers )
136 slp? ( net-libs/openslp )
137 kerberos? ( virtual/krb5 )
138 >=sys-apps/coreutils-7.1
139 !app-text/yudit
140 dev-libs/libgcrypt
141 appletalk? (
142 cups? ( net-print/cups )
143 )
144 acl? (
145 sys-apps/attr
146 sys-apps/acl
147 )
148 ldap? (
149 net-nds/openldap
150 )
151 "
152 DEPEND="${RDEPEND}"
153 RDEPEND="sys-apps/openrc"
154
155 REQUIRED_USE="ldap? ( acl )"
156
157 DOCS=( CONTRIBUTORS NEWS VERSION AUTHORS doc/README.AppleTalk )
158
159 src_prepare() {
160 epatch "${FILESDIR}"/${P}-gentoo.patch
161 eautoreconf
162 }
163
164 src_configure() {
165 local myconf=
166
167 if use appletalk; then
168 myconf+=" --enable-ddp --enable-timelord $(use_enable cups)"
169 else
170 myconf+=" --disable-ddp --disable-timelord --disable-cups"
171 fi
172
173 if use acl; then
174 myconf+=" --with-acls $(use_with ldap)"
175 else
176 myconf+=" --without-acls --without-ldap"
177 fi
178
179 append-flags -fno-strict-aliasing
180
181 # Ignore --enable-gentoo, we install the init.d by hand and we avoid having
182 # to sed the Makefiles to not do rc-update.
183 econf \
184 $(use_enable avahi zeroconf) \
185 $(use_enable debug) \
186 $(use_enable kerberos krbV-uam) \
187 $(use_enable quota) \
188 $(use_enable slp srvloc) \
189 $(use_enable static-libs static) \
190 $(use_enable tcpd tcp-wrappers) \
191 $(use_with cracklib) \
192 $(use_with pam) \
193 $(use_with ssl ssl-dir) \
194 --disable-krb4-uam \
195 --disable-afs \
196 --enable-fhs \
197 --with-bdb=/usr \
198 ${myconf}
199 }
200
201 src_install() {
202 default
203
204 newinitd "${FILESDIR}"/afpd.init.3 afpd
205 newinitd "${FILESDIR}"/cnid_metad.init.2 cnid_metad
206
207 if use appletalk; then
208 newinitd "${FILESDIR}"/atalkd.init atalkd
209 newinitd "${FILESDIR}"/atalk_service.init.2 timelord
210 newinitd "${FILESDIR}"/atalk_service.init.2 papd
211 fi
212
213 use avahi || sed -i -e '/need avahi-daemon/d' "${D}"/etc/init.d/afpd
214 use slp || sed -i -e '/need slpd/d' "${D}"/etc/init.d/afpd
215
216 use ldap || rm "${D}"/etc/netatalk/afp_ldap.conf
217
218 rm "${D}"/etc/netatalk/netatalk.conf
219
220 # The pamd file isn't what we need, use pamd_mimic_system
221 rm -rf "${D}/etc/pam.d"
222 pamd_mimic_system netatalk auth account password session
223
224 # Move /usr/include/netatalk to /usr/include/netatalk2 to avoid collisions
225 # with /usr/include/netatalk/at.h provided by glibc (strange, uh?)
226 # Packages that wants to link to netatalk should then probably change the
227 # includepath then, but right now, nothing uses netatalk.
228 # On a side note, it also solves collisions with freebsd-lib and other libcs
229 mv "${D}"/usr/include/netatalk{,2} || die
230 sed -i \
231 -e 's/include <netatalk/include <netatalk2/g' \
232 "${D}"usr/include/{netatalk2,atalk}/* || die
233
234 # These are not used at all, as the uams are loaded with their .so
235 # extension.
236 rm "${D}"/usr/$(get_libdir)/netatalk/*.la
237
238 use static-libs || rm "${D}"/usr/$(get_libdir)/*.la
239 }
240
241 pkg_postinst() {
242 elog "Starting from version 2.2.1-r1 the netatalk init script has been split"
243 elog "into different services depending on what you need to start."
244 elog "This was done to make sure that all services are started and reported"
245 elog "properly."
246 elog ""
247 elog "The new services are:"
248 elog " cnid_metad"
249 elog " afpd"
250 if use appletalk; then
251 elog " atalkd"
252 elog " timelord"
253 elog " papd"
254 fi
255 elog ""
256 elog "Dependencies should be resolved automatically depending on settings"
257 elog "but please report issues with this on https://bugs.gentoo.org/ if"
258 elog "you find any."
259 elog ""
260 elog "The old configuration file /etc/netatalk/netatalk.conf is no longer"
261 elog "installed, and will be ignored. The new configuration is supposed"
262 elog "to be done through individual /etc/conf.d files, for everything that"
263 elog "cannot be set already through their respective configuration files."
264 }