1 |
polynomial-c 14/06/04 06:51:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: samba-4.1.8.ebuild |
5 |
Removed: samba-4.1.6.ebuild |
6 |
Log: |
7 |
Version bump. Removed old. |
8 |
|
9 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
10 |
|
11 |
Revision Changes Path |
12 |
1.671 net-fs/samba/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.671&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.671&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?r1=1.670&r2=1.671 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v |
21 |
retrieving revision 1.670 |
22 |
retrieving revision 1.671 |
23 |
diff -u -r1.670 -r1.671 |
24 |
--- ChangeLog 28 May 2014 07:31:51 -0000 1.670 |
25 |
+++ ChangeLog 4 Jun 2014 06:51:23 -0000 1.671 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-fs/samba |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.670 2014/05/28 07:31:51 polynomial-c Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.671 2014/06/04 06:51:23 polynomial-c Exp $ |
31 |
+ |
32 |
+*samba-4.1.8 (04 Jun 2014) |
33 |
+ |
34 |
+ 04 Jun 2014; Lars Wendler <polynomial-c@g.o> -samba-4.1.6.ebuild, |
35 |
+ +samba-4.1.8.ebuild: |
36 |
+ Version bump. Removed old. |
37 |
|
38 |
*samba-4.0.18 (28 May 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-fs/samba/samba-4.1.8.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-4.1.8.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-4.1.8.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: samba-4.1.8.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 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.8.ebuild,v 1.1 2014/06/04 06:51:23 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/stable/${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 dmapi fam gnutls iprint |
72 |
ldap quota selinux syslog test winbind" |
73 |
|
74 |
# sys-apps/attr is an automagic dependency (see bug #489748) |
75 |
# dev-libs/libaio is an automagic dependency (see bug #489764) |
76 |
# sys-libs/pam is an automagic dependency (see bug #489770) |
77 |
CDEPEND="${PYTHON_DEPS} |
78 |
>=app-crypt/heimdal-1.5[-ssl] |
79 |
dev-libs/iniparser |
80 |
dev-libs/libaio |
81 |
dev-libs/popt |
82 |
sys-libs/readline |
83 |
virtual/libiconv |
84 |
dev-python/subunit |
85 |
sys-apps/attr |
86 |
sys-libs/libcap |
87 |
>=sys-libs/ntdb-1.0[python] |
88 |
>=sys-libs/ldb-1.1.16 |
89 |
>=sys-libs/tdb-1.2.11[python] |
90 |
>=sys-libs/talloc-2.0.8[python] |
91 |
>=sys-libs/tevent-0.9.18 |
92 |
sys-libs/zlib |
93 |
virtual/pam |
94 |
acl? ( virtual/acl ) |
95 |
addns? ( net-dns/bind-tools[gssapi] ) |
96 |
cluster? ( >=dev-db/ctdb-1.0.114_p1 ) |
97 |
cups? ( net-print/cups ) |
98 |
dmapi? ( sys-apps/dmapi ) |
99 |
fam? ( virtual/fam ) |
100 |
gnutls? ( dev-libs/libgcrypt:0 |
101 |
>=net-libs/gnutls-1.4.0 ) |
102 |
ldap? ( net-nds/openldap ) |
103 |
selinux? ( sec-policy/selinux-samba )" |
104 |
DEPEND="${CDEPEND} |
105 |
virtual/pkgconfig" |
106 |
RDEPEND="${CDEPEND} |
107 |
client? ( net-fs/cifs-utils[ads?] )" |
108 |
|
109 |
REQUIRED_USE="ads? ( acl ldap )" |
110 |
|
111 |
RESTRICT="mirror" |
112 |
|
113 |
S="${WORKDIR}/${MY_P}" |
114 |
|
115 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
116 |
|
117 |
# sys-apps/dmapi is an automagic dependency (see bug #474492) |
118 |
PATCHES=( |
119 |
"${FILESDIR}/${PN}-4.1.0-remove-dmapi-automagic.patch" |
120 |
"${FILESDIR}/named.conf.dlz.patch" |
121 |
) |
122 |
|
123 |
WAF_BINARY="${S}/buildtools/bin/waf" |
124 |
|
125 |
pkg_setup() { |
126 |
python_export_best |
127 |
if use aio; then |
128 |
if ! linux_config_exists || ! linux_chkconfig_present AIO; then |
129 |
ewarn "You must enable AIO support in your kernel config, " |
130 |
ewarn "to be able to support asynchronous I/O. " |
131 |
ewarn "You can find it at" |
132 |
ewarn |
133 |
ewarn "General Support" |
134 |
ewarn " Enable AIO support " |
135 |
ewarn |
136 |
ewarn "and recompile your kernel..." |
137 |
fi |
138 |
fi |
139 |
} |
140 |
|
141 |
src_configure() { |
142 |
local myconf='' |
143 |
use "cluster" && myconf+=" --with-ctdb-dir=/usr" |
144 |
use "test" && myconf+=" --enable-selftest" |
145 |
myconf="${myconf} \ |
146 |
--enable-fhs \ |
147 |
--sysconfdir=/etc \ |
148 |
--localstatedir=/var \ |
149 |
--with-modulesdir=/usr/$(get_libdir)/samba \ |
150 |
--with-pammodulesdir=/$(get_libdir)/security \ |
151 |
--with-piddir=/var/run/${PN} \ |
152 |
--disable-rpath \ |
153 |
--disable-rpath-install \ |
154 |
--nopyc \ |
155 |
--nopyo \ |
156 |
--bundled-libraries=NONE \ |
157 |
--builtin-libraries=NONE \ |
158 |
$(use_with addns dnsupdate) \ |
159 |
$(use_with acl acl-support) \ |
160 |
$(use_with ads) \ |
161 |
$(use_with aio aio-support) \ |
162 |
$(use_enable avahi) \ |
163 |
$(use_with cluster cluster-support) \ |
164 |
$(use_enable cups) \ |
165 |
$(use_with dmapi) \ |
166 |
$(use_with fam) \ |
167 |
$(use_enable gnutls) \ |
168 |
$(use_enable iprint) \ |
169 |
$(use_with ldap) \ |
170 |
--with-pam \ |
171 |
--with-pam_smbpass \ |
172 |
$(use_with quota quotas) \ |
173 |
$(use_with syslog) \ |
174 |
$(use_with winbind) |
175 |
" |
176 |
use "ads" && myconf+=" --with-shared-modules=idmap_ad" |
177 |
|
178 |
CPPFLAGS="-I/usr/include/et ${CPPFLAGS}" \ |
179 |
waf-utils_src_configure ${myconf} |
180 |
} |
181 |
|
182 |
src_install() { |
183 |
waf-utils_src_install |
184 |
|
185 |
# install ldap schema for server (bug #491002) |
186 |
if use ldap ; then |
187 |
insinto /etc/openldap/schema |
188 |
doins examples/LDAP/samba.schema |
189 |
fi |
190 |
|
191 |
# Make all .so files executable |
192 |
find "${D}" -type f -name "*.so" -exec chmod +x {} + |
193 |
|
194 |
# Install init script and conf.d file |
195 |
newinitd "${CONFDIR}/samba4.initd-r1" samba |
196 |
newconfd "${CONFDIR}/samba4.confd" samba |
197 |
|
198 |
systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
199 |
systemd_dounit "${FILESDIR}"/nmbd.service |
200 |
systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
201 |
systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
202 |
systemd_dounit "${FILESDIR}"/winbindd.service |
203 |
systemd_dounit "${FILESDIR}"/samba.service |
204 |
} |
205 |
|
206 |
src_test() { |
207 |
"${WAF_BINARY}" test || die "test failed" |
208 |
} |
209 |
|
210 |
pkg_postinst() { |
211 |
ewarn "Be aware the this release contains the best of all of Samba's" |
212 |
ewarn "technology parts, both a file server (that you can reasonably expect" |
213 |
ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
214 |
ewarn "controller work previously known as 'samba4'." |
215 |
|
216 |
elog "For further information and migration steps make sure to read " |
217 |
elog "http://samba.org/samba/history/${P}.html " |
218 |
elog "http://samba.org/samba/history/${PN}-4.0.0.html and" |
219 |
elog "http://wiki.samba.org/index.php/Samba4/HOWTO " |
220 |
} |