cabal安装挂起安装yesod-platform

dsm*_*ith 5 haskell cabal-install yesod

yesod-platform的cabal安装挂起下载xss-sanitize.NetHogs没有显示与此下载相关的网络活动.

$ cabal install yesod-platform
Resolving dependencies...
Downloading xss-sanitize-0.3.4...
Run Code Online (Sandbox Code Playgroud)

其他软件包立即下载并安装.

我在Fedora 18上.haskell平台和cabal-install是最新的回购.

$ cabal --version
cabal-install version 0.14.0
using version 1.14.0 of the Cabal library

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1
Run Code Online (Sandbox Code Playgroud)

编辑

我让它一夜之间运行它似乎放弃了xss-sanitizer,并继续安装其他依赖项.这是尾巴.

...
Configuring yesod-test-1.2.1...
Building yesod-test-1.2.1...
Preprocessing library yesod-test-1.2.1...
[1 of 3] Compiling Yesod.Test.CssQuery ( Yesod/Test/CssQuery.hs, dist/build/Yesod/Test/CssQuery.o )
[2 of 3] Compiling Yesod.Test.TransversingCSS ( Yesod/Test/TransversingCSS.hs, dist/build/Yesod/Test/TransversingCSS.o )
[3 of 3] Compiling Yesod.Test       ( Yesod/Test.hs, dist/build/Yesod/Test.o )

Yesod/Test.hs:113:1:
    Warning: In the use of `runFakeHandler'
             (imported from Yesod.Core, but defined in yesod-core-1.2.4.2:Yesod.Core.Internal.Run):
             "Usually you should *not* use runFakeHandler unless you really understand how it works and why you need it."
Registering yesod-test-1.2.1...
Installing library in /home/smithd/.cabal/lib/yesod-test-1.2.1/ghc-7.4.1

cabal: Error: some packages failed to install:
xss-sanitize-0.3.4 failed while downloading the package. The exception was:
<socket: 4>: hGetBufSome: timeout (Connection timed out)
yesod-1.2.2.1 depends on xss-sanitize-0.3.4 which failed to install.
yesod-auth-1.2.2.1 depends on xss-sanitize-0.3.4 which failed to install.
yesod-form-1.3.2.1 depends on xss-sanitize-0.3.4 which failed to install.
yesod-platform-1.2.4.2 depends on xss-sanitize-0.3.4 which failed to install.
[smithd@lin2900 ~]$ cabal install yesod-platform
Run Code Online (Sandbox Code Playgroud)

dsm*_*ith 1

我公司的互联网过滤器阻止了 haskell-xss-sanitize 软件包,将其视为可能的 XSS 威胁。特别是测试模块。如果可能的话,让您的管理员将黑客列入白名单。