- switch to pkg-readmes

This commit is contained in:
jasper 2010-11-10 19:25:25 +00:00
parent 420be8a121
commit 43cfa2700e
4 changed files with 11 additions and 15 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.8 2010/10/18 18:36:56 espie Exp $
# $OpenBSD: Makefile,v 1.9 2010/11/10 19:25:25 jasper Exp $
SHARED_ONLY= Yes
COMMENT= communications server for Jabber/XMPP written in Lua
DISTNAME= prosody-0.7.0
REVISION= 1
REVISION= 2
CATEGORIES= net
MASTER_SITES= http://prosody.im/downloads/source/
@ -43,9 +43,7 @@ FAKE_FLAGS+= CONFIG=${DESTDIR}${PREFIX}/share/examples/prosody
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prosody
@sed -e s#_SYSCONFDIR_#${SYSCONFDIR}#g ${FILESDIR}/README.OpenBSD > \
${WRKBUILD}/README.OpenBSD
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD ${WRKSRC}/README \
${INSTALL_DATA} ${WRKSRC}/README \
${PREFIX}/share/doc/prosody
touch ${PREFIX}/share/examples/prosody/prosody.log

View File

@ -1,4 +0,0 @@
You may find instructions on how to install and setup prosody by
reading:
${PREFIX}/share/doc/prosody/README.OpenBSD

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2010/07/26 18:11:42 jolan Exp $
@comment $OpenBSD: PLIST,v 1.5 2010/11/10 19:25:25 jasper Exp $
@newgroup _prosody:638
@newuser _prosody:638:_prosody:daemon:prosody user:/nonexistent:/sbin/nologin
%%SHARED%%
@ -103,9 +103,9 @@ lib/prosody/util/ztact.lua
@man man/man1/prosodyctl.1
sbin/prosody
sbin/prosodyctl
share/doc/pkg-readmes/${FULLPKGNAME}
share/doc/prosody/
share/doc/prosody/README
share/doc/prosody/README.OpenBSD
share/examples/prosody/
@sample ${SYSCONFDIR}/prosody/
share/examples/prosody/certs/
@ -116,9 +116,9 @@ share/examples/prosody/certs/localhost.key
@sample ${SYSCONFDIR}/prosody/certs/localhost.key
share/examples/prosody/prosody.cfg.lua
@sample ${SYSCONFDIR}/prosody/prosody.cfg.lua
@mode 770
@owner _prosody
@group _prosody
@mode 770
@sample /var/prosody/
share/examples/prosody/prosody.log
@mode 660

View File

@ -1,3 +1,5 @@
$OpenBSD: README,v 1.1 2010/11/10 19:25:25 jasper Exp $
Using Prosody in an OpenBSD environment
1) Prosody documentation is available online at:
@ -6,16 +8,16 @@ Using Prosody in an OpenBSD environment
Use this information to edit:
_SYSCONFDIR_/prosody/prosody.cfg.lua
${SYSCONFDIR}/prosody/prosody.cfg.lua
to your liking.
2) Prosody uses privilege dropping. As such, you will need to initially
start prosody as root via prosodyctl:
# /usr/local/sbin/prosodyctl start
# ${PREFIX}/sbin/prosodyctl start
You should now be able to start adding users:
# /usr/local/sbin/prosodyctl adduser username@domain.tld
# ${PREFIX}/sbin/prosodyctl adduser username@domain.tld