mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
98a2ff64a0
- Update to 1.31.1 to resolve CVE-2015-1799, CVE-2015-1821, and CVE-2015-1822 - Regenerate patches with `make makepatch` to quiet portlint - Strip binaries PR: 199508 Submitted by: Jason Unovitch <jason.unovitch@gmail.com> Approved by: masaki@club.kyutech.ac.jp (maintainer timeout)
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Created by: Masaki TAGAWA <masaki@club.kyutech.ac.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= chrony
|
|
PORTVERSION= 1.31.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://download.tuxfamily.org/chrony/
|
|
|
|
MAINTAINER= masaki@club.kyutech.ac.jp
|
|
COMMENT= System clock synchronization client and server
|
|
|
|
LICENSE= GPLv2
|
|
|
|
# XXX: should theoretically work on others, but at least on PowerPC it dies
|
|
# with ``Could not open any NTP socket'' message on startup :(
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
USES= cpe gmake makeinfo readline
|
|
CPE_VENDOR= tuxfamily
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc --mandir=${MANPREFIX}/man \
|
|
--datarootdir=${DATADIR} --docdir=${DOCSDIR}
|
|
USE_RC_SUBR= chronyd
|
|
|
|
PORTDOCS= COPYING README chrony.txt
|
|
|
|
# XXX: there are also other potentially useful options worth looking into:
|
|
# --without-nss Don't use NSS even if it is available
|
|
# --without-tomcrypt Don't use libtomcrypt even if it is available
|
|
# --disable-pps Disable PPS API support
|
|
OPTIONS_DEFINE= IPV6
|
|
OPTIONS_DEFAULT= IPV6
|
|
|
|
IPV6_CATEGORIES= ipv6
|
|
IPV6_CONFIGURE_OFF= --disable-ipv6
|
|
|
|
post-stage:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chronyc
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/chronyd
|
|
|
|
post-install:
|
|
.for f in chrony.conf.example chrony.conf.example2 chrony.keys.example
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${PREFIX}/etc
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|