summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2006-01-31 20:12:41 +0000
committerjschauma <jschauma@pkgsrc.org>2006-01-31 20:12:41 +0000
commit414b5148c71cb484c37202f8baf7e31e01cc6b83 (patch)
tree1f676df586054b0dcf0d7110e8c94a57e4a22f12 /www
parent9c25a106eb24507f70a61848eeb049e937b68710 (diff)
downloadpkgsrc-414b5148c71cb484c37202f8baf7e31e01cc6b83.tar.gz
Initial import of p5-Kwiki-Users-Remote:
When using HTTP authentication for your Kwiki, use this module to automatically set the user's name from the username they logged in with. This name will appear in any Recent Changes listing.
Diffstat (limited to 'www')
-rw-r--r--www/p5-Kwiki-Users-Remote/DESCR3
-rw-r--r--www/p5-Kwiki-Users-Remote/MESSAGE24
-rw-r--r--www/p5-Kwiki-Users-Remote/Makefile17
-rw-r--r--www/p5-Kwiki-Users-Remote/PLIST1
-rw-r--r--www/p5-Kwiki-Users-Remote/distinfo5
5 files changed, 50 insertions, 0 deletions
diff --git a/www/p5-Kwiki-Users-Remote/DESCR b/www/p5-Kwiki-Users-Remote/DESCR
new file mode 100644
index 00000000000..1a1080287c4
--- /dev/null
+++ b/www/p5-Kwiki-Users-Remote/DESCR
@@ -0,0 +1,3 @@
+When using HTTP authentication for your Kwiki, use this module to
+automatically set the user's name from the username they logged in
+with. This name will appear in any Recent Changes listing.
diff --git a/www/p5-Kwiki-Users-Remote/MESSAGE b/www/p5-Kwiki-Users-Remote/MESSAGE
new file mode 100644
index 00000000000..ddabe76bfba
--- /dev/null
+++ b/www/p5-Kwiki-Users-Remote/MESSAGE
@@ -0,0 +1,24 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/01/31 20:12:41 jschauma Exp $
+
+To use this plugin, follow these steps:
+
+ $ cd /path/to/kwiki
+ $ echo "users_class: Kwiki::Users::Remote" >> config.yaml
+
+In your Apache configuration:
+
+ <Location /kwiki>
+ AuthName "my kwiki"
+ AuthType Basic
+ AuthUserFile /path/to/htpasswd
+ Require valid-user
+ </Location>
+
+Optionally, to display the user name, edit the file /path/to/kwiki/plugins
+and uncomment the line 'Kwiki::UserName::Remote' and run
+
+ $ cd /path/to/kwiki
+ $ kwiki -update
+
+===========================================================================
diff --git a/www/p5-Kwiki-Users-Remote/Makefile b/www/p5-Kwiki-Users-Remote/Makefile
new file mode 100644
index 00000000000..d73ec7a453f
--- /dev/null
+++ b/www/p5-Kwiki-Users-Remote/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/31 20:12:41 jschauma Exp $
+
+DISTNAME= Kwiki-Users-Remote-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Kwiki/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.kwiki.org/
+COMMENT= Kwiki plugin to automatically set user name from HTTP authentication
+
+DEPENDS+= p5-Kwiki>=0.37nb1:../../www/p5-Kwiki
+
+PERL5_PACKLIST= auto/Kwiki/Users/Remote/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Kwiki-Users-Remote/PLIST b/www/p5-Kwiki-Users-Remote/PLIST
new file mode 100644
index 00000000000..1bf973be21c
--- /dev/null
+++ b/www/p5-Kwiki-Users-Remote/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/31 20:12:41 jschauma Exp $
diff --git a/www/p5-Kwiki-Users-Remote/distinfo b/www/p5-Kwiki-Users-Remote/distinfo
new file mode 100644
index 00000000000..9852ab6d1d5
--- /dev/null
+++ b/www/p5-Kwiki-Users-Remote/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/01/31 20:12:41 jschauma Exp $
+
+SHA1 (Kwiki-Users-Remote-0.04.tar.gz) = 811a62698baf9234c5b739333ad1dbefb1a74e9f
+RMD160 (Kwiki-Users-Remote-0.04.tar.gz) = 0fce1ed4e9f2dd6a4c86be5fc792fdfb272446ec
+Size (Kwiki-Users-Remote-0.04.tar.gz) = 10116 bytes