On 2012-07-05 15:15, Roland Mas wrote:
>   I can't limit that a posteriori, I'm afraid.  Even for users who
> installed the very minimal set of packages and didn't customize
> anything, there's still at least the variability of the hostname.

Well, you can extract the hostname and check, whether it was modified.
and you can remove the line with the hostname before running md5sum or
replace it with some placeholder first:

sed -e "s/^HoStNaMe: $the_local_hostname/HoStNaMe: GENERIC.DEFAU.LT/"
/etc/gforge/httpd.conf| md5sum

Or can you just regenerate the httpd.conf in the preinst script on
upgrades from pre-conffile and place it in a temporary location and
compare that to the version in /etc?


Andreas



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to