Show ntpd.xml syntax highlighted
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd" [
<!ENTITY % general_entities SYSTEM "../config/general.ent">
<!ENTITY % package_entities SYSTEM "../config/packages/network.ent">
<!ENTITY % files_entities SYSTEM "../config/files.ent">
%general_entities;
%package_entities;
%files_entities;
]>
<alfs>
<package name="ntpd" version="&ntpd-version;">
<stage name="Unpacking">
<unpack>
<digest>&ntpd-md5;</digest>
<archive>&packages_dir;/&ntpd-package;</archive>
<destination>&build_dir;</destination>
</unpack>
</stage>
<stage name="Installing">
<stageinfo>
<base>&build_dir;/&ntpd-directory;</base>
</stageinfo>
<configure>
<param>--prefix=/srv/ntpd</param>
<param>--sysconfdir=/etc</param>
<param>--localstatedir=/var</param>
<param>--with-ssl-dir=/usr/local/openssl</param>
<param> --infodir=/devel/info --mandir=/devel/man</param>
<param> --includedir=/devel/include </param>
</configure>
<make />
<make>
<param>install</param>
</make>
<textdump>
<file>/etc/ntp.conf</file>
<content>
=server ntp.univ-lyon1.fr
=driftfile /etc/ntp/drift
=multicastclient # listen on default 224.0.1.1
=broadcastdelay 0.008
</content>
</textdump>
</stage>
<stage name="post-install">
<mkdir base="/etc">
<name>ntp</name>
</mkdir>
<textdump>
<file>/etc/ntp/step-tickers</file>
<content>
=ntp.univ-lyon1.fr
</content>
</textdump>
<execute command="touch /etc/ntp/drift"/>
<copy>
<source>&vdr-config;/scripts/ntpd</source>
<destination>/etc/rc.d/init.d</destination>
</copy>
<permissions base="/etc/rc.d/init.d" mode="755">
<name>ntpd</name>
</permissions>
<link type="symbolic" base="/etc/rc.d/rc3.d">
<target>../init.d/ntpd</target>
<name>S40ntpd</name>
</link>
<execute command="touch">
<param>&LFS-pkgmgr;/ntpd-&ntpd-version;</param>
</execute>
</stage>
<stage name="Cleanup">
<remove>&build_dir;/&ntpd-directory;</remove>
</stage>
</package>
</alfs>
See more files for this project here