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