Remove patch blacklist support
[hvlinux.git] / functions / fpkg
index b4ea48d..e589b90 100644 (file)
@@ -17,8 +17,6 @@ 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
-
 # Test if the given file extension correspond to a compressed archive
 # Arg. #1: File extension
 is_extension_archive()
@@ -258,15 +256,7 @@ static_checkpatch()
             PATCH_NAME=$(echo ${p} | sed s!%2B!\+!g)
 
            if [ ! -f ${LFS_PKG_DIR}/${PATCH_NAME} ]; then
-                # Fetch patch only if it is not blacklisted!
-                local BL=$(cat ${PATCHES_BLACKLIST} | \
-                    egrep "${PATCH_NAME}")
-
-                if [ "x${BL}" == "x" ]; then
-                    wget_wrapper ${PATCHES_URL} ${PATCH_NAME}
-                else
-                    MSGSTRING="Patch ${PATCH_NAME} blacklisted" print_status warning
-                fi
+                wget_wrapper ${PATCHES_URL} ${PATCH_NAME}
            fi
        done
     fi