# New ports collection makefile for: SmokePing # Date created: Tue Feb 12 22:17:40 CET 2002 # Whom: Lars Thegler # # $FreeBSD$ # PORTNAME= smokeping PORTVERSION= 1.24 CATEGORIES= net www MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/ MAINTAINER= lars@thegler.dk COMMENT= Latency logging and graphing system RUN_DEPENDS= rrdtool:${PORTSDIR}/net/rrdtool \ ${SITE_PERL}/CGI/SpeedyCGI.pm:${PORTSDIR}/www/p5-CGI-SpeedyCGI \ ${SITE_PERL}/BER.pm:${PORTSDIR}/net/p5-SNMP_Session \ ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser \ ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \ ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping USE_PERL5= yes MAN1= CiscoRTTMonDNS.pm.1 CiscoRTTMonEchoICMP.pm.1 CiscoRTTMonTcpConnect.pm.1 \ Curl.pm.1 DNS.pm.1 EchoPing.pm.1 EchoPingChargen.pm.1 EchoPingDiscard.pm.1 \ EchoPingHttp.pm.1 EchoPingHttps.pm.1 EchoPingIcp.pm.1 EchoPingSmtp.pm.1 \ FPing.pm.1 FPing6.pm.1 IOSPing.pm.1 ParseConfig.pm.1 RemoteFPing.pm.1 \ Smokeping.pm.1 base.pm.1 basefork.pm.1 basevars.pm.1 smokeping.1 \ smokeping.cgi.1 smokeping_config.1 smokeping_install.1 telnetIOSPing.pm.1 PKGMESSAGE= ${WRKDIR}/pkg-message DOC1= CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO DOC2= CiscoRTTMonDNS.pm CiscoRTTMonEchoICMP.pm CiscoRTTMonTcpConnect.pm \ Curl.pm DNS.pm EchoPing.pm EchoPingChargen.pm EchoPingDiscard.pm \ EchoPingHttp.pm EchoPingHttps.pm EchoPingIcp.pm EchoPingSmtp.pm \ FPing.pm FPing6.pm IOSPing.pm ParseConfig.pm RemoteFPing.pm Smokeping.pm \ base.pm basefork.pm basevars.pm smokeping.cgi \ smokeping smokeping_config smokeping_install telnetIOSPing.pm ETC1= basepage.html config smokemail config-echoping pre-patch: @${MV} ${WRKSRC}/bin/smokeping.dist ${WRKSRC}/bin/smokeping @${MV} ${WRKSRC}/htdocs/smokeping.cgi.dist ${WRKSRC}/htdocs/smokeping.cgi @${PERL} -pi -e ' \ s|/usr/sepp/bin/perl|${PERL}|; \ s|/usr/sepp/bin/speedy|${PREFIX}/bin/speedy|; \ s|use lib qw\(/usr/pack/rrdtool-1.0.40-to/lib/perl\);\n||; \ s|/home/oetiker/data/projects/AADJ-smokeping/dist/etc|${PREFIX}/etc/smokeping|; \ s|/home/oetiker/data/projects/AADJ-smokeping/dist|${PREFIX}/smokeping|; \ s|/home/oetiker/.smokeping/config|${PREFIX}/etc/smokeping/config|; \ s|/usr/lib/sendmail|/usr/sbin/sendmail|; \ s|/usr/sepp/bin/fping|${PREFIX}/sbin/fping|; \ s|dir = /usr/local/smokeping/var|dir = ${PREFIX}/var/smokeping|; \ s|imgcache = /home/oetiker/public_html/.simg|imgcache = ${PREFIX}/smokeping/htdocs/img|; \ s|imgurl = ../.simg|imgurl = /smokeimg|; \ ' \ ${WRKSRC}/bin/smokeping ${WRKSRC}/htdocs/smokeping.cgi ${WRKSRC}/etc/config.dist @${PERL} -pi -e ' \ s|/usr/bin|${PREFIX}/bin|g; \ ' \ ${WRKSRC}/lib/probes/* @${PERL} -p -e ' \ s|%%PREFIX%%|${PREFIX}|g; \ ' \ ${PKGDIR}/pkg-message > ${PKGMESSAGE} do-build: @${RM} ${WRKSRC}/lib/BER.pm @${RM} ${WRKSRC}/lib/SNMP_*.pm @${RM} ${WRKSRC}/lib/probes/patch pre-install: PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL do-install: @${INSTALL_SCRIPT} ${WRKSRC}/bin/smokeping ${PREFIX}/bin .if !defined(NOPORTDOCS) .for FILE in ${MAN1} @${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${PREFIX}/man/man1 .endfor @${MKDIR} ${DOCSDIR} .for FILE in ${DOC1} @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} .endfor .for FILE in ${DOC2} @${INSTALL_DATA} ${WRKSRC}/doc/${FILE}.html ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/${FILE}.txt ${DOCSDIR} .endfor .endif @${MKDIR} ${PREFIX}/etc/smokeping .for FILE in ${ETC1} @${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping @if [ ! -f ${PREFIX}/etc/smokeping/${FILE} ]; then \ ${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping/${FILE} ; \ fi .endfor @${MKDIR} ${PREFIX}/smokeping @${CP} -Rp ${WRKSRC}/[hl]* ${PREFIX}/smokeping/ @${MKDIR} ${PREFIX}/var/smokeping @${CHOWN} smokeping:smokeping ${PREFIX}/var/smokeping @${MKDIR} ${PREFIX}/smokeping/htdocs/img @${CHOWN} www:www ${PREFIX}/smokeping/htdocs/img @if [ ! -f ${PREFIX}/etc/rc.d/smokeping.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/smokeping.sh startup file."; \ ${INSTALL_SCRIPT} ${FILESDIR}/smokeping.sh ${PREFIX}/etc/rc.d/smokeping.sh; \ fi post-install: @${CAT} ${PKGMESSAGE} .include e24bc4cc6ee7b9e4b3e87c'>Update to 1.7.1.rakuco2016-04-203-8/+7 * CentOS ports: for c6_64, install 32bit libraries alongsideswills2016-04-132-0/+4 * Add port x11-fonts/noto-lite slave port.kevlo2016-04-064-0/+50 * Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.mat2016-04-0138-95/+95 * Fixup some whitespace at the beginning of lines problems.mat2016-04-011-1/+1 * Missing LICENSE in the last commit.mat2016-03-241-0/+13 * Update to 1.1 and unbreak.mat2016-03-243-14/+17 * x11-fonts/roboto-fonts-ttf: 1.2 -> 2.131pi2016-03-202-14/+13 * - Update to 4.1sunpoet2016-03-082-3/+3 * New port: x11-fonts/terminus-ttf.rakuco2016-03-066-0/+59 * Update cantarell-fonts to 0.0.24.kwm2016-03-042-3/+3 * Update to 0.83kevlo2016-02-192-4/+3 * Update cantarell-fonts to 0.0.22.kwm2016-02-193-6/+6 * Update cantarell-fonts to 0.0.21kwm2016-02-053-8/+8 * - Update to 4.0sunpoet2016-02-032-10/+5 * Welcome Centos 6.7miwi2016-01-312-8/+8 * openfontlibrary.org has been fontlibrary.org for a while, update URLs in ports.rakuco2016-01-236-6/+6 * New port: x11-fonts/fifteen.rakuco2016-01-235-0/+43 * - CC0 is a standard licenseamdmi32016-01-151-4/+1 * - Update to 1.075 (2.020R-ro/1.075R-it)sunpoet2016-01-132-5/+5 * Convert LICENSE= "GPLxx # or later" to "GPLxx+"amdmi32016-01-131-1/+1 * Add Public Domain support to ports license framework. You can now useamdmi32016-01-121-4/+1 * Remove deprecated @dirrmpawel2016-01-091-1/+0 * - Update to 1.0.1sunpoet2016-01-013-50/+7 * - Add LICENSEamdmi32015-12-301-0/+3 * Cleanup GH_* and variables order.mat2015-12-291-1/+0 * Unbreak x11-fonts/proggy_fonts and x11-fonts/proggy_fonts-ttf.rakuco2015-12-284-8/+4 * Add x11-fonts/junction.rakuco2015-12-285-0/+37 * New port: x11-fonts/alegreya.rakuco2015-12-235-0/+48 * Update to a more recent GitHub snapshot.rakuco2015-12-232-6/+5 * - Add LICENSEsunpoet2015-12-222-1/+5 * x11-fonts/powerline-fonts: create portswills2015-12-206-0/+193 * Switch to options helperpawel2015-12-121-2/+4 * Update libXfont2 to 2.0.1.kwm2015-12-112-7/+3 * - Reset maintainermiwi2015-12-111-1/+1 * Update freetype2 to 2.6.2. [1]kwm2015-12-111-8/+3 * Add libXfont2.kwm2015-12-105-0/+38 * - Update to 1.31sunpoet2015-11-213-11/+7 * - Fix fetchamdmi32015-11-153-6/+8 * Mark a few ports BROKEN: unfetchableantoine2015-11-09