[mapserver-dev] 5.4 Release Tomorrow?

Flavio Hendry flavio at tydac.ch
Wed Apr 22 10:55:06 EDT 2009


thanks thomas

however it is not that straight forward ... as we use a lot of INCLUDE
with our mapfiles (we rewrote almost all of them lately ...). in any
case for most sites, we use "config-mapfiles" and we just have to change
those ones and the symbol and font file ...

Mit freundlichem Gruss / Best Regards
Flavio Hendry

----------------------------------------------------------------
TYDAC Web-Site:  http://www.tydac.ch
TYDAC MapServer: http://www.mapserver.ch
TYDAC SwissMaps: http://www.mapplus.ch
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############             mailto:flavio at tydac.ch
############         TYDAC AG - http://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####         Luternauweg 12 -- CH-3006 Bern
############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------
    Location: http://www.mapplus.ch/adr/bern/luternauweg/12
----------------------------------------------------------------


-----Original Message-----
From: thomas bonfort <thomas.bonfort at gmail.com>
To: Flavio Hendry <flavio at tydac.ch>
Cc: mapserver-dev at lists.osgeo.org
Date: Wed, 22 Apr 2009 16:20:10 +0200
Subject: Re: [mapserver-dev] 5.4 Release Tomorrow?

> Flavio,
> this can be scripted. here's an example script that seems to work,
> although I wouldn't run it on a real filesystem without backing it up
> beforehand:
> 
> #!/bin/bash
> 
> file=$1
> 
> grep -qi '^[[:space:]]*MAP[[:space:]]*$' "$file"
> present=$?
> 
> if [[ $present -ne 0 ]]; then
>     sed -i '1i MAP' "$file"
>     echo END >> "$file"
>     echo "added MAP...END to $file"
> fi
> 
> 
> save this as fixmapfile.sh, and run
> 
> find /path/to/where/my/mapfiles/are -name '*.map' -exec
> ./fixmapfile.sh {} \;
> 
> I repeat, backup before trying, or at least cross your fingers ;)
> 
> regards,
> thomas
> 
> On Wed, Apr 22, 2009 at 15:44, Flavio Hendry <flavio at tydac.ch> wrote:
> > och, will just spend the rest of my days fixing up mapfiles ...
> >
> > Mit freundlichem Gruss / Best Regards
> > Flavio Hendry
> >
> > ----------------------------------------------------------------
> > TYDAC Web-Site:  http://www.tydac.ch
> > TYDAC MapServer: http://www.mapserver.ch
> > TYDAC SwissMaps: http://www.mapplus.ch
> > ----------------------------------------------------------------
> > ############      Mit freundlichen Gruessen / Kind Regards
> > ############             mailto:flavio at tydac.ch
> > ############         TYDAC AG - http://www.tydac.ch
> > ####    ####        Geographic Information Solutions
> > ####    ####         Luternauweg 12 -- CH-3006 Bern
> > ############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
> > ----------------------------------------------------------------
> >    Location: http://www.mapplus.ch/adr/bern/luternauweg/12
> > ----------------------------------------------------------------
> >
> >
> > -----Original Message-----
> > From: "Steve Lime" <Steve.Lime at dnr.state.mn.us>
> > To: <jmckenna at gatewaygeomatics.com>,
> <mapserver-dev at lists.osgeo.org>,
> > <flavio at tydac.ch>
> > Date: Wed, 22 Apr 2009 08:31:44 -0500
> > Subject: Re: [mapserver-dev] 5.4 Release Tomorrow?
> >
> >> I'll take that as a +0 now...
> >>
> >> >>> "Flavio Hendry" <flavio at tydac.ch> 04/22/09 8:29 AM >>>
> >> Hi Jeff
> >>
> >> I just can't imagine how this should increase any security ...
> >> Anyway,
> >> if people can crack the pentagon (was in the news today) they can
> >> crack
> >> my dumb servers 1'000 times - with our without that keyword ...
> :-(
> >> ...
> >> and as far as I read, it did not concern MapScript anyway. So just
> >> old
> >> Morissette bugging me ;-) - something he likes a lot.
> >>
> >> Mit freundlichem Gruss / Best Regards
> >> Flavio Hendry
> >>
> >> ----------------------------------------------------------------
> >> TYDAC Web-Site:  http://www.tydac.ch
> >> TYDAC MapServer: http://www.mapserver.ch
> >> TYDAC SwissMaps: http://www.mapplus.ch
> >> ----------------------------------------------------------------
> >> ############      Mit freundlichen Gruessen / Kind Regards
> >> ############             mailto:flavio at tydac.ch
> >> ############         TYDAC AG - http://www.tydac.ch
> >> ####    ####        Geographic Information Solutions
> >> ####    ####         Luternauweg 12 -- CH-3006 Bern
> >> ############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
> >> ----------------------------------------------------------------
> >>     Location: http://www.mapplus.ch/adr/bern/luternauweg/12
> >> ----------------------------------------------------------------
> >>
> >>
> >> -----Original Message-----
> >> From: Jeff McKenna <jmckenna at gatewaygeomatics.com>
> >> To: mapserver-dev at lists.osgeo.org
> >> Date: Wed, 22 Apr 2009 08:53:04 -0400
> >> Subject: Re: [mapserver-dev] 5.4 Release Tomorrow?
> >>
> >> >
> >> > > We installed 5.4 RC2 and stumbled over a nasty
> incompatibility.
> >> It
> >> > seems
> >> > > that RC2 now requires the keywords MAP and SYMBOLSET in
> MapFiles
> >> > which
> >> > > were nicely ignored before ... (even in beta2, so it seems a
> very
> >> > last
> >> > > minute change). For us and our clients it would mean updating
> >> > hundreds
> >> > > of MapFiles as we ignored them since we use MapServer (2001 or
> >> > so)......
> >> > >
> >> >
> >> > Hi Flavio,
> >> >
> >> > I did voice your same concerns privately regarding these changes
> >> (as
> >> > every mapfile that I have touched since 2000 doesn't meet these
> new
> >> > standards)...but in the interest of security it's worth the
> pain.
> >> >
> >> > -jeff
> >> >
> >> >
> >> > --
> >> > Jeff McKenna
> >> > FOSS4G Consulting and Training Services
> >> > http://www.gatewaygeomatics.com/
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > mapserver-dev mailing list
> >> > mapserver-dev at lists.osgeo.org
> >> > http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> >>
> >>
> >> _______________________________________________
> >> mapserver-dev mailing list
> >> mapserver-dev at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> >
> >
> > _______________________________________________
> > mapserver-dev mailing list
> > mapserver-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> >




More information about the mapserver-dev mailing list