1 |
polynomial-c 13/10/01 08:20:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: samba-4.1.0_rc4.ebuild |
5 |
Removed: samba-4.1.0_rc2.ebuild |
6 |
Log: |
7 |
Version bump. Removed old |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
10 |
|
11 |
Revision Changes Path |
12 |
1.605 net-fs/samba/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.605&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.605&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?r1=1.604&r2=1.605 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v |
21 |
retrieving revision 1.604 |
22 |
retrieving revision 1.605 |
23 |
diff -u -r1.604 -r1.605 |
24 |
--- ChangeLog 26 Sep 2013 06:18:51 -0000 1.604 |
25 |
+++ ChangeLog 1 Oct 2013 08:20:51 -0000 1.605 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-fs/samba |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.604 2013/09/26 06:18:51 polynomial-c Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.605 2013/10/01 08:20:51 polynomial-c Exp $ |
31 |
+ |
32 |
+*samba-4.1.0_rc4 (01 Oct 2013) |
33 |
+ |
34 |
+ 01 Oct 2013; Lars Wendler <polynomial-c@g.o> -samba-4.1.0_rc2.ebuild, |
35 |
+ +samba-4.1.0_rc4.ebuild: |
36 |
+ Version bump. Removed old. |
37 |
|
38 |
*samba-3.6.19 (26 Sep 2013) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-fs/samba/samba-4.1.0_rc4.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-4.1.0_rc4.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-4.1.0_rc4.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: samba-4.1.0_rc4.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.1.0_rc4.ebuild,v 1.1 2013/10/01 08:20:51 polynomial-c Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python2_{6,7} ) |
56 |
|
57 |
inherit python-r1 waf-utils multilib linux-info systemd |
58 |
|
59 |
MY_PV="${PV/_rc/rc}" |
60 |
MY_P="${PN}-${MY_PV}" |
61 |
|
62 |
SRC_URI="mirror://samba/rc/${MY_P}.tar.gz" |
63 |
KEYWORDS="~amd64 ~hppa ~x86" |
64 |
|
65 |
DESCRIPTION="Samba Suite Version 4" |
66 |
HOMEPAGE="http://www.samba.org/" |
67 |
LICENSE="GPL-3" |
68 |
|
69 |
SLOT="0" |
70 |
|
71 |
IUSE="acl addns ads aio avahi client cluster cups gnutls iprint |
72 |
ldap pam quota selinux syslog test winbind" |
73 |
|
74 |
RDEPEND="${PYTHON_DEPS} |
75 |
dev-libs/iniparser |
76 |
dev-libs/popt |
77 |
sys-libs/readline |
78 |
virtual/libiconv |
79 |
dev-python/subunit |
80 |
sys-libs/libcap |
81 |
>=sys-libs/ldb-1.1.16 |
82 |
>=sys-libs/tdb-1.2.11[python] |
83 |
>=sys-libs/talloc-2.0.8[python] |
84 |
>=sys-libs/tevent-0.9.18 |
85 |
sys-libs/zlib |
86 |
>=app-crypt/heimdal-1.5[-ssl] |
87 |
addns? ( net-dns/bind-tools[gssapi] ) |
88 |
client? ( net-fs/cifs-utils[ads?] ) |
89 |
cluster? ( >=dev-db/ctdb-1.0.114_p1 ) |
90 |
ldap? ( net-nds/openldap ) |
91 |
gnutls? ( >=net-libs/gnutls-1.4.0 ) |
92 |
selinux? ( sec-policy/selinux-samba )" |
93 |
DEPEND="${RDEPEND} |
94 |
virtual/pkgconfig" |
95 |
|
96 |
REQUIRED_USE="ads? ( ldap )" |
97 |
|
98 |
RESTRICT="mirror" |
99 |
|
100 |
S="${WORKDIR}/${MY_P}" |
101 |
|
102 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
103 |
|
104 |
WAF_BINARY="${S}/buildtools/bin/waf" |
105 |
|
106 |
pkg_setup() { |
107 |
python_export_best |
108 |
if use aio; then |
109 |
if ! linux_config_exists || ! linux_chkconfig_present AIO; then |
110 |
ewarn "You must enable AIO support in your kernel config, " |
111 |
ewarn "to be able to support asynchronous I/O. " |
112 |
ewarn "You can find it at" |
113 |
ewarn |
114 |
ewarn "General Support" |
115 |
ewarn " Enable AIO support " |
116 |
ewarn |
117 |
ewarn "and recompile your kernel..." |
118 |
fi |
119 |
fi |
120 |
} |
121 |
|
122 |
src_configure() { |
123 |
local myconf='' |
124 |
use "cluster" && myconf+=" --with-ctdb-dir=/usr" |
125 |
use "test" && myconf+=" --enable-selftest" |
126 |
myconf="${myconf} \ |
127 |
--enable-fhs \ |
128 |
--sysconfdir=/etc \ |
129 |
--localstatedir=/var \ |
130 |
--with-modulesdir=/usr/$(get_libdir)/samba \ |
131 |
--with-pammodulesdir=/$(get_libdir)/security \ |
132 |
--disable-rpath \ |
133 |
--disable-rpath-install \ |
134 |
--nopyc \ |
135 |
--nopyo \ |
136 |
--bundled-libraries=ntdb \ |
137 |
--builtin-libraries=ntdb \ |
138 |
$(use_with addns dnsupdate) \ |
139 |
$(use_with acl) \ |
140 |
$(use_with ads) \ |
141 |
$(use_with aio aio-support) \ |
142 |
$(use_enable avahi) \ |
143 |
$(use_with cluster cluster-support) \ |
144 |
$(use_enable cups) \ |
145 |
$(use_enable gnutls) \ |
146 |
$(use_enable iprint) \ |
147 |
$(use_with ldap) \ |
148 |
$(use_with pam) \ |
149 |
$(use_with pam pam_smbpass) \ |
150 |
$(use_with quota) \ |
151 |
$(use_with syslog) \ |
152 |
$(use_with winbind) |
153 |
" |
154 |
use "ads" && myconf+=" --with-shared-modules=idmap_ad" |
155 |
|
156 |
CPPFLAGS="-I/usr/include/et ${CPPFLAGS}" \ |
157 |
waf-utils_src_configure ${myconf} |
158 |
} |
159 |
|
160 |
src_install() { |
161 |
waf-utils_src_install |
162 |
|
163 |
# Seems like the build script gets the shebangs correct by itself |
164 |
# (4.0.6) |
165 |
#python_replicate_script \ |
166 |
# "${D}/usr/sbin/samba_dnsupdate" \ |
167 |
# "${D}/usr/sbin/samba_spnupdate" \ |
168 |
# "${D}/usr/sbin/samba_upgradedns" \ |
169 |
# "${D}/usr/sbin/samba_kcc" \ |
170 |
# "${D}/usr/bin/samba-tool" |
171 |
|
172 |
# Make all .so files executable |
173 |
find "${D}" -type f -name "*.so" -exec chmod +x {} + |
174 |
|
175 |
# Install init script and conf.d file |
176 |
newinitd "${CONFDIR}/samba4.initd-r1" samba |
177 |
newconfd "${CONFDIR}/samba4.confd" samba |
178 |
|
179 |
systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
180 |
systemd_dounit "${FILESDIR}"/nmbd.service |
181 |
systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
182 |
systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
183 |
systemd_dounit "${FILESDIR}"/winbindd.service |
184 |
} |
185 |
|
186 |
src_test() { |
187 |
"${WAF_BINARY}" test || die "test failed" |
188 |
} |
189 |
|
190 |
pkg_postinst() { |
191 |
elog "This is is the first stable release of Samba 4.0" |
192 |
|
193 |
ewarn "Be aware the this release contains the best of all of Samba's" |
194 |
ewarn "technology parts, both a file server (that you can reasonably expect" |
195 |
ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
196 |
ewarn "controller work previously known as 'samba4'." |
197 |
|
198 |
elog "For further information and migration steps make sure to read " |
199 |
elog "http://samba.org/samba/history/${P}.html " |
200 |
elog "http://samba.org/samba/history/${PN}-4.0.0.html and" |
201 |
elog "http://wiki.samba.org/index.php/Samba4/HOWTO " |
202 |
} |