From: Lionel B. <lio...@bo...> - 2005-03-02 17:19:55
|
Michel Bouissou wrote the following on 02.03.2005 17:25 : >Le Mercredi 02 Mars 2005 13:59, Lionel Bouton a =E9crit : > =20 > >>1.5.1 is out. It uses Michel's algorithm to guess if the IP is more >>likely to be an SMTP server or a personnal connexion. >> =20 >> > >Great. I've seen you couldn't resist to the pleasure of putting the actu= al=20 >regexps in separate config files ;-) > >...hope users won't mess with them too much. > Yes, there's a warning in the README installed by the update script for=20 this very reason. > IMHO, these files would have been=20 >better somewhere in /usr/lib rather than /etc. > > =20 > Hum, it really depends on how you see these files. From SQLgrey's point=20 of view these are configuration files. Now if you use the update script=20 (which is recommended) they look more like resource files as they aren't=20 meant to be modified by the admin anymore. In this case I think a more=20 suitable place would be /usr/share/sqlgrey. But I want to remain flexible on the way these files are handled. The=20 admin should be able to set up its own repository if mine doesn't suit=20 him/her, or even scrap the update script and use whatever suits his/her=20 needs. What is obviously lacking is a more detailed description of these files=20 so as to allow people interested in tweaking them to understand how to=20 do it. >An RPM package for 1.5.1 is on http://www.bouissou.net/sqlgrey/ > >It incorporates my "unofficial" date interval calculation patch as attac= hed. > > =20 > I must code the replacement for all now() usages. If all goes as well as=20 my initial tests did show, you won't have to maintain this part of your=20 patch after that. Look forward for 1.5.2. >@@ -38,7 +45,7 @@ > /etc/init.d/sqlgrey > /usr/sbin/sqlgrey > /usr/sbin/update_sqlgrey_config >-/usr/share/man/man1/sqlgrey.1.gz >+/usr/share/man/man1/sqlgrey.1.bz2 > =20 > Michel, is there a way to make various rpm versions happy with a same=20 spec file on this? For example on Gentoo the man page isn't compressed=20 by the ebuild, the package manager automagically compress any man pages.=20 Is there something along these lines that could be used in a portable=20 way with RPM? If not, I'll have to include a make mandrakerpm using a separate spec=20 file :-/ Lionel. |