Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12062 (closed enhancement: fixed)

Opened 18 months ago

Last modified 17 months ago

mailqfmt port proposal

Reported by: cbellot@… Owned by: macports-tickets@…
Priority: Normal Milestone: Port Submissions
Component: ports Version: 1.4.40
Keywords: Cc: cbellot@…, markd@…
Port:

Description

mailqfmt is a very usefull postfix mailq file reformatter. Here is a Portfile and associated files.

Not sure about the correct handle of a non-archive file to fetch in my Portfile (that's directly the perl script)

Attachments

mailqfmt-port.tar.gz (0.8 KB) - added by cbellot@… 18 months ago.
mailqfmt-port-update1.tar.gz (0.7 KB) - added by cbellot@… 18 months ago.

Change History

Changed 18 months ago by cbellot@…

Changed 18 months ago by markd@…

  • cc cbellot@…, markd@… added

I'm getting:

{{{Command output: patching file mailqfmt.pl Hunk #1 FAILED at 1.}}}

But the patch should not have hard coded paths anyway. You can put a marker PREFIX in the patch and do an reinplace to insert ${prefix} at runtime. But in this case you have a unique string anyway so might as well do this and skip the patch altogether:

reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g"

Changed 18 months ago by cbellot@…

Changed 18 months ago by cbellot@…

I updated Portfile and removed the patch. Thanks a lot for the review!

Changed 18 months ago by markd@…

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

Committed. I removed the blank extract.args. Thanks!

Changed 17 months ago by jmpp@…

  • milestone changed from Needs developer review to New Ports

Changed 17 months ago by jmpp@…

  • milestone changed from New Ports to Port Submissions

Milestone New Ports deleted

Note: See TracTickets for help on using tickets.