Skip to contentSkip to conversation

docs: fix $(PKG)_SITE_METHOD names (UPPER CASE => lower case)

PATCH New Bjørn Forsman 2 participants 3 messages Feb 6, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 docs: fix $(PKG)_SITE_METHOD names (UPPER CASE => lower case)

Currently, the documentation says $(PKG)_SITE_METHOD should have upper case names such as SVN or GIT, but the implementation only accepts lower case svn or git. This fixes the documentation.

---
 docs/buildroot.html |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
docs/buildroot.html +7 -7
index 36297e0..de6b1d7 100644
@@ -1060,17 +1060,17 @@ $(eval $(call GENTARGETS,package,libfoo,host))
 
       <li><code>LIBFOO_SITE_METHOD</code> may contain the method to
       fetch the package source code. It can either
-      be <code>WGET</code> (for normal FTP/HTTP downloads of
-      tarballs), <code>SVN</code> or <code>GIT</code>. When not
+      be <code>wget</code> (for normal FTP/HTTP downloads of
+      tarballs), <code>svn</code> or <code>git</code>. When not
       specified, it is guessed from the URL given
       in <code>LIBFOO_SITE</code>: <code>git://</code>
-      and <code>svn://</code> URLs will use the <code>GIT</code>
-      and <code>SVN</code> methods respectively. All other URL-types
-      will use the <code>WGET</code> method. So for example, in the
+      and <code>svn://</code> URLs will use the <code>git</code>
+      and <code>svn</code> methods respectively. All other URL-types
+      will use the <code>wget</code> method. So for example, in the
       case of a package whose source code is available through
       Subversion repository on HTTP, one <i>must</i>
-      specifiy <code>LIBFOO_SITE_METHOD=SVN</code>. For <code>SVN</code>
-      and <code>GIT</code> methods, what Buildroot does is a
+      specifiy <code>LIBFOO_SITE_METHOD=svn</code>. For <code>svn</code>
+      and <code>git</code> methods, what Buildroot does is a
       checkout/clone of the repository which is then tarballed and
       stored into the download cache. Next builds will not
       checkout/clone again, but will use the tarball
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/2 docs: add missing info about Bazaar (bzr) download method

---
 docs/buildroot.html |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
docs/buildroot.html +6 -6
index de6b1d7..67c82a7 100644
@@ -1061,12 +1061,12 @@ $(eval $(call GENTARGETS,package,libfoo,host))
       <li><code>LIBFOO_SITE_METHOD</code> may contain the method to
       fetch the package source code. It can either
       be <code>wget</code> (for normal FTP/HTTP downloads of
-      tarballs), <code>svn</code> or <code>git</code>. When not
-      specified, it is guessed from the URL given
-      in <code>LIBFOO_SITE</code>: <code>git://</code>
-      and <code>svn://</code> URLs will use the <code>git</code>
-      and <code>svn</code> methods respectively. All other URL-types
-      will use the <code>wget</code> method. So for example, in the
+      tarballs), <code>svn</code>, <code>git</code> or <code>bzr</code>.
+      When not specified, it is guessed from the URL given
+      in <code>LIBFOO_SITE</code>: <code>svn://</code>, <code>git://</code>
+      and <code>bzr://</code> URLs will use the <code>svn</code>,
+      <code>git</code> and <code>bzr</code> methods respectively. All other
+      URL-types will use the <code>wget</code> method. So for example, in the
       case of a package whose source code is available through
       Subversion repository on HTTP, one <i>must</i>
       specifiy <code>LIBFOO_SITE_METHOD=svn</code>. For <code>svn</code>
Signature · 1 line
1.7.1
#2 lore raw

PATCH 1/2 docs: fix $(PKG)_SITE_METHOD names (UPPER CASE => lower case)

In reply to Bjørn Forsman
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bj?rn" == Bj?rn Forsman <[email protected]> writes:

Bj?rn> Currently, the documentation says $(PKG)_SITE_METHOD should have Bj?rn> upper case names such as SVN or GIT, but the implementation only Bj?rn> accepts lower case svn or git. This fixes the documentation.

Committed both, thanks.

Signature · 1 line
Bye, Peter Korsgaard