[MacPorts] #19463: privoxy: uses wrong startup plist
#19463: privoxy: uses wrong startup plist ---------------------------------+------------------------------------------ Reporter: cilly@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ---------------------------------+------------------------------------------ privoxy should be started this way: <?xml version="1.0" encoding="UTF-8"?>[[BR]] <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">[[BR]] <plist version="1.0">[[BR]] <dict>[[BR]] <key>Label</key>[[BR]] <string>org.privoxy.privoxy</string>[[BR]] <key>OnDemand</key>[[BR]] <false/>[[BR]] <key>Program</key>[[BR]] <string>/usr/local/sbin/privoxy</string>[[BR]] <key>ProgramArguments</key>[[BR]] <array> <string>privoxy</string>[[BR]] <string>--no-daemon</string>[[BR]] <string>--pidfile</string>[[BR]] <string>/var/run/privoxy/privoxy.pid</string>[[BR]] <string>/usr/local/etc/privoxy/config</string> </array>[[BR]] <key>RunAtLoad</key>[[BR]] <true/>[[BR]] <key>UserName</key>[[BR]] <string>privoxy</string> </dict>[[BR]] </plist> To let privoxy log into /var/run create a folder privoxy as following: drwxrwxr-x 3 root privoxy 102 Apr 28 15:52 /var/run/privoxy -- Ticket URL: <http://trac.macports.org/ticket/19463> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19463: privoxy: uses wrong startup plist ---------------------------------+------------------------------------------ Reporter: cilly@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by snc@…): Those paths should have @PREFIX@ in them so the portfile can reinplace the correct location for a given macports install. -- Ticket URL: <http://trac.macports.org/ticket/19463#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19463: privoxy: uses wrong startup plist ---------------------------------+------------------------------------------ Reporter: cilly@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: privoxy ---------------------------------+------------------------------------------ Changes (by snc@…): * port: => privoxy -- Ticket URL: <http://trac.macports.org/ticket/19463#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19463: privoxy: uses wrong startup plist ---------------------------------+------------------------------------------ Reporter: cilly@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: privoxy ---------------------------------+------------------------------------------ Comment(by arno+macports@…): The use of Program and ProgramArguments is redundant. "Program [should be used] if and only if you aren't passing any arguments." from http://launchd.macosforge.org/trac/wiki -- Ticket URL: <http://trac.macports.org/ticket/19463#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19463: privoxy: uses wrong startup plist ---------------------------------+------------------------------------------ Reporter: cilly@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: privoxy ---------------------------------+------------------------------------------ Comment(by jmr@…): Attaching a plist isn't really helpful since we don't write them directly, they're generated by the startupitem code. How about an equivalent patch for the portfile? -- Ticket URL: <https://trac.macports.org/ticket/19463#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts