]> git.mxchange.org Git - hub.git/commitdiff
Added very basic documentation for apt-proxy, other minor fixes
authorRoland Häder <roland@mxchange.org>
Sun, 26 Aug 2012 15:29:22 +0000 (15:29 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 26 Aug 2012 15:29:22 +0000 (15:29 +0000)
application/hub/config.php
application/hub/main/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php
docs/README

index 3da10f2a4faa81f66857130ef08b5d8133529dfa..a2af391d4ec4d5e7638dbad601fcc562b87abce7 100644 (file)
@@ -935,7 +935,7 @@ $cfg->setConfigEntry('web_cmd_home_resolver_class', 'WebCommandResolver');
 $cfg->setConfigEntry('news_home_limit', 10);
 
 ///////////////////////////////////////////////////////////////////////////////
-//                         Apt-Aproxy Configuration
+//                         Apt-Proxy Configuration
 ///////////////////////////////////////////////////////////////////////////////
 
 // CFG: HUBCONSOLE-CMD-APT-PROXY-RESOLVER-CLASS
index ec5acf44574e8018193ea987bf884e5343dc7b5e..a2c3cf4caebb1228fa869c65ffb82d5fd74506ac 100644 (file)
@@ -61,7 +61,7 @@ class AptProxyBootstrapGenericActivationFilter extends BaseAptProxyFilter implem
                $proxyInstance->enableIsActive();
 
                // Debug message
-               self::createDebugInstance(__CLASS__)->debugOutput('BOOTSTRAP: Apt-Proxy has been activated.');
+               self::createDebugInstance(__CLASS__)->debugOutput('BOOTSTRAP: apt-proxy has been activated.');
        }
 }
 
index 2a3b921a93ef481e6b9a944d8a2355cca7c0bd0d..b54b6ea59e7682f8100aae056ed6ac8938f306f7 100644 (file)
@@ -90,3 +90,19 @@ telnet localhost xxxxx
 After that you will be greeted and you are able to enter simple commands. Please
 do not try any 'interactive console' things like cursor key or so. This is
 (or will be) a very simple and basic telnet console.
+
+--------------------------------------------------------------------------------
+6.) How to start the apt-proxy and use it
+--------------------------------------------------------------------------------
+
+The apt-proxy is yet another test application for the node and shall provide a
+proxy for sharing Debian packages over the node network. You can launch its
+connector by invoking this command:
+
+php index.php app=hub command=apt-proxy
+
+If you do so, another port xxxxx will be opened which you can use in your deb
+and deb-src lines:
+
+deb [arch=amd64,i386] http://localhost:xxxxx/ftp.de.debian.org/debian unstable main non-free contrib
+deb-src [arch=amd64,i386] http://localhost:xxxxx/ftp.de.debian.org/debian unstable main non-free contrib