Opened 12 years ago

Closed 12 years ago

#34865 closed defect (fixed)

p0f @2.0.8 livecheck fails to get the latest version

Reported by: nonstop.server@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: haspatch Cc:
Port: p0f

Description

The default livecheck does not present the latest version for this port.

% port -v livecheck p0f            
p0f seems to have been updated (port version: 2.0.8, new version: 3.00b)

After applying the attached patch it correctly returns the latest version for p0f.

% port -d livecheck p0f
[ snip output for brevity ]
DEBUG: Executing org.macports.main (p0f)
DEBUG: livecheck phase started at Thu Jun 14 14:27:04 CEST 2012
DEBUG: Executing org.macports.livecheck (p0f)
DEBUG: Portfile modification date is Thu Jun 14 14:27:02 CEST 2012
DEBUG: Port (livecheck) version is 2.0.8
DEBUG: Fetching http://lcamtuf.coredump.cx/p0f3/releases/
DEBUG: The regex is "p0f-([0-9.]+b?).tgz"
DEBUG: The regex matched "p0f-3.00b.tgz", extracted "3.00b"
DEBUG: The regex matched "p0f-3.00b.tgz", extracted "3.00b"
DEBUG: The regex matched "p0f-3.01b.tgz", extracted "3.01b"
DEBUG: The regex matched "p0f-3.01b.tgz", extracted "3.01b"
DEBUG: The regex matched "p0f-3.02b.tgz", extracted "3.02b"
DEBUG: The regex matched "p0f-3.02b.tgz", extracted "3.02b"
DEBUG: The regex matched "p0f-3.03b.tgz", extracted "3.03b"
DEBUG: The regex matched "p0f-3.03b.tgz", extracted "3.03b"
DEBUG: The regex matched "p0f-3.04b.tgz", extracted "3.04b"
DEBUG: The regex matched "p0f-3.04b.tgz", extracted "3.04b"
DEBUG: The regex matched "p0f-3.05b.tgz", extracted "3.05b"
DEBUG: The regex matched "p0f-3.05b.tgz", extracted "3.05b"
p0f seems to have been updated (port version: 2.0.8, new version: 3.05b)

Attachments (1)

p0f.diff (397 bytes) - added by nonstop.server@… 12 years ago.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by nonstop.server@…

Attachment: p0f.diff added

proposed patch

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.