From 4242ed8531584313cd450fecd6dadf91569755f9 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sat, 13 Nov 2010 07:31:59 +0000 Subject: [PATCH] Move to pkg-readmes. --- net/openfire/Makefile | 8 ++------ net/openfire/pkg/PLIST | 7 ++----- net/openfire/{files/README.OpenBSD => pkg/README} | 12 +++++++----- 3 files changed, 11 insertions(+), 16 deletions(-) rename net/openfire/{files/README.OpenBSD => pkg/README} (75%) diff --git a/net/openfire/Makefile b/net/openfire/Makefile index d55059d83f2..e4632b7d60b 100644 --- a/net/openfire/Makefile +++ b/net/openfire/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.10 2010/07/25 23:45:05 jolan Exp $ +# $OpenBSD: Makefile,v 1.11 2010/11/13 07:31:59 ajacoutot Exp $ COMMENT= XMPP real time collaboration server DISTNAME= openfire_src_3_6_4 PKGNAME= openfire-3.6.4 -REVISION= 4 +REVISION= 5 CATEGORIES= net MASTER_SITES= http://www.igniterealtime.org/downloadServlet?filename=openfire/ @@ -50,10 +50,6 @@ do-install: ${PREFIX}/share/doc/openfire ${INSTALL_DATA} ${WRKSRC}/documentation/docs/database.html \ ${PREFIX}/share/doc/openfire - @sed -e "s|__PREFIX__|${TRUEPREFIX}|g" ${FILESDIR}/README.OpenBSD > \ - ${WRKBUILD}/README.OpenBSD - ${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD \ - ${PREFIX}/share/doc/openfire ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openfire/security ${INSTALL_DATA} ${WRKSRC}/target/openfire/conf/openfire.xml \ ${PREFIX}/share/examples/openfire diff --git a/net/openfire/pkg/PLIST b/net/openfire/pkg/PLIST index a570b72d5b9..7f9d64f1753 100644 --- a/net/openfire/pkg/PLIST +++ b/net/openfire/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.2 2009/06/19 02:02:58 jolan Exp $ +@comment $OpenBSD: PLIST,v 1.3 2010/11/13 07:31:59 ajacoutot Exp $ @newgroup _openfire:632 @newuser _openfire:632:_openfire:daemon:openfire user:/var/empty:/bin/sh @mode 775 @@ -368,7 +368,6 @@ openfire/resources/spank/WEB-INF/web.xml openfire/resources/spank/index.html sbin/openfirectl share/doc/openfire/ -share/doc/openfire/README.OpenBSD share/doc/openfire/database-guide.html share/doc/openfire/database.html share/doc/openfire/db-integration-guide.html @@ -378,6 +377,7 @@ share/doc/openfire/plugin-dev-guide.html share/doc/openfire/ssl-guide.html share/doc/openfire/translator-guide.html share/doc/openfire/upgrade-guide.html +share/doc/pkg-readmes/${FULLPKGNAME} share/examples/openfire/ @mode 775 @owner root @@ -423,6 +423,3 @@ share/examples/openfire/security/truststore @owner root @group _openfire @sample openfire/resources/security/truststore -@mode -@owner -@group diff --git a/net/openfire/files/README.OpenBSD b/net/openfire/pkg/README similarity index 75% rename from net/openfire/files/README.OpenBSD rename to net/openfire/pkg/README index 045b856a674..704aa12d98c 100644 --- a/net/openfire/files/README.OpenBSD +++ b/net/openfire/pkg/README @@ -1,14 +1,17 @@ +$OpenBSD: README,v 1.1 2010/11/13 07:31:59 ajacoutot Exp $ + Using openfire in an OpenBSD environment +======================================== 1) openfire requires a database. If you intend on using the embedded (HSQLDB) database you may skip to step #2. If you intend on using MySQL or PostgreSQL, instructions are available at: - __PREFIX__/share/doc/openfire/database.html + ${TRUEPREFIX}/share/doc/openfire/database.html 2) openfire may be started by executing: - '__PREFIX__/sbin/openfirectl start' + '${TRUEPREFIX}/sbin/openfirectl start' as root. @@ -18,7 +21,7 @@ Using openfire in an OpenBSD environment 4) openfire's automated setup and plugin installation services require several directories to be writable by the _openfire user. When you complete the installation process, you may wish to tighten permissions - on __PREFIX__/openfire and its subdirectories. + on ${TRUEPREFIX}/openfire and its subdirectories. 5) openfire's DIGEST-MD5 SASL mechanism does not interoperate very well. If you experience issues with client authentication, you may need to @@ -28,7 +31,6 @@ Using openfire in an OpenBSD environment to: - __PREFIX__/openfire/conf/openfire.xml + ${TRUEPREFIX}/openfire/conf/openfire.xml Then restart openfire for the changes to take effect. -