Add repository for older LFS patches on hugovil.com server
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 24 Aug 2013 04:18:53 +0000 (00:18 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 31 Jul 2014 02:15:23 +0000 (22:15 -0400)
config/urls
functions/fpkg
stage0/packages-update
stage1/packages-update
stage2/packages-update
stage3/packages-update
stage4/packages-update
stage5/packages-update

index 0f514e7..719d1f2 100644 (file)
@@ -10,6 +10,7 @@ LFS_PATCHES_URL="${LFS_BASE_URL}/patches/lfs/development"
 BLFS_PATCHES_URL="${LFS_BASE_URL}/patches/blfs/svn"
 CLFS_PATCHES_URL="http://patches.cross-lfs.org/dev"
 HV_PATCHES_URL="${HV_BASE_URL}/patches"
+LFS_OLD_PATCHES_URL="${HV_BASE_URL}/patches/lfs"
 
 LFS_PACKAGES_URL="ftp://ftp.osuosl.org/pub/lfs/lfs-packages/conglomeration"
 CLFS_PKG_SVN_URL="http://cross-lfs.org/files/packages/svn"
index dbbc838..b4ea48d 100644 (file)
@@ -15,6 +15,7 @@ LFS_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-lfs.html
 BLFS_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-blfs.html
 CLFS_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-clfs.html
 HV_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-hv.html
+LFS_OLD_PATCHES_LIST=${LFS_PKG_DIR}/patches-list-lfs-old.html
 
 PATCHES_BLACKLIST=../config/patches.blacklist
 
@@ -204,6 +205,12 @@ update_packages_init()
         rcmd "Fetching LFS patches list" static_fetch_patches_list ${LFS_PATCHES_URL} ${LFS_PATCHES_LIST}
     fi
 
+    if [ -n "${USE_LFS_OLD_PATCHES}" ]; then
+        # Getting list of all LFS old patches from hugovil.com server.
+        rcmd "Fetching LFS old patches list" static_fetch_patches_list \
+            ${LFS_OLD_PATCHES_URL} ${LFS_OLD_PATCHES_LIST}
+    fi
+
     if [ -n "${USE_BLFS_PATCHES}" ]; then
         # Getting list of all patches from BLFS server.
         rcmd "Fetching BLFS patches list" static_fetch_patches_list ${BLFS_PATCHES_URL} ${BLFS_PATCHES_LIST}
@@ -282,6 +289,11 @@ static_getpatch()
         static_checkpatch ${PACK} ${LFS_PATCHES_LIST} ${LFS_PATCHES_URL}
     fi
 
+    if [ -n "${USE_LFS_OLD_PATCHES}" ]; then
+        # Checking if patch is available from LFS old.
+        static_checkpatch ${PACK} ${LFS_OLD_PATCHES_LIST} ${LFS_OLD_PATCHES_URL}
+    fi
+
     if [ -n "${USE_BLFS_PATCHES}" ]; then
         # Checking if patch is available from BLFS.
         static_checkpatch ${PACK} ${BLFS_PATCHES_LIST} ${BLFS_PATCHES_URL}
index 84b5142..e6e9b0d 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 USE_LFS_PATCHES=1
+USE_LFS_OLD_PATCHES=1
 USE_BLFS_PATCHES=1
 USE_CLFS_PATCHES=1
 USE_HV_PATCHES=1
index f562539..7ac3ba4 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 USE_LFS_PATCHES=1
+USE_LFS_OLD_PATCHES=1
 USE_BLFS_PATCHES=1
 USE_CLFS_PATCHES=1
 USE_HV_PATCHES=1
index b960070..524aac9 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 USE_LFS_PATCHES=1
+USE_LFS_OLD_PATCHES=1
 USE_BLFS_PATCHES=1
 USE_CLFS_PATCHES=1
 USE_HV_PATCHES=1
index 8dfad89..7503013 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 USE_LFS_PATCHES=1
+USE_LFS_OLD_PATCHES=1
 USE_BLFS_PATCHES=1
 USE_HV_PATCHES=1
 
index 8cc90ae..1b164cf 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 USE_LFS_PATCHES=1
+USE_LFS_OLD_PATCHES=1
 USE_BLFS_PATCHES=1
 USE_HV_PATCHES=1
 
index 67e90fe..99de4da 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 USE_LFS_PATCHES=1
+USE_LFS_OLD_PATCHES=1
 USE_BLFS_PATCHES=1
 USE_HV_PATCHES=1