You are not logged in.

#1 2011-08-09 21:43:08

jeff story
Member
Registered: 2009-05-31
Posts: 237
Website

md5sum of online file? How To

Is it possible to get the md5sum of a file thats online?

Example: When I try

md5sum http://git.xfce.org/xfce/thunar/patch/?id=a14345dafd7cb6333317d5ebddf62fbddc946c27

I get an error:

md5sum: http://git.xfce.org/xfce/thunar/patch/?id=a14345dafd7cb6333317d5ebddf62fbddc946c27: No such file or directory

If I download the text and create a file, it's easy to get the md5sum, but it's not the same as the md5sum of http://git.xfce.org/xfce/thunar/patch/? … bddc946c27


Check out my website for info on the Arch Linux Installer

Offline

#2 2011-08-09 22:01:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: md5sum of online file? How To

What's the correct sum?

This patch is included in an e-mail so you probably should strip the beginning and the end.

Offline

#3 2011-08-09 22:04:52

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: md5sum of online file? How To

No, that's a valid mailbox formatted git patch.

You can't md5sum something you don't have. Best you can muster is something like:

curl http://path.to.stuff/file | md5sum

Offline

#4 2011-08-10 00:51:19

jeff story
Member
Registered: 2009-05-31
Posts: 237
Website

Re: md5sum of online file? How To

Thanks, 

@ Karol, I didn't have the md5sum for it.
I found the patch here http://git.xfce.org/xfce/thunar/commit/ … bddc946c27
Didn't see the md5sum for the patch....

This command got me the md5sum I needed to add the patch to the PKGBUILD and I got past that error....
Now im getting another error.

Current situation...... I'm at work on Windows .... NX to home OS ....  trying to test a vbox installed OS....
I need to wait till I get home to look into this more.

curl http://git.xfce.org/xfce/thunar/patch/?id=a14345dafd7cb6333317d5ebddf62fbddc946c27 | md5sum

Trying to test the patch for Thunar on a vbox install. I wanted to (first time) try to impliment the patch via a PKGBUILD.

I'm sure I'm missing some important parts of the puzzle!


Check out my website for info on the Arch Linux Installer

Offline

#5 2011-08-10 01:15:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: md5sum of online file? How To

PKGBUILDs use locally provided patches, for what I've seen.

Offline

Board footer

Powered by FluxBB