From 773cddcc2cb09f0cf8eceaaa4ae119e05a3c5a18 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Fri, 3 Feb 2006 23:23:22 +0000 Subject: [PATCH] Resurrect the ntp-devel port. This port tracks the -DEV branch of NTP whereas the ntp and ntp-stable ports track the -PROD and -STABLE branches of NTP respectively. --- net/ntp-devel/Makefile | 55 ++++++++ net/ntp-devel/distinfo | 3 + net/ntp-devel/files/patch-configure | 14 ++ net/ntp-devel/pkg-descr | 18 +++ net/ntp-devel/pkg-plist | 210 ++++++++++++++++++++++++++++ 5 files changed, 300 insertions(+) create mode 100644 net/ntp-devel/Makefile create mode 100644 net/ntp-devel/distinfo create mode 100644 net/ntp-devel/files/patch-configure create mode 100644 net/ntp-devel/pkg-descr create mode 100644 net/ntp-devel/pkg-plist diff --git a/net/ntp-devel/Makefile b/net/ntp-devel/Makefile new file mode 100644 index 000000000000..a06090a2e2f7 --- /dev/null +++ b/net/ntp-devel/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: ntp +# Date created: Di 5 Mai 1998 21:31:03 CEST +# Whom: andreas +# +# $FreeBSD$ +# + +PORTNAME= ntp +PORTVERSION= 4.2.0b +CATEGORIES= net ipv6 +YEAR= 2006 +MONTH= 02 +DAY= 01 +SNAPSHOT_DIR= snapshots/ntp-dev/${YEAR}/${MONTH} +MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/${SNAPSHOT_DIR}/ \ + http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${SNAPSHOT_DIR}/ \ + ftp://ftp.archive.de.uu.net/pub/unix/ntp/ntp4/${SNAPSHOT_DIR} \ + ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/ntp/ntp4/${SNAPSHOT_DIR}/ +DISTNAME= ${PORTNAME}-dev-${PORTVERSION:S/.r/-rc/}-${YEAR}${MONTH}${DAY} + +MAINTAINER= cy@FreeBSD.org +COMMENT= The Network Time Protocol Distribution + +LATEST_LINK= ${PORTNAME} + +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} + +MAN1= sntp.1 + +.if defined(ENABLE_RAWDCF) +CONFIGURE_ARGS+= --enable-RAWDCF +.endif + +.if defined(WITHOUT_SSL) +CONFIGURE_ARGS+= --without-crypto +PLIST_SUB+= SSL="@comment " +.else +USE_OPENSSL= yes +CONFIGURE_ARGS+= --with-openssl-incdir=${OPENSSLINC} \ + --with-openssl-libdir=${OPENSSLLIB} +PLIST_SUB+= SSL="" +.endif + +post-install: + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/conf/* ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE} + @cd ${WRKSRC}/html && ${FIND} . -print | \ + ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${DOCSDIR} +.endif + +.include diff --git a/net/ntp-devel/distinfo b/net/ntp-devel/distinfo new file mode 100644 index 000000000000..590b948e2fe5 --- /dev/null +++ b/net/ntp-devel/distinfo @@ -0,0 +1,3 @@ +MD5 (ntp-dev-4.2.0b-20060201.tar.gz) = 57569253c087ba2e75b8b1d7adbf7ae1 +SHA256 (ntp-dev-4.2.0b-20060201.tar.gz) = cae9de09c5a89f8e96c3b8eecb843e3020535e7e2afda48d6c2e372b99b8ae26 +SIZE (ntp-dev-4.2.0b-20060201.tar.gz) = 2531442 diff --git a/net/ntp-devel/files/patch-configure b/net/ntp-devel/files/patch-configure new file mode 100644 index 000000000000..0f7bcb551501 --- /dev/null +++ b/net/ntp-devel/files/patch-configure @@ -0,0 +1,14 @@ +--- configure Tue Dec 18 19:27:28 2001 ++++ configure Sat Dec 22 00:41:29 2001 +@@ -1276,6 +1276,11 @@ + mips-sgi-irix*) + ans=yes + ;; ++ i?86-*-freebsd[[123]].*) ++ ;; ++ i?86-*-freebsd*) ++ ans=yes ++ ;; + esac + ac_cv_var_no_parenb_ignpar=$ans]) + case "$ac_cv_var_no_parenb_ignpar" in diff --git a/net/ntp-devel/pkg-descr b/net/ntp-devel/pkg-descr new file mode 100644 index 000000000000..8610484769d3 --- /dev/null +++ b/net/ntp-devel/pkg-descr @@ -0,0 +1,18 @@ +The Network Time Protocol (NTP) is used to synchronize the time of a +computer client or server to another server or reference time source, +such as a radio or satellite receiver or modem. + +It provides client accuracies typically within a millisecond on LANs +and up to a few tens of milliseconds on WANs relative to a primary +server synchronized to Coordinated Universal Time (UTC) via a Global +Positioning Service (GPS) receiver, for example. + +Typical NTP configurations utilize multiple redundant servers and diverse +network paths, in order to achieve high accuracy and reliability. + +Some configurations include cryptographic authentication to prevent +accidental or malicious protocol attacks. + +See homepage for more infos: + +WWW: http://www.ntp.org/ diff --git a/net/ntp-devel/pkg-plist b/net/ntp-devel/pkg-plist new file mode 100644 index 000000000000..dd7daad1f88d --- /dev/null +++ b/net/ntp-devel/pkg-plist @@ -0,0 +1,210 @@ +%%SSL%%bin/ntp-keygen +bin/ntp-wait +bin/ntpd +bin/ntpdate +bin/ntpdc +bin/ntpq +bin/ntptime +bin/ntptrace +bin/sntp +bin/tickadj +%%PORTDOCS%%%%DOCSDIR%%/accopt.html +%%PORTDOCS%%%%DOCSDIR%%/assoc.html +%%PORTDOCS%%%%DOCSDIR%%/audio.html +%%PORTDOCS%%%%DOCSDIR%%/authopt.html +%%PORTDOCS%%%%DOCSDIR%%/build/build.html +%%PORTDOCS%%%%DOCSDIR%%/build/config.html +%%PORTDOCS%%%%DOCSDIR%%/build/hints.html +%%PORTDOCS%%%%DOCSDIR%%/build/hints/a-ux +%%PORTDOCS%%%%DOCSDIR%%/build/hints/aix +%%PORTDOCS%%%%DOCSDIR%%/build/hints/bsdi +%%PORTDOCS%%%%DOCSDIR%%/build/hints/changes +%%PORTDOCS%%%%DOCSDIR%%/build/hints/decosf1 +%%PORTDOCS%%%%DOCSDIR%%/build/hints/decosf2 +%%PORTDOCS%%%%DOCSDIR%%/build/hints/freebsd +%%PORTDOCS%%%%DOCSDIR%%/build/hints/hpux +%%PORTDOCS%%%%DOCSDIR%%/build/hints/linux +%%PORTDOCS%%%%DOCSDIR%%/build/hints/mpeix +%%PORTDOCS%%%%DOCSDIR%%/build/hints/netbsd +%%PORTDOCS%%%%DOCSDIR%%/build/hints/notes-xntp-v3 +%%PORTDOCS%%%%DOCSDIR%%/build/hints/parse +%%PORTDOCS%%%%DOCSDIR%%/build/hints/refclocks +%%PORTDOCS%%%%DOCSDIR%%/build/hints/rs6000 +%%PORTDOCS%%%%DOCSDIR%%/build/hints/sco.html +%%PORTDOCS%%%%DOCSDIR%%/build/hints/sgi +%%PORTDOCS%%%%DOCSDIR%%/build/hints/solaris-dosynctodr.html +%%PORTDOCS%%%%DOCSDIR%%/build/hints/solaris.html +%%PORTDOCS%%%%DOCSDIR%%/build/hints/solaris.xtra.4023118 +%%PORTDOCS%%%%DOCSDIR%%/build/hints/solaris.xtra.4095849 +%%PORTDOCS%%%%DOCSDIR%%/build/hints/solaris.xtra.S99ntpd +%%PORTDOCS%%%%DOCSDIR%%/build/hints/solaris.xtra.patchfreq +%%PORTDOCS%%%%DOCSDIR%%/build/hints/sun4 +%%PORTDOCS%%%%DOCSDIR%%/build/hints/svr4-dell +%%PORTDOCS%%%%DOCSDIR%%/build/hints/svr4_package +%%PORTDOCS%%%%DOCSDIR%%/build/hints/todo +%%PORTDOCS%%%%DOCSDIR%%/build/hints/vxworks.html +%%PORTDOCS%%%%DOCSDIR%%/build/hints/winnt.html +%%PORTDOCS%%%%DOCSDIR%%/build/patches.html +%%PORTDOCS%%%%DOCSDIR%%/build/porting.html +%%PORTDOCS%%%%DOCSDIR%%/build/quick.html +%%PORTDOCS%%%%DOCSDIR%%/build/scripts/footer.txt +%%PORTDOCS%%%%DOCSDIR%%/build/scripts/links10.txt +%%PORTDOCS%%%%DOCSDIR%%/build/scripts/links11.txt +%%PORTDOCS%%%%DOCSDIR%%/build/scripts/links12.txt +%%PORTDOCS%%%%DOCSDIR%%/build/scripts/links7.txt +%%PORTDOCS%%%%DOCSDIR%%/build/scripts/links8.txt +%%PORTDOCS%%%%DOCSDIR%%/build/scripts/links9.txt +%%PORTDOCS%%%%DOCSDIR%%/build/scripts/style.css +%%PORTDOCS%%%%DOCSDIR%%/clockopt.html +%%PORTDOCS%%%%DOCSDIR%%/confopt.html +%%PORTDOCS%%%%DOCSDIR%%/copyright.html +%%PORTDOCS%%%%DOCSDIR%%/debug.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver1.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver10.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver11.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver12.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver16.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver18.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver19.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver2.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver20.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver22.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver26.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver27.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver28.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver29.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver3.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver30.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver31.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver32.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver33.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver34.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver35.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver36.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver37.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver38.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver39.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver4.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver40.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver42.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver43.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver44.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver5.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver6.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver7.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver8.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/driver9.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/icons/home.gif +%%PORTDOCS%%%%DOCSDIR%%/drivers/icons/mail2.gif +%%PORTDOCS%%%%DOCSDIR%%/drivers/oncore-shmem.html +%%PORTDOCS%%%%DOCSDIR%%/drivers/scripts/footer.txt +%%PORTDOCS%%%%DOCSDIR%%/drivers/scripts/style.css +%%PORTDOCS%%%%DOCSDIR%%/drivers/tf582_4.html +%%PORTDOCS%%%%DOCSDIR%%/extern.html +%%PORTDOCS%%%%DOCSDIR%%/gadget.html +%%PORTDOCS%%%%DOCSDIR%%/howto.html +%%PORTDOCS%%%%DOCSDIR%%/icons/home.gif +%%PORTDOCS%%%%DOCSDIR%%/icons/mail2.gif +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/kern.html +%%PORTDOCS%%%%DOCSDIR%%/keygen.html +%%PORTDOCS%%%%DOCSDIR%%/ldisc.html +%%PORTDOCS%%%%DOCSDIR%%/manyopt.html +%%PORTDOCS%%%%DOCSDIR%%/measure.html +%%PORTDOCS%%%%DOCSDIR%%/miscopt.html +%%PORTDOCS%%%%DOCSDIR%%/monopt.html +%%PORTDOCS%%%%DOCSDIR%%/msyslog.html +%%PORTDOCS%%%%DOCSDIR%%/mx4200data.html +%%PORTDOCS%%%%DOCSDIR%%/notes.html +%%PORTDOCS%%%%DOCSDIR%%/ntpd.html +%%PORTDOCS%%%%DOCSDIR%%/ntpdate.html +%%PORTDOCS%%%%DOCSDIR%%/ntpdc.html +%%PORTDOCS%%%%DOCSDIR%%/ntpdsim.html +%%PORTDOCS%%%%DOCSDIR%%/ntpq.html +%%PORTDOCS%%%%DOCSDIR%%/ntptime.html +%%PORTDOCS%%%%DOCSDIR%%/ntptrace.html +%%PORTDOCS%%%%DOCSDIR%%/parsedata.html +%%PORTDOCS%%%%DOCSDIR%%/parsenew.html +%%PORTDOCS%%%%DOCSDIR%%/pic/9400n.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/alice11.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice13.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice23.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice31.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice32.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice35.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice38.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice44.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice47.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice51.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/alice61.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/barnstable.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/beaver.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/boom3.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/boom3a.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/bustardfly.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/c51.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/dogsnake.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/driver29.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/driver43_1.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/driver43_2.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/fg6021.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/fg6039.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/gadget.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/gps167.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/hornraba.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/igclock.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/neoclock4x.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/oncore_evalbig.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/oncore_remoteant.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/oncore_utplusbig.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/oz2.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/panda.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pd_om006.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pd_om011.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pogo.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pogo1a.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pogo3a.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pogo4.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pogo5.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pogo6.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pogo8.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/pzf509.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/rabbit.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/radio2.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/sheepb.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/stack1a.jpg +%%PORTDOCS%%%%DOCSDIR%%/pic/tonea.gif +%%PORTDOCS%%%%DOCSDIR%%/pic/wingdorothy.gif +%%PORTDOCS%%%%DOCSDIR%%/pps.html +%%PORTDOCS%%%%DOCSDIR%%/prefer.html +%%PORTDOCS%%%%DOCSDIR%%/rdebug.html +%%PORTDOCS%%%%DOCSDIR%%/refclock.html +%%PORTDOCS%%%%DOCSDIR%%/release.html +%%PORTDOCS%%%%DOCSDIR%%/scripts/footer.txt +%%PORTDOCS%%%%DOCSDIR%%/scripts/links10.txt +%%PORTDOCS%%%%DOCSDIR%%/scripts/links11.txt +%%PORTDOCS%%%%DOCSDIR%%/scripts/links12.txt +%%PORTDOCS%%%%DOCSDIR%%/scripts/links7.txt +%%PORTDOCS%%%%DOCSDIR%%/scripts/links8.txt +%%PORTDOCS%%%%DOCSDIR%%/scripts/links9.txt +%%PORTDOCS%%%%DOCSDIR%%/scripts/style.css +%%PORTDOCS%%%%DOCSDIR%%/sntp.html +%%PORTDOCS%%%%DOCSDIR%%/tickadj.html +%%EXAMPLESDIR%%/README +%%EXAMPLESDIR%%/baldwin.conf +%%EXAMPLESDIR%%/beauregard.conf +%%EXAMPLESDIR%%/grundoon.conf +%%EXAMPLESDIR%%/malarky.conf +%%EXAMPLESDIR%%/pogo.conf +%%EXAMPLESDIR%%/rackety.conf +%%PORTDOCS%%@dirrm %%DOCSDIR%%/scripts +%%PORTDOCS%%@dirrm %%DOCSDIR%%/pic +%%PORTDOCS%%@dirrm %%DOCSDIR%%/icons +%%PORTDOCS%%@dirrm %%DOCSDIR%%/drivers/scripts +%%PORTDOCS%%@dirrm %%DOCSDIR%%/drivers/icons +%%PORTDOCS%%@dirrm %%DOCSDIR%%/drivers +%%PORTDOCS%%@dirrm %%DOCSDIR%%/build/scripts +%%PORTDOCS%%@dirrm %%DOCSDIR%%/build/hints +%%PORTDOCS%%@dirrm %%DOCSDIR%%/build +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%EXAMPLESDIR%%