From: Hugo Villeneuve Date: Sat, 24 Aug 2013 04:18:53 +0000 (-0400) Subject: Add repository for older LFS patches on hugovil.com server X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=cd4743168caa0d3a5869188db99d0b0f5801bf42;p=hvlinux.git Add repository for older LFS patches on hugovil.com server --- diff --git a/config/urls b/config/urls index 0f514e7..719d1f2 100644 --- a/config/urls +++ b/config/urls @@ -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" diff --git a/functions/fpkg b/functions/fpkg index dbbc838..b4ea48d 100644 --- a/functions/fpkg +++ b/functions/fpkg @@ -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} diff --git a/stage0/packages-update b/stage0/packages-update index 84b5142..e6e9b0d 100755 --- a/stage0/packages-update +++ b/stage0/packages-update @@ -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 diff --git a/stage1/packages-update b/stage1/packages-update index f562539..7ac3ba4 100755 --- a/stage1/packages-update +++ b/stage1/packages-update @@ -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 diff --git a/stage2/packages-update b/stage2/packages-update index b960070..524aac9 100755 --- a/stage2/packages-update +++ b/stage2/packages-update @@ -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 diff --git a/stage3/packages-update b/stage3/packages-update index 8dfad89..7503013 100755 --- a/stage3/packages-update +++ b/stage3/packages-update @@ -1,6 +1,7 @@ #!/bin/bash USE_LFS_PATCHES=1 +USE_LFS_OLD_PATCHES=1 USE_BLFS_PATCHES=1 USE_HV_PATCHES=1 diff --git a/stage4/packages-update b/stage4/packages-update index 8cc90ae..1b164cf 100755 --- a/stage4/packages-update +++ b/stage4/packages-update @@ -1,6 +1,7 @@ #!/bin/bash USE_LFS_PATCHES=1 +USE_LFS_OLD_PATCHES=1 USE_BLFS_PATCHES=1 USE_HV_PATCHES=1 diff --git a/stage5/packages-update b/stage5/packages-update index 67e90fe..99de4da 100755 --- a/stage5/packages-update +++ b/stage5/packages-update @@ -1,6 +1,7 @@ #!/bin/bash USE_LFS_PATCHES=1 +USE_LFS_OLD_PATCHES=1 USE_BLFS_PATCHES=1 USE_HV_PATCHES=1