You are not logged in.

#1 2009-03-13 16:35:41

app4des
Member
Registered: 2009-02-18
Posts: 39

A suggestion for pacman

Right now if you want to use "makepkg" effectively, you have to install and setup "sudo" just to be able to get the dependencies for a build (makepkg -s).

My suggestion is for pacman to have a new parameter, like "pacman -P" for example, that would read a PKGBUILD file from the current directory and automatically parse the mentioned dependencies for installation. That way sudo wouldn't be required to easily use AUR/ABS.

I think implementing this would make some systems more secure (no need to give users pacman permission) and also makes things more simple imo.

I already use a bad self-made script for directly reading and installing PKGBUILD deps, but it would be cool to have it as native feature of pacman.

What do you think.

Offline

#2 2009-03-13 16:40:54

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: A suggestion for pacman

This would do best as a feature request in the bug tracker.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#3 2009-03-13 16:51:30

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: A suggestion for pacman

Welcome to the forums app4des.

Ideas for improving the distro are always very well taken around here. Things do have a tendency to get lost in the forums, so what rson451 said is the best way to get ideas and suggestions across. There's a dedicated pacman section in the bug tracker. Look right under the user name box and you'll see a drop down lists.

Offline

#4 2009-03-13 23:03:21

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

Re: A suggestion for pacman

Yeah - bug tracker == good for feature requests.

But pacman does not even know about PKGBUILDs, in any shape or form.  So I highly doubt this will ever get implemented.

Offline

#5 2009-03-14 11:08:32

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: A suggestion for pacman

I don't get it -- pacman is still going to need to run as root to be able to install dependencies, regardless of whether it's started from makepkg via sudo, or from the user calling pacman -P

What am I missing??

Offline

#6 2009-03-14 11:26:51

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: A suggestion for pacman

/me thinks the -s switch should be phased out like they did with the -b switch so people can stop assuming that pacman is supposed to automate things for them when its only mission is to be simple  to use as in KISS.

Install the deps with 'pacman -S --asdeps', when done to clean up 'pacman -Rsn $(pacman -Qdt)' and be happy.

Offline

Board footer

Powered by FluxBB