annotate net-fs/samba/samba-3.3.6.ebuild @ 137:cf4f92864e7c

update samba to 3.3.6
author holger
date Thu, 25 Jun 2009 02:29:03 +0200
parents net-fs/samba/samba-3.3.5.ebuild@d836e68caf96
children
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 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
75 if use ldap ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
76 myconf="${myconf} $(use_with ads)"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
77 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
78 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
79
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
80 [[ ${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
81 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
82
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
83 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
84
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
85 # 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
86 if ! use swat ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
87 sed -i \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
88 -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
89 Makefile.in || die "sed failed"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
90 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
91
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
92 econf \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
93 --with-fhs \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
94 --sysconfdir=/etc/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
95 --localstatedir=/var \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
96 --with-configdir=/etc/samba \
117
ef3299334bd6 fix configure options
holger@hoho.dyndns.org
parents: 104
diff changeset
97 --with-modulesdir=/usr/$(get_libdir)/samba \
101
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
98 --with-pammodulesdir=$(getpam_mod_dir) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
99 --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
100 --with-piddir=/var/run/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
101 --with-lockdir=/var/cache/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
102 --with-logfilebase=/var/log/samba \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
103 --with-privatedir=${PRIVATE_DST} \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
104 --with-libsmbclient \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
105 --enable-socket-wrapper \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
106 --enable-nss-wrapper \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
107 --with-cifsmount=no \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
108 $(use_with acl acl-support) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
109 $(use_with async aio-support) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
110 $(use_with automount) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
111 $(use_enable cups) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
112 $(use_enable fam) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
113 $(use_with ads krb5) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
114 $(use_with ads dnsupdate) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
115 $(use_with ldap) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
116 $(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
117 $(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
118 $(use_with readline) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
119 $(use_with syslog) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
120 $(use_with winbind) \
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
121 ${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
122
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
123 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
124 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
125
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
126 }
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 src_test() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
129 cd "${S}/source"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
130 emake test || die "tests failed"
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_install() {
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
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
136 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
137
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
138 # Extra rpctorture progs
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
139 local extra_bins="rpctorture"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
140 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
141 [[ -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
142 done
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
143
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
144 # 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
145 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
146
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
147 # 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
148 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
149
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
150 # 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
151 if use winbind ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
152 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
153 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
154 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
155 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
156 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
157
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
158 # 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
159 if use cups ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
160 dodir $(cups-config --serverbin)/backend
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
161 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
162 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
163
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
164 cd "${S}/source"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
165
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
166 # General config files
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
167 insinto /etc/samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
168 doins "${CONFDIR}"/{smbusers,lmhosts}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
169 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
170
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
171 newpamd "${CONFDIR}/samba.pam" samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
172 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
173 if use swat ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
174 insinto /etc/xinetd.d
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
175 newins "${CONFDIR}/swat.xinetd" swat
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
176 else
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
177 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
178 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
179 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
180
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
181 newinitd "${FILESDIR}/samba-init" samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
182 newconfd "${FILESDIR}/samba-conf" samba
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
183
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
184 if use ldap ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
185 insinto /etc/openldap/schema
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
186 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
187 fi
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 ipv6 ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
190 insinto /etc/xinetd.d
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
191 newins "${FILESDIR}/samba-xinetd" smb
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 # dirs
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
195 diropts -m0700 ; keepdir "${PRIVATE_DST}"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
196 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
197
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
198 diropts -m0755
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
199 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
200 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
201 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
202 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
203
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
204 # docs
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
205 dodoc "${FILESDIR}/README.gentoo"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
206 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
207 dodoc "${CONFDIR}/nsswitch.conf-wins"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
208 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
209
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
210 if use examples ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
211 insinto /usr/share/doc/${PF}
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
212 doins -r "${S}/examples/"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
213 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
214 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
215 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
216
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
217 if ! use doc ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
218 if ! use swat ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
219 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
220 else
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
221 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
222 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
223 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
224 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
225
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
226 }
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
227
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
228 pkg_preinst() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
229 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
230 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
231 && -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
232 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
233 mkdir -p "${D}/${PRIVATE_DST}"
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
234 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
235 eend $?
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
236 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
237
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
238 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
239 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
240 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
241 }
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 pkg_postinst() {
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
244 if use swat ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
245 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
246 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
247 fi
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
248
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
249 if use ipv6 ; then
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
250 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
251 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
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 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
255 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
256 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
257 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
258
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
259 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
260 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
261
8b40b47c23e5 samba-3.3.0, fix tabs in 3.2.7 ebuild
holger@hoho.dyndns.org
parents:
diff changeset
262 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
263 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
264 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
265 }