You are not logged in.

#26 2022-11-15 16:33:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,200

Re: Question about AUR helper and pkgbuid[Solved]

ftr, adding

SKIPCHECKSUMS=1
SKIPPGPCHECK=1

to makepkg.conf does skip all integrity checks - very stupid plan still

Last edited by seth (2022-11-15 16:44:19)

Offline

#27 2022-11-16 02:33:19

nurali
Member
Registered: 2022-11-14
Posts: 44

Re: Question about AUR helper and pkgbuid[Solved]

Thanks for replying,I did think about what you mean,I can paru <pkgname> then I can get the real complete package name,then I can git clone the PKGBUILD to edit it manually,that'll work.And yes,there is no much AUR package I can work with,but ususally,after I spent some time and solved a problem that confused me,I'll reach for a new solution,finally I choose one of them what I think better than another.Just like this,I've tried so many distrobutions just to find one which I think comfortable(I found 2 though,Arch and Gentoo,LOL),whatever,I think trough now,I am not disabling intigrity check.(BTW:People are so nice here)

Trilby wrote:

Nurali, you said this is specifically an issue in retrieving source code from github, right?  But any -git PKGBUILD should already SKIP the checksum.  So does this only apply to packages that download versioned tarballs from github?  There certainly are a number of such packages, but they are small minority of AUR packages.  How many of these are you working with?  Why do you need a general solution (of disabling *all* checksums, which has lots of negative side-effects) to a problem that is specific to very few packages?

Offline

#28 2022-11-16 02:39:52

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Question about AUR helper and pkgbuid[Solved]

nurali wrote:

How to skip intigrity check when Installing an AUR package that requires source code from Github?
I want to edit makepkg.conf for disable intigrity check,but I don't know how,I tried commenting INTIGRITY_CHECK=(sha256) in makepkg.conf,but it did not work.

#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)

Why do you want to skip the integrity check?
It's there for your protection and any attempt to circumvent it leaves you open to invalid packages.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#29 2022-11-16 02:43:06

nurali
Member
Registered: 2022-11-14
Posts: 44

Re: Question about AUR helper and pkgbuid[Solved]

I gave up the thoughts now,LOL,check the post I sent to seth,and you'll know why

Slithery wrote:
nurali wrote:

How to skip intigrity check when Installing an AUR package that requires source code from Github?
I want to edit makepkg.conf for disable intigrity check,but I don't know how,I tried commenting INTIGRITY_CHECK=(sha256) in makepkg.conf,but it did not work.

#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)

Why do you want to skip the integrity check?
It's there for your protection and any attempt to circumvent it leaves you open to invalid packages.

Offline

Board footer

Powered by FluxBB