about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-08-23 00:30:40 +0100
committerSilvino Silva <silvino@bk.ru>2016-08-23 00:30:40 +0100
commit4e17951802512afba9e5c792b3ea9c8ea9ada559 (patch)
tree5470f169f48d0ffe757bec7198e186a13da5b0a4
parent8f1aaf5e8934d298915123cf8e4d85e12a9d4709 (diff)
downloaddoc-4e17951802512afba9e5c792b3ea9c8ea9ada559.tar.gz
prtget renamed to package management
-rw-r--r--core/index.html14
-rw-r--r--core/package.html (renamed from core/prtget.html)42
2 files changed, 34 insertions, 22 deletions
diff --git a/core/index.html b/core/index.html
index 6092df4..a70efda 100644
--- a/core/index.html
+++ b/core/index.html
@@ -78,14 +78,14 @@
                 </ul>
             </li>
 
-            <li><a href="prtget.html">2. Prt-get tool</a>
+            <li><a href="package.html">2. Package Management</a>
                 <ul>
-                    <li><a href="prtget.html#sysup">2.1. Update system</a></li>
-                    <li><a href="prtget.html#depinst">2.2. Install ports and dependencies</a></li>
-                    <li><a href="prtget.html#c9ports">2.3. Activate c9-ports</a></li>
-                    <li><a href="prtget.html#info">2.3. Show port information</a></li>
-                    <li><a href="prtget.html#depends">2.4. Show port dependencies</a></li>
-                    <li><a href="prtget.html#printf">2.5. Print information</a></li>
+                    <li><a href="package.html#sysup">2.1. Update system</a></li>
+                    <li><a href="package.html#depinst">2.2. Install ports and dependencies</a></li>
+                    <li><a href="package.html#ports">2.3. Ports collections</a></li>
+                    <li><a href="package.html#info">2.3. Show port information</a></li>
+                    <li><a href="package.html#depends">2.4. Show port dependencies</a></li>
+                    <li><a href="package.html#printf">2.5. Print information</a></li>
                 </ul>
             </li>
 
diff --git a/core/prtget.html b/core/package.html
index 5d6d714..f84df88 100644
--- a/core/prtget.html
+++ b/core/package.html
@@ -2,20 +2,21 @@
 <html dir="ltr" lang="en">
     <head>
         <meta charset='utf-8'>
-        <title>5. Prt-get tool</title>
+        <title>5. Package Management</title>
     </head>
     <body>
 
         <a href="index.html">Core Doc Index</a>
 
-        <h1>5. Prt-get tool</h1>
+        <h1>5. Package Management</h1>
 
-        <p>For more information read crux handbook:
-        <a href="https://crux.nu/Handbook3-1#ntoc20">Package management front-end: prt-get</a>
+        <p>For more information read crux handbook Package management
+        front-end:
+        <a href="https://crux.nu/Handbook3-2#ntoc20">prt-get</a>
+        and Introduction to
+        <a href="https://crux.nu/Main/Handbook3-2#ntoc14">pkgutils</a>.</p>
         </p>
 
-        <p>For more information read crux handbook:
-        <a href="https://crux.nu/Main/Handbook3-2#ntoc14">Introduction to pkgutils</a>.</p>
 
         <dl>
             <dt>pkgmk(8)</dt>
@@ -90,18 +91,17 @@
         <h2 id="depinst">3.2. Install port and dependencies</h2>
 
         <pre>
-        $ prt-grt depinst iw
-        $ prt-get depinst gnupg
-        $ prt-get depinst shorewall
-        $ prt-get depinst logrotate
-        # samhain at this point add /etc/logrotate.d/samhain
-        $ prt-get -if depinst samhain
-        $ prt-get depinst dnsmasq
-        $ prt-get depinst tmux
         $ prt-get depinst git
         </pre>
 
-        <h3 id="sysdoc">3.3. Activate Sysdoc ports</h3>
+        <p>Installing using pkgmk;</p>
+
+        <pre>
+        $ cd /usr/ports/opt/git
+        $ sudo -H -u pkgmk fakeroot pkgmk -d
+        </pre>
+
+        <h3 id="ports">3.3. Ports collections</h3>
 
         <p>Clone this documentation;</p>
 
@@ -135,6 +135,18 @@
         $ prt-get info port_name
         </pre>
 
+        <p>List files port install into system;</p>
+
+        <pre>
+        $ pkginfo -l package_name
+        </pre>
+
+        <p>Discover to wich port a file belongs;</p>
+
+        <pre>
+        $ pkginfo -o filename
+        </pre>
+
         <h2 id="depends">3.5. Show port dependencies</h2>
 
         <pre>