summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-03-11 15:57:30 +0000
committerobache <obache@pkgsrc.org>2007-03-11 15:57:30 +0000
commitfa2c44a5b2102b8816810c8a0b00d151ee6e6833 (patch)
treefc83d7c9228770cc740170b90aa1c5bd5a050b92 /www
parent50ad2f7127c72fd9cca0582e77f478d9196b22f2 (diff)
downloadpkgsrc-fa2c44a5b2102b8816810c8a0b00d151ee6e6833.tar.gz
Add p5-Kwiki-Archive-Cvs version 0.102.
Packaged by David Rankin and provided in PR 33248. Kwiki plugin to archive pages using CVS. (This package includes the http://www.kwiki.org/?PatchKwikiArchiveCvs patches to make Kwiki::Archives::Cvs work with Kwiki::Revision.)
Diffstat (limited to 'www')
-rw-r--r--www/p5-Kwiki-Archive-Cvs/DESCR4
-rw-r--r--www/p5-Kwiki-Archive-Cvs/Makefile17
-rw-r--r--www/p5-Kwiki-Archive-Cvs/PLIST1
-rw-r--r--www/p5-Kwiki-Archive-Cvs/distinfo6
-rw-r--r--www/p5-Kwiki-Archive-Cvs/patches/patch-aa33
5 files changed, 61 insertions, 0 deletions
diff --git a/www/p5-Kwiki-Archive-Cvs/DESCR b/www/p5-Kwiki-Archive-Cvs/DESCR
new file mode 100644
index 00000000000..8a6e2f1d949
--- /dev/null
+++ b/www/p5-Kwiki-Archive-Cvs/DESCR
@@ -0,0 +1,4 @@
+Kwiki plugin to archive pages using CVS.
+
+(This package includes the http://www.kwiki.org/?PatchKwikiArchiveCvs patches
+to make Kwiki::Archives::Cvs work with Kwiki::Revision.)
diff --git a/www/p5-Kwiki-Archive-Cvs/Makefile b/www/p5-Kwiki-Archive-Cvs/Makefile
new file mode 100644
index 00000000000..b4ef6bc7cbd
--- /dev/null
+++ b/www/p5-Kwiki-Archive-Cvs/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/11 15:57:30 obache Exp $
+
+DISTNAME= Kwiki-Archive-Cvs-0.102
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Kwiki/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.kwiki.org/
+COMMENT= Kwiki page archive using CVS
+
+DEPENDS+= p5-Kwiki>=0.38:../../www/p5-Kwiki
+
+PERL5_PACKLIST= auto/Kwiki/Archive/Cvs/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Kwiki-Archive-Cvs/PLIST b/www/p5-Kwiki-Archive-Cvs/PLIST
new file mode 100644
index 00000000000..8b45406bd86
--- /dev/null
+++ b/www/p5-Kwiki-Archive-Cvs/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/11 15:57:30 obache Exp $
diff --git a/www/p5-Kwiki-Archive-Cvs/distinfo b/www/p5-Kwiki-Archive-Cvs/distinfo
new file mode 100644
index 00000000000..6fcd94f35e7
--- /dev/null
+++ b/www/p5-Kwiki-Archive-Cvs/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/11 15:57:30 obache Exp $
+
+SHA1 (Kwiki-Archive-Cvs-0.102.tar.gz) = cf3701ac684992604572bf5cb3805e4db010026d
+RMD160 (Kwiki-Archive-Cvs-0.102.tar.gz) = 6351bcc9532b5c4a1ae47a983faa81f393251d54
+Size (Kwiki-Archive-Cvs-0.102.tar.gz) = 2670 bytes
+SHA1 (patch-aa) = 3db09127aee658d7c277c3af39257d789d8835ba
diff --git a/www/p5-Kwiki-Archive-Cvs/patches/patch-aa b/www/p5-Kwiki-Archive-Cvs/patches/patch-aa
new file mode 100644
index 00000000000..5572436c54e
--- /dev/null
+++ b/www/p5-Kwiki-Archive-Cvs/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/03/11 15:57:30 obache Exp $
+
+--- Cvs.pm.orig 2006-04-12 09:50:36.000000000 -0400
++++ Cvs.pm 2006-04-12 09:52:54.000000000 -0400
+@@ -69,9 +69,8 @@
+ my $page = shift;
+ my $rev = shift;
+
+- my $rlog = io("cvs -Q -d ".$self->cvsRoot($page)." log -r$rev ".$page->io." |") or die $!;
++ my $rlog = io("cvs -Q -d ".$self->cvsRoot($page)." log -r $rev ".$page->io." |") or die $!;
+
+- $rlog->utf8 if $self->use_utf8;
+ $self->parse_metadata($rlog->all);
+ }
+
+@@ -105,8 +104,6 @@
+
+ my $rlog = io("cvs -Q -d ".$self->cvsRoot($page)." log ".$page->io." |") or die $!;
+
+- $rlog->utf8 if $self->use_utf8;
+-
+ my $input = $rlog->all;
+ $input =~ s/
+ \n=+$
+@@ -127,7 +124,7 @@
+ local($/, *CO);
+ open CO, "cvs -Q -d ".$self->cvsRoot($page)." checkout -r$revision -p ".$self->cvsRepository($page)."/".$page->id." |"
+ or die $!;
+- binmode(CO, ':utf8') if $self->use_utf8;
++ binmode(CO, ':utf8');
+ scalar <CO>;
+ }
+