FS#19930 - [pacman] rankmirrors uses curl but it is not an optdep
Attached to Project:
Arch Linux
Opened by Pete (tam1138) - Wednesday, 23 June 2010, 20:19 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 18 January 2011, 19:57 GMT
Opened by Pete (tam1138) - Wednesday, 23 June 2010, 20:19 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 18 January 2011, 19:57 GMT
|
Details
$ grep curl /usr/bin/rankmirrors
IFS=' ' output=( $(curl -s -m 10 -w "%{time_total} %{http_code}" "$1" -o/dev/null) ) $ pacman -Qi pacman Name : pacman Version : 3.4.0-2 URL : http://www.archlinux.org/pacman/ Licenses : GPL Groups : base Provides : None Depends On : bash libarchive>=2.7.1 libfetch>=2.25 pacman-mirrorlist Optional Deps : fakeroot: for makepkg usage as normal user Required By : None Conflicts With : None Replaces : None Installed Size : 2084.00 K Packager : Dan McGee <dan@archlinux.org> Architecture : i686 Build Date : Mon 21 Jun 2010 08:54:15 AM EDT Install Date : Wed 23 Jun 2010 04:10:33 PM EDT Install Reason : Explicitly installed Install Script : Yes Description : A library-based package manager with dependency support Tested on both i686 and x86_64 |
This task depends upon
Comment by Pete (tam1138) -
Wednesday, 23 June 2010, 22:42 GMT
Comment by Dan McGee (toofishes) -
Thursday, 02 September 2010, 13:18 GMT
Comment by
Øyvind Heggstad (Mr.Elendig) -
Tuesday, 18 January 2011, 19:54 GMT
How is it an optdep? A program shipped in the package completely
fails if curl is not present. My understanding of packages with
optional dependencies is that they are completely functional with
or without them, which pacman is currently not. It seems to me
that either curl should become an explicit dependency of the
pacman package, or rankmirrors itself should be given its own
package, of which curl is a dependency.
You don't understand optdeps then. I'll add it as one in the next
package.
Maybe this should be closed since it is implimented now?