From 9ebd1c96e6e77b9431f7c778fc3908bc90518a84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 26 Aug 2012 15:29:22 +0000 Subject: [PATCH] Added very basic documentation for apt-proxy, other minor fixes --- application/hub/config.php | 2 +- ..._AptProxyBootstrapGenericActivationFilter.php | 2 +- docs/README | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/application/hub/config.php b/application/hub/config.php index 3da10f2a4..a2af391d4 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -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 diff --git a/application/hub/main/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php b/application/hub/main/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php index ec5acf445..a2c3cf4ca 100644 --- a/application/hub/main/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php +++ b/application/hub/main/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php @@ -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.'); } } diff --git a/docs/README b/docs/README index 2a3b921a9..b54b6ea59 100644 --- a/docs/README +++ b/docs/README @@ -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 -- 2.39.5