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