Changes between Version 2 and Version 3 of TipAndDoc/FreeBSD


Ignore:
Timestamp:
Jun 15, 2011 6:22:00 PM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/FreeBSD

    v2 v3  
    1010}}} 
    1111 
     12 = ports = 
    1213 * [http://wiki.fdiary.net/BSDmad/?portsnap BSD にくびったけ - portsnap] 
    1314 > portsnap は secure に FreeBSD の ports ツリーを更新することができるツールです。 
     
    1617   * 初回のみ 
    1718  1. bsd# portsnap update 
     19 
     20 
     21 == make install with ports == 
     22 * bsd# whereis sudo 
     23{{{ 
     24sudo: /usr/ports/security/sudo 
     25}}} 
     26 * bsd# cd /usr/ports/security/sudo 
     27 * bsd# make 
     28{{{ 
     29cd /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 
     40sudo-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{{{ 
     60screen: /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