Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Plugin/OpenPorts: Various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed May 21, 2011
1 parent 234bc1b commit a7f0430
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion lib/App/Pstatus/Plugin/OpenPorts.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;
use warnings; use warnings;
use 5.010; use 5.010;


use parent 'App::Pstatus::Plugin'; use parent 'App::Pstatus::Plugin::Base';


use LWP::UserAgent; use LWP::UserAgent;
use XML::LibXML; use XML::LibXML;
Expand Down Expand Up @@ -40,6 +40,8 @@ sub check {
}; };
} }
} }

die("not found\n");
} }


1; 1;
Expand All @@ -60,10 +62,28 @@ In F<pstatus/config>
This plugin queries a project's port on openports.se. This plugin queries a project's port on openports.se.
More precisely, it checks wether
http://openports.se/search.php?stype=folder&so=I<name> reports an "*** Exact
match ***", and if so, returns its version.
=head1 CONFIGURATION =head1 CONFIGURATION
None. None.
=head1 DEPENDENCIES
=over
=item * LWP::UserAgent
=item * XML::LibXML
=back
=head1 SEE ALSO
pstatus(1)
=head1 AUTHOR =head1 AUTHOR
Copyright (C) 2011 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt> Copyright (C) 2011 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt>
Expand Down

0 comments on commit a7f0430

Please sign in to comment.