diff options
author | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
commit | 6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /net/ispman | |
parent | e79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff) | |
download | pkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.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/Makefile | 5 | ||||
-rw-r--r-- | net/ispman/pkg/MESSAGE | 17 |
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). + ========================================================================== |