1 |
commit: 3fe1c417dc8daa78453fdd0232ec5a708ad623b3 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 19:50:31 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 19:51:58 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fe1c417 |
7 |
|
8 |
net-fs/samba: Bump to versions 4.2.12, 4.3.9 and 4.4.3 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-fs/samba/Manifest | 5 + |
14 |
net-fs/samba/samba-4.2.12.ebuild | 256 +++++++++++++++++++++++++++++++++++++++ |
15 |
net-fs/samba/samba-4.3.9.ebuild | 248 +++++++++++++++++++++++++++++++++++++ |
16 |
net-fs/samba/samba-4.4.3.ebuild | 231 +++++++++++++++++++++++++++++++++++ |
17 |
4 files changed, 740 insertions(+) |
18 |
|
19 |
diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest |
20 |
index cb043f6..b2159bb 100644 |
21 |
--- a/net-fs/samba/Manifest |
22 |
+++ b/net-fs/samba/Manifest |
23 |
@@ -2,10 +2,15 @@ DIST samba-3.5.21.tar.gz 35377315 SHA256 fd9a66056b1ba9496762394efff41fcaa0e58f2 |
24 |
DIST samba-3.5.22.tar.gz 35385144 SHA256 b4c98f77f5634478da109063334acd9b6ad7bcb38151a5b1cac6dc5feb6679dc SHA512 0e1b4816d921ca82f0426a254cf103066634cc54e28d707a62da951118413f7f5ca5f87d60688cab802a58b0af87f797fbbe12f4e1284d5d7f545a98aba97616 WHIRLPOOL 6e59655dd7a537f0c7c889c43ddf5afb8060706e1ec79b3835698181c5c7478059f91c93eefbde50b03e0154a686eda35eabf807bb7ae01dd2b9b39648a009ae |
25 |
DIST samba-3.6.25.tar.gz 34121828 SHA256 8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751 SHA512 25a5c56dae4517e82e196b59fa301b661ec75db57effbb0ede35fb23b018f78cdea6513e8760966caf58abc43335fcebda77fe5bf5bb9d4b27fd3ca6e5a3b626 WHIRLPOOL 68c4a335b3912bf3c6baecae337b1131127515191052366ca9a04ec6d919f2fb69c912aefb087e2578134f3a9bde7b496ea880f2197a8dbf8221058dd1e8444d |
26 |
DIST samba-4.2.11.tar.gz 20875348 SHA256 75bce53c922e51352933c9846f2c4b1e251fabb80927adb426a773a321ee01f8 SHA512 293365f2718e756b66ccaec4b0dbce7044ade615b332f58968cf42dd1ec6b6445576590eaf5bd35fa00ba9aa4ba3be7720afc33763652e97731eebc3149f4820 WHIRLPOOL 1e04fd527e55c8d438c96a43d9a25a9b3e09a3edc504a2a5fe44bc8f9101c833c90e3ba3188b8872b046370916f3798e4fce0ffa7848b65f452b5c51ec7107f1 |
27 |
+DIST samba-4.2.12.tar.gz 20878216 SHA256 b334a86a92a1c2759c0b3dce20965e7fe820f0abafee38e6fd82eb9c5cd80514 SHA512 0edf606e03fbfbf8efda6e918f5ab0fd4284d38ae1b0c829f30ea01646eca73dd61b1239363960371a8dc64eaeaffbc4b1c216872ae431f7dfef2139b620e0be WHIRLPOOL f1de51eedd5172cc7c8fb3d0093be5aa1678de1f0b7a686be2c9eb962abb3219ed9232e79d03065c58a14f0b6482cb8bf5c8b3e166fec95911ace2b5dced0782 |
28 |
DIST samba-4.2.9.tar.gz 20750339 SHA256 ba0229485e8bebac22bd3ae98b1e393e7127f3a958cc90e205a6d752e575354c SHA512 438196f268c0ca0b83e8e7e9eb8e9a8b503d6408d5e2b0dca1d041185e06cfc08147122d5495b72c46ce58dc3cb4be4766551f0101c69b2620b89e749d89ad98 WHIRLPOOL aa7a655a3d2f2bf81d2747d83c86a0c7d464a31414b6e27a413461e1e0ad0ce3d3af5d756d8ce213e775f5141c44ef9c41a792e88d246bcab002b7623552260a |
29 |
DIST samba-4.3.8.tar.gz 20568773 SHA256 379dc66c3a0a483bf5bed37be6e5d182934db7c4102b21929a6c4602b32b2b10 SHA512 cb88b19733da2aad7c6843d31e5f017ac83e7021a4bf96e193661eec8d29be32512e04d0d427bea326c1ea955c120553e78bddca24bd354129ab65502c8afe43 WHIRLPOOL 5e8664e32d4cb5787d19729dc10208ef5ad0fa8ca8248a2e673a25271294d8c941a48cd680e369ec0fb4d07c3bcb4c6899c9f85614068c2721266fa140353df8 |
30 |
+DIST samba-4.3.9.tar.gz 20570849 SHA256 1f22c61a7f24c5357a9ef4d10833a2cd161f40f3db03bcbe586d7cd3a56139f3 SHA512 bc90c88d8defd3acec7c671e8ceacec31e3111540aabee7ec6f11cdeaf61bbd993525e2b765e3b50801c8079e1168cf496b3e5e6a56118d6493ae5da60d34c41 WHIRLPOOL e33efba4bfbaab5278ec62cbadb5f14fe2220d4b4ad1e57a4d26233d8b6bdf4318ad86d839b2638a490a195c04aabb02dafff67bb1e2999fab4f116b3c6367cc |
31 |
DIST samba-4.4.2.tar.gz 20711230 SHA256 eaecd41a85ebb9507b8db9856ada2a949376e9d53cf75664b5493658f6e5926a SHA512 ba965ee32d9cfd9c54ef523fc2ed4179000de956a563fdd91625d2bbcf6f07dd787c8b7e3dc4c824f46c87eea0aa97e7123d759992080fdfb2fde8554d18e3b7 WHIRLPOOL a4a51e8af98902bfed109fc126ad53c9222b498d947555bfe1223ae4dee5ea951561d8a4392e15221cf6010b2385df23688915b348852dbdc538dc84942a6b1d |
32 |
+DIST samba-4.4.3.tar.gz 20705861 SHA256 031e6ada6d15deae6850845eed41497af32207fb679d6c6c74f19acc99d437ba SHA512 25c447f476a54c7e5992d3010957401373eb99b89bcab3e80d7a5aee08413fab87d0dc87d43e7c541b4fa1778a8707121639f56a208dd634e0b1f905eb8afa7c WHIRLPOOL 4c62e58cf9d851ca114f3d3eea20350a589006acbe5fb9209c7be0617f435cee0c4a706906238a354a78d97aa6fdd45d40aef699a2c179ced3671f996fb2afc7 |
33 |
+DIST samba-disable-python-patches-4.2.12.tar.xz 6052 SHA256 8903eacbabdfaf7b64cbde03d7c367d1efdc92e54090f0f4b9ed5d2a462b1c18 SHA512 c527d0a052d3211e5b12c17bc94db56cc5e5545189ed65a760c0656c94c22e27a4b159e6439eb0370873e1619873a741f3b3bd10d3876b38eb3914a87eace372 WHIRLPOOL ad63db55d5dc96f56e6c9b30c2092e2f6e206b0ed5d13c249879d10753c8db2f475c5d4e651e2fc042ad992b648d3b4465f1b28c6b4bbf821cf503d27f741f7e |
34 |
DIST samba-disable-python-patches-4.2.9.tar.xz 6016 SHA256 222d0153f03dddde28a0b906ee2b27076223ac88b84a998aaa285f658861edfa SHA512 02fc666a36f8e733e522663d80775d130fabee9d5fb4e1c261d28815e07be425ae8977213f9216c7af62dd8b2619e7e13d71f9a25780b058c8119901c2115a18 WHIRLPOOL ebba3a6d41a41844621759672aa8c984d26f44d12007c8e929405470c381bc262523ec68d3972e86cf675c45f092fa287496167e42940e70d704790753e47b03 |
35 |
DIST samba-disable-python-patches-4.3.6.tar.xz 6076 SHA256 95f9194abcba917aa5e2e9623e897eb41127a8c74352ebf6a9bf0f4ba82fd1c0 SHA512 601026aae1fd960e3f4cf53c0f68e843a118f6dd4fc776d9a6503fd16f9789e743eb92b7ebf84179d63aaff20d1ddb1989cb995fc1da3cd2e843f6830f04f08f WHIRLPOOL 5afb076857f049469e65a13eb46af98f21b249d9c7ef9d731bd6f3aeb6e9512efc781b5392c0c7aaeb7a818e9e896f336a70b306122280d3ad432372bc6b0024 |
36 |
+DIST samba-disable-python-patches-4.3.9.tar.xz 6116 SHA256 83206112e04c375e170e86ea6b29d6dc2c172b55ba9fb89130be14708d758cf5 SHA512 ca8b62337afd1cc6059b9aefc0a3972d18ba90fba3f043d9730f6967e1b80c40bc918b0445b8ae8a1f3df74d3551f90c721df3c0514edccb881ed0b4fc54e1b5 WHIRLPOOL 3aebd6758e5e7dc2920b1e8f8825d2b7b7efac7c5f2d91d5ed6fed75597bfdced1b27d9e2a00385af5df19e5462a4e014df6a7274c0b25a660702268235ef746 |
37 |
DIST samba-disable-python-patches-4.4.2.tar.xz 6244 SHA256 774994cc6b1fcb7099667769159fe2f49eccbdadfc579793f733fe93e7e19874 SHA512 c79fa89b49d558e64e3e4406e2794651d300b8cf678a6714e03aa85352e3aeb21f8012f37fc6e488a39e7a13e86b92a82ee9fb3aabc2dfc86e5928f805a1a989 WHIRLPOOL 66fd03d0edb9b58c36c7e1beb7db6ddf60b194fe6d83f7c3b046a02cab565175e3332c92822f4ba0245f69d1d9f32f2ede2b5b5fe42d51ba17acbdca797ce3c8 |
38 |
DIST smb_traffic_analyzer_v2.diff.bz2 12226 SHA256 1bae7eafbe8ac2382313d5ab9d43d73ba64b63a714f0f588516952d476fb868d SHA512 aa0e457a0dd282e61e6dfcd5705c29b319832dca9711b1b5baf8373e2f079991399c3537c050219ccb861a93f86353ebff677a5c625d2e3f1f3a13ee5c4087d0 WHIRLPOOL 85ee72a360f67ebe71be5cd400ecd635280a0d7c64ebb8b94656a5ef1a94f74a987de86408af00ce1b81cc8363b1b3cf14726860d29b72ee610d4bab73d6b139 |
39 |
|
40 |
diff --git a/net-fs/samba/samba-4.2.12.ebuild b/net-fs/samba/samba-4.2.12.ebuild |
41 |
new file mode 100644 |
42 |
index 0000000..7514982 |
43 |
--- /dev/null |
44 |
+++ b/net-fs/samba/samba-4.2.12.ebuild |
45 |
@@ -0,0 +1,256 @@ |
46 |
+# Copyright 1999-2016 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+# $Id$ |
49 |
+ |
50 |
+EAPI=5 |
51 |
+PYTHON_COMPAT=( python2_7 ) |
52 |
+PYTHON_REQ_USE='threads(+),xml(+)' |
53 |
+ |
54 |
+inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils |
55 |
+ |
56 |
+MY_PV="${PV/_rc/rc}" |
57 |
+MY_P="${PN}-${MY_PV}" |
58 |
+ |
59 |
+SRC_PATH="stable" |
60 |
+[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
61 |
+ |
62 |
+SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz |
63 |
+ https://dev.gentoo.org/~polynomial-c/samba-disable-python-patches-4.2.12.tar.xz" |
64 |
+[[ ${PV} = *_rc* ]] || \ |
65 |
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~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 addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint |
74 |
+ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind" |
75 |
+ |
76 |
+MULTILIB_WRAPPED_HEADERS=( |
77 |
+ /usr/include/samba-4.0/policy.h |
78 |
+ /usr/include/samba-4.0/dcerpc_server.h |
79 |
+ /usr/include/samba-4.0/ctdb.h |
80 |
+ /usr/include/samba-4.0/ctdb_client.h |
81 |
+ /usr/include/samba-4.0/ctdb_protocol.h |
82 |
+ /usr/include/samba-4.0/ctdb_private.h |
83 |
+ /usr/include/samba-4.0/ctdb_typesafe_cb.h |
84 |
+ /usr/include/samba-4.0/ctdb_version.h |
85 |
+) |
86 |
+ |
87 |
+# sys-apps/attr is an automagic dependency (see bug #489748) |
88 |
+CDEPEND="${PYTHON_DEPS} |
89 |
+ >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
90 |
+ dev-libs/libbsd[${MULTILIB_USEDEP}] |
91 |
+ dev-libs/iniparser:0 |
92 |
+ dev-libs/popt[${MULTILIB_USEDEP}] |
93 |
+ sys-libs/readline:= |
94 |
+ virtual/libiconv |
95 |
+ dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
96 |
+ >=net-libs/socket_wrapper-1.1.2[${MULTILIB_USEDEP}] |
97 |
+ sys-apps/attr[${MULTILIB_USEDEP}] |
98 |
+ sys-libs/libcap |
99 |
+ >=sys-libs/ldb-1.1.24[${MULTILIB_USEDEP}] |
100 |
+ sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
101 |
+ >=sys-libs/nss_wrapper-1.0.2[${MULTILIB_USEDEP}] |
102 |
+ >=sys-libs/ntdb-1.0[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
103 |
+ >=sys-libs/talloc-2.1.2[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
104 |
+ >=sys-libs/tdb-1.3.6[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
105 |
+ >=sys-libs/tevent-0.9.25[${MULTILIB_USEDEP}] |
106 |
+ >=sys-libs/uid_wrapper-1.0.1[${MULTILIB_USEDEP}] |
107 |
+ sys-libs/zlib[${MULTILIB_USEDEP}] |
108 |
+ acl? ( virtual/acl ) |
109 |
+ addns? ( net-dns/bind-tools[gssapi] ) |
110 |
+ aio? ( dev-libs/libaio ) |
111 |
+ cluster? ( !dev-db/ctdb ) |
112 |
+ cups? ( net-print/cups ) |
113 |
+ dmapi? ( sys-apps/dmapi ) |
114 |
+ fam? ( virtual/fam ) |
115 |
+ gnutls? ( dev-libs/libgcrypt:0 |
116 |
+ >=net-libs/gnutls-1.4.0 ) |
117 |
+ ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
118 |
+ pam? ( virtual/pam ) |
119 |
+ system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] ) |
120 |
+ !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
121 |
+ systemd? ( sys-apps/systemd:0= )" |
122 |
+DEPEND="${CDEPEND} |
123 |
+ virtual/pkgconfig" |
124 |
+RDEPEND="${CDEPEND} |
125 |
+ client? ( net-fs/cifs-utils[ads?] ) |
126 |
+ selinux? ( sec-policy/selinux-samba ) |
127 |
+" |
128 |
+ |
129 |
+REQUIRED_USE="addc? ( gnutls !system-mitkrb5 ) |
130 |
+ ads? ( acl gnutls ldap ) |
131 |
+ ${PYTHON_REQUIRED_USE}" |
132 |
+ |
133 |
+S="${WORKDIR}/${MY_P}" |
134 |
+ |
135 |
+PATCHES=( |
136 |
+ "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" |
137 |
+ "${FILESDIR}/${PN}-4.2.7-pam.patch" |
138 |
+) |
139 |
+ |
140 |
+CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
141 |
+ |
142 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
143 |
+ |
144 |
+SHAREDMODS="" |
145 |
+ |
146 |
+pkg_setup() { |
147 |
+ python-single-r1_pkg_setup |
148 |
+ if use aio ; then |
149 |
+ if ! linux_config_exists || ! linux_chkconfig_present AIO; then |
150 |
+ ewarn "You must enable AIO support in your kernel config, " |
151 |
+ ewarn "to be able to support asynchronous I/O. " |
152 |
+ ewarn "You can find it at" |
153 |
+ ewarn |
154 |
+ ewarn "General Support" |
155 |
+ ewarn " Enable AIO support " |
156 |
+ ewarn |
157 |
+ ewarn "and recompile your kernel..." |
158 |
+ fi |
159 |
+ fi |
160 |
+ if use cluster ; then |
161 |
+ SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad" |
162 |
+ fi |
163 |
+} |
164 |
+ |
165 |
+src_prepare() { |
166 |
+ epatch ${PATCHES[@]} |
167 |
+ |
168 |
+ # install the patches from tarball(s) |
169 |
+ EPATCH_SUFFIX="patch" \ |
170 |
+ EPATCH_FORCE="yes" \ |
171 |
+ epatch "${WORKDIR}/patches" |
172 |
+ |
173 |
+ # Allow user patches |
174 |
+ epatch_user |
175 |
+ multilib_copy_sources |
176 |
+} |
177 |
+ |
178 |
+multilib_src_configure() { |
179 |
+ local myconf=() |
180 |
+ myconf=( |
181 |
+ --enable-fhs |
182 |
+ --sysconfdir=/etc |
183 |
+ --localstatedir=/var |
184 |
+ --with-modulesdir=/usr/$(get_libdir)/samba |
185 |
+ --with-piddir=/run/${PN} |
186 |
+ --bundled-libraries=NONE |
187 |
+ --builtin-libraries=NONE |
188 |
+ --disable-rpath |
189 |
+ --disable-rpath-install |
190 |
+ --nopyc |
191 |
+ --nopyo |
192 |
+ ) |
193 |
+ if multilib_is_native_abi ; then |
194 |
+ myconf+=( |
195 |
+ $(use_with acl acl-support) |
196 |
+ $(usex addc '' '--without-ad-dc') |
197 |
+ $(use_with addns dnsupdate) |
198 |
+ $(use_with ads) |
199 |
+ $(usex ads '--with-shared-modules=idmap_ad' '') |
200 |
+ $(use_with aio aio-support) |
201 |
+ $(use_enable avahi) |
202 |
+ $(use_with cluster cluster-support) |
203 |
+ $(use_enable cups) |
204 |
+ $(use_with dmapi) |
205 |
+ $(use_with fam) |
206 |
+ $(use_enable gnutls) |
207 |
+ $(use_enable iprint) |
208 |
+ $(use_with ldap) |
209 |
+ $(use_with pam) |
210 |
+ $(use_with pam pam_smbpass) |
211 |
+ $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '') |
212 |
+ $(use_with quota quotas) |
213 |
+ $(use_with syslog) |
214 |
+ $(use_with systemd) |
215 |
+ $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
216 |
+ $(use_with winbind) |
217 |
+ $(usex test '--enable-selftest' '') |
218 |
+ --with-shared-modules=${SHAREDMODS} |
219 |
+ ) |
220 |
+ else |
221 |
+ myconf+=( |
222 |
+ --without-acl-support |
223 |
+ --without-ad-dc |
224 |
+ --without-dnsupdate |
225 |
+ --without-ads |
226 |
+ --without-aio-support |
227 |
+ --disable-avahi |
228 |
+ --without-cluster-support |
229 |
+ --disable-cups |
230 |
+ --without-dmapi |
231 |
+ --without-fam |
232 |
+ --disable-gnutls |
233 |
+ --disable-iprint |
234 |
+ $(use_with ldap) |
235 |
+ --without-pam |
236 |
+ --without-pam_smbpass |
237 |
+ --without-quotas |
238 |
+ --without-syslog |
239 |
+ --without-systemd |
240 |
+ $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
241 |
+ --without-winbind |
242 |
+ --disable-python |
243 |
+ ) |
244 |
+ fi |
245 |
+ |
246 |
+ CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \ |
247 |
+ waf-utils_src_configure ${myconf[@]} |
248 |
+} |
249 |
+ |
250 |
+multilib_src_install() { |
251 |
+ waf-utils_src_install |
252 |
+ |
253 |
+ # Make all .so files executable |
254 |
+ find "${D}" -type f -name "*.so" -exec chmod +x {} + |
255 |
+ |
256 |
+ if multilib_is_native_abi; then |
257 |
+ # install ldap schema for server (bug #491002) |
258 |
+ if use ldap ; then |
259 |
+ insinto /etc/openldap/schema |
260 |
+ doins examples/LDAP/samba.schema |
261 |
+ fi |
262 |
+ |
263 |
+ # create symlink for cups (bug #552310) |
264 |
+ if use cups ; then |
265 |
+ dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb |
266 |
+ fi |
267 |
+ |
268 |
+ # install example config file |
269 |
+ insinto /etc/samba |
270 |
+ doins examples/smb.conf.default |
271 |
+ |
272 |
+ # Install init script and conf.d file |
273 |
+ newinitd "${CONFDIR}/samba4.initd-r1" samba |
274 |
+ newconfd "${CONFDIR}/samba4.confd" samba |
275 |
+ |
276 |
+ systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
277 |
+ systemd_dounit "${FILESDIR}"/nmbd.service |
278 |
+ systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
279 |
+ systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
280 |
+ systemd_dounit "${FILESDIR}"/winbindd.service |
281 |
+ systemd_dounit "${FILESDIR}"/samba.service |
282 |
+ fi |
283 |
+} |
284 |
+ |
285 |
+multilib_src_test() { |
286 |
+ if multilib_is_native_abi ; then |
287 |
+ "${WAF_BINARY}" test || die "test failed" |
288 |
+ fi |
289 |
+} |
290 |
+ |
291 |
+pkg_postinst() { |
292 |
+ ewarn "Be aware the this release contains the best of all of Samba's" |
293 |
+ ewarn "technology parts, both a file server (that you can reasonably expect" |
294 |
+ ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
295 |
+ ewarn "controller work previously known as 'samba4'." |
296 |
+ |
297 |
+ elog "For further information and migration steps make sure to read " |
298 |
+ elog "http://samba.org/samba/history/${P}.html " |
299 |
+ elog "http://samba.org/samba/history/${PN}-4.2.0.html and" |
300 |
+ elog "http://wiki.samba.org/index.php/Samba4/HOWTO " |
301 |
+} |
302 |
|
303 |
diff --git a/net-fs/samba/samba-4.3.9.ebuild b/net-fs/samba/samba-4.3.9.ebuild |
304 |
new file mode 100644 |
305 |
index 0000000..18a5913 |
306 |
--- /dev/null |
307 |
+++ b/net-fs/samba/samba-4.3.9.ebuild |
308 |
@@ -0,0 +1,248 @@ |
309 |
+# Copyright 1999-2016 Gentoo Foundation |
310 |
+# Distributed under the terms of the GNU General Public License v2 |
311 |
+# $Id$ |
312 |
+ |
313 |
+EAPI=6 |
314 |
+PYTHON_COMPAT=( python2_7 ) |
315 |
+PYTHON_REQ_USE='threads(+),xml(+)' |
316 |
+ |
317 |
+inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils |
318 |
+ |
319 |
+MY_PV="${PV/_rc/rc}" |
320 |
+MY_P="${PN}-${MY_PV}" |
321 |
+ |
322 |
+SRC_PATH="stable" |
323 |
+[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
324 |
+ |
325 |
+SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz |
326 |
+ https://dev.gentoo.org/~polynomial-c/samba-disable-python-patches-4.3.9.tar.xz" |
327 |
+[[ ${PV} = *_rc* ]] || \ |
328 |
+KEYWORDS="~amd64 ~hppa ~x86" |
329 |
+ |
330 |
+DESCRIPTION="Samba Suite Version 4" |
331 |
+HOMEPAGE="http://www.samba.org/" |
332 |
+LICENSE="GPL-3" |
333 |
+ |
334 |
+SLOT="0" |
335 |
+ |
336 |
+IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint |
337 |
+ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind" |
338 |
+ |
339 |
+MULTILIB_WRAPPED_HEADERS=( |
340 |
+ /usr/include/samba-4.0/policy.h |
341 |
+ /usr/include/samba-4.0/dcerpc_server.h |
342 |
+ /usr/include/samba-4.0/ctdb.h |
343 |
+ /usr/include/samba-4.0/ctdb_client.h |
344 |
+ /usr/include/samba-4.0/ctdb_protocol.h |
345 |
+ /usr/include/samba-4.0/ctdb_private.h |
346 |
+ /usr/include/samba-4.0/ctdb_typesafe_cb.h |
347 |
+ /usr/include/samba-4.0/ctdb_version.h |
348 |
+) |
349 |
+ |
350 |
+# sys-apps/attr is an automagic dependency (see bug #489748) |
351 |
+CDEPEND="${PYTHON_DEPS} |
352 |
+ >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
353 |
+ dev-libs/libbsd[${MULTILIB_USEDEP}] |
354 |
+ dev-libs/iniparser:0 |
355 |
+ dev-libs/popt[${MULTILIB_USEDEP}] |
356 |
+ sys-libs/readline:= |
357 |
+ virtual/libiconv |
358 |
+ dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
359 |
+ sys-apps/attr[${MULTILIB_USEDEP}] |
360 |
+ sys-libs/libcap |
361 |
+ >=sys-libs/ldb-1.1.24[${MULTILIB_USEDEP}] |
362 |
+ sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
363 |
+ >=sys-libs/talloc-2.1.3[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
364 |
+ >=sys-libs/tdb-1.3.7[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
365 |
+ >=sys-libs/tevent-0.9.25[${MULTILIB_USEDEP}] |
366 |
+ sys-libs/zlib[${MULTILIB_USEDEP}] |
367 |
+ virtual/pam |
368 |
+ acl? ( virtual/acl ) |
369 |
+ addns? ( net-dns/bind-tools[gssapi] ) |
370 |
+ aio? ( dev-libs/libaio ) |
371 |
+ cluster? ( !dev-db/ctdb ) |
372 |
+ cups? ( net-print/cups ) |
373 |
+ dmapi? ( sys-apps/dmapi ) |
374 |
+ fam? ( virtual/fam ) |
375 |
+ gnutls? ( dev-libs/libgcrypt:0 |
376 |
+ >=net-libs/gnutls-1.4.0 ) |
377 |
+ ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
378 |
+ system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] ) |
379 |
+ !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
380 |
+ systemd? ( sys-apps/systemd:0= )" |
381 |
+DEPEND="${CDEPEND} |
382 |
+ virtual/pkgconfig" |
383 |
+RDEPEND="${CDEPEND} |
384 |
+ client? ( net-fs/cifs-utils[ads?] ) |
385 |
+ selinux? ( sec-policy/selinux-samba ) |
386 |
+" |
387 |
+ |
388 |
+REQUIRED_USE="addc? ( gnutls !system-mitkrb5 ) |
389 |
+ ads? ( acl gnutls ldap ) |
390 |
+ ${PYTHON_REQUIRED_USE}" |
391 |
+ |
392 |
+S="${WORKDIR}/${MY_P}" |
393 |
+ |
394 |
+PATCHES=( |
395 |
+ "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" |
396 |
+ "${FILESDIR}/${PN}-4.2.7-pam.patch" |
397 |
+) |
398 |
+ |
399 |
+CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
400 |
+ |
401 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
402 |
+ |
403 |
+SHAREDMODS="" |
404 |
+ |
405 |
+pkg_setup() { |
406 |
+ python-single-r1_pkg_setup |
407 |
+ if use aio ; then |
408 |
+ if ! linux_config_exists || ! linux_chkconfig_present AIO; then |
409 |
+ ewarn "You must enable AIO support in your kernel config, " |
410 |
+ ewarn "to be able to support asynchronous I/O. " |
411 |
+ ewarn "You can find it at" |
412 |
+ ewarn |
413 |
+ ewarn "General Support" |
414 |
+ ewarn " Enable AIO support " |
415 |
+ ewarn |
416 |
+ ewarn "and recompile your kernel..." |
417 |
+ fi |
418 |
+ fi |
419 |
+ if use cluster ; then |
420 |
+ SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad" |
421 |
+ fi |
422 |
+} |
423 |
+ |
424 |
+src_prepare() { |
425 |
+ default |
426 |
+ |
427 |
+ # install the patches from tarball(s) |
428 |
+ eapply "${WORKDIR}/patches/" |
429 |
+ |
430 |
+ multilib_copy_sources |
431 |
+} |
432 |
+ |
433 |
+multilib_src_configure() { |
434 |
+ local myconf=() |
435 |
+ myconf=( |
436 |
+ --enable-fhs |
437 |
+ --sysconfdir=/etc |
438 |
+ --localstatedir=/var |
439 |
+ --with-modulesdir=/usr/$(get_libdir)/samba |
440 |
+ --with-piddir=/run/${PN} |
441 |
+ --bundled-libraries=NONE |
442 |
+ --builtin-libraries=NONE |
443 |
+ --disable-rpath |
444 |
+ --disable-rpath-install |
445 |
+ --nopyc |
446 |
+ --nopyo |
447 |
+ ) |
448 |
+ if multilib_is_native_abi ; then |
449 |
+ myconf+=( |
450 |
+ $(use_with acl acl-support) |
451 |
+ $(usex addc '' '--without-ad-dc') |
452 |
+ $(use_with addns dnsupdate) |
453 |
+ $(use_with ads) |
454 |
+ $(usex ads '--with-shared-modules=idmap_ad' '') |
455 |
+ $(use_with aio aio-support) |
456 |
+ $(use_enable avahi) |
457 |
+ $(use_with cluster cluster-support) |
458 |
+ $(use_enable cups) |
459 |
+ $(use_with dmapi) |
460 |
+ $(use_with fam) |
461 |
+ $(use_enable gnutls) |
462 |
+ $(use_enable iprint) |
463 |
+ $(use_with ldap) |
464 |
+ $(use_with pam) |
465 |
+ $(use_with pam pam_smbpass) |
466 |
+ $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '') |
467 |
+ $(use_with quota quotas) |
468 |
+ $(use_with syslog) |
469 |
+ $(use_with systemd) |
470 |
+ $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
471 |
+ $(use_with winbind) |
472 |
+ $(usex test '--enable-selftest' '') |
473 |
+ --with-shared-modules=${SHAREDMODS} |
474 |
+ ) |
475 |
+ else |
476 |
+ myconf+=( |
477 |
+ --without-acl-support |
478 |
+ --without-ad-dc |
479 |
+ --without-dnsupdate |
480 |
+ --without-ads |
481 |
+ --without-aio-support |
482 |
+ --disable-avahi |
483 |
+ --without-cluster-support |
484 |
+ --disable-cups |
485 |
+ --without-dmapi |
486 |
+ --without-fam |
487 |
+ --disable-gnutls |
488 |
+ --disable-iprint |
489 |
+ $(use_with ldap) |
490 |
+ --without-pam |
491 |
+ --without-pam_smbpass |
492 |
+ --without-quotas |
493 |
+ --without-syslog |
494 |
+ --without-systemd |
495 |
+ $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
496 |
+ --without-winbind |
497 |
+ --disable-python |
498 |
+ ) |
499 |
+ fi |
500 |
+ |
501 |
+ CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \ |
502 |
+ waf-utils_src_configure ${myconf[@]} |
503 |
+} |
504 |
+ |
505 |
+multilib_src_install() { |
506 |
+ waf-utils_src_install |
507 |
+ |
508 |
+ # Make all .so files executable |
509 |
+ find "${D}" -type f -name "*.so" -exec chmod +x {} + |
510 |
+ |
511 |
+ if multilib_is_native_abi; then |
512 |
+ # install ldap schema for server (bug #491002) |
513 |
+ if use ldap ; then |
514 |
+ insinto /etc/openldap/schema |
515 |
+ doins examples/LDAP/samba.schema |
516 |
+ fi |
517 |
+ |
518 |
+ # create symlink for cups (bug #552310) |
519 |
+ if use cups ; then |
520 |
+ dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb |
521 |
+ fi |
522 |
+ |
523 |
+ # install example config file |
524 |
+ insinto /etc/samba |
525 |
+ doins examples/smb.conf.default |
526 |
+ |
527 |
+ # Install init script and conf.d file |
528 |
+ newinitd "${CONFDIR}/samba4.initd-r1" samba |
529 |
+ newconfd "${CONFDIR}/samba4.confd" samba |
530 |
+ |
531 |
+ systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
532 |
+ systemd_dounit "${FILESDIR}"/nmbd.service |
533 |
+ systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
534 |
+ systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
535 |
+ systemd_dounit "${FILESDIR}"/winbindd.service |
536 |
+ systemd_dounit "${FILESDIR}"/samba.service |
537 |
+ fi |
538 |
+} |
539 |
+ |
540 |
+multilib_src_test() { |
541 |
+ if multilib_is_native_abi ; then |
542 |
+ "${WAF_BINARY}" test || die "test failed" |
543 |
+ fi |
544 |
+} |
545 |
+ |
546 |
+pkg_postinst() { |
547 |
+ ewarn "Be aware the this release contains the best of all of Samba's" |
548 |
+ ewarn "technology parts, both a file server (that you can reasonably expect" |
549 |
+ ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
550 |
+ ewarn "controller work previously known as 'samba4'." |
551 |
+ |
552 |
+ elog "For further information and migration steps make sure to read " |
553 |
+ elog "http://samba.org/samba/history/${P}.html " |
554 |
+ elog "http://samba.org/samba/history/${PN}-4.2.0.html and" |
555 |
+ elog "http://wiki.samba.org/index.php/Samba4/HOWTO " |
556 |
+} |
557 |
|
558 |
diff --git a/net-fs/samba/samba-4.4.3.ebuild b/net-fs/samba/samba-4.4.3.ebuild |
559 |
new file mode 100644 |
560 |
index 0000000..7d3911c |
561 |
--- /dev/null |
562 |
+++ b/net-fs/samba/samba-4.4.3.ebuild |
563 |
@@ -0,0 +1,231 @@ |
564 |
+# Copyright 1999-2016 Gentoo Foundation |
565 |
+# Distributed under the terms of the GNU General Public License v2 |
566 |
+# $Id$ |
567 |
+ |
568 |
+EAPI=6 |
569 |
+PYTHON_COMPAT=( python2_7 ) |
570 |
+PYTHON_REQ_USE='threads(+),xml(+)' |
571 |
+ |
572 |
+inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils |
573 |
+ |
574 |
+MY_PV="${PV/_rc/rc}" |
575 |
+MY_P="${PN}-${MY_PV}" |
576 |
+ |
577 |
+SRC_PATH="stable" |
578 |
+[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
579 |
+ |
580 |
+SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz |
581 |
+ https://dev.gentoo.org/~axs/distfiles/samba-disable-python-patches-4.4.2.tar.xz" |
582 |
+[[ ${PV} = *_rc* ]] || \ |
583 |
+KEYWORDS="~amd64 ~hppa ~x86" |
584 |
+ |
585 |
+DESCRIPTION="Samba Suite Version 4" |
586 |
+HOMEPAGE="http://www.samba.org/" |
587 |
+LICENSE="GPL-3" |
588 |
+ |
589 |
+SLOT="0" |
590 |
+ |
591 |
+IUSE="acl addc addns ads avahi client cluster cups dmapi fam gnutls iprint |
592 |
+ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind" |
593 |
+ |
594 |
+MULTILIB_WRAPPED_HEADERS=( |
595 |
+ /usr/include/samba-4.0/policy.h |
596 |
+ /usr/include/samba-4.0/dcerpc_server.h |
597 |
+ /usr/include/samba-4.0/ctdb.h |
598 |
+ /usr/include/samba-4.0/ctdb_client.h |
599 |
+ /usr/include/samba-4.0/ctdb_protocol.h |
600 |
+ /usr/include/samba-4.0/ctdb_private.h |
601 |
+ /usr/include/samba-4.0/ctdb_typesafe_cb.h |
602 |
+ /usr/include/samba-4.0/ctdb_version.h |
603 |
+) |
604 |
+ |
605 |
+# sys-apps/attr is an automagic dependency (see bug #489748) |
606 |
+CDEPEND="${PYTHON_DEPS} |
607 |
+ >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
608 |
+ dev-libs/libbsd[${MULTILIB_USEDEP}] |
609 |
+ dev-libs/iniparser:0 |
610 |
+ dev-libs/popt[${MULTILIB_USEDEP}] |
611 |
+ sys-libs/readline:= |
612 |
+ virtual/libiconv |
613 |
+ dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
614 |
+ sys-apps/attr[${MULTILIB_USEDEP}] |
615 |
+ sys-libs/libcap |
616 |
+ >=sys-libs/ldb-1.1.26[${MULTILIB_USEDEP}] |
617 |
+ sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
618 |
+ >=sys-libs/talloc-2.1.6[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
619 |
+ >=sys-libs/tdb-1.3.8[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
620 |
+ >=sys-libs/tevent-0.9.28[${MULTILIB_USEDEP}] |
621 |
+ sys-libs/zlib[${MULTILIB_USEDEP}] |
622 |
+ virtual/pam |
623 |
+ acl? ( virtual/acl ) |
624 |
+ addns? ( net-dns/bind-tools[gssapi] ) |
625 |
+ cluster? ( !dev-db/ctdb ) |
626 |
+ cups? ( net-print/cups ) |
627 |
+ dmapi? ( sys-apps/dmapi ) |
628 |
+ fam? ( virtual/fam ) |
629 |
+ gnutls? ( dev-libs/libgcrypt:0 |
630 |
+ >=net-libs/gnutls-1.4.0 ) |
631 |
+ ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
632 |
+ system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] ) |
633 |
+ !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
634 |
+ systemd? ( sys-apps/systemd:0= )" |
635 |
+DEPEND="${CDEPEND} |
636 |
+ virtual/pkgconfig" |
637 |
+RDEPEND="${CDEPEND} |
638 |
+ client? ( net-fs/cifs-utils[ads?] ) |
639 |
+ selinux? ( sec-policy/selinux-samba ) |
640 |
+" |
641 |
+ |
642 |
+REQUIRED_USE="addc? ( gnutls !system-mitkrb5 ) |
643 |
+ ads? ( acl gnutls ldap ) |
644 |
+ ${PYTHON_REQUIRED_USE}" |
645 |
+ |
646 |
+S="${WORKDIR}/${MY_P}" |
647 |
+ |
648 |
+PATCHES=( |
649 |
+ "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" |
650 |
+ "${FILESDIR}/${PN}-4.4.0-pam.patch" |
651 |
+) |
652 |
+ |
653 |
+CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
654 |
+ |
655 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
656 |
+ |
657 |
+SHAREDMODS="" |
658 |
+ |
659 |
+pkg_setup() { |
660 |
+ python-single-r1_pkg_setup |
661 |
+ if use cluster ; then |
662 |
+ SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad" |
663 |
+ fi |
664 |
+} |
665 |
+ |
666 |
+src_prepare() { |
667 |
+ default |
668 |
+ |
669 |
+ # install the patches from tarball(s) |
670 |
+ eapply "${WORKDIR}/patches/" |
671 |
+ |
672 |
+ multilib_copy_sources |
673 |
+} |
674 |
+ |
675 |
+multilib_src_configure() { |
676 |
+ local myconf=() |
677 |
+ myconf=( |
678 |
+ --enable-fhs |
679 |
+ --sysconfdir=/etc |
680 |
+ --localstatedir=/var |
681 |
+ --with-modulesdir=/usr/$(get_libdir)/samba |
682 |
+ --with-piddir=/run/${PN} |
683 |
+ --bundled-libraries=NONE |
684 |
+ --builtin-libraries=NONE |
685 |
+ --disable-rpath |
686 |
+ --disable-rpath-install |
687 |
+ --nopyc |
688 |
+ --nopyo |
689 |
+ ) |
690 |
+ if multilib_is_native_abi ; then |
691 |
+ myconf+=( |
692 |
+ $(use_with acl acl-support) |
693 |
+ $(usex addc '' '--without-ad-dc') |
694 |
+ $(use_with addns dnsupdate) |
695 |
+ $(use_with ads) |
696 |
+ $(usex ads '--with-shared-modules=idmap_ad' '') |
697 |
+ $(use_enable avahi) |
698 |
+ $(use_with cluster cluster-support) |
699 |
+ $(use_enable cups) |
700 |
+ $(use_with dmapi) |
701 |
+ $(use_with fam) |
702 |
+ $(use_enable gnutls) |
703 |
+ $(use_enable iprint) |
704 |
+ $(use_with ldap) |
705 |
+ $(use_with pam) |
706 |
+ $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '') |
707 |
+ $(use_with quota quotas) |
708 |
+ $(use_with syslog) |
709 |
+ $(use_with systemd) |
710 |
+ $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
711 |
+ $(use_with winbind) |
712 |
+ $(usex test '--enable-selftest' '') |
713 |
+ --with-shared-modules=${SHAREDMODS} |
714 |
+ ) |
715 |
+ else |
716 |
+ myconf+=( |
717 |
+ --without-acl-support |
718 |
+ --without-ad-dc |
719 |
+ --without-dnsupdate |
720 |
+ --without-ads |
721 |
+ --disable-avahi |
722 |
+ --without-cluster-support |
723 |
+ --disable-cups |
724 |
+ --without-dmapi |
725 |
+ --without-fam |
726 |
+ --disable-gnutls |
727 |
+ --disable-iprint |
728 |
+ $(use_with ldap) |
729 |
+ --without-pam |
730 |
+ --without-quotas |
731 |
+ --without-syslog |
732 |
+ --without-systemd |
733 |
+ $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
734 |
+ --without-winbind |
735 |
+ --disable-python |
736 |
+ ) |
737 |
+ fi |
738 |
+ |
739 |
+ CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \ |
740 |
+ waf-utils_src_configure ${myconf[@]} |
741 |
+} |
742 |
+ |
743 |
+multilib_src_install() { |
744 |
+ waf-utils_src_install |
745 |
+ |
746 |
+ # Make all .so files executable |
747 |
+ find "${D}" -type f -name "*.so" -exec chmod +x {} + |
748 |
+ |
749 |
+ if multilib_is_native_abi; then |
750 |
+ # install ldap schema for server (bug #491002) |
751 |
+ if use ldap ; then |
752 |
+ insinto /etc/openldap/schema |
753 |
+ doins examples/LDAP/samba.schema |
754 |
+ fi |
755 |
+ |
756 |
+ # create symlink for cups (bug #552310) |
757 |
+ if use cups ; then |
758 |
+ dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb |
759 |
+ fi |
760 |
+ |
761 |
+ # install example config file |
762 |
+ insinto /etc/samba |
763 |
+ doins examples/smb.conf.default |
764 |
+ |
765 |
+ # Install init script and conf.d file |
766 |
+ newinitd "${CONFDIR}/samba4.initd-r1" samba |
767 |
+ newconfd "${CONFDIR}/samba4.confd" samba |
768 |
+ |
769 |
+ systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
770 |
+ systemd_dounit "${FILESDIR}"/nmbd.service |
771 |
+ systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
772 |
+ systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
773 |
+ systemd_dounit "${FILESDIR}"/winbindd.service |
774 |
+ systemd_dounit "${FILESDIR}"/samba.service |
775 |
+ fi |
776 |
+} |
777 |
+ |
778 |
+multilib_src_test() { |
779 |
+ if multilib_is_native_abi ; then |
780 |
+ "${WAF_BINARY}" test || die "test failed" |
781 |
+ fi |
782 |
+} |
783 |
+ |
784 |
+pkg_postinst() { |
785 |
+ ewarn "Be aware the this release contains the best of all of Samba's" |
786 |
+ ewarn "technology parts, both a file server (that you can reasonably expect" |
787 |
+ ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
788 |
+ ewarn "controller work previously known as 'samba4'." |
789 |
+ |
790 |
+ elog "For further information and migration steps make sure to read " |
791 |
+ elog "http://samba.org/samba/history/${P}.html " |
792 |
+ elog "http://samba.org/samba/history/${PN}-4.2.0.html and" |
793 |
+ elog "http://wiki.samba.org/index.php/Samba4/HOWTO " |
794 |
+} |