You are not logged in.

#1 2008-07-28 07:01:31

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

makepkg: change "sudo" to "sudo -E"?

Would changing "sudo" to "sudo -E" (-E to preserve environment variables in the makepkg provide any security risks?

this might be convenient to users who use $http_proxy and/or $ftp_proxy when running makepkg with the -s (sync deps) switch

just a thougt...


☃ Snowman ☃

Offline

#2 2008-07-28 07:21:53

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: makepkg: change "sudo" to "sudo -E"?

Hmm, sudo is only used in makepkg for installing packages through pacman.  So I can't really see any problems with this at first glance...

It is an easy patch if you want to submit it to the pacman-dev list.

Offline

#3 2008-07-29 04:33:26

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: makepkg: change "sudo" to "sudo -E"?

how do i do that?



btw, this is teh patch
http://rob.kingofnerds.net/makepkg_sudo.patch


☃ Snowman ☃

Offline

#4 2008-07-29 04:38:50

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: makepkg: change "sudo" to "sudo -E"?

The Arch mailing lists are listed here: http://www.archlinux.org/mailman/listinfo/

Offline

Board footer

Powered by FluxBB