Skip to content

Commit

Permalink
Rename to TCP::Rebuild for CPAN
Browse files Browse the repository at this point in the history
  • Loading branch information
edeca committed Jul 3, 2010
1 parent 8a9e466 commit 7782e81
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 35 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,4 +1,4 @@
Revision history for Net-RebuildTCP
Revision history for TCP-Rebuild

0.01 2010-02-12
First version, probably has many bugs.
Expand Down
9 changes: 4 additions & 5 deletions Makefile.PL
Expand Up @@ -4,19 +4,18 @@ use warnings;

use inc::Module::Install;

name ('Net-RebuildTCP');
name ('TCP-Rebuild');
author ('David Cannings <david@edeca.net>');
license ('perl');
all_from ('lib/Net/RebuildTCP.pm');
all_from ('lib/TCP/Rebuild.pm');

requires('Net::LibNIDS' => '0.02'); # bugfixes
requires('Net::LibNIDS' => '0.04'); # bugfixes
requires('Pod::Usage' => '1.00');

#extra_tests;

install_script('bin/tcprebuild');

repository('http://github.com/edeca/HTTP-Sessioniser');
auto_manifest;
repository('http://github.com/edeca/TCP-Rebuild');

WriteAll();
14 changes: 7 additions & 7 deletions README
@@ -1,5 +1,5 @@
Net-RebuildTCP
==============
TCP-Rebuild
===========

A Perl alternative to utilities such as tcpick or tcpflow, with the
benefit of extra options, bugfixes and it should work on 64-bit machines.
Expand All @@ -24,21 +24,21 @@ SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.

perldoc Net::RebuildTCP
perldoc TCP::Rebuild

You can also look for information at:

RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-RebuildTCP
http://rt.cpan.org/NoAuth/Bugs.html?Dist=TCP-Rebuild

AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Net-RebuildTCP
http://annocpan.org/dist/TCP-Rebuild

CPAN Ratings
http://cpanratings.perl.org/d/Net-RebuildTCP
http://cpanratings.perl.org/d/TCP-Rebuild

Search CPAN
http://search.cpan.org/dist/Net-RebuildTCP/
http://search.cpan.org/dist/TCP-Rebuild/


LICENSE AND COPYRIGHT
Expand Down
39 changes: 17 additions & 22 deletions lib/Net/RebuildTCP.pm → lib/TCP/Rebuild.pm
@@ -1,16 +1,16 @@
package Net::RebuildTCP;
package TCP::Rebuild;

use warnings;
use strict;
use Net::LibNIDS 0.02;
use Net::LibNIDS 0.04;
use Socket qw(inet_ntoa);
use IO::File;
use Getopt::Long;
use Date::Format;

=head1 NAME
Net::RebuildTCP - Rebuild TCP streams to files on disk.
TCP::Rebuild - Rebuild TCP streams to files on disk.
=head1 VERSION
Expand All @@ -25,21 +25,16 @@ our $VERSION = '0.01';
Rebuilds TCP streams to plain text files on disk, one file per connection.
use Net::RebuildTCP;
use TCP::Rebuild;
my $tcp = Net::RebuildTCP->new();
$tcp->rebuild('/path/to/file.pcap');
=head1 EXPORT
A list of functions that can be exported. You can delete this section
if you don't export anything, such as for a purely object-oriented module.
my $r = TCP::Rebuild->new();
$r->rebuild('/path/to/file.pcap');
=head1 SUBROUTINES/METHODS
=head2 rebuild
$tcprebuild->rebuild('/path/to/file.pcap');
$r->rebuild('/path/to/file.pcap');
This method rebuilds a specific pcap file using the currently set options.
Expand Down Expand Up @@ -81,9 +76,9 @@ sub rebuild {

=head2 new
my $tcp = Net::RebuildTCP->new;
my $r = TCP::Rebuild->new;
This method constructs a new Net::RebuildTCP object.
This method constructs a new TCP::Rebuild object.
=cut

Expand Down Expand Up @@ -224,8 +219,8 @@ David Cannings, C<< <david at edeca.net> >>
=head1 BUGS
Please report any bugs or feature requests to C<bug-net-rebuildtcp at rt.cpan.org>, or through
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-RebuildTCP>. I will be notified, and then you'll
Please report any bugs or feature requests to C<bug-tcp-rebuild at rt.cpan.org>, or through
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TCP-Rebuild>. I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.
=head1 TODO
Expand All @@ -251,7 +246,7 @@ Things that would be nice to implement
You can find documentation for this module with the perldoc command.
perldoc Net::RebuildTCP
perldoc TCP::Rebuild
You can also look for information at:
Expand All @@ -260,19 +255,19 @@ You can also look for information at:
=item * RT: CPAN's request tracker
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-RebuildTCP>
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=TCP-Rebuild>
=item * AnnoCPAN: Annotated CPAN documentation
L<http://annocpan.org/dist/Net-RebuildTCP>
L<http://annocpan.org/dist/TCP-Rebuild>
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/Net-RebuildTCP>
L<http://cpanratings.perl.org/d/TCP-Rebuild>
=item * Search CPAN
L<http://search.cpan.org/dist/Net-RebuildTCP/>
L<http://search.cpan.org/dist/TCP-Rebuild/>
=back
Expand All @@ -295,4 +290,4 @@ See http://dev.perl.org/licenses/ for more information.
=cut

1; # End of Net::RebuildTCP
1; # End of TCP::Rebuild
File renamed without changes.

0 comments on commit 7782e81

Please sign in to comment.