1 |
dagger 10/08/23 15:44:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: networkmanager-0.8.1-r6.ebuild |
5 |
Removed: networkmanager-0.8.1-r5.ebuild |
6 |
Log: |
7 |
Fix dhclient-3 backport. That should fix bug #332157 and bug #331547 for |
8 |
good. |
9 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.84 net-misc/networkmanager/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/networkmanager/ChangeLog?rev=1.84&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/networkmanager/ChangeLog?rev=1.84&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/networkmanager/ChangeLog?r1=1.83&r2=1.84 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/networkmanager/ChangeLog,v |
21 |
retrieving revision 1.83 |
22 |
retrieving revision 1.84 |
23 |
diff -u -r1.83 -r1.84 |
24 |
--- ChangeLog 23 Aug 2010 14:29:11 -0000 1.83 |
25 |
+++ ChangeLog 23 Aug 2010 15:44:52 -0000 1.84 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for net-misc/networkmanager |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/ChangeLog,v 1.83 2010/08/23 14:29:11 dagger Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/ChangeLog,v 1.84 2010/08/23 15:44:52 dagger Exp $ |
31 |
+ |
32 |
+*networkmanager-0.8.1-r6 (23 Aug 2010) |
33 |
+ |
34 |
+ 23 Aug 2010; Robert Piasek <dagger@g.o> |
35 |
+ -networkmanager-0.8.1-r5.ebuild, +networkmanager-0.8.1-r6.ebuild, |
36 |
+ +files/networkmanager-0.8.1-dhclient3-fix.patch: |
37 |
+ Fix dhclient-3 backport. That should fix bug #332157 and bug #331547 for |
38 |
+ good. |
39 |
|
40 |
*networkmanager-0.8.1-r5 (23 Aug 2010) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 net-misc/networkmanager/networkmanager-0.8.1-r6.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/networkmanager/networkmanager-0.8.1-r6.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/networkmanager/networkmanager-0.8.1-r6.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: networkmanager-0.8.1-r6.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/networkmanager-0.8.1-r6.ebuild,v 1.1 2010/08/23 15:44:52 dagger Exp $ |
55 |
|
56 |
EAPI="2" |
57 |
|
58 |
inherit autotools eutils gnome.org linux-info |
59 |
|
60 |
# NetworkManager likes itself with capital letters |
61 |
MY_PN=${PN/networkmanager/NetworkManager} |
62 |
MY_P=${MY_PN}-${PV} |
63 |
|
64 |
DESCRIPTION="Network configuration and management in an easy way. Desktop environment independent." |
65 |
HOMEPAGE="http://www.gnome.org/projects/NetworkManager/" |
66 |
SRC_URI="${SRC_URI//${PN}/${MY_PN}} |
67 |
http://dev.gentoo.org/~dagger/files/${PN}-ifnet-540e40f.patch" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
72 |
IUSE="avahi bluetooth doc nss gnutls dhclient dhcpcd kernel_linux resolvconf connection-sharing" |
73 |
|
74 |
RDEPEND=">=sys-apps/dbus-1.2 |
75 |
>=dev-libs/dbus-glib-0.75 |
76 |
>=net-wireless/wireless-tools-28_pre9 |
77 |
>=sys-fs/udev-145[extras] |
78 |
>=dev-libs/glib-2.18 |
79 |
>=sys-auth/polkit-0.92 |
80 |
>=dev-libs/libnl-1.1 |
81 |
>=net-misc/modemmanager-0.2 |
82 |
>=net-wireless/wpa_supplicant-0.5.10[dbus] |
83 |
bluetooth? ( net-wireless/bluez ) |
84 |
|| ( sys-libs/e2fsprogs-libs <sys-fs/e2fsprogs-1.41.0 ) |
85 |
avahi? ( net-dns/avahi[autoipd] ) |
86 |
gnutls? ( |
87 |
nss? ( >=dev-libs/nss-3.11 ) |
88 |
!nss? ( dev-libs/libgcrypt |
89 |
net-libs/gnutls ) ) |
90 |
!gnutls? ( >=dev-libs/nss-3.11 ) |
91 |
dhclient? ( |
92 |
dhcpcd? ( >=net-misc/dhcpcd-4.0.0_rc3 ) |
93 |
!dhcpcd? ( >=net-misc/dhcp-4.0.0 ) ) |
94 |
!dhclient? ( >=net-misc/dhcpcd-4.0.0_rc3 ) |
95 |
resolvconf? ( net-dns/openresolv ) |
96 |
connection-sharing? ( |
97 |
net-dns/dnsmasq |
98 |
net-firewall/iptables )" |
99 |
|
100 |
DEPEND="${RDEPEND} |
101 |
dev-util/pkgconfig |
102 |
dev-util/intltool |
103 |
>=net-dialup/ppp-2.4.5 |
104 |
doc? ( >=dev-util/gtk-doc-1.8 )" |
105 |
|
106 |
S=${WORKDIR}/${MY_P} |
107 |
|
108 |
sysfs_deprecated_check() { |
109 |
ebegin "Checking for SYSFS_DEPRECATED support" |
110 |
|
111 |
if { linux_chkconfig_present SYSFS_DEPRECATED_V2; }; then |
112 |
eerror "Please disable SYSFS_DEPRECATED_V2 support in your kernel config and recompile your kernel" |
113 |
eerror "or NetworkManager will not work correctly." |
114 |
eerror "See http://bugs.gentoo.org/333639 for more info." |
115 |
die "CONFIG_SYSFS_DEPRECATED_V2 support detected!" |
116 |
fi |
117 |
eend $? |
118 |
} |
119 |
|
120 |
pkg_setup() { |
121 |
|
122 |
if use kernel_linux; then |
123 |
get_version |
124 |
if linux_config_exists; then |
125 |
sysfs_deprecated_check |
126 |
else |
127 |
ewarn "Was unable to determine your kernel .config" |
128 |
ewarn "Please note that if CONFIG_SYSFS_DEPRECATED_V2 is set in your kernel .config, NetworkManager will not work correctly." |
129 |
ewarn "See http://bugs.gentoo.org/333639 for more info." |
130 |
fi |
131 |
|
132 |
fi |
133 |
} |
134 |
|
135 |
src_prepare() { |
136 |
|
137 |
# Gentoo system-plugin |
138 |
epatch "${DISTDIR}/${PN}-ifnet-540e40f.patch" |
139 |
|
140 |
# Fix up the dbus conf file to use plugdev group |
141 |
epatch "${FILESDIR}/${P}-confchanges.patch" |
142 |
|
143 |
# Fix problems with dhcpcd/dhclient (bug #330319) |
144 |
epatch "${FILESDIR}/${P}-dhcp-configure.patch" |
145 |
|
146 |
# Backport some important patches |
147 |
epatch "${FILESDIR}/${P}-CVE-2010-1172.patch" |
148 |
epatch "${FILESDIR}/${P}-glib-2.25.12-workaround.patch" |
149 |
epatch "${FILESDIR}/${P}-dhclient3.patch" |
150 |
epatch "${FILESDIR}/${P}-dhclient3-fix.patch" |
151 |
|
152 |
eautoreconf |
153 |
} |
154 |
|
155 |
src_configure() { |
156 |
ECONF="--disable-more-warnings |
157 |
--localstatedir=/var |
158 |
--with-distro=gentoo |
159 |
--with-dbus-sys-dir=/etc/dbus-1/system.d |
160 |
--with-udev-dir=/etc/udev |
161 |
--with-iptables=/sbin/iptables |
162 |
$(use_enable doc gtk-doc) |
163 |
$(use_with doc docs) |
164 |
$(use_with resolvconf)" |
165 |
|
166 |
# default is dhcpcd (if none or both are specified), ISC dchclient otherwise |
167 |
if use dhclient ; then |
168 |
if use dhcpcd ; then |
169 |
ECONF="${ECONF} --with-dhcpcd --without-dhclient" |
170 |
else |
171 |
ECONF="${ECONF} --with-dhclient --without-dhcpcd" |
172 |
fi |
173 |
else |
174 |
ECONF="${ECONF} --with-dhcpcd --without-dhclient" |
175 |
fi |
176 |
|
177 |
# default is NSS (if none or both are specified), GnuTLS otherwise |
178 |
if use gnutls ; then |
179 |
if use nss ; then |
180 |
ECONF="${ECONF} --with-crypto=nss" |
181 |
else |
182 |
ECONF="${ECONF} --with-crypto=gnutls" |
183 |
fi |
184 |
else |
185 |
ECONF="${ECONF} --with-crypto=nss" |
186 |
fi |
187 |
|
188 |
econf ${ECONF} |
189 |
} |
190 |
|
191 |
src_install() { |
192 |
emake DESTDIR="${D}" install || die "emake install failed" |
193 |
|
194 |
# Need to keep the /var/run/NetworkManager directory |
195 |
keepdir /var/run/NetworkManager |
196 |
|
197 |
# Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts |
198 |
keepdir /etc/NetworkManager/dispatcher.d |
199 |
|
200 |
dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed" |
201 |
|
202 |
# Add keyfile plugin support |
203 |
keepdir /etc/NetworkManager/system-connections |
204 |
insinto /etc/NetworkManager |
205 |
newins "${FILESDIR}/nm-system-settings.conf-ifnet" nm-system-settings.conf \ |
206 |
|| die "newins failed" |
207 |
} |
208 |
|
209 |
pkg_postinst() { |
210 |
elog "You will need to reload DBus if this is your first time installing" |
211 |
elog "NetworkManager, or if you're upgrading from 0.7 or older." |
212 |
elog "" |
213 |
} |