Fix PATHs to php after move to lang/php.

prodded by robert@
This commit is contained in:
ajacoutot 2011-07-28 10:51:54 +00:00
parent 78cc31b640
commit a2715f578f
3 changed files with 14 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.54 2011/07/22 10:20:10 sthen Exp $
# $OpenBSD: Makefile,v 1.55 2011/07/28 10:51:54 ajacoutot Exp $
COMMENT-main = network and application monitoring - agent
COMMENT-server = network and application monitoring - server
@ -14,7 +14,7 @@ FULLPKGPATH-web = net/zabbix,-web
CATEGORIES = net
REVISION-main= 1
REVISION-web= 3
REVISION-web= 4
REVISION-server= 2
MAJV = ${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@ -118,10 +118,10 @@ post-install:
${SUBST_CMD} -c -o ${SHAREOWN} -g ${SHAREGRP} \
${FILESDIR}/zabbix.conf \
${DESTDIR}${PREFIX-web}/conf/modules.sample/zabbix.conf
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX-web}/conf/php5.sample
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/php-${MODPHP_VERSION}
${SUBST_CMD} -c -o ${SHAREOWN} -g ${SHAREGRP} \
${FILESDIR}/zabbix.ini \
${DESTDIR}${PREFIX-web}/conf/php5.sample/zabbix.ini
${PREFIX}/share/examples/php-${MODPHP_VERSION}/zabbix.ini
${INSTALL_DATA_DIR} ${PREFIX}/share/zabbix/schema
${INSTALL_DATA_DIR} ${PREFIX}/share/zabbix/data
${INSTALL_DATA_DIR} ${PREFIX}/share/zabbix/data/images

View File

@ -1,9 +1,7 @@
@comment $OpenBSD: PLIST-web,v 1.13 2011/04/25 07:42:37 ajacoutot Exp $
@comment $OpenBSD: PLIST-web,v 1.14 2011/07/28 10:51:54 ajacoutot Exp $
@pkgpath net/zabbix,-web,mysql
@pkgpath net/zabbix,-web,pgsql
conf/modules.sample/zabbix.conf
@comment conf/php5.sample/
conf/php5.sample/zabbix.ini
zabbix/
zabbix/acknow.php
zabbix/actionconf.php
@ -477,5 +475,9 @@ zabbix/usergrps.php
zabbix/users.php
zabbix/vtext.php
zabbix/warning.php
@cwd ${LOCALBASE}
share/examples/php-${MODPHP_VERSION}/
share/examples/php-${MODPHP_VERSION}/zabbix.ini
@sample ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/zabbix.ini
@cwd ${LOCALBASE}/share/doc/pkg-readmes
${FULLPKGNAME}

View File

@ -1,4 +1,4 @@
$OpenBSD: README-web,v 1.3 2011/06/02 13:41:40 ajacoutot Exp $
$OpenBSD: README-web,v 1.4 2011/07/28 10:51:54 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -21,11 +21,11 @@ check the process, so it erroneously reports it as not running).
Some changes from the default configuration are required -
you can do this by creating symbolic links as follows:
# ln -s ${PREFIX-web}/conf/modules.sample/zabbix.conf \
${PREFIX-web}/conf/modules
# ln -s ${PREFIX-web}/conf/modules.sample/zabbix.conf \
${PREFIX-web}/conf/modules
# ln -fs ${PREFIX-web}/conf/php5.sample/zabbix.ini \
${PREFIX-web}/conf/php5/zabbix.ini
# ln -fs ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/zabbix.ini \
${SYSCONFDIR}/php-${MODPHP_VERSION}/zabbix.ini
Zabbix requires a timezone to be configured in PHP; zabbix.ini
sets this to UTC, you may like to adjust this. After making these