Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12062 closed submission (fixed)

mailqfmt port proposal

Reported by: cbellot@… Owned by: macports-tickets@…
Priority: Normal Milestone:
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 (2)

mailqfmt-port.tar.gz (837 bytes) - added by cbellot@… 17 years ago.
mailqfmt-port-update1.tar.gz (704 bytes) - added by cbellot@… 17 years ago.

Download all attachments as: .zip

Change History (9)

Changed 17 years ago by cbellot@…

Attachment: mailqfmt-port.tar.gz added

comment:1 Changed 17 years 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 17 years ago by cbellot@…

comment:2 Changed 17 years ago by cbellot@…

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

comment:3 Changed 17 years ago by markd@…

Resolution: fixed
Status: newclosed

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

comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Needs developer reviewNew Ports

comment:5 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: New PortsPort Submissions

Milestone New Ports deleted

comment:6 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:7 Changed 16 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.