{"id":5434,"date":"2018-02-08T15:38:51","date_gmt":"2018-02-08T13:38:51","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=5434"},"modified":"2022-08-12T13:49:45","modified_gmt":"2022-08-12T10:49:45","slug":"solaris-%d0%91%d1%8b%d1%81%d1%82%d1%80%d0%b0%d1%8f-%d0%bf%d1%80%d0%b0%d0%b2%d0%ba%d0%b0-pkg-%d0%bf%d0%b0%d0%ba%d0%b5%d1%82%d0%b0","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=5434","title":{"rendered":"[Solaris] \u0411\u044b\u0441\u0442\u0440\u0430\u044f \u043f\u0440\u0430\u0432\u043a\u0430 pkg-\u043f\u0430\u043a\u0435\u0442\u0430"},"content":{"rendered":"<p><span style=\"color: #ff6600;\"><em><strong>\u0415\u0441\u043b\u0438 \u043f\u0430\u043a\u0435\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 pkg.<\/strong><\/em><\/span><\/p>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 \u0432 \u043f\u0430\u043f\u043a\u0443 <strong>test<\/strong><\/p>\n<p><code>$ pkgtrans mysql-utilities-commercial-1.6.5-solaris11.pkg test\/<\/code><\/p>\n<p>\u0412\u043d\u0443\u0442\u0440\u0438 \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0430\u043f\u043a\u0430\u00a0<strong>reloc<\/strong> \u0441 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0430\u043a\u0435\u0442\u0430, \u0444\u0430\u0439\u043b <strong>pkginfo<\/strong> \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u0430 \u0438\u00a0<strong>pkgmap<\/strong> &#8211; \u0444\u0430\u0439\u043b\u043e\u043c, \u0438 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u043e\u043c\u00a0<strong>pkgmap<\/strong>.<\/p>\n<p><!--more--><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e, \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 \u043f\u0430\u043a\u0435\u0442 <strong>pkg<\/strong>:<\/p>\n<p><code>$ pkgtrans -s \/path\/which\/contains\/pkg_folder pkg_name<\/code><\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre># ls test\/\nmysql-utilities\n# pkgtrans -s test mysql-utilities.pkg\n\nThe following packages are available:\n  1  mysql-utilities     MySQL Utilities 1.6.5 (Commercial), Collection of utilities used for maintaining and administering MySQL servers\n                         (all) 1.6.5\n\nSelect package(s) you wish to process (or 'all' to process\nall packages). (default: all) [?,??,q]: \nTransferring  package instance\n# ls test\nmysql-utilities      mysql-utilities.pkg\n<\/pre>\n<p><span style=\"color: #ff6600;\"><em><strong>\u0415\u0441\u043b\u0438 \u043f\u0430\u043a\u0435\u0442 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438.<\/strong><\/em><\/span><\/p>\n\n\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u043f\u0430\u043f\u043a\u0443:<\/p>\n\n\n\n<p><code>$ pkgrecv -s \/export\/pkg\/ -d \/path\/to\/extract --raw library\/python\/tornado-27<\/code><\/p>\n\n\n\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438 (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e <strong>\/export\/pkg<\/strong>) \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 (<strong>http:\/\/ips.com<\/strong>). \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043f\u0430\u043a\u0435\u0442\u0430, \u0442\u043e \u0431\u0443\u0434\u0443\u0442 \u0441\u043a\u0430\u0447\u0430\u043d\u044b \u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u043d\u044b \u0432\u0441\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0432 \u0442\u0430\u043a\u043e\u0435 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438: <strong>\/path\/to\/extract\/pkg_name\/version<\/strong>. \u041f\u0440\u0430\u0432\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0437\u0430\u043b\u0438\u0432\u0430\u0435\u043c \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439:<\/p>\n\n\n\n<p><code>$ pkgsend publish -s \/export\/pkg -d library%2Fpython%2Fpycurl_27\/7.43.0.5%211.4-11.4.46.0.1.119.2%3A20220622T132707Z\/ library%2Fpython%2Fpycurl_27\/7.43.0.5%211.4-11.4.46.0.1.119.2%3A20220622T132707Z\/manifest<\/code><\/p>\n\n\n\n<p>\u0442\u043e \u0435\u0441\u0442\u044c, \u0432 \u0442\u0430\u043a\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435:<\/p>\n\n\n\n<p><code>$ pkgsend publish -s &lt;repo_path&gt; -d &lt;pkg_path&gt; &lt;path_to_pkg_manifest&gt;<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u043f\u0430\u043a\u0435\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 pkg. \u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 \u0432 \u043f\u0430\u043f\u043a\u0443 test $ pkgtrans mysql-utilities-commercial-1.6.5-solaris11.pkg test\/ \u0412\u043d\u0443\u0442\u0440\u0438 \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0430\u043f\u043a\u0430\u00a0reloc \u0441 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0430\u043a\u0435\u0442\u0430, \u0444\u0430\u0439\u043b pkginfo \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u0430 \u0438\u00a0pkgmap &#8211; \u0444\u0430\u0439\u043b\u043e\u043c, \u0438 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u043e\u043c\u00a0pkgmap.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-5434","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5434"}],"version-history":[{"count":5,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5434\/revisions"}],"predecessor-version":[{"id":5967,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5434\/revisions\/5967"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}