r3079 - jhalfs/branches/experimental/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Aug 28 11:32:09 PDT 2006


Author: manuel
Date: 2006-08-28 12:32:08 -0600 (Mon, 28 Aug 2006)
New Revision: 3079

Modified:
   jhalfs/branches/experimental/common/common-functions
Log:
Downloading blfs-tool dependencies packages.

Modified: jhalfs/branches/experimental/common/common-functions
===================================================================
--- jhalfs/branches/experimental/common/common-functions	2006-08-28 17:42:09 UTC (rev 3078)
+++ jhalfs/branches/experimental/common/common-functions	2006-08-28 18:32:08 UTC (rev 3079)
@@ -780,4 +780,46 @@
   esac
 
   cd $BUILDDIR/sources
+
+  [[ "${BLFS_TOOL}" = "y" ]] && add_blfs_deps_urls
 }
+
+#----------------------------# Hardcoded URLs and MD5.
+add_blfs_deps_urls() {       # No easy way to extract it.
+#----------------------------# Some FTP mirrors may not work
+
+  local BLFS_SERVER="${SERVER}/pub/blfs/conglomeration/"
+
+  if [[ "${DEP_LIBXML}" = "y" ]] ; then
+    echo "ftp://xmlsoft.org/libxml2/libxml2-2.6.26.tar.gz ${BLFS_SERVER}libxml2/libxml2-2.6.26.tar.gz 2d8d3805041edab967368b497642f981" >> urls.lst
+  fi
+
+  if [[ "${DEP_LIBXSLT}" = "y" ]] ; then
+    echo "ftp://xmlsoft.org/libxslt/libxslt-1.1.17.tar.gz ${BLFS_SERVER}libxslt/libxslt-1.1.17.tar.gz fde6a7a93c0eb14cba628692fa3a1000" >> urls.lst
+  fi
+
+  if [[ "${DEP_DBXSL}" = "y" ]] ; then
+    echo "http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.69.1.tar.bz2 ${BLFS_SERVER}docbook-xsl/docbook-xsl-1.69.1.tar.bz2 6ebd29a67f2dcc3f2220f475ee6f6552" >> urls.lst
+  fi
+
+  if [[ "${DEP_LIKS}" = "y" ]] ; then
+    echo "http://links.twibright.com/download/links-2.1pre21.tar.bz2 ${BLFS_SERVER}links/links-2.1pre21.tar.bz2 7687e2c32e337e11c6e9d8cd8c5202c9" >> urls.lst
+  fi
+
+  if [[ "${DEP_SUDO}" = "y" ]] ; then
+    echo "http://www.courtesan.com/sudo/dist/sudo-1.6.8p12.tar.gz ${BLFS_SERVER}sudo/sudo-1.6.8p12.tar.gz b29893c06192df6230dd5f340f3badf5" >> urls.lst
+  fi
+
+  if [[ "${DEP_WGET}" = "y" ]] ; then
+    echo "ftp://ftp.gnu.org/gnu/wget/wget-1.10.2.tar.gz ${BLFS_SERVER}wget/wget-1.10.2.tar.gz 795fefbb7099f93e2d346b026785c4b8" >> urls.lst
+  fi
+
+  if [[ "${DEP_SVN}" = "y" ]] ; then
+    echo "http://subversion.tigris.org/tarballs/subversion-1.3.1.tar.bz2 ${BLFS_SERVER}subversion/subversion-1.3.1.tar.bz2 07b95963968ae345541ca99d0e7bf082" >> urls.lst
+  fi
+
+  if [[ "${DEP_GPM}" = "y" ]] ; then
+    echo "ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2 ${BLFS_SERVER}gpm/gpm-1.20.1.tar.bz2 2c63e827d755527950d9d13fe3d87692" >> urls.lst
+  fi
+
+}




More information about the alfs-log mailing list