Opened 15 years ago

Closed 6 years ago

#18319 closed enhancement (fixed)

courier-authlib is missing startupitem

Reported by: vallon (Justin) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: courier-authlib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Ticket #14229 had an attached Portfile that included numerous changes, including adding a startupitem clause to the Portfile for courier-authlib.

The ticket was closed with the comment "update was done in r36112", but 36112 only upgraded from 0.60.0 to 0.60.2 (+ checksums). None of the other changes in the Portfile of ticket #14229 were committed.

Specifically, I would like:

--- Portfile.orig	2009-02-01 20:37:00.000000000 -0500
+++ Portfile	2009-02-01 20:39:32.000000000 -0500
@@ -33,4 +33,10 @@
 	system "cd ${destroot}${prefix}/lib/courier-authlib && rm -f *.a *.la"
 }
 
+startupitem.create	yes
+startupitem.start	"${prefix}/sbin/authdaemond start"
+startupitem.stop	"${prefix}/sbin/authdaemond stop"
+startupitem.restart	"${prefix}/sbin/authdaemond restart"
+startupitem.pidfile	clean ${prefix}/var/run/${name}/pid
+
 #livecheck.check		sourceforge

Attachments (2)

Portfile (1.2 KB) - added by vallon (Justin) 15 years ago.
Portfile.patch (482 bytes) - added by vallon (Justin) 13 years ago.
Updated patch

Download all attachments as: .zip

Change History (12)

Changed 15 years ago by vallon (Justin)

Attachment: Portfile added

comment:1 Changed 15 years ago by vallon (Justin)

Cc: JustinVallon@… added

Cc Me!

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: JustinVallon@… removed
Milestone: Port BugsPort Enhancements
Owner: changed from macports-tickets@… to boeyms@…
Port: courier-authlib added

comment:3 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:4 Changed 14 years ago by vallon (Justin)

How can I get this Portfile updated? I just upgraded to Snow Leopard, and the startup item is not there.

comment:5 Changed 14 years ago by jan.fabry@…

Is the location of the pidfile still correct? I have updated my Portfile to include these lines, but daemondo does not find it. The authdaemond-script seems to create ${prefix}/var/spool/authdaemon/pid, and the courier-imap-package creates a directory ${prefix}/var/run/authdaemon.courier-imap. Should it be any of these two?

comment:6 in reply to:  4 Changed 13 years ago by jmroot (Joshua Root)

Replying to JustinVallon@…:

How can I get this Portfile updated?

Attach a unified diff against the current portfile. Attaching the complete modified file is both difficult to review and extremely prone to breakage when the file in svn changes in other ways in the meantime.

Changed 13 years ago by vallon (Justin)

Attachment: Portfile.patch added

Updated patch

comment:7 Changed 13 years ago by vallon (Justin)

Fixed the pidfile location. Uploaded patch Portfile.patch, diffed against Portfile r57375.

Please commit. Thanks.

comment:8 Changed 12 years ago by boeyms@…

Owner: changed from boeyms@… to macports-tickets@…

Reassigning to macports-tickets@… as I have relinquished ownership of this port.

comment:9 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:10 Changed 6 years ago by vallon (Justin)

Resolution: fixed
Status: newclosed

In ce6388fc90aee617756d8f0730d6a0b1c8c6530a/macports-ports:

courier-authlib: Add startupitem

  • Create startup item calling PFX/sbin/authdaemond start|stop|restart

Closes: #18319

Note: See TracTickets for help on using tickets.