View | Details | Raw Unified | Return to bug 29216 | Differences between
and this patch

Collapse All | Expand All

(-)a/branches/ucs-3.1/ucs/base/univention-lib/debian/changelog (-9 / +16 lines)
 Lines 1-3    Link Here 
1
univention-lib (2.0.16-1) unstable; urgency=low
2
3
  * Rename get_default_netmask to get_default_netprefix and return network
4
    prefix length instead of netmask (Bug #29216)
5
6
 -- Philipp Hahn <hahn@univention.de>  Tue, 20 Nov 2012 17:34:43 +0100
7
1
univention-lib (2.0.15-1) unstable; urgency=low
8
univention-lib (2.0.15-1) unstable; urgency=low
2
9
3
  * Add low-level log support for package_manager (Bug #29037)
10
  * Add low-level log support for package_manager (Bug #29037)
 Lines 184-197   univention-lib (1.0.72-1) unstable; urgency=low Link Here 
184
191
185
univention-lib (1.0.71-2) unstable; urgency=low
192
univention-lib (1.0.71-2) unstable; urgency=low
186
193
187
  * fixed build dep (Bug #26536) 
194
  * fixed build dep (Bug #26536)
188
195
189
 -- Felix Botner <botner@univention.de>  Mon, 16 Apr 2012 09:59:38 +0200
196
 -- Felix Botner <botner@univention.de>  Mon, 16 Apr 2012 09:59:38 +0200
190
197
191
univention-lib (1.0.71-1) unstable; urgency=low
198
univention-lib (1.0.71-1) unstable; urgency=low
192
199
193
  * added description for listener/shares/rename and
200
  * added description for listener/shares/rename and
194
    listener/shares/rename/fstypes (Bug #26536) 
201
    listener/shares/rename/fstypes (Bug #26536)
195
202
196
 -- Felix Botner <botner@univention.de>  Mon, 16 Apr 2012 09:51:47 +0200
203
 -- Felix Botner <botner@univention.de>  Mon, 16 Apr 2012 09:51:47 +0200
197
204
 Lines 203-209   univention-lib (1.0.70-1) unstable; urgency=low Link Here 
203
210
204
univention-lib (1.0.45-1) unstable; urgency=low
211
univention-lib (1.0.45-1) unstable; urgency=low
205
212
206
  * fixed python/listenerSharePath.py (Bug #26025) 
213
  * fixed python/listenerSharePath.py (Bug #26025)
207
214
208
 -- Felix Botner <botner@univention.de>  Thu, 23 Feb 2012 11:10:14 +0100
215
 -- Felix Botner <botner@univention.de>  Thu, 23 Feb 2012 11:10:14 +0100
209
216
 Lines 215-227   univention-lib (1.0.44-1) unstable; urgency=low Link Here 
215
222
216
univention-lib (1.0.43-1) unstable; urgency=low
223
univention-lib (1.0.43-1) unstable; urgency=low
217
224
218
  * added python lib to rename directories (Bug #26025) 
225
  * added python lib to rename directories (Bug #26025)
219
226
220
 -- Felix Botner <botner@univention.de>  Fri, 03 Feb 2012 14:29:30 +0100
227
 -- Felix Botner <botner@univention.de>  Fri, 03 Feb 2012 14:29:30 +0100
221
228
222
univention-lib (1.0.42-1) unstable; urgency=low
229
univention-lib (1.0.42-1) unstable; urgency=low
223
230
224
  * fixed ldap search filter in getMailFromMailOrUid.py (Bug #23739) 
231
  * fixed ldap search filter in getMailFromMailOrUid.py (Bug #23739)
225
232
226
 -- Felix Botner <botner@univention.de>  Thu, 24 Nov 2011 09:36:08 +0100
233
 -- Felix Botner <botner@univention.de>  Thu, 24 Nov 2011 09:36:08 +0100
227
234
 Lines 245-251   univention-lib (1.0.39-1) unstable; urgency=low Link Here 
245
252
246
univention-lib (1.0.38-1) unstable; urgency=low
253
univention-lib (1.0.38-1) unstable; urgency=low
247
254
248
  * escape ldap filter in python/getMailFromMailOrUid.py (Bug #23739) 
255
  * escape ldap filter in python/getMailFromMailOrUid.py (Bug #23739)
249
256
250
 -- Felix Botner <botner@univention.de>  Tue, 08 Nov 2011 08:54:44 +0100
257
 -- Felix Botner <botner@univention.de>  Tue, 08 Nov 2011 08:54:44 +0100
251
258
 Lines 258-264   univention-lib (1.0.37-1) unstable; urgency=low Link Here 
258
265
259
univention-lib (1.0.36-1) unstable; urgency=low
266
univention-lib (1.0.36-1) unstable; urgency=low
260
267
261
  * shell/umc.sh: added check whether UMC frontend is installed for 
268
  * shell/umc.sh: added check whether UMC frontend is installed for
262
    umc_frontend_new_hash (Bug #22881)
269
    umc_frontend_new_hash (Bug #22881)
263
270
264
 -- Alexander Kläser <klaeser@univention.de>  Wed, 02 Nov 2011 17:14:31 +0100
271
 -- Alexander Kläser <klaeser@univention.de>  Wed, 02 Nov 2011 17:14:31 +0100
 Lines 308-314   univention-lib (1.0.30-1) unstable; urgency=low Link Here 
308
315
309
univention-lib (1.0.29-1) unstable; urgency=low
316
univention-lib (1.0.29-1) unstable; urgency=low
310
317
311
  * added logrotate/notifempty to ucrLogrotate helper (Bug #18002) 
318
  * added logrotate/notifempty to ucrLogrotate helper (Bug #18002)
312
319
313
 -- Felix Botner <botner@univention.de>  Wed, 12 Oct 2011 12:38:59 +0200
320
 -- Felix Botner <botner@univention.de>  Wed, 12 Oct 2011 12:38:59 +0200
314
321
 Lines 332-338   univention-lib (1.0.26-1) unstable; urgency=low Link Here 
332
339
333
univention-lib (1.0.25-1) unstable; urgency=low
340
univention-lib (1.0.25-1) unstable; urgency=low
334
341
335
  * added python/ucrLogrotate.py (Bug #18002) 
342
  * added python/ucrLogrotate.py (Bug #18002)
336
343
337
 -- Felix Botner <botner@univention.de>  Tue, 11 Oct 2011 15:41:41 +0200
344
 -- Felix Botner <botner@univention.de>  Tue, 11 Oct 2011 15:41:41 +0200
338
345
(-)a/branches/ucs-3.1/ucs/base/univention-lib/shell/base.sh (-4 / +4 lines)
 Lines 139-149   get_default_ipv6_address () { Link Here 
139
}
139
}
140
140
141
#
141
#
142
# returns the default netmask
142
# returns the default network prefix length
143
#
143
#
144
get_default_netmask () {
144
get_default_netmask () { get_default_netprefix "$@"; }  # deprecated, will be removed soon
145
get_default_netprefix () {
145
	PYTHONPATH=/usr/lib/pymodules/python2.6/univention/config_registry python2.6 2>/dev/null \
146
	PYTHONPATH=/usr/lib/pymodules/python2.6/univention/config_registry python2.6 2>/dev/null \
146
	-c 'from interfaces import Interfaces;print Interfaces().get_default_ip_address().netmask'
147
	-c 'from interfaces import Interfaces;print Interfaces().get_default_ip_address().prefixlen'
147
}
148
}
148
149
149
#
150
#
150
- 

Return to bug 29216