update to 0.2.1

This commit is contained in:
Jens Petersen 2022-06-07 14:09:45 +08:00
parent a4e4795f60
commit 4ff0a61e77
4 changed files with 69 additions and 62 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/network-info-0.2.0.8.tar.gz
/network-info-0.2.0.9.tar.gz
/network-info-0.2.0.10.tar.gz
/network-info-0.2.1.tar.gz

View File

@ -1,12 +1,12 @@
# generated by cabal-rpm-2.0.9
# generated by cabal-rpm-2.0.12
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name network-info
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.2.0.10
Release: 15%{?dist}
Version: 0.2.1
Release: 1%{?dist}
Summary: Access the local computer's basic network configuration
License: BSD
@ -104,6 +104,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 0.2.1-1
- https://hackage.haskell.org/package/network-info-0.2.1/changelog
* Thu Mar 10 2022 Jens Petersen <petersen@redhat.com> - 0.2.0.10-15
- rebuild

View File

@ -1,58 +1,61 @@
name: network-info
version: 0.2.0.10
x-revision: 1
synopsis: Access the local computer's basic network configuration
description: This library provides simple read-only access to the
local computer's networking configuration. It is
currently capable of getting a list of all the network
interfaces and their respective IPv4, IPv6 and MAC
addresses.
.
network-info has been tested and is known to work on
Ubuntu 10.10, FreeBSD 9.0, Mac OS X 10.6.4 and Windows
XP/7. It probably works on other flavours of Linux,
OS X, FreeBSD and Windows as well.
homepage: http://github.com/jacobstanley/network-info
license: BSD3
license-file: LICENSE
author: Jacob Stanley
maintainer: Jacob Stanley <jacob@stanley.io>
category: Network
build-type: Simple
cabal-version: >= 1.6
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1
extra-source-files:
cbits/common.h,
cbits/common.inc,
cbits/network.h,
test/src/Main.hs,
test/network-info-test.cabal,
test/run-tests.bat,
test/run-tests.sh,
README.mkd,
CHANGELOG.md
source-repository head
type: git
location: git://github.com/jacobstanley/network-info.git
Library
hs-source-dirs: src
include-dirs: cbits
cc-options: -Wall -std=c99
exposed-modules: Network.Info
build-depends:
base == 4.*
if os(windows)
c-sources: cbits/network-windows.c
extra-libraries: iphlpapi
else
c-sources: cbits/network-unix.c
if os(solaris)
extra-libraries: socket, nsl
name: network-info
version: 0.2.1
synopsis: Access the local computer's basic network configuration
description: This library provides simple read-only access to the
local computer's networking configuration. It is
currently capable of getting a list of all the network
interfaces and their respective IPv4, IPv6 and MAC
addresses.
.
network-info has been tested and is known to work on
Ubuntu, FreeBSD, NetBSD, Mac OS and Windows.
homepage: http://github.com/jacobstanley/network-info
license: BSD3
license-file: LICENSE
author: Jacob Stanley
maintainer: Jacob Stanley <jacob@stanley.io>
category: Network
build-type: Simple
cabal-version: >= 1.10
tested-with:
GHC == 8.8.4,
GHC == 8.10.7,
GHC == 9.0.1,
GHC == 9.2.1
extra-source-files:
cbits/common.h,
cbits/common.inc,
cbits/network.h,
test/src/Main.hs,
test/network-info-test.cabal,
test/run-tests.bat,
test/run-tests.sh,
README.mkd,
CHANGELOG.md
source-repository head
type: git
location: git://github.com/jacobstanley/network-info.git
library
default-language: Haskell2010
hs-source-dirs: src
include-dirs: cbits
cc-options: -Wall -std=c99
exposed-modules: Network.Info
build-depends:
base == 4.*
if os(windows)
c-sources: cbits/network-windows.c
extra-libraries: iphlpapi
else
c-sources: cbits/network-unix.c
if os(solaris)
extra-libraries: socket, nsl

View File

@ -1 +1 @@
SHA512 (network-info-0.2.0.10.tar.gz) = d578f64860fb3c04d11a444d9636bde57402b6728529e73c7741b056ef0d8f68cb0958118212f2d47826dc28ba9b2bfcc9aef8b5b2e9fc3da8eaadc796160895
SHA512 (network-info-0.2.1.tar.gz) = a252bd5c34cbbde9dcdd9606b31ed9b9fa802edfc694795f8779fd8f4ffa9092df0ab25426e0a1dca836d74a9357c1b31acb2aa01a9e46e8ffd5959be7a5d619