Opened 8 years ago

Last modified 4 years ago

#49648 assigned enhancement

opendkim @2.10.3: add startupitem / launchd plist

Reported by: terrydop@… Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: willem+macports@…
Port: opendkim

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

After successfully installing opendkim

$ sudo port load opendkim
Error: org.macports.load for port opendkim returned: Launchd plist /Library/LaunchDaemons/org.macports.opendkim.plist was not found
Please see the log file for port opendkim for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_opendkim/opendkim/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port opendkim failed

$ more /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_opendkim/opendkim/main.log
version:1
:debug:main Executing org.macports.main (opendkim)
:debug:load load phase started at Tue Nov 10 10:23:48 PST 2015
:debug:load Executing org.macports.load (opendkim)
:error:load org.macports.load for port opendkim returned: Launchd plist /Library/LaunchDaemons/org.macports.opendkim.plist was not found
:debug:load Error code: NONE
:debug:load Backtrace: Launchd plist /Library/LaunchDaemons/org.macports.opendkim.plist was not found
    while executing
"portload::load_main org.macports.load"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:load Warning: targets not executed for opendkim: org.macports.load
:notice:load Please see the log file for port opendkim for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_opendkim/opendkim/main.log

Attachments (1)

Portfile-opendkim.diff (597 bytes) - added by grigutis@… 8 years ago.
Adds startupitem

Download all attachments as: .zip

Change History (13)

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

Cc: pixilla@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to pixilla@…
Summary: opendkim @2.10.3 fails to load -- missing .plist?opendkim @2.10.3: add startupitem / launchd plist
Type: defectenhancement

The opendkim port does not use the startupitem directives, so it does not provide a launchd plist. So, you are requesting that one be added?

comment:2 Changed 8 years ago by terrydop@…

Yes, a launchd.plist would be nice. This brings up where the opendkim.conf file should live. I see other distributions put it in /etc/opendkim so maybe it makes sense to create /opt/local/etc/opendkim and copy into it the /opt/local/share/doc/opendkim/opendkim.conf* sample files and add a post install notice about the startup item and the need to use one of the conf files as a starting point.

comment:3 Changed 8 years ago by willem+macports@…

Cc: willem+macports@… added

Cc Me!

comment:4 Changed 8 years ago by grigutis@…

Cc: grigutis@… added

Cc Me!

Changed 8 years ago by grigutis@…

Attachment: Portfile-opendkim.diff added

Adds startupitem

comment:5 Changed 8 years ago by Ionic (Mihai Moldovan)

Ping, patch has been added.

comment:6 Changed 5 years ago by mf2k (Frank Schima)

Keywords: haspatch added
Owner: pixilla deleted
Status: newassigned
Version: 2.3.4

See #57827

comment:7 Changed 5 years ago by BjarneDMat

In 17cb2711fc0ea76a47bc6762c0aff5d490cb83ac/macports-ports (master):

opendkim : add startupitem

Changes to be committed:

modified: mail/opendkim/Portfile

resolves: #49648

comment:8 Changed 4 years ago by jmroot (Joshua Root)

In aa046882f16c17590ce6bff8f06a727db3a27770/macports-ports (master):

Rev bump after 17cb271

See: #49648

comment:9 Changed 4 years ago by grigutis (John Grigutis)

Cc: grigutis added

comment:10 Changed 4 years ago by grigutis (John Grigutis)

Cc: grigutis removed

comment:11 Changed 4 years ago by grigutis (John Grigutis)

Could someone please remove grigutis@… from the cc list for this ticket. Thank you.

comment:12 Changed 4 years ago by mf2k (Frank Schima)

Cc: grigutis@… removed
Note: See TracTickets for help on using tickets.