You are not logged in.

#1 2008-03-25 12:23:19

my64
Member
From: France
Registered: 2007-12-30
Posts: 88

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 ?

Offline

#2 2008-03-25 12:26:45

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

Re: source file md5sum changing often

Yes, if you don't specify md5 array in your PKGBUILD, validation will be off.

Offline

#3 2008-03-25 14:11:47

my64
Member
From: France
Registered: 2007-12-30
Posts: 88

Re: source file md5sum changing often

Thanks.

Offline

#4 2008-03-25 19:00:35

my64
Member
From: France
Registered: 2007-12-30
Posts: 88

Re: source file md5sum changing often

I just tried to upload a package without md5sum line, but  AUR  gives an error:
        Missing md5sums variable in PKGBUILD.
How can I submit a package without md5sum ?

Offline

#5 2008-03-25 19:28:23

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: source file md5sum changing often

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... smile

Last edited by brebs (2008-03-26 13:34:50)

Offline

#6 2008-03-25 20:26:21

my64
Member
From: France
Registered: 2007-12-30
Posts: 88

Re: source file md5sum changing often

yes, it's a snapshot file.
I'll do it your way, and mirror the file on my site.
Thx

Offline

#7 2008-03-26 13:26:33

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

Re: source file md5sum changing often

Hey, I found it in ArchWiki: http://wiki.archlinux.org/index.php/Arc … guidelines

*  cvs and svn PKGBUILDs may not require a source or md5sum array but these fields must be included in the PKGBUILD if you wish to submit it to the AUR, otherwise the pkg will be rejected. They may be left blank though.

source=()
md5sums=()

Offline

Board footer

Powered by FluxBB