<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>22226</bug_id>
          
          <creation_ts>2009-11-09 18:41:24 +0300</creation_ts>
          <short_desc>&quot;rpm -V pine&quot; could ignore the generated diffs in /etc/pine.conf (through the use of  filterpineconf)</short_desc>
          <delta_ts>2013-01-19 22:39:45 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>pine</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>22225</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102864</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-11-09 18:41:24 +0300</bug_when>
    <thetext>pine-4.64L-alt6

After the installation of the package, verification detects changes:

$ rpm -V pine
S.5....T c /etc/pine.conf
$ 

This is due to the generation of /etc/pine.conf with comments and such that would incorporate the old config file (with possibly some changes done by the administrator).

When doing &quot;rpm -V&quot;, the verifyscript should ignore the non-substantial differences (comments, order) in order to be more informative.

Either the verifyscript could use filterpineconf. 

Or the package could include an already expanded version of /etc/pine.conf (generated from the concise packager&apos;s intentions with comments): then &quot;rpm -V&quot; wouldn&apos;t show anything if the configuration wasn&apos;t modified. The short source pine.conf cpuld be put into /usr/share/doc then, so that one can study the packager&apos;s intentions in concise form.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102865</commentid>
    <comment_count>1</comment_count>
    <who name="viy">viy</who>
    <bug_when>2009-11-09 18:52:31 +0300</bug_when>
    <thetext>just resubmit your gpg and rsa/dsa 
more details on
key http://www.altlinux.org/%D0%9F%D1%80%D0%BE%D1%86%D0%B5%D0%B4%D1%83%D1%80%D0%B0_%D0%BF%D1%80%D0%B8%D0%BD%D1%8F%D1%82%D0%B8%D1%8F_%D0%B2_Team

like I did for repocop
https://bugzilla.altlinux.org/show_bug.cgi?id=22132

and I gladly give you the package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102866</commentid>
    <comment_count>2</comment_count>
    <who name="viy">viy</who>
    <bug_when>2009-11-09 18:53:25 +0300</bug_when>
    <thetext>&gt; and I gladly give you the package.
we already discussed this, remember?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137006</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-01-19 22:35:00 +0400</bug_when>
    <thetext>(В ответ на комментарий №0)
&gt; When doing &quot;rpm -V&quot;, the verifyscript should ignore the non-substantial
&gt; differences (comments, order) in order to be more informative.
Didn&apos;t know of this feature but still FRs like this look better with a patch. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137008</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2013-01-19 22:39:45 +0400</bug_when>
    <thetext>Если правильно понимаю http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html#S2-RPM-INSIDE-VERIFYSCRIPT-SCRIPT в части &quot;Since RPM automatically verifies the existence of a package&apos;s files, along with other file attributes, the %verifyscript should concentrate on different aspects of the package&apos;s installation&quot; -- это NOTABUG.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>