You are not logged in.
Hello
For the displaylink package I would need to post two arguments to the website that provides the file. With wget I would use the flag --post-data='…'. Is there a way to do this in a PKGBUILD?
If not, what are the recommendations to provide that file?
Cheers,
PlusMinus
Offline
Can you share where you are getting this from?
If needed, you can set a DLAGENTS variable in the PKGBUILD, but often there are better ways around this. If you do use a DLAGENTS setting, though, use curl not wget.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Sure, this is a working wget example: wget --post-data='fileId=993&accept_submit=Accept' -O new_filename.zip 'http://www.displaylink.com/downloads/file?id=993'.
Didn’t manage yet to get curl to post the arguments.
Offline
It's probably needed for https://aur.archlinux.org/packages/displaylink/ .
If you try to download latest version here , you need to accept a EULA before you can download.
Reading the coments suggests that plusminus is trying to automate accepting the eula so that makepkg can download it.
Plusminus,
Automatically accepting a EULA is a bad idea and could have all kinds of legal consequences.
The typical solution for these cases is to prepend the sourcefile with file:// to instruct makepkg to look for the file locally .
The PKGBUILD should include instructions how / where to get the file.
Check https://wiki.archlinux.org/index.php/No … guidelines for details.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline