1 |
tomka 11/12/30 09:42:08 |
2 |
|
3 |
Modified: ChangeLog wicd-1.7.1_pre20111210.ebuild |
4 |
Added: wicd-1.7.1_pre20111210-r1.ebuild |
5 |
Log: |
6 |
Fix bug 394309 and download URI |
7 |
|
8 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.103 net-misc/wicd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.103&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.103&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/ChangeLog?r1=1.102&r2=1.103 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v |
20 |
retrieving revision 1.102 |
21 |
retrieving revision 1.103 |
22 |
diff -u -r1.102 -r1.103 |
23 |
--- ChangeLog 11 Dec 2011 10:21:18 -0000 1.102 |
24 |
+++ ChangeLog 30 Dec 2011 09:42:08 -0000 1.103 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-misc/wicd |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.102 2011/12/11 10:21:18 tomka Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.103 2011/12/30 09:42:08 tomka Exp $ |
30 |
+ |
31 |
+*wicd-1.7.1_pre20111210-r1 (30 Dec 2011) |
32 |
+ |
33 |
+ 30 Dec 2011; Thomas Kahle <tomka@g.o> wicd-1.7.1_pre20111210.ebuild, |
34 |
+ +wicd-1.7.1_pre20111210-r1.ebuild, |
35 |
+ +files/wicd-1.7.1_pre20111210-fix-config-reading.patch: |
36 |
+ Fix bug 394309 and download URI |
37 |
|
38 |
11 Dec 2011; Thomas Kahle <tomka@g.o> wicd-1.7.1_pre20111210.ebuild: |
39 |
ewarn updated again. Thanks to Jeff Kowalczyk and Nikolaj Sjujskij for |
40 |
|
41 |
|
42 |
|
43 |
1.4 net-misc/wicd/wicd-1.7.1_pre20111210.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild?rev=1.4&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild?rev=1.4&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild?r1=1.3&r2=1.4 |
48 |
|
49 |
Index: wicd-1.7.1_pre20111210.ebuild |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild,v |
52 |
retrieving revision 1.3 |
53 |
retrieving revision 1.4 |
54 |
diff -u -r1.3 -r1.4 |
55 |
--- wicd-1.7.1_pre20111210.ebuild 11 Dec 2011 10:21:18 -0000 1.3 |
56 |
+++ wicd-1.7.1_pre20111210.ebuild 30 Dec 2011 09:42:08 -0000 1.4 |
57 |
@@ -1,6 +1,6 @@ |
58 |
# Copyright 1999-2011 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild,v 1.3 2011/12/11 10:21:18 tomka Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild,v 1.4 2011/12/30 09:42:08 tomka Exp $ |
62 |
|
63 |
EAPI=3 |
64 |
|
65 |
@@ -17,7 +17,7 @@ |
66 |
|
67 |
DESCRIPTION="A lightweight wired and wireless network manager for Linux" |
68 |
HOMEPAGE="http://wicd.sourceforge.net/" |
69 |
-SRC_URI="http://dev.gentoo.org/~tomka/files/${PF}.tar.gz" |
70 |
+SRC_URI="http://dev.gentoo.org/~tomka/files/${P}.tar.gz" |
71 |
|
72 |
LICENSE="GPL-2" |
73 |
SLOT="0" |
74 |
|
75 |
|
76 |
|
77 |
1.1 net-misc/wicd/wicd-1.7.1_pre20111210-r1.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210-r1.ebuild?rev=1.1&view=markup |
80 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210-r1.ebuild?rev=1.1&content-type=text/plain |
81 |
|
82 |
Index: wicd-1.7.1_pre20111210-r1.ebuild |
83 |
=================================================================== |
84 |
# Copyright 1999-2011 Gentoo Foundation |
85 |
# Distributed under the terms of the GNU General Public License v2 |
86 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210-r1.ebuild,v 1.1 2011/12/30 09:42:08 tomka Exp $ |
87 |
|
88 |
EAPI=3 |
89 |
|
90 |
PYTHON_DEPEND="2" |
91 |
PYTHON_USE_WITH="ncurses? xml" |
92 |
SUPPORT_PYTHON_ABIS="1" |
93 |
RESTRICT_PYTHON_ABIS="3.* *-jython" |
94 |
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" |
95 |
|
96 |
inherit eutils distutils systemd |
97 |
|
98 |
MY_PV="${PN}-1.7.1" |
99 |
S="${WORKDIR}/${MY_PV}" |
100 |
|
101 |
DESCRIPTION="A lightweight wired and wireless network manager for Linux" |
102 |
HOMEPAGE="http://wicd.sourceforge.net/" |
103 |
SRC_URI="http://dev.gentoo.org/~tomka/files/${P}.tar.gz" |
104 |
|
105 |
LICENSE="GPL-2" |
106 |
SLOT="0" |
107 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
108 |
IUSE="X +gtk ioctl libnotify ncurses nls +pm-utils" |
109 |
|
110 |
DEPEND="" |
111 |
# Maybe virtual/dhcp would work, but there are enough problems with |
112 |
# net-misc/dhcp that I want net-misc/dhcpcd to be guarenteed to be considered |
113 |
# first if none are installed. |
114 |
RDEPEND=" |
115 |
dev-python/dbus-python |
116 |
X? ( gtk? ( dev-python/pygtk |
117 |
|| ( |
118 |
x11-libs/gksu |
119 |
kde-base/kdesu |
120 |
) |
121 |
) |
122 |
) |
123 |
|| ( |
124 |
net-misc/dhcpcd |
125 |
net-misc/dhcp |
126 |
net-misc/pump |
127 |
) |
128 |
net-wireless/wireless-tools |
129 |
net-wireless/wpa_supplicant |
130 |
|| ( |
131 |
sys-apps/net-tools |
132 |
sys-apps/ethtool |
133 |
) |
134 |
!gtk? ( dev-python/pygobject:2 ) |
135 |
ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl ) |
136 |
libnotify? ( dev-python/notify-python ) |
137 |
ncurses? ( |
138 |
dev-python/urwid |
139 |
dev-python/pygobject:2 |
140 |
) |
141 |
pm-utils? ( >=sys-power/pm-utils-1.1.1 ) |
142 |
" |
143 |
DOCS="CHANGES NEWS AUTHORS README" |
144 |
|
145 |
src_prepare() { |
146 |
epatch "${FILESDIR}"/${PN}-1.7.1_beta2-init.patch |
147 |
epatch "${FILESDIR}"/${PN}-init-sve-start.patch |
148 |
# Fix bug 394309 |
149 |
epatch "${FILESDIR}"/${P}-fix-config-reading.patch |
150 |
# Add a template for hex psk's and wpa (Bug 306423) |
151 |
epatch "${FILESDIR}"/${P}-wpa-psk-hex-template.patch |
152 |
# get rid of opts variable to fix bug 381885 |
153 |
sed -i "/opts/d" "in/init=gentoo=wicd.in" |
154 |
# Need to ensure that generated scripts use Python 2 at run time. |
155 |
sed -e "s:self.python = '/usr/bin/python':self.python = '/usr/bin/python2':" \ |
156 |
-i setup.py || die "sed failed" |
157 |
python_copy_sources |
158 |
} |
159 |
|
160 |
src_configure() { |
161 |
local myconf |
162 |
use gtk || myconf="${myconf} --no-install-gtk" |
163 |
use libnotify || myconf="${myconf} --no-use-notifications" |
164 |
use ncurses || myconf="${myconf} --no-install-ncurses" |
165 |
use pm-utils || myconf="${myconf} --no-install-pmutils" |
166 |
configuration() { |
167 |
$(PYTHON) ./setup.py configure --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose ${myconf} |
168 |
} |
169 |
python_execute_function -s configuration |
170 |
} |
171 |
|
172 |
src_install() { |
173 |
distutils_src_install |
174 |
keepdir /var/lib/wicd/configurations \ |
175 |
|| die "keepdir failed, critical for this app" |
176 |
keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} \ |
177 |
|| die "keepdir failed, critical for this app" |
178 |
keepdir /var/log/wicd \ |
179 |
|| die "keepdir failed, critical for this app" |
180 |
use nls || rm -rf "${D}"/usr/share/locale |
181 |
systemd_dounit "${S}/other/wicd.service" |
182 |
} |
183 |
|
184 |
pkg_postinst() { |
185 |
distutils_pkg_postinst |
186 |
|
187 |
elog "You may need to restart the dbus service after upgrading wicd." |
188 |
echo |
189 |
elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:" |
190 |
elog "- Remove all net.* initscripts (except for net.lo) from all runlevels" |
191 |
elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/rc.conf" |
192 |
elog "(For example, rc_hotplug=\"!net.eth* !net.wlan*\")" |
193 |
# Maintainer's note: the consolekit use flag short circuits a dbus rule and |
194 |
# allows the connection. Else, you need to be in the group. |
195 |
if ! has_version sys-auth/pambase[consolekit]; then |
196 |
ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If" |
197 |
ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf" |
198 |
fi |
199 |
ewarn "If you upgrade from earlier versions, then be sure to check" |
200 |
ewarn "your connection settings. New versions parse old settings" |
201 |
ewarn "differently, so your DHCP hostname and passphrase could appear" |
202 |
ewarn "enclosed in ['square brackets in quotes']. In this case just" |
203 |
ewarn "remove the offending brackets and quotes." |
204 |
} |