Move to pkg-readmes.
This commit is contained in:
parent
b881a01a78
commit
e5eec2bae6
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2010/10/18 18:37:00 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2010/11/06 09:01:06 ajacoutot Exp $
|
||||
|
||||
COMMENT-main = network and application monitoring - agent
|
||||
COMMENT-server = network and application monitoring - server
|
||||
@ -13,7 +13,8 @@ FULLPKGNAME-web = zabbix-web-${VERSION}
|
||||
FULLPKGPATH-web = net/zabbix,-web
|
||||
CATEGORIES = net
|
||||
|
||||
REVISION-main= 3
|
||||
REVISION-main= 4
|
||||
REVISION-web= 0
|
||||
|
||||
MAJV = ${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
||||
|
||||
@ -45,7 +46,7 @@ LIB_DEPENDS-server = ${LIB_DEPENDS} \
|
||||
::net/net-snmp \
|
||||
::textproc/iksemel
|
||||
RUN_DEPENDS-server = ::net/fping
|
||||
# we want the _zabbix user&group as well as README.OpenBSD
|
||||
# we want the _zabbix user&group as well as README-main
|
||||
RUN_DEPENDS-server += :zabbix-agent-${VERSION}:net/zabbix,-main
|
||||
WANTLIB-server = ${WANTLIB} crypto idn ssl z curl netsnmp iksemel
|
||||
|
||||
@ -106,14 +107,14 @@ post-install:
|
||||
cd ${WRKBUILD}/frontends/php && tar -cf - . | \
|
||||
tar -C ${DESTDIR}${PREFIX-web}/zabbix -xf -
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zabbix
|
||||
${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD \
|
||||
${PREFIX}/share/doc/zabbix/README.OpenBSD
|
||||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX-web}/conf/
|
||||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX-web}/conf/modules.sample
|
||||
${SUBST_CMD} -c ${FILESDIR}/zabbix.conf \
|
||||
${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
|
||||
${SUBST_CMD} -c ${FILESDIR}/zabbix.ini \
|
||||
${SUBST_CMD} -c -o ${SHAREOWN} -g ${SHAREGRP} \
|
||||
${FILESDIR}/zabbix.ini \
|
||||
${DESTDIR}${PREFIX-web}/conf/php5.sample/zabbix.ini
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/zabbix/schema
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/zabbix/data
|
||||
@ -130,9 +131,5 @@ post-install:
|
||||
# Script to easy upgrading from previous major version
|
||||
cd ${WRKSRC}/upgrades/ && tar -cf - dbpatches | \
|
||||
tar -C ${PREFIX}/share/zabbix -xf -
|
||||
chown ${SHAREOWN}:${SHAREGRP} \
|
||||
${PREFIX}/share/doc/zabbix/README.OpenBSD \
|
||||
${DESTDIR}${PREFIX-web}/conf/modules.sample/zabbix.conf \
|
||||
${DESTDIR}${PREFIX-web}/conf/php5.sample/zabbix.ini
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +0,0 @@
|
||||
See ${PREFIX}/share/doc/zabbix/README.OpenBSD for information
|
||||
about configuring and running ZABBIX on OpenBSD.
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.8 2010/04/09 10:17:59 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.9 2010/11/06 09:01:07 ajacoutot Exp $
|
||||
@pkgpath net/zabbix,-main,mysql
|
||||
@pkgpath net/zabbix,-main,pgsql
|
||||
@pkgpath net/zabbix,-doc,mysql
|
||||
@ -13,8 +13,7 @@
|
||||
@man man/man8/zabbix_agentd.8
|
||||
@bin sbin/zabbix_agent
|
||||
@bin sbin/zabbix_agentd
|
||||
share/doc/zabbix/
|
||||
share/doc/zabbix/README.OpenBSD
|
||||
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
share/examples/zabbix/
|
||||
@sample ${SYSCONFDIR}/zabbix/
|
||||
share/examples/zabbix/zabbix_agent.conf
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-web,v 1.10 2010/08/22 14:43:24 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST-web,v 1.11 2010/11/06 09:01:07 ajacoutot Exp $
|
||||
@pkgpath net/zabbix,-web,mysql
|
||||
@pkgpath net/zabbix,-web,pgsql
|
||||
conf/modules.sample/zabbix.conf
|
||||
@ -470,3 +470,5 @@ zabbix/usergrps.php
|
||||
zabbix/users.php
|
||||
zabbix/vtext.php
|
||||
zabbix/warning.php
|
||||
@cwd ${LOCALBASE}/share/doc/pkg-readmes
|
||||
${FULLPKGNAME}
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README.OpenBSD,v 1.8 2010/10/02 16:16:10 ajacoutot Exp $
|
||||
$OpenBSD: README-main,v 1.1 2010/11/06 09:01:07 ajacoutot Exp $
|
||||
|
||||
Using ZABBIX on OpenBSD
|
||||
=======================
|
@ -1,3 +1,5 @@
|
||||
$OpenBSD: README-web,v 1.1 2010/11/06 09:01:07 ajacoutot Exp $
|
||||
|
||||
The Zabbix web frontend has been installed into
|
||||
${PREFIX-web}/zabbix
|
||||
|
Loading…
x
Reference in New Issue
Block a user