Bug 174824 - net-mgt/smokeping update and optionng
net-mgt/smokeping update and optionng
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Ruslan Makhmatkhanov
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-30 09:40 UTC by rodrigo
Modified: 2013-01-02 16:21 UTC (History)
0 users

See Also:


Attachments
smokeping-2.6.8.diff (3.92 KB, patch)
2012-12-30 09:40 UTC, rodrigo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rodrigo 2012-12-30 09:40:00 UTC
	upgrade port to 2.6.8
	fix perl module dependencies errors
	split Makefile header
	upgrade to optionng (submited by Mark Felder <feld@feld.me>)
Comment 1 Ruslan Makhmatkhanov freebsd_committer 2012-12-30 11:39:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

I will take it.
Comment 2 dfilter freebsd_committer 2012-12-30 13:58:21 UTC
Author: rm
Date: Sun Dec 30 13:58:07 2012
New Revision: 309670
URL: http://svnweb.freebsd.org/changeset/ports/309670

Log:
  - update to 2.6.8
  - trim Makefile header
  - fix BUILD_DEPENDS
  - convert to optionsng (by Mark Felder <feld@feld.me>)
  
  PR:		174824
  Submitted by:	Rodrigo (ros) OSORIO <rodrigo@bebik.net> (maintainer)

Modified:
  head/net-mgmt/smokeping/Makefile
  head/net-mgmt/smokeping/distinfo

Modified: head/net-mgmt/smokeping/Makefile
==============================================================================
--- head/net-mgmt/smokeping/Makefile	Sun Dec 30 13:46:33 2012	(r309669)
+++ head/net-mgmt/smokeping/Makefile	Sun Dec 30 13:58:07 2012	(r309670)
@@ -1,13 +1,8 @@
-# New ports collection makefile for:	SmokePing
-# Date created:				Tue Feb 12 22:17:40 CET 2002
-# Whom:                                 Lars Thegler <lars@thegler.dk>
-#
+# Created by: Lars Thegler <lars@thegler.dk>
 # $FreeBSD$
-#
 
 PORTNAME=	smokeping
-PORTVERSION=	2.6.7
-PORTREVISION=	3
+PORTVERSION=	2.6.8
 CATEGORIES=	net-mgmt www
 MASTER_SITES=	http://oss.oetiker.ch/smokeping/pub/ \
 		http://smokeping.cs.pu.edu.tw/pub/
@@ -16,14 +11,14 @@ MAINTAINER=	rodrigo@bebik.net
 COMMENT=	Latency logging and graphing system
 
 LIB_DEPENDS=	rrd.6:${PORTSDIR}/databases/rrdtool
-BUILD_DEPENDS=	p5-CGI-Session>0:${PORTSDIR}/www/p5-CGI-Session \
-		p5-Digest-HMAC>0:${PORTSDIR}/security/p5-Digest-HMAC \
-		p5-SNMP_Session>0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \
-		p5-libwww>0:${PORTSDIR}/www/p5-libwww \
-		p5-CGI.pm>0:${PORTSDIR}/www/p5-CGI.pm \
-		p5-FCGI>0:${PORTSDIR}/www/p5-FCGI \
-		p5-Config-Grammar>0:${PORTSDIR}/devel/p5-Config-Grammar \
-		p5-Socket6>0:${PORTSDIR}/net/p5-Socket6
+BUILD_DEPENDS=	p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session \
+		p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC \
+		p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \
+		p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
+		p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm \
+		p5-FCGI>=0:${PORTSDIR}/www/p5-FCGI \
+		p5-Config-Grammar>=0:${PORTSDIR}/devel/p5-Config-Grammar \
+		p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USE_PERL5=	yes
@@ -109,45 +104,48 @@ SUB_FILES=	pkg-deinstall pkg-message
 SUB_LIST=	USERS=${USERS} \
 		GROUPS=${GROUPS}
 
