From 4c61c8972ea1f53a7cd96cb7d6672bbb53aadecd Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 14 Apr 2022 12:29:47 -0700 Subject: [PATCH] ghc-HTTP package is retired on c9s for CS-611 --- .gitignore | 13 -- HTTP-4000.3.14.cabal | 179 ---------------------- dead.package | 1 + ghc-HTTP.spec | 352 ------------------------------------------- sources | 1 - 5 files changed, 1 insertion(+), 545 deletions(-) delete mode 100644 .gitignore delete mode 100644 HTTP-4000.3.14.cabal create mode 100644 dead.package delete mode 100644 ghc-HTTP.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 8cf7fa5..0000000 --- a/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -HTTP-4000.0.9.tar.gz -/HTTP-4000.1.0.tar.gz -/HTTP-4000.1.1.tar.gz -/HTTP-4000.1.2.tar.gz -/HTTP-4000.2.2.tar.gz -/HTTP-4000.2.8.tar.gz -/HTTP-4000.2.10.tar.gz -/HTTP-4000.2.20.tar.gz -/HTTP-4000.3.3.tar.gz -/HTTP-4000.3.5.tar.gz -/HTTP-4000.3.9.tar.gz -/HTTP-4000.3.12.tar.gz -/HTTP-4000.3.14.tar.gz diff --git a/HTTP-4000.3.14.cabal b/HTTP-4000.3.14.cabal deleted file mode 100644 index f23b564..0000000 --- a/HTTP-4000.3.14.cabal +++ /dev/null @@ -1,179 +0,0 @@ -Name: HTTP -Version: 4000.3.14 -x-revision: 1 -Cabal-Version: >= 1.8 -Build-type: Simple -License: BSD3 -License-file: LICENSE -Author: Warrick Gray -Maintainer: Ganesh Sittampalam -Homepage: https://github.com/haskell/HTTP -Category: Network -Synopsis: A library for client-side HTTP -Description: - - The HTTP package supports client-side web programming in Haskell. It lets you set up - HTTP connections, transmitting requests and processing the responses coming back, all - from within the comforts of Haskell. It's dependent on the network package to operate, - but other than that, the implementation is all written in Haskell. - . - A basic API for issuing single HTTP requests + receiving responses is provided. On top - of that, a session-level abstraction is also on offer (the @BrowserAction@ monad); - it taking care of handling the management of persistent connections, proxies, - state (cookies) and authentication credentials required to handle multi-step - interactions with a web server. - . - The representation of the bytes flowing across is extensible via the use of a type class, - letting you pick the representation of requests and responses that best fits your use. - Some pre-packaged, common instances are provided for you (@ByteString@, @String@). - . - Here's an example use: - . - > - > do - > rsp <- Network.HTTP.simpleHTTP (getRequest "http://www.haskell.org/") - > -- fetch document and return it (as a 'String'.) - > fmap (take 100) (getResponseBody rsp) - > - > do - > (_, rsp) - > <- Network.Browser.browse $ do - > setAllowRedirects True -- handle HTTP redirects - > request $ getRequest "http://www.haskell.org/" - > return (take 100 (rspBody rsp)) - . - __Note:__ This package does not support HTTPS connections. - If you need HTTPS, take a look at the following packages: - . - * - . - * (in combination with - ) - . - * - . - * - . - -Extra-Source-Files: CHANGES - -tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 - -Source-Repository head - type: git - location: https://github.com/haskell/HTTP.git - -Flag mtl1 - description: Use the old mtl version 1. - default: False - -Flag warn-as-error - default: False - description: Build with warnings-as-errors - manual: True - -Flag conduit10 - description: Use version 1.0.x or below of the conduit package (for the test suite) - default: False - -Flag warp-tests - description: Test against warp - default: False - manual: True - -flag network-uri - description: Get Network.URI from the network-uri package - default: True - -Library - Exposed-modules: - Network.BufferType, - Network.Stream, - Network.StreamDebugger, - Network.StreamSocket, - Network.TCP, - Network.HTTP, - Network.HTTP.Headers, - Network.HTTP.Base, - Network.HTTP.Stream, - Network.HTTP.Auth, - Network.HTTP.Cookie, - Network.HTTP.Proxy, - Network.HTTP.HandleStream, - Network.Browser - Other-modules: - Network.HTTP.Base64, - Network.HTTP.MD5Aux, - Network.HTTP.Utils - Paths_HTTP - GHC-options: -fwarn-missing-signatures -Wall - - -- note the test harness constraints should be kept in sync with these - -- where dependencies are shared - Build-depends: base >= 4.3.0.0 && < 4.15, parsec >= 2.0 && < 3.2 - Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.11 - Build-depends: time >= 1.1.2.3 && < 1.10 - - Extensions: FlexibleInstances - - if flag(mtl1) - Build-depends: mtl >= 1.1.1.0 && < 1.2 - CPP-Options: -DMTL1 - else - Build-depends: mtl >= 2.0 && < 2.3 - - if flag(network-uri) - Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2 - else - Build-depends: network >= 2.4 && < 2.6 - - if flag(warn-as-error) - ghc-options: -Werror - - if os(windows) - Build-depends: Win32 >= 2.2.0.0 && < 2.9 - -Test-Suite test - type: exitcode-stdio-1.0 - - hs-source-dirs: test - main-is: httpTests.hs - - other-modules: - Httpd - UnitTests - - -- note: version constraints for dependencies shared with the library - -- should be the same - build-depends: HTTP, - HUnit >= 1.2.0.1 && < 1.7, - httpd-shed >= 0.4 && < 0.5, - mtl >= 1.1.1.0 && < 2.3, - bytestring >= 0.9.1.5 && < 0.11, - deepseq >= 1.3.0.0 && < 1.5, - pureMD5 >= 0.2.4 && < 2.2, - base >= 4.3.0.0 && < 4.15, - split >= 0.1.3 && < 0.3, - test-framework >= 0.2.0 && < 0.9, - test-framework-hunit >= 0.3.0 && <0.4 - - if flag(network-uri) - Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2 - else - Build-depends: network >= 2.3 && < 2.6 - - if flag(warp-tests) - CPP-Options: -DWARP_TESTS - build-depends: - case-insensitive >= 0.4.0.1 && < 1.3, - http-types >= 0.8.0 && < 1.0, - wai >= 2.1.0 && < 3.3, - warp >= 2.1.0 && < 3.3 - - if flag(conduit10) - build-depends: - conduit >= 1.0.8 && < 1.1 - else - build-depends: - conduit >= 1.1 && < 1.4, - conduit-extra >= 1.1 && < 1.4 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..26130f1 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +ghc-HTTP package is retired on c9s for CS-611 diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec deleted file mode 100644 index 413a3f1..0000000 --- a/ghc-HTTP.spec +++ /dev/null @@ -1,352 +0,0 @@ -# generated by cabal-rpm-2.0.6 -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ - -%global pkg_name HTTP -%global pkgver %{pkg_name}-%{version} - -# testsuite missing deps: httpd-shed test-framework test-framework-hunit - -Name: ghc-%{pkg_name} -Version: 4000.3.14 -Release: 8%{?dist} -Summary: A library for client-side HTTP - -License: BSD -Url: https://hackage.haskell.org/package/%{pkg_name} -# Begin cabal-rpm sources: -Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal -# End cabal-rpm sources - -# Begin cabal-rpm deps: -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros -BuildRequires: ghc-array-prof -BuildRequires: ghc-base-prof -BuildRequires: ghc-bytestring-prof -BuildRequires: ghc-mtl-prof -BuildRequires: ghc-network-prof -BuildRequires: ghc-network-uri-prof -BuildRequires: ghc-parsec-prof -BuildRequires: ghc-time-prof -# End cabal-rpm deps - -%description -The HTTP package supports client-side web programming in Haskell. It lets you -set up HTTP connections, transmitting requests and processing the responses -coming back, all from within the comforts of Haskell. It's dependent on the -network package to operate, but other than that, the implementation is all -written in Haskell. - -A basic API for issuing single HTTP requests + receiving responses is provided. -On top of that, a session-level abstraction is also on offer (the -'BrowserAction' monad); it taking care of handling the management of persistent -connections, proxies, state (cookies) and authentication credentials required -to handle multi-step interactions with a web server. - -The representation of the bytes flowing across is extensible via the use of a -type class, letting you pick the representation of requests and responses that -best fits your use. Some pre-packaged, common instances are provided for -'ByteString' and 'String'. - - -%package devel -Summary: Haskell %{pkg_name} library development files -Provides: %{name}-static = %{version}-%{release} -Provides: %{name}-static%{?_isa} = %{version}-%{release} -%if %{defined ghc_version} -Requires: ghc-compiler = %{ghc_version} -%endif -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -This package provides the Haskell %{pkg_name} library development files. - - -%if %{with haddock} -%package doc -Summary: Haskell %{pkg_name} library documentation -BuildArch: noarch - -%description doc -This package provides the Haskell %{pkg_name} library documentation. -%endif - - -%if %{with ghc_prof} -%package prof -Summary: Haskell %{pkg_name} profiling library -Requires: %{name}-devel%{?_isa} = %{version}-%{release} -Supplements: (%{name}-devel and ghc-prof) - -%description prof -This package provides the Haskell %{pkg_name} profiling library. -%endif - - -%prep -# Begin cabal-rpm setup: -%setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal -# End cabal-rpm setup - - -%build -# Begin cabal-rpm build: -%ghc_lib_build -# End cabal-rpm build - - -%install -# Begin cabal-rpm install -%ghc_lib_install -# End cabal-rpm install - - -%files -f %{name}.files -# Begin cabal-rpm files: -%license LICENSE -# End cabal-rpm files - - -%files devel -f %{name}-devel.files -%doc CHANGES - - -%if %{with haddock} -%files doc -f %{name}-doc.files -%license LICENSE -%endif - - -%if %{with ghc_prof} -%files prof -f %{name}-prof.files -%endif - - -%changelog -* Thu Apr 15 2021 Mohan Boddu - 4000.3.14-8 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - -* Tue Jan 26 2021 Fedora Release Engineering - 4000.3.14-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sat Aug 01 2020 Fedora Release Engineering - 4000.3.14-6 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 4000.3.14-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jul 17 2020 Jens Petersen - 4000.3.14-4 -- refresh to cabal-rpm-2.0.6 - -* Wed Feb 19 2020 Jens Petersen - 4000.3.14-3 -- refresh to cabal-rpm-2.0.2 - -* Tue Jan 28 2020 Fedora Release Engineering - 4000.3.14-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Jens Petersen - 4000.3.14-1 -- update to 4000.3.14 - -* Thu Jul 25 2019 Fedora Release Engineering - 4000.3.12-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 17 2019 Jens Petersen - 4000.3.12-3 -- refresh to cabal-rpm-0.13 - -* Thu Jan 31 2019 Fedora Release Engineering - 4000.3.12-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sun Jul 22 2018 Jens Petersen - 4000.3.12-1 -- update to 4000.3.12 - -* Fri Jul 13 2018 Fedora Release Engineering - 4000.3.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 4000.3.9-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jan 24 2018 Jens Petersen - 4000.3.9-1 -- update to 4000.3.9 - -* Wed Aug 02 2017 Fedora Release Engineering - 4000.3.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 4000.3.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Feb 22 2017 Jens Petersen - 4000.3.5-1 -- update to 4000.3.5 - -* Fri Feb 10 2017 Fedora Release Engineering - 4000.3.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Jun 27 2016 Jens Petersen - 4000.3.3-1 -- update to 4000.3.3 - -* Tue Jun 7 2016 Jens Petersen - 4000.2.20-1 -- update to 4000.2.20 - -* Wed Feb 03 2016 Fedora Release Engineering - 4000.2.10-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 4000.2.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Thu Aug 7 2014 Jens Petersen - 4000.2.10-1 -- update to 4000.2.10 - -* Tue Jul 8 2014 Jens Petersen - 4000.2.8-33 -- f21 rebuild - - -* Wed Mar 26 2014 Jens Petersen - 4000.2.8-32 -- bump over haskell-platform - -* Tue Feb 18 2014 Jens Petersen - 4000.2.8-31 -- update to 4000.2.8 -- bump release over haskell-platform -- revive package with cblrpm-0.8.9 - -* Tue Mar 20 2012 Jens Petersen - 4000.2.2-1 -- update to 4000.2.2 - -* Mon Jan 23 2012 Jens Petersen - 4000.1.2-3 -- update url - -* Fri Jan 13 2012 Fedora Release Engineering - 4000.1.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Dec 28 2011 Jens Petersen - 4000.1.2-1 -- update to 4000.1.2 for haskell-platform-2011.4.0.0 -- update to cabal2spec-0.25.1 - -* Mon Oct 24 2011 Marcela Mašláňová - 4000.1.1-8.3 -- rebuild with new gmp without compat lib - -* Fri Oct 21 2011 Marcela Mašláňová - 4000.1.1-8.2 -- rebuild with new gmp without compat lib - -* Tue Oct 11 2011 Peter Schiffer - 4000.1.1-8.1 -- rebuild with new gmp - -* Tue Jun 21 2011 Jens Petersen - 4000.1.1-8 -- ghc_arches replaces ghc_excluded_archs - -* Mon Jun 20 2011 Jens Petersen - 4000.1.1-7 -- BR ghc-Cabal-devel and use ghc_excluded_archs - -* Fri May 27 2011 Jens Petersen - 4000.1.1-6 -- update to cabal2spec-0.23: add ppc64 - -* Thu Mar 10 2011 Fabio M. Di Nitto - 4000.1.1-5 -- Enable build on sparcv9 - -* Tue Feb 15 2011 Jens Petersen - 4000.1.1-4 -- rebuild for haskell-platform-2011.1 updates - -* Tue Feb 08 2011 Fedora Release Engineering - 4000.1.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat Jan 15 2011 Jens Petersen - 4000.1.1-2 -- update to cabal2spec-0.22.4 - -* Sun Dec 5 2010 Jens Petersen - 4000.1.1-1 -- update to 4000.1.1 - -* Thu Nov 25 2010 Jens Petersen - 4000.1.0-1 -- update to 4000.1.0 - -* Thu Nov 25 2010 Jens Petersen - 4000.0.9-6 -- drop -o obsoletes - -* Sat Jul 31 2010 Jens Petersen - 4000.0.9-5 -- ghc-rpm-macros-0.8.1 for doc obsoletes -- part of haskell-platform-2010.2.0.0 -- add hscolour - -* Sat Jun 26 2010 Jens Petersen - 4000.0.9-4 -- sync cabal2spec-0.22 - -* Tue Apr 27 2010 Jens Petersen - 4000.0.9-3 -- rebuild against ghc-6.12.2 - -* Wed Mar 24 2010 Jens Petersen - 4000.0.9-2 -- rebuild against network-2.2.1.7 - -* Tue Mar 23 2010 Jens Petersen - 4000.0.9-1 -- update to 4000.0.9 for haskell-platform-2010.1.0.0 - -* Tue Jan 12 2010 Jens Petersen - 4000.0.8-2 -- rebuild against ghc-mtl package - -* Mon Jan 11 2010 Jens Petersen - 4000.0.8-1 -- update to 4000.0.8 (haskell-platform-2009.3.1) -- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1: -- drop doc and prof bcond -- use common_summary and common_description -- use ghc_lib_package and ghc_pkg_deps -- build shared library -- drop redundant buildroot and its install cleaning -- buildrequires mtl - -* Mon Nov 16 2009 Jens Petersen - 4000.0.6-6 -- use %%ghc_pkg_ver for requires - -* Mon Sep 28 2009 Jens Petersen - 4000.0.6-5 -- buildrequire the new ghc-network library - -* Fri Jul 24 2009 Fedora Release Engineering - 4000.0.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Sat May 30 2009 Jens Petersen - 4000.0.6-3 -- ppc workaround no longer needed with ghc-6.10.3 -- provide ghc-HTTP (cabal2spec-0.17) - -* Wed May 13 2009 Jens Petersen - 4000.0.6-2 -- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16) - -* Sat Apr 25 2009 Jens Petersen - 4000.0.6-1 -- update to 4000.0.6 -- sync with cabal2spec-0.14 -- compile Setup on ppc to workaround runghc failure - -* Fri Feb 27 2009 Jens Petersen - 4000.0.4-3 -- update url -- update to cabal2spec-0.12: -- use ix86 in archs and add alpha -- add devel subpackage -- use global rather than define -- devel owns docdir - -* Tue Feb 24 2009 Fedora Release Engineering - 4000.0.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Mon Feb 23 2009 Jens Petersen - 4000.0.4-1 -- update to 4000.0.4 - -* Fri Feb 13 2009 Jens Petersen - 3001.1.5-2 -- sync with latest template and add a doc subpackage - -* Tue Dec 23 2008 Jens Petersen - 3001.1.5-1 -- update to 3001.1.5 -- use bcond for doc and prof -- minor tweaks for latest packaging guidelines - -* Fri Nov 28 2008 Jens Petersen - 3001.1.4-4 -- drop LICENSE from -prof subpackage - -* Tue Nov 25 2008 Jens Petersen - 3001.1.4-3 -- add build_doc and build_prof switches -- provide -devel -- drop redundant pre script -- only regenerate doc index in postun if uninstalling - -* Mon Nov 10 2008 Jens Petersen - 3001.1.4-2 -- only build on ghc archs -- version install script requires - -* Mon Nov 10 2008 Jens Petersen - 3001.1.4-1 -- initial packaging for fedora diff --git a/sources b/sources deleted file mode 100644 index f620a35..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (HTTP-4000.3.14.tar.gz) = bcc9107412f3ff5806369675ae6cfd87c4ecc36490eab6d62c697f47e62ff8b0d1d6a25f9bfb9d8ef1f037492820eb732cb9cbec7ea9e7e4b20699573077b064