summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/p5-ispman/Makefile48
-rw-r--r--net/p5-ispman/files/md53
-rw-r--r--net/p5-ispman/files/patch-sum5
-rw-r--r--net/p5-ispman/patches/patch-aa19
-rw-r--r--net/p5-ispman/patches/patch-ab13
-rw-r--r--net/p5-ispman/patches/patch-ac13
-rw-r--r--net/p5-ispman/pkg/COMMENT1
-rw-r--r--net/p5-ispman/pkg/DESCR3
-rw-r--r--net/p5-ispman/pkg/PLIST1
9 files changed, 106 insertions, 0 deletions
diff --git a/net/p5-ispman/Makefile b/net/p5-ispman/Makefile
new file mode 100644
index 00000000000..f81a65effa3
--- /dev/null
+++ b/net/p5-ispman/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/21 18:57:04 rh Exp $
+#
+
+DISTNAME= ispman-0.5
+PKGNAME= p5-${DISTNAME}
+WRKSRC= ${WRKDIR}/ispman/Modules/ISPMan
+CATEGORIES= net perl5
+MASTER_SITES= http://download.sourceforge.net/ispman/
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.ispman.org/
+
+DEPENDS+= p5-CGI>=2.72:../../www/p5-CGI
+DEPENDS+= p5-Text-Template>=1.23:../../textproc/p5-Text-Template
+DEPENDS+= p5-perl-ldap>=0.22:../../databases/p5-perl-ldap
+DEPENDS+= p5-IMAP-Admin>=1.2.5:../../mail/p5-IMAP-Admin
+DEPENDS+= p5-Convert-ASN1>=0.07:../../textproc/p5-Convert-ASN1
+DEPENDS+= p5-IO-stringy>=1.213:../../devel/p5-IO-stringy
+
+USE_PERL5= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/ISPMan/.packlist
+PLIST_SRC= ${WRKDIR}/PLIST
+
+MAKE_PARAMS+= --noprompt
+
+do-configure:
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ cd ${WRKSRC} && \
+ for i in `${FIND} * -type f -print` ; do \
+ ${CP} $$i $$i.old && \
+ ${SED} < $$i.old > $$i -e 's:/etc:${PREFIX}/etc:g' && \
+ ${RM} $$i.old ; \
+ done && \
+ ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
+ cd ${WRKSRC}/../IO-stringy-1.212_patched && \
+ ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
+
+post-build:
+ cd ${WRKSRC}/../IO-stringy-1.212_patched && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET} && \
+ ${ECHO} >> ${PLIST_SRC} \
+ "`${GREP} ^INSTALLSITELIB Makefile | ${CUT} -d/ -f2-`/IO/ScalarPatched.pm"
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/../IO-stringy-1.212_patched/lib/IO/Scalar.pm \
+ ${PREFIX}/`${TAIL} -n 1 ${PLIST_SRC}`
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-ispman/files/md5 b/net/p5-ispman/files/md5
new file mode 100644
index 00000000000..6479df4eb1a
--- /dev/null
+++ b/net/p5-ispman/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/21 18:57:04 rh Exp $
+
+MD5 (ispman-0.5.tar.gz) = 6be2cd9a4842a8198f6a06cd36ba040c
diff --git a/net/p5-ispman/files/patch-sum b/net/p5-ispman/files/patch-sum
new file mode 100644
index 00000000000..598ed68c589
--- /dev/null
+++ b/net/p5-ispman/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/21 18:57:04 rh Exp $
+
+MD5 (patch-aa) = c02c53471f0740f1daf90537696253dd
+MD5 (patch-ab) = 9695e3318d3ead63aef976ed0a8cf27b
+MD5 (patch-ac) = 9c80a13d211b3a4cce63551044188782
diff --git a/net/p5-ispman/patches/patch-aa b/net/p5-ispman/patches/patch-aa
new file mode 100644
index 00000000000..7660cf270b8
--- /dev/null
+++ b/net/p5-ispman/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/21 18:57:04 rh Exp $
+
+--- ISPMan.pm.orig Sat Sep 23 15:48:00 2000
++++ ISPMan.pm
+@@ -1,4 +1,5 @@
+ package ISPMan;
++use AutoLoader 'AUTOLOAD';
+ use strict;
+ use Text::Template;
+ use ISPMan::IMAP;
+@@ -30,7 +31,7 @@
+ my $self;
+
+
+- my $confDir=shift || "/etc/ispman/conf";
++ my $confDir=shift || "/etc/ispman";
+ $Config=ISPMan::Config->new($confDir);
+ $self->{'Config'}=$Config;
+
diff --git a/net/p5-ispman/patches/patch-ab b/net/p5-ispman/patches/patch-ab
new file mode 100644
index 00000000000..447f0db76cf
--- /dev/null
+++ b/net/p5-ispman/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/10/21 18:57:04 rh Exp $
+
+--- ISPMan/Config.pm.orig Tue Aug 1 16:18:21 2000
++++ ISPMan/Config.pm
+@@ -16,7 +16,7 @@
+ my $class = ref($proto) || $proto;
+
+
+- my $confDir=shift || "/etc/ispman/conf";
++ my $confDir=shift || "/etc/ispman";
+ unless ($Config){
+
+ die "\n\nERROR: $confDir does not exists. \nDid you create the configuration directory?\n\n" unless (-e $confDir);
diff --git a/net/p5-ispman/patches/patch-ac b/net/p5-ispman/patches/patch-ac
new file mode 100644
index 00000000000..c7ea6f19a46
--- /dev/null
+++ b/net/p5-ispman/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/10/21 18:57:04 rh Exp $
+
+--- ISPMan/LDAP.pm.orig Thu Oct 19 16:39:09 2000
++++ ISPMan/LDAP.pm
+@@ -4,7 +4,7 @@
+ use Net::LDAP;
+ use Net::LDAP::Entry;
+ use Net::LDAP::LDIF;
+-use IO::Scalar;
++use IO::ScalarPatched;
+
+ use Net::LDAP::Util qw(ldap_error_name ldap_error_text) ;
+ use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $LDAP $Config);
diff --git a/net/p5-ispman/pkg/COMMENT b/net/p5-ispman/pkg/COMMENT
new file mode 100644
index 00000000000..0267f9641f2
--- /dev/null
+++ b/net/p5-ispman/pkg/COMMENT
@@ -0,0 +1 @@
+Perl module for ISPMan webAdministrator and command line utils
diff --git a/net/p5-ispman/pkg/DESCR b/net/p5-ispman/pkg/DESCR
new file mode 100644
index 00000000000..504609ac615
--- /dev/null
+++ b/net/p5-ispman/pkg/DESCR
@@ -0,0 +1,3 @@
+ This is the Perl5 module for ispman. It contains a library of raw LDAP,
+IMAP, and Apache configuration routines that can be used by web front-ends
+and configuration scripts.
diff --git a/net/p5-ispman/pkg/PLIST b/net/p5-ispman/pkg/PLIST
new file mode 100644
index 00000000000..7c85ae71773
--- /dev/null
+++ b/net/p5-ispman/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/21 18:57:04 rh Exp $