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