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