Md5sum

Hi all,
I am going to install R12 and want to check stage area created only through unzipping files without running adautocfg.pl.
I want to check the correction of Stage area before going installation through Md5sum.
I need detail how I run this command. As I run on Md5sum it is saying no command found . It show need to install it.
As I study the documents but could not pick good. Please help me here step by step from downloading all the software.
I have solaris 5.10 with sparc 64 machine.
As •R12.1.1 - Solaris Sparc 64-Bit
download this checksum from this document 802195.1.
md5sum --check md5sum_Linux64.txt > md5sum_result.txt
How to write this command in solris case.
As file is downloaded with this name "Solaris64_part_overview.txt"
These are confusion which I am facing please clear me.

Hi Hussein,
This is the result of the file
d212e1a8ab73c0517e64bed3a03078d7
and I am pasting some line's contents from my md5sum_Solaris_sparc64.txt file
75AC4836AA6660AF30946FF05C73266C oraAppDB/Disk1/data/driver/Disk1.drv
75AC4836AA6660AF30946FF05C73266C oraAppDB/Disk1/data/driver/Disk1.drv
82B8C16579B638FCE8CAD22D20A2D892 oraAppDB/Disk1/data/driver/prod.drv
9605CDEC1A013806F17E9E421F0C84F7 oraAppDB/Disk1/data/driver/vision.drv
C6923BAA0E36A3C13E7B3EC506677AB1 oraAppDB/Disk1/data/stage/data_dat1163.zip
B5FB80F0C6CD39A6A21CF56E4911232B oraAppDB/Disk1/data/stage/data_dat1182.zip
728C525D5E0DA50C42A9298BE9ED076E oraAppDB/Disk1/data/stage/data_dat1188.zip
CA88BCDF5FD717A057348319BE2709AE oraAppDB/Disk1/data/stage/data_dat2125.zip
5AC4CACD23F2337EC96A5CD269711115 oraAppDB/Disk1/data/stage/data_dat223.zip
15616A8CF539AB59170B637F1CD12AA5 oraAppDB/Disk1/data/stage/data_dat263.zip
7C70241E1723644BAA5C4337C3064989 oraAppDB/Disk1/data/stage/data_dat264.zip
EE5BC2A9980886BA9673B80C5783D680 oraAppDB/Disk1/data/stage/data_dat265.zip
1D7C10D941F47DE4D3404C1E0CDBAAF0 oraAppDB/Disk1/data/stage/data_dat290.zip
6019AE49A9BC526086FC719AFEA95C6A oraAppDB/Disk1/data/stage/data_sys225.zip
12C05C020A3454E5197ADB825DAD188C oraAppDB/Disk1/disk.label
DDF566BB08000AD79B8BDAE3E1C1200F oraAppDB/Disk10/data/driver/Disk10.drv
5D90CA78BF4D33ECE777364598BAC5E7 oraAppDB/Disk10/data/stage/data_dat1170.zip
366CF2EF73CAB599F53BBCD615BE2167 oraAppDB/Disk10/data/stage/data_dat249.zip
224C567368B688AD52F43D54F343AA73 oraAppDB/Disk10/data/stage/data_dat276.zip
C938284F148F67A299D651C1DBE0C54C oraAppDB/Disk10/data/stage/data_dat296.zip
Thanks

