Code Search for Developers
 
 
  

ntpd.xml from eVDR at Krugle


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

eVDR

The aim of eVDR is to build a fully operational Video Disk Recorder entirely from scratch. That means it provides a step-by-step instructions for building your own customized Linux Video Disk Recorder box entirely from source.

Project homepage: http://sourceforge.net/projects/evdr
Programming language(s): Shell Script,XML
License: gpl2

  dhcpcd.xml
  libevent.xml
  libpcap.xml
  named.xml
  ndiswrapper.xml
  net-tools.xml
  nfs-utils.xml
  ntpd.xml
  portmap.xml
  tcpwrappers.xml
  wireless-tools.xml