Difference between revisions of "Tftp-hpa"
From CBLFS
Jump to navigationJump to search(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.kernel.org/pub/software/network/tftp/tftp-hpa- | + | | http://www.kernel.org/pub/software/network/tftp/tftp-hpa-{{Tftp-hpa-Version}}.tar.bz2 |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Blank-Package-Introduction}} | ||
== Dependencies == | == Dependencies == | ||
Line 58: | Line 60: | ||
make install | make install | ||
+ | |||
+ | == Configuring == | ||
+ | |||
+ | This section assumes that you have [[Xinetd]] installed and configured to load services in '''/etc/xinetd.d'''. | ||
+ | |||
+ | cat > /etc/xinetd.d/tftp << "EOF" | ||
+ | # Begin /etc/xinetd.d/tftp | ||
+ | |||
+ | service tftp | ||
+ | { | ||
+ | disable = no | ||
+ | socket_type = dgram | ||
+ | wait = yes | ||
+ | user = root | ||
+ | server = /usr/sbin/in.tftpd | ||
+ | server_args = -s /srv/tftp | ||
+ | } | ||
+ | |||
+ | # End /etc/xinetd.d/tftp | ||
+ | EOF | ||
+ | |||
+ | And finally create the tftp directory: | ||
+ | |||
+ | install -v -d -m755 /srv/tftp | ||
+ | |||
+ | [[Category:Servers]] |
Latest revision as of 14:10, 19 March 2009
Download Source: | http://www.kernel.org/pub/software/network/tftp/tftp-hpa-0.48.tar.bz2 |
---|
Contents
Introduction to Tftp-hpa
Project Homepage: Unknown
Dependencies
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr && make
Install the package
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr && make
Install the package
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr && make
Install the package
make install
Configuring
This section assumes that you have Xinetd installed and configured to load services in /etc/xinetd.d.
cat > /etc/xinetd.d/tftp << "EOF" # Begin /etc/xinetd.d/tftp service tftp { disable = no socket_type = dgram wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /srv/tftp } # End /etc/xinetd.d/tftp EOF
And finally create the tftp directory:
install -v -d -m755 /srv/tftp