You are not logged in.

#1 2017-01-13 15:06:25

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

DLAGENT for certain source when use two different sources

Hi

I maintain the lsi-msm package in AUR, and recently one of the sources switch from http to https

in the package uses a 2 different sources, one through http and other with https, but the https needs a special handler because only download if it detects a browser, if download the file from curl, wget or whatever command line downloader, download a 0bits file, Even if you use a different useragent (maybe the page use a javascript for avoid this). only can download if use lynks and certain script through DLAGENT), the https source is also set with other custom DLAGENT

see https://aur.archlinux.org/cgit/aur.git/ … si-msm#n44 (the lynks script is https://aur.archlinux.org/cgit/aur.git/ … h=lsi-msm)

now the other source has changed from http to https, and now both sources download through same custom https (lynks) DLAGENT


the conflict source is https://collaboration.opengroup.org/peg … 4.1.tar.gz  (https://collaboration.opengroup.org/pegasus/)

is possible use a https DLAGENT only for one of the sources and other https DLAGENT for the other?

greetings

Last edited by sl1pkn07 (2017-01-14 15:34:36)

Offline

#2 2017-01-13 20:42:29

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: DLAGENT for certain source when use two different sources

Either list that source as a local source and expect the user to download it (these people are not making it easy...), or perhaps use a custom url:// scheme.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB