wok diff ntp/receipt @ rev 22817
moserial: fix moserial.desktop
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 04 18:51:57 2020 +0100 (2020-02-04) |
parents | 7d672a2330b8 |
children | 241fb98cab1c |
line diff
1.1 --- a/ntp/receipt Wed Apr 23 01:06:05 2014 +0200 1.2 +++ b/ntp/receipt Tue Feb 04 18:51:57 2020 +0100 1.3 @@ -1,42 +1,50 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ntp" 1.7 -VERSION="4.2.6p5" 1.8 +VERSION="4.2.8p13" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Network Time Protocol daemon." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL3" 1.13 +WEB_SITE="http://www.ntp.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.ntp.org/" 1.17 WGET_URL="http://archive.ntp.org/ntp4/$TARBALL" 1.18 + 1.19 +DEPENDS="attr libcap libcrypto readline" 1.20 +CONFIG_FILES="/etc/ntp.conf" 1.21 + 1.22 HOST_ARCH="i486 arm" 1.23 1.24 -DEPENDS="libcrypto readline libcap attr" 1.25 -CONFIG_FILES="/etc/ntp.conf" 1.26 - 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - cd $src 1.31 sed -i 's/MOD_NANO/0/' ntpd/ntp_loopfilter.c 1.32 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.33 - --sysconfdir=/etc --localstatedir=/var \ 1.34 - --mandir=/usr/share/man $CONFIGURE_ARGS && \ 1.35 - make && make DESTDIR=$DESTDIR install 1.36 + 1.37 + ./configure \ 1.38 + --prefix=/usr \ 1.39 + --infodir=/usr/share/info \ 1.40 + --sysconfdir=/etc \ 1.41 + --localstatedir=/var \ 1.42 + --mandir=/usr/share/man \ 1.43 + $CONFIGURE_ARGS && \ 1.44 + make && 1.45 + make DESTDIR=$DESTDIR install 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 genpkg_rules() 1.50 { 1.51 - mkdir -p $fs/usr $fs/etc/init.d 1.52 - cp -a $install/usr/bin $fs/usr 1.53 - cp stuff/ntp $fs/etc/init.d 1.54 + mkdir -p $fs/usr 1.55 + mkdir -p $fs/etc/init.d 1.56 + 1.57 + cp -a $install/usr/bin $fs/usr 1.58 + cp stuff/ntp $fs/etc/init.d 1.59 cat > $fs/etc/ntp.conf <<EOT 1.60 restrict default noquery 1.61 restrict 192.168.0.0 mask 255.255.0.0 1.62 restrict 127.0.0.1 1.63 -server fr.pool.ntp.org 1.64 -server de.pool.ntp.org 1.65 +server europe.pool.ntp.org 1.66 +server pool.ntp.org 1.67 EOT 1.68 } 1.69 -