# HG changeset patch # User Pascal Bellard # Date 1227450432 0 # Node ID 58eb08d32c24d987fee588e8dc0f548529a0140d # Parent 2d03cdc832cbb79b152a62ce068f4d1c1322d9f4 ntp: add /etc/init.d/ntp diff -r 2d03cdc832cb -r 58eb08d32c24 ntp/receipt --- a/ntp/receipt Sun Nov 23 12:23:06 2008 +0000 +++ b/ntp/receipt Sun Nov 23 14:27:12 2008 +0000 @@ -8,6 +8,8 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.ntp.org/" WGET_URL="http://archive.ntp.org/ntp4/$TARBALL" +DEPENDS="libcrypto" +CONFIG_FILES="/etc/ntp.conf" # Rules to configure and make the package. compile_rules() @@ -22,7 +24,11 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs + mkdir -p $fs/usr $fs/etc/init.d + cp -a $_pkg/usr/bin $fs/usr + cp stuff/ntp $fs/etc/init.d + cat > $fs/etc/ntp.conf <