From 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:15:45 +0100 Subject: split de git pakxe et NuTyX-extra --- ntp/.footprint.i686 | 44 ++++++++++++++++++++++++++++++++++++ ntp/.footprint.x86_64 | 44 ++++++++++++++++++++++++++++++++++++ ntp/.md5sum.i686 | 2 ++ ntp/.md5sum.x86_64 | 2 ++ ntp/Pkgfile | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 154 insertions(+) create mode 100644 ntp/.footprint.i686 create mode 100644 ntp/.footprint.x86_64 create mode 100644 ntp/.md5sum.i686 create mode 100644 ntp/.md5sum.x86_64 create mode 100644 ntp/Pkgfile (limited to 'ntp') 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 +} + -- cgit v1.2.3-54-g00ecf