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