aboutsummaryrefslogtreecommitdiff
path: root/net/ntp-devel
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2013-04-08 05:10:58 +0000
committerCy Schubert <cy@FreeBSD.org>2013-04-08 05:10:58 +0000
commit764e67cd547a02f754a4cea6706ef371d6170059 (patch)
tree1f3ff6681648112fd2f0f6471a8895911b8387d5 /net/ntp-devel
parent01c3c63ce6f826d538910b76e5e460cf42fd7ed2 (diff)
downloadports-764e67cd547a02f754a4cea6706ef371d6170059.tar.gz
ports-764e67cd547a02f754a4cea6706ef371d6170059.zip
- Convert to OptionsNG.
- Make NTP_SIGND option default. - Add libevent2 library dependency to ntp-devel. Approved by: portmgr (miwi)
Notes
Notes: svn path=/head/; revision=315756
Diffstat (limited to 'net/ntp-devel')
-rw-r--r--net/ntp-devel/Makefile4
-rw-r--r--net/ntp-devel/Makefile.inc164
2 files changed, 113 insertions, 55 deletions
diff --git a/net/ntp-devel/Makefile b/net/ntp-devel/Makefile
index 8b12c704b436..dd5b2ab31c8e 100644
--- a/net/ntp-devel/Makefile
+++ b/net/ntp-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ntp
PORTVERSION= 4.2.7p364
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ntp-dev/ \
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/ \
@@ -22,6 +23,7 @@ LATEST_LINK= ${PORTNAME}-dev
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake libtool
USES= pathfix
+LIB_DEPENDS= event-2.0:${PORTSDIR}/devel/libevent2
MAN5= ntp.conf.5 ntp.keys.5
MAN8= ntp-keygen.8 ntpd.8 ntpdc.8 ntpq.8 sntp.8 ntp-wait.8
@@ -44,7 +46,7 @@ PLIST_SUB+= SSL=""
CONFIGURE_ARGS+= --enable-ipv6
.endif
-.if !defined(WITH_NTP_SIGND)
+.if defined(WITH_NTP_SIGND)
CONFIGURE_ARGS+= --enable-ntp-signd
.endif
diff --git a/net/ntp-devel/Makefile.inc b/net/ntp-devel/Makefile.inc
index 03493036d920..6f4c387cd845 100644
--- a/net/ntp-devel/Makefile.inc
+++ b/net/ntp-devel/Makefile.inc
@@ -1,60 +1,116 @@
# $FreeBSD: /tmp/pcvs/ports/net/ntp-devel/Makefile.inc,v 1.1 2011-11-27 23:02:28 cy Exp $
-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 \
- ARBITER "Enable Arbiter 1088A/B GPS receiver" OFF \
- ARCRON_MSF "Enable Arcron MSF receiver" OFF \
- AS2201 "Enable Austron 2200A/2201A GPS receiver" OFF \
- ATOM "Enable ATOM PPS interface" ON \
- CHRONOLOG "Enable Chrono-log K-series WWVB receiver" OFF \
- CHU "Enable CHU modem/decoder" OFF \
- AUDIO_CHU "Enable CHU audio/decoder" OFF \
- DATUM "Enable Datum Programmable Time System" OFF \
- DUMBCLOCK "Enable Dumb generic hh:mm:ss local clock" OFF \
- FG "Enable Forum Graphic GPS" OFF \
- HEATH "Enable Heath GC-1000 WWV/WWVH receiver" OFF \
- HOPFSERIAL "Enable hopf serial clock device" OFF \
- HOPFPCI "Enable hopf 6039 PCI board" OFF \
- HPGPS "Enable HP 58503A GPS receiver" OFF \
- IRIG "Enable IRIG audio decoder" OFF \
- JJY "Enable JJY receiver" OFF \
- JUPITER "Enable Rockwell Jupiter GPS receiver" OFF \
- LEITCH "Enable Leitch CSD 5300 Master Clock" OFF \
- LOCAL_CLOCK "Enable local clock reference" OFF \
- MX4200 "Enable Magnavox MX4200 GPS receiver" OFF \
- NEOCLOCK4X "Enable NeoClock4X DCF77 / TDF receiver" OFF \
- NMEA "Enable NMEA GPS receiver" ON \
- ONCORE "Enable Motorola VP/UT Oncore GPS receiver" OFF \
- PALISADE "Enable Palisade clock" OFF \
- PCF "Enable Conrad parallel port radio clock" OFF \
- PST "Enable PST/Traconex 1020 WWV/WWVH receiver" OFF \
- RIPENCC "Enable RIPENCC specific Trimble driver" OFF \
- SHM "Enable SHM clock attached thru shared memory" OFF \
- SPECTRACOM "Enable Spectracom 8170/Netclock/2 WWVB" OFF \
- TRUETIME "Enable Kinemetrics/TrueTime receivers" OFF \
- ULINK "Enable Ultralink WWVB receiver" OFF \
- WWV "Enable WWV Audio receiver" OFF \
- ZYFER "Enable Zyfer GPStarplus receiver" OFF \
- COMPUTIME "Enable Diem Computime Radio Clock" OFF \
- DCF7000 "Enable ELV/DCF7000 clock" OFF \
- HOPF6021 "Enable HOPF 6021 clock" OFF \
- MEINBERG "Enable Meinberg clocks" OFF \
- RAWDCF "Enable DCF77 raw time code" OFF \
- RCC8000 "Enable RCC 8000 clock" OFF \
- SCHMID "Enable Schmid DCF77 clock" OFF \
- SEL240X "Enable SEL 240X clocks" OFF \
- TRIMTAIP "Enable Trimble GPS receiver/TAIP protocol" OFF \
- TRIMTSIP "Enable Trimble GPS receiver/TSIP protocol" OFF \
- WHARTON "Enable WHARTON 400A Series clock" OFF \
- VARITEXT "Enable VARITEXT clock" OFF
+OPTIONS_DEFINE= NTPSNMPD \
+ SSL \
+ IPV6 \
+ NTP_SIGND \
+ BANCOMM \
+ GPSVME \
+ ACTS \
+ ARBITER \
+ ARCRON_MSF \
+ AS2201 \
+ ATOM \
+ CHRONOLOG \
+ CHU \
+ AUDIO_CHU \
+ DATUM \
+ DUMBCLOCK \
+ FG \
+ HEATH \
+ HOPFSERIAL \
+ HOPFPCI \
+ HPGPS \
+ IRIG \
+ JJY \
+ JUPITER \
+ LEITCH \
+ LOCAL_CLOCK \
+ MX4200 \
+ NEOCLOCK4X \
+ NMEA \
+ ONCORE \
+ PALISADE \
+ PCF \
+ PST \
+ RIPENCC \
+ SHM \
+ SPECTRACOM \
+ TRUETIME \
+ ULINK \
+ WWV \
+ ZYFER \
+ COMPUTIME \
+ DCF7000 \
+ HOPF6021 \
+ MEINBERG \
+ RAWDCF \
+ RCC8000 \
+ SCHMID \
+ SEL240X \
+ TRIMTAIP \
+ TRIMTSIP \
+ WHARTON \
+ VARITEXT
+
+OPTIONS_DEFAULT= SSL \
+ NTP_SIGND_DESC \
+ ATOM \
+ NMEA
+
+NTPSNMPD_DESC= Build and install ntpsnmpd
+NTP_SIGND_DESC= Enable signed NTP
+BANCOMM_DESC= Enable Datum/Bancomm bc635/VME interface
+GPSVME_DESC= Enable TrueTime GPS receiver/VME interface
+ACTS_DESC= Enable ACTS modem service
+ARBITER_DESC= Enable Arbiter 1088A/B GPS receiver
+ARCRON_MSF_DESC= Enable Arcron MSF receiver
+AS2201_DESC= Enable Austron 2200A/2201A GPS receiver
+ATOM_DESC= Enable ATOM PPS interface
+CHRONOLOG_DESC= Enable Chrono-log K-series WWVB receiver
+CHU_DESC= Enable CHU modem/decoder
+AUDIO_CHU_DESC= Enable CHU audio/decoder
+DATUM_DESC= Enable Datum Programmable Time System
+DUMBCLOCK_DESC= Enable Dumb generic hh:mm:ss local clock
+FG_DESC= Enable Forum Graphic GPS
+HEATH_DESC= Enable Heath GC-1000 WWV/WWVH receiver
+HOPFSERIAL_DESC= Enable hopf serial clock device
+HOPFPCI_DESC= Enable hopf 6039 PCI board
+HPGPS_DESC= Enable HP 58503A GPS receiver
+IRIG_DESC= Enable IRIG audio decoder
+JJY_DESC= Enable JJY receiver
+JUPITER_DESC= Enable Rockwell Jupiter GPS receiver
+LEITCH_DESC= Enable Leitch CSD 5300 Master Clock
+LOCAL_CLOCK_DESC= Enable local clock reference
+MX4200_DESC= Enable Magnavox MX4200 GPS receiver
+NEOCLOCK4X_DESC= Enable NeoClock4X DCF77 / TDF receiver
+NMEA_DESC= Enable NMEA GPS receiver
+ONCORE_DESC= Enable Motorola VP/UT Oncore GPS receiver
+PALISADE_DESC= Enable Palisade clock
+PCF_DESC= Enable Conrad parallel port radio clock
+PST_DESC= Enable PST/Traconex 1020 WWV/WWVH receiver
+RIPENCC_DESC= Enable RIPENCC specific Trimble driver
+SHM_DESC= Enable SHM clock attached thru shared memory
+SPECTRACOM_DESC= Enable Spectracom 8170/Netclock/2 WWVB
+TRUETIME_DESC= Enable Kinemetrics/TrueTime receivers
+ULINK_DESC= Enable Ultralink WWVB receiver
+WWV_DESC= Enable WWV Audio receiver
+ZYFER_DESC= Enable Zyfer GPStarplus receiver
+COMPUTIME_DESC= Enable Diem Computime Radio Clock
+DCF7000_DESC= Enable ELV/DCF7000 clock
+HOPF6021_DESC= Enable HOPF 6021 clock
+MEINBERG_DESC= Enable Meinberg clocks
+RAWDCF_DESC= Enable DCF77 raw time code
+RCC8000_DESC= Enable RCC 8000 clock
+SCHMID_DESC= Enable Schmid DCF77 clock
+SEL240X_DESC= Enable SEL 240X clocks
+TRIMTAIP_DESC= Enable Trimble GPS receiver/TAIP protocol
+TRIMTSIP_DESC= Enable Trimble GPS receiver/TSIP protocol
+WHARTON_DESC= Enable WHARTON 400A Series clock
+VARITEXT_DESC= Enable VARITEXT clock
-# Not supported by FreeBSD: TPRO "Enable KSI/Odetics TPRO/S GPS receiver/IRIG" OFF \
-# XXX Broken under FreeBSD: TT560 "Enable TrueTime 560 IRIG-B decoder" OFF \
+# Not supported by FreeBSD: TPRO Enable KSI/Odetics TPRO/S GPS receiver/IRIG
+# XXX Broken under FreeBSD: TT560 Enable TrueTime 560 IRIG-B decoder
NTP_DRIVERS= \
BANCOMM \