1 |
patrick 12/06/28 08:15:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cifs-utils-5.5.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 net-fs/cifs-utils/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/cifs-utils/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 20 Jun 2012 20:17:40 -0000 1.23 |
24 |
+++ ChangeLog 28 Jun 2012 08:15:58 -0000 1.24 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-fs/cifs-utils |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/cifs-utils/ChangeLog,v 1.23 2012/06/20 20:17:40 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/cifs-utils/ChangeLog,v 1.24 2012/06/28 08:15:58 patrick Exp $ |
30 |
+ |
31 |
+*cifs-utils-5.5 (28 Jun 2012) |
32 |
+ |
33 |
+ 28 Jun 2012; Patrick Lauer <patrick@g.o> +cifs-utils-5.5.ebuild: |
34 |
+ Bump |
35 |
|
36 |
20 Jun 2012; Markus Meier <maekke@g.o> cifs-utils-5.4.ebuild: |
37 |
arm stable, bug #420895 |
38 |
@@ -94,4 +99,3 @@ |
39 |
Initial import, ebuild based on work from Ewoud Kohl van Wijngaarden |
40 |
<gentoo@××××××××××××××××××.nl> and Sebastiaan <s.breedveld@×××××××××.nl> |
41 |
bug 308655 |
42 |
- |
43 |
|
44 |
|
45 |
|
46 |
1.1 net-fs/cifs-utils/cifs-utils-5.5.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/cifs-utils-5.5.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/cifs-utils/cifs-utils-5.5.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: cifs-utils-5.5.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/cifs-utils/cifs-utils-5.5.ebuild,v 1.1 2012/06/28 08:15:58 patrick Exp $ |
56 |
|
57 |
EAPI=4 |
58 |
|
59 |
inherit eutils confutils linux-info |
60 |
|
61 |
DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" |
62 |
HOMEPAGE="http://www.samba.org/linux-cifs/cifs-utils/" |
63 |
SRC_URI="ftp://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2" |
64 |
|
65 |
LICENSE="GPL-3" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
68 |
IUSE="ads +caps caps-ng creds upcall" |
69 |
|
70 |
DEPEND="!net-fs/mount-cifs |
71 |
!<net-fs/samba-3.6_rc1 |
72 |
ads? ( sys-libs/talloc virtual/krb5 sys-apps/keyutils ) |
73 |
caps? ( sys-libs/libcap ) |
74 |
caps-ng? ( sys-libs/libcap-ng ) |
75 |
creds? ( sys-apps/keyutils ) |
76 |
upcall? ( sys-apps/keyutils sys-libs/talloc virtual/krb5 )" |
77 |
RDEPEND="${DEPEND}" |
78 |
|
79 |
REQUIRED_USE="^^ ( caps caps-ng )" |
80 |
|
81 |
pkg_setup() { |
82 |
confutils_use_conflict caps caps-ng |
83 |
if ! linux_config_exists || ! linux_chkconfig_present CIFS; then |
84 |
ewarn "You must enable CIFS support in your kernel config, " |
85 |
ewarn "to be able to mount samba shares. You can find it at" |
86 |
ewarn |
87 |
ewarn " File systems" |
88 |
ewarn " Network File Systems" |
89 |
ewarn " CIFS support" |
90 |
ewarn |
91 |
ewarn "and recompile your kernel ..." |
92 |
fi |
93 |
} |
94 |
|
95 |
src_prepare() { |
96 |
#Getting rid of -Werror |
97 |
sed -e "s/-Werror//" -i Makefile.in || die "sed failed" |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
local myconf='' |
102 |
if use "caps-ng"; then |
103 |
myconf="${myconf} --with-libcap-ng=yes " |
104 |
else |
105 |
myconf="${myconf} --with-libcap-ng=no " |
106 |
fi |
107 |
myconf="${myconf} \ |
108 |
$(use_enable ads cifsupcall) \ |
109 |
$(use_with caps libcap) \ |
110 |
$(use_with caps-ng libcap-ng) \ |
111 |
$(use_enable creds cifscreds) \ |
112 |
$(use_enable upcall cifsupcall) \ |
113 |
--disable-cifsidmap \ |
114 |
--disable-cifsacl" |
115 |
econf ${myconf} |
116 |
} |
117 |
|
118 |
src_install() { |
119 |
emake install DESTDIR="${D}" || die "emake install failed" |
120 |
dodoc doc/linux-cifs-client-guide.odt |
121 |
} |
122 |
|
123 |
pkg_postinst() { |
124 |
# Inform about set-user-ID bit of mount.cifs |
125 |
ewarn "setuid use flag was dropped due to multiple security implications" |
126 |
ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" |
127 |
ewarn "You are free to set setuid flags by yourself" |
128 |
|
129 |
# Inform about upcall usage |
130 |
if use ads ; then |
131 |
ewarn "Using mount.cifs in combination with keyutils" |
132 |
ewarn "in order to mount DFS shares, you need to add" |
133 |
ewarn "the following line to /etc/request-key.conf:" |
134 |
ewarn " create dns_resolver * * /usr/sbin/cifs.upcall %k" |
135 |
ewarn "Otherwise, your DFS shares will not work properly." |
136 |
fi |
137 |
} |