1 |
vostorga 11/11/01 19:23:53 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: samba-4.0.0_alpha17.ebuild |
5 |
Log: |
6 |
Updating samba 4, based in work of Ewoud Kohl van Wijngaarden <gentoo@××××××××××××××××××.nl> bug 195703 |
7 |
|
8 |
(Portage version: 2.1.10.11/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.13 net-fs/samba/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/metadata.xml?rev=1.13&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/metadata.xml?rev=1.13&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/metadata.xml?r1=1.12&r2=1.13 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/metadata.xml,v |
20 |
retrieving revision 1.12 |
21 |
retrieving revision 1.13 |
22 |
diff -u -r1.12 -r1.13 |
23 |
--- metadata.xml 23 Mar 2011 11:04:30 -0000 1.12 |
24 |
+++ metadata.xml 1 Nov 2011 19:23:53 -0000 1.13 |
25 |
@@ -26,5 +26,8 @@ |
26 |
<flag name="smbclient">Enable smbclient tool</flag> |
27 |
<flag name="smbsharemodes">Enable special smb share modes (?) </flag> |
28 |
<flag name="smbtav2">Enable Samba Traffic Analyzer version 2 </flag> |
29 |
+ <flag name="fulltest">Enabling extra tests in test phase </flag> |
30 |
+ <flag name="krb5">Enable kerberos support</flag> |
31 |
+ <flag name="iprint">Enabling iPrint technology by Novell</flag> |
32 |
</use> |
33 |
</pkgmetadata> |
34 |
|
35 |
|
36 |
|
37 |
1.492 net-fs/samba/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.492&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?rev=1.492&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/ChangeLog?r1=1.491&r2=1.492 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v |
46 |
retrieving revision 1.491 |
47 |
retrieving revision 1.492 |
48 |
diff -u -r1.491 -r1.492 |
49 |
--- ChangeLog 28 Oct 2011 19:56:55 -0000 1.491 |
50 |
+++ ChangeLog 1 Nov 2011 19:23:53 -0000 1.492 |
51 |
@@ -1,6 +1,13 @@ |
52 |
# ChangeLog for net-fs/samba |
53 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.491 2011/10/28 19:56:55 patrick Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.492 2011/11/01 19:23:53 vostorga Exp $ |
56 |
+ |
57 |
+*samba-4.0.0_alpha17 (01 Nov 2011) |
58 |
+ |
59 |
+ 01 Nov 2011; Víctor Ostorga <vostorga@g.o> +files/4.0/com_err.patch, |
60 |
+ +files/4.0/samba4.initd, +samba-4.0.0_alpha17.ebuild: |
61 |
+ Updating samba 4, based in work of Ewoud Kohl van Wijngaarden |
62 |
+ <gentoo@××××××××××××××××××.nl> bug 195703 |
63 |
|
64 |
*samba-3.6.1 (28 Oct 2011) |
65 |
|
66 |
|
67 |
|
68 |
|
69 |
1.1 net-fs/samba/samba-4.0.0_alpha17.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-4.0.0_alpha17.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/samba/samba-4.0.0_alpha17.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: samba-4.0.0_alpha17.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2011 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.0.0_alpha17.ebuild,v 1.1 2011/11/01 19:23:53 vostorga Exp $ |
79 |
|
80 |
EAPI=4 |
81 |
|
82 |
inherit eutils confutils python waf-utils versionator |
83 |
|
84 |
MY_PV="${PV/_alpha/alpha}" |
85 |
MY_P="${PN}-${MY_PV}" |
86 |
|
87 |
if [ "${PV}" = "4.9999" ]; then |
88 |
EGIT_REPO_URI="git://git.samba.org/samba.git" |
89 |
inherit git-2 |
90 |
else |
91 |
SRC_URI="mirror://samba/samba4/${MY_P}.tar.gz" |
92 |
fi |
93 |
|
94 |
DESCRIPTION="Samba Server component" |
95 |
HOMEPAGE="http://www.samba.org/" |
96 |
LICENSE="GPL-3" |
97 |
SLOT="0" |
98 |
KEYWORDS="~amd64 ~x86" |
99 |
IUSE="acl addns ads aio avahi client cluster cups debug fulltest gnutls iprint |
100 |
krb5 ldap pam quota swat syslog winbind" |
101 |
|
102 |
RDEPEND="dev-libs/popt |
103 |
sys-libs/readline |
104 |
virtual/libiconv |
105 |
>=dev-lang/python-2.4.2 |
106 |
dev-python/subunit |
107 |
>=app-crypt/heimdal-1.5[-ssl] |
108 |
>=sys-libs/tdb-1.2.9[python] |
109 |
>=sys-libs/ldb-1.1.2 |
110 |
>=sys-libs/talloc-2.0.6[python] |
111 |
>=sys-libs/tevent-0.9.14 |
112 |
sys-libs/zlib |
113 |
ads? ( client? ( net-fs/cifs-utils[ads] ) ) |
114 |
client? ( net-fs/cifs-utils ) |
115 |
cluster? ( >=dev-db/ctdb-1.0.114_p1 ) |
116 |
ldap? ( net-nds/openldap ) |
117 |
gnutls? ( >=net-libs/gnutls-1.4.0 )" |
118 |
DEPEND="${RDEPEND} |
119 |
dev-util/pkgconfig" |
120 |
|
121 |
RESTRICT="mirror" |
122 |
|
123 |
S="${WORKDIR}/${MY_P}" |
124 |
|
125 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
126 |
|
127 |
WAF_BINARY="${S}/buildtools/bin/waf" |
128 |
|
129 |
pkg_setup() { |
130 |
confutils_use_depend_all fulltest test |
131 |
|
132 |
python_set_active_version 2 |
133 |
python_pkg_setup |
134 |
} |
135 |
|
136 |
src_prepare() { |
137 |
cd "${WORKDIR}/${MY_P}" && epatch "${CONFDIR}"/com_err.patch |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
local myconf='' |
142 |
if use "debug"; then |
143 |
myconf="${myconf} --enable-developer" |
144 |
fi |
145 |
if use "cluster"; then |
146 |
myconf="${myconf} --with-ctdb-dir=/usr" |
147 |
fi |
148 |
myconf="${myconf} \ |
149 |
--enable-fhs \ |
150 |
--sysconfdir=/etc \ |
151 |
--localstatedir=/var \ |
152 |
--disable-rpath \ |
153 |
--disable-rpath-install \ |
154 |
--nopyc \ |
155 |
--nopyo \ |
156 |
--bundled-libraries=NONE \ |
157 |
--builtin-libraries=replace,ccan \ |
158 |
$(use_with addns dnsupdate) \ |
159 |
$(use_with acl) \ |
160 |
$(use_with ads) \ |
161 |
$(use_with aio aio-support) \ |
162 |
$(use_enable avahi) \ |
163 |
$(use_with cluster cluster-support) \ |
164 |
$(use_enable cups) \ |
165 |
$(use_enable gnutls) \ |
166 |
$(use_enable iprint) \ |
167 |
$(use_with krb5) \ |
168 |
$(use_with ldap) \ |
169 |
$(use_with pam) \ |
170 |
$(use_with pam pam_smbpass) \ |
171 |
$(use_with quota) \ |
172 |
$(use_with syslog) \ |
173 |
$(use_with swat) \ |
174 |
$(use_with winbind)" |
175 |
waf-utils_src_configure ${myconf} |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
waf-utils_src_install |
180 |
|
181 |
newinitd "${CONFDIR}/samba4.initd" samba || die "newinitd failed" |
182 |
|
183 |
#remove conflicting file for tevent profided by sys-libs/tevent |
184 |
find "${D}" -type f -name "_tevent.so" -exec rm -f {} \; |
185 |
} |
186 |
|
187 |
src_test() { |
188 |
local extra_opts="" |
189 |
use fulltest || extra_opts+="--quick" |
190 |
"${WAF_BINARY}" test ${extra_opts} || die "test failed" |
191 |
} |
192 |
|
193 |
pkg_postinst() { |
194 |
# Optimize the python modules so they get properly removed |
195 |
python_mod_optimize "${PN}" |
196 |
|
197 |
einfo "See http://wiki.samba.org/index.php/Samba4/HOWTO for more" |
198 |
einfo "information about samba 4." |
199 |
|
200 |
# Warn that it's an alpha |
201 |
ewarn "Samba 4 is an alpha and therefore not considered stable. It's only" |
202 |
ewarn "meant to test and experiment and definitely not for production" |
203 |
} |
204 |
|
205 |
pkg_postrm() { |
206 |
# Clean up the python modules |
207 |
python_mod_cleanup "${PN}" |
208 |
} |