summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-09-22 19:46:26 +0000
committerSteve Wills <swills@FreeBSD.org>2012-09-22 19:46:26 +0000
commit58b7ebefddd33227dc189759b6fedf0eb3a0173f (patch)
treea81ec95353a7c01c4961c6a850045af0c5cf0698 /devel
parent- Update to 2.0004,1 (diff)
- Update to 0.61
PR: ports/171128 Approved by: maintainer timeout (rafan, >3 weeks)
Notes
Notes: svn path=/head/; revision=304718
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-SVN-Web/Makefile10
-rw-r--r--devel/p5-SVN-Web/distinfo4
-rw-r--r--devel/p5-SVN-Web/files/patch-2basic.t12
-rw-r--r--devel/p5-SVN-Web/files/patch-Diff.pm21
-rw-r--r--devel/p5-SVN-Web/files/patch-Log.pm20
-rw-r--r--devel/p5-SVN-Web/files/patch-Revision.pm11
-rw-r--r--devel/p5-SVN-Web/files/patch-View.pm11
-rw-r--r--devel/p5-SVN-Web/files/patch-action.pm24
-rw-r--r--devel/p5-SVN-Web/pkg-plist6
9 files changed, 14 insertions, 105 deletions
diff --git a/devel/p5-SVN-Web/Makefile b/devel/p5-SVN-Web/Makefile
index af068b19c7a1..9871b910a3a6 100644
--- a/devel/p5-SVN-Web/Makefile
+++ b/devel/p5-SVN-Web/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= SVN-Web
-PORTVERSION= 0.53
-PORTREVISION= 8
+PORTVERSION= 0.61
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -39,12 +38,15 @@ BUILD_DEPENDS:= ${RUN_DEPENDS} \
p5-Test-HTML-Tidy>=0:${PORTSDIR}/devel/p5-Test-HTML-Tidy \
p5-Test-WWW-Mechanize>=0:${PORTSDIR}/devel/p5-Test-WWW-Mechanize
-PERL_MODBUILD= yes
+PERL_CONFIGURE= yes
CONFIGURE_ARGS= --skip_questions
MAN1= svnweb-install.1 \
svnweb-server.1
-MAN3= SVN::Web.3 \
+MAN3= SVN::CHANGES.3 \
+ SVN::CONTRIBUTING.3 \
+ SVN::UPDATING.3 \
+ SVN::Web.3 \
SVN::Web::Blame.3 \
SVN::Web::Browse.3 \
SVN::Web::Checkout.3 \
diff --git a/devel/p5-SVN-Web/distinfo b/devel/p5-SVN-Web/distinfo
index 24dae1fcfc93..5c0d2117477d 100644
--- a/devel/p5-SVN-Web/distinfo
+++ b/devel/p5-SVN-Web/distinfo
@@ -1,2 +1,2 @@
-SHA256 (SVN-Web-0.53.tar.gz) = 4844b14f6e76ec644c41230705725aa7d2374fddfe1beb23910eb1b708849549
-SIZE (SVN-Web-0.53.tar.gz) = 85155
+SHA256 (SVN-Web-0.61.tar.gz) = a5d6dbdbd7fe460a1b5413152e5ee976e4154f951476172fc956da0b0c418e2e
+SIZE (SVN-Web-0.61.tar.gz) = 97609
diff --git a/devel/p5-SVN-Web/files/patch-2basic.t b/devel/p5-SVN-Web/files/patch-2basic.t
deleted file mode 100644
index daa78083fa03..000000000000
--- a/devel/p5-SVN-Web/files/patch-2basic.t
+++ /dev/null
@@ -1,12 +0,0 @@
---- t/2basic.t Sun Apr 29 23:22:51 2007
-+++ t/2basic.t Mon Dec 15 03:09:45 2008
-@@ -61,6 +61,9 @@
- # a ':'. This catches template bugs with too many slashes.
- unlike($mech->uri(), qr{(?<!:)//}, 'URI does not contain "//"');
-
-+ diag('skip static files checks in local tests: '.$mech->uri), return
-+ if $mech->uri->path eq '/' or $mech->uri->path =~ m{/css/};
-+
- $mech->content_unlike(qr'An error occured', ' and content was correct');
- if($can_tidy
- and ($mech->uri() !~ m{ (?:
diff --git a/devel/p5-SVN-Web/files/patch-Diff.pm b/devel/p5-SVN-Web/files/patch-Diff.pm
deleted file mode 100644
index 61c32898da50..000000000000
--- a/devel/p5-SVN-Web/files/patch-Diff.pm
+++ /dev/null
@@ -1,21 +0,0 @@
---- lib/SVN/Web/Diff.pm Sun Apr 29 23:22:51 2007
-+++ lib/SVN/Web/Diff.pm Mon Dec 15 02:30:36 2008
-@@ -188,8 +188,8 @@
-
- my $mime = $self->{cgi}->param('mime') || 'text/html';
-
-- my %types = ( $rev1 => $ra->check_path($path, $rev1),
-- $rev2 => $ra->check_path($path, $rev2) );
-+ my %types = ( $rev1 => $ra->check_path($self->rpath, $rev1),
-+ $rev2 => $ra->check_path($self->rpath, $rev2) );
-
- SVN::Web::X->throw(error => '(cannot diff nodes of different types: %1 %2 %3)',
- vars => [$path, $rev1, $rev2])
-@@ -299,7 +299,7 @@
-
- my $ra = $self->{repos}{ra};
-
-- if($ra->check_path($path, $rev) == $SVN::Node::none) {
-+ if($ra->check_path($self->rpath($path), $rev) == $SVN::Node::none) {
- SVN::Web::X->throw(
- error => '(path %1 does not exist in revision %2)',
diff --git a/devel/p5-SVN-Web/files/patch-Log.pm b/devel/p5-SVN-Web/files/patch-Log.pm
deleted file mode 100644
index 25eb0aa73483..000000000000
--- a/devel/p5-SVN-Web/files/patch-Log.pm
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/SVN/Web/Log.pm Sun Apr 29 23:22:51 2007
-+++ lib/SVN/Web/Log.pm Mon Dec 15 02:32:02 2008
-@@ -214,7 +215,7 @@
- # entries then we're on the last page.
- #
- # If we're not on the last page then pop off the extra log entry
-- $ra->get_log([$path], $rev, 1, $limit + 1, 1, 1,
-+ $ra->get_log([$self->rpath], $rev, 1, $limit + 1, 1, 1,
- sub { $self->_log(@_) });
-
- $at_oldest = @{ $self->{REVS} } <= $limit;
-@@ -222,7 +223,7 @@
- pop @{ $self->{REVS} } unless $at_oldest;
- } else {
- # We must be displaying to the oldest rev, so no paging required
-- $ra->get_log([$path], $rev, 1, $limit, 1, 1,
-+ $ra->get_log([$self->rpath], $rev, 1, $limit, 1, 1,
- sub { $self->_log(@_) });
-
- $at_oldest = 1;
diff --git a/devel/p5-SVN-Web/files/patch-Revision.pm b/devel/p5-SVN-Web/files/patch-Revision.pm
deleted file mode 100644
index c008f7d1d6c1..000000000000
--- a/devel/p5-SVN-Web/files/patch-Revision.pm
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/SVN/Web/Revision.pm Sun Apr 29 23:22:51 2007
-+++ lib/SVN/Web/Revision.pm Sun Dec 14 00:25:26 2008
-@@ -211,7 +211,7 @@
- )
- if $rev > $yrev;
-
-- $ra->get_log(['/'], $rev, $rev, 1, 1, 1,
-+ $ra->get_log([''], $rev, $rev, 1, 1, 1,
- sub { $self->{REV} = $self->_log(@_) });
-
- $self->_resolve_changed_paths();
diff --git a/devel/p5-SVN-Web/files/patch-View.pm b/devel/p5-SVN-Web/files/patch-View.pm
deleted file mode 100644
index ca8150cfb040..000000000000
--- a/devel/p5-SVN-Web/files/patch-View.pm
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/SVN/Web/View.pm Sun Apr 29 23:22:51 2007
-+++ lib/SVN/Web/View.pm Mon Dec 15 02:29:44 2008
-@@ -134,7 +134,7 @@
- my $rev = $act_rev;
-
- # Get the log for this revision of the file
-- $ra->get_log([$path], $rev, $rev, 1, 1, 1,
-+ $ra->get_log([$self->rpath], $rev, $rev, 1, 1, 1,
- sub { $self->{REV} = $self->_log(@_) });
-
- # Get the text for this revision of the file
diff --git a/devel/p5-SVN-Web/files/patch-action.pm b/devel/p5-SVN-Web/files/patch-action.pm
deleted file mode 100644
index 9a3527044a87..000000000000
--- a/devel/p5-SVN-Web/files/patch-action.pm
+++ /dev/null
@@ -1,24 +0,0 @@
---- lib/SVN/Web/action.pm Sun Apr 29 23:22:51 2007
-+++ lib/SVN/Web/action.pm Mon Dec 15 02:27:15 2008
-@@ -241,7 +241,7 @@
- my $ra = $self->{repos}{ra};
-
- my @log_result;
-- $ra->get_log([$path], $rev, 1, 1, 0, 1,
-+ $ra->get_log([$self->rpath($path)], $rev, 1, 1, 0, 1,
- sub { @log_result = @_; });
-
- return @log_result if wantarray();
-@@ -371,5 +371,12 @@
- See L<http://www.perl.com/perl/misc/Artistic.html>
-
- =cut
-+
-+sub rpath {
-+ my ($self,$p) = @_;
-+ my $path = $p || $self->{path};
-+ $path =~ s{^/}{} if $path;
-+ return $path;
-+}
-
- 1;
diff --git a/devel/p5-SVN-Web/pkg-plist b/devel/p5-SVN-Web/pkg-plist
index c20c3ecc6b1f..59d1cc6037df 100644
--- a/devel/p5-SVN-Web/pkg-plist
+++ b/devel/p5-SVN-Web/pkg-plist
@@ -1,5 +1,8 @@
bin/svnweb-install
bin/svnweb-server
+%%SITE_PERL%%/SVN/CHANGES.pod
+%%SITE_PERL%%/SVN/CONTRIBUTING.pod
+%%SITE_PERL%%/SVN/UPDATING.pod
%%SITE_PERL%%/SVN/Web.pm
%%SITE_PERL%%/SVN/Web/Blame.pm
%%SITE_PERL%%/SVN/Web/Browse.pm
@@ -58,6 +61,7 @@ bin/svnweb-server
%%SITE_PERL%%/SVN/Web/View.pm
%%SITE_PERL%%/SVN/Web/X.pm
%%SITE_PERL%%/SVN/Web/action.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/Web/.packlist
@dirrm %%SITE_PERL%%/SVN/Web/I18N
@dirrm %%SITE_PERL%%/SVN/Web/Style/trac
@dirrm %%SITE_PERL%%/SVN/Web/Style
@@ -65,4 +69,6 @@ bin/svnweb-server
@dirrm %%SITE_PERL%%/SVN/Web/Template/trac
@dirrm %%SITE_PERL%%/SVN/Web/Template
@dirrm %%SITE_PERL%%/SVN/Web
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/Web
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN
@dirrmtry %%SITE_PERL%%/SVN