-OPTIONS=	FPING "Support for fping probes" on
-OPTIONS+=	ECHOPING "Support for EchoPing probes" off
-OPTIONS+=	CURL "Support for Curl probes" off
-OPTIONS+=	LDAP "Support for LDAP probes" off
-OPTIONS+=	LDAPSSL "Support for SSL-enabled LDAP probes" off
-OPTIONS+=	RADIUS "Support for Radius probes" off
-OPTIONS+=	TELNET "Support for TelnetIOSPing probes" off
-OPTIONS+=	DNS "Support for AnotherDNS probes" off
+FPING_DESC=	Support for fping probes
+ECHOPING_DESC=	Support for EchoPing probes
+CURL_DESC=	Support for Curl probes
+LDAP_DESC=	Support for LDAP probes
+LDAPSSL_DESC=	Support for SSL-enabled LDAP probes
+RADIUS_DESC=	Support for Radius probes
+TELNET_DESC=	Support for TelnetIOSPing probes
+DNS_DESC=	Support for AnotherDNS probes
+
+OPTIONS_DEFINE=	ECHOPING CURL RADIUS TELNET DNS FPING LDAP LDAPSSL
+OPTIONS_DEFAULT=	FPING
 
 .include <bsd.port.options.mk>
-.ifdef(WITH_FPING)
+.if ${PORT_OPTIONS:MFPING}
 RUN_DEPENDS+=	${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping
 .endif
 
-.ifdef(WITH_ECHOPING)
+.if ${PORT_OPTIONS:MECHOPING}
 RUN_DEPENDS+=	${LOCALBASE}/bin/echoping:${PORTSDIR}/net/echoping
 .endif
 
-.ifdef(WITH_CURL)
+.if ${PORT_OPTIONS:MCURL}
 RUN_DEPENDS+=	${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl
 .endif
 
-.if defined(WITH_LDAP) || defined(WITH_LDAPSSL)
+.if ${PORT_OPTIONS:MLDAP} || ${PORT_OPTIONS:MLDAPSSL}
 RUN_DEPENDS+=	p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap
 .endif
 
-.ifdef(WITH_RADIUS)
+.if ${PORT_OPTIONS:MRADIUS}
 RUN_DEPENDS+=	p5-Authen-Radius>=0:${PORTSDIR}/security/p5-Authen-Radius
 .endif
 
-.ifdef(WITH_LDAPSSL)
+.if ${PORT_OPTIONS:MLDAPSSL}
 RUN_DEPENDS+=	p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL
 .endif
 
-.ifdef(WITH_TELNET)
+.if ${PORT_OPTIONS:MTELNET}
 RUN_DEPENDS+=	p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet
 .endif
 
-.ifdef(WITH_DNS)
+.if ${PORT_OPTIONS:MDNS}
 RUN_DEPENDS+=	p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
 .endif
 

Modified: head/net-mgmt/smokeping/distinfo
==============================================================================
--- head/net-mgmt/smokeping/distinfo	Sun Dec 30 13:46:33 2012	(r309669)
+++ head/net-mgmt/smokeping/distinfo	Sun Dec 30 13:58:07 2012	(r309670)
@@ -1,2 +1,2 @@
-SHA256 (smokeping-2.6.7.tar.gz) = 40c07e1edd5b1f66308e3af72b21f547c948cd0afe1465934387f48ac5e3c426
-SIZE (smokeping-2.6.7.tar.gz) = 423151
+SHA256 (smokeping-2.6.8.tar.gz) = 15fd99487d01649a552d2954bc1c6b0442967a72fca51c8ff197447389b1b16c
+SIZE (smokeping-2.6.8.tar.gz) = 423516
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ruslan Makhmatkhanov freebsd_committer 2012-12-30 13:58:41 UTC
State Changed
From-To: open->closed

Committed, thank you!
Comment 4 Ruslan Makhmatkhanov freebsd_committer 2013-01-02 16:20:18 UTC
State Changed
From-To: closed->feedback

Hello Jarrod, so would you approve TAKATSU changes?.
Comment 5 Ruslan Makhmatkhanov freebsd_committer 2013-01-02 16:21:24 UTC
State Changed
From-To: feedback->closed

Sorry, I responded to wrong pr.