2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-21 09:01:46 +00:00

new notes for building fping

This commit is contained in:
linggao 2008-02-28 14:44:52 +00:00
parent b9c326e4e0
commit 7330d8ce85
2 changed files with 9 additions and 18 deletions

View File

@ -1,18 +0,0 @@
Build notes
1. download fping.tar.gz (version 2.4b2_to) from http://fping.sourceforge.net/download/
and copy it to /tmp/fping directory.
2. cd to /tmp/fping.
3. un-tar the files
4. run ./fping-2.4b2_to/configure to create a Makefile.
5. copy fping.spec /tmp/fping directory
6. tar -cvf fping.tar fping.spec fping-2.4b2_to
7. gzip fping.tar to create a new fping.tar.gz
8. copy fping.tar.gz to /usr/src/packages/SOURCES/ directory
9. copy fping.patch to /usr/src/packages/SOURCES/ directory
10. rpmbuild -ta /usr/src/packages/SOURCES/fping.tar.gz
*The patch was created using "diff -uNr fping-2.4b2_to fping-2.4b2_to_new" command.
**on a RedHat Linux machine, /usr/src/packages is /usr/src/redhat.

9
fping/Build-notes Normal file
View File

@ -0,0 +1,9 @@
Build notes
1. download fping.tar.gz (version 2.4b2_to) from http://fping.sourceforge.net/download/
and copy it to /usr/src/<pkgs>/SOURCES (where <pkgs>="redhat" for RH, and <pkgs>="packages" for SLES)
2. copy fping.spec to /usr/src/<pkgs>/SOURCES directory
3. copy fping.patch to /usr/src/<pkgs>/SOURCES/ directory
4. rpmbuild -bb /usr/src/packages/SOURCES/fping.spec