View | Details | Raw Unified | Return to bug 191235 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/ntp-devel/Makefile (-24 / +7 lines)
Lines 17-66 GNU_CONFIGURE= yes Link Here
17
USE_AUTOTOOLS=	automake
17
USE_AUTOTOOLS=	automake
18
AUTOMAKE_ARGS=	--add-missing
18
AUTOMAKE_ARGS=	--add-missing
19
OPTIONS_SUB=	yes
19
OPTIONS_SUB=	yes
20
USES=		pathfix perl5 shebangfix libtool
20
USES=		pathfix shebangfix libtool
21
LIB_DEPENDS=	libevent-2.0.so:${PORTSDIR}/devel/libevent2
21
LIB_DEPENDS=	libevent-2.0.so:${PORTSDIR}/devel/libevent2
22
22
23
NTP_SHEBANG_FILES=	sbin/ntp-wait sbin/ntptrace
23
NTP_SHEBANG_FILES=	sbin/ntp-wait sbin/ntptrace
24
24
25
.include "Makefile.inc"
25
.include "Makefile.inc"
26
26
27
PERL_USES=		perl5
28
27
SSL_USE=		OPENSSL=yes
29
SSL_USE=		OPENSSL=yes
30
SSL_CONFIGURE_ON=	--with-openssl-incdir=${OPENSSLINC} \
31
			--with-openssl-libdir=${OPENSSLLIB}
28
SSL_CONFIGURE_OFF=	--without-crypto
32
SSL_CONFIGURE_OFF=	--without-crypto
29
33
30
IPV6_CONFIGURE_ENABLE=	ipv6
34
IPV6_CONFIGURE_ENABLE=	ipv6
31
35
32
NTP_SIGND_CONFIGURE_ENABLE=	ntp-signd
36
NTP_SIGND_CONFIGURE_ENABLE=	ntp-signd
33
37
34
NTPSNMPD_PLIST_FILES=	sbin/ntpsnmpd
35
NTPSNMPD_LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
38
NTPSNMPD_LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
36
NTPSNMPD_CONFIGURE_OFF=	--without-ntpsnmpd
39
NTPSNMPD_CONFIGURE_OFF=	--without-ntpsnmpd
37
40
38
.include <bsd.port.pre.mk>
39
40
.if ${PORT_OPTIONS:MSSL}
41
CONFIGURE_ARGS+=	--with-openssl-incdir=${OPENSSLINC} \
42
			--with-openssl-libdir=${OPENSSLLIB}
43
.endif
44
45
.for D in ${NTP_DRIVERS}
41
.for D in ${NTP_DRIVERS}
46
.if ${PORT_OPTIONS:M${D}}
42
${D}_CONFIGURE_ON=	--enable-${D}
47
CONFIGURE_ARGS+=	--enable-${D}
48
.endif
49
.endfor
43
.endfor
50
44
51
.if ${PORT_OPTIONS:MMX4200}
52
BROKEN=		Fails to compile when MX4200 is enabled.
53
.endif
54
 
55
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}4
45
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}4
56
46
57
pre-everything::
58
	@${ECHO}
59
	@${ECHO} If you wish to build this port with SNMP support, please make
60
	@${ECHO} sure that the net-mgmt/net-snmp port is installed before
61
	@${ECHO} building and installing this port.
62
	@${ECHO}
63
64
AUTOTOOLSFILES=	aclocal.m4
47
AUTOTOOLSFILES=	aclocal.m4
65
48
66
post-patch:
49
post-patch:
Lines 77-80 post-install: Link Here
77
	@cd ${STAGEDIR}${PREFIX}; \
60
	@cd ${STAGEDIR}${PREFIX}; \
78
		${ECHO_CMD} ${NTP_SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS}
61
		${ECHO_CMD} ${NTP_SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS}
79
62
80
.include <bsd.port.post.mk>
63
.include <bsd.port.mk>
(-)b/net/ntp-devel/Makefile.inc (-3 / +3 lines)
Lines 26-37 OPTIONS_DEFINE= NTPSNMPD \ Link Here
26
  		JUPITER \
26
  		JUPITER \
27
  		LEITCH \
27
  		LEITCH \
28
  		LOCAL_CLOCK \
28
  		LOCAL_CLOCK \
29
  		MX4200 \
30
  		NEOCLOCK4X \
29
  		NEOCLOCK4X \
31
  		NMEA \
30
  		NMEA \
32
  		ONCORE \
31
  		ONCORE \
33
  		PALISADE \
32
  		PALISADE \
34
  		PCF \
33
  		PCF \
34
		PERL \
35
  		PST \
35
  		PST \
36
  		RIPENCC \
36
  		RIPENCC \
37
  		SHM \
37
  		SHM \
Lines 56-61 OPTIONS_DEFINE= NTPSNMPD \ Link Here
56
OPTIONS_DEFAULT=	SSL \
56
OPTIONS_DEFAULT=	SSL \
57
		NTP_SIGND \
57
		NTP_SIGND \
58
  		ATOM \
58
  		ATOM \
