LoginSignup
4
0

14.x-RELEASE に向けての ports 関連問題

Last updated at Posted at 2023-10-26
1 / 10

なんの問題なんじゃ?

13.x-RELEASE までは ports スケルトン取得にユーザランドコマンドの portsnap(8) が有ったが、廃止したらしい😱


最新を追いかけるには敷居が上がってしまうけぇ、ここにアドホック的レシピを書き留めておくけん、自環境に合わせて適宜試してみんさい✌


ソースコードリポジトリ によると 2021 年の 4 月に git へ移行になったが、小まい話は興味のある人は各自 dig りんちゃい😏


手を動かす(初回実行)

portsnap fetch extract と同義
# pkg install git
# git clone ssh://anongit@git.FreeBSD.org/ports.git /usr/ports
# cd /usr/ports ; make fetchindex

  • crontabに追記(必要であれば)
portsnap fetch update と同義
@weekly ( cd /usr/ports && make update fetchindex )

流れはこんな感じ。


/usr/ports ディレクトリは今回デフォルトで採用されちゃる場所を、絶対パスで記述しおるが PORTSDIR 変数を参照しおるようにしても大丈夫。


余談じゃが

このコマンドの ports が存在しよったらしい。
この記事を書く際に dig りよった時に初めて過去の存在に気付いたのは🤫


一回目の登場は 2004年10月29日 (古)
Add portsnap: Provides secure snapshots of the ports directory.


14.x-RELEASE でユーザーランドから消えたけぇ、再登場👏が 2023年4月9日
ports-mgmt/portsnap: Resurrect

歴史を感じるのぉ☺

4
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0