Add a missing file and regroup some files for specific flavors.

From: maintainer Gerardo Santana Gomez Garrido
This commit is contained in:
naddy 2005-06-10 19:56:37 +00:00
parent 4f718330ca
commit 8edfb59efb
4 changed files with 16 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.16 2005/05/26 19:10:21 naddy Exp $
# $OpenBSD: Makefile,v 1.17 2005/06/10 19:56:37 naddy Exp $
COMMENT= "jabber server"
DISTNAME= jabberd-2.0s8
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= net
HOMEPAGE= http://jabberd.jabberstudio.org/2/
MAINTAINER= Gerardo Santana Gomez Garrido <santana@openbsd.org.mx>
@ -94,6 +94,12 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/etc/s2s.xml.dist ${EXAMPLES}/s2s.xml
${INSTALL_DATA} ${WRKSRC}/etc/sm.xml.dist ${EXAMPLES}/sm.xml
${INSTALL_DATA} ${WRKSRC}/etc/templates/roster.xml.dist ${EXAMPLES}/templates/roster.xml
.if ${FLAVOR:Mmysql}
${INSTALL_DATA} ${WRKSRC}/tools/db-setup.mysql ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/tools/db-update.mysql ${EXAMPLES}
.endif
.if ${FLAVOR:Mpostgresql}
${INSTALL_DATA} ${WRKSRC}/tools/db-setup.pgsql ${EXAMPLES}
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.mysql,v 1.1 2005/06/10 19:56:37 naddy Exp $
share/examples/jabberd/db-setup.mysql
share/examples/jabberd/db-update.mysql

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.postgresql,v 1.1 2005/06/10 19:56:37 naddy Exp $
share/examples/jabberd/db-setup.pgsql

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2004/10/08 15:27:27 naddy Exp $
@comment $OpenBSD: PLIST,v 1.4 2005/06/10 19:56:37 naddy Exp $
@newgroup ${JABBERDGROUP}:533
@newuser ${JABBERDUSER}:533:${JABBERDGROUP}:daemon:jabberd account:/nonexistent:/bin/sh
libexec/jabberd/
@ -21,7 +21,8 @@ share/examples/jabberd/
@mode 640
share/examples/jabberd/c2s.xml
@sample ${CONFIG_DIR}/c2s.xml
share/examples/jabberd/db-setup.mysql
%%mysql%%
%%postgresql%%
share/examples/jabberd/jabberd.cfg
@sample ${CONFIG_DIR}/jabberd.cfg
share/examples/jabberd/resolver.xml