Opened 17 years ago

Closed 16 years ago

Last modified 14 years ago

#12743 closed enhancement (fixed)

Add a new startupitem_type: 'none'

Reported by: pmq@… Owned by: afb@…
Priority: Normal Milestone: MacPorts 1.6
Component: base Version: 1.5.2
Keywords: Cc: pmq@…, sfiera@…, nox@…
Port:

Description

[Sorry for Cc:ing you sfiera, but we talked about that topic together on IRC a while ago, so I thought you might be interested as you had a quick patch]

Base should provide a way of setting 'startupitem_type none' in macports.conf to completely discard any startupitem directive ports may contain. This way it should be a lot easier to install stuff as a non-root user. I've been running as non-root for years and this is an issue that kills me. Also I tend not to include startupitem.* in my ports because I can't test them correctly on my machine. Committing something like this (and perhaps even merging/cherry-picking it back in the next minor release?) would be great.

NB: BTW --disable-launchd-support never worked for me for some reason. Port always tries to create launchd items.

Bug #10879 should probably be marked as duplicate and closed because it has never been reassigned nor had a patch uploaded.

Attachments (1)

patch-portstartupitem.tcl (1.1 KB) - added by sfiera@… 17 years ago.
Patch to add "startupitem.type none" to macports.conf

Download all attachments as: .zip

Change History (8)

Changed 17 years ago by sfiera@…

Attachment: patch-portstartupitem.tcl added

Patch to add "startupitem.type none" to macports.conf

comment:1 Changed 17 years ago by nox@…

Cc: nox@… added

I think you just need to use startupitem.create no.

comment:2 Changed 17 years ago by sfiera@…

Certainly that works for a port. This ticket is about a user preference in macports.conf, however. jberry gave the go-ahead to apply this patch, but I've been busy in the past few days and haven't gotten to it yet.

comment:3 Changed 17 years ago by nox@…

Oh, I missed the part that talks about macports.conf, sorry ;)

comment:4 Changed 16 years ago by pmq@…

Hi guys,
Did anyone had some time to commit this?
Thanks again!

comment:5 Changed 16 years ago by afb@…

Owner: changed from macports-dev@… to afb@…
Status: newassigned

comment:6 Changed 16 years ago by afb@…

Resolution: fixed
Status: assignedclosed

Applied, r30823.

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.6
Note: See TracTickets for help on using tickets.