summaryrefslogtreecommitdiff
path: root/www/p5-HTTPD-User-Manage
diff options
context:
space:
mode:
authornra <nra@pkgsrc.org>2001-07-17 18:39:39 +0000
committernra <nra@pkgsrc.org>2001-07-17 18:39:39 +0000
commit9da8f64aad9c8a6d2838214482791705cb944898 (patch)
tree5b24d2ce70e4222fd569bb530df13d9691612784 /www/p5-HTTPD-User-Manage
parentd0440798017d99f86f2b525c979fb5574e3e0def (diff)
downloadpkgsrc-9da8f64aad9c8a6d2838214482791705cb944898.tar.gz
New package p5-HTTPD-User-Manage. PR #13463 by Peter Reich.
This is HTTPD-User-Manage version 1.5X, a script and set of Perl modules for managing access control with the Apache, NCSA httpd, CERN and Netscape servers (and maybe some others). You can install this program as a CGI script to allow remote users to change their Web access passwords. Web administrators can use it to remotely add, edit and delete users and their groups. You can also use it from the command line as a nice all-in-one interface to access control databases based on text files, DBM files, and SQL databases. Please see the file user_manage.html for complete details.
Diffstat (limited to 'www/p5-HTTPD-User-Manage')
-rw-r--r--www/p5-HTTPD-User-Manage/Makefile30
-rw-r--r--www/p5-HTTPD-User-Manage/distinfo5
-rw-r--r--www/p5-HTTPD-User-Manage/patches/patch-aa28
-rw-r--r--www/p5-HTTPD-User-Manage/pkg/DESCR14
-rw-r--r--www/p5-HTTPD-User-Manage/pkg/MESSAGE5
-rw-r--r--www/p5-HTTPD-User-Manage/pkg/PLIST4
6 files changed, 86 insertions, 0 deletions
diff --git a/www/p5-HTTPD-User-Manage/Makefile b/www/p5-HTTPD-User-Manage/Makefile
new file mode 100644
index 00000000000..08165986d61
--- /dev/null
+++ b/www/p5-HTTPD-User-Manage/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/17 18:39:39 nra Exp $
+
+DISTNAME= HTTPD-User-Manage-1.58
+PKGNAME= p5-HTTPD-User-Manage-1.58
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTPD/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://stein.cshl.org/~lstein/user_manage/
+COMMENT= Perl script/modules for managing web access control
+
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/HTTPD-User-Manage/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+post-patch:
+ @${MV} ${WRKSRC}/user_manage ${WRKSRC}/user_manage.old
+ @${SED} -e "s+__PREFIX__+${PREFIX}+g" \
+ ${WRKSRC}/user_manage.old > ${WRKSRC}/user_manage
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/user_manage ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/user_manage ${PREFIX}/libexec/cgi-bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/user_manage
+ ${INSTALL_DATA} ${WRKSRC}/user_manage.html \
+ ${PREFIX}/share/doc/user_manage/user_manage.html
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-HTTPD-User-Manage/distinfo b/www/p5-HTTPD-User-Manage/distinfo
new file mode 100644
index 00000000000..3557dbd1344
--- /dev/null
+++ b/www/p5-HTTPD-User-Manage/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/17 18:39:39 nra Exp $
+
+SHA1 (HTTPD-User-Manage-1.58.tar.gz) = 56141f1d4a1889da2adeaca74977dd43e4d7338f
+Size (HTTPD-User-Manage-1.58.tar.gz) = 112006 bytes
+SHA1 (patch-aa) = c87ef6dda01510ec76409a37e814273a324ce930
diff --git a/www/p5-HTTPD-User-Manage/patches/patch-aa b/www/p5-HTTPD-User-Manage/patches/patch-aa
new file mode 100644
index 00000000000..24c16832cf5
--- /dev/null
+++ b/www/p5-HTTPD-User-Manage/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/07/17 18:39:39 nra Exp $
+
+--- user_manage.orig Tue Feb 20 04:50:33 2001
++++ user_manage Fri Jul 13 20:32:51 2001
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/pkg/bin/perl
+
+ use HTTPD::Realm 1.5
+ $VERSION = 1.58;
+@@ -33,7 +33,7 @@
+
+ # Path to our configuration file. Change as appropriate for
+ # your site.
+-$CONFIG_FILE = './t/realms.conf';
++$CONFIG_FILE = '__PREFIX__/etc/httpd/realms.conf';
+
+ # Set this to the name of your server. Only 'apache' is guaranteed
+ # to work. 'ncsa' and 'netscape' might work too -- you'll have to try.
+@@ -61,7 +61,7 @@
+ # owner writable (-rw-r--r--). You may wish to change this to group-writable
+ # if you wish to make this script set-gid.
+ # e.g. $CREATE_MODE = 0664;
+-$CREATE_MODE = 0644; # -rw-r--r--
++$CREATE_MODE = 0600; # -rw-r--r--
+
+ # If you are using this script from the command line, you
+ # may need to change $STTY to point to the position of the
diff --git a/www/p5-HTTPD-User-Manage/pkg/DESCR b/www/p5-HTTPD-User-Manage/pkg/DESCR
new file mode 100644
index 00000000000..7be0e37f2fb
--- /dev/null
+++ b/www/p5-HTTPD-User-Manage/pkg/DESCR
@@ -0,0 +1,14 @@
+This is HTTPD-User-Manage version 1.5X, a script and set of Perl
+modules for managing access control with the Apache, NCSA httpd, CERN
+and Netscape servers (and maybe some others).
+
+You can install this program as a CGI script to allow remote users to
+change their Web access passwords. Web administrators can use it to
+remotely add, edit and delete users and their groups. You can also
+use it from the command line as a nice all-in-one interface to access
+control databases based on text files, DBM files, and SQL databases.
+
+Please see the file user_manage.html for complete details.
+
+Lincoln Stein
+lstein@cshl.org
diff --git a/www/p5-HTTPD-User-Manage/pkg/MESSAGE b/www/p5-HTTPD-User-Manage/pkg/MESSAGE
new file mode 100644
index 00000000000..e4f2054bd7c
--- /dev/null
+++ b/www/p5-HTTPD-User-Manage/pkg/MESSAGE
@@ -0,0 +1,5 @@
+
+To use the script please read the the manual
+ ${PREFIX}/share/docs/user_manage/user_manage.html
+
+to configure it propperly.
diff --git a/www/p5-HTTPD-User-Manage/pkg/PLIST b/www/p5-HTTPD-User-Manage/pkg/PLIST
new file mode 100644
index 00000000000..621df34b815
--- /dev/null
+++ b/www/p5-HTTPD-User-Manage/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/17 18:39:39 nra Exp $
+bin/user_manage
+libexec/cgi-bin/user_manage
+share/doc/user_manage/user_manage.html