XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.2.0 ER4
    • EAP_EWP 5.2.0 ER2
    • None
    • None
    • Hide

      For counting sha256 checksums and comparing them with SHA256 checksums inside zip, I am using this simple script:

      #first go to directory containing the natives zips and then run:
      for i in `ls jboss-ep-native-5.2.0-ER2-*`;
        do echo  ------ FILE $i;
           unzip -l $i | grep SHA256SUM;
           temp_dir="xxx-$i"
           mkdir $temp_dir;
           unzip -q $i -d $temp_dir/;
           cd $temp_dir/;
           find -L jboss-ep-5.2 -type f -print0 | xargs -0 sha256sum > directory.SHA256SUM;
           cat jboss-ep-5.2/native/SHA256SUM |sort > fromZIP;
           cat directory.SHA256SUM | grep -e \\.so -e la$ -e dll$ -e exe$ | sort > generated;
           diff generated fromZIP;
           cd ..;
           rm -rf $temp_dir;
        done
      
      
      Show
      For counting sha256 checksums and comparing them with SHA256 checksums inside zip, I am using this simple script: #first go to directory containing the natives zips and then run: for i in `ls jboss-ep-native-5.2.0-ER2-*`; do echo ------ FILE $i; unzip -l $i | grep SHA256SUM; temp_dir="xxx-$i" mkdir $temp_dir; unzip -q $i -d $temp_dir/; cd $temp_dir/; find -L jboss-ep-5.2 -type f -print0 | xargs -0 sha256sum > directory.SHA256SUM; cat jboss-ep-5.2/native/SHA256SUM |sort > fromZIP; cat directory.SHA256SUM | grep -e \\.so -e la$ -e dll$ -e exe$ | sort > generated; diff generated fromZIP; cd ..; rm -rf $temp_dir; done
    • Not Required
    • NEW

      SHA256 checksums are not valid for RHEL5 and RHEL6 natives 32bit versions in EAP 5.2.0.ER2 and in case of EWP 5.2.0.ER2 the checksums does not match for any RHEL natives (differences are in libaprutil, libapr and libHornetQAIO)

      Windows and Solaris platforms are OK.

              permaine Permaine Cheung
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: