diff options
author | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
commit | 50e5ce5b17e69be13228e2393c5804b0a79acfab (patch) | |
tree | 9845fa9af128d7fdd791755bb2be320f3ba2be4e /ntp | |
parent | 9626427c1a1d9c292fc519810c13b9a8073e777f (diff) | |
parent | 8548e8d6882b55dfb509b18dedfb7db17630037d (diff) | |
download | nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2 nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip |
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'ntp')
-rw-r--r-- | ntp/.footprint.i686 | 44 | ||||
-rw-r--r-- | ntp/.footprint.x86_64 | 44 | ||||
-rw-r--r-- | ntp/.md5sum.i686 | 2 | ||||
-rw-r--r-- | ntp/.md5sum.x86_64 | 2 | ||||
-rw-r--r-- | ntp/Pkgfile | 60 |
5 files changed, 152 insertions, 0 deletions
diff --git a/ntp/.footprint.i686 b/ntp/.footprint.i686 new file mode 100644 index 000000000..88f10a3d4 --- /dev/null +++ b/ntp/.footprint.i686 @@ -0,0 +1,44 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/ntp.conf +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-- root/root etc/rc.d/init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc0.d/ +lrwxrwxrwx root/root etc/rc.d/rc0.d/K46ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc1.d/ +lrwxrwxrwx root/root etc/rc.d/rc1.d/K46ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc2.d/ +lrwxrwxrwx root/root etc/rc.d/rc2.d/K46ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S26ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S26ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S26ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K46ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ +drwxr-xr-x root/root etc/sysconfig/ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/ntp-keygen +-rwxr-xr-x root/root usr/sbin/ntp-wait +-rwxr-xr-x root/root usr/sbin/ntpd +-rwxr-xr-x root/root usr/sbin/ntpdate +-rwxr-xr-x root/root usr/sbin/ntpdc +-rwxr-xr-x root/root usr/sbin/ntpq +-rwxr-xr-x root/root usr/sbin/ntptime +-rwxr-xr-x root/root usr/sbin/ntptrace +-rwxr-xr-x root/root usr/sbin/sntp +-rwxr-xr-x root/root usr/sbin/tickadj +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/ntp-keygen.1.gz +-rw-r--r-- root/root usr/share/man/man1/ntpd.1.gz +-rw-r--r-- root/root usr/share/man/man1/ntpdc.1.gz +-rw-r--r-- root/root usr/share/man/man1/ntpq.1.gz +-rw-r--r-- root/root usr/share/man/man1/ntpsnmpd.1.gz +-rw-r--r-- root/root usr/share/man/man1/sntp.1.gz diff --git a/ntp/.footprint.x86_64 b/ntp/.footprint.x86_64 new file mode 100644 index 000000000..88f10a3d4 --- /dev/null +++ b/ntp/.footprint.x86_64 @@ -0,0 +1,44 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/ntp.conf +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-- root/root etc/rc.d/init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc0.d/ +lrwxrwxrwx root/root etc/rc.d/rc0.d/K46ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc1.d/ +lrwxrwxrwx root/root etc/rc.d/rc1.d/K46ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc2.d/ +lrwxrwxrwx root/root etc/rc.d/rc2.d/K46ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S26ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S26ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S26ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K46ntp -> ../init.d/ntp +drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ +drwxr-xr-x root/root etc/sysconfig/ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/ntp-keygen +-rwxr-xr-x root/root usr/sbin/ntp-wait +-rwxr-xr-x root/root usr/sbin/ntpd +-rwxr-xr-x root/root usr/sbin/ntpdate +-rwxr-xr-x root/root usr/sbin/ntpdc +-rwxr-xr-x root/root usr/sbin/ntpq +-rwxr-xr-x root/root usr/sbin/ntptime +-rwxr-xr-x root/root usr/sbin/ntptrace +-rwxr-xr-x root/root usr/sbin/sntp +-rwxr-xr-x root/root usr/sbin/tickadj +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/ntp-keygen.1.gz +-rw-r--r-- root/root usr/share/man/man1/ntpd.1.gz +-rw-r--r-- root/root usr/share/man/man1/ntpdc.1.gz +-rw-r--r-- root/root usr/share/man/man1/ntpq.1.gz +-rw-r--r-- root/root usr/share/man/man1/ntpsnmpd.1.gz +-rw-r--r-- root/root usr/share/man/man1/sntp.1.gz diff --git a/ntp/.md5sum.i686 b/ntp/.md5sum.i686 new file mode 100644 index 000000000..f46fec18b --- /dev/null +++ b/ntp/.md5sum.i686 @@ -0,0 +1,2 @@ +36c5711228cb0cf48966daa993e06f55 ntp-4.2.4_p7-nano.patch +1447121a07b49361677ffda4f6e29527 ntp-4.2.6p4.tar.gz diff --git a/ntp/.md5sum.x86_64 b/ntp/.md5sum.x86_64 new file mode 100644 index 000000000..f46fec18b --- /dev/null +++ b/ntp/.md5sum.x86_64 @@ -0,0 +1,2 @@ +36c5711228cb0cf48966daa993e06f55 ntp-4.2.4_p7-nano.patch +1447121a07b49361677ffda4f6e29527 ntp-4.2.6p4.tar.gz diff --git a/ntp/Pkgfile b/ntp/Pkgfile new file mode 100644 index 000000000..4e6030761 --- /dev/null +++ b/ntp/Pkgfile @@ -0,0 +1,60 @@ +# Description: Serveur de synchronisation pour l'horloge système +# URL: http://www.ntp.org/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: libcap +# Run on: libcap + +name=ntp +version=4.2.6p4 +release=1 +source=( http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/$name-4.2/$name-$version.tar.gz + http://nutyx.meticul.eu/files/patchs/$name/ntp-4.2.4_p7-nano.patch) + +build() { + source /etc/blfs-bootscripts +# wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 + wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2 + tar xvf $scripts-$scriptsversion.tar.bz2 + cd $name-$version + patch -Np1 -i ../ntp-4.2.4_p7-nano.patch + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-binsubdir=sbin \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-debug + make + make DESTDIR=$PKG install + mkdir -p $PKG/etc +cat > $PKG/etc/ntp.conf << "EOF" + +# Europe +server 0.fr.pool.ntp.org +server 1.fr.pool.ntp.org +server 2.fr.pool.ntp.org +server 3.fr.pool.ntp.org +server 0.europe.pool.ntp.org + + +# Africa +server tock.nml.csir.co.za + +# Asia +server 0.asia.pool.ntp.org + +# Australia +server 0.oceania.pool.ntp.org + +# North America +server 0.north-america.pool.ntp.org + +# South America +server 2.south-america.pool.ntp.org + +driftfile /var/cache/ntp.drift +EOF + cd ../$scripts-$scriptsversion + make DESTDIR=$PKG install-$name + sed -i "s/ gx/ -gx/" $PKG/etc/rc.d/init.d/ntp +} |