Bug 175918

Summary: [PATCH] net/ntp: Add --enable-ntp-signd option
Product: Ports & Packages Reporter: Landon Fuller <landonf>
Component: Individual Port(s)Assignee: Cy Schubert <cy>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Landon Fuller 2013-02-07 06:30:00 UTC
Patch attached with submission follows. This adds an option for --enable-ntp-signd (eg, MS-NTPD).

The patch is identical to the original patch posted to freebsd-ports by Dewayne Geraghty: http://lists.freebsd.org/pipermail/freebsd-ports/2012-May/074971.html

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-07 06:30:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2013-02-18 20:21:22 UTC
State Changed
From-To: open->analyzed

Currently being implemented differently.
Comment 3 Cy Schubert freebsd_committer freebsd_triage 2013-02-18 21:16:14 UTC
State Changed
From-To: analyzed->closed

Added to all three NTP ports.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-02-18 21:17:21 UTC
Author: cy
Date: Mon Feb 18 21:17:12 2013
New Revision: 312527
URL: http://svnweb.freebsd.org/changeset/ports/312527

Log:
  Add non-default NTP signed option.
  
  PR:		175918

Modified:
  head/net/ntp-devel/Makefile
  head/net/ntp-devel/Makefile.inc
  head/net/ntp-rc/Makefile
  head/net/ntp-rc/Makefile.inc
  head/net/ntp/Makefile
  head/net/ntp/Makefile.inc

Modified: head/net/ntp-devel/Makefile
==============================================================================
--- head/net/ntp-devel/Makefile	Mon Feb 18 21:13:02 2013	(r312526)
+++ head/net/ntp-devel/Makefile	Mon Feb 18 21:17:12 2013	(r312527)
@@ -44,6 +44,10 @@ PLIST_SUB+=		SSL=""
 CONFIGURE_ARGS+=	--enable-ipv6
 .endif
 
+.if !defined(WITH_NTP_SIGND)
+CONFIGURE_ARGS+=	--enable-ntp-signd
+.endif
+
 .if defined(WITH_NTPSNMPD)
 PLIST_FILES+=		sbin/ntpsnmpd
 BUILD_DEPENDS+=		${LOCALBASE}/include/net-snmp/net-snmp-config.h:${PORTSDIR}/net-mgmt/net-snmp

Modified: head/net/ntp-devel/Makefile.inc
==============================================================================
--- head/net/ntp-devel/Makefile.inc	Mon Feb 18 21:13:02 2013	(r312526)
+++ head/net/ntp-devel/Makefile.inc	Mon Feb 18 21:17:12 2013	(r312527)
@@ -3,6 +3,7 @@
 OPTIONS=	NTPSNMPD	"Build and install ntpsnmpd" OFF \
 		SSL		"Enable SSL" ON \
 		IPV6		"Enable IPv6" OFF \
+  		NTP_SIGND	"Enable signed NTP" OFF \
   		BANCOMM		"Enable Datum/Bancomm bc635/VME interface" OFF \
   		GPSVME		"Enable TrueTime GPS receiver/VME interface" OFF \
   		ACTS		"Enable ACTS modem service" OFF \

Modified: head/net/ntp-rc/Makefile
==============================================================================
--- head/net/ntp-rc/Makefile	Mon Feb 18 21:13:02 2013	(r312526)
+++ head/net/ntp-rc/Makefile	Mon Feb 18 21:17:12 2013	(r312527)
@@ -57,6 +57,10 @@ PLIST_SUB+=		SSL=""
 CONFIGURE_ARGS+=        --enable-ipv6
 .endif
 
+.if !defined(WITH_NTP_SIGND)
+CONFIGURE_ARGS+=        --enable-ntp-signd
+.endif
+
 .for D in ${NTP_DRIVERS}
 .if defined(WITH_${D})
 CONFIGURE_ARGS+=	--enable-${D}

Modified: head/net/ntp-rc/Makefile.inc
==============================================================================
--- head/net/ntp-rc/Makefile.inc	Mon Feb 18 21:13:02 2013	(r312526)
+++ head/net/ntp-rc/Makefile.inc	Mon Feb 18 21:17:12 2013	(r312527)
@@ -3,6 +3,7 @@
 OPTIONS=	NTPSNMPD	"Build and install ntpsnmpd" OFF \
 		SSL		"Enable SSL" ON \
 		IPV6		"Enable IPv6" OFF \
+  		NTP_SIGND	"Enable signed NTP" OFF \
   		BANCOMM		"Enable Datum/Bancomm bc635/VME interface" OFF \
   		GPSVME		"Enable TrueTime GPS receiver/VME interface" OFF \
   		ACTS		"Enable ACTS modem service" OFF \

Modified: head/net/ntp/Makefile
==============================================================================
--- head/net/ntp/Makefile	Mon Feb 18 21:13:02 2013	(r312526)
+++ head/net/ntp/Makefile	Mon Feb 18 21:17:12 2013	(r312527)
@@ -56,6 +56,10 @@ PLIST_SUB+=		SSL=""
 CONFIGURE_ARGS+=        --enable-ipv6
 .endif
 
+.if !defined(WITH_NTP_SIGND)
+CONFIGURE_ARGS+=        --enable-ntp-signd
+.endif
+
 .for D in ${NTP_DRIVERS}
 .if defined(WITH_${D})
 CONFIGURE_ARGS+=	--enable-${D}

Modified: head/net/ntp/Makefile.inc
==============================================================================
--- head/net/ntp/Makefile.inc	Mon Feb 18 21:13:02 2013	(r312526)
+++ head/net/ntp/Makefile.inc	Mon Feb 18 21:17:12 2013	(r312527)
@@ -3,6 +3,7 @@
 OPTIONS=	NTPSNMPD	"Build and install ntpsnmpd" OFF \
 		SSL		"Enable SSL" ON \
 		IPV6		"Enable IPv6" OFF \
+		NTP_SIGND	"Enable signed NTP" OFF \
   		BANCOMM		"Enable Datum/Bancomm bc635/VME interface" OFF \
   		GPSVME		"Enable TrueTime GPS receiver/VME interface" OFF \
   		ACTS		"Enable ACTS modem service" OFF \
_______________________________________________
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"