[aur-general] Download of the source code is blocked
Hi All, I'm creating a package for this software: http://freecode.com/projects/esekeyd. The problem is that, the webserver that is serving the source code file, blocks curl and other command line utilities. I looked at the libalpm code, and I saw that it uses libcurl. Also, I didn't found any option to set a custom User Agent. Setting one with curl allows me to download the file. What is the recommended action here? Include the source code in the package? Cheers, Giancarlo
AFAIK, never include source code (aur is not for hosting). You might find this usefull: https://bbs.archlinux.org/viewtopic.php?id=18606 On Wed, Feb 4, 2015 at 7:28 PM, Giancarlo Razzolini <grazzolini@gmail.com> wrote:
Hi All,
I'm creating a package for this software: http://freecode.com/projects/esekeyd. The problem is that, the webserver that is serving the source code file, blocks curl and other command line utilities. I looked at the libalpm code, and I saw that it uses libcurl. Also, I didn't found any option to set a custom User Agent. Setting one with curl allows me to download the file. What is the recommended action here? Include the source code in the package?
Cheers, Giancarlo
-- Javier Domingo Cansino
On 04-02-2015 16:32, Javier Domingo Cansino wrote:
AFAIK, never include source code (aur is not for hosting).
You might find this usefull: https://bbs.archlinux.org/viewtopic.php?id=18606 I imagined that. I was considering putting the source on another webserver, but it's far from optimal. Thanks for your response. I don't know if this advice still is valid, because as far as I can tell, the makepkg script only look in the DLAGENTS environment variable. Perhaps I could try to tweak with it. Anyway, thank you for your response.
Cheers, Giancarlo Razzolini
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 02/04/2015 01:52 PM, Giancarlo Razzolini wrote:
On 04-02-2015 16:32, Javier Domingo Cansino wrote:
AFAIK, never include source code (aur is not for hosting).
You might find this usefull: https://bbs.archlinux.org/viewtopic.php?id=18606 I imagined that. I was considering putting the source on another webserver, but it's far from optimal. Thanks for your response. I don't know if this advice still is valid, because as far as I can tell, the makepkg script only look in the DLAGENTS environment variable. Perhaps I could try to tweak with it. Anyway, thank you for your response.
Cheers, Giancarlo Razzolini
If I may offer an alternative, you could check it into a public git repository (I personally am not a fan of the big ones- github, bitbucket, etc.- as I like to host my own, but to each their own) *as long as* you provide proper credit to original author and a copy of the GPL (if the original tarball doesn't provide it). If it's truly licensed by the author under the GPL, this should suffice the GPL redistribution requirements unless I'm mistaken (and someone please correct me if I'm not). It looks like the website's been totally rehauled(?) and the project abandoned(?), which actually can be an advantage- you wouldn't need to merge in changes often. Anyways, you can do all that and then build a -git package[0]. [0] https://wiki.archlinux.org/index.php/VCS_package_guidelines -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJU0rrbAAoJEIwATC+TSB9rYGUP/2vUJzhlmHa6P9xUB9cB+aci fzwI1OK9VyGeEuoaqcT007MMGMNvcvTyQMQkM5Z1H0kOWJ8dvhEw2VEZfs8EBIZn AUP7jWb9MeZkNOFMaMFE/5swoTs1kixFlNx1jj0Lef+Ul3q7d5r9kcXbO9N/jDNv p6Cg3Stt2rQuOklTKpaiTyTNkBARLaCsm3D8qAYwKitFHnhTtKyGLigFaO1ai1Yp kdXNteWp8YeFFoehrtsvkjfYhZoZF8St4cMuF4bDoSe064f/A59IjnuPwc/bnzlG +t1rDMHD8MVpsnh2MyhlJMQXUWxPIMwEekkanJRR4MA37DU/D3mhG4qXCxrEgwHn zyUp4KUOKgLL3s7umryFi9YlsoUq3yVdeOsGjErUYhwGKi8HpiCtYXUnEiybZErt MEmepp1ymIDZtAFhr3u9OLFcrczhYwwkZLJZrsGe4JQOIkfwiOzdV9HNImW/3JG/ UtVZ14P9jOcCGVmd779aeiEABa3cTSV86kAYnW6UacK+armARurGdCrbo7wDZMjX NnNSpx8kbFs0/Bo1k8lzOHjhSShqZ9cC6jTy0PO+DzetezPRoVonq9OtrdKW0wNb Mn9slKjM3/PM5ALz58fBcTUtfnSpXY2No8nnQ8ckTMz++FttAvrlRskYzPsjsHWO LlrST/o5KDWeVWW/UqpA =WST+ -----END PGP SIGNATURE-----
If I may offer an alternative, you could check it into a public git repository (I personally am not a fan of the big ones- github, bitbucket, etc.- as I like to host my own, but to each their own) *as long as* you provide proper credit to original author and a copy of the GPL (if the original tarball doesn't provide it). If it's truly licensed by the author under the GPL, this should suffice the GPL redistribution requirements unless I'm mistaken (and someone please correct me if I'm not).
It looks like the website's been totally rehauled(?) and the project abandoned(?), which actually can be an advantage- you wouldn't need to merge in changes often.
Anyways, you can do all that and then build a -git package[0]. Thank you Brent. I managed to tweak the DLAGENTS variable to be able to download the source. I know I could up it to github or something like
On 04-02-2015 22:35, brent timothy saner wrote: that, the GPL allows it. And the project I believe is dead, but this daemon always worked for me. The package already is on AUR: https://aur.archlinux.org/packages/esekeyd/ This kind of filtering on user agents is dumb, but I preferred to workaround that. I tried to contact the author, but didn't got a response (yet). Cheers, Giancarlo
participants (3)
-
brent timothy saner
-
Giancarlo Razzolini
-
Javier Domingo Cansino