FreeBSD 包管理工具:Pkg
Pkg 是 FreeBSD 下一代的打包管理工具,準備替代當前的 pkg_info/pkg_create/pkg_add 工具,可以本地打包,也提供遠程打包,主要是為了方便遠程二進制包升級。
name: foo version: 1.0 origin: category/foo comment: this is foo package arch: i386 www: http://www.foo.org maintainer: foo@bar.org prefix: /usr/local licenselogic: or licenses: [MIT, MPL] flatsize: 482120 users: [USER1, USER2] groups: [GROUP1, GROUP2] options: { OPT1: off, OPT2: on } desc: |- This is the descrpition Of fooA component of bar categories: [bar, plop] deps: libiconv: {origin: converters/libiconv, version: 1.13.1_2} perl: {origin: lang/perl5.12, version: 5.12.4 } files: /usr/local/bin/foo: 'sha256sum' /usr/local/bin/i_am_a_link: '-' /usr/local/share/foo-1.0/foo.txt: 'sha256sum' dirs:
- /usr/local/share/foo-1.0 scripts: post-install: |- #!/bin/sh echo post-install pre-install: |- #!/bin/sh echo pre-install</pre>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!