View | Details | Raw Unified | Return to bug 58396
Collapse All | Expand All

(-)Makefile (-14 / +21 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	smokeping
8
PORTNAME=	smokeping
9
PORTVERSION=	1.23
9
PORTVERSION=	1.24
10
CATEGORIES=	net www
10
CATEGORIES=	net www
11
MASTER_SITES=	http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/
11
MASTER_SITES=	http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/
12
12
Lines 24-30 Link Here
24
24
25
USE_PERL5=	yes
25
USE_PERL5=	yes
26
26
27
MAN1=		Curl.pm.1 DNS.pm.1 EchoPing.pm.1 EchoPingChargen.pm.1 EchoPingDiscard.pm.1 \
27
MAN1=		CiscoRTTMonDNS.pm.1 CiscoRTTMonEchoICMP.pm.1 CiscoRTTMonTcpConnect.pm.1 \
28
		Curl.pm.1 DNS.pm.1 EchoPing.pm.1 EchoPingChargen.pm.1 EchoPingDiscard.pm.1 \
28
		EchoPingHttp.pm.1 EchoPingHttps.pm.1 EchoPingIcp.pm.1 EchoPingSmtp.pm.1 \
29
		EchoPingHttp.pm.1 EchoPingHttps.pm.1 EchoPingIcp.pm.1 EchoPingSmtp.pm.1 \
29
		FPing.pm.1 FPing6.pm.1 IOSPing.pm.1 ParseConfig.pm.1 RemoteFPing.pm.1 \
30
		FPing.pm.1 FPing6.pm.1 IOSPing.pm.1 ParseConfig.pm.1 RemoteFPing.pm.1 \
30
		Smokeping.pm.1 base.pm.1 basefork.pm.1 basevars.pm.1 smokeping.1 \
31
		Smokeping.pm.1 base.pm.1 basefork.pm.1 basevars.pm.1 smokeping.1 \
Lines 33-39 Link Here
33
PKGMESSAGE=	${WRKDIR}/pkg-message
34
PKGMESSAGE=	${WRKDIR}/pkg-message
34
35
35
DOC1=		CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO
36
DOC1=		CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO
36
DOC2=		Curl.pm DNS.pm EchoPing.pm EchoPingChargen.pm EchoPingDiscard.pm \
37
DOC2=		CiscoRTTMonDNS.pm CiscoRTTMonEchoICMP.pm CiscoRTTMonTcpConnect.pm \
38
		Curl.pm DNS.pm EchoPing.pm EchoPingChargen.pm EchoPingDiscard.pm \
37
		EchoPingHttp.pm EchoPingHttps.pm EchoPingIcp.pm EchoPingSmtp.pm \
39
		EchoPingHttp.pm EchoPingHttps.pm EchoPingIcp.pm EchoPingSmtp.pm \
38
		FPing.pm FPing6.pm IOSPing.pm ParseConfig.pm RemoteFPing.pm Smokeping.pm \
40
		FPing.pm FPing6.pm IOSPing.pm ParseConfig.pm RemoteFPing.pm Smokeping.pm \
39
		base.pm basefork.pm basevars.pm smokeping.cgi \
41
		base.pm basefork.pm basevars.pm smokeping.cgi \
Lines 57-62 Link Here
57
		s|imgurl   = ../.simg|imgurl   = /smokeimg|; \
59
		s|imgurl   = ../.simg|imgurl   = /smokeimg|; \
58
		' \
60
		' \
59
		${WRKSRC}/bin/smokeping ${WRKSRC}/htdocs/smokeping.cgi ${WRKSRC}/etc/config.dist
61
		${WRKSRC}/bin/smokeping ${WRKSRC}/htdocs/smokeping.cgi ${WRKSRC}/etc/config.dist
62
	@${PERL} -pi -e ' \
63
		s|/usr/bin|${PREFIX}/bin|g; \
64
		' \
65
		${WRKSRC}/lib/probes/*
60
	@${PERL} -p -e ' \
66
	@${PERL} -p -e ' \
61
		s|%%PREFIX%%|${PREFIX}|g; \
67
		s|%%PREFIX%%|${PREFIX}|g; \
62
		' \
68
		' \
Lines 65-70 Link Here
65
do-build:
71
do-build:
66
	@${RM} ${WRKSRC}/lib/BER.pm
72
	@${RM} ${WRKSRC}/lib/BER.pm
67
	@${RM} ${WRKSRC}/lib/SNMP_*.pm
73
	@${RM} ${WRKSRC}/lib/SNMP_*.pm
74
	@${RM} ${WRKSRC}/lib/probes/patch
68
75
69
pre-install:
76
pre-install:
70
	PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
77
	PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
Lines 72-94 Link Here
72
do-install:
79
do-install:
73
	@${INSTALL_SCRIPT} ${WRKSRC}/bin/smokeping ${PREFIX}/bin
80
	@${INSTALL_SCRIPT} ${WRKSRC}/bin/smokeping ${PREFIX}/bin
74
.if !defined(NOPORTDOCS)
81
.if !defined(NOPORTDOCS)
75
.for file in ${MAN1}
82
.for FILE in ${MAN1}
76
	@${INSTALL_MAN} ${WRKSRC}/doc/${file} ${PREFIX}/man/man1
83
	@${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${PREFIX}/man/man1
77
.endfor
84
.endfor
78
	@${MKDIR} ${DOCSDIR}
85
	@${MKDIR} ${DOCSDIR}
79
.for file in ${DOC1}
86
.for FILE in ${DOC1}
80
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
87
	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
81
.endfor
88
.endfor
82
.for file in ${DOC2}
89
.for FILE in ${DOC2}
83
	@${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR}
90
	@${INSTALL_DATA} ${WRKSRC}/doc/${FILE}.html ${DOCSDIR}
84
	@${INSTALL_DATA} ${WRKSRC}/doc/${file}.txt  ${DOCSDIR}
91
	@${INSTALL_DATA} ${WRKSRC}/doc/${FILE}.txt  ${DOCSDIR}
85
.endfor
92
.endfor
86
.endif
93
.endif
87
	@${MKDIR} ${PREFIX}/etc/smokeping
94
	@${MKDIR} ${PREFIX}/etc/smokeping
88
.for file in ${ETC1}
95
.for FILE in ${ETC1}
89
	@${INSTALL_DATA} ${WRKSRC}/etc/${file}.dist ${PREFIX}/etc/smokeping
96
	@${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping
90
	@if [ ! -f ${PREFIX}/etc/smokeping/${file} ]; then \
97
	@if [ ! -f ${PREFIX}/etc/smokeping/${FILE} ]; then \
91
		${INSTALL_DATA} ${WRKSRC}/etc/${file}.dist ${PREFIX}/etc/smokeping/${file} ; \
98
		${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping/${FILE} ; \
92
	fi
99
	fi
93
.endfor
100
.endfor
94
	@${MKDIR} ${PREFIX}/smokeping
101
	@${MKDIR} ${PREFIX}/smokeping
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (smokeping-1.23.tar.gz) = 12161de246e5a6aabed3a54c0fb26b2e
1
MD5 (smokeping-1.24.tar.gz) = b206983f358afb53fbc8d6b161298f82
(-)pkg-plist (+10 lines)
Lines 18-23 Link Here
18
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
18
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
19
%%PORTDOCS%%%%DOCSDIR%%/README
19
%%PORTDOCS%%%%DOCSDIR%%/README
20
%%PORTDOCS%%%%DOCSDIR%%/TODO
20
%%PORTDOCS%%%%DOCSDIR%%/TODO
21
%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonDNS.pm.html
22
%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonDNS.pm.txt
23
%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonEchoICMP.pm.html
24
%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonEchoICMP.pm.txt
25
%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonTcpConnect.pm.html
26
%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonTcpConnect.pm.txt
21
%%PORTDOCS%%%%DOCSDIR%%/Curl.pm.html
27
%%PORTDOCS%%%%DOCSDIR%%/Curl.pm.html
22
%%PORTDOCS%%%%DOCSDIR%%/Curl.pm.txt
28
%%PORTDOCS%%%%DOCSDIR%%/Curl.pm.txt
23
%%PORTDOCS%%%%DOCSDIR%%/DNS.pm.html
29
%%PORTDOCS%%%%DOCSDIR%%/DNS.pm.html
Lines 68-73 Link Here
68
smokeping/lib/ISG/ParseConfig.pm
74
smokeping/lib/ISG/ParseConfig.pm
69
smokeping/lib/ISG/VppGateway.pm
75
smokeping/lib/ISG/VppGateway.pm
70
smokeping/lib/Smokeping.pm
76
smokeping/lib/Smokeping.pm
77
smokeping/lib/ciscoRttMonMIB.pm
78
smokeping/lib/probes/CiscoRTTMonDNS.pm
79
smokeping/lib/probes/CiscoRTTMonEchoICMP.pm
80
smokeping/lib/probes/CiscoRTTMonTcpConnect.pm
71
smokeping/lib/probes/Curl.pm
81
smokeping/lib/probes/Curl.pm
72
smokeping/lib/probes/DNS.pm
82
smokeping/lib/probes/DNS.pm
73
smokeping/lib/probes/EchoPing.pm
83
smokeping/lib/probes/EchoPing.pm

Return to bug 58396