| 18 | * 其中 [http://people.redhat.com/nalin/oddjob/ oddjob] 因為是 Redhat 的人開發的,所以目前仍需要額外自行下載安裝,我用 checkinstall 來產生 deb 套件。在 ./configure 過程中發現相依一些套件包含 D-Bus-1 , SELinux Header, libxml-2.0 跟 libpam0g-dev 套件裡的 /usr/include/security/pam_modules.h (用 apt-file 去找) |
| 19 | {{{ |
| 20 | $ sudo apt-get install libdbus-1-dev libxml2-dev libselinux1-dev libpam0g-dev |
| 21 | $ wget http://people.redhat.com/nalin/oddjob/oddjob-0.29.1-1.tar.gz |
| 22 | $ tar zxvf oddjob-0.29.1-1.tar.gz |
| 23 | $ cd oddjob-0.29.1-1/ |
| 24 | ~/oddjob-0.29.1-1$ ./configure |
| 25 | ~/oddjob-0.29.1-1$ sudo apt-get install checkinstall |
| 26 | ~/oddjob-0.29.1-1$ checkinstall |
| 27 | |
| 28 | checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran |
| 29 | This software is released under the GNU GPL. |
| 30 | |
| 31 | ***************************************** |
| 32 | **** Debian package creation selected *** |
| 33 | ***************************************** |
| 34 | |
| 35 | This package will be built according to these values: |
| 36 | |
| 37 | 0 - Maintainer: [ jazz@drbl ] |
| 38 | 1 - Summary: [ The oddjob package provides a means for unprivileged applications ] |
| 39 | 2 - Name: [ oddjob-0.29.1 ] |
| 40 | 3 - Version: [ 1 ] |
| 41 | 4 - Release: [ 1 ] |
| 42 | 5 - License: [ GPL ] |
| 43 | 6 - Group: [ checkinstall ] |
| 44 | 7 - Architecture: [ amd64 ] |
| 45 | 8 - Source location: [ oddjob-0.29.1-1 ] |
| 46 | 9 - Alternate source location: [ ] |
| 47 | 10 - Requires: [ ] |
| 48 | 11 - Provides: [ oddjob-0.29.1 ] |
| 49 | |
| 50 | Enter a number to change any of them or press ENTER to continue: |
| 51 | |
| 52 | }}} |