1 |
patrick 12/11/01 05:20:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: samba-4.0.0_rc4.ebuild |
5 |
Log: |
6 |
Bump of 4.0_rc |
7 |
|
8 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.532 net-fs/samba/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.532&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.532&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?r1=1.531&r2=1.532 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v |
20 |
retrieving revision 1.531 |
21 |
retrieving revision 1.532 |
22 |
diff -u -r1.531 -r1.532 |
23 |
--- ChangeLog 1 Nov 2012 04:19:58 -0000 1.531 |
24 |
+++ ChangeLog 1 Nov 2012 05:20:31 -0000 1.532 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-fs/samba |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.531 2012/11/01 04:19:58 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.532 2012/11/01 05:20:31 patrick Exp $ |
30 |
+ |
31 |
+*samba-4.0.0_rc4 (01 Nov 2012) |
32 |
+ |
33 |
+ 01 Nov 2012; Patrick Lauer <patrick@g.o> +samba-4.0.0_rc4.ebuild: |
34 |
+ Bump of 4.0_rc |
35 |
|
36 |
*samba-3.6.9 (01 Nov 2012) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-fs/samba/samba-4.0.0_rc4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-4.0.0_rc4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-4.0.0_rc4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: samba-4.0.0_rc4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.0.0_rc4.ebuild,v 1.1 2012/11/01 05:20:31 patrick Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
PYTHON_DEPEND="2" |
54 |
|
55 |
inherit confutils python waf-utils multilib linux-info |
56 |
|
57 |
MY_PV="${PV/_rc/rc}" |
58 |
MY_P="${PN}-${MY_PV}" |
59 |
|
60 |
if [ "${PV}" = "4.9999" ]; then |
61 |
EGIT_REPO_URI="git://git.samba.org/samba.git" |
62 |
KEYWORDS="" |
63 |
inherit git-2 |
64 |
else |
65 |
SRC_URI="mirror://samba/rc/${MY_P}.tar.gz" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
fi |
68 |
|
69 |
DESCRIPTION="Samba Suite Version 4" |
70 |
HOMEPAGE="http://www.samba.org/" |
71 |
LICENSE="GPL-3" |
72 |
|
73 |
SLOT="0" |
74 |
|
75 |
IUSE="acl addns ads aio avahi client cluster cups debug fulltest gnutls iprint |
76 |
ldap pam quota selinux swat syslog winbind" |
77 |
|
78 |
RDEPEND="dev-libs/iniparser |
79 |
dev-libs/popt |
80 |
sys-libs/readline |
81 |
virtual/libiconv |
82 |
>=dev-lang/python-2.4.2 |
83 |
dev-python/subunit |
84 |
sys-libs/libcap |
85 |
>=sys-libs/ldb-1.1.12 |
86 |
>=sys-libs/tdb-1.2.10[python] |
87 |
>=sys-libs/talloc-2.0.7[python] |
88 |
>=sys-libs/tevent-0.9.17 |
89 |
sys-libs/zlib |
90 |
>=app-crypt/heimdal-1.5[-ssl] |
91 |
ads? ( client? ( net-fs/cifs-utils[ads] ) ) |
92 |
client? ( net-fs/cifs-utils ) |
93 |
cluster? ( >=dev-db/ctdb-1.0.114_p1 ) |
94 |
ldap? ( net-nds/openldap ) |
95 |
gnutls? ( >=net-libs/gnutls-1.4.0 ) |
96 |
selinux? ( sec-policy/selinux-samba )" |
97 |
DEPEND="${RDEPEND} |
98 |
virtual/pkgconfig" |
99 |
|
100 |
RESTRICT="mirror" |
101 |
|
102 |
S="${WORKDIR}/${MY_P}" |
103 |
|
104 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
105 |
|
106 |
WAF_BINARY="${S}/buildtools/bin/waf" |
107 |
|
108 |
pkg_setup() { |
109 |
confutils_use_depend_all fulltest test |
110 |
|
111 |
python_set_active_version 2 |
112 |
python_pkg_setup |
113 |
|
114 |
if use aio; then |
115 |
if ! linux_config_exists || ! linux_chkconfig_present AIO; then |
116 |
ewarn "You must enable AIO support in your kernel config, " |
117 |
ewarn "to be able to support asynchronous I/O. " |
118 |
ewarn "You can find it at" |
119 |
ewarn |
120 |
ewarn "General Support" |
121 |
ewarn " Enable AIO support " |
122 |
ewarn |
123 |
ewarn "and recompile your kernel..." |
124 |
fi |
125 |
fi |
126 |
} |
127 |
|
128 |
src_configure() { |
129 |
local myconf='' |
130 |
if use "debug"; then |
131 |
myconf="${myconf} --enable-developer" |
132 |
fi |
133 |
if use "cluster"; then |
134 |
myconf="${myconf} --with-ctdb-dir=/usr" |
135 |
fi |
136 |
myconf="${myconf} \ |
137 |
--enable-fhs \ |
138 |
--sysconfdir=/etc \ |
139 |
--localstatedir=/var \ |
140 |
--with-modulesdir=/usr/$(get_libdir) \ |
141 |
--disable-rpath \ |
142 |
--disable-rpath-install \ |
143 |
--nopyc \ |
144 |
--nopyo \ |
145 |
--disable-ntdb \ |
146 |
--bundled-libraries=NONE \ |
147 |
--builtin-libraries=NONE \ |
148 |
$(use_with addns dnsupdate) \ |
149 |
$(use_with acl) \ |
150 |
$(use_with ads) \ |
151 |
$(use_with aio aio-support) \ |
152 |
$(use_enable avahi) \ |
153 |
$(use_with cluster cluster-support) \ |
154 |
$(use_enable cups) \ |
155 |
$(use_enable gnutls) \ |
156 |
$(use_enable iprint) \ |
157 |
$(use_with ldap) \ |
158 |
$(use_with pam) \ |
159 |
$(use_with pam pam_smbpass) \ |
160 |
$(use_with quota) \ |
161 |
$(use_with syslog) \ |
162 |
$(use_with swat) \ |
163 |
$(use_with winbind)" |
164 |
CPPFLAGS="-I/usr/include/et ${CPPFLAGS}" \ |
165 |
waf-utils_src_configure ${myconf} |
166 |
} |
167 |
|
168 |
src_install() { |
169 |
waf-utils_src_install |
170 |
|
171 |
# Make all .so files executable |
172 |
find "${D}" -type f -name "*.so" -exec chmod +x {} + |
173 |
|
174 |
# Move all LDB modules to their correct path |
175 |
mkdir -p "${D}"/usr/$(get_libdir)/ldb/modules/ldb |
176 |
mv "${D}"/usr/$(get_libdir)/ldb/*.so "${D}"/usr/$(get_libdir)/ldb/modules/ldb |
177 |
|
178 |
# Install init script |
179 |
newinitd "${CONFDIR}/samba4.initd" samba || die "newinitd failed" |
180 |
} |
181 |
|
182 |
src_test() { |
183 |
local extra_opts="" |
184 |
use fulltest || extra_opts+="--quick" |
185 |
"${WAF_BINARY}" test ${extra_opts} || die "test failed" |
186 |
} |
187 |
|
188 |
pkg_postinst() { |
189 |
# Optimize the python modules so they get properly removed |
190 |
python_mod_optimize "${PN}" |
191 |
|
192 |
# Warn that it's a release candidate |
193 |
ewarn "This is not a final Samba release, however the Samba Team is now making" |
194 |
ewarn "good progress towards a Samba 4.0 release, of which this is a preview." |
195 |
ewarn "Be aware the this release contains the best of all of Samba's" |
196 |
ewarn "technology parts, both a file server (that you can reasonably expect" |
197 |
ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
198 |
ewarn "controller work previously known as 'samba4'." |
199 |
|
200 |
einfo "See http://wiki.samba.org/index.php/Samba4/HOWTO for more" |
201 |
einfo "information about samba 4." |
202 |
} |
203 |
|
204 |
pkg_postrm() { |
205 |
# Clean up the python modules |
206 |
python_mod_cleanup "${PN}" |
207 |
} |