annotate net-fs/samba/samba-3.3.1.ebuild @ 107:72f3700549ac

noflushd is in portage
author holger@hoho.dyndns.org
date Tue, 03 Mar 2009 23:13:27 +0100
parents 97770c47a699
children ef3299334bd6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
101
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
1 # Copyright 1999-2008 Gentoo Foundation
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.2.0_rc2.ebuild,v 1.1 2008/06/12 12:10:25 dev-zero Exp $
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
4
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
5 inherit eutils pam multilib versionator confutils
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
6
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
7 MY_P=${PN}-${PV/_/}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
8
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
9 DESCRIPTION="A suite of SMB and CIFS client/server programs for UNIX"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
10 HOMEPAGE="http://www.samba.org/"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
11 SRC_URI="mirror://samba/${MY_P}.tar.gz"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
12 LICENSE="GPL-3"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
13 SLOT="0"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
14 KEYWORDS="~amd64 ~x86"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
15 IUSE_LINGUAS="linguas_ja linguas_pl"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
16 IUSE="${IUSE_LINGUAS} acl ads async automount caps cups doc examples ipv6 kernel_linux ldap fam
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
17 pam quotas readline selinux swat syslog winbind"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
18
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
19 RDEPEND="dev-libs/popt
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
20 dev-libs/iniparser
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
21 virtual/libiconv
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
22 acl? ( kernel_linux? ( sys-apps/acl ) )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
23 cups? ( net-print/cups )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
24 ipv6? ( sys-apps/xinetd )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
25 ads? ( virtual/krb5 sys-fs/e2fsprogs )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
26 ldap? ( net-nds/openldap )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
27 pam? ( virtual/pam )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
28 readline? ( sys-libs/readline )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
29 selinux? ( sec-policy/selinux-samba )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
30 swat? ( sys-apps/xinetd )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
31 syslog? ( virtual/logger )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
32 fam? ( virtual/fam )
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
33 caps? ( sys-libs/libcap )"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
34 DEPEND="${RDEPEND}"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
35
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
36 S="${WORKDIR}/${MY_P}"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
37 CONFDIR="${FILESDIR}/config-3.3"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
38 PRIVATE_DST=/var/lib/samba/private
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
39
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
40 # Tests are currently broken due to hardcoded paths (due to --with-fhs)
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
41 # The problem is that --without-fhs lets samba use lockdir (which can be changed in smb.conf)
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
42 # which is wrong as well.
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
43 RESTRICT="test"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
44
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
45 pkg_setup() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
46 confutils_use_depend_all ads ldap
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
47 }
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
48
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
49 src_unpack() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
50 unpack ${A}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
51 cd "${S}/source"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
52
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
53 # Ok, agreed, this is ugly. But it avoids a patch we
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
54 # need for every samba version and we don't need autotools
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
55 sed -i \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
56 -e 's|"lib32" ||' \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
57 -e 's|if test -d "$i/$l" ;|if test -d "$i/$l" -o -L "$i/$l";|' \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
58 configure || die "sed failed"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
59
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
60 rm "${S}/docs/manpages"/{mount,umount}.cifs.8
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
61
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
62 sed -i \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
63 -e 's|tdbsam|tdbsam:${PRIVATEDIR}/passdb.tdb|' \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
64 "${S}/source/script/tests/selftest.sh" || die "sed failed"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
65 }
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
66
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
67 src_compile() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
68 cd "${S}/source"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
69
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
70 local myconf
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
71 local mylangs
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
72 local mymod_shared
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
73
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
74 mylangs="--with-manpages-langs=en"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
75 use linguas_ja && mylangs="${mylangs},ja"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
76 use linguas_pl && mylangs="${mylangs},pl"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
77
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
78 use winbind && mymod_shared="--with-shared-modules=idmap_rid"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
79 if use ldap ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
80 myconf="${myconf} $(use_with ads)"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
81 use winbind && mymod_shared="${mymod_shared},idmap_ad"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
82 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
83
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
84 [[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
85 use hppa && myconf="${myconf} --disable-pie"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
86
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
87 use caps && export ac_cv_header_sys_capability_h=yes || export ac_cv_header_sys_capability_h=no
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
88
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
89 # Otherwise we get the whole swat stuff installed
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
90 if ! use swat ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
91 sed -i \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
92 -e 's/^\(install:.*\)installswat \(.*\)/\1\2/' \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
93 Makefile.in || die "sed failed"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
94 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
95
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
96 econf \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
97 --with-fhs \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
98 --sysconfdir=/etc/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
99 --localstatedir=/var \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
100 --with-configdir=/etc/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
101 --with-libdir=/usr/$(get_libdir)/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
102 --with-pammodulesdir=$(getpam_mod_dir) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
103 --with-swatdir=/usr/share/doc/${PF}/swat \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
104 --with-piddir=/var/run/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
105 --with-lockdir=/var/cache/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
106 --with-logfilebase=/var/log/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
107 --with-privatedir=${PRIVATE_DST} \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
108 --with-libsmbclient \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
109 --without-spinlocks \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
110 --enable-socket-wrapper \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
111 --enable-nss-wrapper \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
112 --with-cifsmount=no \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
113 $(use_with acl acl-support) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
114 $(use_with async aio-support) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
115 $(use_with automount) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
116 $(use_enable cups) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
117 $(use_enable fam) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
118 $(use_with ads krb5) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
119 $(use_with ads dnsupdate) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
120 $(use_with ldap) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
121 $(use_with pam) $(use_with pam pam_smbpass) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
122 $(use_with quotas) $(use_with quotas sys-quotas) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
123 $(use_with readline) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
124 $(use_with syslog) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
125 $(use_with winbind) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
126 ${myconf} ${mylangs} ${mymod_shared} || die "econf failed"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
127
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
128 emake proto || die "emake proto failed"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
129 emake everything || die "emake everything failed"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
130
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
131 }
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
132
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
133 src_test() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
134 cd "${S}/source"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
135 emake test || die "tests failed"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
136 }
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
137
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
138 src_install() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
139 cd "${S}/source"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
140
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
141 emake DESTDIR="${D}" install-everything || die "emake install-everything failed"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
142
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
143 # Extra rpctorture progs
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
144 local extra_bins="rpctorture"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
145 for i in ${extra_bins} ; do
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
146 [[ -x "${S}/bin/${i}" ]] && dobin "${S}/bin/${i}"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
147 done
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
148
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
149 # remove .old stuff from /usr/bin:
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
150 rm -f "${D}"/usr/bin/*.old
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
151
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
152 # Removing executable bits from header-files
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
153 fperms 644 /usr/include/libsmbclient.h
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
154
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
155 # Nsswitch extensions. Make link for wins and winbind resolvers
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
156 if use winbind ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
157 dolib.so nsswitch/libnss_wins.so
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
158 dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
159 dolib.so nsswitch/libnss_winbind.so
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
160 dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
161 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
162
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
163 # make the smb backend symlink for cups printing support (bug #133133)
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
164 if use cups ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
165 dodir $(cups-config --serverbin)/backend
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
166 dosym /usr/bin/smbspool $(cups-config --serverbin)/backend/smb
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
167 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
168
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
169 cd "${S}/source"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
170
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
171 # General config files
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
172 insinto /etc/samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
173 doins "${CONFDIR}"/{smbusers,lmhosts}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
174 newins "${CONFDIR}/smb.conf.example-samba3" smb.conf.example
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
175
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
176 newpamd "${CONFDIR}/samba.pam" samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
177 use winbind && dopamd "${CONFDIR}/system-auth-winbind"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
178 if use swat ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
179 insinto /etc/xinetd.d
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
180 newins "${CONFDIR}/swat.xinetd" swat
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
181 else
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
182 rm -f "${D}/usr/sbin/swat"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
183 rm -f "${D}/usr/share/man/man8/swat.8"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
184 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
185
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
186 newinitd "${FILESDIR}/samba-init" samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
187 newconfd "${FILESDIR}/samba-conf" samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
188
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
189 if use ldap ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
190 insinto /etc/openldap/schema
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
191 doins "${S}/examples/LDAP/samba.schema"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
192 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
193
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
194 if use ipv6 ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
195 insinto /etc/xinetd.d
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
196 newins "${FILESDIR}/samba-xinetd" smb
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
197 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
198
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
199 # dirs
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
200 diropts -m0700 ; keepdir "${PRIVATE_DST}"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
201 diropts -m1777 ; keepdir /var/spool/samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
202
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
203 diropts -m0755
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
204 keepdir /var/{log,run,cache}/samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
205 keepdir /var/lib/samba/{netlogon,profiles}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
206 keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC,X64,IA64,COLOR}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
207 keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
208
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
209 # docs
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
210 dodoc "${FILESDIR}/README.gentoo"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
211 dodoc "${S}"/{MAINTAINERS,README,Roadmap,WHATSNEW.txt}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
212 dodoc "${CONFDIR}/nsswitch.conf-wins"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
213 use winbind && dodoc "${CONFDIR}/nsswitch.conf-winbind"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
214
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
215 if use examples ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
216 insinto /usr/share/doc/${PF}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
217 doins -r "${S}/examples/"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
218 find "${D}/usr/share/doc/${PF}" -type d -print0 | xargs -0 chmod 755
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
219 find "${D}/usr/share/doc/${PF}/examples" ! -type d -print0 | xargs -0 chmod 644
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
220 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
221
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
222 if ! use doc ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
223 if ! use swat ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
224 rm -rf "${D}/usr/share/doc/${PF}/swat"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
225 else
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
226 rm -rf "${D}/usr/share/doc/${PF}/swat/help"/{guide,howto,devel}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
227 rm -rf "${D}/usr/share/doc/${PF}/swat/using_samba"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
228 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
229 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
230
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
231 }
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
232
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
233 pkg_preinst() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
234 local PRIVATE_SRC=/etc/samba/private
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
235 if [[ ! -r "${ROOT}/${PRIVATE_DST}/secrets.tdb" \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
236 && -r "${ROOT}/${PRIVATE_SRC}/secrets.tdb" ]] ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
237 ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
238 mkdir -p "${D}/${PRIVATE_DST}"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
239 cp -pPRf "${ROOT}/${PRIVATE_SRC}"/* "${D}/${PRIVATE_DST}/"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
240 eend $?
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
241 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
242
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
243 if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]] ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
244 touch "${D}/etc/samba/smb.conf"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
245 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
246 }
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
247
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
248 pkg_postinst() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
249 if use swat ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
250 einfo "swat must be enabled by xinetd:"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
251 einfo " change the /etc/xinetd.d/swat configuration"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
252 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
253
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
254 if use ipv6 ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
255 einfo "ipv6 support must be enabled by xinetd:"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
256 einfo " change the /etc/xinetd.d/smb configuration"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
257 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
258
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
259 elog "It is possible to start/stop daemons separately:"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
260 elog " Create a symlink from /etc/init.d/samba.{smbd,nmbd,winbind} to"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
261 elog " /etc/init.d/samba. Calling /etc/init.d/samba directly will start"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
262 elog " the daemons configured in /etc/conf.d/samba"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
263
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
264 elog "The mount/umount.cifs helper applications are not included anymore."
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
265 elog "Please install net-fs/mount-cifs instead."
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
266
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
267 ewarn "If you're upgrading from 3.0.24 or earlier, please make sure to"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
268 ewarn "restart your clients to clear any cached information about the server."
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
269 ewarn "Otherwise they might not be able to connect to the volumes."
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
270 }