summaryrefslogtreecommitdiff
path: root/net/ispman
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /net/ispman
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.tar.gz
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
Diffstat (limited to 'net/ispman')
-rw-r--r--net/ispman/Makefile5
-rw-r--r--net/ispman/pkg/MESSAGE17
2 files changed, 10 insertions, 12 deletions
diff --git a/net/ispman/Makefile b/net/ispman/Makefile
index 574b267a592..1c215eeef1a 100644
--- a/net/ispman/Makefile
+++ b/net/ispman/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/01/25 10:46:40 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2001/01/29 11:34:36 wiz Exp $
#
DISTNAME= ispman-0.5
@@ -19,7 +19,6 @@ DEPENDS+= postfix>=19991231pl08:../../mail/postfix
.endif
USE_PERL5= YES
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
ISPMAN_HTDOCS?= ${PREFIX}/share/ispman/virtual
ISPMAN_IP?= 127.0.0.1
@@ -47,7 +46,5 @@ do-build:
do-install:
cd ${WRKSRC} && ${PERL5} ./pkginstall.pl && \
${INSTALL_DATA} ispman.ldif ${PREFIX}/etc/ispman
- ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' < ${PKGDIR}/MESSAGE \
- > ${WRKDIR}/MESSAGE
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ispman/pkg/MESSAGE b/net/ispman/pkg/MESSAGE
index aec2b54e639..e8dfa026215 100644
--- a/net/ispman/pkg/MESSAGE
+++ b/net/ispman/pkg/MESSAGE
@@ -1,27 +1,28 @@
-$NetBSD: MESSAGE,v 1.1.1.1 2000/10/21 19:02:32 rh Exp $
-
==========================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:36 wiz Exp $
+
ISPMan has now been installed on your system.
Before using this package, copy the default configuration from
- '@@PREFIX@@/etc/ispman/ispman.conf.default' to
- '@@PREFIX@@/etc/ispman/ispman.conf' (and edit it accordingly).
+ '${PREFIX}/etc/ispman/ispman.conf.default' to
+ '${PREFIX}/etc/ispman/ispman.conf' (and edit it accordingly).
You also need to create the appropriate template files in
- '@@PREFIX@@/etc/ispman/templates' (or copy them from the
+ '${PREFIX}/etc/ispman/templates' (or copy them from the
corresponding .default files that can be found there).
Finally, you need a working apache, cyrus-imapd, postfix, openldap,
PAM, and pam-ldap setup.
ISPMan configuration templates for openldap can be found under
- '@@PREFIX@@/etc/openldap/ldap.conf.ispman' and
- '@@PREFIX@@/etc/openldap/slapd.conf.ispman'. Thereafter, you can
+ '${PREFIX}/etc/openldap/ldap.conf.ispman' and
+ '${PREFIX}/etc/openldap/slapd.conf.ispman'. Thereafter, you can
initialize openldap by issuing the following command:
- @@PREFIX@@/sbin/ldif2ldbm -i @@PREFIX@@/etc/ispman/ispman.ldif
+ ${PREFIX}/sbin/ldif2ldbm -i ${PREFIX}/etc/ispman/ispman.ldif
On the machine(s) you are running cyrus on, you need to have pam-ldap
and an PAM-enabled cyrus-sasl installed and configured (see the
corresponding packages for more information).
+
==========================================================================