Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 1 | FOLLOW THESE SIMPLE GUIDELINES: |
| 2 | ------------------------------- |
| 3 | |
Bart De Schuymer | 1f4523d | 2003-02-15 11:12:41 +0000 | [diff] [blame] | 4 | Compile the source code: |
| 5 | %make |
| 6 | put the files in the right directories: |
Bart De Schuymer | 4a721be | 2002-11-20 19:40:47 +0000 | [diff] [blame] | 7 | %make install |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 8 | |
Bart De Schuymer | 4a721be | 2002-11-20 19:40:47 +0000 | [diff] [blame] | 9 | If you are using the CVS code or need your own kernel includes, do this |
| 10 | instead (change the include directory to the appropriate one): |
Bart De Schuymer | 06a9682 | 2003-02-19 20:09:51 +0000 | [diff] [blame] | 11 | %make install KERNEL_INCLUDES=/usr/src/linux/include |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 12 | |
| 13 | WHAT GETS INSTALLED? |
| 14 | -------------------- |
| 15 | |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 16 | - The ebtables manual gets installed in /usr/local/man/man8 |
| 17 | To put the manual somewhere else, include MANDIR=<<man-path/man>> as |
| 18 | option on the command line. |
| 19 | The Makefile will append /man8/ebtables.8. |
Bart De Schuymer | 1f4523d | 2003-02-15 11:12:41 +0000 | [diff] [blame] | 20 | - ethertypes is by default placed in /etc/, if you |
Bart De Schuymer | bf1a298 | 2002-11-22 18:56:13 +0000 | [diff] [blame] | 21 | want to change this, include ETHERTYPESPATH=<<path/>>. |
| 22 | |
Bart De Schuymer | 3289054 | 2002-07-10 20:09:56 +0000 | [diff] [blame] | 23 | - the userspace program ebtables is compiled and the executable is copied |
Bart De Schuymer | f57f50f | 2002-08-29 16:52:36 +0000 | [diff] [blame] | 24 | to /sbin/ebtables. |
Bart De Schuymer | 1f4523d | 2003-02-15 11:12:41 +0000 | [diff] [blame] | 25 | To put the binary somewhere else, include BINDIR=<<path/>>. |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 26 | |
| 27 | That's all |