PATCH_LIST="ntp-4.2.4-unintialized-local-peer.diff ntp-4.2.4-larger-tolerance.diff ntp-4.2.4-disable-ipv6.diff" FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.4p6.tar.gz" MAKEDEPENDS= function do_config { CC="$CC" LD="$LD" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ ./configure --prefix=/usr --with-crypto=rsaref,autokey --enable-all-clocks --enable-linuxcaps --disable-ipv6 --host=$FLXTARG --build=$FLXHOST } function do_compile_only { # Version 4.2.1 puts readline where needed only, so there's no need for per-subsystem compilation anymore. $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR mkdir -p $ROOTDIR/usr/sbin && mv $ROOTDIR/usr/bin/ntpd $ROOTDIR/usr/sbin/ mkdir -p $ROOTDIR/etc/ntp $ROOTDIR/sbin/init.d mkdir -p $EXAMPLEDIR/ntp/ntp-$PKGVER/etc/ntp cp $PKGDIR/add-ons/ntp $ROOTDIR/sbin/init.d/ cp $PKGDIR/add-ons/ntp.conf $PKGDIR/add-ons/ntp.keys $EXAMPLEDIR/ntp/ntp-$PKGVER/etc/ntp/ set_default_perm $ROOTDIR set_perm root:adm 750 $ROOTDIR/etc/ntp set_perm root:adm 555 $ROOTDIR/sbin/init.d/ntp }