/[smecontribs]/rpms/smeserver-coova-chilli/contribs7/smeserver-coova-chilli-0.2-add_macallowed_in_db.patch
ViewVC logotype

Annotation of /rpms/smeserver-coova-chilli/contribs7/smeserver-coova-chilli-0.2-add_macallowed_in_db.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Jul 29 15:11:07 2010 UTC (14 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-coova-chilli-0_2-20_el4_sme, smeserver-coova-chilli-0_2-18_el4_sme, smeserver-coova-chilli-0_2-19_el4_sme, HEAD
cvs add mising patches

1 vip-ire 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/chilli.conf/95macallowed mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/chilli.conf/95macallowed
2     --- smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/chilli.conf/95macallowed 1970-01-01 01:00:00.000000000 +0100
3     +++ mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/chilli.conf/95macallowed 2010-04-22 19:43:14.000000000 +0200
4     @@ -0,0 +1,15 @@
5     +
6     +macallowlocal
7     +{
8     +my @macalloweds = split(/[;,]/, ($chilli{'macallowed'} || ''));
9     +
10     +$OUT = '';
11     +
12     +# TODO: check the entry with a good regex
13     +
14     +foreach (@macalloweds){
15     + $_ =~ s/:/-/g;
16     + $OUT .= 'macallowed '.uc($_)."\n";
17     +}
18     +
19     +}

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed