Hi all! I found an error in DAB's handling of dependencies in dab install <package>. It doesn't recognise X | Y dependencies.
For instance, one of the instructions in my Makefile is dab install dlocate. This package in Debian Lenny has the following dependencies: awk, dctrl-tools | grep-dctrl (>= 0.11), dpkg (>= 1.8.0), locate | findutils (<< 4.2.31-2), perl. The locate or findutils dependency is bypassed, resulting in a system with broken dependencies.
I think that the error resides in the way the pkginfo function parses the list of dependencies. The regular expression doesn't match with the aforementioned kind of dependencies.
Thank you!
For instance, one of the instructions in my Makefile is dab install dlocate. This package in Debian Lenny has the following dependencies: awk, dctrl-tools | grep-dctrl (>= 0.11), dpkg (>= 1.8.0), locate | findutils (<< 4.2.31-2), perl. The locate or findutils dependency is bypassed, resulting in a system with broken dependencies.
I think that the error resides in the way the pkginfo function parses the list of dependencies. The regular expression doesn't match with the aforementioned kind of dependencies.
Thank you!