From 1d9ca8d5b4a5a1d7c4db0d282172cdeb4e8b55a014f1505c36e923a798dd4da8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 24 Jan 2019 10:02:40 +0000 Subject: [PATCH 1/2] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-socks revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-socks?expand=0&rev=31 --- ghc-socks.spec | 2 ++ socks.cabal | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 socks.cabal diff --git a/ghc-socks.spec b/ghc-socks.spec index 1c6bf23..33dfd27 100644 --- a/ghc-socks.spec +++ b/ghc-socks.spec @@ -25,6 +25,7 @@ License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cereal-devel @@ -47,6 +48,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/socks.cabal b/socks.cabal new file mode 100644 index 0000000..24e887e --- /dev/null +++ b/socks.cabal @@ -0,0 +1,35 @@ +Name: socks +Version: 0.5.6 +x-revision: 1 +Synopsis: Socks proxy (ver 5) +Description: Socks proxy (version 5) implementation. +License: BSD3 +License-file: LICENSE +Copyright: Vincent Hanquez +Author: Vincent Hanquez +Maintainer: Vincent Hanquez +Build-Type: Simple +Category: Network +stability: experimental +Cabal-Version: >=1.18 +Homepage: http://github.com/vincenthz/hs-socks +extra-doc-files: README.md, Example.hs + +Library + Build-Depends: base >= 3 && < 5 + , bytestring + , cereal >= 0.3.1 + , network >= 2.4 && < 2.9 + Exposed-modules: Network.Socks5 + Network.Socks5.Lowlevel + Network.Socks5.Types + Other-modules: Network.Socks5.Wire + Network.Socks5.Conf + Network.Socks5.Command + Network.Socks5.Parse + ghc-options: -Wall -fno-warn-missing-signatures -fwarn-tabs + default-language: Haskell2010 + +source-repository head + type: git + location: git://github.com/vincenthz/hs-socks From b334e0dcb0c449bc7e3dcfed2873c6299dd979fe37ceddffeb03a19deae11d8d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 26 Apr 2019 21:25:46 +0000 Subject: [PATCH 2/2] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-socks revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-socks?expand=0&rev=32 --- ghc-socks.changes | 6 ++++++ ghc-socks.spec | 7 +++---- socks-0.5.6.tar.gz | 3 --- socks-0.6.0.tar.gz | 3 +++ socks.cabal | 35 ----------------------------------- 5 files changed, 12 insertions(+), 42 deletions(-) delete mode 100644 socks-0.5.6.tar.gz create mode 100644 socks-0.6.0.tar.gz delete mode 100644 socks.cabal diff --git a/ghc-socks.changes b/ghc-socks.changes index fca808f..49cca65 100644 --- a/ghc-socks.changes +++ b/ghc-socks.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 23 02:01:53 UTC 2019 - psimons@suse.com + +- Update socks to version 0.6.0. + Upstream does not provide a change log file. + ------------------------------------------------------------------- Sat Oct 20 11:32:01 UTC 2018 - Peter Simons diff --git a/ghc-socks.spec b/ghc-socks.spec index 33dfd27..0d91137 100644 --- a/ghc-socks.spec +++ b/ghc-socks.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-socks # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,15 +18,15 @@ %global pkg_name socks Name: ghc-%{pkg_name} -Version: 0.5.6 +Version: 0.6.0 Release: 0 Summary: Socks proxy (ver 5) License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-basement-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cereal-devel BuildRequires: ghc-network-devel @@ -48,7 +48,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/socks-0.5.6.tar.gz b/socks-0.5.6.tar.gz deleted file mode 100644 index 11117a7..0000000 --- a/socks-0.5.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa63cd838025e18864c59755750c0cfc4ea76e140a542f07a5c682488ec78438 -size 10239 diff --git a/socks-0.6.0.tar.gz b/socks-0.6.0.tar.gz new file mode 100644 index 0000000..8cf6ce9 --- /dev/null +++ b/socks-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9762fa87aeda7cf98290cb66af91c4ed5bf258b3548b189e9188d0c29f707381 +size 9725 diff --git a/socks.cabal b/socks.cabal deleted file mode 100644 index 24e887e..0000000 --- a/socks.cabal +++ /dev/null @@ -1,35 +0,0 @@ -Name: socks -Version: 0.5.6 -x-revision: 1 -Synopsis: Socks proxy (ver 5) -Description: Socks proxy (version 5) implementation. -License: BSD3 -License-file: LICENSE -Copyright: Vincent Hanquez -Author: Vincent Hanquez -Maintainer: Vincent Hanquez -Build-Type: Simple -Category: Network -stability: experimental -Cabal-Version: >=1.18 -Homepage: http://github.com/vincenthz/hs-socks -extra-doc-files: README.md, Example.hs - -Library - Build-Depends: base >= 3 && < 5 - , bytestring - , cereal >= 0.3.1 - , network >= 2.4 && < 2.9 - Exposed-modules: Network.Socks5 - Network.Socks5.Lowlevel - Network.Socks5.Types - Other-modules: Network.Socks5.Wire - Network.Socks5.Conf - Network.Socks5.Command - Network.Socks5.Parse - ghc-options: -Wall -fno-warn-missing-signatures -fwarn-tabs - default-language: Haskell2010 - -source-repository head - type: git - location: git://github.com/vincenthz/hs-socks