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: ChangeLog netatalk-2.2.5.ebuild netatalk-3.0.4.ebuild netatalk-3.0.2-r3.ebuild netatalk-3.0.2.ebuild netatalk-3.0.1.ebuild netatalk-3.0.ebuild netatalk-3.0.3.ebuild netatalk-3.0.2-r2.ebuild
Date: Mon, 30 Sep 2013 07:34:49
Message-Id: 20130930073443.758A72004C@flycatcher.gentoo.org
1 jlec 13/09/30 07:34:43
2
3 Modified: ChangeLog
4 Added: netatalk-2.2.5.ebuild
5 Removed: netatalk-3.0.4.ebuild netatalk-3.0.2-r3.ebuild
6 netatalk-3.0.2.ebuild netatalk-3.0.1.ebuild
7 netatalk-3.0.ebuild netatalk-3.0.3.ebuild
8 netatalk-3.0.2-r2.ebuild
9 Log:
10 net-fs/netatalk: Drop old, bump series 2
11
12 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
13
14 Revision Changes Path
15 1.98 net-fs/netatalk/ChangeLog
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/ChangeLog?rev=1.98&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/ChangeLog?rev=1.98&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/ChangeLog?r1=1.97&r2=1.98
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v
24 retrieving revision 1.97
25 retrieving revision 1.98
26 diff -u -r1.97 -r1.98
27 --- ChangeLog 22 Aug 2013 16:01:55 -0000 1.97
28 +++ ChangeLog 30 Sep 2013 07:34:43 -0000 1.98
29 @@ -1,6 +1,14 @@
30 # ChangeLog for net-fs/netatalk
31 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.97 2013/08/22 16:01:55 jlec Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/ChangeLog,v 1.98 2013/09/30 07:34:43 jlec Exp $
34 +
35 +*netatalk-2.2.5 (30 Sep 2013)
36 +
37 + 30 Sep 2013; Justin Lecher <jlec@g.o> +netatalk-2.2.5.ebuild,
38 + -netatalk-3.0.ebuild, -netatalk-3.0.1.ebuild, -netatalk-3.0.2.ebuild,
39 + -netatalk-3.0.2-r2.ebuild, -netatalk-3.0.2-r3.ebuild, -netatalk-3.0.3.ebuild,
40 + -netatalk-3.0.4.ebuild:
41 + Drop old, bump series 2
42
43 *netatalk-3.0.5 (22 Aug 2013)
44
45
46
47
48 1.1 net-fs/netatalk/netatalk-2.2.5.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/netatalk-2.2.5.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/netatalk-2.2.5.ebuild?rev=1.1&content-type=text/plain
52
53 Index: netatalk-2.2.5.ebuild
54 ===================================================================
55 # Copyright 1999-2013 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-2.2.5.ebuild,v 1.1 2013/09/30 07:34:43 jlec Exp $
58
59 EAPI=5
60
61 inherit pam eutils flag-o-matic multilib autotools
62
63 DESCRIPTION="Open Source AFP server and other AppleTalk-related utilities"
64 HOMEPAGE="http://netatalk.sourceforge.net/"
65 SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.bz2"
66
67 LICENSE="GPL-2 BSD"
68 SLOT="0"
69 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
70 IUSE="acl appletalk avahi cracklib cups debug kerberos ldap pam quota slp ssl static-libs tcpd"
71
72 RDEPEND="
73 !app-editors/yudit
74 dev-libs/libgcrypt
75 sys-apps/coreutils
76 >=sys-libs/db-4.2.52
77 acl? (
78 sys-apps/attr
79 sys-apps/acl
80 )
81 appletalk? ( cups? ( net-print/cups ) )
82 avahi? ( net-dns/avahi[dbus] )
83 cracklib? ( sys-libs/cracklib )
84 kerberos? ( virtual/krb5 )
85 ldap? ( net-nds/openldap )
86 pam? ( virtual/pam )
87 slp? ( net-libs/openslp )
88 ssl? ( dev-libs/openssl )
89 tcpd? ( sys-apps/tcp-wrappers )
90 "
91 DEPEND="${RDEPEND}"
92
93 RESTRICT="test"
94
95 REQUIRED_USE="ldap? ( acl )"
96
97 DOCS=( CONTRIBUTORS NEWS VERSION AUTHORS doc/README.AppleTalk )
98
99 src_prepare() {
100 epatch "${FILESDIR}"/${PN}-2.2.2-gentoo.patch
101 eautoreconf
102 }
103
104 src_configure() {
105 local myconf=
106
107 if use appletalk; then
108 myconf+=" --enable-ddp --enable-timelord $(use_enable cups)"
109 else
110 myconf+=" --disable-ddp --disable-timelord --disable-cups"
111 fi
112
113 if use acl; then
114 myconf+=" --with-acls $(use_with ldap)"
115 else
116 myconf+=" --without-acls --without-ldap"
117 fi
118
119 append-flags -fno-strict-aliasing
120
121 # Ignore --enable-gentoo, we install the init.d by hand and we avoid having
122 # to sed the Makefiles to not do rc-update.
123 econf \
124 $(use_enable avahi zeroconf) \
125 $(use_enable debug) \
126 $(use_enable kerberos krbV-uam) \
127 $(use_enable quota) \
128 $(use_enable slp srvloc) \
129 $(use_enable static-libs static) \
130 $(use_enable tcpd tcp-wrappers) \
131 $(use_with cracklib) \
132 $(use_with pam) \
133 $(use_with ssl ssl-dir) \
134 --disable-krb4-uam \
135 --disable-afs \
136 --enable-fhs \
137 --with-bdb=/usr \
138 ${myconf}
139 }
140
141 src_install() {
142 default
143
144 newinitd "${FILESDIR}"/afpd.init.3 afpd
145 newinitd "${FILESDIR}"/cnid_metad.init.2 cnid_metad
146
147 if use appletalk; then
148 newinitd "${FILESDIR}"/atalkd.init atalkd
149 newinitd "${FILESDIR}"/atalk_service.init.2 timelord
150 newinitd "${FILESDIR}"/atalk_service.init.2 papd
151 fi
152
153 use avahi || sed -i -e '/need avahi-daemon/d' "${D}"/etc/init.d/afpd
154 use slp || sed -i -e '/need slpd/d' "${D}"/etc/init.d/afpd
155
156 use ldap || rm "${D}"/etc/netatalk/afp_ldap.conf
157
158 rm "${D}"/etc/netatalk/netatalk.conf
159
160 # The pamd file isn't what we need, use pamd_mimic_system
161 rm -rf "${D}/etc/pam.d"
162 pamd_mimic_system netatalk auth account password session
163
164 # Move /usr/include/netatalk to /usr/include/netatalk2 to avoid collisions
165 # with /usr/include/netatalk/at.h provided by glibc (strange, uh?)
166 # Packages that wants to link to netatalk should then probably change the
167 # includepath then, but right now, nothing uses netatalk.
168 # On a side note, it also solves collisions with freebsd-lib and other libcs
169 mv "${D}"/usr/include/netatalk{,2} || die
170 sed -i \
171 -e 's/include <netatalk/include <netatalk2/g' \
172 "${D}"usr/include/{netatalk2,atalk}/* || die
173
174 # These are not used at all, as the uams are loaded with their .so
175 # extension.
176 rm "${D}"/usr/$(get_libdir)/netatalk/*.la
177
178 use static-libs || rm "${D}"/usr/$(get_libdir)/*.la
179 }
180
181 pkg_postinst() {
182 elog "Starting from version 2.2.1-r1 the netatalk init script has been split"
183 elog "into different services depending on what you need to start."
184 elog "This was done to make sure that all services are started and reported"
185 elog "properly."
186 elog ""
187 elog "The new services are:"
188 elog " cnid_metad"
189 elog " afpd"
190 if use appletalk; then
191 elog " atalkd"
192 elog " timelord"
193 elog " papd"
194 fi
195 elog ""
196 elog "Dependencies should be resolved automatically depending on settings"
197 elog "but please report issues with this on https://bugs.gentoo.org/ if"
198 elog "you find any."
199 elog ""
200 elog "The old configuration file /etc/netatalk/netatalk.conf is no longer"
201 elog "installed, and will be ignored. The new configuration is supposed"
202 elog "to be done through individual /etc/conf.d files, for everything that"
203 elog "cannot be set already through their respective configuration files."
204 }