59
		PERL \
59
  		NMEA
60
  		NMEA
60
61
61
NTPSNMPD_DESC=	Build and install ntpsnmpd
62
NTPSNMPD_DESC=	Build and install ntpsnmpd
Lines 82-93 JJY_DESC= Enable JJY receiver Link Here
82
JUPITER_DESC=	Enable Rockwell Jupiter GPS receiver
83
JUPITER_DESC=	Enable Rockwell Jupiter GPS receiver
83
LEITCH_DESC=	Enable Leitch CSD 5300 Master Clock
84
LEITCH_DESC=	Enable Leitch CSD 5300 Master Clock
84
LOCAL_CLOCK_DESC=	Enable local clock reference
85
LOCAL_CLOCK_DESC=	Enable local clock reference
85
MX4200_DESC=	Enable Magnavox MX4200 GPS receiver
86
NEOCLOCK4X_DESC=	Enable NeoClock4X DCF77 / TDF receiver
86
NEOCLOCK4X_DESC=	Enable NeoClock4X DCF77 / TDF receiver
87
NMEA_DESC=	Enable NMEA GPS receiver
87
NMEA_DESC=	Enable NMEA GPS receiver
88
ONCORE_DESC=	Enable Motorola VP/UT Oncore GPS receiver
88
ONCORE_DESC=	Enable Motorola VP/UT Oncore GPS receiver
89
PALISADE_DESC=	Enable Palisade clock
89
PALISADE_DESC=	Enable Palisade clock
90
PCF_DESC=	Enable Conrad parallel port radio clock
90
PCF_DESC=	Enable Conrad parallel port radio clock
91
PERL_DESC=	Install ntp-wait and ntptrace utilities
91
PST_DESC=	Enable PST/Traconex 1020 WWV/WWVH receiver
92
PST_DESC=	Enable PST/Traconex 1020 WWV/WWVH receiver
92
RIPENCC_DESC=	Enable RIPENCC specific Trimble driver
93
RIPENCC_DESC=	Enable RIPENCC specific Trimble driver
93
SHM_DESC=	Enable SHM clock attached thru shared memory
94
SHM_DESC=	Enable SHM clock attached thru shared memory
Lines 135-141 NTP_DRIVERS= \ Link Here
135
  		JUPITER \
136
  		JUPITER \
136
  		LEITCH \
137
  		LEITCH \
137
  		LOCAL_CLOCK \
138
  		LOCAL_CLOCK \
138
  		MX4200 \
139
  		NEOCLOCK4X \
139
  		NEOCLOCK4X \
140
  		NMEA \
140
  		NMEA \
141
  		ONCORE \
141
  		ONCORE \
(-)b/net/ntp-devel/pkg-plist (-5 / +6 lines)
Lines 1-23 Link Here
1
man/man5/ntp.conf.5.gz
1
man/man5/ntp.conf.5.gz
2
man/man5/ntp.keys.5.gz
2
man/man5/ntp.keys.5.gz
3
man/man8/ntp-keygen.8.gz
3
man/man8/ntp-keygen.8.gz
4
man/man8/ntp-wait.8.gz
4
%%PERL%%man/man8/ntp-wait.8.gz
5
man/man8/ntpd.8.gz
5
man/man8/ntpd.8.gz
6
man/man8/ntpdc.8.gz
6
man/man8/ntpdc.8.gz
7
man/man8/ntpq.8.gz
7
man/man8/ntpq.8.gz
8
man/man8/ntptrace.8.gz
8
%%PERL%%man/man8/ntptrace.8.gz
9
%%NTPSNMPD%%man/man8/ntpsnmpd.8.gz
9
%%NTPSNMPD%%man/man8/ntpsnmpd.8.gz
10
man/man8/sntp.8.gz
10
man/man8/sntp.8.gz
11
%%SSL%%sbin/ntp-keygen
11
%%SSL%%sbin/ntp-keygen
12
sbin/ntp-wait
12
%%PERL%%sbin/ntp-wait
13
sbin/ntpd
13
sbin/ntpd
14
sbin/ntpdate
14
sbin/ntpdate
15
sbin/ntpdc
15
sbin/ntpdc
16
sbin/ntpq
16
sbin/ntpq
17
%%NTPSNMPD%%sbin/ntpsnmpd
17
sbin/ntptime
18
sbin/ntptime
18
sbin/ntptrace
19
%%PERL%%sbin/ntptrace
19
sbin/sntp
20
sbin/sntp
20
share/ntp/lib/NTP/Util.pm
21
%%PERL%%share/ntp/lib/NTP/Util.pm
21
%%PORTDOCS%%%%DOCSDIR%%/access.html
22
%%PORTDOCS%%%%DOCSDIR%%/access.html
22
%%PORTDOCS%%%%DOCSDIR%%/accopt.html
23
%%PORTDOCS%%%%DOCSDIR%%/accopt.html
23
%%PORTDOCS%%%%DOCSDIR%%/assoc.html
24
%%PORTDOCS%%%%DOCSDIR%%/assoc.html

Return to bug 191235