- install munin script to monitor yaws

- tweak README
This commit is contained in:
jasper 2011-05-27 17:13:09 +00:00
parent 3ea2f218a5
commit a9c3dde92c
3 changed files with 19 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2011/05/27 17:04:43 jasper Exp $
# $OpenBSD: Makefile,v 1.13 2011/05/27 17:13:09 jasper Exp $
COMMENT-main= high performance webserver written in Erlang, libraries
COMMENT-web= high performance webserver written in Erlang, docroot
@ -6,6 +6,7 @@ COMMENT-web= high performance webserver written in Erlang, docroot
VERSION= 1.90
DISTNAME= yaws-${VERSION}
PKGNAME-main= yaws-${VERSION}
REVISION-main= 0
PKGNAME-web= yaws-web-${VERSION}
CATEGORIES= www
@ -48,6 +49,8 @@ ALL_TARGET= all docs
# Remove left-over patch file.
pre-install:
@rm ${WRKSRC}/www/doc.yaws.orig
@rm -f ${WRKSRC}/www/doc.yaws.orig
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/yaws/munin/
${INSTALL_DATA} ${WRKSRC}/munin/* ${PREFIX}/share/examples/yaws/munin/
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.4 2011/05/27 17:04:43 jasper Exp $
@comment $OpenBSD: PLIST-main,v 1.5 2011/05/27 17:13:09 jasper Exp $
%%SHARED%%
bin/yaws
lib/pkgconfig/
@ -73,6 +73,10 @@ share/doc/yaws/
share/doc/yaws/yaws.ps
share/examples/yaws/
@sample ${SYSCONFDIR}/yaws/
share/examples/yaws/munin/
share/examples/yaws/munin/README.munin
share/examples/yaws/munin/yaws_hits_
share/examples/yaws/munin/yaws_sent_
share/examples/yaws/yaws-cert.pem
@sample ${SYSCONFDIR}/yaws/yaws-cert.pem
share/examples/yaws/yaws-key.pem

View File

@ -1,18 +1,23 @@
$OpenBSD: README-main,v 1.1 2010/12/29 11:50:34 jasper Exp $
$OpenBSD: README-main,v 1.2 2011/05/27 17:13:09 jasper Exp $
Running Yaws on OpenBSD
==============================
=======================
Initial setup:
---------------
--------------
A configuration file has been installed to ${SYSCONFDIR}/yaws/yaws.conf
which may need further tweaking according to your setup. SSL is enabled
by default.
The default document root for Yaws is /var/www/yaws .
Munin:
------
Script to monitor your yaws installation using Munin have been installed
into ${PREFIX}/share/examples/yaws/munin/ .
References:
---------------
-----------
Apart from the documentation that is included in the package, there is
more information available at: