入口
  src
  /usr/pkgsrc
    を準備する
  実行形式
    【パッケージ関係の操作】
    【pkg_info】
    packages directory
    i386 の場合
      nyftp.netbsd.org
      ftp.netbsd.org
      ftp.jp.netbsd.org
      ftp2.jp.netbsd.org
    NetBSD-5.0 の場合
    ftp mirrors
  pkg_add
  PKG_PATH
  依存関係
  PKG_PATH
    packages 一覧
    amd64/5.0
    i386/5.0
    powerpc/5.0
    i386/4.0
    amd64/4.0
    PowerPC/3.1
    PowerPC/4.0
    環境変数前
    環境変数の設定
    【Gimp】
  pkg_info
    -u
  pkg_delete
    required
      -f
      -r
pkgsrc
    依存関係
    README.html
    探す方法
    情報 - pkg_info
    展開位置
    bootstrap-pkgsrc
    target of make
    各論
  自分で用意する
    files
    debug
    PLIST
    distinfo
  mk
  pkgtools
    bulk build
    wip
bulk build
  pbulk
  pbulk
    1. 配置
    2. 準備
      bootstrap
      pbulk install
    3. configure
      /etc/mk.conf
      pbulk.conf
    4. running
wip
    PKG_OPTIONS
  upgrade
tips
   debug
  DO_NADA
  mk.conf
URL

| NetBSD 解説 | sysinst | macppc | TsubaiBSD | pkgsrc 各論 | packages | 絹/software/全文検索
at www.ki.nu

NetBSD/packages

Last Update: "2014/10/15 22:15:36 makoto" | Where to get pkgsrc and how to keep it up-to-date

/usr/pkgsrc

を準備する

  1. git
    http://www.perkin.org.uk/pages/pkgsrc-binary-packages-for-osx.html
    Install the git package and fetch pkgsrc from the converted cvs->git repo
    $ sudo pkgin -y install git $ git clone git://github.com/jsonn/pkgsrc.git
    (example)
    z87@makoto 17:00:09/141015(/wd1e)% time git clone git://github.com/jsonn/pkgsrc.git Cloning into 'pkgsrc'... remote: Counting objects: 1941733, done. remote: Compressing objects: 100% (5057/5057), done. remote: Total 1941733 (delta 1190), reused 0 (delta 0) Receiving objects: 100% (1941733/1941733), 1.10 GiB | 711.00 KiB/s, done. Resolving deltas: 100% (1299679/1299679), done. Checking connectivity... done. Checking out files: 100% (80653/80653), done. 86.20s 20.57s 27:10.87 6% 0+0k 114+21066io 0pf+0w z87@makoto 17:28:57/141015(/wd1e)%
    By default you will get pkgsrc trunk. If you want the most recent stable branch, then switch to it first.
    $ git checkout pkgsrc_2014Q2
    Change to the package directory and download/compile/install with one command.
    $ cd pkgsrc/<category>/<package> $ bmake install
  2. tar 形式を開ける
    ftp://ftp.jp.netbsd.org/pub/pkgsrc/current/
  3. anoncvs からもらって来る
    日本国内 mirror
    cd /usr; sudo mkdir pkgsrc; sudo chown yourname pkgsrc; cvs -d :pserver:anoncvs@anoncvs.jp.netbsd.org:/cvs/cvsroot checkout pkgsrc
    NetBSD 本家
    cd /usr && cvs -q -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc
    (回線の遅い場合)
    cd /usr && cvs -q -z3 -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc
  4. pkgsrc-wip on github: https://github.com/joyent/pkgsrc-wip
Last Update: Wed, 15 Oct 2014 04:09:47 GMT 1.66 2008/03/08