summaryrefslogtreecommitdiffstats
path: root/ntp
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /ntp
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'ntp')
-rw-r--r--ntp/.footprint.i68644
-rw-r--r--ntp/.footprint.x86_6444
-rw-r--r--ntp/.md5sum.i6862
-rw-r--r--ntp/.md5sum.x86_642
-rw-r--r--ntp/Pkgfile62
5 files changed, 154 insertions, 0 deletions
diff --git a/ntp/.footprint.i686 b/ntp/.footprint.i686
new file mode 100644
index 000000000..015ffa227
--- /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/
+-rwxr-xr-x root/root usr/bin/ntp-keygen
+-rwxr-xr-x root/root usr/bin/ntp-wait
+-rwxr-xr-x root/root usr/bin/ntpq
+-rwxr-xr-x root/root usr/bin/ntptime
+-rwxr-xr-x root/root usr/bin/ntptrace
+-rwxr-xr-x root/root usr/bin/tickadj
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/sbin/
+-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/sntp
+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..015ffa227
--- /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/
+-rwxr-xr-x root/root usr/bin/ntp-keygen
+-rwxr-xr-x root/root usr/bin/ntp-wait
+-rwxr-xr-x root/root usr/bin/ntpq
+-rwxr-xr-x root/root usr/bin/ntptime
+-rwxr-xr-x root/root usr/bin/ntptrace
+-rwxr-xr-x root/root usr/bin/tickadj
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/sbin/
+-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/sntp
+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..9966a3518
--- /dev/null
+++ b/ntp/.md5sum.i686
@@ -0,0 +1,2 @@
+36c5711228cb0cf48966daa993e06f55 ntp-4.2.4_p7-nano.patch
+4d64a99592b818aa9419fc9dcb149746 ntp-4.2.6.tar.gz
diff --git a/ntp/.md5sum.x86_64 b/ntp/.md5sum.x86_64
new file mode 100644
index 000000000..9966a3518
--- /dev/null
+++ b/ntp/.md5sum.x86_64
@@ -0,0 +1,2 @@
+36c5711228cb0cf48966daa993e06f55 ntp-4.2.4_p7-nano.patch
+4d64a99592b818aa9419fc9dcb149746 ntp-4.2.6.tar.gz
diff --git a/ntp/Pkgfile b/ntp/Pkgfile
new file mode 100644
index 000000000..9d0c9de82
--- /dev/null
+++ b/ntp/Pkgfile
@@ -0,0 +1,62 @@
+# 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.6
+release=4
+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
+}
+