| 19 | |
| 20 | |
| 21 | == make install with ports == |
| 22 | * bsd# whereis sudo |
| 23 | {{{ |
| 24 | sudo: /usr/ports/security/sudo |
| 25 | }}} |
| 26 | * bsd# cd /usr/ports/security/sudo |
| 27 | * bsd# make |
| 28 | {{{ |
| 29 | cd /usr/ports/security/sudo && make config; |
| 30 | ┌──────────────────────────────────┐ |
| 31 | │ Options for sudo 1.8.1_5 │ |
| 32 | |
| 33 | (snip) |
| 34 | |
| 35 | ===> Vulnerability check disabled, database not found |
| 36 | ===> License check disabled, port has not defined LICENSE |
| 37 | ===> Found saved configuration for sudo-1.8.1_5 |
| 38 | => sudo-1.8.1p2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. |
| 39 | => Attempting to fetch http://www.sudo.ws/sudo/dist/sudo-1.8.1p2.tar.gz |
| 40 | sudo-1.8.1p2.tar.gz 100% of 1209 kB 356 kBps |
| 41 | ===> Extracting for sudo-1.8.1_5 |
| 42 | => SHA256 Checksum OK for sudo-1.8.1p2.tar.gz. |
| 43 | ===> Patching for sudo-1.8.1_5 |
| 44 | |
| 45 | (snip) |
| 46 | }}} |
| 47 | * bsd# make install |
| 48 | {{{ |
| 49 | (snip) |
| 50 | |
| 51 | /usr/local/bin/sudo |
| 52 | /usr/local/bin/sudoedit |
| 53 | }}} |
| 54 | |
| 55 | * bsd# rehash |
| 56 | * bsd# visudo |
| 57 | |
| 58 | * [mitty@bsd ~]$ whereis screen |
| 59 | {{{ |
| 60 | screen: /usr/ports/sysutils/screen |
| 61 | }}} |
| 62 | * [mitty@bsd ~]$ cd /usr/ports/sysutils/screen |
| 63 | * [mitty@bsd /usr/ports/sysutils/screen]$ sudo make |
| 64 | * [mitty@bsd /usr/ports/sysutils/screen]$ sudo make install |