]> git.ipfire.org Git - pakfire.git/commitdiff
Remove old implementation of dependency filtering.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Oct 2011 14:35:13 +0000 (16:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Oct 2011 14:35:13 +0000 (16:35 +0200)
scripts/dependency-tracker
scripts/functions-packager-find

index b917f0671fa3f4f0319a2daf384a4a4da914bbe5..2023d2b18e5b0e904be02f5403f51f558675c3cc 100755 (executable)
@@ -16,9 +16,6 @@ for require in $(find_requires ${args}); do
        listmatch ${require} ${provides} || requires="${requires} ${require}"
 done
 
-if [ -n "${PKG_PREREQUIRES}" ]; then
-       echo "prerequires=\"/bin/sh ${PKG_PREREQUIRES}\""
-fi
 echo "requires=\"${requires}\""
 echo "provides=\"${provides}\""
 echo "conflicts=\"${PKG_CONFLICTS}\""
index 1b488d9f7b9144d04a515ea7068abbed55d0008e..0e509856509ae30195736c1d13a5fe9755929a45 100644 (file)
@@ -46,10 +46,6 @@ function find_requires() {
        for require in $(listsort ${PKG_DEPS} ${interpreters} ${neededs} ${links} ${others}); do
                [ "${require:0:3}" = "ld-" ] && continue
 
-               if [ -n "${PKG_REQUIRES_FILTER}" ]; then
-                       grep -qE "${PKG_REQUIRES_FILTER}" <<< "${require}" && continue
-               fi
-
                requires="${requires} ${require}"
        done
 
@@ -75,10 +71,6 @@ function find_provides() {
        local provide
        local provides
        for provide in $(listsort ${PKG_PROVIDES} ${sonames} ${others}); do
-               if [ -n "${PKG_PROVIDES_FILTER}" ]; then
-                       grep -qE "${PKG_PROVIDES_FILTER}" <<< "${provide}" && continue
-               fi
-
                provides="${provides} ${provide}"
        done