Opened 13 years ago

Closed 13 years ago

#29540 closed submission (fixed)

p5-http-date port submission

Reported by: brian.gupta@… Owned by: l2g@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: p5-http-date

Description

I am missing HTTP/Date.pm, which is needed for a certain script I am running.

Attachments (2)

Portfile (553 bytes) - added by brian.gupta@… 13 years ago.
Portfile generated by cpan2port for p5-http-date
Portfile.2 (553 bytes) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
revised portfile proposal

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by brian.gupta@…

FOr now, I am going to use cpan2port

Changed 13 years ago by brian.gupta@…

Attachment: Portfile added

Portfile generated by cpan2port for p5-http-date

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: p5-http-date added
Status: newassigned
Summary: Add pm-http-date to macportsp5-http-date port submission
Type: requestsubmission

This Portfile looks like it was generated with an old version of cpan2port, and needs a lot of cleanup.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Owner: changed from ryandesign@… to l2g@…
Status: assignednew

I've attached a revised portfile with these changes:

  • use valid maintainer (nomaintainer)
  • add required long_description variable
  • remove extract.suffix and master_sites lines because their values were the defaults
  • remove md5 checksum which I consider obsolete
  • add "supported_archs noarch" since this port installs no architecture-specific files
  • use consistent formatting

Remember that cpan2port is not a foolproof one-step make-a-perfect-port tool. It's merely a first step you can use to get a rough beginning of a portfile, and still requires you to understand and employ portfile writing best practices.

I am not committing this yet, because p5-libwww-perl currently provides this module. The effort to upgrade p5-libwww-perl to the new version that comes as separate ports including p5-http-date is covered by #28865.

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: Portfile.2 added

revised portfile proposal

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

Replying to ryandesign@…:

This Portfile looks like it was generated with an old version of cpan2port, and needs a lot of cleanup.

I've just fixed the download URL on the howto page so it doesn't point to an old revision.

comment:5 Changed 13 years ago by l2g@…

Resolution: fixed
Status: newclosed

This has now been committed with the rest of libwww-perl's big new family (r79379).

Note: See TracTickets for help on using tickets.