Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12743 (closed enhancement: fixed)

Opened 14 months ago

Last modified 13 months ago

Add a new startupitem_type: 'none'

Reported by: pmq@… Owned by: afb@…
Priority: Normal Milestone: MacPorts base enhancements
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

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

Change History

Changed 14 months ago by sfiera@…

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

Changed 14 months ago by nox@…

  • cc nox@… added

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

Changed 14 months 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.

Changed 14 months ago by nox@…

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

Changed 13 months ago by pmq@…

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

Changed 13 months ago by afb@…

  • owner changed from macports-dev@… to afb@…
  • status changed from new to assigned

Changed 13 months ago by afb@…

  • status changed from assigned to closed
  • resolution set to fixed

Applied, r30823.

Note: See TracTickets for help on using tickets.