Ticket #36180: Portfile-xymon-server.diff
File Portfile-xymon-server.diff, 2.3 KB (added by fclaire@…, 12 years ago) |
---|
-
Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 9 7300 2012-09-03 03:05:48Z rmstonecipher@macports.org $2 # $Id: Portfile 92837 2012-05-09 00:51:48Z ryandesign@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 6 6 name xymon-server 7 7 set shortname xymon 8 conflicts xymon 8 conflicts xymon-client 9 9 epoch 1 10 version 4.3.7 11 revision 2 10 version 4.3.10 12 11 categories net 13 12 platforms darwin 14 13 license GPL-2 … … 27 26 distname ${shortname}-${version} 28 27 dist_subdir ${shortname} 29 28 30 checksums sha1 29339157a1a6155d134ed1ad9985391d43034ee8\31 rmd160 9547eac47a5893f978cace54b5761e9cabe7594129 checksums sha1 d37765da5741adc4282e081e3ad59862eb22353f \ 30 rmd160 df5e01ab4528bc1146cdf784bbf69616f743bfa1 32 31 33 32 depends_lib port:rrdtool \ 34 33 port:fping \ … … 39 38 40 39 universal_variant no 41 40 42 patchfiles patch-build-Makefile.rules.diff \43 patch-lib-Makefile.diff \44 patch-client-xymonclient-darwin.sh.diff45 46 41 if {"darwin" == ${os.platform} && ${os.major} > 8} { 47 42 set xymonuser _xymon 48 43 } else { … … 154 149 notes " *** To complete the Xymon install *** 155 150 156 151 Run the following commands in your terminal: 157 $ sudo echo \"kern.sysv.shmmni=64\" >> /etc/sysctl.conf 158 $ sudo echo \"kern.sysv.shmseg=12\" >> /etc/sysctl.conf 152 $ sudo bash -c \"echo kern.sysv.shmmax=16777216 >> /etc/sysctl.conf\" 153 $ sudo bash -c \"echo kern.sysv.shmmni=128 >> /etc/sysctl.conf\" 154 $ sudo bash -c \"echo kern.sysv.shmseg=32 >> /etc/sysctl.conf\" 155 $ sudo bash -c \"echo kern.sysv.shmall=4096 >> /etc/sysctl.conf\" 159 156 $ sudo mv ${xyetcdir}/xymon-apache.conf /etc/apache2/\[other|sites\]/ 160 157 $ sudo /usr/sbin/apachectl restart 161 158 $ sudo dscl . -append /Groups/admin GroupMembership ${xymonuser}