1 |
arfrever 10/06/01 11:54:42 |
2 |
|
3 |
Modified: net-snmp-5.4.2.1-r3.ebuild ChangeLog |
4 |
net-snmp-5.4.2.1-r4.ebuild |
5 |
net-snmp-5.4.2.1-r2.ebuild |
6 |
net-snmp-5.4.2.1-r1.ebuild |
7 |
Log: |
8 |
Delete calls to deprecated python_version(). Properly call python_mod_optimize() and python_mod_cleanup(). |
9 |
(Portage version: HEAD/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.3 net-analyzer/net-snmp/net-snmp-5.4.2.1-r3.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r3.ebuild?rev=1.3&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r3.ebuild?rev=1.3&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r3.ebuild?r1=1.2&r2=1.3 |
17 |
|
18 |
Index: net-snmp-5.4.2.1-r3.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r3.ebuild,v |
21 |
retrieving revision 1.2 |
22 |
retrieving revision 1.3 |
23 |
diff -u -r1.2 -r1.3 |
24 |
--- net-snmp-5.4.2.1-r3.ebuild 16 Apr 2010 15:58:57 -0000 1.2 |
25 |
+++ net-snmp-5.4.2.1-r3.ebuild 1 Jun 2010 11:54:42 -0000 1.3 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2010 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r3.ebuild,v 1.2 2010/04/16 15:58:57 lxnay Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r3.ebuild,v 1.3 2010/06/01 11:54:42 arfrever Exp $ |
31 |
|
32 |
EAPI=2 |
33 |
|
34 |
@@ -62,9 +62,7 @@ |
35 |
die "sed fixproc failed" |
36 |
|
37 |
if use python ; then |
38 |
- python_version |
39 |
- PYTHON_MODNAME="netsnmp" |
40 |
- PYTHON_DIR="/usr/$(get_libdir)/python${PYVER}/site-packages" |
41 |
+ PYTHON_DIR="$(python_get_sitedir)" |
42 |
sed -i -e "s:\(install --basedir=\$\$dir\):\1 --root='${D}':" Makefile.in || \ |
43 |
die "sed python failed" |
44 |
fi |
45 |
@@ -189,11 +187,17 @@ |
46 |
newins "${S}"/EXAMPLE.conf snmpd.conf.example || die |
47 |
} |
48 |
|
49 |
-pkg_postrm() { |
50 |
- use python && python_mod_cleanup |
51 |
-} |
52 |
- |
53 |
pkg_postinst() { |
54 |
+ if use python; then |
55 |
+ python_mod_optimize $(python_get_sitedir)/netsnmp |
56 |
+ fi |
57 |
+ |
58 |
elog "An example configuration file has been installed in" |
59 |
elog "/etc/snmp/snmpd.conf.example." |
60 |
} |
61 |
+ |
62 |
+pkg_postrm() { |
63 |
+ if use python; then |
64 |
+ python_mod_cleanup $(python_get_sitedir)/netsnmp |
65 |
+ fi |
66 |
+} |
67 |
|
68 |
|
69 |
|
70 |
1.205 net-analyzer/net-snmp/ChangeLog |
71 |
|
72 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/ChangeLog?rev=1.205&view=markup |
73 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/ChangeLog?rev=1.205&content-type=text/plain |
74 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/ChangeLog?r1=1.204&r2=1.205 |
75 |
|
76 |
Index: ChangeLog |
77 |
=================================================================== |
78 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v |
79 |
retrieving revision 1.204 |
80 |
retrieving revision 1.205 |
81 |
diff -u -r1.204 -r1.205 |
82 |
--- ChangeLog 1 May 2010 00:20:04 -0000 1.204 |
83 |
+++ ChangeLog 1 Jun 2010 11:54:42 -0000 1.205 |
84 |
@@ -1,6 +1,12 @@ |
85 |
# ChangeLog for net-analyzer/net-snmp |
86 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
87 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.204 2010/05/01 00:20:04 flameeyes Exp $ |
88 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.205 2010/06/01 11:54:42 arfrever Exp $ |
89 |
+ |
90 |
+ 01 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
91 |
+ net-snmp-5.4.2.1-r1.ebuild, net-snmp-5.4.2.1-r2.ebuild, |
92 |
+ net-snmp-5.4.2.1-r3.ebuild, net-snmp-5.4.2.1-r4.ebuild: |
93 |
+ Delete calls to deprecated python_version(). Properly call |
94 |
+ python_mod_optimize() and python_mod_cleanup(). |
95 |
|
96 |
01 May 2010; Diego E. Pettenò <flameeyes@g.o> |
97 |
net-snmp-5.4.2.1-r4.ebuild: |
98 |
|
99 |
|
100 |
|
101 |
1.3 net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild |
102 |
|
103 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild?rev=1.3&view=markup |
104 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild?rev=1.3&content-type=text/plain |
105 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild?r1=1.2&r2=1.3 |
106 |
|
107 |
Index: net-snmp-5.4.2.1-r4.ebuild |
108 |
=================================================================== |
109 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild,v |
110 |
retrieving revision 1.2 |
111 |
retrieving revision 1.3 |
112 |
diff -u -r1.2 -r1.3 |
113 |
--- net-snmp-5.4.2.1-r4.ebuild 1 May 2010 00:20:04 -0000 1.2 |
114 |
+++ net-snmp-5.4.2.1-r4.ebuild 1 Jun 2010 11:54:42 -0000 1.3 |
115 |
@@ -1,6 +1,6 @@ |
116 |
# Copyright 1999-2010 Gentoo Foundation |
117 |
# Distributed under the terms of the GNU General Public License v2 |
118 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild,v 1.2 2010/05/01 00:20:04 flameeyes Exp $ |
119 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild,v 1.3 2010/06/01 11:54:42 arfrever Exp $ |
120 |
|
121 |
EAPI=2 |
122 |
|
123 |
@@ -62,9 +62,7 @@ |
124 |
die "sed fixproc failed" |
125 |
|
126 |
if use python ; then |
127 |
- python_version |
128 |
- PYTHON_MODNAME="netsnmp" |
129 |
- PYTHON_DIR="/usr/$(get_libdir)/python${PYVER}/site-packages" |
130 |
+ PYTHON_DIR="$(python_get_sitedir)" |
131 |
sed -i -e "s:\(install --basedir=\$\$dir\):\1 --root='${D}':" Makefile.in || \ |
132 |
die "sed python failed" |
133 |
fi |
134 |
@@ -192,11 +190,17 @@ |
135 |
newins "${S}"/EXAMPLE.conf snmpd.conf.example || die |
136 |
} |
137 |
|
138 |
-pkg_postrm() { |
139 |
- use python && python_mod_cleanup |
140 |
-} |
141 |
- |
142 |
pkg_postinst() { |
143 |
+ if use python; then |
144 |
+ python_mod_optimize $(python_get_sitedir)/netsnmp |
145 |
+ fi |
146 |
+ |
147 |
elog "An example configuration file has been installed in" |
148 |
elog "/etc/snmp/snmpd.conf.example." |
149 |
} |
150 |
+ |
151 |
+pkg_postrm() { |
152 |
+ if use python; then |
153 |
+ python_mod_cleanup $(python_get_sitedir)/netsnmp |
154 |
+ fi |
155 |
+} |
156 |
|
157 |
|
158 |
|
159 |
1.3 net-analyzer/net-snmp/net-snmp-5.4.2.1-r2.ebuild |
160 |
|
161 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r2.ebuild?rev=1.3&view=markup |
162 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r2.ebuild?rev=1.3&content-type=text/plain |
163 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r2.ebuild?r1=1.2&r2=1.3 |
164 |
|
165 |
Index: net-snmp-5.4.2.1-r2.ebuild |
166 |
=================================================================== |
167 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r2.ebuild,v |
168 |
retrieving revision 1.2 |
169 |
retrieving revision 1.3 |
170 |
diff -u -r1.2 -r1.3 |
171 |
--- net-snmp-5.4.2.1-r2.ebuild 16 Apr 2010 15:58:57 -0000 1.2 |
172 |
+++ net-snmp-5.4.2.1-r2.ebuild 1 Jun 2010 11:54:42 -0000 1.3 |
173 |
@@ -1,6 +1,6 @@ |
174 |
# Copyright 1999-2010 Gentoo Foundation |
175 |
# Distributed under the terms of the GNU General Public License v2 |
176 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r2.ebuild,v 1.2 2010/04/16 15:58:57 lxnay Exp $ |
177 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r2.ebuild,v 1.3 2010/06/01 11:54:42 arfrever Exp $ |
178 |
|
179 |
EAPI=2 |
180 |
|
181 |
@@ -62,9 +62,7 @@ |
182 |
die "sed fixproc failed" |
183 |
|
184 |
if use python ; then |
185 |
- python_version |
186 |
- PYTHON_MODNAME="netsnmp" |
187 |
- PYTHON_DIR="/usr/$(get_libdir)/python${PYVER}/site-packages" |
188 |
+ PYTHON_DIR="$(python_get_sitedir)" |
189 |
sed -i -e "s:\(install --basedir=\$\$dir\):\1 --root='${D}':" Makefile.in || \ |
190 |
die "sed python failed" |
191 |
fi |
192 |
@@ -186,11 +184,17 @@ |
193 |
newins "${S}"/EXAMPLE.conf snmpd.conf.example || die |
194 |
} |
195 |
|
196 |
-pkg_postrm() { |
197 |
- use python && python_mod_cleanup |
198 |
-} |
199 |
- |
200 |
pkg_postinst() { |
201 |
+ if use python; then |
202 |
+ python_mod_optimize $(python_get_sitedir)/netsnmp |
203 |
+ fi |
204 |
+ |
205 |
elog "An example configuration file has been installed in" |
206 |
elog "/etc/snmp/snmpd.conf.example." |
207 |
} |
208 |
+ |
209 |
+pkg_postrm() { |
210 |
+ if use python; then |
211 |
+ python_mod_cleanup $(python_get_sitedir)/netsnmp |
212 |
+ fi |
213 |
+} |
214 |
|
215 |
|
216 |
|
217 |
1.10 net-analyzer/net-snmp/net-snmp-5.4.2.1-r1.ebuild |
218 |
|
219 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r1.ebuild?rev=1.10&view=markup |
220 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r1.ebuild?rev=1.10&content-type=text/plain |
221 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r1.ebuild?r1=1.9&r2=1.10 |
222 |
|
223 |
Index: net-snmp-5.4.2.1-r1.ebuild |
224 |
=================================================================== |
225 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r1.ebuild,v |
226 |
retrieving revision 1.9 |
227 |
retrieving revision 1.10 |
228 |
diff -u -r1.9 -r1.10 |
229 |
--- net-snmp-5.4.2.1-r1.ebuild 16 Oct 2009 08:51:06 -0000 1.9 |
230 |
+++ net-snmp-5.4.2.1-r1.ebuild 1 Jun 2010 11:54:42 -0000 1.10 |
231 |
@@ -1,6 +1,6 @@ |
232 |
-# Copyright 1999-2009 Gentoo Foundation |
233 |
+# Copyright 1999-2010 Gentoo Foundation |
234 |
# Distributed under the terms of the GNU General Public License v2 |
235 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r1.ebuild,v 1.9 2009/10/16 08:51:06 gengor Exp $ |
236 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r1.ebuild,v 1.10 2010/06/01 11:54:42 arfrever Exp $ |
237 |
|
238 |
inherit fixheadtails flag-o-matic perl-module python autotools |
239 |
|
240 |
@@ -53,9 +53,7 @@ |
241 |
die "sed fixproc failed" |
242 |
|
243 |
if use python ; then |
244 |
- python_version |
245 |
- PYTHON_MODNAME="netsnmp" |
246 |
- PYTHON_DIR=/usr/$(get_libdir)/python${PYVER}/site-packages |
247 |
+ PYTHON_DIR="$(python_get_sitedir)" |
248 |
sed -i -e "s:\(install --basedir=\$\$dir\):\1 --root='${D}':" Makefile.in || die "sed python failed" |
249 |
fi |
250 |
|
251 |
@@ -180,13 +178,17 @@ |
252 |
newins "${S}"/EXAMPLE.conf snmpd.conf.example |
253 |
} |
254 |
|
255 |
-pkg_postrm() { |
256 |
- if use python ; then |
257 |
- python_mod_cleanup |
258 |
+pkg_postinst() { |
259 |
+ if use python; then |
260 |
+ python_mod_optimize $(python_get_sitedir)/netsnmp |
261 |
fi |
262 |
-} |
263 |
|
264 |
-pkg_postinst() { |
265 |
elog "An example configuration file has been installed in" |
266 |
elog "/etc/snmp/snmpd.conf.example." |
267 |
} |
268 |
+ |
269 |
+pkg_postrm() { |
270 |
+ if use python; then |
271 |
+ python_mod_cleanup $(python_get_sitedir)/netsnmp |
272 |
+ fi |
273 |
+} |