1 |
vostorga 11/06/02 15:54:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cifs-utils-5.0.ebuild |
5 |
Log: |
6 |
Version bump to 5.0 |
7 |
|
8 |
(Portage version: 2.1.9.42/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 net-fs/cifs-utils/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/ChangeLog?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/ChangeLog?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/ChangeLog?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/cifs-utils/ChangeLog,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- ChangeLog 9 May 2011 18:12:23 -0000 1.7 |
24 |
+++ ChangeLog 2 Jun 2011 15:54:15 -0000 1.8 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-fs/cifs-utils |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/cifs-utils/ChangeLog,v 1.7 2011/05/09 18:12:23 vostorga Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/cifs-utils/ChangeLog,v 1.8 2011/06/02 15:54:15 vostorga Exp $ |
30 |
+ |
31 |
+*cifs-utils-5.0 (02 Jun 2011) |
32 |
+ |
33 |
+ 02 Jun 2011; Víctor Ostorga <vostorga@g.o> +cifs-utils-5.0.ebuild: |
34 |
+ Version bump to 5.0 |
35 |
|
36 |
09 May 2011; Víctor Ostorga <vostorga@g.o> |
37 |
cifs-utils-4.8.1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-fs/cifs-utils/cifs-utils-5.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/cifs-utils-5.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/cifs-utils-5.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cifs-utils-5.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/cifs-utils/cifs-utils-5.0.ebuild,v 1.1 2011/06/02 15:54:15 vostorga Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit eutils confutils linux-info |
55 |
|
56 |
DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" |
57 |
HOMEPAGE="http://www.samba.org/linux-cifs/cifs-utils/" |
58 |
SRC_URI="ftp://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-3" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86" |
63 |
IUSE="ads +caps caps-ng creds setuid" |
64 |
|
65 |
DEPEND="!net-fs/mount-cifs |
66 |
!<net-fs/samba-3.6 |
67 |
ads? ( sys-libs/talloc virtual/krb5 sys-apps/keyutils ) |
68 |
caps? ( sys-libs/libcap ) |
69 |
caps-ng? ( sys-libs/libcap-ng ) |
70 |
creds? ( sys-apps/keyutils )" |
71 |
RDEPEND="${DEPEND}" |
72 |
|
73 |
pkg_setup() { |
74 |
confutils_use_conflict caps caps-ng |
75 |
if ! linux_config_exists || ! linux_chkconfig_present CIFS; then |
76 |
ewarn "You must enable CIFS support in your kernel config, " |
77 |
ewarn "to be able to mount samba shares. You can find it at" |
78 |
ewarn |
79 |
ewarn " File systems" |
80 |
ewarn " Network File Systems" |
81 |
ewarn " CIFS support" |
82 |
ewarn |
83 |
ewarn "and recompile your kernel ..." |
84 |
fi |
85 |
} |
86 |
|
87 |
src_configure() { |
88 |
local myconf= |
89 |
use caps && myconf="${myconf} --with-libcap-ng=no" |
90 |
use caps-ng && myconf="${myconf} --with-libcap-ng=yes" |
91 |
econf \ |
92 |
$(use_enable ads cifsupcall) \ |
93 |
$(use_with caps libcap) \ |
94 |
$(use_enable creds cifscreds) \ |
95 |
${myconf} |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
emake install DESTDIR="${D}" || die "emake install failed" |
100 |
# Set set-user-ID bit of mount.cifs |
101 |
if use setuid ; then |
102 |
chmod u+s "${D}"/sbin/mount.cifs |
103 |
fi |
104 |
dodoc doc/linux-cifs-client-guide.odt |
105 |
} |
106 |
|
107 |
pkg_postinst() { |
108 |
# Inform about set-user-ID bit of mount.cifs |
109 |
if use setuid ; then |
110 |
ewarn "Setting SETUID bit for mount.cifs." |
111 |
ewarn "However, there may be severe security implications. Also see:" |
112 |
ewarn "http://samba.org/samba/security/CVE-2009-2948.html" |
113 |
fi |
114 |
|
115 |
# Inform about upcall usage |
116 |
if use ads ; then |
117 |
ewarn "Using mount.cifs in combination with keyutils" |
118 |
ewarn "in order to mount DFS shares, you need to add" |
119 |
ewarn "the following line to /etc/request-key.conf:" |
120 |
ewarn " create dns_resolver * * /usr/sbin/cifs.upcall %k" |
121 |
ewarn "Otherwise, your DFS shares will not work properly." |
122 |
fi |
123 |
} |