Similar Messages

  • How to make a Java app compute an MD5sum of itself

    I am trying to write an open-source online Java game which will feature, among other things, an online economy system. The problem with this is security: I need a way to verify that the client app accessing the server has not been modified in any way. The client will be available as both an applet and as a standard Java application, making this somewhat more difficult.
    My current plan is this: when the client connects to my server, it will download a heavily-obfuscated JAR file (the security module of the program does not need to be open-source), and that JAR file will tell the client to compute an MD5sum of itself, as well as gathering a bunch of other data and heavily encrypting it, and it will send this data back to the server. Unfortunately, I do not know how to accomplish either the loading of the classes in the downloaded JAR or the making the program take an MD5sum of itself. I cannot have the program take an MD5sum of the JAR file on disk, because its name may have been changed, and it would not work for the applet version. Somehow I would have to compute a checksum of the code stored in memory, and send that. Is this even possible? Or is there a better, less convoluted way to accomplish what I'm trying to do?

    ejp wrote:
    You need to read the [Signed JAR file specification|http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Signed%20JAR%20File]. The .class files are digested. The digests are listed in a supplement to the manifest. The manifest is signed with a certificate. All that has to be reproducible at the recipient otherwise the JAR is corrupt. It can only be reproduced if the bytecodes agree with the digests and the signature of the digests agrees with the signature in the manifest, in other words essentially if the JAR is signed. And if it is signed by your certificate, it is your JAR file. Otherwise it is either corrupt or somebody else's JAR file. And only you can sign with your certificate because it is done with your private key, which is, well, private.Now it makes sense, thanks. But there's still one piece missing: how do you tell the server that you're running the signed version of the app? And how does the server know that the client is telling the truth?

  • Md5sum Error on Windows

    Hi I downloaded the EBS 12.1.1 from Edelivery side and unzip all the files on Z:\stage folder.
    Here Z is mapped drive.
    I download the "md5sum_Windows.txt" form the below document
    "MD5 Checksums for R12.1.1 Rapid Install Media [ID 802195.1]"
    md5sum --check md5sum_Windows.txt > md5sum_result.txt
    while running the above command gives error.
    : No such file or directory5\dbts\stage\db24_apex.zip
    : No such file or directory5\dbts\stage\db3_.patch_storage.zip
    : No such file or directory5\dbts\stage\db52_demo.zip
    : No such file or directory5\dbts\stage\db57_inventory.zip
    : No such file or directory5\dbts\stage\db6_.patch_storage.zip
    : No such file or directory5\dbts\stage\db84_owb.zip
    : No such file or directory5\disk.label
    /usr/bin/md5sum: WARNING: 1776 listed files could not be readi donot know why its checking in 5\dbts\stage we donot have such stucture
    I manually check the data .it fine for some of them.
    Z:\Stage>which md5sum
    /usr/bin/md5sum
    Thanks
    Nawneet

    We have installed cygwin 1.7 and for "make" package was form MinGW
    C:\Users\mocppd>uname -a
    CYGWIN_NT-6.0 srv-moc 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
    C:\Users\mocppd>make --version
    GNU Make 3.81
    Copyright (C) 2006  Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    This program built for i686-pc-cygwinOutput of which md5sum
    Z:\Stage>which md5sum
    /usr/bin/md5sumThanks
    Nawneet
    Edited by: user13767670 on Jan 20, 2011 6:29 AM

  • Solaris Installation (6/06) - MD5sums.list

    Apologies in advance if I'm missing something here - I feel so cheap:-)
    Are the md5 sums on the download site applicable to the Solaris 10 DVD se3gments (yes, I'm DL'ing to Linux and I am getting the zip files - Fedora FC5's unzip - think I'm doing every thing right - these are the md5sums that I'm getting:
    [expletive]# md5sum sol-10-u2-ga-x86-dvd-iso-?.zip
    85d9d98b1b559a08977dfd8021aa0cbc sol-10-u2-ga-x86-dvd-iso-a.zip
    e576442d2f1b7bab9139d04575619928 sol-10-u2-ga-x86-dvd-iso-b.zip
    3c53cb7c2d9f95a655d8ee8b0f413f50 sol-10-u2-ga-x86-dvd-iso-c.zip
    823097809c9ae47aaf40bfabefd4647c sol-10-u2-ga-x86-dvd-iso-d.zip
    b3bb0c3eb8188e354eb1cd028980b253 sol-10-u2-ga-x86-dvd-iso-e.zip
    [expletive]#
    Any help would be appreciated...

    I'm having the same problem on an Ultra 2, 1GM RAM, 18GB disk, Solaris 10, with a CD burned from java_es_05Q4-ga1-solaris-sparc-1.iso.

  • Yaourt, cvs, md5sum and community repo.

    Hey, lately trying to install packages with yaourt are not working. For example, flock and lmms both say CVS and not PKGBUILD in AUR. yaourt cannot find them.
    I tried to download the pkgbuild by clicking on cvs bout I get "AN Exception Has Occoured" error message.
    This is only with CVS packages. Also, when upgrading a package for my system from AUR, I don't use md5sum and I've always removed the old md5sum number from the pkgbuild and it builds.
    Now I can't do that anymore.
    Is there a problem with:
    1: packages saying CVS and not PKGBUILD in AUR/Community?
    2: is md5sum manditory now?
    An Exception Has Occurred
    lmms/repos/community-i686: unknown location
    HTTP Response Status
    404 Not Found
    Last edited by funkmuscle (2009-08-13 00:34:08)

    Packages in community have been moved to the previous CVS repo an SVN repo just like the official packages.  There are still issues being ironed out, which explains the exception.
    I believe the md5sums thing is due to the latest pacman update, makepkg will not just throw a warning now, it errors instead.  Don't quote me on that though.

  • Hash created using DBMS_CRYPTO.Hash and md5sum, sha1sum not maching.

    Hi,
    I have PL/SQL script MD5SH1.sql to generate md5 and sha1 hash, but hash generated by this script and
    hash generated by md5sum and sha1sum utility not matching.
    Pl. tell me what is wrong,
    ------------------MD5SH1.sql----------------
    set serveroutput on
    DECLARE
    input_string VARCHAR2 (200) := 'Lord of the ring'';
    output_str_md5 VARCHAR2 (200);
    output_str_sh1 VARCHAR2 (200);
    hash_raw_md5 RAW(2000);
    hash_raw_sh1 RAW(2000);
    hash_algo_type1 PLS_INTEGER := DBMS_CRYPTO.HASH_MD5;
    hash_algo_type2 PLS_INTEGER := DBMS_CRYPTO.HASH_SH1;
    BEGIN
    DBMS_OUTPUT.PUT_LINE ( 'Original string: ' || input_string);
    hash_raw_md5 := DBMS_CRYPTO.Hash
    src => UTL_I18N.STRING_TO_RAW (input_string, NULL),
    --src => input_string,
    typ => hash_algo_type1
    hash_raw_sh1 := DBMS_CRYPTO.Hash
    src => UTL_I18N.STRING_TO_RAW (input_string, NULL),
    --src => input_string,
    typ => hash_algo_type2
    output_str_md5 := UTL_I18N.RAW_TO_CHAR (hash_raw_md5,'US7ASCII');
    output_str_sh1 := UTL_I18N.RAW_TO_CHAR (hash_raw_sh1,'US7ASCII');
    --output_str_md5 := hash_raw_md5;
    --output_str_sh1 := hash_raw_sh1;
    --dbms_output.put_line(hash_raw_md5);
    --dbms_output.put_line(rawtohex(hash_raw_sh1));
    DBMS_OUTPUT.PUT_LINE ('MD5 Hash: ' || output_str_md5);
    DBMS_OUTPUT.PUT_LINE ('SH1 Hash: ' || output_str_sh1);
    END;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The O/p of this script is
    SYS@mydb> @MD5SH1.sql
    Original string: Lord of the ring
    MD5 Hash: �����+.v�`�a_A
    SH1 Hash:
    ����E�k�[�F[c�2�
    PL/SQL procedure successfully completed.
    SYS@mydb>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The o/p of md5sum and sha1sum is
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    [san@sde4 ~]$ echo "Lord of the ring" |md5sum
    f3fbb6dfd8a2d6f8f6aeabc4d6e17c57 -
    [san@sde4 ~]$ echo "Lord of the ring" |sha1sum
    856f6132e23c7e335ca4188bd45c7bc9515f6905 -
    [san@sde4 ~]$
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Why these 2 hashes are not matching?
    -Santosh Mhaskar

    You should take in account, that echo command adds a carriage return by default.
    SQL> set serveroutput on
    SQL> set echo on
    SQL> declare
      2    input_string       varchar2(200) := 'Lord of the ring'||chr(10);
      3    output_str_md5  varchar2(200);
      4    output_str_sh1  varchar2(200);
      5    hash_raw_md5       raw(2000);
      6    hash_raw_sh1       raw(2000);
      7    hash_algo_type1 pls_integer := dbms_crypto.hash_md5;
      8    hash_algo_type2 pls_integer := dbms_crypto.hash_sh1;
      9
    10  begin
    11    dbms_output.put_line('Original string: ' || input_string);
    12    hash_raw_md5      := dbms_crypto.hash(src => utl_raw.cast_to_raw(input_string),
    13                                       typ => hash_algo_type1);
    14    hash_raw_sh1      := dbms_crypto.hash(src => utl_raw.cast_to_raw(input_string),
    15                                       typ => hash_algo_type2);
    16    dbms_output.put_line('MD5 Hash: ' || lower(rawtohex(hash_raw_md5)));
    17    dbms_output.put_line('SH1 Hash: ' || lower(rawtohex(hash_raw_sh1)));
    18  end;
    19  /
    Original string: Lord of the ring
    MD5 Hash: f3fbb6dfd8a2d6f8f6aeabc4d6e17c57
    SH1 Hash: 856f6132e23c7e335ca4188bd45c7bc9515f6905
    PL/SQL procedure successfully completed.
    SQL> !echo "MD5 Hash:" `echo 'Lord of the ring' | md5sum`
    MD5 Hash: f3fbb6dfd8a2d6f8f6aeabc4d6e17c57 -
    SQL> !echo "SH1 Hash:" `echo 'Lord of the ring' | sha1sum`
    SH1 Hash: 856f6132e23c7e335ca4188bd45c7bc9515f6905 -Best regards
    Maxim

  • Wuala Validating source files with md5sums... wuala.tar.gz . FAILED

    [r-c@r-c-laptop wuala]$ makepkg -si
    ==> Making package: wuala 2-20110707 (Sat Oct 15 13:17:49 CEST 2011)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading wuala.tar.gz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 303k 100 303k 0 0 56284 0 0:00:05 0:00:05 --:--:-- 684k
    -> Found 0001-fix-loader-location.patch
    -> Found wuala.png
    -> Found wuala.desktop
    -> Found LICENSE
    ==> Validating source files with md5sums...
    wuala.tar.gz ... FAILED
    0001-fix-loader-location.patch ... Passed
    wuala.png ... Passed
    wuala.desktop ... Passed
    LICENSE ... Passed
    ==> ERROR: One or more files did not pass the validity check!
    I tryed to install it mannualy and also using yaourt. Nothing works.

    What I need to change just checksums or something else? Which checskums to use?
    I tryed copy and paste during installation but doesnt work:
    http://pastebin.com/MceCxbD3
    http://pastebin.com/ziQKuE5t

  • Where can I find a link to download md5sum

    I was told I needed to download and unpackage md5sum. Can anyone point me to a link where I can dowload the file. I read somewhere it may be a text file and I had to do some manipulation to unpackage it?
    Thanks Johnny Mac

    md5sum is part of the gnu coreutils package.
    You can download it from sunfreeware.com

  • How to ignore missing md5sums

    Hello,
    after a new pacman upgrade (3.3.0) makepkg now stops building when the md5sums are missing. This is a bit annoying if you have PKGBUILD which is fetching the pkgver via some command, like in my chromium PKGBUILD:
    pkgname=chromium-snapshot
    _realname=chromium-browser
    pkgver=`curl http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST`
    I know it's not correct with Arch Packaging Standards blah blah blah, but I think there should be some option to ignore it, especially when some packages (again, chromium as an example) don't publish any md5sums, which means you never really now if they are correct ;)
    Is there any way to ignore this md5sum checking? I've looked through the man page, but found nothing.
    Regards
    Ted

    Here you go! Patch to add a -n|--nohash switch to ignore integrity checks.
    --- makepkg.orig 2009-08-06 09:39:33.117013144 -0400
    +++ /usr/bin/makepkg 2009-08-06 09:44:51.446636563 -0400
    @@ -62,6 +62,7 @@
    NOBUILD=0
    NODEPS=0
    NOEXTRACT=0
    +NOHASH=0
    RMDEPS=0
    REPKG=0
    LOGGING=0
    @@ -1023,7 +1024,12 @@
    cd "$srcdir"
    download_sources
    # We can only check checksums if we have all files.
    - check_checksums
    + # Fix for flyspray bug #15830
    + if [ "$NOHASH" -eq 1 ]; then
    + warning "$(gettext "Skipping integrity checks.")"
    + else
    + check_checksums
    + fi
    cd "$startdir"
    msg "$(gettext "Creating source package...")"
    @@ -1400,6 +1406,7 @@
    echo "$(gettext " -f, --force Overwrite existing package")"
    echo "$(gettext " -g, --geninteg Generate integrity checks for source files")"
    echo "$(gettext " -h, --help This help")"
    + echo "$(gettext " -n, --nohash Skip all integrity checks")"
    echo "$(gettext " -i, --install Install package after successful build")"
    echo "$(gettext " -L, --log Log package build process")"
    echo "$(gettext " -m, --nocolor Disable colorized output messages")"
    @@ -1444,9 +1451,9 @@
    ARGLIST=$@
    # Parse Command Line Options.
    -OPT_SHORT="AbcCdefFghiLmop:rRsV"
    +OPT_SHORT="AbcCdefFghiLmnop:rRsV"
    OPT_LONG="allsource,asroot,ignorearch,builddeps,clean,cleancache,nodeps"
    -OPT_LONG="$OPT_LONG,noextract,force,forcever:,geninteg,help,holdver"
    +OPT_LONG="$OPT_LONG,noextract,nohash,force,forcever:,geninteg,help,holdver"
    OPT_LONG="$OPT_LONG,install,log,nocolor,nobuild,rmdeps,repackage,source"
    OPT_LONG="$OPT_LONG,syncdeps,version,config:"
    # Pacman Options
    @@ -1483,6 +1490,7 @@
    -i|--install) INSTALL=1 ;;
    -L|--log) LOGGING=1 ;;
    -m|--nocolor) USE_COLOR='n' ;;
    + -n|--nohash) NOHASH=1 ;;
    -o|--nobuild) NOBUILD=1 ;;
    -p) shift; BUILDFILE=$1 ;;
    -r|--rmdeps) RMDEPS=1 ;;
    @@ -1801,7 +1809,11 @@
    fi
    else
    download_sources
    - check_checksums
    + if [ "$NOHASH" -eq 1 ]; then
    + warning "$(gettext "Skipping integrity checks.")"
    + else
    + check_checksums
    + fi
    extract_sources
    fi

  • R12 Install Error: how to check stage area by MD5SUM / dos2unix

    Hi,
    I am facing R 12 Install Error at Stage 3 to 5 at 92%... Windows Xp SP3
    I have searched alot through this forum and resolved most of erros but for this error i found Hussein Sawwan always telling other users to run md5sum checksum for stage area integrity and i do the same thing but my md5sum command failed for all lines with error: ": *FAILED open or read*"
    How do i try to make it a unix file using: dos2unix <checksum file> <checksum file> ?
    Just give example commands for dos2unix <checksum file> <checksum file>.
    One more thing,
    I have downloaded Zipfilles for R 12.1.1 edelivery.oracle.com and when i run the sript file in rapidwiz folder *.PL Command window appers copy StartCD in the directory where is specify then a messages comes to insert CD/DVD for rdmsDB !!!
    What i do i m not using any CD/DVD ...??
    Please,
    Help me Any one.

    I have searched alot through this forum and resolved most of erros but for this error i found Hussein Sawwan always telling other users to run md5sum checksum for stage area integrity and i do the same thing but my md5sum command failed for all lines with error: ": *FAILED open or read*"
    How do i try to make it a unix file using: dos2unix <checksum file> <checksum file> ?
    Just give example commands for dos2unix <checksum file> <checksum file>.Please see (MD5 Checksums for R12.1.1 Rapid Install Media [ID 802195.1]) for details.
    One more thing,
    I have downloaded Zipfilles for R 12.1.1 edelivery.oracle.com and when i run the sript file in rapidwiz folder *.PL Command window appers copy StartCD in the directory where is specify then a messages comes to insert CD/DVD for rdmsDB !!!
    What i do i m not using any CD/DVD ...??Unzip the files as per (Using Electronic Delivery With Rapid Install in Oracle E-Business Suite Release 12 [ID 406138.1]) and run md5sum then.
    Thanks,
    Hussein

  • Source file md5sum changing often

    I have created a package for port_audio_v18. 
    This is not the last version of portaudio (which is v19 currently), because only the v18 is supported by crrcsim (an RC simulator).
    But  V18 is still evolving due to bug fixes. It means that the downloadable source tar  used by the package is regularly changing and md5sum is getting wrong every time it is updated.
    How to cope with this in a clean way ? Is there a way to remove this md5sum validation inside the PKBUILD so that a source tar change does not  block the package installation ?

    my64 wrote:How can I submit a package without md5sum?
    As a compromise, leave a comment for the AUR package (and inside the PKGBUILD) saying that the md5sum often changes. Or mirror the file yourself, as I do.
    I assume this is regarding a snapshot file.
    Edit: Removed "can't" - Ambi has info below...
    Last edited by brebs (2008-03-26 13:34:50)

  • Md5sum for Oracle 9i database for linux files

    Hello!
    Can anyone provide the md5sum for the following files?
    Linux9i_Disk1.cpio.gz
    Linux9i_Disk2.cpio.gz
    Linux9i_Disk3.cpio.gz
    Thanks,
    Anders Hermansen

    user464965 wrote:
    OK ... Using DB <font face="tahoma,verdana,sans-serif" size="1" color="#000">version</font> 10.1.0.5 :
    select XMLType.getStringVal(t.xml_data) my_data from mySchema.myTable t where t.myKey = '1'
    my_data
    ==================
    <WAREHOUSE whNo="101">
    <BUILDING>Brick</BUILDING>
    </WAREHOUSE>
    <P>update mySchema.myTable t set t.xml_data = XMLType.appendChildXml(t.xml_data, '/Warehouse', XMLType('<COLOR>red</COLOR>')) where t.myKey = '1'
    ORA-19039: Keyword APPENDCHILDXML reserved for future use
    ORA-06512: at "SYS.XMLTYPE", line 230
    ORA-06512: at line 1</P>It's quite useful, Thanks for your effort!

  • Md5summing the database ends up in integrity failure

    What might cause this? I clean out the cache before i did this, I don't know if it has anything to do with it.
    # pacman-optimize
    :: Md5sum'ing the old database                                           [DONE]
    :: Tar'ing up /var/lib/pacman                                            [DONE]
    :: Making and md5sum'ing the new db                                      [DONE]
    :: Checking integrity                                                    [FAIL]
    :: ERROR: integrity check FAILED, reverting to old database
    Last edited by theringmaster (2007-11-09 02:17:35)

    This is probably due to not having the diff program installed (pacman -S diffutils for it). There's a few tickets for it in the bug tracker, and it will be fixed when pacman 3.1 is released.

  • [SOLVED] MAKEPKG from git - md5sums?

    I'm trying to make my first AUR package.
    So far I have somethign that seems almost correct, except I am missing the md5sums field.
    pkgname=exit-prompt
    pkgver=0.1
    pkgrel=1
    pkgdesc="Exit dialog using systemctl, designed for OpenBox. Based on cb-exit from CrunchBang."
    arch=('any')
    url='https://github.com/MightyPork/exit-prompt'
    license=('MIT')
    depends=('python2' 'pygtk')
    makedepends=(git)
    optdepends=('systemd: power management'
    'openbox: logout function')
    source=('git://github.com/MightyPork/exit-prompt.git')
    provides=('exit-prompt')
    md5sums=()
    pkgver() {
    cd "$srcdir/exit-prompt"
    git describe --always | sed 's|-|.|g'
    package() {
    install -Dm 755 "$srcdir/exit-prompt" "$pkgdir/usr/bin/exit-prompt"
    Obviously since it comes from a git repository, I don't know what will be in the repository, hence it makes no sense at all to provide a md5 checksum. However, the build crashes with "ERROR: Integrity checks are missing.".
    How to do this right?
    Last edited by MightyPork (2014-06-21 10:44:50)

    Oh, my bad, it actually skips the git one, but has checksums for the others.
    source=(git://git.gnome.org/gtk+
    settings.ini
    scroller.patch
    switch.patch)
    sha256sums=('SKIP'
    'c214d3dcdcadda3d642112287524ab3e526ad592b70895c9f3e3733c23701621'
    'e93a3c06974d9ef82a6f77dc3da8c2c1d143e941de12e3a757a5746ac45dfc9e'
    '84b4e74b1d98bef69b9feb369aabed585a7dde99d05178c30e8e534f66d0d089')
    Neverming, thanks for help. Closing.

  • [Solved] Clever-way of putting a md5sum after source in PKGBUILD?

    Been trying to find a way to do this.  'makepkg -g >> PKGBUILD' puts the md5sums at the end of the line and was hoping to find a way to put them after the source line.  Been thinking about a way to do this but it's pretty ugly.  Thinking something like this would do:
    sed -e '1,/md5sum/d' PKGBUILD > PKGBUILD.tmp
    sed -i '/md5sum/,/\t/d' PKGBUILD
    makepkg -g PKGBUILD
    cat PKGBUILD.tmp >> PKGBUILD
    rm PKGBUILD.tmp
    But thinking there's got to be a better way.  Has anyone come up (or have any ideas on how to) put md5sums after source?
    Last edited by Gen2ly (2009-10-25 16:54:32)

    I got a couple guys to help me out with this.  Awk it turns out is a much better way to do this.  Ah... awk.  Here's a more-awkward way of doing it:
    awk 'BEGIN {
    checkAt = 0
    filesAt = 0
    scanning = 0
    /md5sums=\(/ {
    checkAt = NR
    scanning = 1
    /source=\(/ {
    filesAt = NR
    scanning = 1
    /)$/ {
    if (scanning) {
    if (checkAt > filesAt) {
    checkEnd = NR
    } else {
    filesEnd = NR
    scanning = 0
    lines[NR] = $0
    END {
    for (i = 1; i <= NR; ++i) {
    if (checkAt <= i && i <= checkEnd) {
    continue
    print lines[i]
    if (i == filesEnd) {
    for (j = checkAt; j <= checkEnd; ++j) {
    print lines[j]
    }' PKGBUILD > /tmp/PKGBUILD.tmp
    mv /tmp/PKGBUILD.tmp PKGBUILD
    This has the benefit of being able to put the md5sum after the source array even if it's before the source line.  Yah!

  • MD5sum Checksum Logic in ABAP interface

    Hi All..
    I am Pavan, ABAP Consultant from Bangalore, India....
    How to incorporate MD5sum checksum logic in ABAP interface...???
    FYI, MD5sum is a checksum tool available in the web. This tool will generate a unique No' for each flatfile downloaded from SAP via extracts..
    When i send the same flat file to my client, they will validate the checksum again.. Once it is validated, then it will be confirmed that data is not tampered... Otherwise, client will reject the file..
    This is a mandatory process for my client, since they are working as per SOXa standards... (Sarbanes - Oxley Controls & Process)
    Please help me, if any one of you have the information regarding this ..
    Thanks in Advance......
    Regards
    Pavan Sanganal
    Bangalore, India
    Email : [email protected]

    Hi,
    assuming you have the content in the well known table
    sdokcntbins, the following snippet may became useful:
      DATA:
        input_length        TYPE i,
        hash                TYPE hash160,
        data                TYPE xstring.
      CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
        EXPORTING
          input_length = input_length
        IMPORTING
          buffer       = data
        TABLES
          binary_tab   = p_file_content_binary.
      CALL FUNCTION 'CALCULATE_HASH_FOR_RAW'
        EXPORTING
          alg  = 'MD5'
          data = data
        IMPORTING
          hash = hash.
    Best regards,
    Stefan

Maybe you are looking for