1 |
vostorga 10/06/01 14:04:59 |
2 |
|
3 |
Modified: samba-3.5.3.ebuild samba-3.4.6.ebuild ChangeLog |
4 |
samba-3.4.8.ebuild |
5 |
Removed: samba-3.5.2-r1.ebuild samba-3.5.0.ebuild |
6 |
Log: |
7 |
Cleaning up unused versions, Adding relevant upgrade configuration changes elog, bug #288752, Checking gcc version when building with winbind use flag, bug #320991 |
8 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 net-fs/samba/samba-3.5.3.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-3.5.3.ebuild?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-3.5.3.ebuild?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-3.5.3.ebuild?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: samba-3.5.3.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.5.3.ebuild,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- samba-3.5.3.ebuild 24 May 2010 21:56:45 -0000 1.4 |
24 |
+++ samba-3.5.3.ebuild 1 Jun 2010 14:04:59 -0000 1.5 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2010 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.5.3.ebuild,v 1.4 2010/05/24 21:56:45 vostorga Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.5.3.ebuild,v 1.5 2010/06/01 14:04:59 vostorga Exp $ |
30 |
|
31 |
EAPI="2" |
32 |
|
33 |
@@ -84,6 +84,16 @@ |
34 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
35 |
|
36 |
pkg_setup() { |
37 |
+ if use winbind && |
38 |
+ [[ $(tc-getCC)$ == *gcc* ]] && |
39 |
+ [[ $(gcc-major-version)$(gcc-minor-version) -lt 43 ]] |
40 |
+ then |
41 |
+ eerror "It is a known issue that ${P} will not build with " |
42 |
+ eerror "winbind use flag enabled when using gcc < 4.3 ." |
43 |
+ eerror "Please use at least the latest stable gcc version." |
44 |
+ die "Using sys-devel/gcc < 4.3 with winbind use flag." |
45 |
+ fi |
46 |
+ |
47 |
confutils_use_depend_all ads ldap |
48 |
confutils_use_depend_all swat server |
49 |
} |
50 |
@@ -392,3 +402,18 @@ |
51 |
"${D}/var"/{run,lib/samba/private,lib/samba,lib,cache/samba,cache,} \ |
52 |
# || die "tried to remove non-empty dirs, this seems like a bug in the ebuild" |
53 |
} |
54 |
+ |
55 |
+pkg_postinst() { |
56 |
+ elog "The default value of 'wide links' has been changed to 'no' in samba 3.5" |
57 |
+ elog "to avoid an insecure default configuration" |
58 |
+ elog "('wide links = yes' and 'unix extensions = yes'). For more details," |
59 |
+ elog "please see http://www.samba.org/samba/news/symlink_attack.html ." |
60 |
+ elog "" |
61 |
+ elog "An EXPERIMENTAL implementation of the SMB2 protocol has been added." |
62 |
+ elog "SMB2 can be enabled by setting 'max protocol = smb2'. SMB2 is a new " |
63 |
+ elog "implementation of the SMB protocol used by Windows Vista and higher" |
64 |
+ elog "" |
65 |
+ elog "For further information make sure to read the release notes at" |
66 |
+ elog "http://samba.org/samba/history/${P}.html and " |
67 |
+ elog "http://samba.org/samba/history/${PN}-3.5.0.html" |
68 |
+} |
69 |
|
70 |
|
71 |
|
72 |
1.7 net-fs/samba/samba-3.4.6.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-3.4.6.ebuild?rev=1.7&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-3.4.6.ebuild?rev=1.7&content-type=text/plain |
76 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-3.4.6.ebuild?r1=1.6&r2=1.7 |
77 |
|
78 |
Index: samba-3.4.6.ebuild |
79 |
=================================================================== |
80 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.4.6.ebuild,v |
81 |
retrieving revision 1.6 |
82 |
retrieving revision 1.7 |
83 |
diff -u -r1.6 -r1.7 |
84 |
--- samba-3.4.6.ebuild 20 May 2010 00:04:21 -0000 1.6 |
85 |
+++ samba-3.4.6.ebuild 1 Jun 2010 14:04:59 -0000 1.7 |
86 |
@@ -1,6 +1,6 @@ |
87 |
# Copyright 1999-2010 Gentoo Foundation |
88 |
# Distributed under the terms of the GNU General Public License v2 |
89 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.4.6.ebuild,v 1.6 2010/05/20 00:04:21 jer Exp $ |
90 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.4.6.ebuild,v 1.7 2010/06/01 14:04:59 vostorga Exp $ |
91 |
|
92 |
EAPI="2" |
93 |
|
94 |
@@ -82,6 +82,17 @@ |
95 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
96 |
|
97 |
pkg_setup() { |
98 |
+ |
99 |
+ if use winbind && |
100 |
+ [[ $(tc-getCC)$ == *gcc* ]] && |
101 |
+ [[ $(gcc-major-version)$(gcc-minor-version) -lt 43 ]] |
102 |
+ then |
103 |
+ eerror "It is a known issue that ${P} will not build with " |
104 |
+ eerror "winbind use flag enabled when using gcc < 4.3 ." |
105 |
+ eerror "Please use at least the latest stable gcc version." |
106 |
+ die "Using sys-devel/gcc < 4.3 with winbind use flag." |
107 |
+ fi |
108 |
+ |
109 |
confutils_use_depend_all ads ldap |
110 |
confutils_use_depend_all swat server |
111 |
} |
112 |
@@ -365,3 +376,15 @@ |
113 |
"${D}/var"/{run,lib/samba/private,lib/samba,lib,cache/samba,cache,} \ |
114 |
# || die "tried to remove non-empty dirs, this seems like a bug in the ebuild" |
115 |
} |
116 |
+ |
117 |
+pkg_postinst() { |
118 |
+ elog "The default passdb backend has been changed to 'tdbsam' in samba 3.4!" |
119 |
+ elog "That breaks existing setups using the 'smbpasswd' backend without" |
120 |
+ elog "explicit declaration!" |
121 |
+ elog "Please use 'passdb backend = smbpasswd' if you would like to stick to the" |
122 |
+ elog "'smbpasswd' backend or convert your smbpasswd entries using e.g. " |
123 |
+ elog "'pdbedit -i smbpasswd -e tdbsam'." |
124 |
+ elog "For further information make sure to read the release notes at" |
125 |
+ elog "http://samba.org/samba/history/${P}.html and " |
126 |
+ elog "http://samba.org/samba/history/${PN}-3.4.0.html" |
127 |
+} |
128 |
|
129 |
|
130 |
|
131 |
1.420 net-fs/samba/ChangeLog |
132 |
|
133 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.420&view=markup |
134 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.420&content-type=text/plain |
135 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?r1=1.419&r2=1.420 |
136 |
|
137 |
Index: ChangeLog |
138 |
=================================================================== |
139 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v |
140 |
retrieving revision 1.419 |
141 |
retrieving revision 1.420 |
142 |
diff -u -r1.419 -r1.420 |
143 |
--- ChangeLog 24 May 2010 21:56:45 -0000 1.419 |
144 |
+++ ChangeLog 1 Jun 2010 14:04:59 -0000 1.420 |
145 |
@@ -1,6 +1,13 @@ |
146 |
# ChangeLog for net-fs/samba |
147 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
148 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.419 2010/05/24 21:56:45 vostorga Exp $ |
149 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.420 2010/06/01 14:04:59 vostorga Exp $ |
150 |
+ |
151 |
+ 01 Jun 2010; Víctor Ostorga <vostorga@g.o> samba-3.4.6.ebuild, |
152 |
+ samba-3.4.8.ebuild, -samba-3.5.0.ebuild, -samba-3.5.2-r1.ebuild, |
153 |
+ samba-3.5.3.ebuild: |
154 |
+ Cleaning up unused versions |
155 |
+ Adding relevant upgrade configuration changes elog, bug #288752 |
156 |
+ Checking gcc version when building with winbind use flag, bug #320991 |
157 |
|
158 |
24 May 2010; Víctor Ostorga <vostorga@g.o> samba-3.5.3.ebuild: |
159 |
Fixing krbplugin install, and server examples location, bug #320953 , |
160 |
|
161 |
|
162 |
|
163 |
1.4 net-fs/samba/samba-3.4.8.ebuild |
164 |
|
165 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-3.4.8.ebuild?rev=1.4&view=markup |
166 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-3.4.8.ebuild?rev=1.4&content-type=text/plain |
167 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-3.4.8.ebuild?r1=1.3&r2=1.4 |
168 |
|
169 |
Index: samba-3.4.8.ebuild |
170 |
=================================================================== |
171 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.4.8.ebuild,v |
172 |
retrieving revision 1.3 |
173 |
retrieving revision 1.4 |
174 |
diff -u -r1.3 -r1.4 |
175 |
--- samba-3.4.8.ebuild 19 May 2010 17:16:15 -0000 1.3 |
176 |
+++ samba-3.4.8.ebuild 1 Jun 2010 14:04:59 -0000 1.4 |
177 |
@@ -1,6 +1,6 @@ |
178 |
# Copyright 1999-2010 Gentoo Foundation |
179 |
# Distributed under the terms of the GNU General Public License v2 |
180 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.4.8.ebuild,v 1.3 2010/05/19 17:16:15 jer Exp $ |
181 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.4.8.ebuild,v 1.4 2010/06/01 14:04:59 vostorga Exp $ |
182 |
|
183 |
EAPI="2" |
184 |
|
185 |
@@ -82,6 +82,16 @@ |
186 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
187 |
|
188 |
pkg_setup() { |
189 |
+ if use winbind && |
190 |
+ [[ $(tc-getCC)$ == *gcc* ]] && |
191 |
+ [[ $(gcc-major-version)$(gcc-minor-version) -lt 43 ]] |
192 |
+ then |
193 |
+ eerror "It is a known issue that ${P} will not build with " |
194 |
+ eerror "winbind use flag enabled when using gcc < 4.3 ." |
195 |
+ eerror "Please use at least the latest stable gcc version." |
196 |
+ die "Using sys-devel/gcc < 4.3 with winbind use flag." |
197 |
+ fi |
198 |
+ |
199 |
confutils_use_depend_all ads ldap |
200 |
confutils_use_depend_all swat server |
201 |
} |
202 |
@@ -365,3 +375,15 @@ |
203 |
"${D}/var"/{run,lib/samba/private,lib/samba,lib,cache/samba,cache,} \ |
204 |
# || die "tried to remove non-empty dirs, this seems like a bug in the ebuild" |
205 |
} |
206 |
+ |
207 |
+pkg_postinst() { |
208 |
+ elog "The default passdb backend has been changed to 'tdbsam' in samba 3.4!" |
209 |
+ elog "That breaks existing setups using the 'smbpasswd' backend without" |
210 |
+ elog "explicit declaration!" |
211 |
+ elog "Please use 'passdb backend = smbpasswd' if you would like to stick to the" |
212 |
+ elog "'smbpasswd' backend or convert your smbpasswd entries using e.g. " |
213 |
+ elog "'pdbedit -i smbpasswd -e tdbsam'." |
214 |
+ elog "For further information make sure to read the release notes at" |
215 |
+ elog "http://samba.org/samba/history/${P}.html and " |
216 |
+ elog "http://samba.org/samba/history/${PN}-3.4.0.html" |
217 |
+} |